/* Health: the shared desk shell (shell.css, Economy's copy) in Health's colours, then Health's own scene pieces.
   Teal runs through the chrome; gold marks the number a scene is about; red is only for the higher of two prices
   and the denials, never for a party or a person. Sizes follow the screen (vh), like the other desks. */
:root{
  --bg:#03141a;--line:#14424a;--line-2:#1d5f69;--ink-3:#7b98a0;
  --brand:#0d9b86;--brand-hi:#7af0da;--brand-deep:#064a40;--brand-top:#17c2a6;
  --glow-1:rgba(13,155,134,.30);--glow-2:rgba(13,155,134,.18);--hi-glow:rgba(122,240,218,.55);
  --glass:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.015) 38%,rgba(0,0,0,.2)),rgba(8,40,46,.84);
  --glass-edge:inset 0 1px 0 rgba(255,255,255,.13),inset 0 0 0 1px rgba(122,240,218,.12),0 2.2vh 5vh -1.2vh rgba(0,0,0,.7);
  --hot:#ff6b6b;--hot-deep:#8f2630;--cool:#6fb6ff;--desk-color:#17c2a6}
.logo svg{fill:var(--brand-top);filter:drop-shadow(0 0 .25em rgba(23,194,166,.5))}
#alertbar>*+*{border-left-color:rgba(122,240,218,.08)}
.ac b.up{color:var(--hot)}

/* a scene: the caption bar, a headline with the number that matters in gold, one line under it, then the picture */
.hl{margin:0;font:800 calc(clamp(24px,5.3vh,72px)*var(--tsb,1))/1.04 var(--disp);letter-spacing:.005em;color:var(--ink);max-width:88vw;text-wrap:balance}
.hl em{font-style:normal;color:var(--gold)}
.hsub{margin:1vh 0 0;font:400 var(--fs-body)/1.4 var(--text);color:var(--ink-2);max-width:78vw}
.hsub b{color:var(--ink);font-weight:600}
.sbody.hx{justify-content:flex-start}
.pic{flex:1;min-height:0;display:flex;gap:2vw;margin-top:2.6vh}
.note{flex:none;margin:1.4vh 0 0;font:400 var(--fs-label)/1.35 var(--text);color:var(--ink-3);letter-spacing:.01em}
.panel{background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.075);border-radius:2vh;padding:2.2vh 1.6vw;min-width:0}
.panel h4{margin:0 0 1.4vh;font:600 var(--fs-small)/1.1 var(--text);letter-spacing:.06em;color:var(--ink-2);text-transform:uppercase}

