:root {
  --paper: #f3f1eb;
  --surface: #fbfaf7;
  --surface-strong: #ffffff;
  --ink: #17201d;
  --muted: #607069;
  --muted-soft: #7d8984;
  --line: #d9dcd6;
  --line-soft: #e8e8e3;
  --forest: #183129;
  --green: #246a4d;
  --green-bg: #dcebe3;
  --red: #934940;
  --red-bg: #f1ddda;
  --warning-bg: #eae5d7;
  --warning-line: #d8cfbb;
  --shadow: 0 16px 40px rgba(24, 49, 41, 0.08);
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-width: 0; background: var(--paper); }
body { min-width: 0; margin: 0; overflow-x: clip; background: var(--paper); color: var(--ink); font-size: 14px; line-height: 1.5; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; }

.app-shell { display: grid; grid-template-columns: 228px minmax(0, 1fr); min-height: 100vh; }
.sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 30px 18px 24px; background: var(--forest); color: #edf4f0; }
.brand { display: block; padding: 0 4px; color: inherit; text-decoration: none; }
.brand span { display: block; font: 700 19px/1.2 Georgia, "Times New Roman", serif; letter-spacing: 0.01em; }
.brand small { display: block; margin-top: 7px; color: #9fb6aa; font-size: 10px; font-weight: 700; letter-spacing: 0.17em; text-transform: uppercase; }
.nav-list { display: grid; gap: 3px; margin-top: 34px; }
.nav-link { min-height: 44px; display: flex; align-items: center; padding: 9px 11px; border-radius: 7px; color: #adbbb5; font-size: 12px; text-decoration: none; }
.nav-link.active { background: #29483e; color: #fff; }
.nav-link.pending { color: #71877d; cursor: not-allowed; }
.sidebar-note { margin: 20px 11px 0; color: #8fa59b; font-size: 10px; line-height: 1.55; }
.sidebar-meta { display: grid; gap: 3px; margin-top: auto; padding: 19px 7px 0; border-top: 1px solid #355148; color: #92a69d; font-size: 10px; }
.mobile-shell { display: none; }

.main-content { width: min(100%, 1450px); min-width: 0; margin: 0 auto; padding: 28px 34px 46px; }
.page-header, .section-heading, .detail-chart-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.eyebrow { margin: 0; color: #68776f; font-size: 10px; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
h1 { margin: 4px 0 0; font-size: clamp(29px, 3vw, 42px); line-height: 1.05; }
h2 { margin: 5px 0 0; font-size: 22px; line-height: 1.15; }
h3 { margin: 0; font-size: 24px; line-height: 1.2; }
.as-of { flex: none; padding: 9px 13px; border: 1px solid #c8cdc7; border-radius: 999px; background: var(--surface); color: #45564f; font-size: 11px; white-space: nowrap; }
.data-warning { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 14px; margin: 24px 0 30px; padding: 12px 15px; border: 1px solid var(--warning-line); border-radius: 7px; background: var(--warning-bg); color: #5f594a; font-size: 11px; }
.data-warning strong { color: #3f493f; }
.view-state { min-height: 220px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--muted); text-align: center; }
.error-state { min-height: 120px; border-color: #d7aaa5; background: #f8e8e5; color: #793d37; }

.section-heading { margin-bottom: 14px; }
.section-heading > p { max-width: 470px; margin: 0; color: var(--muted); font-size: 12px; text-align: right; }
.sector-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 12px; }
.sector-card { grid-column: span 4; min-width: 0; min-height: 244px; display: flex; flex-direction: column; padding: 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); text-align: left; text-decoration: none; transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease; }
.sector-card:nth-child(-n + 4) { grid-column: span 3; }
.sector-card.linked:not(.unpublished) { cursor: pointer; }
.sector-card.linked:not(.unpublished):hover { border-color: #90a69b; box-shadow: var(--shadow); transform: translateY(-2px); }
.sector-card.active { border-color: #6f9482; background: var(--surface-strong); box-shadow: var(--shadow); transform: translateY(-2px); }
.sector-card.unpublished { color: #33403b; cursor: not-allowed; }
.sector-card.unpublished::after { content: "Sector book pending"; margin-top: 10px; color: var(--muted-soft); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.sector-card:focus-visible, .nav-link:focus-visible, .mobile-tab:focus-visible, .brand:focus-visible, .chart-data summary:focus-visible, .chart-data a:focus-visible, .detail-chart-point:focus, .detail-chart-bar:focus { outline: 3px solid #79a690; outline-offset: 3px; }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.card-sector { color: #60716a; font-size: 10px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.status { flex: none; padding: 4px 8px; border-radius: 999px; font-size: 9px; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.status.increasing { color: var(--green); background: var(--green-bg); }
.status.decreasing { color: var(--red); background: var(--red-bg); }
.status.broadly-stable { color: #806128; background: #eee5d2; }
.card-headline { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin: 15px 0 9px; }
.card-headline strong { color: #203e34; font: 500 28px/1 Georgia, "Times New Roman", serif; letter-spacing: -0.02em; }
.card-headline span { color: var(--muted-soft); font-size: 10px; }
.card-measure { margin: 0 0 14px; color: #34463f; font: 500 12.5px/1.42 Georgia, "Times New Roman", serif; }
.card-bottom { margin-top: auto; padding-top: 11px; border-top: 1px solid var(--line-soft); }
.card-change { margin: 0; color: #7a8781; font-size: 10.5px; }
.card-change strong { color: #263a32; font-weight: 850; }
.card-current { margin: 7px 0 0; color: #56665f; font-size: 10.5px; }

.progress { height: 5px; margin-top: 10px; overflow: hidden; border-radius: 99px; background: #19342b; }
.progress > span { display: block; height: 100%; border-radius: inherit; background: #91b5a5; }

.overview-detail { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 28px; margin-top: 14px; padding: 23px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); }
.overview-chart-column { min-width: 0; }
.overview-chart-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.chart-subtitle { margin: 7px 0 0; color: var(--muted); font-size: 11px; }
.range-controls { flex: none; display: flex; gap: 2px; }
.range-button { min-width: 44px; min-height: 44px; border: 0; border-bottom: 1px solid transparent; background: transparent; color: #7a8982; cursor: pointer; }
.range-button.active { border-bottom-color: var(--forest); color: var(--forest); font-weight: 750; }
.range-button:disabled { color: #bac1bd; cursor: not-allowed; }
.overview-chart-frame { min-width: 0; margin-top: 10px; }
.overview-chart-frame svg { display: block; width: 100%; height: 238px; overflow: visible; }
.overview-chart-footnote { min-height: 20px; margin: 0; color: #7c8983; font-size: 10px; }
.overview-insight { min-width: 0; padding-left: 25px; border-left: 1px solid #dfe1dc; }
.overview-insight h3 { overflow-wrap: anywhere; }
.insight-copy { margin: 15px 0 0; color: #596760; font-size: 12px; }
.current-copy { margin: 14px 0 0; padding: 10px 11px; border-left: 3px solid #72a089; background: #edf3ef; color: #334940; font-size: 11px; }
#overview-context-copy { margin-top: 10px; color: #53655d; font-size: 11px; }
.overview-insight details { margin-top: 17px; border-top: 1px solid var(--line-soft); }
.overview-insight summary { min-height: 44px; display: flex; align-items: center; color: #44564f; font-size: 11px; font-weight: 750; cursor: pointer; }
.overview-insight ul { margin: 0 0 12px; padding-left: 17px; color: #65736d; font-size: 10px; }
.overview-insight li + li { margin-top: 7px; }
.source-links { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.source-link { min-height: 32px; display: inline-flex; align-items: center; padding: 6px 9px; border: 1px solid #d5d9d3; border-radius: 999px; color: #416152; font-size: 9px; text-decoration: none; }
.source-link:hover { border-color: #819b8e; background: #f0f4f1; }

.sector-intro { margin-bottom: 16px; }
.detail-metric { width: 100%; min-height: 0; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(260px, .9fr); column-gap: 28px; }
.detail-metric .card-top, .detail-metric .card-headline, .detail-metric .card-measure { grid-column: 1; }
.detail-metric .card-bottom { grid-column: 2; grid-row: 1 / span 3; margin: 0; padding: 4px 0 4px 28px; border-top: 0; border-left: 1px solid var(--line-soft); align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.detail-metric .card-current { margin-top: 14px; padding: 10px 11px; border-left: 3px solid #72a089; background: #edf3ef; }
.summary-section, .charts-section { margin-top: 34px; }
.summary-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.summary-card { min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.summary-label { margin: 0; color: #596a63; font-size: 10px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.summary-value { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin: 14px 0 4px; }
.summary-value strong { color: #203e34; font: 500 30px/1 Georgia, "Times New Roman", serif; }
.summary-value span { color: var(--muted); font-size: 10px; }
.summary-period, .summary-source { margin: 0; color: var(--muted); font-size: 10px; }
.summary-comparisons { margin: 15px 0; padding-top: 12px; border-top: 1px solid var(--line-soft); }
.summary-comparisons p { margin: 0; color: #66736d; font-size: 11px; }
.summary-comparisons p + p { margin-top: 5px; }
.summary-companion { display: grid; gap: 5px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line-soft); }
.summary-companion span { color: #66736d; font-size: 10px; }
.summary-companion strong { color: #29483e; font-size: 13px; }
.summary-companion .summary-companion-meta,
.summary-companion .summary-companion-source { color: var(--muted); font-size: 9px; }
.summary-companion .summary-companion-change { color: #66736d; font-size: 11px; }
.positive { color: var(--green); }
.negative { color: var(--red); }
.coverage-note { margin-top: 16px; padding: 20px 22px; border-left: 4px solid #9b8b63; border-radius: 0 10px 10px 0; background: var(--warning-bg); }
.coverage-note h2 { font-size: 19px; }
.coverage-note > p:last-child { max-width: 1000px; margin: 9px 0 0; color: #5f594a; font-size: 12px; }
.detail-charts { display: grid; gap: 16px; }
.detail-chart-card { min-width: 0; padding: 22px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); }
.detail-chart-header { align-items: flex-start; flex-wrap: wrap; }
.detail-chart-header > div:first-child { min-width: 0; }
.detail-chart-header p { max-width: 700px; margin: 7px 0 0; color: var(--muted); font-size: 11px; }
.chart-legend { flex: 1 1 420px; min-width: 0; max-width: 100%; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; color: #53635c; font-size: 10px; }
.chart-legend span { display: inline-flex; align-items: center; gap: 6px; }
.chart-legend i { width: 16px; height: 3px; border-radius: 99px; }
.detail-chart-frame { min-width: 0; margin-top: 12px; }
.detail-chart-frame svg { display: block; width: 100%; height: min(290px, 42vw); min-height: 210px; overflow: visible; }
.chart-panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.chart-panel { min-width: 0; padding: 12px; border: 1px solid var(--line-soft); border-radius: 8px; background: #fbfbf8; }
.chart-panel h4 { margin: 0; color: #314b41; font-size: 12px; }
.chart-panel-unit { margin: 4px 0 0; color: var(--muted); font-size: 9px; }
.detail-chart-frame .chart-panel svg { height: 220px; min-height: 180px; }
.chart-grid-line { stroke: #e4e6e1; stroke-width: 1; }
.chart-axis-label { fill: #829089; font-size: 10px; font-family: Inter, sans-serif; }
.detail-chart-line { fill: none; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.detail-chart-point { stroke-width: 2.5; }
.detail-chart-bar { opacity: .9; }
.chart-zero-line { stroke: #aab2ad; stroke-width: 1.2; }
.chart-summary { margin: 4px 0 0; color: #4d5f57; font-size: 11px; }
.chart-metadata { display: flex; flex-wrap: wrap; gap: 5px 12px; margin-top: 12px; color: #718079; font-size: 9px; }
.chart-metadata span:not(:last-child)::after { content: " ·"; }
.chart-transform { margin: 9px 0 0; color: #596a63; font-size: 10px; }
.chart-caveat { margin: 10px 0 0; color: #695f4b; font-size: 10px; }
.chart-data { margin-top: 13px; border-top: 1px solid var(--line-soft); }
.chart-data summary { min-height: 44px; display: flex; align-items: center; color: #44564f; font-size: 11px; font-weight: 750; cursor: pointer; }
.table-scroll { max-width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 10px; }
th, td { padding: 7px 9px; border-bottom: 1px solid var(--line-soft); text-align: left; vertical-align: top; }
thead th { color: #52625b; background: #eeeee9; }
tbody th { color: #34483f; }
td { color: #66736d; }
td a { color: #2f6850; }

footer { display: flex; justify-content: space-between; gap: 20px; margin-top: 24px; color: #79847f; font-size: 10px; }

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

@media (max-width: 980px) {
  .app-shell { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .mobile-shell { position: sticky; top: 0; z-index: 5; min-width: 0; display: block; background: var(--forest); color: #edf4f0; }
  .mobile-header { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px 10px; }
  .mobile-header .brand span { font-size: 17px; }
  .mobile-header .brand small { font-size: 8px; }
  .mobile-page { flex: none; color: #afc2ba; font-size: 11px; }
  .mobile-tabs { min-width: 0; display: flex; gap: 3px; padding: 0 14px 9px; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: thin; }
  .mobile-tab { min-width: max-content; min-height: 44px; display: inline-flex; align-items: center; padding: 8px 11px; border-radius: 7px; color: #adbbb5; font-size: 11px; text-decoration: none; }
  .mobile-tab.active { background: #29483e; color: #fff; }
  .mobile-tab.pending { color: #71877d; }
  .main-content { padding: 20px 18px 38px; }
  .sector-card, .sector-card:nth-child(-n + 4) { grid-column: span 6; }
  .overview-detail { grid-template-columns: 1fr; }
  .overview-insight { padding-left: 0; padding-top: 20px; border-top: 1px solid #dfe1dc; border-left: 0; }
  .summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .page-header, .section-heading { align-items: flex-start; }
  .section-heading > p { max-width: 245px; text-align: left; }
  .data-warning { grid-template-columns: 1fr; gap: 4px; }
  .sector-card, .sector-card:nth-child(-n + 4) { grid-column: 1 / -1; }
  .overview-detail { padding: 18px; }
  .overview-chart-header { align-items: flex-start; }
  .detail-metric { display: flex; }
  .detail-metric .card-bottom { margin-top: 5px; padding: 12px 0 0; border-top: 1px solid var(--line-soft); border-left: 0; }
  .summary-grid { grid-template-columns: 1fr; }
  .chart-panels { grid-template-columns: 1fr; }
  .detail-chart-header { display: grid; }
  .chart-legend { justify-content: flex-start; }
  footer { flex-direction: column; gap: 5px; }
}

@media (max-width: 420px) {
  .mobile-header { padding: 12px 14px 8px; }
  .mobile-page { display: none; }
  .mobile-tabs { padding-inline: 10px; }
  .main-content { padding: 17px 14px 32px; }
  .page-header { display: grid; gap: 12px; }
  .as-of { justify-self: start; }
  .section-heading { display: grid; gap: 8px; }
  .section-heading > p { max-width: none; }
  .sector-card { min-height: 0; padding: 16px; }
  .card-headline strong { font-size: 31px; }
  .detail-chart-card { padding: 17px; }
  .overview-detail { padding: 16px; }
  .overview-chart-header { display: grid; gap: 10px; }
  .range-controls { justify-self: start; }
  .overview-chart-frame svg { height: 210px; }
  .detail-chart-frame svg { height: 230px; min-height: 0; }
}

@media (max-width: 230px) {
  .mobile-header { padding: 11px 10px 7px; }
  .mobile-header .brand span { font-size: 15px; }
  .mobile-header .brand small { letter-spacing: 0.1em; }
  .mobile-tabs { padding-inline: 7px; }
  .mobile-tab { padding-inline: 8px; }
  .main-content { padding: 14px 9px 26px; }
  h1 { font-size: 27px; }
  h2 { font-size: 20px; }
  h3 { font-size: 21px; }
  .data-warning, .sector-card, .summary-card, .coverage-note, .detail-chart-card { border-radius: 7px; }
  .sector-card, .summary-card, .coverage-note, .detail-chart-card { padding: 13px; }
  .card-top { display: grid; }
  .status { justify-self: start; white-space: normal; }
  .card-headline { display: grid; }
  .card-headline strong { font-size: 27px; overflow-wrap: anywhere; }
  .watch-row { display: grid; gap: 3px; }
  .detail-chart-frame svg { height: 190px; }
  .chart-metadata span { overflow-wrap: anywhere; }
}

/* Executive presentation: direction first, saved evidence always explicit. */
.pulse-section, .conditions-section { margin: 20px 0; padding: 20px; border: 1px solid var(--border, #d9dfd2); border-radius: 12px; background: #faf9ef; }
.sector-interpretation p { line-height: 1.55; }
.sector-card { min-height: 0; padding: 18px; }
.card-change { font-size: 20px; margin: 12px 0; }
.card-headline strong { font-size: 20px; font-weight: 500; }
.card-headline span, .card-measure { font-size: 13px; }
.card-top { flex-wrap: wrap; gap: 8px; }
.card-current { margin-bottom: 0; }
.summary-card { display: flex; flex-direction: column; }
.summary-comparisons { order: -1; margin: 8px 0; font-size: 18px; }
.summary-card h3 { order: -2; }
.summary-value strong { font-size: 23px; }
.evidence-link { display: block; font-weight: 700; padding: 12px 0; }
.evidence-details, .metric-evidence, .evidence-ledger { min-width: 0; overflow-wrap: anywhere; }
.evidence-details { margin-top: 12px; border-top: 1px solid var(--line-soft); }
.evidence-details summary, .chart-data summary, .leading-evidence summary { cursor: pointer; padding: 8px 0; font-size: 13px; line-height: 1.5; }
.evidence-details summary:focus-visible { outline: 3px solid #246a4d; outline-offset: 2px; }
.evidence-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 7px 14px; font-size: 13px; line-height: 1.5; }
.evidence-fields dt { font-weight: 600; }
.evidence-fields dd { margin: 0; min-width: 0; }
.calculation-formula { margin: 4px 0; }
.source-digest { font-size: 12px; overflow-wrap: anywhere; }
.metric-evidence + .metric-evidence { border-top: 1px solid var(--line-soft); margin-top: 16px; }
.chart-data > p, .chart-data .chart-metadata { font-size: 13px; line-height: 1.5; }
@media (max-width: 400px) { .evidence-fields { grid-template-columns: minmax(0, 1fr); gap: 4px; } .evidence-fields dd { margin-bottom: 8px; } }
.latest-labels { font-size: 13px; line-height: 1.5; }
.latest-labels p { margin: 6px 0; }
.statistic-key { color: #5d655d; }
.chart-axis-label { font-size: 12px; }

.progress { background: repeating-linear-gradient(135deg, #e1e8da 0 5px, #f7f8ef 5px 10px); }
.timing-status { display: block; font-size: 13px; margin-top: 6px; }
.mobile-tabs label { font-weight: 700; }
.mobile-tabs select { min-width: 0; width: 100%; min-height: 44px; padding: 8px; color: #173f2f; background: #faf9ef; border: 1px solid #aab7a1; border-radius: 6px; font: inherit; }
@media (max-width: 980px) { .mobile-tabs { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 8px; align-items: center; overflow: visible; padding: 8px 18px; } .mobile-shell { position: static; } .mobile-header { padding: 12px 18px; } }
@media (max-width: 680px) {
  .main-content { padding: 18px 14px; }
  .sector-grid { gap: 8px; }
  .sector-card { min-height: 0; padding: 12px; }
  .card-change { font-size: 18px; margin: 8px 0; }
  .card-headline { margin: 0; gap: 6px; flex-wrap: wrap; }
  .card-headline strong { font-size: 16px; }
  .pulse-section, .conditions-section { padding: 12px; }
  .overview-detail { margin-top: 16px; }
  .detail-chart-card { padding: 12px; }
  .chart-axis-label { font-size: 12px; }
  .summary-grid { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 300px) {
  .mobile-header { display: block; }
  .mobile-page { display: none; }
  .mobile-tabs { grid-template-columns: minmax(0,1fr); }
  .card-top, .page-header, .overview-chart-header, .section-heading, .detail-chart-header { display: block; }
  .status { display: inline-block; white-space: normal; margin-top: 6px; }
  .overview-insight, .overview-chart-column { padding: 10px; }
  .range-controls { flex-wrap: wrap; margin-top: 10px; }
  h1 { font-size: 28px; } h2 { font-size: 22px; }
}

.as-of { white-space: normal; max-width: 100%; overflow-wrap: anywhere; }
.summary-label { order: -2; }
.summary-comparisons:empty { display: none; }
.overview-chart-frame svg, .detail-chart-frame svg, .detail-chart-frame .chart-panel svg { height: auto; min-height: 0; }
@media (max-width: 300px) { .overview-detail { padding: 10px; } .overview-chart-column { padding: 0; } .chart-panels { grid-template-columns: minmax(0,1fr); } }

.comparison-basis { font-size: 12px; }

/* Keep the selected chart balanced; interpretation spans the full panel. */
.overview-detail > #overview-interpretation { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 12px; }
.overview-detail .sector-interpretation p { margin: 10px 0; }
.sector-interpretation .data-warning { display: block; font-size: 13px; line-height: 1.5; }
#machine-tool-pulse .sector-card { width: 100%; }
.sector-card .card-measure { margin: 10px 0 0; line-height: 1.45; }
.release-quick-panel { margin: 16px 0; }
#release-quicklook { display: grid; gap: 2px; margin-top: 8px; max-width: 560px; }
.release-cue { display: grid; grid-template-columns: 112px minmax(24px, 160px) auto; gap: 12px; align-items: center; min-width: 0; padding: 4px 0; color: #214535; font-size: 12px; line-height: 1.4; }
.release-name { color: inherit; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.release-name:hover { text-decoration: underline; }
.release-name:focus-visible { outline: 2px solid #246a4d; outline-offset: 2px; }
.release-cue .progress { height: 3px; margin: 0; }
.release-date { color: var(--muted); font-variant-numeric: tabular-nums; }
@media (max-width: 260px) {
  .release-cue { grid-template-columns: 76px minmax(12px, 1fr) minmax(0, 94px); gap: 8px; font-size: 11px; }
}

/* Chart-first executive layout. Numeric evidence stays in one page drawer. */
#sector-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 0; margin: 14px 0; }
.sector-row { display: grid; grid-template-columns: minmax(120px,1fr) minmax(180px,2fr) minmax(70px,.7fr) minmax(105px,1fr) minmax(100px,1fr); gap: 12px; align-items: center; padding: 13px 10px; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 13px; }
.sector-row:hover { background: var(--surface-strong); }
.sector-row:focus-visible { outline: 3px solid var(--green); }
.row-metric,.row-period { color: var(--muted); }
.row-growth { display:flex; align-items:baseline; gap:6px; font-variant-numeric:tabular-nums; }
.growth-blue { color:#245da8; }
.growth-green { color:#246a4d; }
.growth-amber { color:#926300; }
.growth-red { color:#ae3535; }
.growth-neutral { color:var(--muted); }
.row-growth::before,.growth-key::before { content:""; display:inline-block; flex:0 0 7px; width:7px; height:7px; border-radius:50%; background:currentColor; }
.growth-legend { display:flex; flex-wrap:wrap; gap:6px 14px; margin-top:8px; font-size:11px; color:var(--muted); }
.growth-key { display:inline-flex; align-items:center; gap:5px; }

.outlook-line { margin: 18px 0 22px; color: #41584c; font-size: 14px; }
.pipeline-current,.pipeline-target { display: inline-block; margin: 0 22px 6px 0; }
.pipeline-target { border-left: 1px solid var(--line); padding-left: 18px; }
.detail-charts { gap: 22px; }
.chart-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.chart-group-title { margin: 0 0 12px; font-size: 20px; }
.detail-chart-card { padding: 16px; }
.detail-chart-header { display:block; }
.detail-chart-header h3 { font-size: 21px; }
.detail-chart-header p { font-size:12px; }
.latest-labels p { padding-left: 8px; margin: 8px 0; }
.chart-panels { grid-template-columns: minmax(0,1fr); gap:14px; }
.chart-panel { padding: 0; border:0; background:transparent; }
.chart-panel-unit { font-size:12px; }
.secondary-charts { min-width:0; border-top:1px solid var(--line); }
.secondary-charts > summary,.page-sources > summary { cursor:pointer; min-height:44px; padding:12px 0; color:var(--muted); font-size:14px; }
.secondary-charts > .chart-grid { margin-top:10px; }
.page-sources { margin-top:20px; min-width:0; }
.source-content { min-width:0; overflow-wrap:anywhere; }
.annual-outlook { margin:0; color:var(--green); }
.wide-primary .chart-grid { grid-template-columns:minmax(0,1fr); }
.wide-primary .detail-chart-frame svg { max-height:310px; }
.regional-table-wrap { max-width:100%; overflow:auto; }
.regional-table { width:100%; border-collapse:collapse; font-size:13px; }
.regional-table th,.regional-table td { padding:10px 6px; text-align:right; border-bottom:1px solid var(--line); }
.regional-table th:first-child { text-align:left; }
.chart-grid { align-items:start; }
.scope-note { display:block; margin-top:4px; font-size:11px; line-height:1.45; color:var(--muted); }
.horizontal-bars { display:grid; gap:12px; font-size:12px; }
.horizontal-axis { color:var(--muted); }
.horizontal-row { display:grid; gap:5px; }
.horizontal-track { position:relative; height:12px; background:#e9ede8; }
.horizontal-zero { position:absolute; top:-2px; height:16px; border-left:1px solid #61746a; }
.horizontal-bar { position:absolute; height:12px; background:var(--green); }
.horizontal-bar.forecast { background:#fffdf5; border:1px dashed var(--green); }
@media(max-width:760px) {
  .chart-grid { grid-template-columns:minmax(0,1fr); }
  .sector-row { grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:4px 12px; }
  .sector-row > strong:first-child,.row-metric { grid-column:1 / -1; }
  .row-period { grid-column:1 / -1; }
  .pipeline-target { border:0; padding:0; }
}
@media(max-width:300px) {
  .sector-row { grid-template-columns:minmax(0,1fr); }
  .sector-row > * { overflow-wrap:anywhere; }
  .detail-chart-header h3 { font-size:19px; }
}
