:root {
  --paper: #F6F2E7;
  --paper-2: #EEE9DC;
  --card: #FFFCF4;
  --ink: #15362E;
  --ink-strong: #0B2821;
  --muted: #65736D;
  --muted-2: #7E8984;
  --leaf: #2E7A60;
  --leaf-bright: #62A987;
  --leaf-pale: #DDEBE3;
  --moss: #B7CB9D;
  --gold: #D7A84A;
  --gold-pale: #F3E7BE;
  --sky: #DDEBEA;
  --line: rgba(21, 54, 46, .15);
  --line-strong: rgba(21, 54, 46, .28);
  --danger-soft: #F2E5DE;
  --shadow-soft: 0 12px 40px rgba(18, 46, 38, .07);
  --shadow-float: 0 24px 70px rgba(18, 46, 38, .12);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --shell: 1220px;
  --body-size: 16px;
  --reading-line: 1.62;
  color-scheme: light;
}

[data-theme="dark"] {
  --paper: #0F201B;
  --paper-2: #122820;
  --card: #153129;
  --ink: #F2EFE4;
  --ink-strong: #FFFDF5;
  --muted: #B0BDB7;
  --muted-2: #8FA29A;
  --leaf: #77C7A4;
  --leaf-bright: #94D6B8;
  --leaf-pale: #1D4437;
  --moss: #5F7B63;
  --gold: #E3BA63;
  --gold-pale: #4A3B1D;
  --sky: #1B3D37;
  --line: rgba(239, 245, 239, .14);
  --line-strong: rgba(239, 245, 239, .28);
  --danger-soft: #432D2B;
  --shadow-soft: 0 14px 42px rgba(0, 0, 0, .18);
  --shadow-float: 0 28px 80px rgba(0, 0, 0, .28);
  color-scheme: dark;
}

[data-text-size="large"] { --body-size: 18px; }
[data-text-size="xlarge"] { --body-size: 21px; }
[data-readable-font="true"] { --display-font: Arial, Verdana, system-ui, sans-serif; }
[data-easy-read="true"] { --reading-line: 1.85; }
[data-high-contrast="true"] { --line: rgba(21,54,46,.36); --line-strong: rgba(21,54,46,.62); --muted: #40564D; }
[data-theme="dark"][data-high-contrast="true"] { --line: rgba(255,255,255,.34); --line-strong: rgba(255,255,255,.62); --muted: #D3DDD8; }
[data-reduce-motion="true"] *, [data-reduce-motion="true"] *::before, [data-reduce-motion="true"] *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: var(--body-size); background: var(--paper); }
body { margin: 0; min-height: 100vh; background: var(--paper); color: var(--ink); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 1rem; line-height: var(--reading-line); -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 999; transform: translateY(-160%); background: var(--ink-strong); color: var(--paper); padding: 10px 14px; border-radius: 10px; font-weight: 800; text-decoration: none; }
.skip-link:focus { transform: translateY(0); }

.page-shell { width: min(calc(100% - 48px), var(--shell)); margin: 0 auto; }
.compact-shell { padding-top: 72px; padding-bottom: 100px; }
.app-view { display: none; min-height: 70vh; }
.app-view.active { display: block; }

.topbar { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); }
.topbar-inner { width: min(calc(100% - 48px), var(--shell)); height: 78px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; width: max-content; }
.brand-symbol { width: 34px; height: 34px; border-radius: 11px 11px 16px 11px; display: grid; place-items: center; background: var(--ink); position: relative; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.brand-symbol::before, .brand-symbol::after, .brand-symbol span { content: ""; position: absolute; border-radius: 50%; background: var(--gold); }
.brand-symbol::before { width: 12px; height: 12px; left: 7px; top: 10px; }
.brand-symbol::after { width: 12px; height: 12px; right: 7px; top: 10px; }
.brand-symbol span { width: 13px; height: 13px; bottom: 6px; left: 10px; transform: rotate(45deg); border-radius: 3px 8px 3px 8px; }
.brand-word { font: 700 1.17rem/1 var(--display-font, Georgia, "Times New Roman", serif); letter-spacing: -.025em; }
.desktop-nav { display: flex; align-items: center; gap: 5px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); }
.nav-link { border: 0; background: transparent; color: var(--muted); padding: 8px 14px; border-radius: 999px; font-size: .86rem; font-weight: 750; cursor: pointer; }
.nav-link.active { color: var(--paper); background: var(--ink); }
.topbar-actions { display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
.round-button { min-width: 40px; height: 40px; border: 1px solid var(--line); background: var(--card); border-radius: 50%; display: grid; place-items: center; cursor: pointer; font-weight: 800; }
.share-app { min-height: 40px; border: 0; border-radius: 999px; background: var(--ink); color: var(--paper); padding: 0 16px; cursor: pointer; font-size: .85rem; font-weight: 800; display: inline-flex; align-items: center; gap: 8px; }

.edition-kicker { padding-top: 34px; color: var(--muted); display: flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; font-weight: 800; }
.hero-grid { min-height: 460px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(330px, .8fr); align-items: center; gap: clamp(40px, 7vw, 105px); padding: 46px 0 64px; }
.eyebrow { margin: 0 0 14px; color: var(--leaf); text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; font-weight: 900; }
h1, h2, h3 { font-family: var(--display-font, Georgia, "Times New Roman", serif); color: var(--ink-strong); }
h1 { margin: 0; font-size: clamp(3.6rem, 6.8vw, 6.6rem); line-height: .91; letter-spacing: -.064em; font-weight: 500; max-width: 880px; }
h1 em { color: var(--leaf); font-weight: 500; }
.hero-summary { margin: 28px 0 32px; max-width: 700px; color: var(--muted); font-size: clamp(1rem, 1.55vw, 1.17rem); }
.hero-actions, .brief-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.brief-preparation { display: flex; align-items: center; gap: 11px; max-width: 540px; margin-top: 14px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 15px; background: color-mix(in srgb, var(--leaf-pale) 62%, var(--card)); }
.brief-preparation.ready { background: var(--leaf-pale); }
.brief-preparation-icon { width: 28px; height: 28px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--leaf); color: var(--card); font-size: 1.1rem; animation: audioPulse 1.6s ease-in-out infinite; }
.brief-preparation.ready .brief-preparation-icon { animation: none; }
.brief-preparation-copy { min-width: 0; flex: 1 1 auto; }
.brief-preparation-copy strong, .brief-preparation-copy small { display: block; }
.brief-preparation-copy strong { font-size: .76rem; }
.brief-preparation-copy small { margin-top: 2px; color: var(--muted); font-size: .68rem; line-height: 1.35; }
.brief-preparation-track { display: block; height: 4px; margin-top: 7px; overflow: hidden; border-radius: 999px; background: var(--line-strong); }
.brief-preparation-track i { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--leaf); transition: width .25s ease; }
.brief-preparation .text-action { flex: 0 0 auto; font-size: .7rem; }
.primary-action, .secondary-action { min-height: 46px; border-radius: 999px; padding: 0 18px; font-weight: 850; cursor: pointer; }
.primary-action { border: 1px solid var(--ink); background: var(--ink); color: var(--paper); }
.secondary-action { border: 1px solid var(--line-strong); background: transparent; color: var(--ink); }
.full-width { width: 100%; }

