/* Layout concept: by night, a night sky of data above a bright sheet; by day, one light page from the header to the footer. The hero states the thesis as a sentence with real numbers and shows the chart behind it. The sheet below holds every subject as a bento of live mini charts. Pages, navigation and search all generate from two lists, so new analyses need no layout work. */
:root{
  color-scheme:light dark;
  --night:#090e0d;--night-2:#111816;--night-ink:#f3f7f5;--night-mute:rgba(243,247,245,.62);--night-line:rgba(243,247,245,.11);--mint:#00ec97;
  --page:#f4f5f5;--surface:#ffffff;--ink:#0c100f;--mute:#59625f;--faint:#646c69;--line:rgba(12,16,15,.09);--soft:#f1f3f2;--accent:#008a60;--wash:#e8faf2;
  --st-holds:#00704e;--st-pending:#2f5fd6;--st-notyet:#9a5512;--st-risk:#b53d2c;
  --shadow:0 1px 2px rgba(12,16,15,.04),0 14px 38px rgba(12,16,15,.06);--shadow-2:0 2px 6px rgba(12,16,15,.06),0 22px 54px rgba(12,16,15,.11);
  --chart-ink:#6a7370;--chart-grid:rgba(12,16,15,.07);--chart-surface:#ffffff;--chart-strong:#191f1d;--chart-mark:#a8b0ad;--chart-mute:#cfd5d2;--chart-font:'Instrument Sans',ui-sans-serif,system-ui,sans-serif;
  --chart-1:#00a874;--chart-2:#3f6fe8;--chart-3:#d97f2e;--chart-4:#7f62e0;
  --tip-bg:#0c100f;--tip-ink:#f3f7f5;--viz-faint:#9aa09e;
  --cal-bg:#f4f8f6;--cal-low:#e3f2ea;--cal-mid:#5cc59c;--cal-high:#00704a;--cal-ink:#59625f;--cal-mark:#0c100f;
  --font:'Instrument Sans',ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;--gutter:clamp(16px,3.2vw,52px);--r:16px;
}
:root:has(> head > meta[name="color-scheme"][content="light"]),:root[data-theme="light"]{color-scheme:light}
:root:has(> head > meta[name="color-scheme"][content="dark"]),:root[data-theme="dark"]{color-scheme:dark}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){
  --page:#0b0f0e;--surface:#131817;--ink:#eff3f1;--mute:#a4adaa;--faint:#7d8784;--line:rgba(239,243,241,.09);--soft:#1b211f;--accent:#2fe0a0;--wash:#0f2a20;--st-holds:#2fe0a0;--st-pending:#7c9cf5;--st-notyet:#e08a3c;--st-risk:#ef7563;
  --shadow:0 1px 0 rgba(255,255,255,.03) inset;--shadow-2:0 1px 0 rgba(255,255,255,.05) inset,0 18px 44px rgba(0,0,0,.4);
  --chart-ink:#8d9693;--chart-grid:rgba(239,243,241,.075);--chart-surface:#131817;--chart-strong:#e9edeb;--chart-mark:#5e6764;--chart-mute:#3c4441;
  --chart-1:#00ae78;--chart-2:#4f7fe8;--chart-3:#d07a2c;--chart-4:#8a70e0;--tip-bg:#eff3f1;--tip-ink:#131817;--viz-faint:#747a78;--cal-bg:#0b1211;--cal-low:#10231c;--cal-mid:#0a6b4c;--cal-high:#00ec97;--cal-ink:rgba(239,243,241,.6);--cal-mark:#ffffff;color-scheme:dark;
}}
:root[data-theme="dark"]{
  --page:#0b0f0e;--surface:#131817;--ink:#eff3f1;--mute:#a4adaa;--faint:#7d8784;--line:rgba(239,243,241,.09);--soft:#1b211f;--accent:#2fe0a0;--wash:#0f2a20;--st-holds:#2fe0a0;--st-pending:#7c9cf5;--st-notyet:#e08a3c;--st-risk:#ef7563;
  --shadow:0 1px 0 rgba(255,255,255,.03) inset;--shadow-2:0 1px 0 rgba(255,255,255,.05) inset,0 18px 44px rgba(0,0,0,.4);
  --chart-ink:#8d9693;--chart-grid:rgba(239,243,241,.075);--chart-surface:#131817;--chart-strong:#e9edeb;--chart-mark:#5e6764;--chart-mute:#3c4441;
  --chart-1:#00ae78;--chart-2:#4f7fe8;--chart-3:#d07a2c;--chart-4:#8a70e0;--tip-bg:#eff3f1;--tip-ink:#131817;--viz-faint:#747a78;--cal-bg:#0b1211;--cal-low:#10231c;--cal-mid:#0a6b4c;--cal-high:#00ec97;--cal-ink:rgba(239,243,241,.6);--cal-mark:#ffffff;color-scheme:dark;
}
*{box-sizing:border-box}
body{margin:0;background:var(--page);color:var(--ink);font:400 16px/1.55 var(--font);-webkit-font-smoothing:antialiased;min-height:100vh;display:flex;flex-direction:column}
/* On a short page the footer still sits at the foot of the window */
main{flex:1 0 auto;min-width:0}
a{color:var(--accent);text-underline-offset:2px}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:4px}
h1,h2,h3{margin:0;font-weight:500;text-wrap:balance;letter-spacing:-.022em}
p{margin:0}
.wrap{padding-inline:max(var(--gutter),env(safe-area-inset-left,0px)) max(var(--gutter),env(safe-area-inset-right,0px));max-width:1460px;margin-inline:auto}

/* Header: a bar of glass, dark by night and light by day (day mode sets its paint, further down). The subjects sit in a rounded track, on the bar's one
   line or on a row of their own under it (fits 4 and 5, and phones); the page you are on is a pill lit in its
   subject's colour. No tab changes width when it is the current one, so the bar keeps its layout from page to page. */
.head{position:sticky;top:0;z-index:30;background:rgba(9,14,13,.94);backdrop-filter:saturate(1.6) blur(18px);-webkit-backdrop-filter:saturate(1.6) blur(18px);box-shadow:0 1px 0 var(--night-line);color:var(--night-ink);transition:--cur-x .34s cubic-bezier(.3,.7,.2,1)}
/* A spot of the current subject's colour on the bar's lower edge, under that subject. The script sets where and which. */
@property --cur-x{syntax:'<length>';inherits:true;initial-value:-999px}
.head::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;pointer-events:none;background:radial-gradient(96px 2px at var(--cur-x) 50%,var(--cur-hue,transparent),transparent)}
.head :focus-visible{outline-color:var(--mint)}
.head-in{display:flex;align-items:center;gap:6px 22px;min-height:60px;flex-wrap:wrap}
.brand{display:flex;align-items:center;gap:10px;font-weight:600;font-size:16.5px;letter-spacing:-.02em;color:var(--night-ink);text-decoration:none;white-space:nowrap}
.brand svg{flex:none;filter:drop-shadow(0 0 9px rgba(0,236,151,.3));transition:filter .2s}
.brand:hover svg{filter:drop-shadow(0 0 12px rgba(0,236,151,.55))}
/* The site is NEAR Hub: the borrowed word is set quieter, so the weight falls on the site's own */
.brand-q{font-weight:400;color:var(--night-mute)}
.tabs{position:relative;display:flex;gap:2px;overflow-x:auto;scrollbar-width:none;flex:0 1 auto;min-width:0}
.head .tabs{padding:3px;border-radius:12px;background:rgba(255,255,255,.045);box-shadow:inset 0 0 0 1px rgba(255,255,255,.06)}
.tabs a{position:relative;z-index:1;display:inline-flex;align-items:center;padding:5px 10px;border-radius:9px;color:var(--night-mute);text-decoration:none;font-size:14px;white-space:nowrap;transition:color .15s}
.tabs a:hover,.tabs a[aria-current]{color:var(--night-ink)}
/* The pill behind the current page slides to it and glows in its subject's colour; a fainter pill follows the pointer.
   Both are placed by the script, so the links themselves carry no background. */
