:root {
  --paper: #fafaf8;
  --white: #fff;
  --ink: #222a22;
  --muted: #5c675a;
  --subtle: #687364;
  --line: #dce2d6;
  --green: #315b36;
  --green-bg: #edf3e8;
  --orange: #815222;
  --orange-bg: #fbf0df;
  --font: 'DM Sans', sans-serif;
  --heading: 'Manrope', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; color: inherit; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
button, summary { cursor: pointer; }
button:disabled { cursor: default; }
a { color: inherit; }
a, button, input, select, summary { outline-offset: 4px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid var(--green); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--heading); font-weight: 700; }
svg { flex-shrink: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -70px; left: 20px; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 6px; z-index: 100; }
.skip-link:focus { top: 12px; }

/* Navigation stays visible while moving through long lists and charts. */
.site-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner { max-width: 1280px; margin: auto; min-height: 72px; padding: 10px 32px; display: flex; align-items: center; gap: 25px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; line-height: 1.25; font-family: var(--heading); font-size: 19px; letter-spacing: -.5px; font-weight: 800; white-space: nowrap; }
.brand-subtitle { display: block; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600; margin-top: 3px; color: var(--muted); }
.brand-mark { width: 27px; height: 28px; display: grid; grid-template-columns: repeat(2,12px); gap: 3px; transform: rotate(-6deg); }
.brand-mark i { border-radius: 2px; background: var(--ink); }
.brand-mark i:nth-child(2) { background: #8ca580; }
.brand-mark i:nth-child(3) { background: #c2ceb9; }
#main-nav { display: flex; align-items: center; gap: 5px; margin-left: auto; }
#main-nav a { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 10px 12px; font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: none; border-radius: 7px; white-space: nowrap; }
#main-nav a:hover { background: #f0f3ec; color: var(--green); }
#main-nav a.active { background: var(--green-bg); color: #284e2d; box-shadow: inset 0 -3px 0 var(--green); }
.nav-count { background: #e5eadf; color: #4c6143; padding: 1px 5px; border-radius: 4px; font-size: 11px; line-height: 1.4; }
.export-button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 13px; font-size: 13px; font-weight: 600; border: 1px solid #cdd7c6; border-radius: 7px; background: var(--white); white-space: nowrap; }
.export-button:hover { background: var(--green-bg); border-color: #afc1a5; }
.export-button svg { width: 16px; height: 16px; }
.menu-toggle { display: none; }
.icon-button { border: 0; background: none; }
.page-shell { max-width: 1168px; padding: 0 40px; margin: auto; }
.research-status { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 8px 0; font-size: 12px; color: var(--muted); border-bottom: 1px solid var(--line); }
.snapshot-status { display: flex; align-items: center; gap: 8px; min-width: 0; }
.snapshot-status i { display: block; width: 7px; height: 7px; background: #628454; border-radius: 50%; flex-shrink: 0; }
.snapshot-status.retained i { background: #aa7937; }
#schedule-status { text-align: right; color: var(--muted); }

/* Page introductions and clear paths into the research. */
.intro { padding: 19px 0 18px; max-width: 1040px; }
.eyebrow { font-size: 12px; font-weight: 650; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); display: block; }
.intro .eyebrow { margin-bottom: 7px; }
h1 { font-size: clamp(30px,3.2vw,38px); letter-spacing: -1.1px; line-height: 1.15; font-weight: 750; }
h1 > span { color: var(--muted); }
.intro > p { font-size: 15px; line-height: 1.6; color: var(--muted); max-width: 960px; margin-top: 7px; }
.hero-links { display: flex; gap: 16px 24px; flex-wrap: wrap; align-items: center; margin-top: 25px; }
.primary-link { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 46px; background: var(--green); border: 1px solid var(--green); color: white; text-decoration: none; padding: 11px 17px; border-radius: 7px; font-size: 14px; font-weight: 600; }
.primary-link:hover { background: #25482b; }
.primary-link > span { font-size: 18px; }
.quiet-link, .text-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 600; color: var(--green); text-decoration: underline; text-decoration-color: #acbca2; text-underline-offset: 4px; background: none; border: 0; padding: 7px 0; }
.quiet-link:hover, .text-link:hover { text-decoration-color: currentColor; }
.quick-nav { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin: 28px 0 36px; }
.quick-nav a { display: flex; flex-direction: column; gap: 5px; padding: 19px 21px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); text-decoration: none; }
.quick-nav a:hover { border-color: #a1b697; background: #f5f8f1; }
.quick-nav strong { font-size: 16px; font-weight: 650; color: var(--green); }
.quick-nav span { font-size: 14px; line-height: 1.6; color: var(--muted); }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.section-heading h2 { font-size: 26px; letter-spacing: -.7px; line-height: 1.35; margin-top: 6px; }
.section-heading p { font-size: 15px; color: var(--muted); margin-top: 8px; max-width: 700px; }
.section-heading > .quiet-link { flex-shrink: 0; align-self: flex-end; }
.platform-filter { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.filter-chip { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 14px; border: 1px solid #ccd7c5; border-radius: 7px; background: var(--white); font-size: 14px; line-height: 1.35; font-weight: 550; white-space: nowrap; transition: background .15s, border-color .15s; }
.filter-chip:hover { background: #f0f4eb; border-color: #9eb491; }
.filter-chip.active { background: var(--green); border-color: var(--green); color: white; }
.filter-chip.active:hover { background: #25482b; }
.filter-chip > span { font-size: 12px; opacity: .9; }
.platform-icon { width: 19px; height: 19px; display: inline-block; }
.filter-chip .platform-icon { width: 16px; height: 16px; }

/* Platform snapshots. */
.overview-evidence { padding-top: 0; }
.overview-evidence > .section-heading { margin-bottom: 12px; gap: 12px; }
.overview-evidence > .section-heading h2 { font-size: 20px; margin-top: 0; }
.overview-evidence > .metric-grid { margin-bottom: 12px; }
.metric-scroll-hint { display: none; }
.metric-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); background: var(--white); border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.metric-card { padding: 11px 16px 6px; min-width: 0; display: grid; grid-template-columns: minmax(0,1fr) auto; column-gap: 10px; align-content: start; }
.metric-grid .metric-card + .metric-card { border-left: 1px solid var(--line); }
.metric-top { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; grid-column: 1; grid-row: 1; }
.metric-top .platform-name { font-size: 14px; }
.metric-top .label { font-size: 11px; padding: 1px 5px; max-width: 100%; text-align: left; justify-content: flex-start; }
.platform-name { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 650; }
.label { font-size: 12px; display: inline-flex; align-items: center; justify-content: center; padding: 4px 8px; border-radius: 5px; color: #53624a; background: #f0f3eb; line-height: 1.5; }
.metric-value { font-family: var(--heading); font-size: 32px; letter-spacing: -1.1px; font-weight: 700; line-height: 1.2; font-variant-numeric: tabular-nums; grid-column: 2; grid-row: 1; align-self: center; }
.metric-value .suffix { font-size: 23px; letter-spacing: -.6px; }
.metric-value.unavailable { font-size: 23px; max-width: 140px; }
.metric-description { color: var(--muted); font-size: 13px; line-height: 1.5; margin-top: 5px; min-height: 39px; grid-column: 1/-1; }
.metric-footer { display: flex; flex-wrap: wrap; gap: 0 8px; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted); grid-column: 1/-1; }
.metric-footer button { border: 0; background: none; min-height: 44px; padding: 7px 0; font-size: 13px; font-weight: 550; color: var(--green); text-decoration: underline; text-decoration-color: #adbea4; text-underline-offset: 3px; white-space: nowrap; }
.metric-footer button:hover { text-decoration-color: currentColor; }
.metric-grid.single { grid-template-columns: 1fr; }
.metric-grid.single .metric-card { grid-template-columns: minmax(140px,1fr) auto minmax(200px,2fr); column-gap: 24px; align-items: center; }
.metric-grid.single .metric-top { grid-column: 1; }
.metric-grid.single .metric-footer { grid-column: 1/-1; }
.metric-grid.single .metric-description { grid-column: 3; grid-row: 1; margin-top: 0; min-height: 0; }
.context-note { font-size: 13px; color: var(--muted); line-height: 1.7; margin: 15px 0 25px; max-width: 920px; }

/* Charts retain readable axes and labels at narrow viewport widths. */
.chart-panel { border: 1px solid var(--line); background: var(--white); border-radius: 9px; overflow: hidden; }
.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 16px 22px 0; }
.panel-head .eyebrow { margin-bottom: 4px; }
.panel-head h2 { font-size: 21px; letter-spacing: -.5px; line-height: 1.35; }
.panel-subtitle { font-size: 13px; color: var(--muted); margin-top: 4px; line-height: 1.6; }
.panel-head > .label { margin-top: 5px; flex-shrink: 0; }
.chart-tabs { display: inline-flex; vertical-align: middle; gap: 3px; flex-wrap: wrap; padding: 3px; border: 1px solid var(--line); border-radius: 8px; background: #f3f5ef; margin: 11px 12px 4px 22px; width: fit-content; max-width: calc(100% - 44px); }
.chart-tabs button { border: 1px solid transparent; background: none; color: var(--muted); font-size: 13px; min-height: 44px; padding: 9px 13px; border-radius: 5px; font-weight: 550; }
.chart-tabs button:hover { color: var(--green); background: #eaf0e3; }
.chart-tabs button.active { background: var(--white); color: var(--green); border-color: #cad6c2; box-shadow: 0 1px 3px #1e2b1b0c; font-weight: 650; }
.chart-help { font-size: 13px; color: var(--muted); line-height: 1.7; padding: 8px 22px 0; }
.chart-wrap { padding: 6px 20px 0; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-color: #a5b49a #f1f4eb; scrollbar-width: thin; }
.chart-wrap svg { width: 100%; min-width: 680px; height: auto; display: block; }
.chart-wrap text { font-family: var(--font); font-size: 14px; fill: #52624a; }
.chart-wrap text.bar-value { font-family: var(--heading); font-size: 23px; fill: #2e4e2b; letter-spacing: -.4px; font-weight: 700; }
.chart-wrap .axis-label { font-size: 12px; fill: #5e6c56; }
.chart-wrap .grid-line { stroke: #dde5d7; stroke-dasharray: 3 5; }
.bar-point[role=button] { cursor: pointer; }
.bar-point[role=button]:hover rect, .bar-point[role=button]:focus rect { filter: brightness(.9); }
.bar-point:focus-visible { outline: 2px solid var(--green); }
.legend { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; color: var(--muted); margin: 16px 28px 23px; line-height: 1.7; }
.legend i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; background: #718f5e; flex-shrink: 0; margin-top: 6px; }
.legend i.purple { background: #9384ad; }
.chart-bottom { border-top: 1px solid var(--line); padding: 14px 28px; display: flex; align-items: center; justify-content: space-between; gap: 15px; font-size: 12px; color: var(--muted); background: #fafbf8; }
.chart-bottom > span { line-height: 1.7; }
.chart-bottom button { border: 0; background: none; font-size: 13px; min-height: 44px; padding: 6px 0; color: var(--green); font-weight: 550; white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; }
.count-chart { padding: 28px 28px 10px; display: grid; gap: 14px; }
.count-row { display: grid; grid-template-columns: 160px 1fr 65px; gap: 20px; align-items: center; width: 100%; min-height: 44px; border: 0; background: none; padding: 5px 0; text-align: left; }
.count-row:hover .count-track > span { background: #916a48; }
.count-label { font-size: 14px; color: #52624a; }
.count-track { display: block; height: 27px; background: #f5f0e9; border-radius: 4px; overflow: hidden; }
.count-track > span { display: block; height: 100%; min-width: 2px; border-radius: 4px; background: #ac8964; transition: background .15s; }
.count-row strong { font-size: 16px; font-family: var(--heading); font-weight: 650; text-align: right; font-variant-numeric: tabular-nums; }
.count-axis { display: flex; justify-content: space-between; gap: 20px; font-size: 12px; color: var(--muted); margin-top: 5px; }
.creator-chart { display: flex; align-items: center; justify-content: center; gap: 32px; padding: 16px 28px 0; }
.creator-chart svg { width: 300px; max-width: 50%; height: 250px; }
.creator-chart text { font-family: var(--font); fill: #6e637a; }
.creator-chart .donut-value { font-family: var(--heading); font-size: 34px; font-weight: 700; fill: #61556f; }
.creator-chart .donut-label { font-size: 13px; }
.creator-key { display: grid; gap: 24px; }
.creator-key p { position: relative; padding-left: 22px; }
.creator-key i { position: absolute; top: 7px; left: 0; width: 9px; height: 9px; border-radius: 2px; background: #9384ad; }
.creator-key p:nth-child(2) i { background: #e5dfeb; border: 1px solid #b8adc4; }
.creator-key strong { font-size: 15px; display: block; font-weight: 600; }
.creator-key span { display: block; color: var(--muted); font-size: 13px; margin-top: 5px; }
.page-section { margin-top: 54px; }


/* Shared zoom controls keep the plot sharp and contained at every scale. */
.graph-zoom { display: inline-flex; vertical-align: middle; align-items: center; gap: 6px; min-height: 44px; margin: 10px 22px 4px 0; font-size: 13px; color: var(--muted); }
.graph-zoom > span, .graph-zoom > label { margin-right: 3px; font-weight: 550; }
.graph-zoom button { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 7px 10px; border: 1px solid #cbd7c2; border-radius: 6px; background: var(--white); font-size: 16px; color: var(--green); }
.graph-zoom button:hover { background: var(--green-bg); border-color: #a8bd9b; }
.graph-zoom button:disabled { color: #87937e; background: #f4f6f0; border-color: var(--line); }
.graph-zoom output { min-width: 45px; font-size: 13px; font-weight: 600; color: var(--ink); text-align: center; font-variant-numeric: tabular-nums; }
.graph-zoom .graph-zoom-hint { display: none; }
.graph-zoom button:last-of-type { font-size: 13px; padding-inline: 12px; margin-left: 2px; }
.graph-viewport { width: 100%; max-height: 560px; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #8fa580 #f0f4e9; }
.graph-viewport:focus-visible { outline: 3px solid var(--green); outline-offset: -3px; }
.graph-canvas { width: var(--graph-width,100%); min-width: var(--graph-min-width,0px); max-width: none; }
.graph-canvas .chart-wrap { overflow: visible; }
.graph-canvas .chart-wrap svg { width: 100%; min-width: 0; }
.graph-canvas .count-chart { padding: 16px calc(24px * var(--graph-scale,1)) 8px; gap: calc(9px * var(--graph-scale,1)); }
.graph-canvas .count-row { grid-template-columns: calc(160px * var(--graph-scale,1)) minmax(0,1fr) calc(65px * var(--graph-scale,1)); gap: calc(18px * var(--graph-scale,1)); min-height: calc(44px * var(--graph-scale,1)); }
.graph-canvas .count-label { grid-column: auto; font-size: calc(14px * var(--graph-scale,1)); }
.graph-canvas .count-row strong { grid-column: auto; grid-row: auto; font-size: calc(16px * var(--graph-scale,1)); }
.graph-canvas .count-track { grid-column: auto; grid-row: auto; height: calc(27px * var(--graph-scale,1)); }
.graph-canvas .count-axis { font-size: calc(12px * var(--graph-scale,1)); }
.graph-canvas .creator-chart { flex-direction: row; padding: 6px calc(24px * var(--graph-scale,1)) 0; gap: calc(25px * var(--graph-scale,1)); }
.graph-canvas .creator-chart svg { width: calc(300px * var(--graph-scale,1)); max-width: 50%; height: calc(250px * var(--graph-scale,1)); }
.graph-canvas .creator-key { width: auto; padding: 0; gap: calc(24px * var(--graph-scale,1)); }
.graph-canvas .creator-key strong { font-size: calc(15px * var(--graph-scale,1)); }
.graph-canvas .creator-key span { font-size: calc(13px * var(--graph-scale,1)); }
.graph-canvas .legend { font-size: calc(13px * var(--graph-scale,1)); }

/* Searchable policies with a clear title, summary, and expandable source. */
.policy-preview .section-heading { margin-bottom: 24px; }
.policy-list { display: grid; gap: 12px; }
.policy-entry { border: 1px solid var(--line); border-radius: 8px; background: var(--white); overflow: hidden; }
.policy-entry > summary { display: flex; justify-content: space-between; gap: 30px; padding: 23px; list-style: none; }
.policy-entry > summary::-webkit-details-marker { display: none; }
.policy-entry > summary::marker { display: none; content: ''; }
.policy-entry > summary:hover { background: #f7f9f3; }
.policy-main { min-width: 0; flex: 1; }
.policy-topline { display: flex; align-items: center; flex-wrap: wrap; gap: 11px; }
.policy-topline .platform-name { font-size: 13px; }
.policy-topline .platform-icon { width: 15px; height: 15px; }
.policy-kind { font-size: 12px; color: var(--muted); border-left: 1px solid #cbd5c3; padding-left: 11px; }
.policy-entry h3 { font-size: 19px; line-height: 1.5; letter-spacing: -.35px; margin-top: 10px; font-weight: 700; }
.policy-entry summary:hover h3 { color: var(--green); }
.policy-entry summary p { font-size: 14px; line-height: 1.75; color: var(--muted); margin-top: 7px; max-width: 690px; }
.policy-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 13px; }
.policy-tags > span { border: 1px solid #dce3d5; border-radius: 4px; font-size: 11px; padding: 3px 7px; line-height: 1.6; color: #596e4d; background: #fbfcf9; }
.policy-side { display: flex; flex-direction: column; align-items: flex-end; flex-shrink: 0; min-width: 160px; }
.effect { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; padding: 5px 9px; border-radius: 5px; font-weight: 550; white-space: nowrap; }
.effect > span { font-size: 15px; line-height: 1; }
.effect.enable { background: var(--green-bg); color: var(--green); }
.effect.constrain { background: var(--orange-bg); color: var(--orange); }
.policy-date { font-size: 12px; color: var(--muted); margin-top: 13px; }
.expand-label { margin-top: auto; padding-top: 20px; font-size: 13px; font-weight: 550; color: var(--green); display: flex; align-items: center; gap: 12px; }
.expand-arrow { font-size: 20px; line-height: 1; display: inline-block; transform: translateY(-2px); }
.when-open { display: none; }
.policy-entry[open] .when-closed { display: none; }
.policy-entry[open] .when-open { display: inline; }
.policy-entry[open] .expand-arrow { transform: rotate(180deg); }
.policy-entry[open] { border-color: #aebfa3; }
.policy-entry[open] h3 { color: var(--green); }
.policy-detail { background: #f2f6ed; border-top: 1px solid var(--line); padding: 24px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; }
.detail-label { font-size: 12px; letter-spacing: .4px; text-transform: uppercase; font-weight: 650; color: #4d6842; }
.policy-detail p { font-size: 14px; color: #506747; line-height: 1.8; margin-top: 9px; }
.policy-detail dl { margin: 0; display: grid; gap: 15px; }
.policy-detail dt { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.policy-detail dd { margin: 0; font-size: 13px; color: #405c34; line-height: 1.7; overflow-wrap: anywhere; }
.policy-detail a { text-decoration: underline; text-underline-offset: 3px; }
.list-end { text-align: center; padding-top: 25px; }
.research-note { background: #f0f4e9; border: 1px solid #dae4d1; border-radius: 8px; padding: 28px 30px; margin-top: 48px; }
.research-note h2 { font-size: 25px; letter-spacing: -.7px; margin-top: 9px; }
.research-note p { font-size: 15px; color: #536a47; line-height: 1.8; max-width: 850px; margin-top: 12px; }
.research-note a { margin-top: 12px; }
.policy-toolbar, .source-toolbar { margin-bottom: 24px; }
.source-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.source-toolbar .search { flex: 1; min-width: 230px; }
.source-toolbar .sort-label select { max-width: 220px; }
.source-toolbar .clear-filters { padding-inline: 8px; }
.search { display: block; position: relative; }
.search svg { position: absolute; top: 50%; left: 18px; width: 19px; height: 19px; transform: translateY(-50%); color: #65795a; }
.search input { width: 100%; height: 52px; padding: 13px 46px; border: 1px solid #bfcfb5; border-radius: 8px; font-size: 16px; background: var(--white); color: var(--ink); }
.search input::placeholder { color: #687b5b; opacity: 1; }
.policy-filters { display: grid; gap: 14px; padding: 0 0 22px; }
.filter-row { display: flex; gap: 18px; align-items: flex-start; }
.filter-row-label { font-size: 13px; font-weight: 550; color: var(--muted); padding-top: 11px; min-width: 60px; }
.filter-options { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-row .filter-chip > span { margin-left: 3px; }
.policy-list-bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 20px; padding: 15px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.policy-list-bar > div { display: flex; align-items: center; gap: 20px; }
.clear-filters { border: 0; background: none; min-height: 44px; font-size: 13px; color: var(--green); padding: 6px 0; text-decoration: underline; text-underline-offset: 3px; }
.sort-label { display: flex; gap: 9px; align-items: center; font-size: 13px; color: var(--muted); }
.sort-label select { min-height: 44px; background: var(--white); border: 1px solid #cbd7c2; border-radius: 6px; color: #405d35; font-size: 14px; max-width: 180px; padding: 8px 12px; cursor: pointer; }
.policy-disclaimer { font-size: 13px; color: var(--muted); line-height: 1.8; max-width: 850px; margin-top: 22px; }
.empty { padding: 50px 25px; text-align: center; }
.empty h3 { font-size: 23px; color: #405b34; margin: 0; }
.empty p { font-size: 15px; color: var(--muted); line-height: 1.7; margin: 12px auto 18px; max-width: 480px; }

/* Detail views, source records, and tables. */
.platform-chart { margin-top: 14px; }
.platform-summary { display: grid; grid-template-columns: 1fr 1.6fr; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--white); margin: 24px 0; }
.platform-summary .metric-card { padding: 27px; }
.platform-context { padding: 27px; border-left: 1px solid var(--line); background: #f4f7ef; }
.platform-context h2 { font-size: 21px; letter-spacing: -.4px; }
.platform-context > p { font-size: 15px; line-height: 1.8; color: var(--muted); margin-top: 11px; }
.platform-context .small-note { font-size: 13px; }
.platform-context a { margin-top: 12px; }
.table-panel { overflow-x: auto; border: 1px solid var(--line); border-radius: 7px; background: var(--white); overscroll-behavior-x: contain; scrollbar-color: #a5b49a #f1f4eb; }
table { width: 100%; min-width: 740px; border-collapse: collapse; text-align: left; font-size: 14px; }
th { font-size: 12px; letter-spacing: .2px; padding: 15px 17px; color: #3d5833; font-weight: 650; background: #edf3e6; white-space: nowrap; }
td { padding: 19px 17px; border-top: 1px solid var(--line); vertical-align: top; color: #506447; line-height: 1.75; }
tbody tr:nth-child(even) { background: #fbfcf8; }
tbody tr:hover { background: #f5f8ef; }
td strong { display: block; font-weight: 650; color: #304c27; }
td small { font-size: 12px; display: block; line-height: 1.75; color: var(--muted); margin-top: 6px; max-width: 340px; }
td .text-link { font-size: 13px; }
.table-scroll-note { font-size: 12px; color: var(--muted); margin: 12px 0; }
.dataset-details { border-top: 1px solid var(--line); }
.dataset-details > summary { display: flex; align-items: center; min-height: 52px; padding: 12px 0; color: var(--green); font-size: 15px; font-weight: 600; list-style: none; }
.dataset-details > summary::after { content: "+"; margin-left: auto; padding: 0 8px; font-size: 23px; }
.dataset-details[open] > summary::after { content: "−"; }
.dataset-details > summary::-webkit-details-marker { display: none; }
.method-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 26px; margin-top: 32px; }
.method-grid article { padding-top: 22px; border-top: 1px solid var(--line); }
.method-no { font-size: 13px; color: #667b59; display: block; margin-bottom: 13px; font-family: var(--heading); }
.method-grid h3 { font-size: 17px; letter-spacing: -.3px; }
.method-grid p { font-size: 14px; color: var(--muted); line-height: 1.8; margin-top: 10px; }
.freshness-banner { margin-top: 0; }
.source-count, #source-count { font-size: 14px; color: var(--muted); margin: 0; }
.source-list { border-top: 1px solid var(--line); }
.source-card { display: flex; align-items: flex-start; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.source-number { font-size: 13px; color: #667b59; width: 28px; padding-top: 5px; flex-shrink: 0; font-variant-numeric: tabular-nums; }
.source-card > div { flex: 1; min-width: 0; }
.source-type { font-size: 12px; color: var(--muted); }
.source-card h3 { font-size: 17px; letter-spacing: -.2px; margin-top: 6px; line-height: 1.6; }
.source-card p { font-size: 13px; color: var(--muted); margin-top: 7px; line-height: 1.7; }
.source-card > a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; font-weight: 550; white-space: nowrap; text-underline-offset: 3px; margin-top: 14px; color: var(--green); }
.small-note { font-size: 13px; color: var(--muted); line-height: 1.8; }
.data-gap { padding: 55px 28px; text-align: center; color: var(--muted); font-size: 15px; }
footer { display: flex; justify-content: space-between; gap: 25px; border-top: 1px solid var(--line); margin-top: 62px; padding: 30px 0 36px; font-size: 13px; color: var(--muted); }
footer .footer-brand { font-family: var(--heading); font-size: 16px; font-weight: 700; letter-spacing: -.4px; color: #405d35; text-decoration: none; }
footer p { margin-top: 6px; font-size: 13px; }
footer > div:last-child { text-align: right; }
footer > div:last-child > a { color: var(--green); font-size: 14px; text-underline-offset: 3px; }
footer small { display: block; margin-top: 8px; font-size: 12px; line-height: 1.8; }
dialog { border: 1px solid var(--line); border-radius: 10px; padding: 32px; width: min(680px,calc(100% - 32px)); max-height: 85vh; color: var(--ink); box-shadow: 0 20px 80px #19331a24; background: var(--paper); }
dialog::backdrop { background: #242b226b; backdrop-filter: blur(3px); }
.dialog-close { position: absolute; right: 10px; top: 9px; font-size: 30px; min-width: 44px; min-height: 44px; padding: 0 7px; color: #526d44; }
dialog h2 { font-size: 27px; letter-spacing: -.7px; line-height: 1.4; margin: 12px 25px 13px 0; }
dialog p { font-size: 15px; color: var(--muted); line-height: 1.8; margin: 14px 0; }
dialog dl { display: grid; grid-template-columns: 130px 1fr; gap: 15px; font-size: 14px; margin-top: 25px; }
dialog dt { color: var(--muted); font-size: 13px; }
dialog dd { margin: 0; color: #405b34; line-height: 1.8; overflow-wrap: anywhere; }
dialog a { color: var(--green); font-size: 14px; text-underline-offset: 3px; }
dialog .metric-value { margin-top: 20px; font-size: 36px; }
dialog .eyebrow { padding-right: 24px; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(160px); background: #2c3e24; color: #fff; padding: 14px 21px; border-radius: 7px; font-size: 14px; box-shadow: 0 5px 20px #193d3022; z-index: 100; transition: transform .25s; pointer-events: none; width: max-content; max-width: calc(100% - 32px); }
.toast.show { transform: translateX(-50%) translateY(0); }

@media (max-width: 1100px) {
  .header-inner { padding-inline: 24px; gap: 17px; }
  #main-nav a { padding-inline: 9px; font-size: 13px; }
  .brand { font-size: 18px; }
  .section-heading { align-items: flex-start; }
  .section-heading .platform-filter { max-width: 360px; justify-content: flex-end; }
  .metric-card { padding: 11px 13px 6px; }
  .metric-top { align-items: flex-start; }
}

@media (max-width: 1000px) {
  html { scroll-padding-top: 145px; }
  .header-inner { flex-wrap: wrap; gap: 5px 20px; padding-block: 8px 0; }
  .brand { margin-right: auto; }
  .export-button { order: 2; }
  .header-inner > #main-nav { display: flex; order: 3; width: calc(100% + 16px); min-width: 0; margin: 0 -8px; padding: 0 0 10px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #b4c4a9 transparent; gap: 4px; }
  #main-nav a { flex-shrink: 0; padding-inline: 13px; font-size: 14px; }
  .page-shell { padding-inline: 28px; }
  .section-heading { flex-wrap: wrap; }
  .section-heading .platform-filter { max-width: none; justify-content: flex-start; }
  .panel-head { flex-wrap: wrap; gap: 12px; }
  .panel-head > .label { margin-top: 0; }
}

@media (max-width: 760px) {
  .page-shell { padding-inline: 22px; }
  .research-status { font-size: 12px; gap: 4px 12px; align-items: flex-start; flex-wrap: wrap; padding-block: 8px; }
  .snapshot-status { align-items: flex-start; line-height: 1.7; }
  .snapshot-status i { margin-top: 7px; }
  #schedule-status { text-align: left; }
  .intro { padding: 17px 0 16px; }
  h1 { font-size: 34px; letter-spacing: -1px; }
  .intro > p { font-size: 15px; margin-top: 6px; }
  .hero-links { margin-top: 22px; }
  .quick-nav { gap: 10px; margin: 25px 0 28px; }
  .quick-nav a { padding: 17px; }
  .quick-nav strong { font-size: 15px; }
  .quick-nav span { font-size: 13px; }
  .section-heading { flex-direction: column; gap: 17px; margin-bottom: 20px; }
  .section-heading h2 { font-size: 24px; }
  .section-heading > .quiet-link { align-self: flex-start; }
  .overview-evidence { padding-top: 0; }
  .overview-evidence > .section-heading { gap: 8px; }
  .metric-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: #8fa580 #f0f4e9; }
  .metric-grid .metric-card { flex: 0 0 240px; scroll-snap-align: start; }
  .metric-grid.single .metric-card { flex-basis: 100%; }
  .metric-scroll-hint { display: block; color: var(--muted); font-size: 12px; line-height: 1.5; margin: -4px 0 10px; text-align: right; }
  .metric-grid.single + .metric-scroll-hint { display: none; }
  .metric-grid .metric-card + .metric-card { border-left: 1px solid var(--line); border-top: 0; }
  .metric-card { padding: 11px 13px 6px; }
  .metric-value { font-size: 27px; }
  .metric-description { min-height: 39px; }
  .metric-footer { margin-top: 0; font-size: 11px; }
  .metric-footer button { font-size: 12px; }
  .metric-grid.single .metric-card { grid-template-columns: minmax(0,1fr) auto; column-gap: 12px; }
  .metric-grid.single .metric-description { grid-column: 1/-1; grid-row: auto; margin-top: 5px; }
  .panel-head { padding: 15px 18px 0; }
  .panel-head h2 { font-size: 21px; }
  .chart-tabs { margin: 10px 18px 4px; max-width: calc(100% - 36px); }
  .chart-tabs button { padding-inline: 11px; }
  .chart-wrap { padding-inline: 12px; }
  .chart-help { padding-inline: 20px; }
  .graph-zoom { margin: 5px 18px 4px; }
  .legend { margin: 15px 20px 20px; }
  .chart-bottom { padding: 12px 20px; flex-wrap: wrap; gap: 5px 15px; }
  .count-chart { padding: 23px 20px 10px; }
  .count-row { grid-template-columns: 130px 1fr 60px; gap: 15px; }
  .creator-chart { padding-inline: 20px; gap: 16px; }
  .creator-chart svg { height: 240px; }
  .page-section { margin-top: 39px; }
  .policy-entry > summary { padding: 20px; gap: 20px; }
  .policy-side { min-width: 150px; }
  .policy-entry h3 { font-size: 18px; }
  .policy-detail { padding: 22px; gap: 23px; grid-template-columns: 1fr; }
  .policy-detail dl { grid-template-columns: 1fr 1fr; gap: 16px; }
  .policy-detail dl > div:nth-child(2) { grid-column: 1/-1; grid-row: 2; }
  .research-note { padding: 25px; margin-top: 36px; }
  .research-note h2 { font-size: 23px; }
  .filter-row { gap: 12px; }
  .filter-row-label { min-width: 55px; }
  .platform-summary { grid-template-columns: 1fr; }
  .platform-summary .metric-card { padding: 24px; }
  .platform-context { border-left: 0; border-top: 1px solid var(--line); padding: 24px; }
  .method-grid { grid-template-columns: 1fr; gap: 25px; }
  .method-grid article { padding-top: 19px; }
  .method-no { grid-row: 1/3; margin: 0; padding-top: 2px; }
  .source-card { gap: 13px; }
  .source-number { width: 23px; }
  footer { margin-top: 44px; }
  dialog { padding: 28px 24px; }
}

@media (max-width: 520px) {
  .header-inner { padding-inline: 18px; }
  .brand { font-size: 17px; gap: 9px; }
  .brand-mark { width: 25px; height: 26px; grid-template-columns: repeat(2,11px); }
  .brand-subtitle { font-size: 10px; }
  .export-button { font-size: 12px; padding-inline: 10px; gap: 7px; }
  .page-shell { padding-inline: 18px; }
  h1 { font-size: 30px; letter-spacing: -.8px; }
  .intro { padding-top: 16px; }
  .quick-nav { grid-template-columns: 1fr; gap: 9px; }
  .quick-nav a { padding: 15px 17px; gap: 3px; }
  .quick-nav strong { font-size: 16px; }
  .quick-nav span { font-size: 14px; }
  .filter-chip { font-size: 13px; padding-inline: 12px; }
  .section-heading h2 { font-size: 23px; }
  .metric-grid.single .metric-card { display: grid; }
  .metric-grid.single .metric-description { margin-top: 5px; }
  .chart-tabs { display: flex; flex-wrap: nowrap; overflow-x: auto; width: auto; }
  .chart-tabs button { flex-shrink: 0; }
  .chart-tabs button { font-size: 13px; line-height: 1.4; padding-inline: 7px; }
  .panel-head, .count-chart { padding-inline: 18px; }
  .panel-head h2 { font-size: 20px; }
  .chart-help { padding-inline: 18px; }
  .count-row { grid-template-columns: minmax(0,1fr) 70px; gap: 7px 12px; }
  .count-label { grid-column: 1; font-size: 14px; }
  .count-row strong { grid-column: 2; grid-row: 1; font-size: 15px; }
  .count-track { grid-column: 1/-1; grid-row: 2; height: 23px; }
  .count-axis { flex-wrap: wrap; gap: 4px 16px; }
  .creator-chart { flex-direction: column; gap: 5px; }
  .creator-chart svg { width: 280px; max-width: 100%; height: 225px; }
  .creator-key { width: 100%; gap: 17px; padding: 0 5px 10px; }
  .policy-entry > summary { display: block; padding: 19px; }
  .policy-side { flex-direction: row; flex-wrap: wrap; gap: 12px; justify-content: flex-start; align-items: center; margin-top: 17px; min-width: 0; }
  .policy-date { margin-top: 0; }
  .expand-label { padding-top: 0; margin-top: 0; margin-left: auto; gap: 8px; }
  .policy-detail { padding: 19px; }
  .policy-detail dl { grid-template-columns: 1fr; }
  .policy-detail dl > div:nth-child(2) { grid-column: auto; grid-row: auto; }
  .filter-row { display: grid; gap: 8px; }
  .filter-row-label { padding-top: 0; }
  .policy-filters { gap: 19px; }
  .policy-list-bar > div { flex-wrap: wrap; gap: 6px 15px; }
  .sort-label { width: 100%; }
  .sort-label select { flex: 1; max-width: none; }
  .source-card { flex-wrap: wrap; gap: 8px 12px; }
  .source-card > div { min-width: 100%; }
  .source-card > a { margin: 0; }
  .source-toolbar .search { min-width: 100%; }
  .source-toolbar .sort-label { flex: 1; width: auto; }
  .source-toolbar .sort-label select { min-width: 0; max-width: none; }
  .source-card h3 { font-size: 16px; }
  footer { flex-direction: column; gap: 19px; }
  footer > div:last-child { text-align: left; }
  dialog h2 { font-size: 24px; }
  dialog dl { grid-template-columns: 1fr; gap: 5px; }
  dialog dd { margin-bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

.mobile-chart-hint { display: none; }
@media (max-width: 700px) { .mobile-chart-hint { display: block; color: var(--muted); font-size: 13px; line-height: 1.6; margin: 12px 0; } .evidence-chart > .mobile-chart-hint { margin-inline: 20px; } }

/* Chart gestures are scoped to the plot; the rest of the page scrolls normally. */
.graph-viewport,.evidence-scroll,.trend-scroll,.history-comparison-scroll{cursor:grab;user-select:none;-webkit-user-select:none;scroll-behavior:auto}
.graph-dragging,.graph-dragging *{cursor:grabbing!important}
.graph-gesture-hint{font-size:12px!important;font-weight:400!important;color:var(--muted);white-space:nowrap}
.graph-zoom:has(.graph-gesture-hint){flex-wrap:wrap;max-width:285px}
.graph-zoom .graph-gesture-hint{flex-basis:100%;margin-left:0;text-align:right;line-height:1.4}
@media(max-width:760px){.graph-zoom .graph-gesture-hint{margin-left:0}}