.edition-card { min-height: 390px; border-radius: var(--radius-lg); padding: 32px; background: linear-gradient(150deg, color-mix(in srgb, var(--leaf-pale) 80%, var(--card)), var(--card)); border: 1px solid var(--line); box-shadow: var(--shadow-soft); position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.edition-orbit { position: absolute; width: 205px; height: 205px; right: -40px; top: -42px; border-radius: 50%; background: radial-gradient(circle at 38% 34%, #FFF7CE 0 19%, var(--gold) 20% 32%, transparent 33%); border: 1px solid color-mix(in srgb, var(--gold) 35%, transparent); }
.edition-orbit::before, .edition-orbit::after { content: ""; position: absolute; border: 1px solid color-mix(in srgb, var(--gold) 55%, transparent); border-radius: 50%; inset: 26px; }
.edition-orbit::after { inset: 58px; }
.edition-orbit span { position: absolute; left: 33px; bottom: 30px; color: var(--gold); font-size: 24px; }
.micro-label { color: var(--leaf); text-transform: uppercase; font-size: .71rem; letter-spacing: .14em; font-weight: 900; margin: 0 0 8px; }
.edition-card > strong { max-width: 320px; font: 500 clamp(1.5rem, 2.6vw, 2.2rem)/1.08 var(--display-font, Georgia, serif); letter-spacing: -.03em; }
.edition-stats { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0; }
.edition-stats div { display: flex; flex-direction: column; gap: 2px; border-right: 1px solid var(--line); padding-left: 14px; }
.edition-stats div:first-child { padding-left: 0; }
.edition-stats div:last-child { border-right: 0; }
.edition-stats b { font-size: 1.15rem; }
.edition-stats span { color: var(--muted); font-size: .72rem; }
.edition-note { margin: 15px 0 0; color: var(--muted); font-size: .82rem; }

.top-stories, .field-section { border-top: 1px solid var(--line); padding: 70px 0; }
.section-topline { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-topline h2 { margin: 0; font-size: clamp(2rem, 3.6vw, 3.6rem); line-height: 1; letter-spacing: -.042em; font-weight: 500; }
.live-status { color: var(--muted); font-size: .82rem; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.status-dot { width: 8px; height: 8px; background: var(--gold); border-radius: 50%; box-shadow: 0 0 0 5px color-mix(in srgb, var(--gold) 16%, transparent); }
.live-status.ready .status-dot { background: var(--leaf); box-shadow: 0 0 0 5px color-mix(in srgb, var(--leaf) 16%, transparent); }

.lead-card { display: grid; grid-template-columns: minmax(0, 1.13fr) minmax(360px, .87fr); min-height: 440px; background: var(--ink); color: var(--paper); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-float); }
.lead-image { min-height: 440px; background: linear-gradient(135deg, #1E5444, #688C77); position: relative; overflow: hidden; }
.lead-image img { width: 100%; height: 100%; object-fit: cover; }
.image-shade { position: absolute; inset: 0; background: linear-gradient(90deg, transparent 50%, rgba(10,31,25,.2)); pointer-events: none; }
.category-art { width: 100%; height: 100%; min-height: inherit; display: grid; place-items: center; font-size: clamp(5rem, 11vw, 9rem); position: relative; background: linear-gradient(135deg, #C5D9C9, #E8DFB9); }
.category-art::before, .category-art::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; }
.category-art::before { width: 74%; aspect-ratio: 1; }
.category-art::after { width: 50%; aspect-ratio: 1; }
.lead-content { padding: clamp(28px, 4vw, 46px); display: flex; flex-direction: column; }
.story-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: .72rem; }
.lead-card .story-meta { color: color-mix(in srgb, var(--paper) 70%, transparent); }
.category-label { color: var(--leaf); text-transform: uppercase; letter-spacing: .1em; font-weight: 900; }
.lead-card .category-label { color: color-mix(in srgb, var(--paper) 70%, var(--leaf) 30%); }
.trust-chip, .impact-chip, .sensitive-chip { border: 1px solid var(--line); border-radius: 999px; padding: 4px 8px; font-weight: 800; font-size: .67rem; }
.impact-chip { background: var(--gold-pale); color: var(--ink-strong); border-color: rgba(184, 141, 59, .32); }
.lead-card .trust-chip { border-color: color-mix(in srgb, var(--paper) 22%, transparent); color: color-mix(in srgb, var(--paper) 84%, transparent); }
.lead-card .impact-chip { background: var(--gold-pale); border-color: color-mix(in srgb, var(--gold) 45%, transparent); color: var(--ink-strong); }
.sensitive-chip { background: var(--danger-soft); color: var(--muted); }
.lead-content h3 { color: var(--paper); margin: 18px 0 14px; font-size: clamp(2rem, 3.7vw, 3.7rem); line-height: 1.03; letter-spacing: -.043em; font-weight: 500; }
.lead-content > p { color: color-mix(in srgb, var(--paper) 74%, transparent); margin: 0 0 26px; font-size: .98rem; }
.why-block { border-left: 2px solid var(--gold); padding: 13px 15px; margin-bottom: 26px; background: color-mix(in srgb, var(--paper) 7%, transparent); border-radius: 0 14px 14px 0; }
.why-block span { display: block; color: color-mix(in srgb, var(--paper) 48%, var(--gold) 52%); text-transform: uppercase; letter-spacing: .12em; font-weight: 900; font-size: .64rem; margin-bottom: 4px; }
.why-block p { margin: 0; color: color-mix(in srgb, var(--paper) 90%, transparent); font-size: .93rem; line-height: 1.55; }
.story-actions { margin-top: auto; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); }
.lead-card .story-actions { border-top-color: color-mix(in srgb, var(--paper) 18%, transparent); }
.action-left { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
.brief-button, .source-link { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 0 13px; font-size: .78rem; font-weight: 850; cursor: pointer; text-decoration: none; }
.brief-button { border: 0; background: var(--leaf-pale); color: var(--ink); }
.source-link { border: 1px solid var(--line); background: transparent; color: var(--leaf); }
.lead-card .brief-button { background: var(--paper); color: var(--ink); }
.lead-card .source-link { border-color: color-mix(in srgb, var(--paper) 24%, transparent); color: color-mix(in srgb, var(--paper) 68%, var(--leaf) 32%); }
.save-button { min-width: 40px; height: 40px; border: 1px solid var(--line); background: transparent; border-radius: 50%; cursor: pointer; color: currentColor; font-size: 1.05rem; }
.save-button.saved { background: var(--gold); border-color: transparent; color: #40300A; }

.secondary-stories { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 18px; }
.secondary-card { min-height: 300px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--card); display: flex; flex-direction: column; box-shadow: var(--shadow-soft); }
.secondary-card h3 { margin: 16px 0 12px; font-size: clamp(1.55rem, 2.3vw, 2.1rem); font-weight: 500; line-height: 1.07; letter-spacing: -.03em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.secondary-card > p { margin: 0 0 18px; color: var(--muted); font-size: .88rem; }

.highlight-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 19px; }
.highlight-grid > .empty-state { grid-column: 1 / -1; }
.highlight-card { min-width: 0; overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--card); box-shadow: var(--shadow-soft); }
.highlight-media { width: 100%; min-height: 205px; aspect-ratio: 16 / 9; overflow: hidden; position: relative; background: linear-gradient(135deg, #1e5444, #688c77); border-bottom: 1px solid var(--line); }
.highlight-media img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; }
.highlight-media .category-art { min-height: 0; height: 100%; font-size: clamp(4rem, 7vw, 6rem); }
.highlight-content { min-height: 405px; display: flex; flex-direction: column; padding: 24px; }
.highlight-index { display: block; margin-bottom: 10px; color: var(--leaf); font-size: .62rem; font-weight: 900; letter-spacing: .14em; }
.highlight-content h3 { margin: 15px 0 12px; font-size: clamp(1.55rem, 2.25vw, 2.15rem); font-weight: 500; line-height: 1.07; letter-spacing: -.035em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.highlight-summary { margin: 0 0 18px; color: var(--muted); font-size: .86rem; }
.highlight-why { margin: 0 0 4px; padding: 13px 14px; border-left: 2px solid var(--gold); border-radius: 0 12px 12px 0; background: color-mix(in srgb, var(--gold-pale) 52%, var(--card)); }
.highlight-why b { display: block; margin-bottom: 3px; color: var(--leaf); font-size: .62rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.highlight-why p { margin: 0; color: var(--ink); font-size: .78rem; line-height: 1.48; }
.highlight-card .story-actions { margin-top: auto; }

.field-heading-row { align-items: end; }
.text-action { border: 0; background: transparent; padding: 0; color: var(--leaf); cursor: pointer; font-weight: 850; text-decoration: none; }
.category-strip { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0 22px; }
.category-strip::-webkit-scrollbar { display: none; }
.category-pill { flex: 0 0 auto; border: 1px solid var(--line); background: var(--card); color: var(--muted); border-radius: 999px; min-height: 40px; padding: 0 14px; cursor: pointer; font-weight: 750; font-size: .82rem; }
.category-pill.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.story-card { min-height: 330px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 23px; display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease; }
.story-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.story-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; background: var(--leaf-pale); font-size: 1.12rem; margin-bottom: 18px; }
.story-card h3 { margin: 13px 0 11px; font-size: 1.36rem; line-height: 1.1; letter-spacing: -.026em; font-weight: 500; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.story-card .summary { margin: 0 0 18px; color: var(--muted); font-size: .86rem; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.story-card .mini-why { margin: 0 0 20px; font-size: .78rem; color: var(--muted); }
.story-card .mini-why b { color: var(--ink); }
.story-card .story-actions { margin-top: auto; }
[data-easy-read="true"] .story-card .summary { -webkit-line-clamp: 2; }
[data-easy-read="true"] .story-card .mini-why { display: none; }
.edition-complete { margin-top: 24px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; gap: 16px; background: color-mix(in srgb, var(--leaf-pale) 55%, var(--card)); text-align: left; }
.edition-complete > span { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--paper); font-weight: 900; }
.edition-complete strong { display: block; }
.edition-complete p { margin: 2px 0 0; color: var(--muted); font-size: .86rem; }

.view-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 36px; }
.view-heading h1, .brief-header h1 { font-size: clamp(3rem, 6vw, 6rem); max-width: 900px; }
.view-heading p:not(.eyebrow), .brief-header > p:not(.eyebrow) { max-width: 650px; color: var(--muted); margin: 18px 0 0; }
.local-progress { margin: 0 0 34px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-md); background: color-mix(in srgb, var(--leaf-pale) 48%, var(--card)); }
.local-progress-head { display: flex; align-items: start; justify-content: space-between; gap: 28px; }
.local-progress-head h2 { margin: 4px 0 6px; font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 500; line-height: 1.05; }
.local-progress-head p:not(.eyebrow) { margin: 0; color: var(--muted); max-width: 650px; }
.local-status { margin-top: 15px; color: var(--muted); font-size: .78rem; }
.local-story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 22px; }
.search-panel { margin: 0 0 22px; }
.search-panel label { display: block; font-size: .75rem; font-weight: 850; margin-bottom: 8px; color: var(--muted); }
.search-input-wrap { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line-strong); background: var(--card); border-radius: 18px; padding: 0 16px; }
.search-input-wrap input { width: 100%; min-height: 54px; border: 0; outline: 0; background: transparent; color: var(--ink); }
.search-input-wrap input::placeholder { color: var(--muted-2); }
.filter-summary { display: flex; justify-content: space-between; color: var(--muted); font-size: .82rem; padding: 0 0 15px; }
.explore-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.empty-state { border: 1px dashed var(--line-strong); border-radius: var(--radius-md); text-align: center; padding: 80px 20px; }
.empty-state > span { font-size: 2rem; }
.empty-state h3 { margin: 10px 0 2px; font-size: 1.6rem; }
.empty-state p { margin: 0; color: var(--muted); }

.brief-header { max-width: 880px; padding-bottom: 42px; }
.brief-actions { margin-top: 28px; }
.brief-list { list-style: none; counter-reset: brief-counter; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.brief-item { counter-increment: brief-counter; display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 20px; padding: 30px 0; border-bottom: 1px solid var(--line); align-items: start; }
.brief-number::before { content: counter(brief-counter, decimal-leading-zero); font: 500 1.2rem var(--display-font, Georgia, serif); color: var(--leaf); }
.brief-main h3 { margin: 8px 0 8px; font-size: clamp(1.5rem, 2.6vw, 2.25rem); line-height: 1.06; font-weight: 500; }
.brief-main > p { margin: 0; color: var(--muted); max-width: 760px; }
.brief-main .why-inline { margin-top: 10px; font-size: .84rem; }
.brief-main .why-inline b { color: var(--ink); }
.brief-open { border: 1px solid var(--line); background: var(--card); border-radius: 999px; min-height: 40px; padding: 0 13px; cursor: pointer; font-size: .78rem; font-weight: 850; }
.brief-complete { margin-top: 32px; }
.completion-action { display: inline-flex; margin-top: 10px; }
.completion-action:disabled { opacity: .72; cursor: default; }
.completion-progress { margin-top: 8px !important; font-size: .75rem !important; }

.site-footer { border-top: 1px solid var(--line); padding: 48px 0 82px; }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.footer-brand { margin-bottom: 12px; }
.site-footer p { color: var(--muted); margin: 0; font-size: .83rem; max-width: 540px; }
.footer-copy { justify-self: end; text-align: right; }
.footer-copy .text-action { margin-top: 12px; margin-left: 12px; }

.modal-backdrop, .side-backdrop, .install-sheet { position: fixed; inset: 0; z-index: 100; background: rgba(4, 18, 14, .56); backdrop-filter: blur(10px); padding: 20px; }
.modal-backdrop { display: grid; place-items: center; }
.story-modal { width: min(760px, 100%); max-height: min(88vh, 900px); overflow-y: auto; background: var(--card); border: 1px solid var(--line); border-radius: 30px; box-shadow: var(--shadow-float); padding: clamp(26px, 5vw, 48px); position: relative; }
.modal-close { width: 42px; height: 42px; border: 1px solid var(--line); background: var(--paper); border-radius: 50%; cursor: pointer; font-size: 1.55rem; display: grid; place-items: center; line-height: 1; }
.story-modal > .modal-close { position: absolute; right: 18px; top: 18px; }
.modal-story-head { padding-right: 46px; }
.modal-story-head h2 { margin: 12px 0 14px; font-size: clamp(2rem, 4.5vw, 3.35rem); line-height: 1.02; letter-spacing: -.04em; font-weight: 500; }
.modal-story-head .dek { color: var(--muted); margin: 0 0 24px; max-width: 780px; font-size: 1.03rem; line-height: 1.65; }
.brief-sections { display: grid; gap: 0; border-top: 1px solid var(--line); }
.brief-section { padding: 20px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 145px minmax(0, 1fr); gap: 20px; }
.brief-section h3 { margin: 0; font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; font-family: inherit; color: var(--leaf); }
.brief-section p { margin: 0; color: var(--muted); font-size: .92rem; }
.modal-actions { display: flex; gap: 10px; justify-content: space-between; flex-wrap: wrap; margin-top: 24px; }
.modal-actions > div { display: flex; gap: 8px; flex-wrap: wrap; }

.side-backdrop { display: flex; justify-content: flex-end; padding: 0; }
.preferences-panel { width: min(480px, 100%); height: 100%; overflow-y: auto; background: var(--card); border-left: 1px solid var(--line); padding: 30px; box-shadow: -18px 0 60px rgba(0,0,0,.18); }
.panel-heading { display: flex; justify-content: space-between; gap: 18px; align-items: start; padding-bottom: 24px; }
.panel-heading h2 { margin: 0; font-size: 2rem; line-height: 1.05; font-weight: 500; }
.preference-group { border: 0; border-top: 1px solid var(--line); margin: 0; padding: 24px 0; }
.preference-group legend { padding-top: 24px; font-weight: 850; font-size: .82rem; }
.preference-help { margin: 2px 0 12px; color: var(--muted); font-size: .75rem; line-height: 1.45; }
.voice-choice-control { display: grid; gap: 7px; margin-bottom: 8px; color: var(--ink); font-size: .8rem; font-weight: 800; }
.voice-choice-control select { width: 100%; min-height: 44px; padding: 0 34px 0 12px; border: 1px solid var(--line-strong); border-radius: 11px; background: var(--paper); color: var(--ink); font: inherit; }
.voice-engine-control { grid-template-columns: 1fr 1fr; margin-bottom: 10px; }
.neural-voice-note { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 12px; padding: 12px; border: 1px solid var(--line); border-radius: 13px; background: var(--leaf-pale); color: var(--muted); font-size: .69rem; line-height: 1.45; }
.neural-voice-note > span:first-child { width: 26px; height: 26px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--leaf); color: var(--card); font-weight: 900; }
.neural-voice-note b { color: var(--ink); }
.neural-prepare-button { display: block; margin-top: 8px; }
.voice-preview-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 0 0 18px; }
.voice-preview-row small { color: var(--muted); font-size: .68rem; line-height: 1.4; }
.voice-preview-row .text-action { flex: 0 0 auto; }
.voice-volume-control { display: grid; gap: 8px; }
.voice-volume-control > span { display: flex; justify-content: space-between; color: var(--ink); font-size: .8rem; font-weight: 800; }
.voice-volume-control output { color: var(--leaf); font-variant-numeric: tabular-nums; }
.voice-volume-control input, .audio-volume input { width: 100%; accent-color: var(--leaf); cursor: pointer; }
.voice-pace-control { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; margin-top: 16px; color: var(--ink); font-size: .8rem; font-weight: 800; }
.voice-pace-control select { min-height: 40px; padding: 0 30px 0 11px; border: 1px solid var(--line-strong); border-radius: 11px; background: var(--paper); color: var(--ink); font: inherit; }
.segmented-control { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; background: var(--paper-2); padding: 5px; border-radius: 14px; }
.segmented-control button { border: 0; min-height: 42px; border-radius: 10px; background: transparent; cursor: pointer; font-size: .78rem; font-weight: 800; }
.segmented-control button.active { background: var(--card); box-shadow: 0 2px 12px rgba(0,0,0,.07); }
.switch-row { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; padding: 13px 0; cursor: pointer; }
.switch-row b { display: block; font-size: .9rem; }
.switch-row small { display: block; color: var(--muted); font-size: .75rem; margin-top: 2px; }
.switch-row input { position: absolute; opacity: 0; pointer-events: none; }
.switch-row i { width: 46px; height: 26px; border-radius: 999px; background: var(--line-strong); position: relative; transition: .18s ease; }
.switch-row i::after { content: ""; position: absolute; width: 20px; height: 20px; border-radius: 50%; background: var(--card); top: 3px; left: 3px; transition: .18s ease; box-shadow: 0 1px 6px rgba(0,0,0,.18); }
.switch-row input:checked + i { background: var(--leaf); }
.switch-row input:checked + i::after { transform: translateX(20px); }
.switch-row input:focus-visible + i { outline: 3px solid var(--gold); outline-offset: 3px; }
.interest-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.interest-choice { min-height: 44px; display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 13px; padding: 8px 10px; background: var(--paper-2); color: var(--muted); cursor: pointer; font-size: .76rem; font-weight: 800; text-align: left; }
.interest-choice.active { border-color: var(--leaf); background: var(--leaf-pale); color: var(--ink); }
.location-control { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.location-control input { width: 100%; min-height: 46px; border: 1px solid var(--line-strong); border-radius: 13px; background: var(--paper); color: var(--ink); padding: 0 12px; }
.clear-location { margin-top: 9px; }
.panel-note { text-align: center; color: var(--muted); font-size: .74rem; }

.install-sheet { display: grid; place-items: end center; }
.install-card { position: relative; width: min(520px, 100%); background: var(--card); border-radius: 26px; padding: 30px 24px calc(24px + env(safe-area-inset-bottom)); box-shadow: var(--shadow-float); text-align: center; }
.install-close { position: absolute; right: 16px; top: 12px; border: 0; background: transparent; font-size: 30px; cursor: pointer; }
.install-app-icon { width: 68px; height: 68px; border-radius: 18px; margin: 0 auto 16px; display: grid; place-items: center; background: var(--ink); color: var(--paper); font: 700 34px Georgia, serif; }
.install-card h2 { margin: 0 0 10px; font-size: 2rem; }
.install-card p { line-height: 1.55; margin: 8px auto; max-width: 390px; }
.install-note { color: var(--muted); font-size: .9rem; }

.mobile-nav { display: none; }
.toast { position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); transform: translate(-50%, 28px); opacity: 0; pointer-events: none; z-index: 160; background: var(--ink); color: var(--paper); border-radius: 999px; padding: 11px 15px; font-size: .82rem; font-weight: 800; transition: .2s ease; box-shadow: var(--shadow-float); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.audio-controller { position: fixed; z-index: 145; left: 50%; bottom: max(22px, env(safe-area-inset-bottom)); transform: translateX(-50%); width: min(calc(100% - 28px), 620px); display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 11px 12px 11px 15px; border: 1px solid rgba(255,255,255,.14); border-radius: 18px; background: var(--ink-strong); color: var(--paper); box-shadow: var(--shadow-float); }
.audio-controller > div { min-width: 0; display: flex; align-items: center; gap: 10px; }
.audio-controller b, .audio-controller small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.audio-controller b { font-size: .78rem; }
.audio-controller small { opacity: .74; font-size: .66rem; }
.audio-volume { flex: 0 1 150px; display: grid; grid-template-columns: auto minmax(65px, 1fr) auto; gap: 7px; align-items: center; color: rgba(255,255,255,.72); font-size: .62rem; }
.audio-volume input { min-width: 65px; accent-color: var(--gold); }
.audio-volume output { min-width: 27px; font-variant-numeric: tabular-nums; }
.audio-pulse { width: 10px; height: 10px; flex: 0 0 auto; border-radius: 50%; background: var(--leaf-bright); box-shadow: 0 0 0 5px rgba(119,199,164,.16); animation: audioPulse 1.6s ease-in-out infinite; }
.audio-stop { min-height: 42px; flex: 0 0 auto; border: 0; border-radius: 12px; background: var(--paper); color: var(--ink-strong); padding: 0 13px; cursor: pointer; font-size: .76rem; font-weight: 900; }
.audio-active { background: var(--gold-pale) !important; color: var(--ink-strong) !important; }
@keyframes audioPulse { 50% { opacity: .55; transform: scale(.86); } }

.skeleton { min-height: 300px; border-radius: var(--radius-md); background: linear-gradient(90deg, var(--paper-2), color-mix(in srgb, var(--card) 80%, white), var(--paper-2)); background-size: 220% 100%; animation: shimmer 1.4s linear infinite; }
.skeleton-lead { min-height: 440px; border-radius: var(--radius-lg); }
@keyframes shimmer { to { background-position: -220% 0; } }

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .topbar-inner { grid-template-columns: 1fr auto; }
  .hero-grid { grid-template-columns: 1fr; min-height: unset; gap: 44px; }
  .edition-card { min-height: 320px; }
  .lead-card { grid-template-columns: 1fr; }
  .lead-image { min-height: 330px; max-height: 480px; }
  .highlight-grid { grid-template-columns: 1fr; }
  .highlight-card { display: grid; grid-template-columns: minmax(240px, .7fr) minmax(0, 1.3fr); }
  .highlight-media { height: 100%; min-height: 310px; aspect-ratio: auto; border-bottom: 0; border-right: 1px solid var(--line); }
  .highlight-content { min-height: 310px; }
  .story-grid, .explore-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-copy { justify-self: start; text-align: left; }
}

@media (max-width: 680px) {
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .page-shell, .topbar-inner { width: min(calc(100% - 28px), var(--shell)); }
  .topbar { padding-top: env(safe-area-inset-top); }
  .topbar-inner { height: 68px; }
  .brand-word { font-size: 1.05rem; }
  .round-button#searchButton, .share-app { display: none; }
  .topbar-actions { gap: 6px; }
  .edition-kicker { padding-top: 22px; }
  .hero-grid { padding: 35px 0 54px; }
  h1 { font-size: clamp(3rem, 15vw, 4.8rem); }
  .hero-summary { margin-top: 22px; }
  .hero-actions .primary-action { flex: 1 1 auto; }
  .edition-card { min-height: 285px; padding: 24px; border-radius: 25px; }
  .edition-orbit { width: 165px; height: 165px; }
  .top-stories, .field-section { padding: 52px 0; }
  .section-topline { align-items: start; flex-direction: column; margin-bottom: 22px; }
  .section-topline h2 { font-size: 2.35rem; }
  .live-status { white-space: normal; }
  .brief-preparation { align-items: flex-start; }
  .brief-preparation-icon { margin-top: 1px; }
  .lead-card { border-radius: 25px; }
  .lead-image { min-height: 245px; }
  .lead-content { padding: 25px; }
  .lead-content h3 { font-size: 2rem; }
  .highlight-card { display: flex; }
  .highlight-media { height: auto; min-height: 190px; aspect-ratio: 16 / 9; border-right: 0; border-bottom: 1px solid var(--line); }
  .highlight-content { min-height: 390px; padding: 22px; }
  .secondary-stories, .story-grid, .explore-grid { grid-template-columns: 1fr; }
  .secondary-card { min-height: 280px; }
  .story-card { min-height: 320px; border-radius: 20px; }
  .field-heading-row .text-action { display: none; }
  .edition-complete { align-items: flex-start; }
  .compact-shell { padding-top: 44px; padding-bottom: 54px; }
  .view-heading { align-items: start; flex-direction: column; margin-bottom: 28px; }
  .local-progress { padding: 20px; }
  .local-progress-head { flex-direction: column; gap: 16px; }
  .local-progress-head .secondary-action { width: 100%; }
  .local-story-grid { grid-template-columns: 1fr; }
  .view-heading h1, .brief-header h1 { font-size: clamp(3rem, 14vw, 4.6rem); }
  .brief-item { grid-template-columns: 38px minmax(0, 1fr); gap: 12px; }
  .brief-open { grid-column: 2; width: max-content; }
  .brief-section { grid-template-columns: 1fr; gap: 6px; }
  .modal-backdrop { padding: 0; align-items: end; }
  .story-modal { width: 100%; max-height: 92vh; border-radius: 28px 28px 0 0; padding: 28px 22px calc(28px + env(safe-area-inset-bottom)); }
  .modal-story-head h2 { font-size: 2.25rem; }
  .preferences-panel { padding: 24px 20px calc(95px + env(safe-area-inset-bottom)); border-left: 0; }
  .location-control { grid-template-columns: 1fr; }
  .location-control .secondary-action { width: 100%; }
  .mobile-nav { position: fixed; z-index: 70; left: 0; right: 0; bottom: 0; min-height: calc(68px + env(safe-area-inset-bottom)); padding: 7px 8px env(safe-area-inset-bottom); display: grid; grid-template-columns: repeat(5, 1fr); background: color-mix(in srgb, var(--card) 94%, transparent); backdrop-filter: blur(20px); border-top: 1px solid var(--line); }
  .mobile-nav-item { border: 0; background: transparent; min-height: 54px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--muted); cursor: pointer; border-radius: 12px; }
  .mobile-nav-item > span { font-size: 1rem; line-height: 1; }
  .mobile-nav-item b { font-size: .62rem; }
  .mobile-nav-item.active { color: var(--leaf); background: color-mix(in srgb, var(--leaf-pale) 65%, transparent); }
  .site-footer { padding-bottom: 38px; }
  .footer-copy .text-action { margin-left: 0; margin-right: 12px; }
  .toast { bottom: calc(84px + env(safe-area-inset-bottom)); }
  .audio-controller { bottom: calc(80px + env(safe-area-inset-bottom)); }
  .audio-controller small { display: none; }
  .audio-controller > div { display: none; }
  .audio-volume { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* BrightWorld v2.1 — internal stories, coverage context and discussion pulse */
.story-modal { width: min(930px, 100%); }
.brightworld-story { display: grid; gap: 0; }
.internal-story-label { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; color: var(--leaf); font-size: .68rem; font-weight: 900; letter-spacing: .13em; }
.internal-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 20px 0 8px; }
.internal-actions .save-button { margin-left: 2px; }
.reading-mode-action { border-color: color-mix(in srgb, var(--leaf) 38%, var(--line)); background: color-mix(in srgb, var(--leaf-pale) 62%, var(--card)); color: var(--leaf); }
.reading-mode-action[aria-pressed="true"] { border-color: var(--leaf); background: var(--leaf); color: white; }
.simple-story-summary { margin-top: 22px; padding: clamp(20px, 4vw, 30px); border: 1px solid color-mix(in srgb, var(--leaf) 24%, var(--line)); border-radius: 22px; background: linear-gradient(145deg, color-mix(in srgb, var(--leaf-pale) 68%, var(--card)), var(--card)); }
.simple-summary-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.simple-summary-grid > div { min-height: 132px; padding: 17px 18px; border: 1px solid var(--line); border-radius: 16px; background: color-mix(in srgb, var(--card) 90%, transparent); }
.simple-summary-grid span { display: block; margin-bottom: 8px; color: var(--leaf); font-size: .68rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.simple-summary-grid p, .simple-next p { margin: 0; color: var(--ink); font-size: .97rem; line-height: 1.66; }
.simple-next { margin-top: 10px; padding: 16px 18px; border-left: 3px solid var(--gold); border-radius: 0 14px 14px 0; background: var(--gold-pale); }
.simple-next b { display: block; margin-bottom: 5px; color: var(--ink); font-size: .74rem; }
.story-enrichment-loading, .story-enrichment-warning { display: flex; gap: 14px; align-items: flex-start; margin: 22px 0; padding: 16px 18px; border-radius: 16px; background: var(--leaf-pale); border: 1px solid var(--line); }
.story-enrichment-warning { background: var(--gold-pale); }
.story-enrichment-loading p, .story-enrichment-warning p { margin: 2px 0 0; color: var(--muted); font-size: .82rem; }
.mini-spinner { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 2px; border: 2px solid var(--line-strong); border-top-color: var(--leaf); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.section-number { display: block; color: var(--leaf); text-transform: uppercase; letter-spacing: .12em; font-size: .67rem; font-weight: 900; margin-bottom: 5px; }
.story-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 20px; }
.story-section-heading h3 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.35rem); line-height: 1.03; font-weight: 500; letter-spacing: -.035em; }
.story-section-heading > p { margin: 0; max-width: 390px; color: var(--muted); font-size: .8rem; }
.read-time { flex: 0 0 auto; border: 1px solid var(--line); padding: 6px 10px; border-radius: 999px; color: var(--muted); font-size: .72rem; font-weight: 800; }
.key-points { padding: 28px 0; margin-top: 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.key-point-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 13px; }
.key-point-grid > div { min-height: 132px; padding: 17px; border-radius: 16px; background: var(--paper-2); border: 1px solid var(--line); }
.key-point-grid > div > .key-point-label { display: block; color: var(--leaf); text-transform: uppercase; letter-spacing: .1em; font-size: .62rem; font-weight: 900; }
.key-point-grid p { margin: 10px 0 0; font-size: .84rem; color: var(--ink); line-height: 1.55; }
.why-matters-panel { margin: 30px 0 0; padding: clamp(22px, 4vw, 32px); border: 1px solid color-mix(in srgb, var(--gold) 48%, var(--line)); border-radius: 22px; background: linear-gradient(145deg, color-mix(in srgb, var(--gold-pale) 70%, var(--card)), var(--card)); }
.why-matters-panel p { max-width: 790px; margin: 9px 0 0; color: var(--ink-strong); font-family: var(--display-font, Georgia, "Times New Roman", serif); font-size: clamp(1.08rem, 2vw, 1.32rem); line-height: 1.62; }
.internal-article { padding: 34px 0; border-bottom: 1px solid var(--line); }
.article-copy { max-width: 740px; }
.article-copy p { margin: 0 0 1.15em; color: var(--ink); font-family: var(--display-font, Georgia, "Times New Roman", serif); font-size: 1.03rem; line-height: 1.78; }
.article-copy p:first-child::first-letter { float: left; margin: .06em .09em 0 0; color: var(--leaf); font-size: 3.4em; line-height: .78; }
.editorial-brief-sections { border-top: 0; }
.insight-panel { margin: 30px 0 0; padding: 24px; border-radius: 21px; border: 1px solid var(--line); background: var(--paper-2); }
.insight-panel-head { display: flex; justify-content: space-between; align-items: start; gap: 18px; }
.insight-panel-head h3 { margin: 0; font-size: 1.7rem; line-height: 1.05; font-weight: 500; letter-spacing: -.03em; }
.insight-panel > p { color: var(--muted); margin: 16px 0 0; }
.confidence-dot { width: 13px; height: 13px; margin-top: 5px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 6px color-mix(in srgb, var(--leaf) 13%, transparent); }
.source-pills { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.source-pills span, .sample-chip { border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 6px 10px; color: var(--muted); font-size: .7rem; font-weight: 800; }
.method-note { font-size: .72rem !important; border-top: 1px solid var(--line); padding-top: 13px; }
.reaction-panel { background: color-mix(in srgb, var(--leaf-pale) 54%, var(--card)); }
.reaction-empty { background: var(--paper-2); }
.reaction-summary { font-size: .95rem; }
.reaction-meter { height: 12px; display: flex; overflow: hidden; border-radius: 999px; margin: 20px 0 10px; background: var(--line); }
.reaction-meter > span { height: 100%; }
.reaction-positive { background: var(--leaf); }
.reaction-cautious { background: var(--gold); }
.reaction-mixed { background: var(--muted-2); }
.reaction-legend { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.reaction-legend span { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: .69rem; }
.reaction-legend i { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; }
.positive-key { background: var(--leaf); }
.cautious-key { background: var(--gold); }
.mixed-key { background: var(--muted-2); }
.theme-list { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.theme-title { display: block; margin-bottom: 7px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-size: .65rem; font-weight: 900; }
.theme-row { display: flex; justify-content: space-between; gap: 18px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .82rem; }
.theme-row b { color: var(--leaf); }
.reaction-caveat { margin-top: 18px; padding: 13px 14px; background: var(--card); border-left: 3px solid var(--gold); color: var(--muted); font-size: .75rem; }
.discussion-link { display: inline-flex; margin-top: 14px; color: var(--leaf); font-weight: 850; font-size: .77rem; text-decoration: none; }
.story-source-section { padding: 36px 0 8px; border-top: 1px solid var(--line); margin-top: 34px; }
.source-list { border-top: 1px solid var(--line); }
.source-row { min-height: 62px; display: grid; grid-template-columns: 38px minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 10px 3px; border-bottom: 1px solid var(--line); text-decoration: none; }
.source-row:hover .source-main b { color: var(--leaf); }
.source-index { color: var(--leaf); font: 600 .76rem var(--display-font, Georgia, serif); }
.source-main { min-width: 0; display: flex; flex-direction: column; }
.source-main b { transition: color .15s ease; }
.source-main small { margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: .69rem; }
.original-badge { border: 1px solid var(--line); border-radius: 999px; padding: 4px 8px; color: var(--leaf); font-size: .63rem; font-weight: 900; text-transform: uppercase; letter-spacing: .07em; }
.story-methodology { margin: 28px 0 0; color: var(--muted); font-size: .7rem; text-align: center; }

@media (max-width: 680px) {
  .key-point-grid { grid-template-columns: 1fr; }
  .simple-summary-grid { grid-template-columns: 1fr; }
  .simple-summary-grid > div { min-height: 0; }
  .key-point-grid > div { min-height: 0; }
  .story-section-heading { align-items: start; flex-direction: column; gap: 8px; }
  .article-copy p { font-size: 1rem; line-height: 1.72; }
  .reaction-legend { grid-template-columns: 1fr; }
  .insight-panel { padding: 20px; }
  .insight-panel-head { flex-direction: column; }
  .source-row { grid-template-columns: 30px minmax(0, 1fr) auto; }
  .source-row .original-badge { display: none; }
  .modal-story-head { padding-right: 32px; }
}

/* Digital Balance — deliberate use without streaks, shame or hard locks */
.balance-settings-card { padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper-2); }
.balance-settings-card .secondary-action { width: 100%; min-height: 40px; padding-inline: 13px; font-size: .72rem; }

.balance-backdrop { z-index: 125; padding: 22px; }
.balance-modal { position: relative; width: min(820px, 100%); max-height: min(92vh, 980px); overflow-y: auto; overscroll-behavior: contain; border-radius: 30px; padding: 38px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-float); }
.balance-modal > .modal-close { position: absolute; z-index: 2; right: 24px; top: 24px; margin: 0; }
.balance-heading { padding: 5px 54px 28px 0; }
.balance-heading h2 { margin: 0; max-width: 600px; font-size: clamp(2.4rem, 5vw, 4.5rem); font-weight: 500; line-height: .96; letter-spacing: -.05em; }
.balance-heading > p:last-child { max-width: 670px; margin: 20px 0 0; color: var(--muted); }
.balance-section { clear: both; padding: 30px 0; border-top: 1px solid var(--line); }
.balance-section > p { margin: 8px 0 18px; color: var(--muted); font-size: .85rem; }
.balance-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.balance-section-heading > div { display: flex; align-items: center; gap: 10px; }
.balance-section-heading h3 { margin: 0; font-size: 1.55rem; font-weight: 550; letter-spacing: -.025em; }
.balance-section-heading > strong { flex: 0 0 auto; color: var(--leaf); font-size: .86rem; }
.balance-step { width: 28px; height: 28px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center; background: var(--leaf-pale); color: var(--leaf); font-size: .65rem; font-weight: 900; }
.balance-control-grid { display: grid; grid-template-columns: minmax(190px, .8fr) minmax(280px, 1.2fr); gap: 16px; align-items: end; }
.balance-control-grid > label, .plan-builder label { display: grid; gap: 6px; color: var(--ink); font-size: .76rem; font-weight: 850; }
.input-with-unit { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; overflow: hidden; min-height: 48px; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--paper); }
.input-with-unit input { width: 100%; min-width: 0; height: 46px; padding: 0 4px 0 13px; border: 0; outline: 0; background: transparent; color: var(--ink); }
.input-with-unit small { padding: 0 13px 0 5px; color: var(--muted); font-size: .69rem; font-weight: 750; }
.balance-modal select, .plan-builder input { width: 100%; min-height: 48px; padding: 0 13px; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--paper); color: var(--ink); font: inherit; }
.balance-button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.compact-action { min-height: 42px; font-size: .76rem; }
.balance-fine-print { margin: 10px 0 0 !important; font-size: .69rem !important; }
.balance-alarm-grid { grid-template-columns: minmax(160px, .65fr) minmax(180px, .8fr) minmax(220px, 1fr); }
.plan-builder { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.balance-plan-controls { grid-template-columns: 1fr 1fr; }
.balance-plan-preview { margin-top: 15px; padding: 14px 16px; border-left: 3px solid var(--gold); background: var(--gold-pale); color: var(--ink); font: 500 .9rem/1.5 var(--display-font, Georgia, serif); }
.balance-plan-actions { margin-top: 14px; }
.device-link-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.device-link-grid a { min-height: 74px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 11px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper-2); text-decoration: none; }
.device-link-grid a:hover { border-color: var(--leaf); }
.device-link-grid a > span:first-child { width: 31px; height: 31px; border-radius: 10px; display: grid; place-items: center; background: var(--ink); color: var(--paper); }
.device-link-grid b, .device-link-grid small { display: block; }
.device-link-grid b { font-size: .8rem; }
.device-link-grid small { margin-top: 2px; color: var(--muted); font-size: .67rem; }
.balance-privacy { display: flex; gap: 12px; align-items: flex-start; margin: 3px 0 0; padding: 17px; border-radius: 17px; background: var(--leaf-pale); color: var(--muted); font-size: .74rem; }
.balance-privacy > span:first-child { width: 30px; height: 30px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--leaf); color: var(--card); }
.balance-privacy b { color: var(--ink); }

