/* State of the Prompt: the report template (navy site header, masthead, takeaways
   panel, then a reading column with figures beside a sticky contents list).
   Shared by every page under reports/. */
:root {
  --night: #0f1724;
  --night-line: rgba(255, 255, 255, 0.12);
  --on-night: #e8ecf2;
  --on-night-2: #aab4c4;
  --glow: #ffcf86;
  --ink: #13233a;
  --ink-2: #595959;
  --ink-3: #6b6b6b;   /* 4.5:1 or better on white and on the gray panels */
  --rule: #e1e1e1;
  --paper: #ffffff;
  --mist: #f3f3f3;
  --scarlet: #cc0033;
  --scarlet-dark: #a3002a;
  --data-red: #b00b33;
  --data-blue: #0e77a4;
  --gray-bar: #cfcfcf;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", "Segoe UI", Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; text-wrap: balance; margin: 0; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--scarlet); outline-offset: 2px; }
.skip { position: absolute; left: -9999px; top: 8px; background: #fff; color: var(--ink); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

.top { background: var(--night); color: var(--on-night); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 21px; font-weight: 500; text-decoration: none; }
.brand img { display: block; }
.nav { display: flex; gap: 6px 22px; font-size: 14px; color: var(--on-night-2); flex-wrap: wrap; }
@media (max-width: 480px) { .nav { column-gap: 16px; } }
.nav a { text-decoration: none; }
.nav a:hover { color: #fff; }
.nav a[aria-current] { color: #fff; border-bottom: 2px solid var(--scarlet); padding-bottom: 2px; }

.mast { border-bottom: 1px solid var(--rule); padding-block: 26px 30px; }
.crumb { font-size: 13px; color: var(--ink-3); margin-bottom: 14px; }
.crumb a { text-decoration: none; color: var(--ink-2); }
.crumb a:hover { color: var(--scarlet); }
.kicker { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; color: var(--scarlet); }
.mast h1 { font-size: clamp(34px, 4.8vw, 54px); line-height: 1.06; margin-top: 8px; max-width: 18em; }
.dek { font-family: var(--serif); font-size: clamp(19px, 2vw, 22px); line-height: 1.45; color: var(--ink-2); margin-top: 14px; max-width: 38em; }
.byline { font-size: 14px; color: var(--ink-3); margin-top: 16px; }
.btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; align-items: center; }
.btn { font: 500 14px var(--sans); padding: 9px 16px; border-radius: 4px; cursor: pointer; border: 1px solid var(--ink-3); background: var(--paper); color: var(--ink); text-decoration: none; }
.btn:hover { background: var(--mist); }
.btn-red { background: var(--scarlet); color: #fff; border-color: var(--scarlet); }
.btn-red:hover { background: var(--scarlet-dark); }
.btn-note { font-size: 13px; color: var(--ink-2); }

.takeaways { background: var(--night); color: var(--on-night); border-radius: 10px; padding: 26px 30px; margin-top: 30px; }
.takeaways h2 { font-family: var(--sans); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; color: var(--glow); margin-bottom: 14px; }
.takeaways ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 32px; }
.takeaways li { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 14px; align-items: start; }
.takeaways b { font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1.05; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.takeaways span { font-size: 15px; color: #c9d1dd; line-height: 1.5; }

.layout { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 56px; padding-block: 40px 30px; align-items: start; }
.toc { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 18px); font-size: 14px; }
.toc p { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; color: var(--ink-3); margin-bottom: 10px; }
.toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; border-left: 2px solid var(--rule); }
.toc a { display: block; text-decoration: none; color: var(--ink-2); padding-left: 12px; margin-left: -2px; border-left: 2px solid transparent; }
.toc a:hover { color: var(--scarlet); border-left-color: var(--scarlet); }

.article { max-width: 760px; min-width: 0; }
.article section { margin-bottom: 44px; scroll-margin-top: 20px; }
.article h2 { font-size: 30px; margin-bottom: 10px; }
.article p { font-size: 17px; line-height: 1.7; margin-bottom: 14px; }
figure { margin: 22px 0 8px; padding: 18px 20px 14px; background: var(--mist); border-radius: 8px; }
figure h3 { font-family: var(--sans); font-size: 15px; font-weight: 600; margin-bottom: 2px; }
figure .fsub { font-size: 13px; color: var(--ink-3); margin-bottom: 14px; }
figcaption { font-size: 12.5px; color: var(--ink-3); margin-top: 10px; }
.bars { display: grid; gap: 8px; grid-auto-rows: 1fr; } /* every row as tall as the tallest, so a wrapped label does not leave the chart uneven */
.brow { display: grid; grid-template-columns: minmax(0, 190px) minmax(0, 1fr) 56px; gap: 12px; align-items: center; }
.blabel { font-size: 14px; line-height: 1.25; text-align: right; overflow-wrap: anywhere; }
.track { position: relative; height: 20px; background: var(--paper); border-radius: 3px; }
.fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; background: var(--gray-bar); }
.fill.hi { background: var(--data-red); }
.fill.blue { background: var(--data-blue); }
.bval { font-size: 14px; font-variant-numeric: tabular-nums; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.two figure { margin-top: 0; }
.two .brow { grid-template-columns: minmax(0, 130px) minmax(0, 1fr) 48px; gap: 8px; }
.stack { display: flex; height: 38px; border-radius: 4px; overflow: hidden; margin-top: 4px; }
.stack div { display: flex; align-items: center; padding: 0 10px; font-size: 13px; font-weight: 600; color: #fff; white-space: nowrap; min-width: 0; overflow: hidden; }
.stack-key { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: var(--ink-2); margin-top: 10px; }
.stack-key span { display: inline-flex; align-items: center; gap: 6px; }
.sw { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }
.line svg { width: 100%; display: block; }

.callout { background: var(--paper); border: 1px solid var(--rule); border-left: 4px solid var(--scarlet); border-radius: 0; padding: 16px 20px; margin: 6px 0 22px; }
.callout h3 { font-family: var(--sans); font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.article .callout p { font-size: 15.5px; line-height: 1.65; color: var(--ink-2); margin: 0; }
.method { background: var(--mist); border-radius: 8px; padding: 20px 22px; }
.method p { font-size: 15px; color: var(--ink-2); margin-bottom: 10px; }
.article .method p { font-size: 15px; line-height: 1.6; }
.method p:last-child { margin-bottom: 0; }
.related { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.rel { display: block; text-decoration: none; border: 1px solid var(--rule); border-radius: 8px; padding: 14px 16px; }
.rel:hover { border-color: var(--ink-3); }
.rel small { display: block; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; color: var(--scarlet); }
.rel b { font-family: var(--serif); font-weight: 500; font-size: 19px; }

footer { background: var(--night); color: var(--on-night-2); padding-block: 22px; font-size: 13px; margin-top: 20px; }
.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot a { text-decoration: none; }
.foot a:hover { color: #fff; }

@media (max-width: 900px) {
  .layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .toc { display: none; }
  .takeaways ul, .two, .related { grid-template-columns: minmax(0, 1fr); }
  .brow { grid-template-columns: minmax(0, 120px) minmax(0, 1fr) 50px; gap: 8px; }
}
@media (max-width: 480px) {
  .takeaways { padding: 22px 20px; }
  .takeaways li { grid-template-columns: 88px minmax(0, 1fr); }
  .takeaways b { font-size: 26px; }
}