.tab-glide,.tab-hov{position:absolute;left:0;top:0;z-index:0;border-radius:9px;pointer-events:none;opacity:0;transition:transform .34s cubic-bezier(.3,.7,.2,1),width .34s cubic-bezier(.3,.7,.2,1),opacity .2s,background-color .34s,box-shadow .34s}
.tab-glide{background:color-mix(in srgb,var(--tab-hue,#00ec97) 20%,rgba(255,255,255,.1));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--tab-hue,#00ec97) 36%,rgba(255,255,255,.1)),0 6px 18px -6px color-mix(in srgb,var(--tab-hue,#00ec97) 72%,transparent)}
.tab-hov{background:rgba(255,255,255,.07);transition-duration:.18s}
@media (prefers-reduced-motion:reduce){.tab-glide,.tab-hov,.head{transition:none}}
.tabs .tab-x{display:none}.tabs .tab-x.first{margin-left:11px;position:relative}.tabs .tab-x.first::before{content:"";position:absolute;left:-6px;top:7px;bottom:7px;border-left:1px solid var(--night-line)}
.tabs .new{font-size:10.5px;font-weight:700;color:#04261a;background:var(--mint);border-radius:4px;padding:0 4px;margin-left:5px}
.tools{display:flex;align-items:center;gap:5px;margin-left:auto}
.tools a{display:inline-flex;align-items:center;justify-content:center;color:var(--night-mute);text-decoration:none;font-size:14px;padding:6px 9px;border-radius:9px;white-space:nowrap;transition:color .15s,background .15s}
.tools a svg{display:none;flex:none}
.tools a:hover{color:var(--night-ink);background:rgba(255,255,255,.07)}
.tools a[aria-current]{color:var(--night-ink);background:rgba(255,255,255,.13);box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}
.tools a+.findbtn{margin-left:5px}
.tally{display:flex;flex-wrap:wrap;gap:4px 16px}
.sec-head .tally .stamp{font-size:13px}.sec-head .tally .holds{color:var(--st-holds)}.sec-head .tally .pending{color:var(--st-pending)}.sec-head .tally .notyet{color:var(--st-notyet)}.sec-head .tally .risk{color:var(--st-risk)}
.lf{display:inline-flex;align-items:center;gap:6px;margin:1px 14px 1px 0;white-space:nowrap}.lf svg{flex:none;color:var(--mute)}
/* Search reads as a field, and takes a field's width while the bar has room to spare */
.findbtn{display:flex;align-items:center;gap:8px;height:34px;padding:0 9px 0 11px;border-radius:10px;background:rgba(255,255,255,.05);box-shadow:inset 0 0 0 1px rgba(255,255,255,.08);color:var(--night-mute);font-size:13.5px;white-space:nowrap;transition:color .15s,background .15s,box-shadow .15s}
.head[data-fit="0"] .findbtn{min-width:150px}
.findbtn .fb-t{flex:1 1 auto;text-align:left}
.findbtn:hover{color:var(--night-ink);background:rgba(255,255,255,.08);box-shadow:inset 0 0 0 1px rgba(255,255,255,.2)}
.findbtn kbd{font:500 11px var(--font);border-radius:5px;padding:1px 6px;background:rgba(255,255,255,.09);color:var(--night-mute)}
.icon{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:rgba(255,255,255,.05);box-shadow:inset 0 0 0 1px rgba(255,255,255,.08);color:var(--night-mute);flex:none;transition:color .15s,background .15s,box-shadow .15s}
.icon:hover{color:var(--night-ink);background:rgba(255,255,255,.08);box-shadow:inset 0 0 0 1px rgba(255,255,255,.2)}
#theme .ic-moon{display:none}#theme .ic-sun{display:block}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) #theme .ic-moon{display:block}:root:not([data-theme="light"]) #theme .ic-sun{display:none}}
:root[data-theme="dark"] #theme .ic-moon{display:block}:root[data-theme="dark"] #theme .ic-sun{display:none}

/* Hero */
.night{background:radial-gradient(70% 90% at 88% -12%,rgba(0,236,151,.17),transparent 62%),radial-gradient(50% 70% at 8% 8%,rgba(63,111,232,.13),transparent 66%),var(--night);color:var(--night-ink);
  --chart-ink:rgba(243,247,245,.52);--chart-grid:rgba(243,247,245,.07);--chart-surface:#0b1110;--chart-strong:#f3f7f5;--chart-mark:rgba(243,247,245,.28);--tip-bg:#f3f7f5;--tip-ink:#0b1110;--accent:#00ec97}
/* The hero says the thesis as one sentence. Its two amounts wear the colours of the chart's two lines, so the sentence
   is also the chart's key, and a bar under it draws the two amounts to one scale: the mint part is what was kept, the
   rest is the gap the long case needs closed. Two actions follow. Beside it a panel of glass holds the four figures
   the case turns on and ends in the scorecard's tally; the chart follows. */
.hero{padding-block:clamp(28px,5vh,56px) clamp(46px,8vh,84px)}
.hero-top{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:clamp(28px,5vw,84px);align-items:center}
/* The thesis keeps its own title on the home page: a lit chip above the sentence, then what it is.
   Whose site this is not is said in the footer, on every page. */
.hero-kick{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:0 0 clamp(16px,2.6vh,26px);font-size:14.5px;color:var(--night-mute)}
.hero-kick b{display:inline-flex;align-items:center;gap:8px;min-height:28px;padding:0 12px 0 10px;border-radius:99px;background:rgba(0,236,151,.09);box-shadow:inset 0 0 0 1px rgba(0,236,151,.28);font-weight:600;font-size:13.5px;letter-spacing:-.005em;color:var(--night-ink);white-space:nowrap}
.hero-kick b::before{content:"";flex:none;width:6px;height:6px;border-radius:50%;background:var(--mint);box-shadow:0 0 9px var(--mint)}
.hero h1{font-size:clamp(34px,4.7vw,70px);font-weight:400;line-height:1.03;letter-spacing:-.04em}
/* Each amount is lit from above in its line's colour and throws a little of it on the night behind */
.hero h1 .h-n{font-weight:600;white-space:nowrap;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.hero h1 .h-iss{color:#ff9b54;background-image:linear-gradient(180deg,#ffc191,#ff9b54 52%,#f5852f);filter:drop-shadow(0 0 26px rgba(255,155,84,.3))}
.hero h1 .h-kept{color:var(--mint);background-image:linear-gradient(180deg,#7dfbd0,#00ec97 52%,#00cf85);filter:drop-shadow(0 0 26px rgba(0,236,151,.32))}
.hero h1 .h-b{display:block}
/* The sentence, drawn: one track as long as the value issued, its lit part as long as the revenue kept */
.gapbar{margin-top:clamp(18px,3vh,30px);max-width:46em}
.gb-track{display:flex;height:12px;border-radius:99px;background:repeating-linear-gradient(135deg,rgba(255,155,84,.36) 0 5px,rgba(255,155,84,.2) 5px 10px);box-shadow:inset 0 0 0 1px rgba(255,155,84,.3)}
.gb-track i{display:block;flex:none;min-width:12px;height:100%;border-radius:99px;background:linear-gradient(90deg,#00b377,#00ec97);box-shadow:0 0 0 2px var(--night),0 0 22px rgba(0,236,151,.6)}
.gb-key{display:grid;grid-template-columns:minmax(max-content,var(--k)) minmax(0,1fr);column-gap:8px;margin-top:8px;font-size:12.5px;line-height:1.3}
.gb-key .k{color:var(--mint)}
.gb-key .g{text-align:center;color:#ff9b54}
.hero .lede{font-size:clamp(16px,1.3vw,18.5px);line-height:1.5;color:var(--night-mute);max-width:35em;margin-top:clamp(14px,2.2vh,22px)}
.hero-cta{display:flex;flex-wrap:wrap;align-items:center;gap:10px 12px;margin-top:clamp(18px,3vh,28px)}
.hbtn{display:inline-flex;align-items:center;gap:9px;height:42px;padding:0 15px 0 18px;border-radius:12px;font-weight:600;font-size:15px;letter-spacing:-.005em;text-decoration:none;white-space:nowrap;transition:transform .16s,box-shadow .16s,background .16s,color .16s}
.hbtn svg{flex:none;transition:transform .2s}
.hbtn.pri{background:linear-gradient(180deg,#5cf7c0,#00ec97 55%,#00cf85);color:#04261a;box-shadow:inset 0 1px 0 rgba(255,255,255,.55),0 10px 28px -10px rgba(0,236,151,.75)}
.hbtn.pri:hover{transform:translateY(-1px);box-shadow:inset 0 1px 0 rgba(255,255,255,.55),0 14px 34px -8px rgba(0,236,151,.9)}
.hbtn.pri:hover svg{transform:translateY(2px)}
.hbtn.alt{background:rgba(255,255,255,.05);box-shadow:inset 0 0 0 1px rgba(255,255,255,.1);color:var(--night-ink)}
.hbtn.alt:hover{background:rgba(255,255,255,.09);box-shadow:inset 0 0 0 1px rgba(255,255,255,.22)}
.hbtn.alt:hover svg{transform:translateX(2px)}
.hero :focus-visible{outline-color:var(--mint)}
@media (prefers-reduced-motion:reduce){.hbtn,.hbtn svg{transition:none}.hbtn.pri:hover{transform:none}.hbtn:hover svg{transform:none}}
/* While the scripts and the data arrive, the page already shows the night band every page opens with, its lines drawn
   as quiet bars, and the header keeps the height its subject row will take. The script replaces all of it on its first
   draw. It fills the first screen, so the footer never shows in the middle of a phone. A note follows on a slow line. */
.head .tabs:empty{visibility:hidden;min-height:38px}
.boot{min-height:calc(100vh - var(--head-h,60px));min-height:calc(100svh - var(--head-h,60px))}
.boot .hero-top{align-items:start}
.bk{display:block;height:16px;border-radius:9px;background:linear-gradient(100deg,rgba(243,247,245,.055) 40%,rgba(243,247,245,.12) 50%,rgba(243,247,245,.055) 60%) 0 0/300% 100%;animation:bk-glow 1.5s linear infinite}
@keyframes bk-glow{from{background-position:100% 0}to{background-position:0 0}}
.bk+.bk{margin-top:12px}
.bk-kick{width:min(330px,80%);height:28px;border-radius:99px;margin-bottom:clamp(16px,2.6vh,26px)}
.bk-h{width:96%;height:clamp(30px,4.1vw,60px);border-radius:12px}.bk-h.short{width:58%}
.bk-bar{max-width:46em;height:12px;border-radius:99px;margin-top:clamp(18px,3vh,30px)!important}
.bk-l{width:min(35em,92%)}.bk-l.short{width:min(22em,60%)}
.bk-btns{display:flex;gap:12px;margin-top:clamp(18px,3vh,28px)!important;background:none;animation:none;height:auto}
.bk-btns i{display:block;width:150px;max-width:44%;height:42px;border-radius:12px;background:inherit}
.bk-btns i,.bk-panel{background:linear-gradient(100deg,rgba(243,247,245,.055) 40%,rgba(243,247,245,.12) 50%,rgba(243,247,245,.055) 60%) 0 0/300% 100%;animation:bk-glow 1.5s linear infinite}
.bk-panel{display:block;height:clamp(260px,26vw,340px);border-radius:var(--r)}
.boot-slow{margin-top:clamp(26px,4vh,40px);font-size:14px;color:var(--night-mute);opacity:0;animation:boot-note .4s ease 8s forwards}
@keyframes boot-note{to{opacity:1}}
@media (prefers-reduced-motion:reduce){.bk,.bk-btns i,.bk-panel{animation:none}}
.hero-chart{margin-top:clamp(24px,4.2vh,46px)}
.hc-top{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:6px;font-size:14px;color:var(--night-mute)}
.hc-key{display:flex;gap:4px 14px;flex-wrap:wrap}.hc-key span{display:inline-flex;align-items:center;gap:7px}.hc-key i{width:9px;height:9px;border-radius:50%;display:block}
.seg{display:inline-flex;padding:2px;background:rgba(255,255,255,.07);border-radius:9px;gap:1px}
.seg button{padding:3px 10px;border-radius:7px;font-size:13px;font-weight:500;color:var(--night-mute);min-height:27px}
.seg button[aria-pressed="true"]{background:rgba(255,255,255,.16);color:var(--night-ink)}
/* Day, week or month, above a chart over time. The legend shares its row. */
.gtop{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;margin:0 0 8px;min-height:30px}
.gtop .lcc-legend{margin:0;flex:1 1 auto}
/* The step switch is a small cousin of the chart tabs: the same soft track, and the chosen step on a white card
   that slides to whichever is picked */
.gseg{position:relative;display:inline-flex;margin-left:auto;padding:3px;background:color-mix(in srgb,var(--hue,var(--accent)) 4%,var(--soft));border-radius:12px;gap:1px}
.gseg-glide{position:absolute;left:0;top:3px;bottom:3px;border-radius:9px;background:var(--surface);box-shadow:0 1px 2px rgba(12,16,15,.12),0 0 0 1px var(--line);pointer-events:none}
.gseg:not(.ready) .gseg-glide{display:none}
.gseg.ready .gseg-glide{transition:transform .3s cubic-bezier(.3,.7,.2,1),width .3s cubic-bezier(.3,.7,.2,1)}
.gseg button{position:relative;z-index:1;padding:4px 12px;border-radius:9px;font-size:12.5px;font-weight:600;color:var(--mute);min-height:27px;transition:color .16s}
.gseg button:hover,.gseg button[aria-pressed="true"]{color:var(--ink)}
/* Until the card has been placed the chosen step carries it */
.gseg:not(.ready) button[aria-pressed="true"]{background:var(--surface);box-shadow:0 1px 2px rgba(12,16,15,.12),0 0 0 1px var(--line)}
.gseg button:focus-visible{outline:2px solid var(--accent);outline-offset:1px}
@media (prefers-reduced-motion:reduce){.gseg.ready .gseg-glide{transition:none}}
.gnote{margin:-2px 0 8px;font-size:12.5px;line-height:1.35;color:var(--mute);text-align:right}
/* The four figures, on a panel of glass like the header's bar: each has its name, then what it measures and when.
   The panel's last line is where the case stands on the scorecard, and leads to it. */
.hfig{border-radius:20px;padding:4px clamp(16px,1.6vw,22px) 4px;background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.022));box-shadow:inset 0 0 0 1px rgba(255,255,255,.08),inset 0 1px 0 rgba(255,255,255,.1),0 34px 70px -34px rgba(0,0,0,.7);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.hfig-h{margin:0;padding:13px 0 11px;font-size:12.5px;font-weight:500;letter-spacing:.01em;color:var(--night-mute)}
.stats{display:grid;grid-template-columns:minmax(0,1fr)}
.stat{display:grid;grid-template-columns:6.5rem minmax(0,1fr);align-items:center;column-gap:clamp(12px,1.4vw,20px);padding:clamp(11px,1.5vh,14px) 0;border-top:1px solid var(--night-line);color:inherit;text-decoration:none;min-width:0}
.stat b{font-weight:500;font-size:clamp(25px,2.2vw,32px);line-height:1.05;letter-spacing:-.035em;font-variant-numeric:tabular-nums;white-space:nowrap;transition:color .15s}
.stat:hover b{color:var(--mint)}
.stat span{font-size:13px;line-height:1.36;color:var(--night-mute)}
.stat span strong{display:block;margin-bottom:2px;font-weight:500;font-size:14.5px;letter-spacing:-.005em;color:var(--night-ink)}
.hfig-sc{display:flex;align-items:center;gap:12px;width:100%;padding:13px 0 12px;border-top:1px solid var(--night-line);text-align:left;font-size:13.5px;line-height:1.35;color:var(--night-mute);transition:color .15s}
.hfig-sc b{font-weight:600;color:var(--night-ink)}
.hfig-sc .sc-bar{display:flex;gap:3px;flex:0 0 clamp(64px,7vw,104px);height:8px}
.hfig-sc .sc-bar i{display:block;height:100%;border-radius:99px}
.hfig-sc .sc-bar .sc-for{background:#19c99a;box-shadow:0 0 10px rgba(25,201,154,.45)}
.hfig-sc .sc-bar .sc-con{box-shadow:inset 0 0 0 1.5px #ff7d66}
.hfig-sc .sc-t{flex:1 1 auto;min-width:0}
.hfig-sc svg{flex:none;opacity:.7;transition:transform .2s,opacity .2s}
.hfig-sc:hover{color:var(--night-ink)}
.hfig-sc:hover svg{opacity:1;transform:translateY(2px)}
@media (prefers-reduced-motion:reduce){.hfig-sc svg{transition:none}.hfig-sc:hover svg{transform:none}}

/* The bright sheet */
.sheet{position:relative;background:var(--page);border-radius:26px 26px 0 0;margin-top:-30px;padding-top:clamp(24px,4vh,40px)}
.sec-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 16px;margin:clamp(30px,5vh,52px) 0 14px}
.sec-head:first-child{margin-top:0}
.sec-head h2{font-size:clamp(24px,2.7vw,38px);line-height:1.08;letter-spacing:-.028em}
.sec-head span,.sec-head a{font-size:14.5px;color:var(--mute)}.sec-head a{display:inline-flex;align-items:center;min-height:24px}
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow);min-width:0}

/* The case so far: the long case as its links, in the order the argument runs. The chain gives each link one mark for
   each result, and beside it the link in view lists its results with their numbers. A solid mark supports the case and a hollow
   one counts against it, so colour is never the only sign; the green and red passed the palette checks for colour-blind
   readers in both themes, and status words use the --st tokens, which read at 4.5:1. */
.case-sec,.bento{--help:#0b9a7d;--hurt:#d9553f}
.case-sec{--string:color-mix(in srgb,var(--ink) 17%,var(--surface))}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) :is(.case-sec,.bento){--help:#14a985;--hurt:#e86245}}
:root[data-theme="dark"] :is(.case-sec,.bento){--help:#14a985;--hurt:#e86245}
.cz-m{flex:none;display:inline-block;width:9px;height:9px;border-radius:50%}
.cz-m.is-for{background:var(--help)}
.cz-m.is-against{box-shadow:inset 0 0 0 2px var(--hurt)}
.cz-tally{display:flex;flex-wrap:wrap;gap:2px 20px}
.cz-tally>span{display:inline-flex;align-items:center;gap:8px}
.cz-tally b{font-weight:500;color:var(--ink);font-variant-numeric:tabular-nums;margin-right:-3px}
.cz{position:relative;margin-top:clamp(18px,3vh,28px);--px:clamp(18px,2.5vw,36px);overflow-anchor:none}
/* The rail: one column for each part of the case. A short string joins each link's marks to the next link's. */
.cz-rail{--gap:clamp(14px,1.9vw,28px);display:grid;grid-template-columns:repeat(var(--n),minmax(0,1fr));column-gap:var(--gap);row-gap:0;margin:0;padding:clamp(22px,2.5vw,32px) var(--px) clamp(20px,2.2vw,28px);list-style:none;border-bottom:1px solid var(--line)}
/* Number, title, marks and verdict share their rows across the parts, so the marks line up however long a title runs */
.cz-rail li,.cz-p{display:grid;grid-template-rows:subgrid;grid-row:span 4;min-width:0}
.cz-rail li{position:relative}
.cz-p{width:100%;padding:0;text-align:left;border-radius:8px}
.cz-no{font-size:clamp(30px,2.9vw,42px);line-height:1;font-weight:400;letter-spacing:-.045em;font-variant-numeric:tabular-nums;color:color-mix(in srgb,var(--ink) 30%,var(--surface));transition:color .16s}
.cz-p:hover .cz-no,.cz-p:focus-visible .cz-no{color:var(--ink)}
.cz-t{margin-top:11px;font-size:15.5px;font-weight:500;line-height:1.25;letter-spacing:-.012em;text-wrap:balance}
.cz-s{position:relative;display:flex;gap:4px;height:8px;margin-top:13px}
.cz-s::before{content:"";position:absolute;left:100%;width:var(--gap);top:50%;height:1px;margin-top:-.5px;background:var(--string)}
.cz-rail li.cz-end .cz-s::before{display:none}
.cz-s i{position:relative;flex:1;min-width:0;border-radius:4px;transition:transform .16s}
.cz-s i::after{content:"";position:absolute;inset:-10px -2px}
.cz-s i.is-for{background:var(--help)}
.cz-s i.is-against{box-shadow:inset 0 0 0 1.5px var(--hurt)}
.cz-s i.lit{transform:scaleY(1.75)}
.cz-vd{margin-top:11px;font-size:13px;line-height:1.35;color:var(--mute);text-wrap:balance}
/* The rail is a band of its own at the head of the card, and it keeps to the theme: a soft ground by day, the hero's
   night ground at night, each with a faint glow at its far end. At night the marks are brighter, like lights. */
.cz-rail{background:radial-gradient(70% 150% at 100% -30%,color-mix(in srgb,var(--accent) 13%,transparent),transparent 62%),color-mix(in srgb,var(--soft) 78%,var(--surface));border-radius:calc(var(--r) - 1px) calc(var(--r) - 1px) 0 0}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .cz-rail{--help:#19c99a;--hurt:#ff7d66;--string:rgba(243,247,245,.2);background:radial-gradient(70% 150% at 100% -30%,rgba(0,236,151,.11),transparent 62%),var(--night);border-bottom-color:transparent}}
:root[data-theme="dark"] .cz-rail{--help:#19c99a;--hurt:#ff7d66;--string:rgba(243,247,245,.2);background:radial-gradient(70% 150% at 100% -30%,rgba(0,236,151,.11),transparent 62%),var(--night);border-bottom-color:transparent}
/* What the links rest on is set apart from them by a rule */
.cz-rail li.cz-base::before{content:"";position:absolute;left:calc(var(--gap) / -2);top:2px;bottom:2px;width:1px;background:var(--line)}
.cz-tip{position:absolute;z-index:6;left:0;top:0;width:max-content;max-width:min(320px,calc(100% - 16px));transform:translate(-50%,calc(-100% - 12px));background:var(--tip-bg);color:var(--tip-ink);border-radius:10px;padding:9px 12px 10px;font-size:13px;line-height:1.38;pointer-events:none;box-shadow:0 10px 28px rgba(0,0,0,.22)}
.cz-tip b{display:block;font-weight:500;font-size:13.5px;margin-bottom:3px}
.cz-tip span{display:block;opacity:.8}
.cz-tag{display:inline-block;margin-left:7px;padding:0 7px;border:1px solid var(--string);border-radius:999px;font-size:11.5px;font-style:normal;line-height:1.55;color:var(--mute);white-space:nowrap;vertical-align:1px}
/* The trend behind a result: its own series, in the colour of what it does to the case, with the bar dashed where it applies */
.cz-r.is-for{--c:var(--help)}.cz-r.is-against{--c:var(--hurt)}
.cz-sp{grid-area:p;align-self:center;width:clamp(70px,6.4vw,96px);height:30px;margin-left:18px;overflow:visible}
.cz-sp path{fill:none;vector-effect:non-scaling-stroke}
.cz-sp .ln{stroke:var(--c);stroke-width:1.6;stroke-linejoin:round;stroke-linecap:round}
.cz-sp .ar{fill:var(--c);opacity:.1}
.cz-sp .br{stroke:var(--mute);stroke-width:1;stroke-dasharray:2 3;opacity:.75}
.cz-sp .dt{stroke:var(--c);stroke-width:5.5;stroke-linecap:round}
.cz-foot{margin:0;padding:14px var(--px) 18px;border-top:1px solid var(--line);font-size:13px;line-height:1.5;color:var(--mute)}
.cz-foot span{white-space:nowrap}
/* How the count has moved: the base of the case card. The rail opens the card on a band of its own and this band
   closes it, on the same ground: soft by day, the hero's night at night, with the glow in the opposite corner. Three
   counts stand in the card's own marks beside the chart, and a count and its stretch on the chart light each other. */
.czb{position:relative;padding:clamp(20px,2.2vw,28px) var(--px) clamp(16px,1.8vw,24px);border-top:1px solid var(--line);border-radius:0 0 calc(var(--r) - 1px) calc(var(--r) - 1px);
  --czg:color-mix(in srgb,var(--soft) 78%,var(--surface));background:radial-gradient(56% 150% at 0% 135%,color-mix(in srgb,var(--accent) 12%,transparent),transparent 62%),var(--czg)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .czb{--help:#19c99a;--hurt:#ff7d66;--czg:var(--night);background:radial-gradient(56% 150% at 0% 135%,rgba(0,236,151,.1),transparent 62%),var(--night);border-top-color:transparent}}
:root[data-theme="dark"] .czb{--help:#19c99a;--hurt:#ff7d66;--czg:var(--night);background:radial-gradient(56% 150% at 0% 135%,rgba(0,236,151,.1),transparent 62%),var(--night);border-top-color:transparent}
.czb-go{position:absolute;top:clamp(18px,2vw,25px);right:var(--px);display:inline-flex;align-items:center;gap:7px;height:34px;padding:0 10px 0 14px;border-radius:10px;font-size:13.5px;font-weight:600;letter-spacing:-.005em;line-height:1;white-space:nowrap;text-decoration:none;color:var(--ink);background:color-mix(in srgb,var(--surface) 72%,transparent);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--ink) 13%,transparent);transition:background .16s,box-shadow .16s}
.czb-go:hover{background:var(--surface);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--ink) 28%,transparent)}
.czb-go:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.czb-go svg{width:15px;height:15px;flex:none;transition:transform .16s}
.czb-go:hover svg{transform:translateX(2px)}
.czb-rows{list-style:none;margin:0;padding:0}
.czb-row{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:14px;margin-inline:-10px;padding:9px 10px 10px;border-radius:9px;transition:background .15s}
.czb-row+.czb-row::before{content:"";position:absolute;left:10px;right:10px;top:0;height:1px;background:var(--line)}
.czb-row:hover,.czb-row:focus-visible,.czb-row.lit{background:color-mix(in srgb,var(--ink) 5%,transparent)}
.czb-row:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
.czb-l b{display:block;font-size:14.5px;font-weight:500;letter-spacing:-.008em;line-height:1.3}
.czb-l small{display:block;margin-top:1px;font-size:12.5px;line-height:1.35;color:var(--mute)}
/* A count in the case's marks: solid for, hollow against. The numbers keep a column each, so three counts line up. */
.czn{display:inline-flex;align-items:center;gap:7px;font-variant-numeric:tabular-nums;white-space:nowrap}
.czn b{font-size:22px;font-weight:500;letter-spacing:-.03em;line-height:1;min-width:1.2em}
.czb-plot{position:relative;min-width:0;touch-action:pan-y}
@media (max-width:760px){
  .czb-go{position:static;display:flex;justify-content:center;margin-top:14px;height:40px}}
/* The chart of the count, here and in the question "How steady is the count?": results for the case above the line
   and against it below, each fill fading toward the line, a named column under each stretch, the case's mark at
   each line's end. Where four or more tests could not run yet the plot is hatched, so that stretch is not taken for
   a named one. */
.czh-plot{position:relative;touch-action:pan-y}
.czh-plot svg,.czb-plot svg{display:block;width:100%;overflow:visible}
:is(.czh-plot,.czb-plot) text{font:500 11.5px/1 var(--chart-font);fill:var(--chart-ink)}
:is(.czh-plot,.czb-plot) .grid line{stroke:var(--chart-grid);stroke-width:1;shape-rendering:crispEdges}
:is(.czh-plot,.czb-plot) .zero{stroke:var(--chart-mark);stroke-width:1;shape-rendering:crispEdges}
:is(.czh-plot,.czb-plot) .st-for{stop-color:var(--help)}
:is(.czh-plot,.czb-plot) .st-against{stop-color:var(--hurt)}
:is(.czh-plot,.czb-plot) .l-for{fill:none;stroke:var(--help);stroke-width:2;stroke-linejoin:round;stroke-linecap:round}
:is(.czh-plot,.czb-plot) .l-against{fill:none;stroke:var(--hurt);stroke-width:2;stroke-linejoin:round;stroke-linecap:round}
:is(.czh-plot,.czb-plot) .hatch{stroke:var(--chart-mark);stroke-width:1.1;opacity:.55}
:is(.czh-plot,.czb-plot) .band-t{font-size:11px;fill:var(--mute)}
:is(.czh-plot,.czb-plot) .hl{fill:var(--ink);fill-opacity:.05;transition:fill-opacity .18s}
:is(.czh-plot,.czb-plot) .hl.lit{fill-opacity:.11}
:is(.czh-plot,.czb-plot) .hl-t{font-size:11.5px;font-weight:600;fill:var(--mute);transition:fill .18s}
:is(.czh-plot,.czb-plot) .hl-t.lit{fill:var(--ink)}
:is(.czh-plot,.czb-plot) .hl-k{stroke:var(--chart-mark);stroke-width:1;shape-rendering:crispEdges}
:is(.czh-plot,.czb-plot) .end-t{font-size:15px;font-weight:600;letter-spacing:-.02em;fill:var(--ink)}
:is(.czh-plot,.czb-plot) .end-s{font-size:11.5px;font-weight:500;letter-spacing:0;fill:var(--mute)}
:is(.czh-plot,.czb-plot) .halo-for{fill:var(--help);fill-opacity:.2}
:is(.czh-plot,.czb-plot) .halo-against{fill:var(--hurt);fill-opacity:.16}
:is(.czh-plot,.czb-plot) .dot-for{fill:var(--help)}
:is(.czh-plot,.czb-plot) .dot-against{fill:var(--czg,var(--surface));stroke:var(--hurt);stroke-width:2}
:is(.czh-plot,.czb-plot) .cross{stroke:var(--chart-strong);stroke-width:1;opacity:.5;shape-rendering:crispEdges}
:is(.czh-plot,.czb-plot) .cur-for{fill:var(--help);stroke:var(--czg,var(--surface));stroke-width:2}
:is(.czh-plot,.czb-plot) .cur-against{fill:var(--czg,var(--surface));stroke:var(--hurt);stroke-width:2}
.czh-tip{position:absolute;z-index:6;pointer-events:none;min-width:208px;max-width:300px;padding:10px 13px 11px;border-radius:11px;background:var(--tip-bg);color:var(--tip-ink);font-size:12.5px;line-height:1.45;box-shadow:0 12px 30px rgba(0,0,0,.24)}
.czh-tip b{font-weight:600}
.czh-tip>b{display:block;font-size:13px;margin-bottom:2px}
.czh-tip .r{display:flex;align-items:center;gap:8px;margin-top:3px;font-variant-numeric:tabular-nums}
.czh-tip .r strong{font-weight:600;min-width:1.4em;text-align:right}
.czh-tip .k{flex:none;width:9px;height:9px;border-radius:50%}
.czh-tip .k.kf{background:#19c99a}.czh-tip .k.ka{box-shadow:inset 0 0 0 2px #ff7d66}.czh-tip .k.ku{box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--tip-ink) 45%,transparent)}
.czh-tip .ch{margin-top:8px;padding-top:7px;border-top:1px solid color-mix(in srgb,var(--tip-ink) 18%,transparent);opacity:.88}
.czh-tip .ch small{display:block;font-size:11.5px;opacity:.75;margin-bottom:1px}
/* The question on the Checks page. It stands outside the case section, so it sets the case's two colours itself. */
.czq{position:relative;--help:#0b9a7d;--hurt:#d9553f}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .czq{--help:#14a985;--hurt:#e86245}}
:root[data-theme="dark"] .czq{--help:#14a985;--hurt:#e86245}
.czq .gtop{justify-content:space-between}
.czq .gtop .gseg{margin-left:0}
.czq-note{margin:0;font-size:12.5px;line-height:1.35;color:var(--mute);text-align:right}
/* The three counts as cells on one band, divided by hairlines */
.czs{display:grid;grid-template-columns:repeat(var(--n,3),minmax(0,1fr));margin:8px 0 18px;padding:0;list-style:none;border-block:1px solid var(--line)}
.czs>li{position:relative;padding:13px clamp(12px,1.8vw,24px) 14px;transition:background .15s}
.czs>li+li{border-left:1px solid var(--line)}
.czs>li:first-child{padding-left:2px}
.czs>li:hover,.czs>li.lit,.czs>li:focus-visible{background:color-mix(in srgb,var(--ink) 3.5%,transparent)}
.czs>li:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
.czs .t{display:block;font-size:13.5px;line-height:1.3;color:var(--mute)}
.czs .czn{margin-top:7px;gap:8px}
.czs .czn b{font-size:clamp(24px,2.4vw,32px);min-width:0}
.czs small{display:block;margin-top:6px;font-size:13px;line-height:1.35;color:var(--mute)}
/* The latest changes as a timeline: a spine, a mark for each change, the newest first. Each row leads to its claim's question. */
.czt-h{margin:20px 0 2px;font-size:15px;font-weight:600;letter-spacing:-.012em}
.czt{list-style:none;margin:0;padding:0}
.czt-r{position:relative;display:grid;grid-template-columns:3.4rem 17px minmax(0,1fr) auto;column-gap:12px;align-items:start;margin-inline:-10px;padding:11px 10px 12px;border-radius:9px;color:inherit;text-decoration:none;transition:background .15s}
.czt-r:hover{background:var(--soft)}
.czt-r:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
.czt-r::before{content:"";position:absolute;left:calc(10px + 3.4rem + 12px + 8px);top:0;bottom:0;width:1px;background:color-mix(in srgb,var(--ink) 16%,transparent)}
.czt li:first-child .czt-r::before{top:18px}
.czt li:last-child .czt-r::before{bottom:calc(100% - 18px)}
.czt time{padding-top:2px;font-size:12.5px;line-height:1.4;color:var(--mute);text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.czt .cz-m{position:relative;justify-self:center;margin-top:6px;outline:4px solid var(--surface)}
.czt-r:hover .cz-m{outline-color:var(--soft)}
.czt .cz-m.is-against{background:var(--surface)}
.czt-r:hover .cz-m.is-against{background:var(--soft)}
.czt strong{display:block;font-weight:500;font-size:15px;line-height:1.33;letter-spacing:-.01em;text-wrap:pretty}
.czt .s{display:block;margin-top:3px;font-size:13px;line-height:1.42;color:var(--mute)}
.czt .s b{font-weight:500;color:var(--st-holds)}
.czt .is-against-row .s b{color:var(--st-risk)}
.czt .v{padding-left:10px;padding-top:1px;font-size:13.5px;line-height:1.4;color:var(--mute);font-variant-numeric:tabular-nums;white-space:nowrap;text-align:right}
.czt .v b{display:block;font-size:17px;font-weight:500;letter-spacing:-.02em;line-height:1.25;color:var(--ink)}
.czh-none{margin:6px 0 0;font-size:13.5px;color:var(--mute)}
/* Each test as a lane: solid where its result supports the case, hollow where it counts against it, dotted before it
   could run, then how many times it turned. The rows are HTML, so a long claim wraps; the stretches are placed in
   pixels, each with a width one can see and a gap from its neighbour, and placed again when the lane changes width. */
.czl-key{display:flex;flex-wrap:wrap;gap:6px 18px;margin:0 0 6px;font-size:12.5px;color:var(--mute)}
.czl-key span{display:inline-flex;align-items:center;gap:7px}
.czl-key i{flex:none;width:22px;height:10px;border-radius:5px}
.czl-key .kf{background:var(--help)}
.czl-key .ka{box-shadow:inset 0 0 0 1.5px var(--hurt);background:color-mix(in srgb,var(--hurt) 10%,transparent)}
.czl-key .ku{height:0;border-top:1.5px dotted var(--chart-mark);border-radius:0}
.czl{--nm:minmax(0,36%);--tn:4.4rem;position:relative}
.czl-g{margin-top:14px}
.czl-g h4{margin:0;padding-bottom:7px;font-size:14.5px;font-weight:600;letter-spacing:-.012em;border-bottom:1px solid var(--line)}
.czl-r{display:grid;grid-template-columns:var(--nm) minmax(0,1fr) var(--tn);column-gap:16px;align-items:center;min-height:34px;padding:5px 0;border-bottom:1px solid color-mix(in srgb,var(--line) 60%,transparent)}
.czl-g .czl-r:last-child{border-bottom:0}
.czl-n{font-size:13.5px;line-height:1.3;color:color-mix(in srgb,var(--ink) 84%,var(--surface));text-wrap:pretty}
.czl-l{position:relative;height:22px;cursor:crosshair}
.czl-l .s{position:absolute;top:5px;height:12px;border-radius:6px}
.czl-l .sf{background:var(--help)}
.czl-l .sa{box-shadow:inset 0 0 0 1.5px var(--hurt);background:color-mix(in srgb,var(--hurt) 10%,transparent)}
.czl-l .su{top:10.5px;height:0;border-top:1.5px dotted var(--chart-mark);border-radius:0;opacity:.8}
.czl-l .tk{position:absolute;top:-5px;bottom:-5px;width:1px;background:var(--chart-grid)}
.czl-l .cu{position:absolute;top:-2px;bottom:-2px;width:1px;background:var(--chart-strong);opacity:.55;display:none}
.czl-t{font-size:13px;line-height:1.2;text-align:right;color:var(--mute);font-variant-numeric:tabular-nums;white-space:nowrap}
.czl-t b{font-weight:500;color:var(--ink)}
.czl-ax{display:grid;grid-template-columns:var(--nm) minmax(0,1fr) var(--tn);column-gap:16px;margin-top:4px}
.czl-ax div{position:relative;height:18px;grid-column:2}
.czl-ax span{position:absolute;top:3px;transform:translateX(-50%);font:500 11.5px/1 var(--chart-font);color:var(--chart-ink);white-space:nowrap}
@media (max-width:720px){
  .czl-r{grid-template-columns:minmax(0,1fr) var(--tn);row-gap:1px;padding:7px 0 5px}
  .czl-n{grid-column:1/-1}.czl-l .tk{top:2px;bottom:2px}
  .czl-ax{grid-template-columns:minmax(0,1fr) var(--tn)}.czl-ax div{grid-column:1}
  .czt-r{grid-template-columns:17px minmax(0,1fr);row-gap:1px}
  .czt time{grid-column:2;grid-row:1;text-align:left;padding:0}
  .czt .cz-m{grid-row:2}
  .czt-r>span:not(.v){grid-column:2}
  .czt .v{grid-column:2;text-align:left;padding:3px 0 0}
  .czt .v b{display:inline;font-size:14px;margin-left:4px}
  .czt-r::before{left:calc(10px + 8px)}
  .czt li:nth-child(n+4){display:none}
  .czs>li{padding:11px 10px 12px}.czs .czn b{font-size:22px}.czs .czn{gap:6px}
  .czq-note{text-align:left}}
.cz-r.flash{animation:cz-flash 1.5s ease-out}
.czp.flash .czp-h h3{animation:cz-ink 1.5s ease-out}
@keyframes cz-flash{0%,25%{background:color-mix(in srgb,var(--help) 16%,var(--surface))}100%{background:transparent}}
@keyframes cz-ink{0%,25%{color:var(--accent)}100%{color:inherit}}
/* Six columns need room: below it the rail is three by two, and on a phone a list with the marks at the end of each line */
@media (max-width:1000px){
  .cz-rail{grid-template-columns:repeat(3,minmax(0,1fr))}
  .cz-rail li:nth-child(n+4){margin-top:26px}
  .cz-s::before{display:none}
  .cz-rail li.cz-base::before{display:none}
}
@media (max-width:600px){
  .cz-rail{grid-template-columns:minmax(0,1fr);row-gap:0;padding-block:6px}
  .cz-rail li{display:block;grid-row:auto;scroll-margin-top:calc(var(--head-h,58px) + 12px)}
  .cz-rail li:nth-child(n+4){margin-top:0}
  .cz-rail li+li{border-top:1px solid var(--line)}
  .cz-p{grid-row:auto;grid-template-rows:none;grid-template-columns:24px minmax(0,1fr) clamp(60px,23vw,96px);column-gap:0;align-items:center;padding:12px 0;border-radius:0}
  .cz-no{font-size:16px;letter-spacing:0;color:var(--mute)}
  .cz-t{margin:0;padding-right:14px;font-size:15px}
  .cz-s{margin:0;height:7px}
  .cz-vd{display:none}
}
@media (prefers-reduced-motion:reduce){.cz-r.flash,.czp.flash .czp-h h3{animation:none}.cz-s i{transition:none}}
.stamp{font-size:12.5px;font-weight:600;display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.stamp::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}
/* Status words are text, so each theme gets shades that read at 4.5:1 or better */
.holds{color:var(--st-holds)}.pending{color:var(--st-pending)}.notyet{color:var(--st-notyet)}.risk{color:var(--st-risk)}.planned{color:var(--faint)}
.proof{background:radial-gradient(90% 80% at 100% 0%,rgba(0,236,151,.13),transparent 60%),var(--night);color:var(--night-ink);border-radius:var(--r);padding:20px;display:flex;flex-direction:column;--accent:#00ec97}
.proof h2,.proof h3{font-size:20px;line-height:1.16}
.proof p{font-size:14px;color:var(--night-mute);margin-top:5px}

/* Bento of subjects */
.bento{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:14px}
.st{grid-column:span 3;display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow);overflow:hidden;text-decoration:none;color:inherit;min-height:246px;transition:transform .18s,box-shadow .18s}
.st:hover{transform:translateY(-3px);box-shadow:var(--shadow-2)}
/* A feature tile sets its words beside its chart, so every row of the bento is the same height */
.st.big{grid-column:span 6;flex-direction:row}
.st.big .st-in{flex:0 0 clamp(214px,45%,300px);min-width:0;padding-right:4px}
.mapcard{padding:clamp(14px,1.8vw,24px);background:var(--surface);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow)}
#src-dir{padding-bottom:64px}
.st-in{padding:15px 17px 8px}
.st-name{display:flex;align-items:baseline;justify-content:space-between;gap:8px;font-size:14px;color:var(--mute)}
.st-name b{display:inline-flex;align-items:center;gap:8px;font-weight:500;color:var(--ink);min-width:0}
.st-name b::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--hue,var(--chart-mark));flex:none}
.st:hover{border-color:color-mix(in srgb,var(--hue,var(--chart-mark)) 55%,var(--line))}
.st-name em{font-style:normal;font-size:12.5px;color:var(--faint);white-space:nowrap}
.st-val{font-weight:500;font-size:clamp(28px,2.9vw,40px);line-height:1.1;letter-spacing:-.032em;margin-top:6px;font-variant-numeric:tabular-nums}
.st.big .st-val{font-size:clamp(34px,3.5vw,50px)}
.st-lab{font-size:13px;color:var(--faint)}
.st-read{font-size:14px;color:var(--mute);line-height:1.34;margin-top:5px}
.st-viz{margin-top:auto;padding-top:8px;min-height:64px}
.st.big .st-viz{flex:1 1 0;min-width:0;margin:0;padding:17px 17px 17px 10px;display:flex;flex-direction:column;justify-content:flex-end}
/* Where a subject stands on the scorecard: one mark for each result, solid for the case and hollow against it */
.st-case{display:inline-flex;align-items:center;gap:3px;margin-right:9px;vertical-align:1px}
.st-case i{width:6px;height:6px;border-radius:50%}
.st-case i.is-for{background:var(--help)}
.st-case i.is-against{box-shadow:inset 0 0 0 1.5px var(--hurt)}
.ctl{display:inline-flex;align-items:center;padding:8px 14px;border-radius:9px;background:var(--ink);color:var(--surface);font-size:14px;font-weight:500;text-decoration:none;min-height:38px}
.ctl:hover{opacity:.86}
.ctl.alt{background:none;color:var(--ink);border:1px solid var(--line)}
/* What is here and what is next. The findings are a short list, one from each subject, two to a line: each is one sentence that opens with its number,
   led by its subject's dot, on one line where there is room. The questions still to come sit under it in a dashed
   box, like the room kept for the next subject, so what is published and what is planned never look alike; with
   nothing planned the box is left out and the findings card closes the page (.fx-end). */
.fx{padding:2px clamp(18px,2.5vw,32px) 5px}
.fx-end{margin-bottom:64px}
.fx-h,.nx header{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.fx-h{padding:15px 0 10px;border-bottom:1px solid var(--ink)}
.fx-h h3,.nx h3{font-size:17px;font-weight:600;letter-spacing:-.018em}
.fx-h span,.nx header span{font-size:13px;color:var(--mute)}
.fx-list{columns:2;column-gap:clamp(36px,4.6vw,72px);column-rule:1px solid var(--line);padding-bottom:4px}
.fx-r{position:relative;break-inside:avoid;display:grid;grid-template-columns:auto minmax(0,1fr) auto;column-gap:10px;align-items:baseline;margin-inline:-10px;padding:9px 10px 10px;border-radius:8px;color:inherit;text-decoration:none;transition:background .15s}
.fx-r i{width:7px;height:7px;border-radius:50%;background:var(--hue,var(--chart-mark));transform:translateY(-1px)}
.fx-r::before{content:"";position:absolute;left:10px;right:10px;top:0;height:1px;background:var(--line)}
.fx-r:first-child::before{display:none}
.fx-r:hover{background:var(--soft)}
.fx-r span{font-size:14.5px;line-height:1.4;color:color-mix(in srgb,var(--ink) 78%,var(--surface));text-wrap:pretty}
.fx-r b{margin-right:3px;font-size:15.5px;font-weight:600;letter-spacing:-.015em;color:var(--ink);font-variant-numeric:tabular-nums;white-space:nowrap}
.fx-r em{font-style:normal;font-size:12.5px;color:var(--faint);white-space:nowrap}
.nx a::before{content:"";flex:none;width:7px;height:7px;border-radius:50%;background:var(--hue,var(--chart-mark))}
.nx{margin:14px 0 64px;padding:16px clamp(18px,2.5vw,36px) 13px;border:1px dashed color-mix(in srgb,var(--ink) 24%,transparent);border-radius:var(--r)}
.nx ul{list-style:none;margin:9px 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(300px,100%),1fr));column-gap:clamp(20px,3vw,44px)}
.nx a{display:flex;align-items:baseline;gap:9px;min-height:24px;padding:7px 0;font-size:14.5px;line-height:1.35;color:var(--ink);text-decoration:none;transition:color .15s}
.nx a::before{transform:translateY(-1px)}
.nx a:hover{color:var(--accent)}
@media (max-width:900px){.fx-list{columns:1}}
@media (max-width:560px){.fx-r{grid-template-columns:auto minmax(0,1fr);row-gap:1px}.fx-r em{grid-column:2}}
.row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 14px;padding:10px 0;border-top:1px solid var(--line);text-decoration:none;color:inherit;align-items:baseline}
.row:hover b{color:var(--accent)}
.row b{font-weight:500;font-size:15px;line-height:1.3;transition:color .15s}
.row small{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;color:var(--faint);white-space:nowrap}
.row small::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--hue,var(--chart-mark))}

/* Subject page */
.s-hero{padding-block:clamp(24px,4vh,44px) clamp(52px,8vh,76px)}
.crumb{font-size:14px;margin-bottom:6px}.crumb a{color:var(--night-mute);text-decoration:none}.crumb a:hover{color:var(--night-ink)}
.s-hero h1{font-size:clamp(36px,5.2vw,76px);line-height:1;letter-spacing:-.036em}
.s-hero p{max-width:44em;color:var(--night-mute);margin-top:9px;font-size:clamp(16px,1.3vw,18px)}
.kp{--kg:clamp(20px,2.8vw,36px);display:grid;grid-template-columns:repeat(4,minmax(0,1fr));column-gap:var(--kg);row-gap:14px;margin:clamp(16px,2.6vh,26px) 0 0;padding:0;border-top:1px solid var(--night-line);overflow:hidden}
.kp div{position:relative;padding-top:12px}.kp div::before{content:"";position:absolute;top:0;bottom:0;left:calc(var(--kg) / -2);border-left:1px solid var(--night-line)}
.kp dt{font-size:13.5px;color:var(--night-mute)}.kp dd{margin:2px 0 0;font-weight:500;font-size:clamp(22px,2.3vw,32px);line-height:1.12;letter-spacing:-.026em}
/* The subject's reading: up to three gauges on one band at the foot of the hero. Each is a number, how it compares,
   and a small chart of how it got there. Moving a pointer along a chart turns the number into that day's. */
.gz{--ink2:color-mix(in srgb,var(--hue) 72%,#fff);display:grid;grid-template-columns:repeat(var(--n,3),minmax(0,1fr));grid-template-rows:repeat(5,auto);margin-top:clamp(18px,2.8vh,30px);border-top:1px solid var(--night-line)}
.gz-i{display:grid;grid-row:span 5;grid-template-rows:subgrid;min-width:0;padding:14px clamp(14px,2.2vw,30px) 0;border-left:1px solid var(--night-line)}
.gz-w,.gz-f{display:contents}
.gz-i:first-child{border-left:0;padding-left:0}.gz-i:last-child{padding-right:0}
.gz-t{display:block;margin:0 0 5px;font-size:13.5px;line-height:1.35;color:var(--night-mute);max-width:none}
.gz-t a{color:inherit;text-decoration:none;border-bottom:1px solid transparent;transition:color .15s,border-color .15s}
.gz-t a:hover,.gz-t a:focus-visible{color:var(--night-ink);border-bottom-color:var(--ink2)}
.gz-v{display:block;font-weight:500;font-size:clamp(26px,2.7vw,40px);line-height:1.08;letter-spacing:-.03em;font-variant-numeric:tabular-nums;color:var(--night-ink)}
.gz-s{display:block;margin:4px 0 0;font-size:13.5px;line-height:1.35;color:var(--night-mute);max-width:none}
.gz-i.on .gz-v,.gz-i.on .gz-s{color:var(--ink2)}
.gz-c{height:72px;margin-top:14px;touch-action:pan-y;cursor:crosshair}
.gz-c svg{display:block;width:100%;height:100%;overflow:visible}
.gz-c .ln{fill:none;stroke:var(--ink2);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.gz-c .ar{stroke:none}
.gz-c .br{fill:var(--ink2);opacity:.5}.gz-c .br.now,.gz-c .br.at{opacity:1}
.gz-c .dot{fill:var(--night);stroke:var(--ink2);stroke-width:2}
.gz-c .rule{stroke:var(--night-ink);stroke-opacity:.35;stroke-width:1;visibility:hidden}.gz-i.on .gz-c .rule{visibility:visible}
.gz-e{display:flex;justify-content:space-between;gap:8px;margin-top:5px;font-size:12px;line-height:1.3;color:var(--night-mute);opacity:.82}
.gz-bar{display:flex;gap:2px;height:14px;margin-top:20px;border-radius:5px;overflow:hidden}.gz-bar i{display:block;min-width:2px}
.gz-key{display:flex;flex-wrap:wrap;gap:3px 12px;margin-top:9px;font-size:12px;line-height:1.3;color:var(--night-mute)}
.gz-key span{display:inline-flex;align-items:center;gap:5px}.gz-key i{width:7px;height:7px;border-radius:2px;flex:none}
/* Under the band: the other key numbers, and where the subject's claims stand */
.gz-also{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 28px;margin:clamp(16px,2.4vh,24px) 0 0;padding:13px 0 0;border-top:1px solid var(--night-line);font-size:14px;color:var(--night-mute)}
.gz-also dl{display:contents;margin:0}.gz-also dl div{display:flex;align-items:baseline;gap:8px;min-width:0}
.gz-also dt{margin:0}.gz-also dd{margin:0;font-weight:500;color:var(--night-ink);font-variant-numeric:tabular-nums}
.gz-case{display:inline-flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px;margin-left:auto;min-height:24px;color:var(--night-mute);text-decoration:none}
.gz-case:hover span:first-child{color:var(--night-ink)}
.gz-case b{display:inline-flex;align-items:center;gap:6px;font-weight:600}.gz-case b::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}
.gz-case .for{color:#2fe0a0}.gz-case .against{color:#ef7563}.gz-case .open{color:#a4adaa}
@media (max-width:760px){
  .gz{grid-template-columns:minmax(0,1fr);grid-template-rows:none}
  .gz-i,.gz-i:first-child,.gz-i:last-child{grid-row:auto;grid-template-rows:none;grid-template-columns:minmax(0,1fr) 42%;column-gap:16px;align-items:center;padding:13px 0 12px;border-left:0;border-top:1px solid var(--night-line)}
  .gz-i:first-child{border-top:0}
  .gz-w,.gz-f{display:block;min-width:0}
  .gz-v{font-size:26px}
  .gz-c{height:56px;margin-top:0}.gz-bar{margin-top:6px}
  .gz-case{margin-left:0}
}
/* Question cards: every answer is readable before any scrolling. They are one panel, a cell for each question, ruled
   apart by hairlines (the grid is pulled one pixel up and left inside a clipped card, so only the inner rules show).
   No cell is marked as the one being read: the panel leaves the screen before the second question is reached, so
   such a mark would only ever sit on the first. The subject's colour (a rule along the top, the numeral and the
   chart's sign) shows on the cell under the pointer or the keyboard. */
.qdeck{overflow:hidden}
.qgrid{display:grid;grid-template-columns:repeat(var(--t5,5),minmax(0,1fr));width:calc(100% + 1px);margin:-1px 0 0 -1px}
/* The page works out the rows for each width (qLay): as few rows as fit, as level as they can be. Where the last row
   has fewer cells, the grid is cut into finer tracks (--t5 down to --t2) and each cell is told how many to take
   (--g5 down to --g2), so a short row's cells share the row equally and the panel never has a hole. */
.qgrid .qcard{grid-column:span var(--g5,1)}
@media (max-width:1180px){.qgrid{grid-template-columns:repeat(var(--t4,4),minmax(0,1fr))}.qgrid .qcard{grid-column:span var(--g4,1)}}
@media (max-width:940px){.qgrid{grid-template-columns:repeat(var(--t3,3),minmax(0,1fr))}.qgrid .qcard{grid-column:span var(--g3,1)}}
@media (max-width:720px){.qgrid{grid-template-columns:repeat(var(--t2,2),minmax(0,1fr))}.qgrid .qcard{grid-column:span var(--g2,1)}}
@media (max-width:560px){.qgrid{grid-template-columns:minmax(0,1fr)}.qgrid .qcard{grid-column:auto}}
.qcard{position:relative;display:flex;flex-direction:column;gap:8px;min-height:176px;padding:16px 18px 17px;border-top:1px solid var(--line);border-left:1px solid var(--line);text-decoration:none;color:inherit;transition:background .16s}
.qcard:hover,.qcard:focus-visible{background:var(--soft)}
.qcard::before{content:"";position:absolute;left:0;right:0;top:0;height:2px;background:var(--hue,var(--accent));transform:scaleX(0);transform-origin:left;transition:transform .3s cubic-bezier(.3,.7,.2,1)}
.qcard:hover::before,.qcard:focus-visible::before{transform:scaleX(1)}
.qcard-top{display:flex;align-items:flex-start;justify-content:space-between;color:var(--faint)}
.qno{font-size:clamp(26px,2.4vw,34px);line-height:1;font-weight:400;letter-spacing:-.04em;font-variant-numeric:tabular-nums;color:color-mix(in srgb,var(--ink) 30%,var(--surface));transition:color .16s}
.qcard:hover .qno,.qcard:focus-visible .qno{color:color-mix(in srgb,var(--hue,var(--accent)) 78%,var(--ink))}
.qcard-top svg{transition:color .15s;display:block}
.qr{display:inline-flex;align-items:center;gap:8px}.qr small{font-size:12.5px;color:var(--mute)}
.qcard:hover .qcard-top svg,.qcard:focus-visible .qcard-top svg{color:color-mix(in srgb,var(--hue,var(--accent)) 78%,var(--ink))}
.qcard h3{margin-top:2px;font-size:15.5px;font-weight:500;line-height:1.28;letter-spacing:-.01em}
.qcard .ans{margin-top:auto;padding-top:6px;font-weight:500;font-size:clamp(26px,2.5vw,35px);line-height:1.05;letter-spacing:-.032em;font-variant-numeric:tabular-nums}
.qcard small{font-size:13.5px;color:var(--mute);line-height:1.32}
@media (min-width:561px){.qgrid .qcard>small{min-height:2.64em}}
/* The cells of a row share its four lines (the number, the question, the answer, what the answer is), so questions
   start level and answers stand level however long the words around them are. The question's line takes the room
   that is left. */
@supports (grid-template-rows:subgrid){@media (min-width:561px){
  .qgrid{grid-auto-rows:auto minmax(0,1fr) auto auto}
  .qgrid .qcard{display:grid;grid-template-rows:subgrid;grid-row:span 4}
  .qgrid .qcard h3{align-self:start}
  .qgrid .qcard .ans{align-self:end;margin-top:0}
  .qgrid .qcard>small{align-self:start;min-height:0}
}}
@media (prefers-reduced-motion:reduce){.qcard::before{transition:none}}
.qn{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--soft);color:var(--mute);font-size:12.5px;font-weight:600;flex:none;line-height:1}
.qnext{display:flex;flex-wrap:wrap;align-items:center;gap:6px 7px;margin-top:12px;font-size:13.5px;color:var(--faint)}
.qnext a{display:inline-flex;align-items:center;gap:7px;padding:4px 11px 4px 8px;border:1px dashed var(--chart-mark);border-radius:99px;color:var(--mute);text-decoration:none;min-height:30px}
.qnext a:hover{color:var(--ink)}
.qnext svg{display:block;color:var(--faint)}
/* Reading layout: a progress rail beside the evidence */
.layout{display:grid;grid-template-columns:272px minmax(0,1fr);gap:clamp(16px,2.6vw,36px);padding-block:clamp(22px,3.4vh,34px) 64px}
.layout.solo{grid-template-columns:minmax(0,1fr);padding-top:0}
.rail{position:sticky;top:calc(var(--head-h,58px) + 14px);align-self:start;max-height:calc(100vh - var(--head-h,58px) - 28px);overflow-y:auto;overflow-anchor:none;scrollbar-width:none}
.rail-pos{font-size:13px;color:var(--mute);font-weight:500}
.rail-bar{display:block;height:3px;border-radius:2px;background:var(--line);overflow:hidden;margin:6px 0 10px}
.rail-bar i{display:block;height:100%;width:0;background:var(--hue,var(--chart-1));border-radius:2px;transition:width .3s}
.rail-list{list-style:none;margin:0;padding:0;position:relative}
.rail-list::before{content:"";position:absolute;left:11.5px;top:16px;bottom:16px;width:1px;background:var(--line)}
.rq{position:relative;display:grid;grid-template-columns:24px minmax(0,1fr);gap:11px;padding:7px 8px 7px 0;color:var(--mute);text-decoration:none;font-size:14.5px;line-height:1.28;transition:color .15s}
.rq:hover{color:var(--ink)}
.rq .qn{position:relative;z-index:1;background:var(--page);box-shadow:inset 0 0 0 1px var(--chart-mark);transition:background .2s,color .2s}
.rq.done .qn{color:var(--ink);box-shadow:inset 0 0 0 1.5px var(--hue,var(--accent))}
.rq.cur{color:var(--ink);font-weight:500}
.rq.cur .qn{background:var(--ink);color:var(--surface);box-shadow:none}
.rq em{display:none;font-style:normal;font-weight:400;font-size:13px;color:var(--mute);margin-top:3px}
.rq em b{font-weight:600;color:var(--ink)}
.rq.cur em{display:block}
.rail-keys{margin-top:10px;font-size:12.5px;color:var(--faint)}
.rail-keys kbd{font:500 11px var(--font);border:1px solid var(--line);border-radius:5px;padding:0 5px;background:var(--surface);margin-right:2px;color:var(--mute)}
.a{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow);padding:clamp(16px,2vw,26px) clamp(16px,2.2vw,28px) 13px;margin-bottom:14px;scroll-margin-top:calc(var(--head-h,58px) + 14px);min-width:0;overflow:hidden}
.a .q{display:flex;align-items:center;gap:9px;font-size:14.5px;color:var(--mute);margin-bottom:6px}
.a h2{font-size:clamp(22px,2.3vw,33px);line-height:1.1;letter-spacing:-.026em;margin:2px 0 14px}
/* A question's section opens with its number, large and in a tint of the subject's colour, beside the question and
   the finding that answers it. The corner of the card behind them is washed with the same colour. */
.a:not(.plan){background:radial-gradient(120% 240px at 0 0,color-mix(in srgb,var(--hue,var(--accent)) 6%,transparent),transparent 64%),var(--surface)}
.a-head{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:clamp(13px,1.9vw,26px);margin:0 0 clamp(20px,2.4vw,28px)}
.a-head.solo{grid-template-columns:minmax(0,1fr)}
.a-no{grid-row:1/3;align-self:start;min-width:.62em;font-size:clamp(42px,5vw,66px);line-height:.88;font-weight:400;letter-spacing:-.05em;color:color-mix(in srgb,var(--hue,var(--accent)) 58%,var(--surface));font-variant-numeric:tabular-nums}
.a-head .q{display:block;margin:1px 0 6px;font-size:15px;line-height:1.35;color:var(--mute)}
.a-head h2{margin:0;max-width:31em;text-wrap:balance}
@media (max-width:560px){.a-no{font-size:36px}.a-head{column-gap:11px}}
.a .body{min-width:0}
/* A figure is one chart with its own reading, then a line with that chart's sources, query and link */
.fig{margin:0;min-width:0;scroll-margin-top:calc(var(--head-h,58px) + 14px)}
/* Charts under one question are parted by space and a labelled rule. The label is a soft pill as wide as its words,
   in the tint the chart tabs' track has: the sign of the chart's form on a small white disc, the chart's name, and
   the figure it shows. A hairline runs from the pill to the far edge, where a note says where the chart stands among
   the question's charts. It is a label on a rule, so nothing about it reads as a control. */
.a>.fig+.fig{margin-top:clamp(44px,5.6vw,70px)}
.fig-h{display:flex;align-items:center;gap:12px;margin:0 0 16px}
.fig-h::after{content:"";order:2;flex:1 1 20px;height:1px;background:var(--line)}
.fig-c{flex:0 1 auto;min-width:0;display:flex;align-items:center;gap:10px;padding:4px 17px 4px 4px;border-radius:19px;background:color-mix(in srgb,var(--hue,var(--accent)) 5%,var(--soft))}
.fig-i{flex:none;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--surface);box-shadow:0 1px 2px rgba(12,16,15,.1),0 0 0 1px var(--line);color:color-mix(in srgb,var(--hue,var(--accent)) 82%,var(--ink))}
.fig-i svg{display:block}
.fig-t{min-width:0;display:flex;flex-wrap:wrap;align-items:baseline;column-gap:9px;padding:2px 0}
.fig-t>b{font-size:15px;font-weight:600;line-height:1.3;letter-spacing:-.01em}
.fig-t>small{font-size:13.5px;line-height:1.35;color:var(--mute)}
.fig-t>small b.n{font-weight:600;color:var(--ink);font-variant-numeric:tabular-nums}
.fig-k{order:3;flex:none;font-size:12.5px;font-weight:500;color:var(--faint);font-variant-numeric:tabular-nums;white-space:nowrap}
/* Under a chart: the reading, on a soft ground with the subject's colour down its leading edge; then a plain line with
   the chart's sources at its start and its two buttons at its end; then the query, which opens under them. Only the
   reading is set apart, because it is the part to read. */
.cap{margin-top:20px}
/* The reading is justified, with hyphenation so the word spacing stays even */
.cap .read{position:relative;margin:0;padding:15px 20px 15px 22px;border-radius:14px;background:color-mix(in srgb,var(--hue,var(--chart-mark)) 5%,var(--soft));overflow:hidden;font-size:16px;line-height:1.7;color:color-mix(in srgb,var(--ink) 82%,var(--surface));text-align:justify;hyphens:auto;-webkit-hyphens:auto;text-wrap:pretty}
.cap .read::before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--hue,var(--chart-mark));opacity:.9}
.cap .read b.n{font-weight:600;color:var(--ink);font-variant-numeric:tabular-nums}
.cap .read[hidden]{display:none}
.cap-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px;padding-left:3px}
.cap .read[hidden]+.cap-meta{margin-top:0}
/* A block-level row, so the logos sit level with the buttons instead of on a line box */
.cap-meta .src-row{display:flex;flex-wrap:wrap}
/* The two buttons are bare icons until the pointer or the keyboard reaches them */
.cap-meta .icn{width:30px;height:30px;border-color:transparent;background:none}
.cap-meta .icn:hover,.cap-meta .icn:focus-visible{background:var(--soft);border-color:var(--line);color:var(--ink)}
.cap-meta .icn[aria-expanded="true"]{background:var(--ink);border-color:var(--ink);color:var(--surface)}
.cap-meta .icn.done{border-color:var(--accent);color:var(--accent)}
/* The query button carries its name beside the icon, with a faint outline so it reads as a button before it is reached */
.cap-meta .icn-q{display:inline-flex;align-items:center;gap:5px;width:auto;padding:0 10px 0 8px;border-color:var(--line);font-family:inherit;font-size:12.5px;font-weight:500;line-height:1;color:var(--mute);white-space:nowrap}
/* The query opens under the line of sources. Its row grows from nothing, so the page moves once and smoothly, and the
   card settles into place as it appears. Closed, it is out of reach of the keyboard and of screen readers as well as
   out of sight. */
.qx{display:grid;grid-template-rows:0fr;visibility:hidden;transition:grid-template-rows .34s cubic-bezier(.3,.7,.2,1),visibility 0s .34s}
.qx.open{grid-template-rows:1fr;visibility:visible;transition:grid-template-rows .34s cubic-bezier(.3,.7,.2,1)}
.qx-in{min-height:0;overflow:hidden}
.qx-box{margin-top:10px;border:1px solid var(--line);border-radius:12px;background:var(--surface);overflow:hidden;opacity:0;transform:translateY(-6px);transition:opacity .24s,transform .34s cubic-bezier(.3,.7,.2,1)}
.qx.open .qx-box{opacity:1;transform:none}
/* Its head names the tables the query reads and holds the button that copies it */
.qx-h{display:flex;align-items:center;gap:9px;min-height:40px;padding:5px 6px 5px 14px;background:var(--soft);border-bottom:1px solid var(--line);font-size:13px;color:var(--mute)}
.qx-h b{font-weight:600;color:var(--ink)}
.qx-tabs{display:flex;flex-wrap:wrap;gap:4px;min-width:0}
.qx-t{padding:1px 7px;border-radius:6px;background:var(--surface);box-shadow:inset 0 0 0 1px var(--line);font:500 11.5px/1.6 ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--mute);white-space:nowrap}
a.qx-t{text-decoration:none;transition:color .15s,box-shadow .15s}
button.qx-t{border:0;cursor:pointer;transition:color .15s,box-shadow .15s}
button.qx-t:hover{color:var(--ink);box-shadow:inset 0 0 0 1px var(--chart-mark)}
a.qx-t:hover,a.qx-t:focus-visible{color:color-mix(in srgb,var(--hue,var(--accent)) 72%,var(--ink));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--hue,var(--accent)) 55%,transparent)}
.qx-h .icn{margin-left:auto;width:28px;height:28px;border-color:transparent;background:none}
.qx-h .icn:hover,.qx-h .icn:focus-visible{background:var(--surface);border-color:var(--line);color:var(--ink)}
.qx-h .icn.done{background:var(--surface);border-color:var(--accent);color:var(--accent)}
/* The query itself: every line numbered, keywords in the subject's colour, text, numbers and notes each in their own */
.qx pre.q-sql{margin:0;padding:10px 14px 12px 0;border-radius:0;background:none;counter-reset:ln;max-height:min(440px,62vh);overflow:auto;line-height:1.65}
.q-sql .ln{display:block;position:relative;min-height:1.65em;padding-left:3.5em}
.q-sql .ln::before{counter-increment:ln;content:counter(ln);position:absolute;left:0;width:2.5em;text-align:right;color:var(--faint);opacity:.7;-webkit-user-select:none;user-select:none}
.q-sql b{font-weight:600;color:color-mix(in srgb,var(--hue,var(--accent)) 72%,var(--ink))}
.q-sql i{font-style:normal}
.q-sql i.s{color:var(--st-notyet)}
.q-sql i.n{color:var(--st-pending)}
.q-sql i.c{color:var(--faint)}
@media (prefers-reduced-motion:reduce){.qx,.qx.open,.qx-box{transition:none}}
@media (max-width:760px){.cap .read{font-size:15.5px;padding:13px 16px 13px 18px}}
/* A phone's column is too narrow to justify without wide gaps between words */
@media (max-width:560px){.cap .read{text-align:left}}
/* A question that shows one chart at a time offers its charts as a short row of choices on a soft track, each as
   wide as its words: the sign of the chart's form, its name, and the figure it shows. The chart on show sits on a
   white card that slides to whichever is chosen, with its sign on the subject's colour and its words in ink. Where
   the row is too long for a phone it scrolls, fading at the ends that hide more. */
.ctrack{display:inline-block;max-width:100%;margin:0 0 16px;padding:4px;border-radius:17px;background:color-mix(in srgb,var(--hue,var(--accent)) 4%,var(--soft));vertical-align:top}
.ctabs{position:relative;display:flex;gap:2px}
.ctab-glide{position:absolute;left:0;top:0;border-radius:13px;background:var(--surface);box-shadow:var(--shadow),0 0 0 1px var(--line);pointer-events:none}
.ctabs:not(.ready) .ctab-glide{display:none}
.ctabs.ready .ctab-glide{transition:transform .34s cubic-bezier(.3,.7,.2,1),width .34s cubic-bezier(.3,.7,.2,1),height .34s cubic-bezier(.3,.7,.2,1)}
.ctab{position:relative;z-index:1;flex:0 1 auto;min-width:0;display:flex;align-items:center;gap:10px;padding:7px 17px 7px 7px;border:0;border-radius:13px;background:none;text-align:left;cursor:pointer;transition:background .16s}
/* Until the card has been placed, and wherever it never is, the chosen tab carries the card itself */
.ctabs:not(.ready) .ctab[aria-selected="true"]{background:var(--surface);box-shadow:var(--shadow),0 0 0 1px var(--line)}
.ctab:not([aria-selected="true"]):hover{background:color-mix(in srgb,var(--ink) 4%,transparent)}
.ctab-i{flex:none;display:grid;place-items:center;width:32px;height:32px;border-radius:10px;color:var(--faint);transition:background .2s,color .2s}
.ctab-i svg{display:block}
.ctab-t{min-width:0}
.ctab-t>b{display:block;font-size:14.5px;font-weight:600;line-height:1.25;letter-spacing:-.008em;color:var(--mute);transition:color .16s}
.ctab small{display:block;margin-top:1px;font-size:12.5px;line-height:1.32;color:var(--faint);transition:color .16s}
.ctab small b.n{font-weight:600;color:inherit;font-variant-numeric:tabular-nums}
.ctab:hover .ctab-t>b{color:var(--ink)}.ctab:hover small,.ctab:hover .ctab-i{color:var(--mute)}
.ctab[aria-selected="true"] .ctab-i{background:color-mix(in srgb,var(--hue,var(--accent)) 12%,var(--surface));color:color-mix(in srgb,var(--hue,var(--accent)) 82%,var(--ink))}
.ctab[aria-selected="true"] .ctab-t>b{color:var(--ink)}
.ctab[aria-selected="true"] small{color:var(--mute)}
.ctab[aria-selected="true"] small b.n{color:var(--ink)}
.ctab:focus-visible{outline-offset:1px}
@media (prefers-reduced-motion:reduce){.ctabs.ready .ctab-glide{transition:none}}
@media (max-width:640px){
  .ctrack{display:block;padding:1px 4px}
  .ctabs{padding:3px 0;overflow-x:auto;scrollbar-width:none;-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 32px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 32px),transparent)}
  .ctabs::-webkit-scrollbar{display:none}
  .ctabs.moved{-webkit-mask-image:linear-gradient(90deg,transparent,#000 24px,#000 calc(100% - 32px),transparent);mask-image:linear-gradient(90deg,transparent,#000 24px,#000 calc(100% - 32px),transparent)}
  .ctabs::after{content:"";flex:0 0 24px}
  .ctab{flex:0 0 auto}
  .ctab-t>b,.ctab small{white-space:nowrap}
}
[role=tabpanel]:focus-visible{outline-offset:6px}
@keyframes cswap{from{opacity:0;transform:translateY(5px)}}
.cswap{animation:cswap .26s cubic-bezier(.2,.7,.2,1)}
.cpair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(16px,2.2vw,30px)}
.cpair+.nrr-chk{margin-top:16px}.nrr-chk td:nth-child(4),.nrr-chk td:nth-child(5){white-space:nowrap}
@media (max-width:980px){.cpair{grid-template-columns:minmax(0,1fr)}}
.a-acts{display:flex;gap:4px}
.icn{display:grid;place-items:center;flex:none;width:26px;height:26px;padding:0;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--mute);cursor:pointer;transition:color .15s,border-color .15s,background .15s}
.icn svg{display:block}
.icn:hover{color:var(--ink);border-color:var(--chart-mark)}
.icn[aria-expanded="true"]{background:var(--ink);border-color:var(--ink);color:var(--surface)}
.icn.done{color:var(--accent);border-color:var(--accent)}
pre.q-sql{margin:9px 0 0;padding:11px 13px;background:var(--soft);border-radius:10px;font:12.5px/1.55 ui-monospace,SFMono-Regular,Menlo,monospace;white-space:pre-wrap;overflow-wrap:anywhere}
.a.plan{background:none;border-style:dashed;box-shadow:none;padding-block:14px}
.a.plan h2{font-size:18px;letter-spacing:-.012em;margin:3px 0 2px}
.a.plan p{font-size:14px;color:var(--mute)}
.legend{display:flex;flex-wrap:wrap;gap:3px 14px;font-size:13px;margin-bottom:10px;color:var(--mute)}
.legend span{display:inline-flex;align-items:center;gap:6px}
.legend i{width:10px;height:10px;border-radius:50%;display:block;flex:none}
.legend i.grad{width:44px;height:8px;border-radius:4px}
/* Market: two bars a chain on one scale, with zero where the scale puts it */
.mk-grow{display:grid;gap:11px;margin-top:6px}
.mk-gr{display:grid;grid-template-columns:minmax(0,96px) minmax(0,1fr);gap:10px;align-items:center}
.mk-gl{font-size:13.5px;line-height:1.25;color:var(--mute)}
.mk-gr.on .mk-gl{color:var(--ink);font-weight:650}
.mk-gs{display:grid;gap:3px;min-width:0}
.mk-gt{position:relative;display:block;height:17px}
.mk-gz{position:absolute;top:-4px;bottom:-4px;width:1px;background:var(--faint);opacity:.45}
.mk-gb{position:absolute;top:2px;bottom:2px;border-radius:3px;background:#d9658f}
.mk-gb.qt{background:#e9b3c6}
.mk-gr:not(.on) .mk-gb{opacity:.6}
.mk-gt b{position:absolute;top:0;line-height:17px;font-size:12.5px;font-weight:600;font-variant-numeric:tabular-nums;color:var(--ink);white-space:nowrap}
.mk-gr:not(.on) .mk-gt b{font-weight:500;color:var(--mute)}
@media(max-width:520px){.mk-gr{grid-template-columns:minmax(0,1fr);gap:4px}}
.chips{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:10px}
.chip{padding:5px 12px;border:1px solid var(--line);border-radius:99px;font-size:13.5px;color:var(--mute);min-height:32px;background:var(--surface);transition:all .15s}
.chip:hover{color:var(--ink)}
.chip[aria-pressed="true"]{background:var(--ink);color:var(--surface);border-color:var(--ink)}
.chip.dot{display:inline-flex;align-items:center;gap:7px}.chip.dot i{width:8px;height:8px;border-radius:50%;display:block}
.chip.dot[aria-pressed="false"] i{opacity:.3}
.chip.dot[aria-pressed="true"]{background:var(--soft);color:var(--ink);border-color:var(--line)}
.cmp-bar{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 14px}

/* Model */
.model{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,7fr);gap:clamp(16px,3vw,40px)}
.f{margin-bottom:8px}.f label{display:flex;justify-content:space-between;gap:10px;font-size:14px;color:var(--mute)}.f b{color:var(--ink);font-weight:600}
input[type=range]{-webkit-appearance:none;appearance:none;width:100%;height:28px;margin:0;background:none}
input[type=range]::-webkit-slider-runnable-track{height:5px;border-radius:3px;background:linear-gradient(90deg,var(--chart-1) var(--p,0%),var(--soft) var(--p,0%))}
input[type=range]::-moz-range-track{height:5px;border-radius:3px;background:var(--soft)}
input[type=range]::-moz-range-progress{height:5px;border-radius:3px;background:var(--chart-1)}
input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:19px;height:19px;margin-top:-7px;border-radius:50%;background:#fff;border:1px solid rgba(12,16,15,.16);box-shadow:0 2px 8px rgba(12,16,15,.25)}
input[type=range]::-moz-range-thumb{width:19px;height:19px;border-radius:50%;background:#fff;border:1px solid rgba(12,16,15,.16);box-shadow:0 2px 8px rgba(12,16,15,.25)}
.bignum{display:flex;align-items:center;gap:14px;font-weight:500;font-size:clamp(38px,4.4vw,60px);line-height:1.05;letter-spacing:-.035em}
.rec{padding:11px 13px;background:var(--soft);border-radius:10px;font-size:14px;margin-top:10px}.rec b{display:block;font-weight:600}.rec span{color:var(--mute)}

.tw{overflow-x:auto}
table.t{width:100%;border-collapse:collapse;font-size:14.5px}
.t th{font-weight:500;color:var(--mute);text-align:left;padding:8px 14px 8px 0;border-bottom:1px solid var(--line);white-space:nowrap;font-size:13px}
.t td{padding:10px 14px 10px 0;border-bottom:1px solid var(--line);vertical-align:top}
.t td.num,.t th.num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.t tr:last-child td{border-bottom:0}
/* A table of checks: what, how it is seen from outside, and the reading. On a phone each row stacks, with the
   reading under the other two, so nothing scrolls sideways. */
table.chk td:first-child{font-weight:500;min-width:118px}table.chk td:last-child{min-width:230px}
/* One line over a table of checks: what it is for, with the three marks as its key */
.chk-lead{margin:0 0 14px;color:var(--mute);font-size:14.5px;line-height:1.6;max-width:78ch}.chk-key{display:flex;flex-wrap:wrap;gap:4px 18px;margin-top:6px}.chk-key .stamp{font-size:13.5px}
table.trip .fig{display:block;font-weight:600;font-variant-numeric:tabular-nums;margin-bottom:3px}table.trip td:nth-child(2){white-space:nowrap}table.trip td:first-child a{color:inherit;text-decoration:underline;text-decoration-color:var(--line);text-underline-offset:3px}table.trip td:first-child a:hover{text-decoration-color:currentColor}
@media(max-width:620px){table.chk,table.chk tbody{display:block}table.chk thead{display:none}table.chk tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 12px;padding:12px 0;border-bottom:1px solid var(--line)}table.chk tr:last-child{border-bottom:0}table.chk td,table.chk td:first-child,table.chk td:last-child{padding:0;border:0;min-width:0}table.chk td:last-child{grid-column:1/-1}}
@media(max-width:620px){table.trip td:nth-child(2){text-align:right}table.trip .stamp{justify-content:flex-end}}
/* Pairs of bars, each pair on its own scale, with what it measures and its change above it */
.qpair{display:grid;gap:24px 34px;grid-template-columns:repeat(3,minmax(0,1fr));padding:6px 0 4px}
@media(max-width:900px){.qpair{grid-template-columns:minmax(0,1fr)}}
.qp-h{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:8px;font-size:13.5px;color:var(--mute)}
.qp-h b{color:var(--ink);font-weight:600;font-size:15px;font-variant-numeric:tabular-nums;white-space:nowrap}
/* A table of correlations. A key above it says what the number is and how to read it. Each value is drawn as a bar
   from zero on a track that runs from -1 to +1, so its sign and its strength show before the number is read. The
   darker band about the zero mark is the most that chance alone gives with that row's number of weeks: a bar that
   stays inside it is grey and its number quiet, a bar that leaves it takes the subject's colour and its number is set
   heavier. The head of each column carries the track's scale. */
.corr-key{margin:0 0 6px;font-size:13.5px;line-height:1.5;color:var(--mute)}
.corr-key p{margin:0 0 9px;max-width:74ch;font-size:14.5px;color:color-mix(in srgb,var(--ink) 80%,var(--surface));text-wrap:pretty}
.corr-key p b{font-weight:600;color:var(--ink)}
.corr-key ul{display:flex;flex-wrap:wrap;gap:6px 22px;margin:0;padding:0;list-style:none}
.corr-key li{display:inline-flex;align-items:center;gap:8px}
.corr-key li b{font-weight:600;color:var(--ink);font-variant-numeric:tabular-nums}
.corr-key .cv i{flex:0 0 40px}
table.corr{--trk:clamp(52px,9.5vw,136px);--val:52px;--gap:12px;font-size:15px}
.corr thead th,.corr thead th.num{padding-bottom:9px;vertical-align:bottom;white-space:normal;line-height:1.3}
.corr thead th.num{padding-left:10px;padding-right:0}
/* A column's head is a box as wide as the track and set over it: the name is centred on the track's zero mark, and
   the scale under it has its 0 on that mark too */
.corr-h{display:flex;flex-direction:column;align-items:center;gap:6px;width:var(--trk);margin:0 calc(var(--val) + var(--gap)) 0 auto}
.corr-l{width:max-content;max-width:calc(var(--trk) + 64px);text-align:center;text-wrap:balance}
.corr-sc{display:grid;grid-template-columns:1fr auto 1fr;align-self:stretch;font-size:11px;font-weight:400;color:var(--faint);font-variant-numeric:tabular-nums}
.corr-sc span:first-child{text-align:left}.corr-sc span:last-child{text-align:right}
.corr-g th{padding:18px 0 7px;border-bottom:1px solid var(--ink);font-size:13.5px;font-weight:600;color:var(--ink);white-space:normal}
.corr-g th small{margin-left:8px;font-size:13px;font-weight:400;color:var(--mute)}
.corr tbody th[scope="row"]{padding:11px 14px 11px 0;border-bottom:1px solid var(--line);font-size:15px;font-weight:500;color:var(--ink);white-space:nowrap}
.corr td{padding:11px 0 11px 10px;vertical-align:middle}
.corr tbody tr:last-child th{border-bottom:0}
.cv{display:flex;align-items:center;justify-content:flex-end;gap:var(--gap,12px)}
.cv i{position:relative;flex:0 0 var(--trk);height:8px;border-radius:4px;background:linear-gradient(90deg,transparent calc(50% - var(--b,0%)),color-mix(in srgb,var(--ink) 11%,transparent) 0 calc(50% + var(--b,0%)),transparent 0),color-mix(in srgb,var(--ink) 6%,transparent)}
.cv i::before{content:"";position:absolute;left:50%;top:-4px;bottom:-4px;width:1px;background:var(--chart-mark)}
.cv i::after{content:"";position:absolute;left:var(--l);top:0;bottom:0;width:var(--w);min-width:2px;border-radius:4px;background:var(--chart-mark)}
.cv.out i::after{background:color-mix(in srgb,var(--hue,var(--accent)) 88%,var(--ink))}
.cv b{flex:0 0 var(--val,52px);text-align:right;font-weight:500;font-variant-numeric:tabular-nums;color:var(--mute)}
.cv.out b{font-weight:650;color:var(--ink)}
/* On a phone each value sits over its bar, which takes the cell's width, so all four columns fit without scrolling */
@media (max-width:560px){table.corr{font-size:14px}.corr-sc{display:none}.corr thead th{font-size:12px}.corr thead th.num,.corr td{padding-left:8px}.corr-h{width:auto;margin:0}.corr-l{width:auto;max-width:none}.corr td .cv{flex-direction:column-reverse;align-items:stretch;gap:5px}.corr td .cv i{flex:none;width:100%;height:6px}.corr td .cv b{flex:none;text-align:center}.corr tbody th[scope="row"]{padding-right:6px;white-space:normal;font-size:14px}.corr-key p{font-size:14px}}
/* The table of decisions. Support and turnout are meters with a tick at the bar each vote needed. On a narrow screen
   each vote is a block: what it decides, then its figures two to a line under their names, then what the chain shows.
   The switch follows the width of the card the table sits in, not the window's. */
.dec td{vertical-align:middle}.dec-w{min-width:240px;line-height:1.35}.dec-w b{display:block;font-weight:600}.dec small,.dec-by{display:block;color:var(--mute);font-size:13px;line-height:1.4;margin-top:2px}
.dec td.num,.dec th.num{padding-left:8px}.dec-c{min-width:128px}.dec .dec-sub td{padding-top:22px;font-size:13px;font-weight:500;color:var(--mute)}
.meter.mt{position:relative;overflow:visible}.meter.mt em{position:absolute;top:-3px;bottom:-3px;width:2px;margin-left:-1px;border-radius:1px;background:var(--ink)}
.dec-tw{container-type:inline-size}
@container (max-width:700px){table.dec,table.dec tbody{display:block}table.dec thead{display:none}table.dec tr{display:grid;grid-template-columns:1fr 1fr;gap:10px 16px;padding:14px 0;border-bottom:1px solid var(--line)}table.dec tr:last-child{border-bottom:0}table.dec td,table.dec td.num{padding:0;border:0;min-width:0;text-align:left;white-space:normal}table.dec td.dec-w,table.dec td.dec-c,table.dec .dec-sub td{grid-column:1/-1}table.dec td[data-l]::before{content:attr(data-l);display:block;font-size:12px;color:var(--mute);margin-bottom:3px}table.dec tr.dec-sub{padding:18px 0 0;border-bottom:0}}
/* The contract table. Five columns with set widths on a wide screen; on a phone the name, the count and the share. */
.ct th,.ct th.num{white-space:normal;vertical-align:bottom}.ct th,.ct td{padding-right:0;padding-left:28px}.ct th:first-child,.ct td:first-child{padding-left:0}
.ct td:first-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ct td:first-child small{display:block;font-size:13px;color:var(--mute)}
.ct .ct-share{padding-left:52px}
@media(min-width:621px){table.ct{table-layout:fixed}.ct th:nth-child(1){width:31%}.ct th:nth-child(2),.ct th:nth-child(3){width:16%}.ct th:nth-child(4){width:23%}.ct th:nth-child(5){width:14%}}
@media(max-width:620px){.ct .ct-wide,.ct .meter{display:none}.ct th,.ct td{padding-left:14px}.ct .ct-share{padding-left:14px;text-align:right}.ct .meter-h{min-width:0}.ct .meter-c b{margin-left:0}}
.meter-h{min-width:112px}.meter-c{white-space:nowrap}.meter-c b{font-weight:500;font-size:13.5px;font-variant-numeric:tabular-nums;margin-left:8px}
.meter{display:inline-block;width:58px;height:6px;border-radius:3px;background:var(--soft);overflow:hidden;vertical-align:middle}.meter i{display:block;height:100%;border-radius:3px}

/* Plain pages */
.plain-hero{padding-block:clamp(24px,4vh,42px) clamp(50px,8vh,72px)}
.plain-hero h1{font-size:clamp(36px,5vw,70px);line-height:1;letter-spacing:-.036em}
.plain-hero p{color:var(--night-mute);margin-top:9px;max-width:48em;font-size:clamp(16px,1.3vw,18px)}
.steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:start}
.steps .card{padding:18px}
.steps pre{margin:10px 0 0;padding:11px 13px;background:var(--night);color:#dfe9e5;border-radius:10px;font:12.5px/1.6 ui-monospace,SFMono-Regular,Menlo,monospace;white-space:pre-wrap;overflow-wrap:anywhere}
.steps pre b{color:var(--mint);font-weight:500}
.steps h2{font-size:19px;line-height:1.2;letter-spacing:-.015em}
.steps p{font-size:14.5px;color:var(--mute);margin-top:3px}
.toast{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(64px + env(safe-area-inset-bottom,0px));z-index:70;background:var(--ink);color:var(--surface);padding:10px 15px;border-radius:11px;font-size:14px;box-shadow:0 12px 34px rgba(0,0,0,.28);max-width:calc(100vw - 32px)}
.cmdk{position:fixed;inset:0;z-index:50;background:rgba(6,9,8,.5);backdrop-filter:blur(6px);display:flex;justify-content:center;align-items:flex-start;padding:12vh 16px 16px}
.cmdk-box{width:min(660px,100%);background:var(--surface);border:1px solid var(--line);border-radius:16px;box-shadow:0 30px 80px rgba(0,0,0,.4);overflow:hidden;display:flex;flex-direction:column;max-height:70vh}
.cmdk input{width:100%;border:0;outline:0;background:none;color:var(--ink);padding:15px 18px;font:400 17px var(--font);border-bottom:1px solid var(--line)}
.cmdk ul{list-style:none;margin:0;padding:6px;overflow-y:auto}
.cmdk li button{display:flex;justify-content:space-between;gap:14px;width:100%;padding:9px 11px;border-radius:9px;text-align:left;font-size:14.5px}
.cmdk li button span{min-width:0}.cmdk li button small{color:var(--faint);white-space:nowrap}.cmdk li button.on{background:var(--soft)}
/* The footer is the header, unrolled. It stands on the same surface (night by night, the page's own by day), its
   mark has the same glow, the subjects sit in the same rounded track with the page you are on lit in its subject's
   colour, and the site's other pages carry the header's own icons. By night the bright sheet ends on it in rounded
   corners, as it begins under the hero; by day one rule parts them. A wash of the current subject's colour (mint on
   any other page) lies under that edge. The last line says whose site this is not. */
@property --end-hue{syntax:'<color>';inherits:true;initial-value:#00ec97}
.end{position:relative;isolation:isolate;overflow:hidden;background:var(--night);color:var(--night-mute);padding-block:calc(26px + clamp(30px,5vh,50px)) max(22px,env(safe-area-inset-bottom,0px));font-size:13.5px;transition:--end-hue .5s}
.end::before{content:"";position:absolute;z-index:1;left:0;right:0;top:0;height:26px;background:var(--page);border-radius:0 0 26px 26px;box-shadow:0 1px 0 var(--night-line)}
.end::after{content:"";position:absolute;z-index:0;left:0;right:0;top:0;height:340px;pointer-events:none;background:radial-gradient(48% 250px at 12% 26px,color-mix(in srgb,var(--end-hue) 15%,transparent),transparent 72%),radial-gradient(34% 200px at 92% 26px,rgba(63,111,232,.07),transparent 70%)}
.end>.wrap{position:relative;z-index:2}
.end :focus-visible{outline-color:var(--mint)}
.end-top{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,3fr);gap:30px clamp(28px,5vw,84px);align-items:start}
.end-brand{display:inline-flex;align-items:center;gap:10px;font-weight:600;font-size:16.5px;letter-spacing:-.02em;color:var(--night-ink);text-decoration:none;white-space:nowrap}
.end-brand svg{flex:none;filter:drop-shadow(0 0 9px rgba(0,236,151,.3));transition:filter .2s}
.end-brand:hover svg{filter:drop-shadow(0 0 12px rgba(0,236,151,.55))}
.end-id p{margin-top:14px;max-width:25em;font-size:15px;line-height:1.5;color:var(--night-mute);text-wrap:pretty}
/* How fresh the numbers are, as a field like the header's search */
.end-data{display:inline-flex;align-items:center;gap:9px;margin-top:18px;min-height:32px;padding:4px 12px 4px 11px;border-radius:10px;background:rgba(255,255,255,.05);box-shadow:inset 0 0 0 1px rgba(255,255,255,.08);color:var(--night-mute);font-size:13px;line-height:1.3;text-decoration:none;transition:color .15s,background .15s,box-shadow .15s}
.end-data i{flex:none;width:7px;height:7px;border-radius:50%;background:var(--mint);box-shadow:0 0 0 3px rgba(0,236,151,.16),0 0 10px rgba(0,236,151,.55)}
.end-data b{font-weight:500;color:var(--night-ink);white-space:nowrap}
.end-data:hover{color:var(--night-ink);background:rgba(255,255,255,.08);box-shadow:inset 0 0 0 1px rgba(255,255,255,.2)}
/* The last line: whose site this is not, and the way back up */
.end-base{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 24px;margin-top:clamp(26px,4.4vh,40px);padding-top:14px;border-top:1px solid var(--night-line)}
.end-ind{font-size:13px;line-height:1.45;color:var(--night-mute)}
.end-up{display:inline-flex;align-items:center;gap:8px;height:34px;padding:0 9px 0 12px;border-radius:10px;background:rgba(255,255,255,.05);box-shadow:inset 0 0 0 1px rgba(255,255,255,.08);color:var(--night-mute);font-size:13.5px;white-space:nowrap;transition:color .15s,background .15s,box-shadow .15s}
.end-up svg{flex:none;transition:transform .2s}
.end-up:hover{color:var(--night-ink);background:rgba(255,255,255,.08);box-shadow:inset 0 0 0 1px rgba(255,255,255,.2)}
.end-up:hover svg{transform:translateY(-2px)}
@media (max-width:1100px){.end-top{grid-template-columns:minmax(0,1fr)}.end-id p{max-width:34em}}
@media (prefers-reduced-motion:reduce){.end,.end-up svg{transition:none}.end-up:hover svg{transform:none}}
@media (max-width:1100px){.st{grid-column:span 6}.st.big{grid-column:span 12}.model{grid-template-columns:minmax(0,1fr)}.hero-top{grid-template-columns:minmax(0,1fr);align-items:start;gap:clamp(22px,3.6vh,32px)}.stats{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:clamp(20px,4vw,48px)}.layout{grid-template-columns:minmax(0,1fr)}
  /* Under the header the rail is a bar of glass from one edge of the screen to the other. The questions run along
     it, the one being read on a white pill that slides to the next, its number on the subject's colour; a question
     already read keeps a ring of that colour. The row scrolls, comes to rest on a question, and fades where more
     lies beyond its ends. The bar's end says where the reader stands (5 of 8), and its foot is a line that fills as
     the page is read. */
  .rail{top:var(--head-h,58px);z-index:20;display:flex;align-items:center;gap:6px;max-height:none;overflow:visible;margin-inline:calc(-1*var(--gutter));padding:5px var(--gutter) 8px;background:color-mix(in srgb,var(--page) 84%,transparent);-webkit-backdrop-filter:blur(16px) saturate(1.6);backdrop-filter:blur(16px) saturate(1.6)}
  .rail-keys,.rail-t,.rail-ring{display:none}
  .rail-top{order:2;flex:none}
  .rail-pos{display:block;padding:4px 9px;border-radius:99px;background:color-mix(in srgb,var(--ink) 5%,transparent);font-size:12px;font-weight:500;line-height:1.3;color:var(--mute);font-variant-numeric:tabular-nums;white-space:nowrap}
  .rail-bar{position:absolute;left:0;right:0;bottom:0;height:2px;margin:0;border-radius:0;background:color-mix(in srgb,var(--ink) 7%,transparent)}
  .rail-bar i{border-radius:0 2px 2px 0}
  .rail-box{flex:1;min-width:0;position:relative;padding:3px 0 5px;overflow-x:auto;scrollbar-width:none;scroll-snap-type:x proximity;scroll-padding-left:28px;-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 30px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 30px),transparent)}
  .rail-box::-webkit-scrollbar{display:none}
  .rail-box.moved{-webkit-mask-image:linear-gradient(90deg,transparent,#000 24px,#000 calc(100% - 30px),transparent);mask-image:linear-gradient(90deg,transparent,#000 24px,#000 calc(100% - 30px),transparent)}
  .rail-glide{display:block;position:absolute;left:0;top:3px;bottom:5px;width:var(--cur-w,0px);transform:translateX(var(--cur-x,0px));border-radius:99px;background:linear-gradient(90deg,color-mix(in srgb,var(--hue,var(--accent)) 8%,var(--surface)),var(--surface) 62%);box-shadow:var(--shadow),0 0 0 1px var(--line)}
  .rail-box.ready .rail-glide{transition:transform .34s cubic-bezier(.3,.7,.2,1),width .34s cubic-bezier(.3,.7,.2,1)}
  .rail-list{z-index:1;display:flex;gap:2px;width:max-content;padding:0 30px 0 1px}.rail-list::before{display:none}
  .rail-list li{scroll-snap-align:start}
  .rq{display:flex;align-items:center;gap:8px;white-space:nowrap;padding:6px 16px 6px 6px;border-radius:99px;font-size:13.5px}
  .rq .qn{background:color-mix(in srgb,var(--ink) 6%,transparent);box-shadow:none}
  .rq.done .qn{background:none;box-shadow:inset 0 0 0 1.5px color-mix(in srgb,var(--hue,var(--accent)) 70%,transparent)}
  .rq em,.rq.cur em{display:none}
  .rq.cur .qn{background:color-mix(in srgb,var(--hue,var(--accent)) 16%,var(--surface));color:color-mix(in srgb,var(--hue,var(--accent)) 82%,var(--ink));box-shadow:none}
  .a{scroll-margin-top:calc(var(--head-h,58px) + 62px)}.steps{grid-template-columns:minmax(0,1fr)}}
/* Above phone width the header fits itself. A script (fitHead) tries the roomiest layout first and steps down until every subject
   shows on one line beside the tools: fit 1 tightens the spacing, fit 2 makes search an icon, fit 3 also turns Sources, Library and Studio into icons,
   fit 4 gives the subjects a row of their own, and fit 5 tightens that row. Nothing depends on a fixed width, so a new link or subject cannot break it. */
.head[data-fit] .head-in{flex-wrap:nowrap}
.head[data-fit] .head-in>:not(.tabs){flex-shrink:0}
.head:is([data-fit="1"],[data-fit="2"],[data-fit="3"]) .head-in{column-gap:14px}
.head:is([data-fit="1"],[data-fit="2"],[data-fit="3"]) .tabs a,.head:is([data-fit="1"],[data-fit="2"],[data-fit="3"]) .tools a{padding:6px 7px}
.head:is([data-fit="1"],[data-fit="2"],[data-fit="3"],[data-fit="4"],[data-fit="5"]) .findbtn kbd{display:none}
.head:is([data-fit="2"],[data-fit="3"]) .findbtn{width:34px;padding:0;justify-content:center}
.head:is([data-fit="2"],[data-fit="3"]) .findbtn .fb-t{display:none}
.head[data-fit="3"] .tools a{width:34px;height:34px;padding:0;border-radius:10px;background:rgba(255,255,255,.05);box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}
.head[data-fit="3"] .tools a:hover{background:rgba(255,255,255,.09);box-shadow:inset 0 0 0 1px rgba(255,255,255,.2)}
.head[data-fit="3"] .tools a[aria-current]{background:rgba(255,255,255,.15)}
.head[data-fit="3"] .tools a svg{display:block}
.head[data-fit="3"] .tools a .tl{display:none}
.head[data-fit="3"] .tools a+.findbtn{margin-left:0}
.head:is([data-fit="3"],[data-fit="5"]) .tabs a{font-size:13.5px;padding:6px 6px}
@media (max-width:760px){.kp{grid-template-columns:repeat(2,minmax(0,1fr))}.tabs{order:5;flex-basis:100%}.tools a{display:none}.tabs .tab-x{display:block}.findbtn kbd{display:none}.st{grid-column:span 12}.st.big{flex-direction:column}.st.big .st-in{flex:none;padding-right:17px}.st.big .st-viz{display:block;flex:none;padding:8px 17px 17px}.stats{grid-template-columns:minmax(0,1fr)}}
/* When the subjects take a row of their own (fits 4 and 5, and always on phones), the header is a grid: the logo and the tools share the top row,
   which keeps the full header height so its buttons sit centred, and the subjects' track sits on a second row, its edge in line with the brand.
   The track hugs its links; where they do not all fit it fills the row and scrolls. */
.head:is([data-fit="4"],[data-fit="5"]) .head-in{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px;row-gap:0}
.head:is([data-fit="4"],[data-fit="5"]) .brand{grid-area:1/1;min-width:0;min-height:54px}
.head:is([data-fit="4"],[data-fit="5"]) .tools{grid-area:1/2}
.head:is([data-fit="4"],[data-fit="5"]) .tabs{grid-area:2/1/3/3;justify-self:start;max-width:100%;margin-bottom:10px}
@media (max-width:760px){.head-in{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px;row-gap:0}.brand{grid-area:1/1;min-width:0;min-height:50px}.tools{grid-area:1/2}.tabs{grid-area:2/1/3/3;justify-self:start;max-width:100%;margin-bottom:9px}}
.brand-t{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* On a narrow phone search becomes an icon the size of the theme button; on the narrowest the logo keeps only its mark */
@media (max-width:480px){.findbtn{width:34px;padding:0;justify-content:center}.findbtn .fb-t{display:none}}
@media (max-width:340px){.brand{font-size:15px;gap:8px}.tools{gap:5px}}
@media (max-width:280px){.brand-t{display:none}}
/* On a phone each question card is one line of evidence: the question on the left, its answer on the right */
@media (max-width:560px){.qcard{min-height:0;display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"n q a" "n s a";gap:3px 12px;align-items:start;padding:12px 14px}.qcard-top{display:contents}.qcard .qno,.qcard .qn{grid-area:n}.qcard .qno{min-width:13px;font-size:17px;line-height:1.3;letter-spacing:0}.qcard .qr{display:none}.qcard h3{grid-area:q;margin:0;font-size:15px}.qcard>.ans{grid-area:a;align-self:center;margin:0;padding:0;font-size:26px;text-align:right}.qcard>small{grid-area:s}}
/* Redesign: colour is the map. Every subject owns its hue, and the hue follows the reader wherever that subject appears. */
.s-night{background:radial-gradient(70% 90% at 88% -12%,color-mix(in srgb,var(--hue) 30%,transparent),transparent 62%),radial-gradient(46% 70% at 6% 6%,color-mix(in srgb,var(--hue) 13%,transparent),transparent 66%),var(--night)}
.s-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}
.s-top .crumb{display:inline-flex;align-items:center;min-height:32px;margin:0;color:var(--night-mute);text-decoration:none;font-size:14px}.s-top .crumb:hover{color:var(--night-ink)}
.s-step{display:flex;align-items:center;gap:6px;font-size:13.5px;color:var(--night-mute);font-variant-numeric:tabular-nums}
.s-step span{margin-right:4px}
.s-step a{display:grid;place-items:center;width:32px;height:32px;border:1px solid var(--night-line);border-radius:9px;color:var(--night-mute);transition:color .15s,border-color .15s}
.s-step a:hover{color:var(--night-ink);border-color:color-mix(in srgb,var(--hue) 70%,transparent)}
.s-step a.back svg{transform:scaleX(-1)}
.s-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,420px);gap:clamp(24px,4vw,72px);align-items:end}
/* The tile's live mini chart becomes the subject's signature, drawn in the dark hero's own tokens */
.s-sig{margin:0;display:flex;flex-direction:column;gap:9px;--surface:#121918;--ink:#eff3f1;--mute:#a4adaa;--line:rgba(239,243,241,.09);--soft:#1b211f;--chart-ink:#8d9693;--chart-grid:rgba(239,243,241,.075);--chart-surface:#121918;--chart-strong:#e9edeb;--chart-mark:#5e6764;--chart-mute:#3c4441;--cal-bg:#0b1211;--cal-low:#10231c;--cal-mid:#0a6b4c;--cal-high:#00ec97;--cal-ink:rgba(239,243,241,.6);color:var(--ink)}
.s-viz{min-height:72px;view-transition-name:sig}
.s-viz canvas{border-radius:8px!important}
.s-sig figcaption{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--night-mute)}
.s-sig figcaption::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--hue);flex:none}
@media (max-width:900px){.s-head{grid-template-columns:minmax(0,1fr)}.s-sig{display:none}}
::view-transition-group(sig){animation-duration:.5s;animation-timing-function:cubic-bezier(.2,.7,.2,1)}
::view-transition-old(root),::view-transition-new(root){animation-duration:.26s}
/* Each question is its own card, so one piece of evidence never runs into the next */
.doc{display:grid;gap:16px}
.doc>.a{margin:0;padding:clamp(18px,2.2vw,28px) clamp(18px,2.4vw,30px) clamp(18px,2.2vw,26px)}
.qcard .qn{box-shadow:inset 0 0 0 1.5px var(--hue,transparent)}
/* Beside the evidence the rail is a spine with the questions hung on it. Its head carries a ring that closes as
   the questions are read. The spine fills with the subject's colour as far as the question being read. That question
   sits on a card, which slides from one question to the next: its number stands on a tile of the subject's colour,
   and its answer is set large under a hairline. Below 1101px the rail is the bar set out further down. */
@media (min-width:1101px){
  .rail-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 4px 13px 0;font-size:13px}
  .rail-t{font-weight:600;color:var(--ink)}
  .rail-n{display:inline-flex;align-items:center;gap:8px}
  .rail-pos{font-size:12.5px;font-variant-numeric:tabular-nums}
  .rail-ring{display:block;width:18px;height:18px;transform:rotate(-90deg)}
  .rail-ring circle{fill:none;stroke-width:2.6}
  .rail-ring .t{stroke:color-mix(in srgb,var(--ink) 10%,transparent)}
  .rail-ring .f{stroke:var(--hue,var(--accent));stroke-linecap:round;stroke-dasharray:var(--p,0) 1;transition:stroke-dasharray .4s cubic-bezier(.3,.7,.2,1)}
  .rail-bar{display:none}
  .rail-box{position:relative;padding:1px 3px 4px 0}
  .rail-glide{display:block;position:absolute;left:13px;right:3px;top:1px;height:var(--cur-h,0px);transform:translateY(var(--cur-y,0px));border-radius:13px;background:radial-gradient(130% 84px at 0 0,color-mix(in srgb,var(--hue,var(--accent)) 8%,transparent),transparent 72%),var(--surface);box-shadow:var(--shadow),0 0 0 1px var(--line)}
  .rail-box.ready .rail-glide{transition:transform .34s cubic-bezier(.3,.7,.2,1),height .34s cubic-bezier(.3,.7,.2,1)}
  .rail-list{z-index:1;padding-left:13px}
  .rail-list::before{left:0;top:0;bottom:0;width:2px;border-radius:2px}
  .rail-list::after{content:"";position:absolute;left:0;top:0;width:2px;height:var(--fill,0px);max-height:100%;border-radius:2px;background:var(--hue,var(--accent));transition:height .34s cubic-bezier(.3,.7,.2,1)}
  .rq{grid-template-columns:22px minmax(0,1fr);gap:9px;padding:10px 13px 11px 10px;border-radius:13px;transition:color .15s,background .15s}
  .rq:not(.cur):hover{background:color-mix(in srgb,var(--ink) 4%,transparent)}
  .rq .qn,.rq.done .qn,.rq.cur .qn{display:grid;place-items:center;width:22px;height:22px;margin-top:-2px;border-radius:7px;background:none;box-shadow:none;font-size:12.5px;font-weight:600;line-height:1;font-variant-numeric:tabular-nums}
  .rq .qn{color:var(--faint)}
  .rq.done .qn{color:var(--mute)}
  .rq.cur .qn{background:color-mix(in srgb,var(--hue,var(--accent)) 12%,var(--surface));color:color-mix(in srgb,var(--hue,var(--accent)) 82%,var(--ink))}
  /* The answer's hairline runs the width of the card's words and number; the figure is set large over what it measures */
  .rq em{margin:10px 0 0 -31px;padding:10px 0 1px 31px;border-top:1px solid var(--line);font-size:12.5px;line-height:1.4}
  .rq em b{display:block;margin:0 0 2px;font-size:20px;line-height:1.1;letter-spacing:-.022em;font-variant-numeric:tabular-nums}
  .rail-keys{display:flex;align-items:center;gap:5px;margin:12px 0 0 13px}
  .rail-keys kbd{display:inline-grid;place-items:center;min-width:21px;height:21px;margin:0;padding:0 5px;border-bottom-width:2px;border-radius:6px}
  .rail-keys kbd+kbd{margin-right:4px}
}
@media (prefers-reduced-motion:reduce){.rail-list::after,.rail-box.ready .rail-glide,.rail-ring .f{transition:none}}
.plans{margin-top:14px;padding:4px clamp(16px,2vw,22px) 6px;border:1px dashed var(--chart-mark);border-radius:var(--r)}
.plans h3{font-size:14px;font-weight:500;color:var(--mute);margin:12px 0 2px}
.plans .a.plan{border:0;border-top:1px solid var(--line);border-radius:0;margin:0;padding:12px 0}
.plans .a.plan:first-of-type{border-top:0}
/* Every subject page ends by pointing both ways */
/* The foot of a subject page: the subjects before and after it, each a preview with its name, its headline number
   and its own small chart, on a ground washed with its colour from the corner the arrow points to */