/* bar rows */
.bars{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:space-around;gap:.6vh}
.br{display:grid;grid-template-columns:var(--nw,19vw) minmax(0,1fr) var(--vw,12vw);align-items:center;gap:1.4vw}
.br .n{min-width:0;font:800 calc(clamp(15px,3vh,40px)*var(--ts,1))/1.05 var(--disp);letter-spacing:.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.br .n small{display:block;margin-top:.3vh;font:400 var(--fs-label)/1.2 var(--text);color:var(--ink-3);letter-spacing:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.br .t{position:relative;height:3.2vh}
.br .t i{position:absolute;left:0;top:0;height:100%;border-radius:.6vh;transform-origin:left;animation:grow .9s cubic-bezier(.2,.8,.2,1) both;animation-delay:var(--dl,0ms);background:linear-gradient(90deg,var(--brand-deep),var(--brand-top))}
.br .t i.hot{background:linear-gradient(90deg,var(--hot-deep),var(--hot))}
.br .t i.gold{background:linear-gradient(90deg,#6b4f0c,var(--gold))}
.br .v{text-align:right;font:800 calc(clamp(16px,3.3vh,44px)*var(--ts,1))/1 var(--disp);font-variant-numeric:tabular-nums;white-space:nowrap}
.br .v small{display:block;margin-top:.4vh;font:400 var(--fs-label)/1.2 var(--text);color:var(--ink-2)}
.br.pair .t{height:4.2vh}
.br.pair .t i{height:44%}
.br.pair .t i+i{top:56%}
.key{display:flex;gap:2vw;margin:0 0 1.2vh calc(var(--nw,19vw) + 1.4vw);font:700 var(--fs-label) var(--disp);letter-spacing:.14em;color:var(--ink-2)}
.key i{display:inline-block;width:1.4vh;height:1.4vh;border-radius:.3vh;margin-right:.5vw;vertical-align:-.15vh}

/* big stats */
.stack{display:flex;flex-direction:column;gap:1.6vh;flex:0 0 30vw;min-width:0}
.stat{flex:1 1 0;min-height:0;display:flex;flex-direction:column;justify-content:center;gap:.6vh}
.stat b{font:800 calc(clamp(28px,8vh,108px)*var(--tsb,1))/1 var(--disp);font-variant-numeric:tabular-nums;color:var(--ink)}
.stat b.gold{color:var(--gold)}.stat b.hot{color:var(--hot)}.stat b.teal{color:var(--brand-hi)}
.stat span{font:400 var(--fs-small)/1.35 var(--text);color:var(--ink-2)}

/* brand vs generic cards */
.gx4{flex:1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:1fr 1fr;gap:2vh 1.4vw;min-height:0}
.gc{display:flex;flex-direction:column;justify-content:center;gap:.8vh}
.gc h3{margin:0;font:600 var(--fs-small)/1.1 var(--text);color:var(--ink-2);letter-spacing:.04em}
.gc .x{font:800 calc(clamp(28px,7.4vh,100px)*var(--tsb,1))/1 var(--disp);color:var(--gold)}
.gc .pp{display:flex;justify-content:space-between;font:400 var(--fs-small)/1.3 var(--text);color:var(--ink-2)}.gc .pp b{color:var(--ink);font-weight:600}
.gc .gb{position:relative;height:1vh;border-radius:99px;background:var(--hot);margin-top:.6vh;overflow:hidden}
.gc .gb i{position:absolute;inset:0 auto 0 0;min-width:.4vw;background:var(--brand-hi)}

/* lists */
.lst{flex:1;display:flex;flex-direction:column;gap:1.4vh;min-height:0}
.li{display:grid;grid-template-columns:7vw 8vw minmax(0,1fr);gap:1.4vw;align-items:center;padding:1.4vh 1.4vw}
.li .d{font:800 var(--fs-title)/1 var(--disp);color:var(--ink-2)}
.li .c{font:800 var(--fs-label)/1 var(--disp);letter-spacing:.12em;text-align:center;padding:.7vh .5vw;border-radius:.5vh;background:rgba(255,194,26,.14);color:var(--gold)}
.li .c.one{background:rgba(255,107,107,.18);color:var(--hot)}
.li h3{margin:0;font:800 var(--fs-title)/1.1 var(--disp);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.li p{margin:.4vh 0 0;font:400 var(--fs-small)/1.3 var(--text);color:var(--ink-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* charts */
.chartbox{flex:1}
.chartbox svg{flex:1;min-height:0;width:100%}
.chartbox text{font-family:var(--disp);font-weight:700}
.ln{fill:none;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke}
.draw{stroke-dasharray:1;animation:pen 2.4s cubic-bezier(.3,.6,.2,1) both}
@keyframes pen{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
.chips{display:flex;flex-wrap:wrap;gap:.8vh .6vw;margin-top:auto}
.chips i{font:700 var(--fs-label)/1 var(--disp);letter-spacing:.1em;font-style:normal;padding:.8vh .7vw;border-radius:.6vh;background:rgba(122,240,218,.08);color:var(--ink-2)}

/* crawl: Health's chips */
.ti b.chip.hot{background:#ffd9d9;color:#8a1414}
.ti b.chip.short{background:#ffe9b0;color:#5b4204}
.ti b.chip.teal{background:#c9f5ec;color:#064a40}

/* label and amount rows (Open Payments: what it was for) */
.kvs{flex:1;display:flex;flex-direction:column;justify-content:space-around}
.kv{display:flex;justify-content:space-between;align-items:baseline;gap:1vw;padding:.6vh 0;border-bottom:1px solid rgba(255,255,255,.06)}
.kv:last-child{border-bottom:0}
.kv span{font:400 var(--fs-small)/1.2 var(--text);color:var(--ink-2)}
.kv b{font:800 var(--fs-title)/1 var(--disp);color:var(--ink)}

/* fit passes (1920x1080 screenshots) */
.br.pair .t{height:3.4vh}
.gc{gap:.4vh;padding-top:1.6vh;padding-bottom:1.6vh}
.gc .x{font-size:calc(clamp(24px,6vh,82px)*var(--tsb,1))}
.gx4{gap:1.6vh 1.4vw}

/* The recap scene (2026-12-01): the short written piece from statesig.tv/briefing, a headline and two paragraphs. */
.rcp{max-width:74vw;display:flex;flex-direction:column;gap:2.2vh;padding-top:1vh}
.rcp-h{margin:0 0 .6vh;font:800 calc(clamp(22px,5.6vh,76px)*var(--tsb,1))/1.06 var(--disp,inherit);letter-spacing:.005em;color:#fff;text-wrap:balance}
.rcp p{margin:0;font-size:calc(clamp(14px,3vh,42px)*var(--ts,1));line-height:1.42;color:#d5dde8;text-wrap:pretty}
.rcp p.rcp-ai{margin-top:.6vh;font-size:calc(clamp(10px,1.7vh,22px)*var(--ts,1));letter-spacing:.04em;color:#8b98ab}
