/* Approved Stories & Tips presentation. Isolated preview only. */
#story-detail-screen{--primary:#C94932;--ink:#17213B;--muted:#6B7280;--line:#F2D7CD;--soft:#FDE9E1;background:#FFF9F6;padding:16px;color:var(--ink)}
#story-detail-screen .topbar{margin:0 0 18px;gap:8px;min-height:44px}
#story-detail-screen .topbar h1{font-size:20px;font-weight:700}
#story-detail-screen button{box-shadow:none;letter-spacing:normal}
#story-detail-screen .story-author-header{display:flex;align-items:center;gap:10px;margin:0 0 12px}
#story-detail-screen .story-avatar{width:40px;height:40px;min-width:40px;flex:0 0 40px;border:0;border-radius:12px;background:var(--soft);padding:0;overflow:hidden;color:var(--ink)}
#story-detail-screen .story-avatar img{width:100%;height:100%;object-fit:cover;border-radius:12px}
#story-detail-screen .story-author-meta{flex:1;min-width:0}
#story-detail-screen .story-creator-info{display:block;padding:0;background:none;border:0;text-align:left;min-height:24px;color:var(--ink)}
#story-detail-screen .story-creator-info strong{font-size:14px;line-height:1.35;font-weight:700}
#story-detail-screen .story-post-date{font-size:11px;margin:2px 0 0;color:var(--muted)}
#story-detail-screen .story-author-follow-row{display:flex;flex-direction:column;align-items:flex-end;gap:2px;margin:0;font-size:10px}
#story-detail-screen .story-follow-text{font-size:12px;color:#B23B28;min-height:32px;padding:4px 8px}
#story-detail-screen .approved-story-tags{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 12px}
#story-detail-screen .story-topic-chip{position:static;display:inline-block;border:0;background:#FDE9E1;color:#B23B28;border-radius:18px;padding:4px 9px;font-size:11px;font-weight:400;margin:0}
#story-detail-screen .story-detail>h2{font-size:20px!important;line-height:1.3;margin:12px 0;font-weight:700!important}
#story-detail-screen .story-detail{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
#story-detail-screen .story-detail-cover{display:block;width:100%;height:auto;padding:0;margin:0 0 12px;border:0;border-radius:16px;background:none;overflow:hidden}
#story-detail-screen .story-detail-cover img{display:block;width:100%;height:auto;max-height:360px;object-fit:contain}
#story-detail-screen .story-full-body{font-size:14px;line-height:1.6;margin:12px 0 16px}
#story-detail-screen .approved-story-place{margin:12px 0;font-size:12px}
#story-detail-screen .approved-story-actions{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;border-top:1px solid var(--line);padding:10px 0 0;margin:14px 0 0;width:100%;align-items:center}
#story-detail-screen .approved-story-actions>button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:0;border-radius:0;background:transparent;color:var(--muted);padding:4px 0;min-width:0;width:100%;height:auto;min-height:44px;font-size:10px;line-height:1.3}
#story-detail-screen .approved-story-actions svg{width:20px;height:20px;flex:none}
#story-detail-screen .approved-story-actions [aria-pressed=true]{color:#B23B28}
#story-detail-screen .approved-story-actions .nest-translate-bubble{width:26px;height:26px;background:#FDE9E1;color:#E85D3F;border-radius:50%;display:grid;place-items:center}
#story-detail-screen .approved-story-actions .nest-translate-bubble svg{width:15px;height:15px}
#story-detail-screen .topbar .story-post-options{position:relative;margin-left:auto}
#story-detail-screen .topbar .nest-more-button{width:44px;height:44px;padding:0;background:none;border:0;color:#B23B28}
#story-detail-screen .topbar .nest-more-bubble{background:none;font-size:22px}
#story-detail-screen .story-comments{margin-top:24px}#story-detail-screen .story-comments h3{font-size:17px;margin-bottom:12px}
#story-detail-screen .story-thread-comment,#story-detail-screen .story-thread-comment.is-reply{display:block;position:relative;border:0;border-bottom:1px solid var(--line);border-radius:0;background:none;padding:12px 0;margin:0;min-height:0}
#story-detail-screen .story-thread-comment header{margin:0;display:flex;gap:6px;align-items:center;flex-wrap:wrap}
#story-detail-screen .story-comment-avatar,#story-detail-screen .story-comment-avatar img{width:30px;height:30px;min-width:30px;border-radius:10px;position:static;object-fit:cover}
#story-detail-screen .story-comment-person{min-height:30px;padding:0;gap:8px;font-size:13px}
#story-detail-screen .story-comment-body{margin:6px 0 0 38px;font-size:14px;line-height:1.45;color:var(--ink)}
#story-detail-screen .story-thread-comment .story-comment-tools{position:static;transform:none;height:auto;display:flex;align-items:center;gap:6px;margin:2px 0 0 38px}
#story-detail-screen .story-thread-replies{margin:0 0 0 15px;border-left:1px solid var(--line);padding-left:10px}
#story-detail-screen .story-reply-recipient{margin:6px 0 4px 38px;padding:5px 8px;background:var(--soft);border-left:2px solid #E85D3F;font-size:11px}
#story-detail-screen .story-compose-row{gap:8px}#story-detail-screen textarea{border:1px solid var(--line);background:white;border-radius:14px;font-size:14px;padding:10px}
#story-detail-screen .story-compose-row>button{background:#C94932;color:white;border-radius:24px;padding:10px 16px}
#story-detail-screen [hidden]{display:none!important}
#story-detail-screen .story-detail{padding:14px!important;background:white!important;border:1px solid #F2D7CD!important;border-radius:18px!important}
#story-detail-screen .story-detail-cover img{border-radius:16px!important;width:100%!important;max-height:360px!important;margin:0!important}
#story-detail-screen .nest-story-formatted-body{font-size:14px!important;line-height:1.6!important;margin:12px 0!important}
#story-detail-screen .nest-story-formatted-body.nest-story-bg--default{padding:0!important;background:transparent!important}
#story-detail-screen .nest-story-formatted-body p{font-size:inherit!important;line-height:inherit!important}
#story-detail-screen .story-author-follow-row small{font-size:10px}
#story-detail-screen .approved-story-actions>button span:not(.nest-translate-bubble){font-size:10px!important;font-weight:400!important}