.pager{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}
.pg{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,40%);align-items:end;gap:6px 18px;min-height:128px;padding:16px 18px;border:1px solid var(--line);border-radius:var(--r);background:radial-gradient(90% 140% at 0% 0%,color-mix(in srgb,var(--hue,var(--mint)) 10%,transparent),transparent 64%),var(--surface);box-shadow:var(--shadow);color:inherit;text-decoration:none;overflow:hidden;transition:transform .18s,border-color .15s,box-shadow .18s}
.pg.next{grid-template-columns:minmax(0,40%) minmax(0,1fr);background:radial-gradient(90% 140% at 100% 0%,color-mix(in srgb,var(--hue,var(--mint)) 10%,transparent),transparent 64%),var(--surface)}
.pg.solo{grid-template-columns:minmax(0,1fr)}
.pg:hover{transform:translateY(-2px);border-color:color-mix(in srgb,var(--hue,var(--mint)) 55%,var(--line));box-shadow:var(--shadow-2)}
.pg-t{display:flex;flex-direction:column;gap:3px;min-width:0;align-self:start}
.pg.next .pg-t{order:2;align-items:flex-end;text-align:right}
.pg small{display:flex;align-items:center;gap:7px;font-size:13px;color:var(--mute)}
.pg small svg{color:var(--faint);transition:transform .15s,color .15s}
.pg.prev small svg{transform:scaleX(-1)}
.pg:hover small svg{color:var(--hue,var(--accent))}
.pg.next:hover small svg{transform:translateX(3px)}.pg.prev:hover small svg{transform:scaleX(-1) translateX(3px)}
.pg b{display:flex;align-items:center;gap:9px;font-weight:500;font-size:clamp(19px,1.7vw,23px);letter-spacing:-.018em;line-height:1.2;margin-top:3px}
.pg b::before{content:"";width:9px;height:9px;border-radius:50%;background:var(--hue,var(--mint));flex:none}
.pg-f{display:flex;flex-wrap:wrap;align-items:baseline;gap:1px 9px;margin-top:7px}
.pg.next .pg-f{justify-content:flex-end}
.pg .pg-v{font-weight:600;font-size:16px;letter-spacing:-.012em;font-variant-numeric:tabular-nums}
.pg .pg-l{font-size:13px;color:var(--mute);line-height:1.3}
.pg-viz{align-self:end;min-width:0;height:72px;overflow:hidden;border-radius:8px}
.pg.next .pg-viz{order:1}
@media (max-width:700px){.pager{grid-template-columns:minmax(0,1fr)}}
@media (prefers-reduced-motion:reduce){.pg,.pg:hover{transform:none}}
@media (max-width:560px){.pager{grid-template-columns:minmax(0,1fr)}.pg.next{align-items:flex-start;text-align:left}}
/* The footer's map of the site: the subjects as an open index in columns, then the site's other pages, then where to reach the author. Nothing is drawn around a list: a rule under each heading is all that holds it. */
.end-nav{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:26px clamp(22px,3vw,44px);align-items:start}
.end-nav h2{font-size:12.5px;font-weight:500;letter-spacing:.01em;color:var(--night-mute);margin:0 0 9px;padding-bottom:10px;border-bottom:1px solid var(--night-line)}
.end-nav ul{list-style:none;margin:0;padding:0}
.end-nav li{break-inside:avoid}
.end-subj ul{columns:3 160px;column-gap:clamp(18px,2.6vw,40px)}
.end-nav a,.end-copy{display:flex;align-items:center;gap:11px;min-height:34px;padding:5px 0;border-radius:6px;outline-offset:3px;color:rgba(243,247,245,.72);text-decoration:none;font-size:14.5px;line-height:1.25;transition:color .15s}
.end-nav a:hover,.end-nav a[aria-current],.end-copy:hover{color:var(--night-ink)}
.end-nav a i{flex:none;width:7px;height:7px;border-radius:50%;background:var(--hue);transition:box-shadow .2s}
.end-nav a:hover i{box-shadow:0 0 0 4px color-mix(in srgb,var(--hue) 26%,transparent)}
/* The page you are on reads brighter, and a subject's dot is lit in its own colour */
.end-nav a[aria-current]{font-weight:500}
.end-nav a[aria-current] i{box-shadow:0 0 0 4px color-mix(in srgb,var(--hue) 30%,transparent),0 0 12px var(--hue)}
.end-site{min-width:148px}
.end-site a svg,.end-contact svg{flex:none;color:var(--night-mute);transition:color .15s}
.end-site a:hover svg,.end-site a[aria-current] svg,.end-contact a:hover svg,.end-copy:hover svg{color:var(--night-ink)}
/* A contact that has no address to open is a name to copy: it is a button dressed as its neighbours, with a small copy mark after it */
.end-copy{width:100%;font-family:inherit;background:none;border:0;cursor:pointer;text-align:left;white-space:nowrap}
.end-copy .cp{margin-left:-4px;opacity:.55}
.end-copy.done,.end-copy.done svg{color:var(--mint)}
/* Narrower, the subjects take the full width and the two short lists sit side by side under them */
@media (max-width:760px){.end-nav{grid-template-columns:repeat(2,minmax(0,1fr))}.end-subj{grid-column:1/-1}}
/* On a phone the subjects run in two columns and the short lists stand under one each, so all three share their edges */
@media (max-width:560px){.end-nav{column-gap:18px}.end-subj ul{columns:2;column-gap:18px}.end-nav a,.end-copy{min-height:38px;font-size:14px;gap:9px}}
@media (prefers-reduced-motion:reduce){.end-nav a,.end-nav a i,.end-copy,.end-contact svg{transition:none}}
/* A find field with its magnifier, and text that only a screen reader gets. The Library and Sources use them, and so does the Studio. */
.sx-findw{position:relative;flex:1;min-width:0}
.sx-findw svg{position:absolute;left:10px;top:50%;transform:translateY(-50%);color:var(--mute);pointer-events:none}
.sx-find{width:100%;margin:0;font:inherit;font-size:13.5px;color:var(--ink);background:var(--soft);border:1px solid var(--line);border-radius:8px;padding:6px 10px 6px 31px;min-height:34px}
.sx-vh{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}

