:root {
  color-scheme: dark;
  --bg: #0b1119;
  --panel: #111b27;
  --line: #2a3645;
  --muted: #9bacbf;
  --text: #eff5fb;
  --accent: #6de6c3;
  font-family: "Segoe UI", "Microsoft JhengHei", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.7; }
.wrap { width: min(1280px, calc(100% - 80px)); margin: auto; }
header { height: 90px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.brand { letter-spacing: .14em; font-size: 14px; font-weight: 650; }
.brand small { color: var(--muted); font-weight: 400; margin-left: 15px; }
.eyebrow { font-size: 10px; letter-spacing: .15em; color: var(--muted); margin: 0 0 10px; }
.accent, h1 span { color: var(--accent); }
.intro { padding: 58px 0 28px; max-width: 850px; }
h1 { font-size: clamp(36px, 4.6vw, 60px); line-height: 1.25; letter-spacing: -.04em; font-weight: 600; margin: 15px 0 20px; }
.intro > p:not(.eyebrow) { color: var(--muted); font-size: 15px; max-width: 670px; }
.intro aside { font-size: 12px; color: var(--muted); border-left: 2px solid var(--accent); padding-left: 16px; margin-top: 25px; }
strong { color: var(--text); }
#status { font-size: 12px; border: 1px solid var(--line); padding: 12px 16px; border-radius: 7px; color: var(--muted); }
#status.error { color: #ffbb89; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); margin: 25px 0 30px; }
.stats > div { padding: 19px 22px; border-right: 1px solid var(--line); }
.stats > div:first-child { padding-left: 0; }
.stats > div:last-child { border: 0; }
.stats span { display: block; font-size: 11px; color: var(--muted); }
.stats strong { display: block; font-size: 27px; font-weight: 500; font-variant-numeric: tabular-nums; }
.panel { border: 1px solid var(--line); background: var(--panel); border-radius: 13px; margin: 24px 0; overflow: hidden; }
.heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 25px 18px; }
h2 { font-size: 23px; line-height: 1.4; font-weight: 550; margin: 0; }
button, input, select { font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 6px; }
button { cursor: pointer; padding: 8px 12px; font-size: 12px; }
button:hover { border-color: var(--accent); }
button:disabled, input:disabled, select:disabled { opacity: .4; cursor: wait; }
form { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; padding: 0 25px 20px; }
form label { color: var(--muted); font-size: 11px; }
select { display: block; padding: 10px; width: 100%; margin-top: 6px; font-size: 13px; cursor: pointer; }
.time-controls { display: flex; align-items: center; gap: 15px; flex-wrap: wrap; padding: 13px 25px; border-block: 1px solid var(--line); background: var(--bg); font-size: 11px; color: var(--muted); }
.time-controls > span { margin-right: auto; }
.time-controls input { width: 95px; padding: 6px 8px; margin-left: 7px; font-size: 12px; }
.time-controls button { font-size: 11px; color: var(--accent); }
#time-error { width: 100%; color: #ffbb89; margin: 0; }
.plot-shell { position: relative; min-height: 520px; background: radial-gradient(ellipse at 50% 40%, #172a3b, var(--panel) 70%); }
#main-plot { height: 580px; width: 100%; }
#fallback { display: block; width: 100%; height: 540px; }
#empty { position: absolute; inset: 45% 20px auto; text-align: center; color: #ffbb89; }
.plot-note { margin: 0; padding: 10px 25px; font-size: 11px; color: var(--muted); }
#selection-summary { border-top: 1px solid var(--line); }
#interaction-note { padding-top: 0; padding-bottom: 17px; }
.badge { color: var(--accent); font-size: 10px; border: 1px solid var(--line); border-radius: 20px; padding: 5px 10px; white-space: nowrap; }
.description { padding: 0 25px; font-size: 12px; color: var(--muted); max-width: 900px; }
#coverage-plot { height: 300px; width: 100%; }
details { border-top: 1px solid var(--line); }
summary { padding: 15px 25px; font-size: 12px; cursor: pointer; }
summary span { color: var(--muted); margin-left: 12px; }
.table-scroll { max-height: 400px; overflow: auto; padding: 0 25px 20px; }
table { border-collapse: collapse; width: 100%; white-space: nowrap; text-align: right; font-size: 12px; font-variant-numeric: tabular-nums; }
th, td { padding: 8px 12px; border-bottom: 1px solid var(--line); }
th { position: sticky; top: 0; background: var(--panel); font-weight: 500; color: var(--muted); }
th:first-child, td:first-child { text-align: left; padding-left: 0; }
caption { text-align: left; color: var(--muted); font-size: 11px; padding-bottom: 10px; }
.supported { color: var(--accent); }
.sparse { color: #ffbb89; }
.notes { margin: 55px 0; }
.notes > div { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 27px; }
.notes h3 { font-size: 14px; font-weight: 550; margin: 5px 0; }
.notes article > p:last-child { font-size: 12px; color: var(--muted); margin: 0; }
footer { border-top: 1px solid var(--line); padding: 25px 0 35px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
footer > span:last-child { font-size: 10px; text-align: right; color: var(--muted); }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.skip { position: absolute; top: -100px; left: 20px; z-index: 10; padding: 10px; background: var(--accent); color: var(--bg); }
.skip:focus { top: 8px; }
@media (max-width: 850px) {
  .wrap { width: calc(100% - 40px); }
  .notes > div { grid-template-columns: 1fr 1fr; }
  .stats strong { font-size: 22px; }
  form { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stats > div { padding: 16px; }
  #main-plot { height: 530px; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 26px); }
  header { height: 70px; }
  header > .eyebrow { display: none; }
  .intro { padding-top: 35px; }
  h1 { font-size: 39px; }
  .intro > p:not(.eyebrow) { font-size: 13px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats > div { padding: 13px !important; }
  .stats > div:nth-child(2) { border-right: 0; }
  .stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .heading { padding: 20px 15px 15px; }
  h2 { font-size: 19px; }
  .heading button { font-size: 10px; white-space: nowrap; }
  .heading .eyebrow { font-size: 8px; }
  form { grid-template-columns: 1fr 1fr; padding: 0 15px 17px; }
  select { font-size: 12px; }
  .time-controls { padding: 12px 15px; gap: 10px; }
  .time-controls > span { width: 100%; }
  .time-controls input { width: 80px; margin-left: 3px; }
  .time-controls button { padding: 5px 7px; }
  #main-plot { height: 460px; }
  .plot-shell { min-height: 450px; }
  #fallback { height: 450px; }
  .plot-note { padding: 10px 15px; font-size: 10px; }
  .badge { font-size: 8px; padding: 4px 6px; }
  .description { padding: 0 15px; }
  #coverage-plot { height: 270px; }
  summary { padding: 15px; }
  .table-scroll { padding: 0 15px 15px; }
  table { font-size: 11px; }
  th, td { padding: 7px; }
  .notes { margin: 38px 0; }
  .notes > div { gap: 24px 20px; }
  .notes article > p:last-child { font-size: 11px; }
  footer .brand { font-size: 10px; }
  footer > span:last-child { font-size: 8px; }
}