#story-detail-screen .approved-story-actions{align-items:stretch}
#story-detail-screen .approved-story-actions>button:not(:has(.nest-translate-bubble)){justify-content:flex-start}
html:not(.nest-provider-mode):not(.nest-admin-web) #story-detail-screen.screen .approved-story-actions>button>span:not(.nest-translate-bubble){font-size:inherit!important;line-height:inherit!important;font-weight:inherit!important;color:inherit!important}
html:not(.nest-provider-mode):not(.nest-admin-web) #story-detail-screen.screen .approved-story-actions>button[data-story-like][aria-pressed="false"]{color:var(--muted)!important}
html:not(.nest-provider-mode):not(.nest-admin-web) #story-detail-screen.screen .approved-story-actions>button:is([data-story-like],[data-story-save])[aria-pressed="true"]{color:#B23B28!important}

/* Approved exact-target reply quote: compact, plain excerpt; original post actions stay outside. */
#story-detail-screen .story-thread-comment .story-reply-recipient .story-reply-target{display:block;width:100%;min-height:32px;padding:0;border:0;background:none;text-align:start;color:inherit;font:inherit}
#story-detail-screen .story-reply-target strong,#story-detail-screen .story-reply-target .story-reply-excerpt{display:block}
#story-detail-screen .story-reply-target .story-reply-excerpt{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;color:var(--muted);font-weight:400}

/* Approved post-photo Zoom in / Fit whole photo, sharing existing Nest viewer controls. */

