[hidden]{display:none!important}
:root{--bg:#fff;--fg:#0f172a;--muted:#64748b;--line:#e2e8f0;--soft:#f1f5f9;--brand:#2563eb;--brand2:#1e40af;--accent:#e11d48;--card:#fff;--r:14px;--shadow:0 1px 2px rgba(15,23,42,.06),0 4px 16px rgba(15,23,42,.06)}
*{box-sizing:border-box}html{-webkit-text-size-adjust:100%}
body{margin:0;font:1rem/1.55 system-ui,-apple-system,"Segoe UI",Roboto,Inter,sans-serif;color:var(--fg);background:var(--soft)}
a{color:var(--brand);text-decoration:none}a:hover{text-decoration:underline}
h1{font-size:clamp(1.6rem,3.5vw,2.4rem);line-height:1.15;margin:.2em 0 .3em;letter-spacing:-.02em}
h2{font-size:1.35rem;margin:1.6em 0 .6em;letter-spacing:-.01em}h3{font-size:1.08rem;margin:1.2em 0 .4em}
.wrap{max-width:1180px;margin:0 auto;padding:0 16px}
header.site{background:#0b1220;color:#fff;position:sticky;top:0;z-index:20}
header.site .wrap{display:flex;align-items:center;gap:18px;height:56px}
.logo{color:#fff;font-weight:800;font-size:1.15rem;letter-spacing:-.02em;white-space:nowrap}.logo b{color:#60a5fa}.logo:hover{text-decoration:none}
nav.top{display:flex;gap:4px;overflow-x:auto;scrollbar-width:none;flex:1}nav.top::-webkit-scrollbar{display:none}
nav.top a{color:#cbd5e1;padding:6px 10px;border-radius:8px;white-space:nowrap;font-size:.93rem}nav.top a:hover,nav.top a.on{background:#1e293b;color:#fff;text-decoration:none}
.lang select{background:#1e293b;color:#fff;border:0;border-radius:8px;padding:6px 8px;font:inherit;font-size:.9rem}
.hero{padding:26px 0 8px}.hero p.lead{color:var(--muted);font-size:1.08rem;max-width:760px;margin:0}
.crumbs{font-size:.85rem;color:var(--muted);margin-top:14px}.crumbs a{color:var(--muted)}
.card{background:var(--card);border-radius:var(--r);box-shadow:var(--shadow);padding:18px}
section{margin:18px 0}
.tool-grid{display:grid;grid-template-columns:300px minmax(0,1fr);gap:16px;align-items:start}
@media (max-width:900px){.tool-grid{grid-template-columns:minmax(0,1fr)}}
.panel,.main{min-width:0}
.panel,.main{background:var(--card);border-radius:var(--r);box-shadow:var(--shadow);padding:16px}
.panel{position:sticky;top:68px}@media (max-width:900px){.panel{position:static}}
.ctl{margin-bottom:16px}.ctl>label{display:block;font-weight:650;font-size:.85rem;text-transform:uppercase;letter-spacing:.04em;color:#334155;margin-bottom:6px}
select,input[type=search],input[type=number],textarea{width:100%;font:inherit;padding:9px 10px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--fg)}
textarea{font:13px ui-monospace,monospace}
.ind-select{font-weight:600}
.help{margin:6px 0 0;color:var(--muted);font-size:.9rem}.small{font-size:.85rem}.muted{color:var(--muted)}
.info{cursor:pointer;color:var(--brand);background:transparent;border:1.5px solid currentColor;border-radius:50%;width:20px;height:20px;line-height:16px;padding:0;font:700 12px system-ui,sans-serif;vertical-align:1px;text-transform:none;letter-spacing:0}
abbr.term{text-decoration:underline dotted;text-underline-offset:3px;cursor:help}
.seg{display:flex;background:var(--soft);border-radius:10px;padding:3px;gap:3px;flex-wrap:wrap}
.seg button{flex:1;border:0;background:transparent;padding:7px 8px;border-radius:8px;font:inherit;font-size:.88rem;cursor:pointer;color:#334155}
.seg button.on{background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.12);color:var(--fg);font-weight:650}
.seg.small button{flex:0 0 auto;font-size:.8rem;padding:5px 9px}
.year-row{display:flex;gap:10px;align-items:center}.year-row input{flex:1;accent-color:var(--brand)}.year-out{font-weight:700;font-variant-numeric:tabular-nums;min-width:3em}
.chips{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}
.chip{display:inline-flex;align-items:center;gap:4px;border:2px solid var(--c);border-radius:999px;padding:3px 4px 3px 10px;font-size:.88rem;background:#fff}
.chip button{border:0;background:var(--soft);border-radius:50%;width:20px;height:20px;line-height:18px;cursor:pointer;padding:0;color:#475569}
.search-wrap{position:relative}.sugg{position:absolute;left:0;right:0;top:100%;margin:4px 0 0;padding:4px;list-style:none;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow);z-index:10;max-height:280px;overflow:auto}
.sugg li{padding:8px 10px;border-radius:8px;cursor:pointer}.sugg li:hover{background:var(--soft)}
.groups{display:flex;flex-wrap:wrap;gap:5px;margin-top:10px;align-items:center}
.pill{border:1px solid var(--line);background:#fff;border-radius:999px;padding:3px 10px;font:inherit;font-size:.8rem;cursor:pointer}.pill:hover{border-color:var(--brand);color:var(--brand)}
.tabs{display:flex;gap:4px;overflow-x:auto;border-bottom:1px solid var(--line);margin:-4px -4px 12px;padding:0 4px;scrollbar-width:thin}
.tabs button{border:0;background:none;font:inherit;font-size:.92rem;padding:9px 11px;cursor:pointer;color:var(--muted);border-bottom:3px solid transparent;white-space:nowrap}
.tabs button.on{color:var(--fg);border-color:var(--brand);font-weight:650}.tabs button:disabled{opacity:.35;cursor:not-allowed}
.toolbar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;margin-bottom:8px}
.filters{display:flex;gap:8px;flex-wrap:wrap}.filters select{width:auto;font-size:.88rem;padding:6px 8px}
.opts{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.opts select{width:auto;font-size:.85rem;padding:5px 8px}
.summary{font-size:1.08rem;font-weight:550;margin:6px 0 10px;min-height:1.5em}
.chart-wrap{position:relative;min-height:200px}
svg.chart{width:100%;height:auto;display:block}
.grid{stroke:#e2e8f0;stroke-width:1}.grat{stroke:#e2e8f0;stroke-width:.6}.tick{fill:#64748b;font:12px system-ui,sans-serif}.endlabel{font:600 12px system-ui,sans-serif}.barlabel{fill:#0f172a;font:13px system-ui,sans-serif}.barlabel.hl{font-weight:700}.barval{fill:#334155;font:600 12px system-ui,sans-serif}.mapbg{fill:#f8fafc}.bubble{stroke:#fff;stroke-width:.7;fill-opacity:.9;cursor:pointer}.bubble.hl{stroke:#e11d48;stroke-width:2.5}.maplabel{fill:#0f172a;font:600 11px system-ui,sans-serif;paint-order:stroke;stroke:#fff;stroke-width:3px;pointer-events:none}.axislabel{fill:#334155;font:600 12px system-ui,sans-serif}
.legend{display:flex;flex-wrap:wrap;gap:10px;font-size:.8rem;color:var(--muted);margin-top:6px}.legend i{display:inline-block;width:12px;height:12px;border-radius:3px;margin-right:4px;vertical-align:-1px}
.race-year{position:absolute;right:12px;bottom:46px;font-size:clamp(2rem,6vw,3.6rem);font-weight:800;color:#cbd5e1;font-variant-numeric:tabular-nums;pointer-events:none}
.actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}
.btn{border:1px solid var(--line);background:#fff;border-radius:10px;padding:7px 12px;font:inherit;font-size:.88rem;cursor:pointer}.btn:hover{border-color:var(--brand);color:var(--brand)}
.btn.primary{background:var(--brand);color:#fff;border-color:var(--brand);font-weight:650}.btn.primary:hover{background:var(--brand2);color:#fff;text-decoration:none}
.embed-box{margin-top:10px}
.toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);background:#0f172a;color:#fff;padding:10px 16px;border-radius:10px;z-index:99}
.table-scroll{overflow-x:auto}
table{border-collapse:collapse;width:100%;font-size:.93rem}th,td{padding:8px 10px;border-bottom:1px solid var(--line);text-align:left}th{font-size:.8rem;text-transform:uppercase;letter-spacing:.03em;color:#475569;background:#f8fafc;position:sticky;top:0}
td.num,th.num{text-align:right;font-variant-numeric:tabular-nums}tr.hl td{background:#eff6ff;font-weight:650}
table.score th[scope=row]{text-transform:none;letter-spacing:0;font-size:.9rem;color:var(--fg);background:#fff;position:static;font-weight:550}td.best{font-weight:750;color:#047857}
.calc{margin-bottom:8px}.calc h3{margin-top:0}.calc-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}@media(max-width:600px){.calc-row{grid-template-columns:1fr}}.calc-row label{font-size:.9rem;font-weight:600}
.calc-result{font-size:1.15rem;font-weight:650;background:#eff6ff;border-radius:10px;padding:12px 14px}
.kpis{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px}
.kpi{background:#fff;border-radius:12px;box-shadow:var(--shadow);padding:14px}.kpi .l{font-size:.8rem;color:var(--muted);text-transform:uppercase;letter-spacing:.03em}.kpi .v{font-size:1.35rem;font-weight:750;font-variant-numeric:tabular-nums;margin:2px 0}.kpi .s{font-size:.8rem;color:var(--muted)}
.vs-head{display:grid;grid-template-columns:1fr auto 1fr;gap:12px;align-items:center;text-align:center}.vs-head .flag{font-size:3rem;line-height:1}.vs-head .vs{font-weight:800;color:var(--muted)}
.cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}
ul.links{list-style:none;padding:0;margin:0;columns:2 220px;gap:20px}ul.links li{padding:3px 0;break-inside:avoid}
.explain{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:14px}.explain>div{background:#fff;border-radius:12px;padding:14px 16px;box-shadow:var(--shadow);font-size:.95rem}
.topics{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px}.topics a{display:block;background:#fff;border-radius:12px;padding:14px;box-shadow:var(--shadow);color:var(--fg)}.topics a:hover{outline:2px solid var(--brand);text-decoration:none}.topics a span{display:block;font-size:.82rem;color:var(--muted)}
details{background:#fff;border-radius:12px;padding:12px 16px;margin:8px 0;box-shadow:var(--shadow)}summary{cursor:pointer;font-weight:650}
.ad{margin:18px auto;text-align:center;min-height:90px}.ad .lbl{font-size:.7rem;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}
.ad.ph{border:2px dashed #cbd5e1;border-radius:12px;display:flex;align-items:center;justify-content:center;color:#94a3b8;font-size:.85rem}
.partners{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}
.pro-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px}.pro-grid div{background:#fff;border-radius:12px;padding:16px;box-shadow:var(--shadow)}
footer.site{margin-top:40px;background:#0b1220;color:#94a3b8;padding:26px 0;font-size:.88rem}footer.site a{color:#cbd5e1}footer.site .wrap{display:flex;flex-wrap:wrap;gap:14px 26px;justify-content:space-between}
.prose{max-width:960px}.prose p{margin:.6em 0}
body.embed{background:#fff}body.embed .main{box-shadow:none;padding:6px}
html.text-lg{font-size:112.5%}html.text-lg .tick,html.text-lg .barval{font-size:14px}html.text-lg .barlabel,html.text-lg .endlabel{font-size:15px}html.text-lg .maplabel{font-size:13px}
.ap-btn{background:#1e293b;color:#fff;border:0;border-radius:8px;padding:6px 9px;font:inherit;font-size:.95rem;cursor:pointer}
.ap-panel{position:fixed;top:60px;right:16px;z-index:50;background:var(--card);color:var(--fg);border-radius:14px;box-shadow:0 10px 40px rgba(0,0,0,.25);padding:16px;width:min(340px,calc(100vw - 32px))}
.ap-panel h3{margin:0 0 10px;font-size:1rem}.ap-panel .ctl{margin-bottom:12px}.ap-panel .seg button{font-size:.82rem}
.ap-swatches{display:flex;gap:3px;margin-top:4px}.ap-swatches i{width:18px;height:8px;border-radius:2px;display:inline-block}
.pill.mine{border-color:var(--brand);color:var(--brand);font-weight:650}
.sugg li.sugg-h{font-size:.75rem;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);cursor:default;padding:4px 10px}.sugg li.sugg-h:hover{background:none}
.jump-home{margin:0 0 8px}

/* ---------- tooltip for touch (tap a point / bar / bubble) ---------- */
.tip{position:absolute;z-index:40;background:#0f172a;color:#fff;font-size:.85rem;padding:6px 9px;border-radius:8px;pointer-events:none;max-width:240px;box-shadow:0 4px 14px rgba(0,0,0,.25)}
.menu-btn{display:none;background:#1e293b;color:#fff;border:0;border-radius:8px;width:40px;height:36px;font-size:1.2rem;cursor:pointer}
.more-btn{display:none}
/* ---------- mobile ---------- */
@media (max-width:760px){
  header.site .wrap{gap:8px;height:52px}
  .menu-btn{display:block;order:3}
  nav.top{display:none;position:absolute;top:52px;left:0;right:0;flex-direction:column;background:#0b1220;padding:8px 12px 14px;gap:2px;box-shadow:0 10px 30px rgba(0,0,0,.35)}
  header.site.open nav.top{display:flex}
  nav.top a{padding:12px 10px;font-size:1rem}
  .logo{flex:1}
  .lang select{max-width:96px;font-size:.85rem;padding:6px}
  .ap-btn{padding:6px 8px}
  .wrap{padding:0 12px}
  .hero{padding:16px 0 4px}.hero p.lead{font-size:1rem}
  h2{font-size:1.18rem}
  section{margin:14px 0}
  .card,.panel,.main{padding:12px;border-radius:12px}
  .ad{min-height:60px;margin:12px auto}.ad.ph{height:64px}
  /* tool: compact controls */
  .panel .help,.panel .basis-help{display:none}
  .panel .ctl{margin-bottom:12px}
  .panel.collapsed .opt-more{display:none}
  .more-btn{display:block;width:100%;margin-top:4px;border:1px dashed var(--line);background:transparent;color:var(--brand);border-radius:10px;padding:9px;font:inherit;font-size:.9rem;cursor:pointer}
  .groups{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px;scrollbar-width:none}.groups::-webkit-scrollbar{display:none}
  .pill{white-space:nowrap;padding:6px 12px;font-size:.85rem}
  .chip{padding:5px 4px 5px 10px}.chip button{width:28px;height:28px;line-height:26px;font-size:1rem}
  .seg button{padding:9px 8px}
  .tabs{margin:-4px -12px 10px;padding:0 8px;scrollbar-width:none}.tabs::-webkit-scrollbar{display:none}
  .tabs button{padding:11px 10px;font-size:.9rem}
  .toolbar{flex-direction:column;align-items:stretch}
  .filters{display:grid;grid-template-columns:1fr 1fr}.filters select,.opts select{font-size:16px;width:100%}
  .opts{overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none}.opts::-webkit-scrollbar{display:none}
  .summary{font-size:1rem}
  .actions{display:grid;grid-template-columns:1fr 1fr}.actions .btn{padding:10px 8px}
  input[type=search],select,input[type=number]{font-size:16px}
  table{font-size:.85rem}th,td{padding:7px 6px}
  .kpis{grid-template-columns:1fr 1fr;gap:8px}.kpi{padding:10px}.kpi .v{font-size:1.1rem}
  .vs-head .flag{font-size:2.2rem}
  .cols{grid-template-columns:minmax(0,1fr)}
  ul.links{columns:1}
  .explain{grid-template-columns:minmax(0,1fr)}
  .ap-panel{top:auto;bottom:0;right:0;left:0;width:100%;border-radius:16px 16px 0 0;max-height:85vh;overflow:auto;padding-bottom:calc(16px + env(safe-area-inset-bottom))}
  .race-year{bottom:60px}
  footer.site .wrap{flex-direction:column}
}

.rc-n{display:none}@media (max-width:600px){.rc-w{display:none}.rc-n{display:block}}
td.num{white-space:nowrap}
.seg.small{flex-wrap:nowrap}
@media (max-width:760px){.hide-m{display:none}.opts .seg.small{flex:0 0 auto}}

.chips-head{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:6px}.chips-head label{margin:0;font-weight:650;font-size:.85rem;text-transform:uppercase;letter-spacing:.04em;color:#334155}
.chips-tools{display:flex;gap:4px;align-items:center}
.icon-btn{border:1px solid var(--line);background:transparent;color:var(--fg);border-radius:8px;width:30px;height:28px;cursor:pointer;font-size:1rem}.icon-btn:disabled{opacity:.3;cursor:default}
.link-btn{border:0;background:none;color:var(--accent);font:inherit;font-size:.82rem;cursor:pointer;padding:4px 6px}
.snap-list{display:flex;flex-wrap:wrap;gap:6px}.snap{display:inline-flex;border:1px solid var(--line);border-radius:999px;overflow:hidden;background:var(--card)}
.snap-open{border:0;background:none;font:inherit;font-size:.82rem;padding:5px 10px;cursor:pointer;color:var(--fg);max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.snap-del{border:0;border-left:1px solid var(--line);background:none;cursor:pointer;color:var(--muted);padding:0 9px}
.toast{display:flex;gap:14px;align-items:center}.toast-act{background:none;border:0;color:#93c5fd;font:inherit;font-weight:700;cursor:pointer}
@media (max-width:760px){.panel.collapsed .snaps{display:none}.icon-btn{width:36px;height:34px}}
@media (prefers-color-scheme:dark){.chips-head label{color:#cbd5e1}}

.tip.pop{white-space:pre-line;max-width:min(320px,calc(100vw - 16px));font-size:.9rem;line-height:1.45;padding:10px 12px;pointer-events:auto}
@media (max-width:760px){.panel .ctl:first-child .help{display:block}.info{width:24px;height:24px;line-height:20px}}
.toolbar>*,.main>*,.panel>*{min-width:0;max-width:100%}
html,body{overflow-x:hidden}@supports (overflow:clip){html,body{overflow-x:clip}}

.icon-btn{display:inline-flex;align-items:center;justify-content:center}
.empty{text-align:center;padding:30px 10px}.empty p{font-weight:600;margin:0 0 12px}
.toast{max-width:92vw;bottom:calc(22px + env(safe-area-inset-bottom))}

.year-range{display:grid;grid-template-columns:1fr auto 1fr;gap:8px;align-items:end}.year-range>span{align-self:end;height:42px;display:flex;align-items:center;color:var(--muted)}.year-range label{display:flex;flex-direction:column;gap:3px;color:var(--muted)}
.year-presets{margin-top:8px;flex-wrap:wrap}
.years .year-row{display:flex;gap:6px;align-items:center}.years .year-sel{flex:1;font-weight:700}.years input[type=range]{width:100%;margin-top:8px;accent-color:var(--brand)}
@media (max-width:760px){.year-presets{flex-wrap:nowrap}}
.link-btn{white-space:nowrap}
@media (min-width:761px){.panel .snaps{display:block!important}}

/* ================= Refresh: modern instrument look ================= */
:root{--brand:#2563eb;--brand2:#1d4ed8;--accent:#e11d48;--ring:rgba(37,99,235,.18);--glass:rgba(255,255,255,.72);--glass-dark:rgba(11,18,32,.88);--border:rgba(15,23,42,.08);--ease:cubic-bezier(.2,.8,.2,1)}
body{background:radial-gradient(1200px 500px at 85% -120px,rgba(59,130,246,.10),transparent 60%),radial-gradient(900px 400px at -10% 10%,rgba(20,184,166,.07),transparent 60%),var(--soft);background-attachment:fixed;-webkit-font-smoothing:antialiased}
.kpi .v,td.num,.year-out,.year-sel,.race-year{font-variant-numeric:tabular-nums}
/* glass header */
header.site{background:var(--glass-dark);backdrop-filter:saturate(160%) blur(14px);-webkit-backdrop-filter:saturate(160%) blur(14px);border-bottom:1px solid rgba(255,255,255,.06)}
.logo b{background:linear-gradient(90deg,#60a5fa,#22d3ee);-webkit-background-clip:text;background-clip:text;color:transparent}
nav.top a{transition:background .2s var(--ease),color .2s var(--ease)}
/* surfaces */
.card,.panel,.main,.kpi,.explain>div,.topics a,details,.pro-grid div{border:1px solid var(--border);box-shadow:0 1px 0 rgba(255,255,255,.6) inset,0 1px 2px rgba(15,23,42,.04),0 8px 24px -12px rgba(15,23,42,.12);border-radius:16px}
.panel{background:linear-gradient(180deg,rgba(255,255,255,.92),rgba(255,255,255,.82));backdrop-filter:blur(8px)}
.ctl>label,.chips-head label{font-size:.72rem;letter-spacing:.09em;color:#64748b;font-weight:700}
/* instrument KPI tiles */
.kpi{position:relative;overflow:hidden;transition:transform .2s var(--ease),box-shadow .2s var(--ease)}
.kpi::before{content:"";position:absolute;inset:0 0 auto 0;height:3px;background:linear-gradient(90deg,var(--brand),#22d3ee);opacity:.85}
a.kpi:hover{transform:translateY(-2px);text-decoration:none;box-shadow:0 12px 28px -14px rgba(37,99,235,.45)}
.kpi .l{font-size:.68rem;letter-spacing:.09em;font-weight:700}.kpi .v{font-size:1.35rem;letter-spacing:-.02em;line-height:1.25}
/* controls */
select,input[type=search],input[type=number],textarea{border-color:var(--border);background:rgba(255,255,255,.9);transition:border-color .15s,box-shadow .15s}
select:focus,input:focus,textarea:focus,button:focus-visible,a:focus-visible{outline:none;border-color:var(--brand);box-shadow:0 0 0 4px var(--ring)}
.seg{background:rgba(15,23,42,.05);border-radius:12px}
.seg button{transition:background .2s var(--ease),color .2s var(--ease),box-shadow .2s var(--ease)}
.seg button.on{box-shadow:0 1px 2px rgba(15,23,42,.12),0 0 0 1px rgba(15,23,42,.04)}
.btn,.pill,.icon-btn,.chip{transition:border-color .15s,color .15s,background .15s,transform .15s var(--ease)}
.btn:active,.pill:active,.icon-btn:active{transform:scale(.97)}
.btn.primary{background:linear-gradient(180deg,#3b82f6,#2563eb);box-shadow:0 6px 16px -8px rgba(37,99,235,.7)}
.chip{background:rgba(255,255,255,.85);animation:pop .22s var(--ease)}
.pill.mine{background:rgba(37,99,235,.08)}
/* tabs with sliding underline feel */
.tabs button{transition:color .2s var(--ease),border-color .25s var(--ease)}
.tabs button:hover:not(:disabled){color:var(--fg)}
/* chart area */
.chart-wrap>*{animation:fadeUp .35s var(--ease)}
.grid{stroke:rgba(100,116,139,.18);stroke-dasharray:3 4}
.ln{filter:drop-shadow(0 2px 3px rgba(15,23,42,.12))}
.summary{font-weight:600;letter-spacing:-.01em}
/* tables */
th{background:rgba(248,250,252,.92);backdrop-filter:blur(6px)}
tbody tr{transition:background .15s}tbody tr:hover td{background:rgba(37,99,235,.04)}
/* floating layers: glass + motion */
.ap-panel{background:rgba(255,255,255,.86);backdrop-filter:saturate(160%) blur(18px);-webkit-backdrop-filter:saturate(160%) blur(18px);border:1px solid var(--border);animation:dropIn .22s var(--ease)}
.sugg{background:rgba(255,255,255,.94);backdrop-filter:blur(12px);animation:fadeUp .16s var(--ease)}
.toast{background:rgba(15,23,42,.88);backdrop-filter:blur(10px);animation:toastIn .28s var(--ease);border:1px solid rgba(255,255,255,.08)}
.tip{background:rgba(15,23,42,.9);backdrop-filter:blur(8px);animation:fadeUp .15s var(--ease)}
.embed-box,.calc-result{animation:fadeUp .25s var(--ease)}
details>*:not(summary){animation:fadeUp .25s var(--ease)}
summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:10px}summary::-webkit-details-marker{display:none}
summary::after{content:"";width:9px;height:9px;border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);transform:rotate(45deg);transition:transform .25s var(--ease);flex:0 0 auto;margin-right:4px}
details[open] summary::after{transform:rotate(-135deg)}
.panel:not(.collapsed) .opt-more{animation:fadeUp .25s var(--ease)}
header.site.open nav.top{animation:dropIn .2s var(--ease)}
.menu-btn{transition:background .2s}
@keyframes fadeUp{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@keyframes dropIn{from{opacity:0;transform:translateY(-8px) scale(.98)}to{opacity:1;transform:none}}
@keyframes toastIn{from{opacity:0;transform:translate(-50%,12px)}to{opacity:1;transform:translate(-50%,0)}}
@keyframes pop{from{opacity:0;transform:scale(.92)}to{opacity:1;transform:none}}
@media (max-width:760px){.ap-panel{animation:sheetUp .28s var(--ease)}@keyframes sheetUp{from{transform:translateY(100%)}to{transform:none}}}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}

/* ================= Header controls (unified) ================= */
.hbtn{height:38px;min-width:38px;display:inline-flex;align-items:center;justify-content:center;gap:6px;border-radius:11px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.10);color:#e2e8f0;cursor:pointer;padding:0 10px;transition:background .2s var(--ease),border-color .2s var(--ease)}
.hbtn:hover{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.18)}
.ap-btn{padding:0;width:38px}
.lang.hbtn{padding:0 4px 0 10px}.lang select{background:transparent!important;border:0;color:#fff;height:36px;padding:0 6px;font-size:.88rem;cursor:pointer;appearance:none;-webkit-appearance:none}
.lang select option{color:#0f172a}
.menu-btn{width:38px;padding:0;font-size:0;display:none}
.hb{position:relative;width:18px;height:14px;display:block}.hb i{position:absolute;left:0;right:0;height:2px;border-radius:2px;background:currentColor;transition:transform .3s var(--ease),opacity .2s var(--ease),top .3s var(--ease)}
.hb i:nth-child(1){top:0}.hb i:nth-child(2){top:6px}.hb i:nth-child(3){top:12px}
header.site.open .hb i:nth-child(1){top:6px;transform:rotate(45deg)}header.site.open .hb i:nth-child(2){opacity:0;transform:scaleX(.2)}header.site.open .hb i:nth-child(3){top:6px;transform:rotate(-45deg)}
/* dual range */
.range2{position:relative;height:28px;margin-top:10px}
.range2 input[type=range]{position:absolute;inset:0;width:100%;margin:0;background:transparent;pointer-events:none;-webkit-appearance:none;appearance:none;height:28px}
.range2 input[type=range]::-webkit-slider-runnable-track{height:4px;border-radius:4px;background:rgba(100,116,139,.25)}
.range2 input[type=range]:nth-child(2)::-webkit-slider-runnable-track{background:transparent}
.range2 input[type=range]::-moz-range-track{height:4px;border-radius:4px;background:rgba(100,116,139,.25)}
.range2 input[type=range]::-webkit-slider-thumb{pointer-events:auto;-webkit-appearance:none;width:22px;height:22px;border-radius:50%;background:#fff;border:2px solid var(--brand);margin-top:-9px;box-shadow:0 2px 6px rgba(15,23,42,.25);cursor:grab}
.range2 input[type=range]::-moz-range-thumb{pointer-events:auto;width:20px;height:20px;border-radius:50%;background:#fff;border:2px solid var(--brand);box-shadow:0 2px 6px rgba(15,23,42,.25);cursor:grab}
@media (max-width:760px){
  header.site .wrap{height:56px;gap:8px}
  .menu-btn{display:inline-flex;order:4}
  .lang.hbtn{order:3}.ap-btn{order:2}
  .lang select{max-width:84px;font-size:.85rem}
  nav.top{display:flex;position:absolute;top:56px;left:0;right:0;flex-direction:column;gap:0;padding:6px 12px 12px;background:rgba(11,18,32,.985);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-bottom:1px solid rgba(255,255,255,.08);box-shadow:0 18px 40px -12px rgba(0,0,0,.5);max-height:0;overflow:hidden;opacity:0;visibility:hidden;transform:translateY(-6px);transition:max-height .35s var(--ease),opacity .25s var(--ease),transform .3s var(--ease),visibility 0s linear .35s;animation:none!important}
  header.site.open nav.top{max-height:80vh;opacity:1;visibility:visible;transform:none;transition:max-height .35s var(--ease),opacity .25s var(--ease),transform .3s var(--ease),visibility 0s}
  nav.top a{display:flex;align-items:center;height:50px;padding:0 6px;font-size:1rem;border-radius:0;border-bottom:1px solid rgba(255,255,255,.06)}
  nav.top a:last-child{border-bottom:0}
  nav.top a.on{background:transparent;color:#60a5fa}
  nav.top a::after{content:"›";margin-left:auto;color:#475569;font-size:1.2rem}
}
/* no double-tap zoom on taps (pinch zoom still works) */
html,button,a,select,input,.chip,.pill,.tabs,.seg{touch-action:manipulation}
button,.hbtn{-webkit-tap-highlight-color:transparent;user-select:none;-webkit-user-select:none}

/* desktop layout */
@media(min-width:1200px){.wrap{max-width:min(1640px,94vw)}.tool-grid{grid-template-columns:330px minmax(0,1fr);gap:22px}}
@media(min-width:900px){.tool-grid{align-items:stretch}.tool-grid>.panel{position:static;align-self:stretch;max-height:none;overflow:visible}
.tool-grid>.main{align-self:stretch;display:flex;flex-direction:column}}
.ch-size{display:flex;align-items:center;gap:4px;justify-content:flex-end;margin:6px 0 2px;font-size:.78rem;color:var(--muted)}
.ch-size span{margin-right:4px}
.ch-size button{border:1px solid var(--line);background:transparent;color:var(--muted);border-radius:7px;padding:2px 8px;font:inherit;font-weight:600;cursor:pointer;transition:background .15s,color .15s}
.ch-size button.on{background:var(--accent);border-color:var(--accent);color:#fff}
@media(max-width:899px){.ch-size{display:none}}
@media(min-width:900px){.tool-grid .table-scroll{max-height:max(420px,calc(100vh - 300px));overflow:auto;border-radius:10px}.tool-grid .table-scroll thead th{position:sticky;top:0;background:var(--card,#fff);z-index:1}}
/* stories */
.story{max-width:760px;margin:0 auto}
.story h1{font-size:clamp(1.6rem,3.2vw,2.3rem);line-height:1.18;margin:.2em 0 .3em}
.story p,.story li{font-size:1.07rem;line-height:1.7}
.story h2{margin-top:1.6em;font-size:1.3rem}
.story b.num{font-weight:650;white-space:nowrap}
.story-fig{margin:1.4em 0;padding:14px;border:1px solid var(--line);border-radius:14px;background:var(--card,#fff)}
.story-fig figcaption{font-size:.85rem;color:var(--muted);margin-top:6px}
.story-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px}
.story-card{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:14px;overflow:hidden;color:inherit;text-decoration:none;background:var(--card,#fff);transition:transform .15s,box-shadow .15s}
.story-card:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(15,23,42,.08)}
.story-card .sc-fig{padding:10px 10px 0;pointer-events:none}
.story-card .sc-fig .story-fig{margin:0;padding:0;border:0}
.story-card .sc-fig .rc-w{display:none}.story-card .sc-fig .rc-n{display:block}
.story-card .sc-t{padding:12px 16px 16px;display:flex;flex-direction:column;gap:6px}
.story-card .sc-t span{font-size:.9rem;color:var(--muted);line-height:1.45}
@media (prefers-reduced-motion:reduce){.story-card{transition:none}}
/* race: no fade per frame */
.chart-wrap.racing>*{animation:none!important}
.chart-wrap.racing svg rect,.chart-wrap.racing svg text{transition:none}
/* appearance button with label */
header.site .ap-btn{width:auto!important;padding:0 12px 0 10px!important;gap:7px}
header.site .ap-lbl{font-size:.88rem;font-weight:600;white-space:nowrap}
@media(max-width:520px){
  header.site .lang.hbtn{position:relative;width:38px;padding:0!important;justify-content:center}
  header.site .lang select{position:absolute;inset:0;width:100%;max-width:none;opacity:0}
  header.site .ap-btn{padding:0 10px 0 9px!important}
}
@media(max-width:350px){header.site .ap-lbl{font-size:.8rem}}
.story-photo{margin:1.2em 0 1.6em}.story-photo img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:14px;display:block;background:var(--line)}
.story-photo figcaption{font-size:.78rem;color:var(--muted);margin-top:6px}
.story-card .sc-photo img{width:100%;aspect-ratio:16/9;object-fit:cover;display:block;background:var(--line)}
/* feedback */
.fb-box{margin:28px auto 0}
.fb-box details{border:1px solid var(--line);border-radius:14px;background:var(--card,#fff);padding:12px 16px}
.fb-box summary{cursor:pointer;font-weight:600;list-style:none}.fb-box summary::-webkit-details-marker{display:none}
.fb-form textarea{width:100%;box-sizing:border-box;border:1px solid var(--line);border-radius:10px;padding:10px;font:inherit;font-size:16px;resize:vertical;background:var(--bg,#fff);color:inherit}
.fb-row{display:flex;gap:12px;align-items:center;margin-top:8px}
.race-speed{align-items:center}.race-speed .seg-label{font-size:.8rem;color:var(--muted,#64748b);padding:0 4px 0 6px}
.race-scrub{flex:1 1 160px;min-width:140px;accent-color:var(--accent,#2563eb)}
.btn-video.rec{border-color:#e11d48;color:#e11d48}
.chart-wrap{margin-inline:auto;width:100%}
footer.site .trust{display:inline-block;margin-top:8px;padding:4px 10px;border:1px solid rgba(255,255,255,.25);border-radius:999px;color:#e2e8f0;text-decoration:none;font-size:.82rem}
footer.site .trust:hover{border-color:#fff;color:#fff}
/* footer stays at the bottom on short pages */
body:not(.embed){min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}
body:not(.embed)>header,body:not(.embed)>main,body:not(.embed)>section,body:not(.embed)>footer{width:100%;flex-shrink:0}
body:not(.embed)>main{flex:1 0 auto}
/* learn page */
.learn-grid{display:grid;gap:22px}.learn-main{display:flex;flex-direction:column;gap:18px;min-width:0}
.learn-main .card{padding:20px 22px}.learn-main h2{margin:0 0 8px}.learn-main h3{margin:0 0 6px;font-size:1.02rem}
.learn-two{display:grid;gap:18px}.learn-two.flat p{margin:0}
.learn-topics{display:grid;gap:14px}.learn-topics ul{margin:0;padding-left:1.1em}.learn-topics li{margin:.35em 0;font-size:.94rem}
.learn-side{display:flex;flex-direction:column;gap:14px}.toc a{display:block;padding:6px 4px;color:inherit;text-decoration:none;border-bottom:1px solid var(--line)}.toc a:last-child{border:0}.toc a:hover{color:var(--accent,#2563eb)}
.learn-cta{display:flex;flex-direction:column;gap:8px}.learn-cta .btn{text-align:center;text-decoration:none}
@media(min-width:760px){.learn-two{grid-template-columns:1fr 1fr}.learn-topics{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1100px){.learn-grid{grid-template-columns:minmax(0,1fr) 280px}.learn-side{position:sticky;top:80px;align-self:start}.learn-topics{grid-template-columns:repeat(3,1fr)}}
@media(max-width:1099px){.learn-side .toc{display:none}}
.use-grid{display:grid;gap:16px;margin-bottom:24px}.use-grid .card{padding:18px 22px}.use-grid h2{margin:0 0 6px;font-size:1.1rem}.use-grid p{margin:0}
@media(min-width:900px){.use-grid{grid-template-columns:1fr 1fr}.use-grid .card:first-child{grid-column:1/-1}}
.embed-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:8px}
/* header: solid at the top, frosted glass once scrolled; hides on scroll down (phones) */
header.site{transition:transform .28s var(--ease),background-color .25s ease,box-shadow .25s ease;will-change:transform}
header.site:not(.scrolled){background:#0b1220}
header.site.scrolled{background:rgba(11,18,32,.58);backdrop-filter:saturate(180%) blur(18px);-webkit-backdrop-filter:saturate(180%) blur(18px);box-shadow:0 6px 24px -12px rgba(0,0,0,.45)}
header.site.hidden{transform:translateY(-100%)}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){header.site.scrolled{background:rgba(11,18,32,.94)}}
@media (prefers-reduced-motion:reduce){header.site{transition:none}}
/* bigger header logo */
header.site .logo{font-size:1.5rem;letter-spacing:-.025em;line-height:1}
@media (max-width:760px){header.site .logo{font-size:1.32rem}}
/* appearance sheet: grab handle, drag and animated close */
.ap-grab{display:none}
.ap-panel.closing{opacity:0;transform:translateY(-6px);transition:opacity .16s ease,transform .16s ease;pointer-events:none}
@media (max-width:760px){
  .ap-grab{display:block;width:40px;height:5px;border-radius:3px;background:var(--muted,#94a3b8);opacity:.45;margin:-6px auto 10px;padding:0;touch-action:none}
  .ap-panel{transition:transform .26s var(--ease)}
  .ap-panel.dragging{transition:none;animation:none}
  .ap-panel.closing{opacity:1;transform:translateY(105%)!important;transition:transform .26s var(--ease);animation:none}
}
@media (prefers-reduced-motion:reduce){.ap-panel,.ap-panel.closing{transition:none;animation:none}}
/* currency picker */
.curp.hbtn{padding:0 2px 0 10px;gap:3px;position:relative}.curp-ic{flex:none;opacity:.9;color:#93c5fd}
.curp select{background:transparent!important;border:0;color:#fff;height:36px;padding:0 6px;font:inherit;font-size:.86rem;font-weight:650;cursor:pointer;appearance:none;-webkit-appearance:none}
.curp select option{color:#0f172a}
@media (max-width:760px){.curp.hbtn{order:3;padding:0 0 0 6px}.curp select{font-size:.8rem;padding:0 4px}}

/* stories: filters, relevance, teaser hidden on phones */
.story-filters{display:flex;flex-direction:column;gap:10px;padding:14px 16px;margin-bottom:18px}
.story-filters .sf-q{width:100%;max-width:420px;padding:9px 12px;border-radius:10px;border:1px solid var(--line);background:var(--bg);color:var(--fg);font:inherit}
.story-filters .chips{display:flex;flex-wrap:wrap;gap:6px}.story-filters .sf-count{margin:0}
.story-card[hidden]{display:none!important}
@media (max-width:760px){.story-teaser{display:none}.story-filters .chips{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px;scrollbar-width:none}.story-filters .sf-chip{flex:0 0 auto}}
.sf-chip{border:1px solid var(--line);background:var(--card);color:var(--fg);border-radius:999px;padding:6px 12px;font:inherit;font-size:.86rem;cursor:pointer;white-space:nowrap}.sf-chip:hover{border-color:var(--accent,#2563eb)}.sf-chip.on{background:var(--accent,#2563eb);border-color:var(--accent,#2563eb);color:#fff}
footer.site .trust{white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}
footer.site .trust .t-short{display:none}
@media (max-width:640px){footer.site .trust .t-long{display:none}footer.site .trust .t-short{display:inline}}
/* language code next to the globe on phones */
header.site .lang-code{display:none;font-size:.78rem;font-weight:700;letter-spacing:.02em}
@media(max-width:520px){header.site .lang.hbtn{width:auto!important;padding:0 9px!important;gap:4px}header.site .lang-code{display:inline}}
@media (max-width:520px){.curp.hbtn{padding:0 6px 0 8px!important;gap:2px}.curp-ic{width:15px;height:15px}.curp select{min-width:2.9em;padding:0 2px;text-align:center}}
/* footer layout */
footer.site{padding:34px 0 24px}
footer.site .wrap.ft{display:grid;grid-template-columns:1.2fr 1fr 1fr 1fr 1.4fr;gap:26px 32px;align-items:start;flex-direction:initial}
footer.site .ft-brand{display:flex;flex-direction:column;gap:12px;align-items:flex-start}
footer.site .ft-brand .logo{font-size:2.5rem;letter-spacing:-.03em;line-height:1}@media (max-width:760px){footer.site .ft-brand .logo{font-size:2.1rem}}
footer.site .trust{margin-top:0}
footer.site .ft-col{display:flex;flex-direction:column;gap:8px;min-width:0}
footer.site .ft-col h3{margin:0 0 4px;font-size:.74rem;letter-spacing:.08em;text-transform:uppercase;color:#64748b;font-weight:700}
footer.site .ft-col a{text-decoration:none;color:#cbd5e1}footer.site .ft-col a:hover{color:#fff;text-decoration:underline}
footer.site .ft-langs div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 16px}
footer.site .ft-langs a.on{color:#fff;font-weight:700}
footer.site .ft-bottom{grid-column:1/-1;border-top:1px solid rgba(255,255,255,.08);padding-top:16px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 24px;font-size:.8rem;color:#64748b}
footer.site .ft-bottom p{margin:0}
@media (max-width:900px){footer.site .wrap.ft{grid-template-columns:1fr 1fr}footer.site .ft-brand,footer.site .ft-langs{grid-column:1/-1}footer.site .ft-langs div{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:420px){footer.site .ft-langs div{grid-template-columns:repeat(2,minmax(0,1fr))}footer.site .ft-bottom{flex-direction:column}}
.fb-box{margin-bottom:8px}

/* coincidence game */
.pill.proto{font-size:.7rem;vertical-align:middle;background:#fef3c7;color:#92400e;border:1px solid #fcd34d;padding:2px 8px;border-radius:999px}
.coin-main{margin-bottom:24px}.coin-tabs{margin-bottom:14px}.coin-q{font-weight:700;font-size:1.08rem;margin:4px 0 12px}
.coin-grid{display:grid;gap:16px}@media(min-width:1100px){.coin-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
.coin-card{padding:14px 16px;display:flex;flex-direction:column;gap:6px;transition:box-shadow .2s,border-color .2s;border:2px solid transparent}
.coin-card.picked-ok{border-color:#16a34a}.coin-card.picked-bad{border-color:#e11d48}
.coin-hl{margin:0;font-size:1rem;line-height:1.35}
.coin-legend{list-style:none;margin:0;padding:0;font-size:.82rem;display:flex;flex-direction:column;gap:2px}.coin-legend i{display:inline-block;width:14px;height:3px;border-radius:2px;margin-right:6px;vertical-align:middle;background:currentColor}
.coin-legend .c1,.coin-chart .c1{color:#2563eb}.coin-legend .c2,.coin-chart .c2{color:#e11d48}
.coin-chart{width:100%;height:auto;display:block}.coin-chart .ln{fill:none;stroke:currentColor;stroke-width:2.4;stroke-linejoin:round}.coin-chart .ln.c1{stroke:#2563eb}.coin-chart .ln.c2{stroke:#e11d48}
.coin-chart .grid{stroke:var(--line,#e2e8f0);stroke-width:1}.coin-chart .tick{font:11px system-ui,sans-serif;fill:#64748b}.coin-chart .tick.c1{fill:#2563eb}.coin-chart .tick.c2{fill:#e11d48}.coin-chart .zero{stroke-dasharray:4 4;stroke-width:1;opacity:.6;stroke:currentColor}
.coin-foot{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:auto}.coin-r{margin:0;font-variant-numeric:tabular-nums;font-weight:650;flex:1 1 140px}.btn.small{padding:5px 10px;font-size:.82rem}
.coin-res{border-top:1px solid var(--line);padding-top:8px}.coin-res p{margin:.3em 0}.coin-badge{font-weight:700}.coin-badge.is-real{color:#15803d}.coin-badge.is-spur{color:#b45309}.coin-verdict{font-weight:650}
.coin-next{margin-top:14px}.coin-score{font-weight:650;color:var(--muted)}
.coin-opts{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:8px;margin-bottom:12px}.coin-opts .btn.ok{background:#dcfce7;border-color:#16a34a;color:#14532d}.coin-opts .btn.bad{background:#ffe4e6;border-color:#e11d48;color:#881337}
.coin-summary{text-align:center;padding:24px}.coin-sq{font-size:2rem;letter-spacing:4px;margin:0}
.coin-genbar{display:flex;flex-wrap:wrap;gap:12px;margin:8px 0}.coin-genbar label{display:flex;flex-direction:column;gap:4px;font-size:.82rem;font-weight:650;flex:1 1 220px}
.coin-note{margin-top:18px}

.calc-row label{display:flex;flex-direction:column;gap:6px}.calc-row input.custom{border-color:var(--accent,#3b6cf6)}.calc-hint{font-weight:400;display:flex;flex-wrap:wrap;gap:4px 10px;align-items:center}.linkbtn{background:none;border:0;padding:0;color:var(--accent,#3b6cf6);font:inherit;cursor:pointer;text-decoration:underline}.calc .btn.small{margin-top:10px}

/* header: main links + "More" dropdown */
@media (min-width:761px){
  nav.top{overflow:visible;align-items:center}
  .nav-more{position:relative}
  .nav-more summary{list-style:none;cursor:pointer;color:#cbd5e1;padding:6px 10px;border-radius:8px;white-space:nowrap;font-size:.93rem;display:flex;align-items:center;gap:4px;user-select:none}
  .nav-more summary::-webkit-details-marker{display:none}
  .nav-more summary::after{content:"";width:6px;height:6px;border-right:1.6px solid currentColor;border-bottom:1.6px solid currentColor;transform:translateY(-2px) rotate(45deg);transition:transform .2s}
  .nav-more[open] summary::after{transform:translateY(1px) rotate(225deg)}
  .nav-more summary:hover,.nav-more summary.on,.nav-more[open] summary{background:#1e293b;color:#fff}
  .nav-drop{position:absolute;top:calc(100% + 8px);left:0;min-width:220px;display:flex;flex-direction:column;gap:2px;padding:6px;background:rgba(11,18,32,.97);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border:1px solid rgba(255,255,255,.1);border-radius:12px;box-shadow:0 18px 40px -12px rgba(0,0,0,.55);z-index:60;animation:dropIn .18s var(--ease)}
  .nav-drop a{padding:9px 12px}
}
@media (max-width:760px){
  .nav-more{display:block}
  .nav-more summary{list-style:none;display:flex;align-items:center;height:50px;padding:0 6px;font-size:1rem;color:#cbd5e1;cursor:pointer;user-select:none}
  .nav-more summary::-webkit-details-marker{display:none}
  .nav-more summary::after{content:"›";margin-left:auto;color:#475569;font-size:1.2rem;transition:transform .2s}
  .nav-more[open] summary::after{transform:rotate(90deg)}
  .nav-more summary.on{color:#60a5fa}
  .nav-drop{display:flex;flex-direction:column;padding-left:14px;border-left:2px solid rgba(255,255,255,.08);margin:0 0 6px 8px}
  .nav-drop a{height:46px;font-size:.95rem}
  .nav-drop a:last-child{border-bottom:0}
}

/* coincidence: tooltip, actions, enlarge */
.coin-plot{position:relative;touch-action:pan-y}
.coin-plot .hov line{stroke:#94a3b8;stroke-width:1;stroke-dasharray:3 3}.coin-plot .hov circle{stroke:#fff;stroke-width:2}.coin-plot .hov circle.c1{fill:#2563eb}.coin-plot .hov circle.c2{fill:#e11d48}
.coin-tip{position:absolute;top:8px;pointer-events:none;background:rgba(15,23,42,.94);color:#fff;border-radius:10px;padding:7px 10px;font-size:.8rem;line-height:1.45;display:flex;flex-direction:column;gap:1px;white-space:nowrap;box-shadow:0 8px 24px rgba(0,0,0,.25);z-index:5;font-variant-numeric:tabular-nums}
.coin-tip[hidden]{display:none}.coin-tip i{display:inline-block;width:10px;height:3px;border-radius:2px;margin-right:6px;vertical-align:middle}.coin-tip .c1 i{background:#3b82f6}.coin-tip .c2 i{background:#f43f5e}
.coin-acts{display:flex;flex-wrap:wrap;gap:6px;border-top:1px solid var(--line);padding-top:8px;margin-top:4px}
.coin-emb{flex-basis:100%}.coin-emb textarea{width:100%;font:12px ui-monospace,monospace;border:1px solid var(--line);border-radius:8px;padding:6px;background:transparent;color:inherit}
.coin-modal{position:fixed;inset:0;z-index:200;background:rgba(2,6,23,.62);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;padding:16px;overflow:auto;animation:dropIn .18s var(--ease)}
.coin-modal .coin-card{width:min(1080px,100%);max-height:calc(100vh - 32px);overflow:auto;position:relative;border:0;padding:20px 22px}
.coin-modal .coin-hl{font-size:1.25rem;padding-right:40px}
.coin-x{position:absolute;top:10px;right:12px;width:36px;height:36px;border-radius:50%;border:1px solid var(--line);background:transparent;color:inherit;font-size:1.4rem;line-height:1;cursor:pointer}
body.coin-noscroll{overflow:hidden}
.coin-shared{margin-bottom:18px;border-color:var(--line)}
body.coin-embed{padding:8px;background:transparent}body.coin-embed .coin-card{margin:0}

/* line chart tooltip */
svg.chart[data-tip]{touch-action:pan-y}
svg.chart .hov line{stroke:#94a3b8;stroke-width:1;stroke-dasharray:3 3}svg.chart .hov circle{stroke:#fff;stroke-width:2}
.chart-tip{position:fixed;z-index:300;pointer-events:none;background:rgba(15,23,42,.95);color:#fff;border-radius:10px;padding:7px 10px;font-size:.8rem;line-height:1.5;display:flex;flex-direction:column;gap:1px;max-width:min(320px,calc(100vw - 16px));box-shadow:0 8px 24px rgba(0,0,0,.28);font-variant-numeric:tabular-nums}
.chart-tip[hidden]{display:none}.chart-tip i{display:inline-block;width:10px;height:3px;border-radius:2px;margin-right:6px;vertical-align:middle}.chart-tip em{font-style:normal;opacity:.75;margin-right:6px}

@media (max-width:760px){nav.top::after{content:"";order:99;flex:none;align-self:center;width:42px;height:5px;border-radius:3px;background:rgba(255,255,255,.28);margin-top:12px}}
@media (max-width:360px){header.site .wrap{gap:5px}header.site .logo{font-size:1.15rem}header.site .ap-btn{padding:0 7px!important}header.site .ap-lbl{font-size:.74rem}.curp.hbtn{padding:0 4px 0 6px!important}.curp-ic{width:13px;height:13px}.curp select{min-width:2.6em;font-size:.74rem}header.site .lang.hbtn{padding:0 6px!important}}
/* ---------- /money/ ---------- */
.mchips{display:flex;flex-wrap:wrap;gap:8px}.mchip{display:inline-flex;align-items:center;gap:6px;padding:7px 12px;border-radius:999px;border:1px solid var(--border);background:var(--card);font-size:.9rem;color:var(--fg)}.mchip:hover{border-color:var(--brand);text-decoration:none}
.money-hub{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:14px;margin:8px 0 24px}
.money-card{display:flex;flex-direction:column;gap:6px;color:var(--fg);transition:transform .2s var(--ease),box-shadow .2s var(--ease)}.money-card:hover{text-decoration:none;transform:translateY(-2px)}
.money-card .mc-ic{font-size:1.8rem;line-height:1}.money-card b{font-size:1.1rem}.money-card .mc-go{margin-top:auto;color:var(--brand);font-weight:650;font-size:.9rem}
.money-tool{margin:8px 0 22px}
.mt-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;align-items:end}
.mt-f{display:flex;flex-direction:column;gap:5px;margin:0}.mt-f>span{font-size:.75rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.mt-f input,.mt-f select{width:100%;height:44px;border:1px solid var(--border);border-radius:10px;padding:0 12px;font:inherit;font-size:1rem;background:var(--card);color:var(--fg)}
.mt-f input{font-variant-numeric:tabular-nums;font-weight:650}
.mt-swap{height:44px;align-self:end;font-size:1.15rem;padding:0 14px;justify-self:start}
.mt-res{margin-top:16px;border-top:1px solid var(--line);padding-top:14px}.mt-res p{margin:6px 0}
.mt-big{font-size:clamp(1.15rem,3.2vw,1.55rem);font-weight:750;letter-spacing:-.01em;line-height:1.3;font-variant-numeric:tabular-nums}
.mt-rows{display:grid;gap:8px}.mt-row{display:flex;justify-content:space-between;gap:12px;align-items:baseline;padding:10px 12px;border-radius:10px;background:var(--soft)}.mt-row b{font-size:1.15rem;font-variant-numeric:tabular-nums;white-space:nowrap}.mt-row.on{outline:2px solid var(--brand)}
.mt-note{margin:14px 0}
.yr-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:6px}.yr-grid div{display:flex;justify-content:space-between;gap:6px;padding:6px 8px;border-radius:8px;background:var(--soft);font-size:.86rem;font-variant-numeric:tabular-nums}.yr-grid span{color:var(--muted)}
ul.money-links{columns:3 200px}
td.num,th.num{text-align:right}
@media (max-width:760px){.mt-grid{grid-template-columns:1fr 1fr;gap:10px}.mt-f.w2{grid-column:1/-1}.mt-swap{grid-column:1/-1;justify-self:center;height:36px;margin:-2px 0}}
header.site details.nav-more{background:none!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0!important}
@media (max-width:760px){header.site .nav-more summary{font-weight:400;background:none;border:0}header.site .nav-more summary::after{content:"›";border:0!important;width:auto!important;height:auto!important;background:none!important;transform:none;position:static}header.site .nav-more[open] summary::after{transform:rotate(90deg)}}

/* mobile: "Appearance" lives at the top of the hamburger menu, styled as a button */
.nav-ap{display:none}
@media (max-width:760px){
  header.site .ap-btn{display:none!important}
  .nav-ap{order:-1;display:flex;align-items:center;justify-content:center;gap:8px;width:100%;height:44px;margin:6px 0 8px;padding:0 14px;background:#1e293b;border:1px solid rgba(255,255,255,.14);border-radius:10px;color:#fff;font:inherit;font-size:.98rem;font-weight:600;cursor:pointer;transition:background .15s}
  .nav-ap:active{background:#334155}
}
/* Display settings opened from the menu button: expand in place, inside the menu */
@media (max-width:760px){
  .nav-ap[aria-expanded="true"]{background:#334155;border-color:rgba(96,165,250,.6)}
  header.site.open nav.top.ap-open{max-height:calc(100vh - 64px);max-height:calc(100dvh - 64px);overflow-y:auto;overscroll-behavior:contain}
  .ap-panel.ap-inline{order:-1;position:static;width:100%;max-height:none;overflow:visible;margin:0 0 10px;padding:14px;border-radius:12px;box-shadow:none;transform:none!important;animation:apDown .22s var(--ease)}
  .ap-inline .ap-grab,.ap-inline>h3:first-of-type{display:none!important}
  @keyframes apDown{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
}
/* segmented controls: the selected option is unmistakable (filled brand colour) */
.seg button.on{background:#2563eb;color:#fff;font-weight:700;box-shadow:0 1px 3px rgba(37,99,235,.35)}
.seg button:not(.on){color:#64748b}
/* home page headline: a real hero banner */
.hero-home{margin:18px 0 22px;padding:30px 30px 28px;border-radius:20px;background:radial-gradient(120% 140% at 0% 0%,rgba(59,130,246,.16),transparent 55%),radial-gradient(120% 140% at 100% 100%,rgba(14,165,233,.12),transparent 55%),var(--card);border:1px solid rgba(59,130,246,.22);box-shadow:0 10px 30px -18px rgba(37,99,235,.45)}
.hero-home .hero{padding:0}
.hero-home h1{font-size:clamp(2rem,5.2vw,3.3rem);font-weight:800;line-height:1.08;letter-spacing:-.03em;margin:0 0 .35em;background:linear-gradient(90deg,#0f172a 0%,#1d4ed8 100%);-webkit-background-clip:text;background-clip:text;color:transparent}
.hero-home p.lead{font-size:clamp(1.05rem,2.2vw,1.3rem);line-height:1.5;color:var(--fg);opacity:.82;max-width:820px}
@media (max-width:760px){.hero-home{margin:12px 0 16px;padding:22px 18px 20px;border-radius:16px}}
/* every page's headline gets the same banner as the home page (home keeps the bigger gradient title) */
main>.hero{margin:14px 0 22px;padding:26px 28px 24px;border-radius:20px;background:radial-gradient(120% 140% at 0% 0%,rgba(59,130,246,.14),transparent 55%),radial-gradient(120% 140% at 100% 100%,rgba(14,165,233,.10),transparent 55%),var(--card);border:1px solid rgba(59,130,246,.22);box-shadow:0 10px 30px -18px rgba(37,99,235,.45)}
main>.hero h1{font-size:clamp(1.7rem,4.2vw,2.7rem);font-weight:800;line-height:1.1;letter-spacing:-.025em;margin:0 0 .35em}
main>.hero p.lead{font-size:clamp(1rem,2vw,1.18rem);line-height:1.5;color:var(--fg);opacity:.82}
main>.crumbs+.hero{margin-top:6px}
@media (max-width:760px){main>.hero{margin:10px 0 16px;padding:20px 18px 18px;border-radius:16px}}
/* type-to-search drop-downs (src/combo.js) */
.combo{position:relative;width:100%}
.combo-src{display:none!important}
.combo-in{width:100%;box-sizing:border-box;font:inherit;font-size:16px;padding:10px 34px 10px 12px;border:1px solid var(--line,#cbd5e1);border-radius:10px;background:var(--card,#fff) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-4-4'/%3E%3C/svg%3E") no-repeat right 12px center;color:var(--fg);text-overflow:ellipsis}
.combo-in:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,.2)}
.combo-list{position:absolute;z-index:60;left:0;right:0;top:calc(100% + 4px);max-height:280px;overflow:auto;margin:0;padding:4px;list-style:none;background:var(--card,#fff);border:1px solid var(--line,#cbd5e1);border-radius:10px;box-shadow:0 12px 30px -10px rgba(15,23,42,.35)}
.combo-list li{padding:9px 10px;border-radius:7px;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.combo-list li.act,.combo-list li:hover{background:rgba(59,130,246,.12)}
.combo-list li[aria-selected=true]{font-weight:700}
.combo-list li.combo-none{color:var(--muted);cursor:default}
/* narrow desktops: keep the header on one line (Display button icon-only) */
@media (min-width:761px) and (max-width:1240px){header.site .ap-lbl{display:none}header.site .ap-btn{padding:0 10px!important}header.site .wrap{gap:10px}nav.top a,.nav-more summary{padding-left:8px!important;padding-right:8px!important}}
@media (min-width:761px) and (max-width:1000px){header.site .logo{font-size:1.25rem}nav.top a,.nav-more summary{font-size:.82rem!important;padding-left:6px!important;padding-right:6px!important}nav.top{gap:0}header.site .lang select{max-width:58px}header.site .curp{padding:0 6px!important}}
/* pinch-zoom on the map and bubble chart */
svg.chart.map,svg.chart.scatter{touch-action:pan-y}
.zoom-host{position:relative}
.zoom-reset{position:absolute;top:8px;right:8px;z-index:5;font:inherit;font-size:.82rem;font-weight:600;padding:6px 10px;border-radius:999px;border:1px solid var(--line,#cbd5e1);background:var(--card,#fff);color:var(--fg);box-shadow:0 4px 14px -6px rgba(15,23,42,.35);cursor:pointer}
/* catch-up calculator: many countries against one target */
.calc-ctrl{display:flex;flex-wrap:wrap;gap:10px 16px;margin:4px 0 12px}
.calc-ctrl label{display:flex;flex-direction:column;gap:4px;font-size:.85rem;font-weight:600;min-width:200px;flex:1}
.calc-list{display:flex;flex-direction:column;gap:8px;margin-bottom:10px}
.calc-item{display:grid;grid-template-columns:minmax(150px,1.2fr) 120px 2fr;grid-template-areas:"name g res" "name hint hint";gap:4px 12px;align-items:center;padding:10px 12px;border:1px solid var(--line,#e2e8f0);border-radius:12px;background:var(--card,#fff)}
.calc-item.is-target{border-color:rgba(37,99,235,.55);background:linear-gradient(90deg,rgba(59,130,246,.08),transparent 70%),var(--card,#fff)}
.calc-name{grid-area:name;font-weight:650;display:flex;align-items:center;gap:8px}
.calc-name .sw{width:10px;height:10px;border-radius:50%;flex:none}
.calc-g{grid-area:g;display:flex;align-items:center;gap:6px}
.calc-g input{width:76px;font:inherit;font-size:16px;padding:6px 8px;border:1px solid var(--line,#cbd5e1);border-radius:8px;background:var(--card,#fff);color:var(--fg)}
.calc-g input.custom{border-color:#3b6cf6}
.calc-res{grid-area:res}
.calc-item .calc-hint{grid-area:hint}
.calc-badge{display:inline-block;font-size:.8rem;font-weight:700;color:#1d4ed8;background:rgba(59,130,246,.12);padding:3px 10px;border-radius:999px}
.calc-never{color:#b45309;font-weight:600}
@media (max-width:640px){.calc-item{grid-template-columns:1fr auto;grid-template-areas:"name g" "res res" "hint hint"}}
/* catch-up calculator: compact on wide screens so rows + chart fit one screen */
@media (min-width:1000px){.calc-list{display:grid;grid-template-columns:1fr 1fr;gap:6px 8px}.calc-item{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"name g" "res res";padding:6px 10px;gap:2px 10px}.calc-item .calc-hint{display:none}.calc-g input{padding:4px 6px}.calc>p.muted{margin:.1em 0 .5em;font-size:.9rem}.calc h3{margin:0 0 .15em}.calc-ctrl{margin:0 0 8px}.calc-ctrl label{flex-direction:row;align-items:center;gap:8px;min-width:0}.calc-ctrl select{flex:1}.calc-result{padding:8px 12px;font-size:1.02rem;margin:6px 0}}
/* the tool card keeps its own height (doesn't stretch to the side panel) so it can fit the screen */
.tool-grid>.main{align-self:start!important}
.summary:empty{display:none}
@media (min-width:1200px){.calc-body{display:grid;grid-template-columns:minmax(340px,440px) minmax(0,1fr);gap:16px;align-items:start}.calc-body .calc-list{grid-template-columns:1fr}.calc-body .calc-ctrl{flex-direction:column;gap:6px}.calc-body .calc-ctrl label{min-width:0}.calc-main .calc-result{margin-top:0}}
@media (min-width:1200px){.calc-body .calc-res{font-size:.86rem;line-height:1.3}.calc-body .calc-item{padding:5px 10px}.calc-body .calc-list{gap:5px}.calc-name .calc-badge{margin-left:6px;font-size:.72rem;padding:2px 8px}.calc-body .calc-ctrl{flex-direction:row}}
/* dashed/dotted lines keep their on-screen width and dash rhythm however much the chart is scaled (phone ↔ wide screen) */
svg.chart .grid,svg.chart .grat,svg.chart .zero,svg.chart .ln,svg.chart .hov line,.coin-chart .grid,.coin-chart .zero,.coin-plot .hov line{vector-effect:non-scaling-stroke}
svg.chart .grid{stroke:rgba(100,116,139,.34);stroke-width:1;stroke-dasharray:3 4}
svg.chart .zero,.coin-chart .zero{stroke-width:1.2;opacity:.75}
svg.chart .hov line,.coin-plot .hov line{stroke-width:1.2;stroke-dasharray:4 3}
/* Coincidence game: several cards side by side → icon-only action buttons, so a round fits one screen */
@media (min-width:900px){.coin-grid .coin-acts .lbl{display:none}.coin-grid .coin-acts{flex-wrap:nowrap;gap:6px}.coin-grid .coin-acts .btn{padding:4px 9px}}
/* page headlines (except the home page): a bit more compact on desktop so tools start higher */
@media (min-width:761px){main>.hero{padding:20px 26px 18px;margin:10px 0 16px}main>.hero h1{font-size:clamp(1.6rem,3vw,2.3rem)}main>.hero p.lead{font-size:1.02rem;margin-bottom:0}}
@media (prefers-color-scheme:dark){html:not([data-theme=light]){--bg:#0b1220;--fg:#e2e8f0;--muted:#94a3b8;--line:#1e293b;--soft:#0f172a;--card:#111a2e;--shadow:0 1px 2px rgba(0,0,0,.4)}html:not([data-theme=light]) select,html:not([data-theme=light]) input[type=search],html:not([data-theme=light]) input[type=number],html:not([data-theme=light]) textarea,html:not([data-theme=light]) .chip,html:not([data-theme=light]) .btn,html:not([data-theme=light]) .pill,html:not([data-theme=light]) .sugg,html:not([data-theme=light]) .seg button.on{background:#0f172a;color:var(--fg)}html:not([data-theme=light]) th{background:#0f172a;color:#94a3b8}html:not([data-theme=light]) table.score th[scope=row]{background:transparent}html:not([data-theme=light]) tr.hl td{background:#172554}html:not([data-theme=light]) .calc-result{background:#172554}html:not([data-theme=light]) .explain>div,html:not([data-theme=light]) .kpi,html:not([data-theme=light]) .topics a,html:not([data-theme=light]) details,html:not([data-theme=light]) .pro-grid div{background:var(--card)}html:not([data-theme=light]) .grid,html:not([data-theme=light]) .grat{stroke:#1e293b}html:not([data-theme=light]) .tick{fill:#94a3b8}html:not([data-theme=light]) .barlabel,html:not([data-theme=light]) .maplabel{fill:#e2e8f0}html:not([data-theme=light]) .maplabel{stroke:#0b1220}html:not([data-theme=light]) .barval,html:not([data-theme=light]) .axislabel{fill:#cbd5e1}html:not([data-theme=light]) .mapbg{fill:#0f172a}html:not([data-theme=light]) .ctl>label{color:#cbd5e1}html:not([data-theme=light]) .seg button{color:#cbd5e1}html:not([data-theme=light]) .race-year{color:#334155}html:not([data-theme=light]) body.embed{background:#0b1220}html:not([data-theme=light]){--border:rgba(148,163,184,.12);--ring:rgba(96,165,250,.25)}html:not([data-theme=light]) body{background:radial-gradient(1200px 500px at 85% -120px,rgba(59,130,246,.16),transparent 60%),radial-gradient(900px 400px at -10% 10%,rgba(20,184,166,.10),transparent 60%),#0b1220}html:not([data-theme=light]) .panel{background:linear-gradient(180deg,rgba(17,26,46,.92),rgba(17,26,46,.8))}html:not([data-theme=light]) .card,html:not([data-theme=light]) .main,html:not([data-theme=light]) .kpi,html:not([data-theme=light]) .explain>div,html:not([data-theme=light]) .topics a,html:not([data-theme=light]) details,html:not([data-theme=light]) .pro-grid div{box-shadow:0 1px 0 rgba(255,255,255,.03) inset,0 10px 30px -16px rgba(0,0,0,.6)}html:not([data-theme=light]) select,html:not([data-theme=light]) input[type=search],html:not([data-theme=light]) input[type=number],html:not([data-theme=light]) textarea,html:not([data-theme=light]) .chip{background:rgba(15,23,42,.85)}html:not([data-theme=light]) .seg{background:rgba(148,163,184,.08)}html:not([data-theme=light]) th{background:rgba(15,23,42,.92)}html:not([data-theme=light]) .ap-panel{background:rgba(17,26,46,.86)}html:not([data-theme=light]) .sugg{background:rgba(15,23,42,.95)}html:not([data-theme=light]) tbody tr:hover td{background:rgba(96,165,250,.06)}html:not([data-theme=light]) .ctl>label,html:not([data-theme=light]) .chips-head label{color:#94a3b8}html:not([data-theme=light]) .seg button.on{background:#3b82f6;color:#fff;box-shadow:0 1px 3px rgba(0,0,0,.4)}html:not([data-theme=light]) .seg button:not(.on){color:#94a3b8}html:not([data-theme=light]) .hero-home h1{background:linear-gradient(90deg,#f8fafc 0%,#93c5fd 100%);-webkit-background-clip:text;background-clip:text;color:transparent}html:not([data-theme=light]) .hero-home{border-color:rgba(96,165,250,.25)}html:not([data-theme=light]) main>.hero{border-color:rgba(96,165,250,.25)}html:not([data-theme=light]) .calc-badge{color:#93c5fd;background:rgba(96,165,250,.16)}html:not([data-theme=light]) .calc-never{color:#fbbf24}html:not([data-theme=light]) svg.chart .grid{stroke:rgba(148,163,184,.3)}
}html[data-theme=dark]{--bg:#0b1220;--fg:#e2e8f0;--muted:#94a3b8;--line:#1e293b;--soft:#0f172a;--card:#111a2e;--shadow:0 1px 2px rgba(0,0,0,.4)}html[data-theme=dark] select,html[data-theme=dark] input[type=search],html[data-theme=dark] input[type=number],html[data-theme=dark] textarea,html[data-theme=dark] .chip,html[data-theme=dark] .btn,html[data-theme=dark] .pill,html[data-theme=dark] .sugg,html[data-theme=dark] .seg button.on{background:#0f172a;color:var(--fg)}html[data-theme=dark] th{background:#0f172a;color:#94a3b8}html[data-theme=dark] table.score th[scope=row]{background:transparent}html[data-theme=dark] tr.hl td{background:#172554}html[data-theme=dark] .calc-result{background:#172554}html[data-theme=dark] .explain>div,html[data-theme=dark] .kpi,html[data-theme=dark] .topics a,html[data-theme=dark] details,html[data-theme=dark] .pro-grid div{background:var(--card)}html[data-theme=dark] .grid,html[data-theme=dark] .grat{stroke:#1e293b}html[data-theme=dark] .tick{fill:#94a3b8}html[data-theme=dark] .barlabel,html[data-theme=dark] .maplabel{fill:#e2e8f0}html[data-theme=dark] .maplabel{stroke:#0b1220}html[data-theme=dark] .barval,html[data-theme=dark] .axislabel{fill:#cbd5e1}html[data-theme=dark] .mapbg{fill:#0f172a}html[data-theme=dark] .ctl>label{color:#cbd5e1}html[data-theme=dark] .seg button{color:#cbd5e1}html[data-theme=dark] .race-year{color:#334155}html[data-theme=dark] body.embed{background:#0b1220}html[data-theme=dark]{--border:rgba(148,163,184,.12);--ring:rgba(96,165,250,.25)}html[data-theme=dark] body{background:radial-gradient(1200px 500px at 85% -120px,rgba(59,130,246,.16),transparent 60%),radial-gradient(900px 400px at -10% 10%,rgba(20,184,166,.10),transparent 60%),#0b1220}html[data-theme=dark] .panel{background:linear-gradient(180deg,rgba(17,26,46,.92),rgba(17,26,46,.8))}html[data-theme=dark] .card,html[data-theme=dark] .main,html[data-theme=dark] .kpi,html[data-theme=dark] .explain>div,html[data-theme=dark] .topics a,html[data-theme=dark] details,html[data-theme=dark] .pro-grid div{box-shadow:0 1px 0 rgba(255,255,255,.03) inset,0 10px 30px -16px rgba(0,0,0,.6)}html[data-theme=dark] select,html[data-theme=dark] input[type=search],html[data-theme=dark] input[type=number],html[data-theme=dark] textarea,html[data-theme=dark] .chip{background:rgba(15,23,42,.85)}html[data-theme=dark] .seg{background:rgba(148,163,184,.08)}html[data-theme=dark] th{background:rgba(15,23,42,.92)}html[data-theme=dark] .ap-panel{background:rgba(17,26,46,.86)}html[data-theme=dark] .sugg{background:rgba(15,23,42,.95)}html[data-theme=dark] tbody tr:hover td{background:rgba(96,165,250,.06)}html[data-theme=dark] .ctl>label,html[data-theme=dark] .chips-head label{color:#94a3b8}html[data-theme=dark] .seg button.on{background:#3b82f6;color:#fff;box-shadow:0 1px 3px rgba(0,0,0,.4)}html[data-theme=dark] .seg button:not(.on){color:#94a3b8}html[data-theme=dark] .hero-home h1{background:linear-gradient(90deg,#f8fafc 0%,#93c5fd 100%);-webkit-background-clip:text;background-clip:text;color:transparent}html[data-theme=dark] .hero-home{border-color:rgba(96,165,250,.25)}html[data-theme=dark] main>.hero{border-color:rgba(96,165,250,.25)}html[data-theme=dark] .calc-badge{color:#93c5fd;background:rgba(96,165,250,.16)}html[data-theme=dark] .calc-never{color:#fbbf24}html[data-theme=dark] svg.chart .grid{stroke:rgba(148,163,184,.3)}
html.pal-cb .s0.ln{stroke:#0072B2}html.pal-cb .s0.pt,html.pal-cb .s0.sw{fill:#0072B2;background:#0072B2}html.pal-cb .s1.ln{stroke:#D55E00}html.pal-cb .s1.pt,html.pal-cb .s1.sw{fill:#D55E00;background:#D55E00}html.pal-cb .s2.ln{stroke:#009E73}html.pal-cb .s2.pt,html.pal-cb .s2.sw{fill:#009E73;background:#009E73}html.pal-cb .s3.ln{stroke:#E69F00}html.pal-cb .s3.pt,html.pal-cb .s3.sw{fill:#E69F00;background:#E69F00}html.pal-cb .s4.ln{stroke:#CC79A7}html.pal-cb .s4.pt,html.pal-cb .s4.sw{fill:#CC79A7;background:#CC79A7}html.pal-cb .s5.ln{stroke:#56B4E9}html.pal-cb .s5.pt,html.pal-cb .s5.sw{fill:#56B4E9;background:#56B4E9}html.pal-cb .s6.ln{stroke:#000000}html.pal-cb .s6.pt,html.pal-cb .s6.sw{fill:#000000;background:#000000}html.pal-cb .s7.ln{stroke:#999933}html.pal-cb .s7.pt,html.pal-cb .s7.sw{fill:#999933;background:#999933}html.pal-cb .s8.ln{stroke:#882255}html.pal-cb .s8.pt,html.pal-cb .s8.sw{fill:#882255;background:#882255}html.pal-cb .s9.ln{stroke:#44AA99}html.pal-cb .s9.pt,html.pal-cb .s9.sw{fill:#44AA99;background:#44AA99}html.pal-cb .s10.ln{stroke:#332288}html.pal-cb .s10.pt,html.pal-cb .s10.sw{fill:#332288;background:#332288}html.pal-cb .s11.ln{stroke:#AA4499}html.pal-cb .s11.pt,html.pal-cb .s11.sw{fill:#AA4499;background:#AA4499}html.pal-cb .q0{fill:#fde725;background:#fde725}html.pal-cb .q1{fill:#5ec962;background:#5ec962}html.pal-cb .q2{fill:#21918c;background:#21918c}html.pal-cb .q3{fill:#3b528b;background:#3b528b}html.pal-cb .q4{fill:#440154;background:#440154}html.pal-cb .s1.ln{stroke-dasharray:9 5}html.pal-cb .s2.ln{stroke-dasharray:2 4}html.pal-cb .s3.ln{stroke-dasharray:14 4 3 4}html.pal-cb .s4.ln{stroke-dasharray:5 3}html.pal-cb .s5.ln{stroke-dasharray:1 3}html.pal-cb .s6.ln{stroke-dasharray:10 3 2 3 2 3}html.pal-cb .s7.ln{stroke-dasharray:18 6}html.pal-cb .s8.ln{stroke-dasharray:3 6}html.pal-cb .s9.ln{stroke-dasharray:7 2}html.pal-cb .s10.ln{stroke-dasharray:12 3 3 3}html.pal-cb .s11.ln{stroke-dasharray:4 4}html.pal-cb[data-theme=dark] .s0.ln{stroke:#56B4E9}html.pal-cb[data-theme=dark] .s0.pt,html.pal-cb[data-theme=dark] .s0.sw{fill:#56B4E9;background:#56B4E9}html.pal-cb[data-theme=dark] .s1.ln{stroke:#E69F00}html.pal-cb[data-theme=dark] .s1.pt,html.pal-cb[data-theme=dark] .s1.sw{fill:#E69F00;background:#E69F00}html.pal-cb[data-theme=dark] .s2.ln{stroke:#009E73}html.pal-cb[data-theme=dark] .s2.pt,html.pal-cb[data-theme=dark] .s2.sw{fill:#009E73;background:#009E73}html.pal-cb[data-theme=dark] .s3.ln{stroke:#F0E442}html.pal-cb[data-theme=dark] .s3.pt,html.pal-cb[data-theme=dark] .s3.sw{fill:#F0E442;background:#F0E442}html.pal-cb[data-theme=dark] .s4.ln{stroke:#CC79A7}html.pal-cb[data-theme=dark] .s4.pt,html.pal-cb[data-theme=dark] .s4.sw{fill:#CC79A7;background:#CC79A7}html.pal-cb[data-theme=dark] .s5.ln{stroke:#0072B2}html.pal-cb[data-theme=dark] .s5.pt,html.pal-cb[data-theme=dark] .s5.sw{fill:#0072B2;background:#0072B2}html.pal-cb[data-theme=dark] .s6.ln{stroke:#ffffff}html.pal-cb[data-theme=dark] .s6.pt,html.pal-cb[data-theme=dark] .s6.sw{fill:#ffffff;background:#ffffff}html.pal-cb[data-theme=dark] .s7.ln{stroke:#DDCC77}html.pal-cb[data-theme=dark] .s7.pt,html.pal-cb[data-theme=dark] .s7.sw{fill:#DDCC77;background:#DDCC77}html.pal-cb[data-theme=dark] .s8.ln{stroke:#CC6677}html.pal-cb[data-theme=dark] .s8.pt,html.pal-cb[data-theme=dark] .s8.sw{fill:#CC6677;background:#CC6677}html.pal-cb[data-theme=dark] .s9.ln{stroke:#44AA99}html.pal-cb[data-theme=dark] .s9.pt,html.pal-cb[data-theme=dark] .s9.sw{fill:#44AA99;background:#44AA99}html.pal-cb[data-theme=dark] .s10.ln{stroke:#88CCEE}html.pal-cb[data-theme=dark] .s10.pt,html.pal-cb[data-theme=dark] .s10.sw{fill:#88CCEE;background:#88CCEE}html.pal-cb[data-theme=dark] .s11.ln{stroke:#AA4499}html.pal-cb[data-theme=dark] .s11.pt,html.pal-cb[data-theme=dark] .s11.sw{fill:#AA4499;background:#AA4499}@media (prefers-color-scheme:dark){html.pal-cb:not([data-theme=light]) .s0.ln{stroke:#56B4E9}html.pal-cb:not([data-theme=light]) .s0.pt,html.pal-cb:not([data-theme=light]) .s0.sw{fill:#56B4E9;background:#56B4E9}html.pal-cb:not([data-theme=light]) .s1.ln{stroke:#E69F00}html.pal-cb:not([data-theme=light]) .s1.pt,html.pal-cb:not([data-theme=light]) .s1.sw{fill:#E69F00;background:#E69F00}html.pal-cb:not([data-theme=light]) .s2.ln{stroke:#009E73}html.pal-cb:not([data-theme=light]) .s2.pt,html.pal-cb:not([data-theme=light]) .s2.sw{fill:#009E73;background:#009E73}html.pal-cb:not([data-theme=light]) .s3.ln{stroke:#F0E442}html.pal-cb:not([data-theme=light]) .s3.pt,html.pal-cb:not([data-theme=light]) .s3.sw{fill:#F0E442;background:#F0E442}html.pal-cb:not([data-theme=light]) .s4.ln{stroke:#CC79A7}html.pal-cb:not([data-theme=light]) .s4.pt,html.pal-cb:not([data-theme=light]) .s4.sw{fill:#CC79A7;background:#CC79A7}html.pal-cb:not([data-theme=light]) .s5.ln{stroke:#0072B2}html.pal-cb:not([data-theme=light]) .s5.pt,html.pal-cb:not([data-theme=light]) .s5.sw{fill:#0072B2;background:#0072B2}html.pal-cb:not([data-theme=light]) .s6.ln{stroke:#ffffff}html.pal-cb:not([data-theme=light]) .s6.pt,html.pal-cb:not([data-theme=light]) .s6.sw{fill:#ffffff;background:#ffffff}html.pal-cb:not([data-theme=light]) .s7.ln{stroke:#DDCC77}html.pal-cb:not([data-theme=light]) .s7.pt,html.pal-cb:not([data-theme=light]) .s7.sw{fill:#DDCC77;background:#DDCC77}html.pal-cb:not([data-theme=light]) .s8.ln{stroke:#CC6677}html.pal-cb:not([data-theme=light]) .s8.pt,html.pal-cb:not([data-theme=light]) .s8.sw{fill:#CC6677;background:#CC6677}html.pal-cb:not([data-theme=light]) .s9.ln{stroke:#44AA99}html.pal-cb:not([data-theme=light]) .s9.pt,html.pal-cb:not([data-theme=light]) .s9.sw{fill:#44AA99;background:#44AA99}html.pal-cb:not([data-theme=light]) .s10.ln{stroke:#88CCEE}html.pal-cb:not([data-theme=light]) .s10.pt,html.pal-cb:not([data-theme=light]) .s10.sw{fill:#88CCEE;background:#88CCEE}html.pal-cb:not([data-theme=light]) .s11.ln{stroke:#AA4499}html.pal-cb:not([data-theme=light]) .s11.pt,html.pal-cb:not([data-theme=light]) .s11.sw{fill:#AA4499;background:#AA4499}}html.pal-gray .s0.ln{stroke:#111111}html.pal-gray .s0.pt,html.pal-gray .s0.sw{fill:#111111;background:#111111}html.pal-gray .s1.ln{stroke:#6b6b6b}html.pal-gray .s1.pt,html.pal-gray .s1.sw{fill:#6b6b6b;background:#6b6b6b}html.pal-gray .s2.ln{stroke:#3a3a3a}html.pal-gray .s2.pt,html.pal-gray .s2.sw{fill:#3a3a3a;background:#3a3a3a}html.pal-gray .s3.ln{stroke:#9a9a9a}html.pal-gray .s3.pt,html.pal-gray .s3.sw{fill:#9a9a9a;background:#9a9a9a}html.pal-gray .s4.ln{stroke:#222222}html.pal-gray .s4.pt,html.pal-gray .s4.sw{fill:#222222;background:#222222}html.pal-gray .s5.ln{stroke:#808080}html.pal-gray .s5.pt,html.pal-gray .s5.sw{fill:#808080;background:#808080}html.pal-gray .s6.ln{stroke:#4d4d4d}html.pal-gray .s6.pt,html.pal-gray .s6.sw{fill:#4d4d4d;background:#4d4d4d}html.pal-gray .s7.ln{stroke:#b3b3b3}html.pal-gray .s7.pt,html.pal-gray .s7.sw{fill:#b3b3b3;background:#b3b3b3}html.pal-gray .s8.ln{stroke:#1a1a1a}html.pal-gray .s8.pt,html.pal-gray .s8.sw{fill:#1a1a1a;background:#1a1a1a}html.pal-gray .s9.ln{stroke:#5c5c5c}html.pal-gray .s9.pt,html.pal-gray .s9.sw{fill:#5c5c5c;background:#5c5c5c}html.pal-gray .s10.ln{stroke:#2e2e2e}html.pal-gray .s10.pt,html.pal-gray .s10.sw{fill:#2e2e2e;background:#2e2e2e}html.pal-gray .s11.ln{stroke:#8c8c8c}html.pal-gray .s11.pt,html.pal-gray .s11.sw{fill:#8c8c8c;background:#8c8c8c}html.pal-gray .q0{fill:#e8e8e8;background:#e8e8e8}html.pal-gray .q1{fill:#bdbdbd;background:#bdbdbd}html.pal-gray .q2{fill:#8a8a8a;background:#8a8a8a}html.pal-gray .q3{fill:#555555;background:#555555}html.pal-gray .q4{fill:#1f1f1f;background:#1f1f1f}html.pal-gray .s1.ln{stroke-dasharray:9 5}html.pal-gray .s2.ln{stroke-dasharray:2 4}html.pal-gray .s3.ln{stroke-dasharray:14 4 3 4}html.pal-gray .s4.ln{stroke-dasharray:5 3}html.pal-gray .s5.ln{stroke-dasharray:1 3}html.pal-gray .s6.ln{stroke-dasharray:10 3 2 3 2 3}html.pal-gray .s7.ln{stroke-dasharray:18 6}html.pal-gray .s8.ln{stroke-dasharray:3 6}html.pal-gray .s9.ln{stroke-dasharray:7 2}html.pal-gray .s10.ln{stroke-dasharray:12 3 3 3}html.pal-gray .s11.ln{stroke-dasharray:4 4}html.pal-gray .bubble.hl{stroke:#000}html.pal-gray[data-theme=dark] .s0.ln{stroke:#f5f5f5}html.pal-gray[data-theme=dark] .s0.pt,html.pal-gray[data-theme=dark] .s0.sw{fill:#f5f5f5;background:#f5f5f5}html.pal-gray[data-theme=dark] .s1.ln{stroke:#9a9a9a}html.pal-gray[data-theme=dark] .s1.pt,html.pal-gray[data-theme=dark] .s1.sw{fill:#9a9a9a;background:#9a9a9a}html.pal-gray[data-theme=dark] .s2.ln{stroke:#d0d0d0}html.pal-gray[data-theme=dark] .s2.pt,html.pal-gray[data-theme=dark] .s2.sw{fill:#d0d0d0;background:#d0d0d0}html.pal-gray[data-theme=dark] .s3.ln{stroke:#6b6b6b}html.pal-gray[data-theme=dark] .s3.pt,html.pal-gray[data-theme=dark] .s3.sw{fill:#6b6b6b;background:#6b6b6b}html.pal-gray[data-theme=dark] .s4.ln{stroke:#e0e0e0}html.pal-gray[data-theme=dark] .s4.pt,html.pal-gray[data-theme=dark] .s4.sw{fill:#e0e0e0;background:#e0e0e0}html.pal-gray[data-theme=dark] .s5.ln{stroke:#808080}html.pal-gray[data-theme=dark] .s5.pt,html.pal-gray[data-theme=dark] .s5.sw{fill:#808080;background:#808080}html.pal-gray[data-theme=dark] .s6.ln{stroke:#bdbdbd}html.pal-gray[data-theme=dark] .s6.pt,html.pal-gray[data-theme=dark] .s6.sw{fill:#bdbdbd;background:#bdbdbd}html.pal-gray[data-theme=dark] .s7.ln{stroke:#5c5c5c}html.pal-gray[data-theme=dark] .s7.pt,html.pal-gray[data-theme=dark] .s7.sw{fill:#5c5c5c;background:#5c5c5c}html.pal-gray[data-theme=dark] .s8.ln{stroke:#ffffff}html.pal-gray[data-theme=dark] .s8.pt,html.pal-gray[data-theme=dark] .s8.sw{fill:#ffffff;background:#ffffff}html.pal-gray[data-theme=dark] .s9.ln{stroke:#a8a8a8}html.pal-gray[data-theme=dark] .s9.pt,html.pal-gray[data-theme=dark] .s9.sw{fill:#a8a8a8;background:#a8a8a8}html.pal-gray[data-theme=dark] .s10.ln{stroke:#c8c8c8}html.pal-gray[data-theme=dark] .s10.pt,html.pal-gray[data-theme=dark] .s10.sw{fill:#c8c8c8;background:#c8c8c8}html.pal-gray[data-theme=dark] .s11.ln{stroke:#737373}html.pal-gray[data-theme=dark] .s11.pt,html.pal-gray[data-theme=dark] .s11.sw{fill:#737373;background:#737373}html.pal-gray[data-theme=dark] .bubble.hl{stroke:#fff}@media (prefers-color-scheme:dark){html.pal-gray:not([data-theme=light]) .s0.ln{stroke:#f5f5f5}html.pal-gray:not([data-theme=light]) .s0.pt,html.pal-gray:not([data-theme=light]) .s0.sw{fill:#f5f5f5;background:#f5f5f5}html.pal-gray:not([data-theme=light]) .s1.ln{stroke:#9a9a9a}html.pal-gray:not([data-theme=light]) .s1.pt,html.pal-gray:not([data-theme=light]) .s1.sw{fill:#9a9a9a;background:#9a9a9a}html.pal-gray:not([data-theme=light]) .s2.ln{stroke:#d0d0d0}html.pal-gray:not([data-theme=light]) .s2.pt,html.pal-gray:not([data-theme=light]) .s2.sw{fill:#d0d0d0;background:#d0d0d0}html.pal-gray:not([data-theme=light]) .s3.ln{stroke:#6b6b6b}html.pal-gray:not([data-theme=light]) .s3.pt,html.pal-gray:not([data-theme=light]) .s3.sw{fill:#6b6b6b;background:#6b6b6b}html.pal-gray:not([data-theme=light]) .s4.ln{stroke:#e0e0e0}html.pal-gray:not([data-theme=light]) .s4.pt,html.pal-gray:not([data-theme=light]) .s4.sw{fill:#e0e0e0;background:#e0e0e0}html.pal-gray:not([data-theme=light]) .s5.ln{stroke:#808080}html.pal-gray:not([data-theme=light]) .s5.pt,html.pal-gray:not([data-theme=light]) .s5.sw{fill:#808080;background:#808080}html.pal-gray:not([data-theme=light]) .s6.ln{stroke:#bdbdbd}html.pal-gray:not([data-theme=light]) .s6.pt,html.pal-gray:not([data-theme=light]) .s6.sw{fill:#bdbdbd;background:#bdbdbd}html.pal-gray:not([data-theme=light]) .s7.ln{stroke:#5c5c5c}html.pal-gray:not([data-theme=light]) .s7.pt,html.pal-gray:not([data-theme=light]) .s7.sw{fill:#5c5c5c;background:#5c5c5c}html.pal-gray:not([data-theme=light]) .s8.ln{stroke:#ffffff}html.pal-gray:not([data-theme=light]) .s8.pt,html.pal-gray:not([data-theme=light]) .s8.sw{fill:#ffffff;background:#ffffff}html.pal-gray:not([data-theme=light]) .s9.ln{stroke:#a8a8a8}html.pal-gray:not([data-theme=light]) .s9.pt,html.pal-gray:not([data-theme=light]) .s9.sw{fill:#a8a8a8;background:#a8a8a8}html.pal-gray:not([data-theme=light]) .s10.ln{stroke:#c8c8c8}html.pal-gray:not([data-theme=light]) .s10.pt,html.pal-gray:not([data-theme=light]) .s10.sw{fill:#c8c8c8;background:#c8c8c8}html.pal-gray:not([data-theme=light]) .s11.ln{stroke:#737373}html.pal-gray:not([data-theme=light]) .s11.pt,html.pal-gray:not([data-theme=light]) .s11.sw{fill:#737373;background:#737373}html.pal-gray:not([data-theme=light]) .bubble.hl{stroke:#fff}}html.pal-hc .s0.ln{stroke:#0033cc}html.pal-hc .s0.pt,html.pal-hc .s0.sw{fill:#0033cc;background:#0033cc}html.pal-hc .s1.ln{stroke:#cc0000}html.pal-hc .s1.pt,html.pal-hc .s1.sw{fill:#cc0000;background:#cc0000}html.pal-hc .s2.ln{stroke:#006600}html.pal-hc .s2.pt,html.pal-hc .s2.sw{fill:#006600;background:#006600}html.pal-hc .s3.ln{stroke:#000000}html.pal-hc .s3.pt,html.pal-hc .s3.sw{fill:#000000;background:#000000}html.pal-hc .s4.ln{stroke:#9900aa}html.pal-hc .s4.pt,html.pal-hc .s4.sw{fill:#9900aa;background:#9900aa}html.pal-hc .s5.ln{stroke:#995500}html.pal-hc .s5.pt,html.pal-hc .s5.sw{fill:#995500;background:#995500}html.pal-hc .s6.ln{stroke:#006677}html.pal-hc .s6.pt,html.pal-hc .s6.sw{fill:#006677;background:#006677}html.pal-hc .s7.ln{stroke:#cc0066}html.pal-hc .s7.pt,html.pal-hc .s7.sw{fill:#cc0066;background:#cc0066}html.pal-hc .s8.ln{stroke:#333333}html.pal-hc .s8.pt,html.pal-hc .s8.sw{fill:#333333;background:#333333}html.pal-hc .s9.ln{stroke:#663300}html.pal-hc .s9.pt,html.pal-hc .s9.sw{fill:#663300;background:#663300}html.pal-hc .s10.ln{stroke:#000077}html.pal-hc .s10.pt,html.pal-hc .s10.sw{fill:#000077;background:#000077}html.pal-hc .s11.ln{stroke:#555500}html.pal-hc .s11.pt,html.pal-hc .s11.sw{fill:#555500;background:#555500}html.pal-hc .q0{fill:#ffffcc;background:#ffffcc}html.pal-hc .q1{fill:#a1dab4;background:#a1dab4}html.pal-hc .q2{fill:#41b6c4;background:#41b6c4}html.pal-hc .q3{fill:#2c7fb8;background:#2c7fb8}html.pal-hc .q4{fill:#253494;background:#253494}html.pal-hc .s1.ln{stroke-dasharray:9 5}html.pal-hc .s2.ln{stroke-dasharray:2 4}html.pal-hc .s3.ln{stroke-dasharray:14 4 3 4}html.pal-hc .s4.ln{stroke-dasharray:5 3}html.pal-hc .s5.ln{stroke-dasharray:1 3}html.pal-hc .s6.ln{stroke-dasharray:10 3 2 3 2 3}html.pal-hc .s7.ln{stroke-dasharray:18 6}html.pal-hc .s8.ln{stroke-dasharray:3 6}html.pal-hc .s9.ln{stroke-dasharray:7 2}html.pal-hc .s10.ln{stroke-dasharray:12 3 3 3}html.pal-hc .s11.ln{stroke-dasharray:4 4}html.pal-hc .ln{stroke-width:4}html.pal-hc .grid{stroke:#94a3b8}html.pal-hc .tick,html.pal-hc .barval,html.pal-hc .barlabel{fill:#000;font-weight:700}html.pal-hc[data-theme=dark] .s0.ln{stroke:#66aaff}html.pal-hc[data-theme=dark] .s0.pt,html.pal-hc[data-theme=dark] .s0.sw{fill:#66aaff;background:#66aaff}html.pal-hc[data-theme=dark] .s1.ln{stroke:#ff5555}html.pal-hc[data-theme=dark] .s1.pt,html.pal-hc[data-theme=dark] .s1.sw{fill:#ff5555;background:#ff5555}html.pal-hc[data-theme=dark] .s2.ln{stroke:#33dd66}html.pal-hc[data-theme=dark] .s2.pt,html.pal-hc[data-theme=dark] .s2.sw{fill:#33dd66;background:#33dd66}html.pal-hc[data-theme=dark] .s3.ln{stroke:#ffffff}html.pal-hc[data-theme=dark] .s3.pt,html.pal-hc[data-theme=dark] .s3.sw{fill:#ffffff;background:#ffffff}html.pal-hc[data-theme=dark] .s4.ln{stroke:#ff66ff}html.pal-hc[data-theme=dark] .s4.pt,html.pal-hc[data-theme=dark] .s4.sw{fill:#ff66ff;background:#ff66ff}html.pal-hc[data-theme=dark] .s5.ln{stroke:#ffbb33}html.pal-hc[data-theme=dark] .s5.pt,html.pal-hc[data-theme=dark] .s5.sw{fill:#ffbb33;background:#ffbb33}html.pal-hc[data-theme=dark] .s6.ln{stroke:#33dddd}html.pal-hc[data-theme=dark] .s6.pt,html.pal-hc[data-theme=dark] .s6.sw{fill:#33dddd;background:#33dddd}html.pal-hc[data-theme=dark] .s7.ln{stroke:#ff6699}html.pal-hc[data-theme=dark] .s7.pt,html.pal-hc[data-theme=dark] .s7.sw{fill:#ff6699;background:#ff6699}html.pal-hc[data-theme=dark] .s8.ln{stroke:#cccccc}html.pal-hc[data-theme=dark] .s8.pt,html.pal-hc[data-theme=dark] .s8.sw{fill:#cccccc;background:#cccccc}html.pal-hc[data-theme=dark] .s9.ln{stroke:#ffaa66}html.pal-hc[data-theme=dark] .s9.pt,html.pal-hc[data-theme=dark] .s9.sw{fill:#ffaa66;background:#ffaa66}html.pal-hc[data-theme=dark] .s10.ln{stroke:#9999ff}html.pal-hc[data-theme=dark] .s10.pt,html.pal-hc[data-theme=dark] .s10.sw{fill:#9999ff;background:#9999ff}html.pal-hc[data-theme=dark] .s11.ln{stroke:#dddd55}html.pal-hc[data-theme=dark] .s11.pt,html.pal-hc[data-theme=dark] .s11.sw{fill:#dddd55;background:#dddd55}html.pal-hc[data-theme=dark] .tick,html.pal-hc[data-theme=dark] .barval,html.pal-hc[data-theme=dark] .barlabel{fill:#fff}@media (prefers-color-scheme:dark){html.pal-hc:not([data-theme=light]) .s0.ln{stroke:#66aaff}html.pal-hc:not([data-theme=light]) .s0.pt,html.pal-hc:not([data-theme=light]) .s0.sw{fill:#66aaff;background:#66aaff}html.pal-hc:not([data-theme=light]) .s1.ln{stroke:#ff5555}html.pal-hc:not([data-theme=light]) .s1.pt,html.pal-hc:not([data-theme=light]) .s1.sw{fill:#ff5555;background:#ff5555}html.pal-hc:not([data-theme=light]) .s2.ln{stroke:#33dd66}html.pal-hc:not([data-theme=light]) .s2.pt,html.pal-hc:not([data-theme=light]) .s2.sw{fill:#33dd66;background:#33dd66}html.pal-hc:not([data-theme=light]) .s3.ln{stroke:#ffffff}html.pal-hc:not([data-theme=light]) .s3.pt,html.pal-hc:not([data-theme=light]) .s3.sw{fill:#ffffff;background:#ffffff}html.pal-hc:not([data-theme=light]) .s4.ln{stroke:#ff66ff}html.pal-hc:not([data-theme=light]) .s4.pt,html.pal-hc:not([data-theme=light]) .s4.sw{fill:#ff66ff;background:#ff66ff}html.pal-hc:not([data-theme=light]) .s5.ln{stroke:#ffbb33}html.pal-hc:not([data-theme=light]) .s5.pt,html.pal-hc:not([data-theme=light]) .s5.sw{fill:#ffbb33;background:#ffbb33}html.pal-hc:not([data-theme=light]) .s6.ln{stroke:#33dddd}html.pal-hc:not([data-theme=light]) .s6.pt,html.pal-hc:not([data-theme=light]) .s6.sw{fill:#33dddd;background:#33dddd}html.pal-hc:not([data-theme=light]) .s7.ln{stroke:#ff6699}html.pal-hc:not([data-theme=light]) .s7.pt,html.pal-hc:not([data-theme=light]) .s7.sw{fill:#ff6699;background:#ff6699}html.pal-hc:not([data-theme=light]) .s8.ln{stroke:#cccccc}html.pal-hc:not([data-theme=light]) .s8.pt,html.pal-hc:not([data-theme=light]) .s8.sw{fill:#cccccc;background:#cccccc}html.pal-hc:not([data-theme=light]) .s9.ln{stroke:#ffaa66}html.pal-hc:not([data-theme=light]) .s9.pt,html.pal-hc:not([data-theme=light]) .s9.sw{fill:#ffaa66;background:#ffaa66}html.pal-hc:not([data-theme=light]) .s10.ln{stroke:#9999ff}html.pal-hc:not([data-theme=light]) .s10.pt,html.pal-hc:not([data-theme=light]) .s10.sw{fill:#9999ff;background:#9999ff}html.pal-hc:not([data-theme=light]) .s11.ln{stroke:#dddd55}html.pal-hc:not([data-theme=light]) .s11.pt,html.pal-hc:not([data-theme=light]) .s11.sw{fill:#dddd55;background:#dddd55}html.pal-hc:not([data-theme=light]) .tick,html.pal-hc:not([data-theme=light]) .barval,html.pal-hc:not([data-theme=light]) .barlabel{fill:#fff}}