/* Story layer (pipeline/story.py): the night-sky bands of the Nepal Budget 2083/84 site, used for each topic's head
   and the home page's opening, and the receipt viewer ("See it in the government file", assets/story.js).
   A .story band is always dark, whatever the visitor's theme: it redefines the site's tokens, so everything inside it
   (cards, sparklines, badges, buttons) reads them as it does elsewhere. */
.story{
  color-scheme:dark;
  --bg:#06070a; --bg-2:#0c0e13; --surface:rgba(255,255,255,.045); --surface-2:rgba(255,255,255,.08); --surface-3:rgba(255,255,255,.14);
  --line:rgba(255,255,255,.1); --line-2:rgba(255,255,255,.2); --line-strong:#64748b;
  --ink:#f4f6fa; --ink-2:#c3cad6; --muted:#9aa3b2;
  --accent:#5b9bff; --accent-ink:#a5c6ff; --accent-soft:rgba(91,155,255,.16); --on-accent:#06070a;
  --good:#34d399; --bad:#f87171; --warn:#fbbf24; --warn-ink:#fbbf24;
  --c1:#5b9bff; --c2:#64748b; --c3:#2dd4bf; --c4:#fbbf24; --c5:#a78bfa; --grid:rgba(255,255,255,.08);
  --k1:#5b9bff; --k2:#2dd4bf; --k3:#fb923c; --k4:#e879f9; --k5:#fb7185; --k6:#a3e635; --k7:#fde68a; --k8:#94a3b8;
  --q0:#1e293b; --q1:#172554; --q2:#1e40af; --q3:#2563eb; --q4:#60a5fa; --q5:#bfdbfe;
  --d1:#fb923c; --d2:#9a3412; --d3:#334155; --d4:#1e40af; --d5:#60a5fa;
  --shadow:0 1px 2px rgba(0,0,0,.4),0 10px 34px rgba(0,0,0,.35);
  position:relative; isolation:isolate; overflow:hidden; color:var(--ink);
  background:
    radial-gradient(1100px 520px at 80% -10%, rgba(91,155,255,.22), transparent 62%),
    radial-gradient(760px 420px at 6% 2%, rgba(144,133,233,.12), transparent 60%),
    linear-gradient(180deg,#04050a 0%,#080c15 62%,#0c1322 100%);
}
.story::before{ /* a sky of fixed stars (assets/sky-stars.svg, pipeline/story.py) */
  content:""; position:absolute; inset:0; z-index:-2; pointer-events:none; opacity:.85;
  background:url(sky-stars.svg) center top/cover no-repeat;
}
/* the mountains at the band's foot (assets/sky-ridge.svg): the budget site's three ranges; the band keeps room for them */
.story{--ridge-h:clamp(88px,13vw,190px)}
.story .ridge{position:absolute; left:0; right:0; bottom:0; height:var(--ridge-h); z-index:-1; pointer-events:none;
  background:url(sky-ridge.svg) center bottom/100% 100% no-repeat}
.story a{color:var(--accent-ink)}
.story .kicker{font-size:12.5px; font-weight:650; letter-spacing:.09em; text-transform:uppercase; color:var(--accent-ink)}
.story .kicker a{color:inherit; text-decoration:none}
.story .kicker a:hover{text-decoration:underline}

/* ---------- topic head ---------- */
.st-hero{padding-block:clamp(36px,6vw,80px) calc(var(--ridge-h) + 16px)}
.story.st-hero h1{display:flex; align-items:center; gap:14px; margin-top:14px; font-size:clamp(30px,4.6vw,46px); letter-spacing:-.025em; line-height:1.08}
.story.st-hero h1 .ticon{display:block; flex:none; width:46px; height:46px; padding:11px; margin:0; border-radius:13px; background:var(--accent-soft); color:var(--accent-ink)}
.st-num{margin-top:clamp(20px,3.4vw,34px); font-size:clamp(46px,10.6vw,128px); font-weight:800; letter-spacing:-.045em; line-height:.95;
  font-variant-numeric:tabular-nums;
  background:linear-gradient(180deg,#fff 35%,#a9c3f5); -webkit-background-clip:text; background-clip:text; color:transparent}
/* the big number shows its published value from the first paint (no count-up, design review #4); its only motion is a
   short rise into place: opacity and position, never the digits, and none with reduced motion */
@media (prefers-reduced-motion:no-preference){
  .st-num{animation:st-rise 400ms ease-out both}
  @keyframes st-rise{from{opacity:0;transform:translateY(8px)}}
}
.st-line{margin-top:14px; max-width:30em; font-size:clamp(19px,2.5vw,29px); font-weight:600; line-height:1.28; letter-spacing:-.012em; text-wrap:balance; color:var(--ink)}
.st-line .fig-num{color:#fff}
.st-meta{display:flex; flex-wrap:wrap; align-items:center; gap:6px 12px; margin-top:14px; font-size:13.5px; color:var(--muted)}
.story.st-hero .lede{margin-top:22px; max-width:44em; font-size:clamp(16px,1.6vw,18.5px); line-height:1.6; color:var(--ink-2)}
.story.st-hero .kpis{margin-top:34px}
.story .kpi.card{background:var(--surface); border-color:var(--line); -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px)}
.story .kpi.card:hover{border-color:var(--line-2); background:var(--surface-2); box-shadow:var(--shadow)}
.story .kpi .val{color:#fff}

/* a highlight card: the whole card opens the figure's page (stretched link); the receipt button sits above it */
.kpi.card{position:relative}
.kpi .kpi-a{color:inherit; text-decoration:none; outline:none}
.kpi .kpi-a::after{content:""; position:absolute; inset:0; border-radius:inherit; z-index:0}
.kpi.card:has(.kpi-a:focus-visible){outline:2px solid var(--accent); outline-offset:2px}
.kpi .rc-btn{position:relative; z-index:1}

/* ---------- the receipt button ---------- */
.rc-btn{display:inline-flex; align-items:center; gap:6px; align-self:flex-start; margin-top:4px; padding:6px 11px 6px 9px;
  border-radius:999px; border:1px solid var(--line-2); background:transparent; color:var(--accent-ink);
  font:600 12.5px/1.1 var(--sans); cursor:pointer; text-align:left;
  transition:background var(--ease),border-color var(--ease),color var(--ease),transform var(--ease)}
.rc-btn svg{width:14px; height:14px; flex:none}
.rc-btn:hover{background:var(--accent-soft); border-color:var(--accent)}
.rc-btn:active{transform:translateY(1px)}
.rc-btn:focus-visible{outline:2px solid var(--accent); outline-offset:2px}
.rc-btn:disabled{opacity:.5; cursor:default}
.rc-btn[aria-busy="true"]{cursor:progress; opacity:.75}

/* ---------- the receipt viewer ---------- */
dialog.rc-dlg{width:min(1000px,calc(100vw - 24px)); max-height:calc(100dvh - 24px); padding:0; border:1px solid var(--line-2);
  border-radius:20px; background:var(--bg); color:var(--ink); box-shadow:0 30px 90px rgba(0,0,0,.45)}
dialog.rc-dlg::backdrop{background:rgba(3,6,12,.74); -webkit-backdrop-filter:blur(4px); backdrop-filter:blur(4px)}
dialog.rc-dlg[open]{display:flex; flex-direction:column}
.rc-head{display:flex; justify-content:space-between; align-items:flex-start; gap:16px; padding:18px 20px 14px; border-bottom:1px solid var(--line)}
.rc-kick{font-size:12px; font-weight:650; letter-spacing:.08em; text-transform:uppercase; color:var(--accent-ink)}
.rc-title{margin-top:4px; font-size:clamp(17px,2.2vw,21px); font-weight:700; letter-spacing:-.01em; line-height:1.25}
.rc-title b{white-space:nowrap}
.rc-x{flex:none; display:inline-grid; place-items:center; width:36px; height:36px; border-radius:999px; border:1px solid var(--line-2);
  background:var(--surface); color:var(--ink); cursor:pointer; transition:background var(--ease),border-color var(--ease)}
.rc-x:hover{background:var(--surface-2); border-color:var(--ink-2)}
.rc-x:focus-visible{outline:2px solid var(--accent); outline-offset:2px}
.rc-x svg{width:16px; height:16px}
.rc-body{overflow:auto; padding:16px 20px 18px; min-height:0}
.rc-paper{margin:0; border-radius:10px; overflow:hidden; background:#fff; border:1px solid #cbd5e1; box-shadow:0 1px 2px rgba(15,23,42,.12),0 12px 32px rgba(15,23,42,.18)}
.rc-paper img{display:block; width:100%; height:auto}
.rc-cap{margin-top:10px; font-size:13.5px; color:var(--ink-2); line-height:1.5}
.rc-cap mark{background:#ffe08a; color:#1f2937; padding:0 3px; border-radius:3px; outline:2px solid #ea580c; outline-offset:0}
.rc-unit{margin-top:8px; font-size:13.5px; color:var(--ink-2)}
.rc-sheet{overflow-x:auto; border-radius:10px; border:1px solid #cbd5e1; background:#fff}
.rc-sheet table{border-collapse:collapse; font:13px/1.35 var(--mono); color:#0f172a; min-width:100%}
.rc-sheet th,.rc-sheet td{border:1px solid #e2e8f0; padding:6px 10px; white-space:nowrap; text-align:right}
.rc-sheet thead th,.rc-sheet tbody th{background:#f1f5f9; color:#475569; font-weight:600; text-align:center}
.rc-sheet td.t{text-align:left; max-width:24em; overflow:hidden; text-overflow:ellipsis}
.rc-sheet td.hi{background:#fff3bf; outline:3px solid #ea580c; outline-offset:-3px; font-weight:700}
.rc-tab{display:inline-block; margin-bottom:8px; padding:4px 10px; border-radius:6px 6px 0 0; background:#e2e8f0; color:#0f172a; font:600 12.5px/1.2 var(--sans)}
.rc-facts{display:grid; grid-template-columns:max-content minmax(0,1fr); gap:6px 18px; margin:16px 0 0; font-size:13.5px}
.rc-facts dt{color:var(--muted)}
.rc-facts dd{margin:0; color:var(--ink-2); overflow-wrap:anywhere}
.rc-facts code{font:12.5px var(--mono); color:var(--ink)}
.rc-foot{display:flex; flex-wrap:wrap; gap:10px; padding:14px 20px 18px; border-top:1px solid var(--line)}
.rc-foot .btn{text-decoration:none}
@media (max-width:560px){.rc-facts{grid-template-columns:minmax(0,1fr)} .rc-facts dt{margin-top:6px}}

/* ---------- home: the opening ---------- */
/* overflow stays visible here so the search suggestions can open over the next band; z-index keeps them above it */
.hm-story{--ridge-h:clamp(120px,19vw,300px); overflow:visible; z-index:2; padding-block:clamp(40px,6.5vw,88px) calc(var(--ridge-h) + 8px)}
.hm-sgrid{display:grid; grid-template-columns:minmax(0,1fr); gap:clamp(28px,4vw,56px); align-items:center}
@media (min-width:1024px){.hm-sgrid{grid-template-columns:minmax(0,1.12fr) minmax(0,1fr)}}
.hm-story h1{max-width:16em; font-size:clamp(34px,5.2vw,60px); font-weight:750; letter-spacing:-.032em; line-height:1.04; text-wrap:balance}
html[data-lang="ne"] .hm-story h1{line-height:1.24; letter-spacing:-.01em}
.hm-story .hm-lede{margin:18px 0 0; max-width:40em; color:var(--ink-2)}
.hm-story .hm-q{margin:28px 0 0}
.hm-story .hm-q input{background:transparent; color:var(--ink)}
.hm-story .hm-q input::placeholder{color:var(--muted)}
.hm-story .hm-dd{background:#0f1522; border-color:var(--line-2)}
.hm-story .hm-try{color:var(--muted)}
.hm-story .hm-try a{background:var(--surface); border-color:var(--line); color:var(--ink-2)}
.hm-story .hm-try a:hover{border-color:var(--line-2); color:var(--ink)}
.hm-sfig{min-width:0; padding:clamp(20px,3vw,32px); border:1px solid var(--line); border-radius:24px;
  background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.025)); -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px)}
.hm-sfig{container-type:inline-size}
.hm-sfig .st-num{margin-top:12px; font-size:clamp(40px,5.6vw,80px); white-space:nowrap}
@supports (font-size:1cqi){.hm-sfig .st-num{font-size:min(16cqi,88px)}}
.hm-sfig .st-line{font-size:clamp(18px,1.9vw,23px)}
.hm-sproof{margin-top:12px; font-size:15px; line-height:1.5; color:var(--ink-2)}
.st-stats{display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr)); gap:10px; margin:clamp(28px,4vw,44px) 0 0; padding:0; list-style:none}
.st-stats li{padding:14px 16px; border:1px solid var(--line); border-radius:14px; background:var(--surface)}
.st-stats b{display:block; font-size:clamp(22px,2.6vw,28px); font-weight:750; letter-spacing:-.02em; color:#fff; font-variant-numeric:tabular-nums}
.st-stats li>span{font-size:13.5px; color:var(--ink-2)}

/* the map, in its own light band after the opening */
.hm-mapband .hm-mapfig{margin-top:0}

/* ---------- home: if Nepal were 100 people ---------- */
.hm-100{padding-block:clamp(48px,7vw,96px) clamp(64px,9vw,120px)}
.hm-100:focus{outline:none}
.hm-100 h2{margin-top:10px; font-size:clamp(30px,4.6vw,52px); letter-spacing:-.03em; line-height:1.05; text-wrap:balance}
html[data-lang="ne"] .hm-100 h2{line-height:1.25; letter-spacing:-.01em}
.hm-100 .sub{margin-top:10px; max-width:42em; font-size:clamp(16px,1.6vw,18px); color:var(--ink-2)}
.p100-tabs{display:flex; flex-wrap:wrap; gap:8px; margin-top:26px}
.p100-tabs button{font:600 14px/1 var(--sans); padding:10px 14px; border-radius:999px; border:1px solid var(--line-2); background:transparent; color:var(--ink-2);
  cursor:pointer; transition:background var(--ease),color var(--ease),border-color var(--ease)}
.p100-tabs button:hover{color:var(--ink); border-color:var(--ink-2)}
.p100-tabs button:focus-visible{outline:2px solid var(--accent); outline-offset:2px}
.p100-tabs button[aria-pressed="true"]{background:var(--ink); color:var(--bg); border-color:var(--ink)}
.p100{display:grid; grid-template-columns:minmax(0,1fr); gap:28px; margin-top:28px; align-items:start}
@media (min-width:900px){.p100{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr); gap:48px}}
.p100-dots{display:grid; grid-template-columns:repeat(10,minmax(0,1fr)); gap:clamp(5px,1vw,10px); max-width:520px; margin:0; padding:0; list-style:none}
.p100-dots li{aspect-ratio:1; border-radius:50%; background:var(--c, #334155); box-shadow:inset 0 -3px 6px rgba(0,0,0,.25);
  transition:background-color 520ms cubic-bezier(.2,.7,.2,1); transition-delay:calc(var(--i, 0) * 6ms)}
.p100-dots li.off{background:transparent; box-shadow:inset 0 0 0 2px rgba(255,255,255,.22)}
.p100-info{min-width:0}
.p100-say{font-size:clamp(22px,3vw,34px); font-weight:700; letter-spacing:-.02em; line-height:1.18; text-wrap:balance; min-height:2.4em}
.p100-say .fig-num{color:#fff}
.p100-legend{display:grid; gap:8px; margin:20px 0 0; padding:0; list-style:none}
.p100-legend li{display:grid; grid-template-columns:14px minmax(0,1fr) auto; align-items:center; gap:10px; font-size:15px; color:var(--ink-2)}
.p100-legend i{width:14px; height:14px; border-radius:50%; background:var(--c)}
.p100-legend i.off{background:transparent; box-shadow:inset 0 0 0 2px rgba(255,255,255,.35)}
.p100-legend b{font-variant-numeric:tabular-nums; color:#fff}
.p100-src{margin-top:18px; font-size:12.5px; color:var(--muted); line-height:1.5}
.p100-src a{color:var(--accent-ink)}

@media (prefers-reduced-motion:reduce){.p100-dots li{transition:none}}

/* ---------- reports, explained (pipeline/report_pages.py) ---------- */
/* about this report: the report drawn as a document, and what it is */
.rp-about{display:grid; grid-template-columns:minmax(0,1fr); gap:24px; padding-block:40px 8px; align-items:start}
@media (min-width:720px){.rp-about{grid-template-columns:200px minmax(0,1fr); gap:48px}}
.rp-doc{position:relative; display:flex; flex-direction:column; gap:8px; width:min(200px,56vw); aspect-ratio:1/1.414; padding:20px 16px 16px 26px;
  border-radius:6px 12px 12px 6px; border:1px solid var(--line-2); background:linear-gradient(160deg,var(--surface-2),var(--surface));
  box-shadow:5px 5px 0 -1px var(--bg), 5px 5px 0 0 var(--line-2), 10px 10px 0 -1px var(--bg), 10px 10px 0 0 var(--line), var(--shadow)}
.rp-doc::before{content:""; position:absolute; left:-1px; top:-1px; bottom:-1px; width:9px; border-radius:6px 0 0 6px; background:var(--accent)}
.rp-doc-t{font-size:17px; font-weight:750; line-height:1.22; letter-spacing:-.01em; color:var(--ink); text-wrap:balance}
.rp-doc-p{font-size:11.5px; font-weight:650; line-height:1.35; letter-spacing:.07em; text-transform:uppercase; color:var(--muted)}
.rp-doc-n{margin-top:auto; font-size:13px; color:var(--muted); font-variant-numeric:tabular-nums}
.rp-about-b{min-width:0}
.rp-about h2{font-size:clamp(24px,3.2vw,30px)}
.rp-dl{display:grid; grid-template-columns:minmax(0,1fr); margin:16px 0 0}
.rp-dl dt{margin-top:12px; font-size:12.5px; font-weight:650; letter-spacing:.06em; text-transform:uppercase; color:var(--muted)}
.rp-dl dd{margin:2px 0 0; color:var(--ink); overflow-wrap:anywhere}
.rp-dl code{font:13px/1.4 var(--mono); color:var(--ink-2)}
@media (min-width:560px){
  .rp-dl{grid-template-columns:max-content minmax(0,1fr); column-gap:24px}
  .rp-dl dt,.rp-dl dd{margin:0; padding-block:10px; border-top:1px solid var(--line)}
  .rp-dl dt{padding-top:13px}
}
.rp-links{display:flex; flex-wrap:wrap; gap:8px; margin-top:24px}

/* what's in the report: its parts as one bar of its pages, dots on the pages the findings come from */
.rp-bar{position:relative; display:flex; height:32px; margin:8px 0 24px; border-radius:8px; overflow:hidden; background:var(--surface-2)}
.rp-b{display:block; min-width:3px; background:var(--c)}
.rp-b+.rp-b{box-shadow:inset 2px 0 0 var(--bg)}
.rp-pin{position:absolute; top:50%; width:14px; height:14px; margin:-7px 0 0 -7px; border-radius:50%; background:var(--bg); border:3px solid var(--ink)}
.rp-parts{display:grid; grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),1fr)); column-gap:32px; margin:0; padding:0; list-style:none}
.rp-parts li{display:grid; grid-template-columns:12px minmax(0,1fr); align-content:start; column-gap:12px; padding-block:12px; border-top:1px solid var(--line)}
.rp-sw{grid-row:1 / span 2; width:12px; height:12px; margin-top:6px; border-radius:3px; background:var(--c)}
.rp-pn{display:flex; flex-wrap:wrap; align-items:baseline; gap:2px 10px; min-width:0}
.rp-pn a{font-weight:650; color:var(--ink); text-decoration:none; transition:color var(--ease)}
.rp-pn a:hover{color:var(--accent-ink); text-decoration:underline}
.rp-pp{font-size:13px; color:var(--muted); font-variant-numeric:tabular-nums}
.rp-pw{grid-column:2; margin-top:2px; font-size:14.5px; line-height:1.45; color:var(--ink-2)}

/* under a finding's text: the government file, and the page of the report */
.tsec-proof{display:flex; flex-wrap:wrap; align-items:center; gap:8px 16px; margin:-12px 0 28px}
.tsec-proof .rc-btn{margin-top:0}
.rp-page{display:inline-flex; flex-wrap:wrap; align-items:center; min-height:32px; font-size:14.5px; font-weight:600}
.rp-ext{margin-left:4px; font-weight:400; color:var(--muted)}

/* words to know */
.rp-wl{display:grid; grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr)); gap:16px 32px; margin:0}
.rp-w{padding-top:12px; border-top:1px solid var(--line)}
.rp-w dt{font-weight:650}
.rp-w dd{margin:4px 0 0; font-size:15.5px; line-height:1.5; color:var(--ink-2)}

/* a topic page's link to the reports explained for it */
.rp-banners{display:grid; gap:12px; padding-block:32px 0}
.rp-banners+.rp-banners{padding-top:12px}
.rp-banner{display:grid; gap:4px; padding:16px 20px 18px; border:1px solid var(--line); border-left:4px solid var(--accent); border-radius:var(--r-s);
  background:var(--surface); color:var(--ink); text-decoration:none; transition:border-color var(--ease),background-color var(--ease)}
.rp-banner:hover{border-color:var(--accent); background:var(--accent-soft); color:var(--ink)}
.rp-banner-k{font-size:12.5px; font-weight:650; letter-spacing:.08em; text-transform:uppercase; color:var(--accent-ink)}
.rp-banner-t{font-size:19px; font-weight:700; line-height:1.25; letter-spacing:-.01em}
.rp-banner-b{max-width:70ch; font-size:15px; line-height:1.45; color:var(--ink-2)}
.rp-banner-go{color:var(--accent-ink); transition:margin var(--ease)}
.rp-banner:hover .rp-banner-go{margin-left:4px}
@media (max-width:719px){.rp-about{gap:20px; padding-top:32px} .rp-doc{width:132px; padding:14px 12px 12px 20px} .rp-doc-t{font-size:14px} .rp-doc-p{font-size:10.5px}}

/* ---------- the reports page (reports.html) and a report's years ---------- */
.rp-hub-count{margin-top:12px; font-size:14px; font-weight:600; color:var(--muted)}
.rp-segnav{display:flex; gap:8px; overflow-x:auto; scrollbar-width:none; padding-block:4px 8px}
.rp-segnav a{flex:none; display:inline-flex; align-items:center; min-height:40px; padding:0 16px; border-radius:999px;
  background:var(--surface-2); color:var(--ink-2); font-size:15px; font-weight:600; text-decoration:none;
  transition:background-color var(--ease),color var(--ease)}
.rp-segnav a:hover{background:var(--surface-3); color:var(--ink)}
@media (min-width:720px){.rp-segnav{flex-wrap:wrap; overflow:visible}}   /* every segment in view: rows, not a hidden scroll */
/* the segments: one under another on a phone, side by side from a tablet up; a segment of two cards (.rp-seg-wide)
   takes two columns. Each starts with a rule, like the site's sections. */
.rp-segs{display:grid; grid-template-columns:minmax(0,1fr); column-gap:24px; padding-bottom:40px}
.rp-seg{display:flex; flex-direction:column; padding-block:24px; border-top:1px solid var(--line)}
.rp-seg .rp-cards{flex:1}
.rp-seg-wide .rp-cards{column-gap:24px}     /* its cards line up with the columns below */
@media (min-width:720px){
  .rp-segs{grid-template-columns:repeat(2,minmax(0,1fr))}
  .rp-seg-wide{grid-column:1 / -1}
  .rp-seg h2{font-size:22px}
}
@media (min-width:1080px){
  .rp-segs{grid-template-columns:repeat(3,minmax(0,1fr))}
  .rp-seg-wide{grid-column:span 2}
}
.rp-seg h2{display:flex; align-items:center; gap:12px}
.rp-seg h2 .ticon{flex:none; width:40px; height:40px; padding:9px; border-radius:12px; background:var(--accent-soft); color:var(--accent-ink)}
.rp-cards{grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr)); margin-top:16px}
/* one card per series (report_pages.series_card): the subject leads, the year is small; the title's link covers the
   card and the other years' chips sit above it */
.rp-card{position:relative; color:var(--ink)}
.rp-card:hover{border-color:var(--accent); box-shadow:var(--shadow)}
.rp-card-k{font-size:13px; font-weight:600; line-height:1.4; color:var(--muted)}
.rp-card-t{font-size:19px; font-weight:700; line-height:1.3}
.rp-card-a{color:inherit; text-decoration:none}
.rp-card-a::after{content:""; position:absolute; inset:0}
.rp-card-b{font-size:14.5px; line-height:1.45; color:var(--ink-2)}
.rp-card-y{margin-top:auto; padding-top:4px; font-size:13px; font-weight:600; color:var(--muted); font-variant-numeric:tabular-nums}
.rp-card .rp-years{position:relative; z-index:1; margin-top:0}
@supports selector(:has(*)){
  .rp-card-a:focus-visible{outline:none}
  .rp-card:has(.rp-card-a:focus-visible){outline:2px solid var(--accent); outline-offset:2px}
}

/* a report's year switcher, under its title in the night-sky head */
.rp-years{display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-top:16px}
.rp-years-l{margin-right:4px; font-size:12.5px; font-weight:650; letter-spacing:.08em; text-transform:uppercase; color:var(--muted)}
.rp-yr{display:inline-flex; align-items:center; min-height:36px; padding:0 14px; border-radius:999px; border:1px solid var(--line-2);
  color:var(--ink-2); font-size:14.5px; font-weight:600; text-decoration:none; font-variant-numeric:tabular-nums;
  transition:background-color var(--ease),border-color var(--ease),color var(--ease)}
.story .rp-yr{color:var(--ink-2)}
.rp-yr:hover{background:var(--surface-2); border-color:var(--ink-2); color:var(--ink)}
.story .rp-yr.on,.rp-yr.on{background:var(--ink); border-color:var(--ink); color:var(--bg)}