/* Reuse the owner-approved post conversation for Stories and Activity history. */
#story-detail-screen .story-comments{--primary:#C94932;--ink:#17213B;--muted:#6B7280;--line:#F2D7CD;--soft:#FDE9E1;margin-top:24px!important;padding:0!important;border:0;border-radius:0!important;background:transparent!important;color:var(--ink)}
#story-detail-screen .story-comments h3{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 12px;font-size:17px;line-height:1.35}
#story-detail-screen [data-comments-heading]{font-size:15px;color:var(--ink)}
#story-detail-screen [data-comment-total]{font-size:11px;font-weight:400;color:var(--muted)}
#story-detail-screen .story-comment-thread{margin:0}
#story-detail-screen .story-comment-thread+.story-comment-thread{margin-top:8px}
#story-detail-screen .story-comments .story-thread-comment{display:block;position:relative;min-width:0;min-height:0;padding:8px 0 5px;margin:0;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent}
#story-detail-screen .story-thread-comment header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 8px;margin:0}
#story-detail-screen .story-comment-person{display:flex;align-items:center;flex:1 1 140px;gap:8px;max-width:100%;min-width:0;min-height:36px;padding:0;border:0;background:transparent;color:var(--ink);text-align:start}
#story-detail-screen .story-comment-person strong{min-width:0;flex:0 1 auto;font-size:12px;line-height:1.3;overflow-wrap:anywhere}
#story-detail-screen .story-comment-avatar{position:static;display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;min-width:30px;padding:0;border:0;border-radius:10px!important;background:var(--soft);color:#B23B28;font-size:12px;font-weight:650;overflow:hidden}
#story-detail-screen .story-comment-avatar img{display:block;width:100%;height:100%;border-radius:inherit!important;object-fit:cover}
#story-detail-screen .is-reply .story-comment-avatar{flex-basis:26px;width:26px;height:26px;min-width:26px;border-radius:9px!important}
#story-detail-screen .story-thread-comment time{flex:0 0 auto;max-width:96px;margin-inline-start:auto;font-size:10px;line-height:1.35;color:var(--muted);text-align:end}
#story-detail-screen .activity-comment-host{flex:0 0 auto;font-size:10px;line-height:1.3;white-space:nowrap}
#story-detail-screen .story-comments .story-comment-body{margin:3px 0 0 38px;font-size:13px;line-height:1.45;color:var(--ink)}
#story-detail-screen .story-comments .is-reply .story-comment-body{margin-inline-start:34px}
#story-detail-screen .story-thread-comment .story-comment-tools{position:static;display:flex;align-items:center;align-self:auto;gap:8px;transform:none;right:auto;top:auto;width:auto;height:auto;min-height:44px;margin:0 0 0 32px}
#story-detail-screen .story-thread-comment .story-comment-tools>button{display:grid;place-items:center;flex:0 0 auto;min-height:44px;padding:4px 6px;border:0;background:transparent;font-size:12px;font-weight:400;color:#B23B28}
#story-detail-screen .story-thread-comment .story-comment-tools>.nest-translate-button{width:44px;min-width:44px;flex-basis:44px;margin-inline-start:auto}
#story-detail-screen .story-thread-comment .story-comment-tools>[data-comment-options]{width:44px;min-width:44px;flex-basis:44px;margin:0}
#story-detail-screen .story-comment-tools .nest-translate-bubble{width:25px;height:25px;background:var(--soft);color:#E85D3F;border-radius:50%;box-shadow:none}
#story-detail-screen .story-comment-tools .nest-translate-bubble svg{width:16px;height:16px}
#story-detail-screen .story-comment-tools .nest-more-bubble{width:24px;height:24px;padding:0;border:0;border-radius:0;background:transparent;color:var(--muted);font-size:20px;font-weight:400}
#story-detail-screen .story-thread-replies{display:block;gap:0;margin:0 0 0 14px;padding-inline-start:10px;border-inline-start:1px solid var(--line)}
#story-detail-screen .story-replies-toggle{width:100%;min-height:44px;margin:0;padding:5px 0 4px 38px;font-size:12px;font-weight:400;text-align:start}
#story-detail-screen .story-thread-comment .story-reply-recipient{display:block;width:calc(100% - 34px);margin:2px 0 5px 34px;padding:5px 8px;border:0;border-inline-start:2px solid #E85D3F;border-radius:0 7px 7px 0;background:var(--soft);color:var(--ink);font-size:11px;line-height:1.35;overflow-wrap:anywhere}
#story-detail-screen .story-thread-comment .story-reply-recipient .story-reply-target{min-height:0;font:inherit;color:inherit}
#story-detail-screen .story-thread-comment>.nest-content-translation{min-width:0;margin-inline-start:38px!important;margin-inline-end:0!important}
#story-detail-screen .is-reply>.nest-content-translation{margin-inline-start:34px!important}
#story-detail-screen .story-thread-comment.is-removed>p{margin:0;font-size:13px;color:var(--muted)}
#story-detail-screen .story-comments [hidden]{display:none!important}