.balance-pause { position: fixed; inset: 0; z-index: 190; display: grid; place-items: center; padding: 22px; background: color-mix(in srgb, var(--ink-strong) 90%, transparent); color: var(--paper); }
.pause-card { width: min(560px, 100%); text-align: center; }
.pause-card .eyebrow { color: var(--leaf-bright); }
.pause-card h2 { margin: 22px 0 10px; color: var(--paper); font-size: clamp(2.4rem, 7vw, 4.4rem); line-height: .95; font-weight: 500; letter-spacing: -.05em; }
.pause-card > p:not(.eyebrow) { max-width: 480px; margin: 0 auto 18px; color: color-mix(in srgb, var(--paper) 73%, transparent); }
.pause-card > .text-action { color: var(--paper); }
.pause-orb { position: relative; width: 156px; height: 156px; margin: 28px auto 0; display: grid; place-items: center; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--leaf-bright) 60%, transparent); background: color-mix(in srgb, var(--leaf) 34%, transparent); animation: balanceBreathe 6s ease-in-out infinite; }
.pause-orb::before { content: ""; position: absolute; width: 112px; height: 112px; border-radius: 50%; background: color-mix(in srgb, var(--leaf-bright) 16%, transparent); }
.pause-orb span { position: relative; z-index: 1; font: 500 2.5rem var(--display-font, Georgia, serif); }
.pause-choices { margin-top: 22px; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.pause-choices .primary-action { border-color: var(--paper); background: var(--paper); color: var(--ink-strong); }
.pause-choices .secondary-action { border-color: rgba(255,255,255,.45); color: var(--paper); }
@keyframes balanceBreathe { 50% { transform: scale(1.08); box-shadow: 0 0 0 24px color-mix(in srgb, var(--leaf-bright) 7%, transparent); } }

.balance-timer-controller { position: fixed; z-index: 146; left: 20px; bottom: max(22px, env(safe-area-inset-bottom)); width: min(calc(100% - 40px), 330px); min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 12px 11px 15px; border-radius: 18px; background: var(--ink-strong); color: var(--paper); box-shadow: var(--shadow-float); }
.balance-timer-controller > div { min-width: 0; display: flex; align-items: center; gap: 11px; }
.balance-timer-controller b, .balance-timer-controller small { display: block; }
.balance-timer-controller b { font-size: .76rem; }
.balance-timer-controller small { color: color-mix(in srgb, var(--paper) 72%, transparent); font-size: .67rem; }
.timer-dot { width: 10px; height: 10px; flex: 0 0 auto; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px color-mix(in srgb, var(--gold) 18%, transparent); }
.timer-stop { min-height: 40px; flex: 0 0 auto; border: 0; border-radius: 12px; padding: 0 12px; background: var(--paper); color: var(--ink-strong); font-size: .72rem; font-weight: 900; cursor: pointer; }
body[data-speaking="true"] .balance-timer-controller { bottom: 105px; }

@media (max-width: 760px) {
  .balance-backdrop { padding: 0; place-items: end center; }
  .balance-modal { width: 100%; max-height: 94vh; border-radius: 28px 28px 0 0; padding: 28px 20px calc(32px + env(safe-area-inset-bottom)); }
  .balance-modal > .modal-close { right: 18px; top: 18px; }
  .balance-heading { padding-right: 34px; }
  .balance-heading h2 { font-size: clamp(2.6rem, 12vw, 4rem); }
  .balance-section-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .balance-control-grid, .balance-alarm-grid, .balance-plan-controls, .plan-builder, .device-link-grid { grid-template-columns: 1fr; }
  .balance-button-row .compact-action { flex: 1 1 auto; }
  .balance-settings-card .secondary-action { width: 100%; }
  .balance-timer-controller { left: 14px; bottom: calc(80px + env(safe-area-inset-bottom)); width: calc(100% - 28px); }
  body[data-speaking="true"] .balance-timer-controller { bottom: calc(158px + env(safe-area-inset-bottom)); }
  .pause-orb { width: 132px; height: 132px; }
  .pause-orb::before { width: 94px; height: 94px; }
}
