/* Public reading system: neutral surfaces, blue navigation, explicit status. */
:root { --brand-ink:#17243d; --brand-deep:#17243d; --brand-forest:#294dbe; --brand-sage:#dbe5ff; --brand-sage-hover:#c9d8ff; --brand-sage-border:#9aafea; --brand-text:#202c42; --brand-muted:#58667d; --brand-line:#e3e8f1; --brand-soft:#f5f7fc; --brand-ivory:#f5f7fc; --semantic-positive-dark:#116451; --shadow:0 4px 18px #21375b06; }
body { color:#202c42; background:#f5f7fc; }
.page-shell { width:min(1240px,calc(100% - 64px)); padding-top:24px; }
a { color:#294dbe; text-underline-offset:3px; }
.app-header { background:transparent; color:#202c42; border:0; padding:12px 0 24px; margin:0; box-shadow:none; grid-template-columns:minmax(0,1.4fr) minmax(280px,1fr); }
.app-header::before,.app-header::after { display:none; }
.app-header .hero-copy h1 { font-size:1.55rem; font-weight:750; margin:8px 0; max-width:none; letter-spacing:-.04em; }
.app-header .hero-copy p { color:#5b6880; font-size:.85rem; max-width:66ch; }
.app-header .eyebrow { color:#3155bf; letter-spacing:.12em; font-size:.65rem; }
.header-summary { border:0; padding:0; align-content:center; }
.header-status-row,.app-header .header-status-row { color:#5b6880; font-size:.74rem; }
.header-automation-row { background:#eef2fa; color:#465879; border:0; font-size:.72rem; }
.header-actions a { color:#294dbe; border:0; background:transparent; padding:4px 0; min-height:28px; justify-content:start; font-size:.75rem; }
.header-actions a:first-child { display:none; }
.tabs-nav { border:0; border-bottom:1px solid #e3e8f1; background:#fff; border-radius:12px 12px 0 0; box-shadow:none; }
.tabs-nav .tab-button { color:#58667d; }
.tabs-nav .tab-button.active { background:#eef2ff; color:#294dbe; box-shadow:inset 0 -3px #315ee8; border-radius:6px 6px 0 0; }
.tabs-nav .tab-button:hover:not(.active) { background:#f5f7fc; }
.persistent-filter-tools { background:#fff; border:0; border-bottom:1px solid #e3e8f1; box-shadow:none; padding:8px 14px; margin-bottom:20px; }
.persistent-tool-button { color:#405373; border-color:#dfe6f1; background:#fff; font-weight:600; }
.persistent-tool-button:hover:not(:disabled) { background:#eef2ff; color:#294dbe; }
.active-filter-summary,.has-active-filters .active-filter-summary { color:#61718a; }
.active-filter-count { background:#e8eeff; color:#294dbe; }
.reading-intro { padding-bottom:14px; }
.reading-intro h2 { color:#30415c; font-size:1.08rem; }
.reading-intro p { color:#62718a; font-size:.83rem; }
.reading-intro .applied-period { color:#486083; font-size:.74rem; }
body[data-active-tab="dashboard-panel"] .reading-intro > div > p:not(.applied-period),body[data-active-tab="dashboard-panel"] .reading-intro h2 { display:none; }
.depth-navigation { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin-bottom:30px; width:100%; }
.depth-navigation button { display:flex; align-items:center; gap:12px; padding:14px 16px; border:1px solid #e2e7f1; border-radius:10px; background:#fff; color:#5c6b82; text-align:left; min-width:0; min-height:70px; }
.depth-navigation button[aria-pressed="true"] { border-color:#315ee8; color:#294dbe; background:#f0f4ff; box-shadow:0 0 0 1px #315ee8; }
.depth-number { width:30px; height:30px; border-radius:50%; background:#edf1f8; display:grid; place-items:center; font-size:.72rem; flex-shrink:0; }
.depth-navigation button[aria-pressed="true"] .depth-number { color:white; background:#315ee8; }
.depth-navigation strong,.depth-navigation small { display:block; }
.depth-navigation strong { font-size:.9rem; }
.depth-navigation small { margin-top:4px; font-size:.72rem; font-weight:400; }
.depth-page { width:100%; min-width:0; }
.reader-welcome { padding:6px 0 26px; max-width:760px; }
.reader-kicker { display:block; font-size:.65rem; letter-spacing:.12em; color:#5e6e88; font-weight:750; }
.reader-welcome h2 { font-size:clamp(2rem,3.5vw,3rem); line-height:1.12; letter-spacing:-.05em; font-weight:700; margin:14px 0; color:#182640; }
.reader-welcome p { max-width:65ch; font-size:.96rem; line-height:1.65; color:#5b6d88; margin:0; }
.reader-insights { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.reader-insight { display:flex; flex-direction:column; padding:24px; border-radius:14px; background:#fff; border:1px solid #e8ecf3; min-width:0; box-shadow:0 5px 22px #294dbe04; }
.reader-insight h3 { font-size:1.35rem; line-height:1.3; letter-spacing:-.03em; margin:18px 0 10px; color:#203255; }
.reader-insight p { font-size:.87rem; line-height:1.65; color:#5b6d88; margin:0 0 22px; }
.reader-insight button { margin-top:auto; min-height:44px; text-align:left; padding:10px 0; border:0; border-top:1px solid #e9edf5; background:transparent; color:#294dbe; font-size:.85rem; font-weight:650; }
.insight-topic { background:#f0f4ff; border-color:#e2e9ff; }
.insight-caution { background:#fffaf0; border-color:#f0e8d3; }
.insight-caution .reader-kicker { color:#815a1d; }
.reader-next { display:flex; align-items:center; justify-content:space-between; gap:24px; border-top:1px solid #e2e7f0; margin-top:30px; padding:26px 0; }
.reader-next h3 { margin:8px 0; font-size:1.1rem; }
.reader-next p { color:#5b6d88; font-size:.86rem; line-height:1.6; margin:0; }
.reader-primary { width:auto; flex-shrink:0; background:#315ee8; color:#fff; border:0; border-radius:8px; min-height:48px; padding:12px 20px; font-weight:650; }
.reader-footnote { font-size:.84rem; line-height:1.6; color:#62718a; margin:0 0 22px; }
.panel { background:#fff; border:1px solid #e8ecf3; padding:26px; border-radius:14px; box-shadow:none; }
.panel h2 { color:#213352; font-size:1.16rem; letter-spacing:-.025em; }
.panel h3 { color:#213352; }
.panel-caption,.panel p { color:#5b6a80; }
.eyebrow { color:#5f7190; }
.metric-card { border:1px solid #e5eaf3; box-shadow:none; background:white; border-radius:12px; }
.metric-card strong { color:#263d62; }
.executive-balance-card { background:#edf2ff; color:#2445a5; border:0; }
.reader-design .executive-balance-card span,
.reader-design .executive-balance-card small { color:#334b78; }
.reader-design .executive-balance-card strong { color:#2445a5; }
.reader-design button:disabled { opacity:1; color:#56647a; background:#f1f4f8; border-color:#c8d1de; cursor:not-allowed; }
.reader-design .magnitude-panel { color:#203255; background:#fff; border-color:#e0e7f2; }
.reader-design .magnitude-panel h2,
.reader-design .magnitude-item strong { color:#203255; }
.reader-design .magnitude-panel .eyebrow,
.reader-design .magnitude-panel .panel-caption,
.reader-design .magnitude-period,
.reader-design .magnitude-item span,
.reader-design .magnitude-item small { color:#4b5d76; }
.reader-design .magnitude-item { background:#f4f7fd; border-color:#dbe3ef; }
.reader-design .magnitude-item-primary { background:#edf2ff; border-left-color:#315ee8; }
.reader-design .magnitude-period { border-color:#c8d3e4; background:#f4f7fd; }
.timeline-selected-period { margin:18px 0 24px; padding:18px; background:#f4f7fc; border:1px solid #dde5f0; border-radius:12px; }
.reader-design .dashboard-order-social-charts { grid-template-columns:minmax(0,1fr); }
.reader-design .dashboard-order-social-charts .chart-shell { height:390px; }
.timeline-selected-period > label { display:block; color:#405574; font-size:.8rem; font-weight:650; margin-bottom:8px; }
.timeline-selected-period > select { width:100%; min-height:44px; padding:10px; background:#fff; border:1px solid #b9c8dc; border-radius:7px; color:#203255; }
.timeline-period-numbers { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin:16px 0; }
.timeline-period-stat { border-top:4px solid var(--posture-color); padding:12px; min-width:0; background:var(--posture-tint); border-radius:8px; }
.timeline-period-stat span { display:block; font-size:.76rem; color:#4b5d76; margin-bottom:6px; }
.timeline-period-stat strong { display:block; font-size:1.18rem; color:#203255; }
@media(max-width:600px){.timeline-selected-period{padding:14px}.timeline-period-numbers{gap:7px}.timeline-period-stat{padding:9px 7px}.timeline-period-stat strong{font-size:.9rem}.timeline-period-stat span{font-size:.7rem;min-height:32px}}
.agenda-card { background:#f7f9fd; border:1px solid #e7edf5; border-radius:10px; }
.agenda-card h3 { color:#2b456f; }
.agenda-card p { color:#5b6d88; }
.reading-detail { border-color:#e3e8f1; }
details > summary { color:#31508c; }
.chart-reading-modes { background:#f2f5fc; }
.chart-reading-modes button { color:#5b6d88; }
.chart-reading-modes button[aria-pressed="true"] { color:#294dbe; border-color:#afc2f4; }
.chart-data thead { background:#f1f4fa; }
.chart-data th,.chart-data td { border-color:#e7edf5; }
.chart-data > summary { color:#31508c; }
.chart-toggle-button { background:#f2f5fc; color:#31508c; border-color:#dde5f5; }
.evidence-links { border-left:3px solid #315ee8; padding:4px 0 8px 20px; margin:0 0 26px; }
.evidence-links h2 { font-size:1.25rem; margin:0 0 10px; }
.evidence-links p { color:#5b6d88; font-size:.87rem; line-height:1.6; }
.evidence-links a { display:inline-block; margin:0 20px 6px 0; min-height:44px; padding-top:12px; font-size:.85rem; font-weight:650; }
.news-collection-note { background:#fff9ec; border:1px solid #eee2c6; padding:24px; border-radius:12px; margin-bottom:22px; }
.news-collection-note h2 { color:#5f471d; font-size:1.25rem; margin:12px 0; }
.news-collection-note p { color:#74603f; font-size:.87rem; line-height:1.65; }
.reader-table { width:100%; border-collapse:collapse; font-size:.83rem; }
.reader-table caption { text-align:left; color:#74603f; padding:12px 0; }
.reader-table th,.reader-table td { padding:12px; text-align:left; border-bottom:1px solid #e9dec4; }
.context-split { display:grid; grid-template-columns:1fr; gap:28px; }
.context-split article { min-width:0; }
.context-split article + article { padding-top:22px; border-top:1px solid #e4eaf3; }
.context-split h3 { margin:0 0 6px; font-size:1rem; }
.context-split .chart-shell { height:280px; }
.filter-dialog-head { background:#f0f4fc; border-color:#dfe7f4; }
.filter-dialog-head h2 { color:#29436d; }
.filter-dialog::backdrop { background:#17264088; }
.button-secondary,.platform-chip { color:#375485; border-color:#dce4f2; }
.button-primary,.platform-chip.active { background:#315ee8; color:#fff; border-color:#315ee8; }
.button-primary:hover,.platform-chip.active:hover { background:#2449b9; color:#fff; }
@media(max-width:1000px) {
  .page-shell { width:calc(100% - 40px); }
  .app-header { grid-template-columns:1fr; gap:10px; }
  .header-summary { display:flex; gap:12px; flex-wrap:wrap; align-items:center; }
  .header-automation-row { margin:0; }
  .reader-insights { grid-template-columns:1fr; gap:14px; }
  .reader-insight { padding:22px; }
  .reader-insight h3 { margin-top:10px; }
}
@media(max-width:760px) {
  .page-shell { width:calc(100% - 28px); padding-top:14px; }
  .app-header { padding:8px 0 18px; gap:12px; }
  .app-header .hero-copy h1 { font-size:1.25rem; }
  .app-header .hero-copy p { font-size:.78rem; }
  .header-summary { gap:8px; }
  .header-status-row,.app-header .header-status-row { font-size:.67rem; }
  .header-actions { display:none; }
  .header-automation-row { font-size:.67rem; padding:6px 8px; }
  .persistent-filter-tools { border:1px solid #e2e8f3; border-radius:8px; padding:8px; }
  .tabs-nav { border-top:1px solid #dce4f3; border-bottom:0; border-radius:0; }
  .tabs-nav .tab-button.active { box-shadow:inset 0 3px #315ee8; border-radius:5px; }
  .depth-navigation { gap:7px; margin-bottom:24px; }
  .depth-navigation button { flex-direction:column; align-items:start; padding:12px 9px; gap:9px; min-height:100px; }
  .depth-navigation strong { font-size:.73rem; }
  .depth-navigation small { font-size:.63rem; line-height:1.35; }
  .depth-number { width:23px; height:23px; font-size:.63rem; }
  .reader-welcome { padding-bottom:24px; }
  .reader-welcome h2 { font-size:2rem; }
  .reader-welcome p { font-size:.86rem; }
  .reader-insight h3 { font-size:1.2rem; }
  .reader-next { flex-direction:column; align-items:stretch; gap:16px; }
  .reader-primary { width:100%; }
  .panel { padding:19px; }
  .news-collection-note { padding:20px; }
  .context-split .chart-shell { height:250px; min-height:250px; }
}

.reader-design .app-header .header-actions a { color:#294dbe; background:transparent; }
.reader-design .app-header .header-actions a:hover { color:#183587; background:#eef2ff; }


/* Section changes should be immediate, including keyboard and repeated taps. */
html { scroll-behavior:auto; }

.reader-design .tabs-nav .tab-button span,.reader-design .tabs-nav .tab-button small { color:inherit; }
.reader-design .tabs-nav .tab-button.active span,.reader-design .tabs-nav .tab-button.active small { color:#294dbe; }

html { scroll-padding-top:0; }
.depth-navigation { scroll-margin-top:145px; }
@media(max-width:760px) { .depth-navigation { scroll-margin-top:84px; } }

.reader-source-reading { padding:24px; margin-top:24px; border:1px solid #e0e7f2; border-radius:14px; background:#fff; }
.reader-source-reading h3 { margin:0 0 8px; color:#203255; font-size:1.15rem; }
.reader-source-reading p,.diagnostic-reading p { color:#52647d; line-height:1.65; font-size:.86rem; }
.reader-validation { padding:14px 16px; border-left:3px solid #b27c26; background:#fffaf0; margin:20px 0 0; }
.diagnostic-reading { margin-top:16px; }
.diagnostic-reading > p { padding:0 20px; }
.diagnostic-examples { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; padding:0 20px; }
.diagnostic-examples article { padding:20px; border:1px solid #e2e8f2; border-radius:10px; min-width:0; }
.diagnostic-examples strong { font-size:.77rem; color:#415a7c; }
.diagnostic-examples blockquote { margin:14px 0; font-size:.9rem; line-height:1.7; overflow-wrap:anywhere; color:#203255; }
.diagnostic-examples a { display:inline-flex; align-items:center; min-height:44px; font-size:.8rem; }
#topic-evidence-table .reader-table th { white-space:normal; }
@media(max-width:760px) {
  .reader-source-reading { padding:18px; }
  .reader-source-reading .reader-table { min-width:0; font-size:.74rem; }
  .reader-source-reading .reader-table th,.reader-source-reading .reader-table td { padding:10px 6px; }
  .diagnostic-examples { grid-template-columns:1fr; padding:0 14px; }
}

/* Consistent interface colors: blue actions; semantic colors only express a posture. */
.reader-design .tag { color:var(--brand-forest); background:#eef2ff; }
.reader-design .stance-pill.favorable { color:var(--semantic-positive-dark); background:var(--semantic-positive-soft); }
.reader-design .stance-pill.neutral { color:var(--semantic-neutral-dark); background:var(--semantic-neutral-soft); }
.reader-design .stance-pill.critica { color:var(--semantic-critical-dark); background:var(--semantic-critical-soft); }
.reader-design .reader-table caption { color:var(--brand-muted); }
.reader-design .platform-bar,.reader-design .topic-sentiment-bar { background:#edf1f7; }
.reader-design .topic-sentiment-bar > span + span,.reader-design .reaction-bar + .reaction-bar { box-shadow:inset 1px 0 #fff; }
.reader-design :focus-visible { outline:3px solid var(--brand-forest); outline-offset:3px; }
.timeline-period-caption { margin:10px 0 0; font-size:.85rem; color:var(--brand-text); overflow-wrap:anywhere; }
.timeline-period-context { color:#203255; margin:0 0 18px; overflow-wrap:anywhere; }
.timeline-period-context:empty { display:none; }
.timeline-period-context h3 { font-size:1rem; margin:18px 0 8px; }
.timeline-period-context p { font-size:.8rem; line-height:1.6; margin:6px 0 12px; color:#405574; }
.timeline-period-context ol { margin:0; padding-left:22px; }
.timeline-period-context li { padding:10px 0; font-size:.9rem; line-height:1.5; border-top:1px solid #dce4ef; }
.timeline-period-context a { color:#244da5; text-decoration:underline; text-underline-offset:3px; }
.timeline-period-context a:focus-visible { outline:3px solid #315ee8; outline-offset:3px; }
.timeline-period-context small { display:block; margin-top:5px; color:#405574; font-size:.76rem; }
.chart-context-tooltip { position:fixed; z-index:1500; box-sizing:border-box; width:max-content; max-width:min(390px,calc(100vw - 24px)); max-height:calc(100dvh - 24px); padding:16px 18px; border:1px solid #415371; border-radius:12px; background:#17243d; color:#fff; box-shadow:0 8px 30px #17243d35; pointer-events:none; overflow:auto; font:14px/1.45 system-ui,sans-serif; overflow-wrap:anywhere; }
.chart-context-tooltip[hidden] { display:none; }
.chart-context-tooltip strong { display:block; font-size:14px; line-height:1.45; color:#fff; margin-bottom:8px; }
.chart-context-tooltip p { color:#fff; font-size:13px; line-height:1.45; margin:3px 0; white-space:pre-line; }
.chart-context-tooltip .chart-context-tooltip-detail { border-top:1px solid #52637e; padding-top:10px; margin-top:10px; }
@media(max-width:480px){.chart-context-tooltip{max-width:calc(100vw - 24px);padding:12px 14px}.chart-context-tooltip p{font-size:12px}}
.source-selection-detail { margin:20px 0; border:1px solid var(--brand-line); border-radius:10px; padding:14px 18px; background:white; }
.source-selection-detail > summary { cursor:pointer; font-weight:650; }
.source-selection-detail p { font-size:.88rem; line-height:1.6; color:var(--brand-muted); }
.source-selection-detail .button-secondary { margin-top:12px; }

.reader-scope-controls { padding:18px; margin:16px 0; border:1px solid var(--brand-line); border-radius:12px; background:#fff; }
.reader-scope-controls > summary { color:var(--brand-text); font-size:.9rem; }
.reader-scope-buttons { display:flex; flex-wrap:wrap; gap:8px; margin:12px 0; }
.reader-scope-buttons button { width:auto; flex:1; min-width:125px; min-height:44px; padding:10px; border:1px solid #ccd7ea; border-radius:8px; color:#334b78; background:#fff; font-size:.84rem; }
.reader-scope-buttons button[aria-pressed="true"] { border-color:#294dbe; color:#2445a5; background:#edf2ff; box-shadow:inset 0 0 0 1px #294dbe; }
.reader-scope-controls .scope-description { margin:0; color:#4b5d76; font-size:.86rem; line-height:1.5; }
body[data-active-tab="news-panel"] .reader-scope-controls { display:none; }
.comment-attribution,.comment-context p { color:#4b5d76; font-size:.85rem; line-height:1.5; }
.comment-context { padding:12px 0; border-top:1px solid var(--brand-line); }
.comment-context blockquote { margin:12px 0; padding:12px 16px; background:#f5f7fc; border-left:3px solid #9aafea; color:var(--brand-text); white-space:pre-wrap; overflow-wrap:anywhere; }
@media(max-width:600px){.reader-scope-buttons{display:grid;grid-template-columns:1fr}.reader-scope-buttons button{width:100%;font-size:.85rem}.reader-scope-controls{padding:14px}}

/* A single navigation and a visual, compact home. */
.reader-design .page-shell { width:min(1180px,calc(100% - 48px)); padding-top:18px; }
.reader-design .app-header { min-height:0; padding:0 0 18px; gap:20px; align-items:center; }
.reader-design .app-header .hero-copy h1 { font-size:1.15rem; letter-spacing:-.02em; margin:4px 0; }
.reader-design .app-header .hero-copy > p,.reader-design .header-actions,.reader-design .header-subject { display:none; }
.reader-design .app-header .eyebrow { font-size:.65rem; color:#455580; }
.reader-design .header-status-row { font-size:.7rem; color:#506079; }
.reader-design .tabs-nav { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:6px; padding:8px; border:0; border-radius:14px; background:#17243d; position:sticky; top:8px; z-index:90; margin:0 0 28px; }
.reader-design .tabs-nav .tab-button { display:flex; flex-direction:row; align-items:center; justify-content:center; gap:10px; padding:12px 10px; min-height:48px; border-radius:8px; background:transparent; color:#dfe7f6; font-size:.88rem; box-shadow:none; border:0; }
.reader-design .tabs-nav .tab-button svg { width:21px; height:21px; flex-shrink:0; }
.reader-design .tabs-nav .tab-button small { display:none; }
.reader-design .tabs-nav .tab-button.active { background:#4669ec; color:#fff; box-shadow:none; }
.reader-design .tabs-nav .tab-button.active span { color:#fff; }
.reader-design .tabs-nav .tab-button:hover:not(.active) { background:#2b3d5f; color:#fff; }
.reader-design .tabs-nav .tab-button-admin { display:none; }
.reader-design .depth-navigation,.reader-design .chart-toggle-button,.reader-design #toggle-chart-density { display:none; }
.reader-design .persistent-filter-tools { position:static; border:1px solid #dce4ef; border-radius:10px; margin:0 0 18px; padding:10px; }
.reader-design[data-active-tab="dashboard-panel"] .persistent-filter-tools,
.reader-design[data-active-tab="quality-panel"] .persistent-filter-tools,
.reader-design[data-active-tab="dashboard-panel"] .reading-intro,
.reader-design[data-active-tab="quality-panel"] .reading-intro { display:none; }
.reader-design .reading-intro > div > p:not(.applied-period) { display:none; }
.reader-design .reading-intro h2 { font-size:1.45rem; margin:0 0 8px; }
.reader-design .reader-welcome { max-width:none; padding:0 0 22px; }
.reader-design .reader-welcome .reader-kicker { display:none; }
.reader-design .reader-welcome h2 { margin:0 0 8px; font-size:clamp(1.65rem,3vw,2.3rem); letter-spacing:-.04em; }
.reader-design .reader-welcome p { font-size:.86rem; line-height:1.45; }
.reader-design .reader-insights { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(290px,1fr); gap:22px; }
.home-opinion,.home-topic-card,.home-source-card { background:#fff; border:1px solid #e0e7f0; border-radius:18px; padding:26px; min-width:0; }
.home-opinion h3,.home-topic-card h3,.home-source-card h3 { color:#17243d; font-size:1.08rem; line-height:1.3; margin:0 0 18px; }
.home-opinion-visual { display:flex; flex-direction:column; align-items:center; gap:24px; }
.home-donut { width:220px; height:220px; border-radius:50%; background:conic-gradient(var(--semantic-critical) 0 var(--critical-stop),var(--semantic-positive) var(--critical-stop) var(--favorable-stop),var(--semantic-neutral) var(--favorable-stop) 100%); display:grid; place-items:center; }
.home-donut.empty { background:#e5eaf2; }
.home-donut-center { width:162px; height:162px; border-radius:50%; background:#fff; display:flex; align-items:center; justify-content:center; flex-direction:column; }
.home-donut-center strong { font-size:2.5rem; line-height:1.2; letter-spacing:-.06em; color:#17243d; }
.home-donut-center span { color:#526078; font-size:.78rem; }
.home-shares { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); width:100%; gap:10px; }
.home-share { display:flex; align-items:flex-start; flex-direction:column; border:0; border-top:4px solid var(--semantic-neutral); border-radius:8px; padding:12px; background:var(--semantic-neutral-soft); color:#263652; text-align:left; min-height:105px; }
.home-share[data-tone="critical"] { background:var(--semantic-critical-soft); border-color:var(--semantic-critical); }
.home-share[data-tone="positive"] { background:var(--semantic-positive-soft); border-color:var(--semantic-positive); }
.home-share:hover { box-shadow:0 0 0 2px #9cacd0; }
.home-share-name { font-size:.74rem; line-height:1.3; }
.home-share strong { font-size:1.5rem; margin:7px 0 4px; color:#17243d; }
.home-share small { font-size:.65rem; line-height:1.3; color:#465571; }
.home-scope { text-align:center; color:#53637a; font-size:.75rem; margin:18px 0; }
.home-explore { display:block; width:100%; min-height:46px; padding:10px; background:#edf1ff; color:#284cc0; border:0; border-radius:9px; font-size:.83rem; font-weight:650; }
.home-signals { display:grid; gap:18px; }
.home-topic-card { background:#eef3ff; border-color:#dce5fc; }
.home-topic-card h3 { margin-bottom:5px; }
.home-topic-card > p { color:#4d607e; font-size:.73rem; margin:0 0 18px; }
.home-topic-row { position:relative; display:flex; justify-content:space-between; gap:10px; width:100%; min-height:45px; background:transparent; border:0; border-radius:0; border-bottom:5px solid #dbe4f8; padding:10px 0 12px; text-align:left; color:#243754; font-size:.8rem; margin-bottom:12px; }
.home-topic-row i { position:absolute; height:5px; bottom:-5px; left:0; background:#536ce5; border-radius:6px; }
.home-source-card { background:#fff8e9; border-color:#f0e0be; }
.home-source-card h3 { margin-bottom:10px; }
.home-source-number { font-size:2.1rem; line-height:1.2; color:#62460f; letter-spacing:-.04em; }
.home-source-card > p { margin:5px 0; font-size:.77rem; line-height:1.4; color:#635437; }
.home-source-bar { height:8px; border-radius:8px; background:#ece1c9; overflow:hidden; margin:12px 0; }
.home-source-bar i { display:block; height:100%; background:#c89432; }
.home-source-card > .home-source-note { font-size:.73rem; margin:10px 0; }
.home-source-card button { padding:5px 0; min-height:40px; background:none; border:0; color:#715214; font-size:.78rem; font-weight:650; }
.home-method-note { margin:18px 0 6px; color:#53627b; font-size:.76rem; text-align:center; }
.home-filter-note { display:flex; align-items:center; gap:12px; margin:0 0 18px; padding:10px 14px; border-radius:8px; background:#fff2ce; color:#5c4517; font-size:.8rem; }
.home-filter-note[hidden] { display:none; }
.home-filter-note button { min-height:40px; color:#2447ab; border:0; background:#fff; border-radius:6px; padding:8px 14px; }
.reader-design .platform-shortcuts,.reader-design .internal-analysis-filter { display:none !important; }
.reader-design .filter-dialog .filters-card .section-heading p { display:none; }
.reader-design[data-active-tab="news-panel"] .filter-dialog label:has(#analysis_scope,#platform,#account_name,#stance,#relation_to_juvenal,#requires_review,#confidence) { display:none; }
#analysis-panel > .reading-detail { width:100%; margin-top:18px; }
#analysis-panel .dashboard-order-social-charts { margin-top:0; }
@media(max-width:760px){
  .reader-design .page-shell { width:calc(100% - 28px); padding-top:14px; padding-bottom:100px; }
  .reader-design .app-header { display:block; padding-bottom:16px; }
  .reader-design .header-summary { margin-top:8px; }
  .reader-design .header-status-row { font-size:.62rem; }
  .reader-design .tabs-nav { position:fixed; top:auto; bottom:0; left:0; right:0; width:100%; border-radius:0; margin:0; padding:7px 5px max(7px,env(safe-area-inset-bottom)); gap:3px; z-index:100; }
  .reader-design .tabs-nav .tab-button { flex-direction:column; gap:4px; min-height:55px; padding:6px 2px; font-size:.61rem; border-radius:7px; }
  .reader-design .tabs-nav .tab-button svg { width:20px; height:20px; }
  .reader-design .reader-insights { grid-template-columns:1fr; gap:16px; }
  .reader-design .reader-welcome { padding-bottom:16px; }
  .reader-design .reader-welcome h2 { font-size:1.65rem; }
  .home-opinion,.home-topic-card,.home-source-card { padding:20px; border-radius:14px; }
  .home-opinion-visual { gap:16px; }
  .home-donut { width:180px; height:180px; }
  .home-donut-center { width:130px; height:130px; }
  .home-donut-center strong { font-size:2.1rem; }
  .home-share { min-height:95px; padding:10px 8px; }
  .home-share-name { font-size:.66rem; }
  .home-share strong { font-size:1.3rem; }
  .home-share small { font-size:.68rem; }
  .home-signals { gap:16px; }
}

/* Executive brief: one date window, comparable bases, evidence on demand. */
.reader-design .executive-home .reader-welcome { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:8px 0 0; }
.reader-design .executive-home .reader-welcome h2 { font-size:clamp(1.5rem,2.8vw,2.15rem); letter-spacing:-.045em; margin:9px 0 8px; }
.reader-design .executive-home .reader-welcome p { margin:0; color:#53637a; }
.brief-kicker { display:block; font-size:.63rem; font-weight:750; letter-spacing:.13em; line-height:1.4; color:#4962a1; }
.brief-period { flex:0 0 230px; color:#435471; font-size:.72rem; display:grid; gap:7px; }
.brief-period select { min-height:46px; padding:10px 14px; border:1px solid #b9c8e2; border-radius:10px; background:#fff; color:#243b68; width:100%; font:650 .83rem system-ui,sans-serif; }
.brief-body { display:grid; gap:20px; }
.brief-range { margin:12px 0 0; font-size:.75rem; color:#53637a; }
.brief-card { min-width:0; padding:24px; border:1px solid #dfe6f0; border-radius:16px; background:#fff; box-shadow:0 3px 12px #20345304; }
.brief-card h3 { font-size:1.1rem; letter-spacing:-.025em; color:#17243d; margin:7px 0 14px; line-height:1.35; }
.brief-caption { font-size:.73rem; color:#53637a; line-height:1.5; margin:8px 0 14px; }
.brief-link { background:transparent; border:0; padding:8px 0; min-height:40px; width:auto; color:#2f50b6; font-size:.76rem; font-weight:650; text-decoration:none; cursor:pointer; }
.brief-link:hover { text-decoration:underline; text-underline-offset:3px; }
.brief-balance { display:grid; grid-template-columns:1fr 1.65fr; column-gap:32px; align-items:center; background:linear-gradient(105deg,#f0f4ff 0,#fff 47%); border-color:#d3def6; }
.brief-balance > .brief-kicker,.brief-balance > h3,.brief-balance > .brief-base { grid-column:1; }
.brief-balance h3 { margin-bottom:5px; }
.brief-base { display:flex; align-items:center; gap:12px; margin:5px 0 18px; }
.brief-base strong { font-size:2.6rem; color:#243d73; letter-spacing:-.06em; line-height:1.1; }
.brief-base span { font-size:.72rem; line-height:1.5; color:#465976; max-width:160px; }
.brief-stat-grid { grid-column:2; grid-row:1/4; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.brief-stat { min-width:0; padding:14px 12px; display:flex; flex-direction:column; gap:6px; text-align:left; border:1px solid transparent; border-radius:10px; min-height:111px; cursor:pointer; }
.brief-stat.critical { background:var(--semantic-critical-soft); border-top:3px solid var(--semantic-critical); }
.brief-stat.neutral { background:var(--semantic-neutral-soft); border-top:3px solid var(--semantic-neutral); }
.brief-stat.favorable { background:var(--semantic-positive-soft); border-top:3px solid var(--semantic-positive); }
.brief-stat span { font-size:.73rem; color:#3c4d69; }
.brief-stat strong { font-size:1.8rem; letter-spacing:-.055em; line-height:1.2; color:#17243d; }
.brief-stat small { color:#425571; font-size:.69rem; }
.brief-stat:hover,.brief-topic:hover,.brief-platform:hover { border-color:#7795d4; box-shadow:0 0 0 1px #7795d4; }
.brief-stack { display:flex; overflow:hidden; width:100%; height:10px; background:#edf1f7; border-radius:4px; }
.brief-segment { display:block; flex-shrink:0; min-width:0; }
.brief-segment + .brief-segment { box-shadow:inset 1px 0 #fff; }
.brief-segment.critical { background:var(--semantic-critical); }
.brief-segment.neutral { background:var(--semantic-neutral); }
.brief-segment.favorable { background:var(--semantic-positive); }
.brief-balance > .brief-stack { grid-column:1/-1; height:9px; }
.brief-source-note { grid-column:1/-1; display:flex; align-items:center; gap:9px; margin-top:10px; color:#5f4b26; font-size:.71rem; line-height:1.5; }
.brief-source-note .brief-link { margin-left:auto; flex-shrink:0; padding:4px 0; }
.brief-source-dot { width:8px; height:8px; background:#ac7e26; border-radius:50%; flex-shrink:0; }
.brief-main-grid { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,1fr); gap:20px; }
.brief-weeks { display:flex; gap:8px; overflow-x:auto; padding:6px 2px 3px; min-height:190px; }
.brief-week { flex:1; min-width:45px; padding:5px 4px; border:1px solid transparent; border-radius:8px; background:#fff; color:#374b6d; cursor:pointer; display:flex; flex-direction:column; align-items:center; }
.brief-week[aria-pressed="true"] { background:#eff3ff; border-color:#a6b9ea; }
.brief-week:hover { background:#f0f4ff; }
.brief-week-total { font-size:.76rem; font-weight:700; min-height:24px; }
.brief-week-plot { display:flex; align-items:flex-end; justify-content:center; height:125px; width:100%; background:repeating-linear-gradient(to top,#e5ebf5 0,#e5ebf5 1px,transparent 1px,transparent 41px); }
.brief-week-column { display:flex; flex-direction:column-reverse; width:65%; max-width:50px; min-height:1px; border-radius:5px 5px 0 0; overflow:hidden; }
.brief-week-column .brief-segment { width:100%; box-shadow:inset 0 1px white; }
.brief-week-label { font-size:.63rem; color:#4e617e; padding-top:8px; white-space:nowrap; }
.brief-week-duration { font-size:.6rem; line-height:1.35; color:#4e617e; padding-top:4px; min-height:2.7em; }
.brief-weeks-many { gap:4px; }
.brief-weeks-many .brief-week { flex:0 0 49px; }
.brief-week-detail { background:#f4f7fc; padding:12px 14px; border-radius:9px; margin-top:12px; font-size:.78rem; color:#243858; }
.brief-week-detail > strong { display:block; margin-bottom:9px; }
.brief-week-shares { display:flex; gap:8px 14px; flex-wrap:wrap; font-size:.68rem; }
.brief-week-shares .critical,.brief-platform-shares .critical { color:#862d43; }
.brief-week-shares .neutral,.brief-platform-shares .neutral { color:#735116; }
.brief-week-shares .favorable,.brief-platform-shares .favorable { color:#126450; }
.brief-coverage { margin:12px 0 0; font-size:.68rem; }
.brief-topic { display:block; width:100%; text-align:left; padding:11px 8px; border:1px solid transparent; background:#fff; border-radius:8px; cursor:pointer; }
.brief-topic-head { display:flex; justify-content:space-between; align-items:center; gap:12px; font-size:.8rem; color:#283c5d; margin-bottom:8px; font-weight:650; }
.brief-topic-head > span { white-space:nowrap; font-size:.73rem; color:#516480; }
.brief-topic small { display:block; font-size:.65rem; margin-top:6px; color:#53637a; }
.brief-platform-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.brief-platform { padding:16px; border:1px solid #e0e7f1; border-radius:10px; background:#fafbfe; text-align:left; cursor:pointer; min-width:0; }
.brief-platform .brief-topic-head { flex-wrap:wrap; gap:3px; }
.brief-platform-shares { display:flex; flex-wrap:wrap; gap:6px 12px; margin-top:10px; font-size:.68rem; }
.brief-platforms > .brief-caption { margin-bottom:0; }
.brief-quotes { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.brief-quote { padding:18px; min-width:0; background:#f5f7fc; border-radius:10px; border:1px solid #e3e9f3; }
.brief-request-count { display:block; font-size:1.2rem; color:#2d4da2; margin-top:6px; }
.brief-quote blockquote { margin:14px 0 8px; padding:0 0 0 12px; border-left:3px solid #9bb2e5; color:#344765; font-size:.79rem; line-height:1.55; overflow-wrap:anywhere; }
.brief-quote > blockquote { display:-webkit-box; -webkit-line-clamp:4; -webkit-box-orient:vertical; overflow:hidden; }
.brief-quote > small { display:block; font-size:.67rem; color:#53637a; }
.brief-quote-details { margin-top:10px; font-size:.75rem; }
.brief-quote-details summary { cursor:pointer; min-height:40px; padding-top:8px; }
.brief-footer { display:flex; justify-content:space-between; align-items:center; gap:20px; color:#53637a; font-size:.72rem; }
.brief-footer p { margin:0; max-width:750px; line-height:1.5; }
.brief-footer .brief-link { flex-shrink:0; }
.brief-loading .brief-body { opacity:.55; pointer-events:none; }
.press-card { padding:22px !important; }
.press-meta { display:flex; gap:16px; justify-content:space-between; color:#53637a; font-size:.74rem; margin-bottom:12px; }
.press-meta > span { font-weight:700; color:#36538d; }
.press-meta time { flex-shrink:0; }
.press-card h3 { font-size:1.02rem; line-height:1.5; margin:0 0 12px; }
.press-card h3 a { color:#203958; text-decoration:none; }
.press-card h3 a:hover { text-decoration:underline; }
.press-topic { font-size:.69rem; padding:4px 8px; background:#edf2fc; color:#3f598b; border-radius:5px; }
.press-links { margin-top:12px; font-size:.75rem; color:#53637a; }
.press-links summary { cursor:pointer; min-height:40px; padding:8px 0; }
#news-items-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
#news-panel > .reading-detail { margin-top:18px; }
.reader-design #analysis-panel .timeline-period-caption { display:none; }
.reader-design #analysis-panel .timeline-period-context > ol { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; list-style:none; padding:0; }
.reader-design #analysis-panel .timeline-period-context li { padding:14px; border:1px solid #e0e7f2; border-radius:9px; background:#f7f9fc; }
.reader-design #analysis-panel .timeline-period-context li a { display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; font-size:.8rem; }
.reader-design #analysis-panel .timeline-period-context p { font-size:.76rem; }
.reader-design #analysis-panel .timeline-selected-period { margin-top:16px; }
@media(max-width:960px){
  .brief-balance { grid-template-columns:1fr 1.5fr; column-gap:18px; }
  .brief-platform-grid { gap:10px; }
  .brief-stat strong { font-size:1.5rem; }
  .brief-main-grid { grid-template-columns:1fr 1fr; }
  .brief-card { padding:20px; }
}
@media(max-width:760px){
  .reader-design .executive-home .reader-welcome { display:block; }
  .reader-design .executive-home .reader-welcome h2 { font-size:1.55rem; line-height:1.15; }
  .brief-period { display:flex; align-items:center; gap:12px; margin-top:15px; font-size:.67rem; }
  .brief-period select { flex:1; width:auto; font-size:.76rem; min-width:0; }
  .brief-body { gap:14px; }
  .brief-range { font-size:.68rem; margin-top:8px; }
  .brief-balance { display:block; }
  .brief-base { margin:12px 0 18px; }
  .brief-base strong { font-size:2.3rem; }
  .brief-base span { max-width:190px; }
  .brief-stat-grid { gap:7px; margin-bottom:14px; }
  .brief-stat { padding:10px 8px; min-height:104px; }
  .brief-stat span { font-size:.66rem; min-height:27px; }
  .brief-stat strong { font-size:1.4rem; }
  .brief-stat small { font-size:.62rem; }
  .brief-source-note { flex-wrap:wrap; gap:8px; font-size:.67rem; }
  .brief-source-note > span:nth-child(2) { flex:1; }
  .brief-source-note .brief-link { width:100%; text-align:left; margin:0 0 -8px 16px; font-size:.69rem; }
  .brief-main-grid,.brief-platform-grid,.brief-quotes { grid-template-columns:1fr; gap:14px; }
  .brief-card { padding:18px; border-radius:13px; }
  .brief-card h3 { font-size:1.04rem; }
  .brief-caption { font-size:.72rem; }
  .brief-platform .brief-topic-head { flex-wrap:nowrap; }
  .brief-week-label { font-size:.62rem; }
  .brief-weeks { gap:3px; }
  .brief-week { min-width:43px; padding:5px 3px; }
  .brief-topic { padding:12px 0; }
  .brief-topic-head { font-size:.79rem; }
  .brief-topic small { font-size:.67rem; }
  .brief-footer { display:block; padding:0 5px; }
  #news-items-list { grid-template-columns:1fr; }
  .reader-design #analysis-panel .timeline-period-context > ol { grid-template-columns:1fr; }
  .reader-design #analysis-panel .timeline-period-context li { padding:12px; }
}