#story-detail-screen .story-comment-count{display:block;text-align:right;margin:4px 0 0;color:#6B7280;font-size:12px;line-height:1.4}

/* Approved Story one-row actions and Post below comment, 6 November 2026. */
html[data-nest-text-size="125"] #story-detail-screen.screen .approved-story-actions{grid-template-columns:minmax(0,1fr) minmax(0,1.3fr) minmax(0,1fr) minmax(0,1fr) minmax(0,.9fr)!important}html[data-nest-text-size="125"] #story-detail-screen.screen .approved-story-actions>button>span:not(.nest-translate-bubble){overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important}#story-detail-screen.screen .story-compose-row{grid-template-columns:minmax(0,1fr)!important;align-items:start!important}#story-detail-screen.screen .story-compose-row textarea{width:100%!important}#story-detail-screen.screen .story-compose-row>button{justify-self:end!important;align-self:start!important}

/* Approved author-only view count below the main story text. */
#story-detail-screen .story-detail > .story-view-count{display:flex;align-items:center;gap:6px;margin:14px 0 18px;color:#6b7280;font-size:12px;line-height:1.4;font-weight:400;}
#story-detail-screen .story-view-count svg{width:17px;height:17px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;}
#story-detail-screen .story-view-count button{font:inherit;color:inherit;text-align:left;white-space:normal;}
html[data-nest-text-size="125"] #story-detail-screen .story-detail > .story-view-count{font-size:15px!important;}

/* Approved 21 November: readable story text and full public location. */
#story-detail-screen.screen :is(.story-full-body,.nest-story-formatted-body,.nest-story-formatted-body .nest-story-run--normal){font-size:calc(14px * var(--nest-text-scale,1))!important;line-height:1.5!important}
html[data-nest-text-size="125"] #story-detail-screen.screen :is(.story-full-body,.nest-story-formatted-body,.nest-story-formatted-body .nest-story-run--normal){font-size:17.5px!important;line-height:1.5!important}
#story-detail-screen .approved-story-place .story-place-row{display:flex;align-items:center;gap:12px;width:100%;min-height:44px;padding:8px 0;border:0;background:none;text-align:left;text-decoration:none;font-size:calc(12px * var(--nest-text-scale,1));font-weight:400;line-height:1.5;color:#6b7280;white-space:normal}
#story-detail-screen .story-place-pin{width:22px;height:26px;flex:none;fill:none;stroke:#c94932;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#story-detail-screen .story-place-copy{flex:1;min-width:0;overflow-wrap:anywhere}
#story-detail-screen .story-place-copy strong{display:block;color:#17213b;font-size:inherit;font-weight:700}
#story-detail-screen .story-place-copy>span{display:block;color:#6b7280;font-weight:400!important}
#story-detail-screen .story-place-chevron{flex:none;color:#6b7280;font-size:22px}