/* Pages of text: the thesis and About, which tools/site_pages.py writes from Markdown. The hero is the one the Sources
   and Library pages use, without the gauges. Under it, a list of the sections beside one column, where paragraphs and
   tables share the same width and the text is justified; on a wide screen the list stays in view and marks the section
   being read. On a phone the text sits flush left and a table's rows stack. */
.sp-hero h1{font-size:clamp(34px,4.6vw,64px);line-height:1.03;max-width:16em}
.sp-wrap{display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(22px,3vw,34px);padding-top:clamp(4px,1.2vh,12px);padding-bottom:clamp(56px,9vh,96px)}
.sp-toc{min-width:0;font-size:14px;line-height:1.35}
.sp-toc h2{margin:0 0 10px;font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--faint)}
.sp-toc ol{list-style:none;margin:0;padding:0}
.sp-toc a{display:block;padding:6px 0 6px 14px;border-left:2px solid var(--line);color:var(--mute);text-decoration:none;text-wrap:balance}
.sp-toc a:hover{color:var(--ink)}
.sp-toc a.on{color:var(--ink);border-left-color:var(--hue);font-weight:500}
@media (min-width:1100px){
  .sp-wrap{grid-template-columns:minmax(190px,232px) minmax(0,1fr);gap:clamp(44px,5vw,96px)}
  .sp-toc{position:sticky;top:calc(var(--head-h,58px) + 26px);align-self:start;max-height:calc(100vh - var(--head-h,58px) - 52px);overflow:auto;overscroll-behavior:contain}
}
@media (max-width:1099.98px){
  .sp-toc{padding:16px 18px 12px;border:1px solid var(--line);border-radius:var(--r);background:var(--surface);box-shadow:var(--shadow)}
  .sp-toc ol{columns:2 210px;column-gap:28px}
  .sp-toc li{break-inside:avoid}
  .sp-toc a,.sp-toc a.on{padding:5px 0;border-left:0;color:var(--mute);font-weight:400}
  .sp-toc a:hover{color:var(--ink)}
}
.sp-text{min-width:0}
.sp-sec{padding-top:4px}
.sp-sec+.sp-sec{margin-top:clamp(34px,5vh,58px)}
.sp-text h2{margin:0 0 14px;font-size:clamp(25px,2.3vw,32px);line-height:1.12;letter-spacing:-.026em;scroll-margin-top:calc(var(--head-h,58px) + 20px)}
.sp-text h3{margin:22px 0 8px;font-size:18px;font-weight:600}
.sp-text p,.sp-text li{font-size:17px;line-height:1.7;text-wrap:pretty}
/* Justified, with words hyphenated so the spaces stay even; an account name or a file in code is never split */
@media (min-width:641px){.sp-text p,.sp-text li{text-align:justify;-webkit-hyphens:auto;hyphens:auto}.sp-text code{white-space:nowrap}}
@media (min-width:1280px){.sp-text p,.sp-text li{font-size:18px}}
.sp-text p{margin:0 0 14px}
.sp-text ul,.sp-text ol{margin:0 0 16px;padding-left:1.25em}
.sp-text li+li{margin-top:8px}
.sp-text li::marker{color:var(--faint)}
.sp-text strong{font-weight:600}
.sp-text a{color:var(--accent);text-decoration-color:color-mix(in srgb,var(--accent) 40%,transparent);text-underline-offset:3px}
.sp-text a:hover{text-decoration-color:currentColor}
.sp-text code{font:500 .86em/1.4 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;padding:.08em .34em;border-radius:5px;background:var(--soft);overflow-wrap:anywhere;-webkit-hyphens:none;hyphens:none}
/* The verdict leads the thesis */
.sp[data-page="thesis"] .sp-sec:first-child>p:first-of-type{padding-left:18px;border-left:3px solid var(--hue);font-size:clamp(18px,1.45vw,20px);line-height:1.6}
.sp-tbl{margin:6px 0 22px;overflow-x:auto;border:1px solid var(--line);border-radius:12px;background:var(--surface);box-shadow:var(--shadow)}
.sp-tbl table{width:100%;border-collapse:collapse;font-size:14.5px;line-height:1.45;font-variant-numeric:tabular-nums}
.sp-tbl th{padding:10px 12px;text-align:left;vertical-align:bottom;font-size:12.5px;font-weight:600;line-height:1.3;color:var(--mute);background:var(--soft);border-bottom:1px solid var(--line)}
.sp-tbl td{padding:10px 12px;vertical-align:top;border-top:1px solid var(--line)}
.sp-tbl tr:first-child td{border-top:0}
.sp-tbl td.nw{white-space:nowrap}
.sp-tbl td:first-child:not(.nw){min-width:13em}
.sp-tbl code{font-size:.84em}
/* Evidence for and against: each claim carries the mark of the side it counts for, in the colours of the case */
.sp-sec:is([data-sec="evidence-for"],[data-sec="evidence-against"]) td:first-child::before{content:"";display:inline-block;width:8px;height:8px;margin:0 8px 1px 0;border-radius:50%;background:var(--help);vertical-align:middle}
.sp-sec[data-sec="evidence-against"] td:first-child::before{background:var(--hurt)}
.sp-note{margin-top:clamp(34px,5vh,52px);padding-top:16px;border-top:1px solid var(--line);font-size:14.5px;line-height:1.6;color:var(--mute)}
.sp-note code{font:500 .9em ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
.sp{--help:#0b9a7d;--hurt:#d9553f}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .sp{--help:#14a985;--hurt:#e86245}}
:root[data-theme="dark"] .sp{--help:#14a985;--hurt:#e86245}
/* On a phone a table's rows stack: each row is a card, its first cell on top and the other cells under it, each under
   its column's name; a short value shares a line with the next one */
@media (max-width:640px){
  .sp-tbl{overflow:visible;border:0;border-radius:0;background:none;box-shadow:none}
  .sp-tbl table,.sp-tbl tbody{display:block}
  .sp-tbl thead{display:none}
  .sp-tbl tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px 16px;margin:0 0 10px;padding:13px 15px 14px;border:1px solid var(--line);border-radius:12px;background:var(--surface);box-shadow:var(--shadow)}
  .sp-tbl td,.sp-tbl tr:first-child td,.sp-tbl td:first-child:not(.nw){padding:0;border:0;min-width:0}
  .sp-tbl td:first-child,.sp-tbl td:not(.nw){grid-column:1/-1}
  .sp-tbl td:first-child{font-size:15.5px;line-height:1.45}
  .sp-tbl td.nw{white-space:normal}
  .sp-tbl td:not(:first-child)::before{content:attr(data-th);display:block;margin-bottom:2px;font-size:11.5px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--faint)}
}
