.gh {
  color-scheme: light;
  --surface-1: #fcfcfb;
  --surface-2: #f3f3f1;
  --text-primary: #0b0b0b;
  --text-secondary: #52514e;
  --text-muted: #6e6d68;
  --grid: rgba(11,11,11,0.08);
  --axis: rgba(11,11,11,0.35);
  --border: rgba(11,11,11,0.12);
  --series-1: #2a78d6;
  --series-2: #eb6834;
  --series-3: #1baf7a;
  --series-4: #eda100;
  --series-5: #e87ba4;
  --sel: rgba(42,120,214,0.14);
}
@media (prefers-color-scheme: dark) {
:root:where(:not([data-theme="light"])) .gh {
    color-scheme: dark;
    --surface-1: #1a1a19;
    --surface-2: #242423;
    --text-primary: #ffffff;
    --text-secondary: #c3c2b7;
    --text-muted: #9b9a90;
    --grid: rgba(255,255,255,0.09);
    --axis: rgba(255,255,255,0.4);
    --border: rgba(255,255,255,0.12);
    --series-1: #3987e5;
    --series-2: #d95926;
    --series-3: #199e70;
    --series-4: #c98500;
    --series-5: #d55181;
    --sel: rgba(57,135,229,0.22);
  }
}
:root[data-theme="dark"] .gh {
  color-scheme: dark;
  --surface-1: #1a1a19;
  --surface-2: #242423;
  --text-primary: #ffffff;
  --text-secondary: #c3c2b7;
  --text-muted: #9b9a90;
  --grid: rgba(255,255,255,0.09);
  --axis: rgba(255,255,255,0.4);
  --border: rgba(255,255,255,0.12);
  --series-1: #3987e5;
  --series-2: #d95926;
  --series-3: #199e70;
  --series-4: #c98500;
  --series-5: #d55181;
  --sel: rgba(57,135,229,0.22);
}
.gh, .gh * { box-sizing: border-box; }
.gh { background: var(--surface-1); color: var(--text-primary); max-width: 1320px; margin: 0 auto; padding: 20px clamp(12px, 3vw, 32px) 48px; min-height: 100vh; }
.gh .head h1 { margin: 0 0 4px; font-size: clamp(22px, 4.2vw, 34px); line-height: 1.15; letter-spacing: -0.01em; }
.gh .sub { margin: 0 0 10px; color: var(--text-secondary); max-width: 70ch; }
.gh .now { margin: 0 0 12px; font-size: 16px; color: var(--text-secondary); }
.gh .now strong { color: var(--text-primary); font-size: clamp(20px, 3.4vw, 28px); font-variant-numeric: tabular-nums; margin-right: 0; }
.gh .controls { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin-bottom: 10px; }
.gh .seg { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.gh .seg button, .ghost { font: inherit; font-size: 13px; color: var(--text-secondary); background: transparent; border: 0; padding: 7px 11px; cursor: pointer; min-height: 34px; }
.gh .seg button + button { border-left: 1px solid var(--border); }
.gh .seg button:hover, .ghost:hover { background: var(--surface-2); color: var(--text-primary); }
.gh .seg button[aria-pressed="true"] { background: var(--sel); color: var(--text-primary); font-weight: 600; }
.ghost { border: 1px solid var(--border); border-radius: 8px; }
.gh button:focus-visible, .gh svg:focus-visible, .gh .src:focus-visible, .gh summary:focus-visible { outline: 2px solid var(--series-1); outline-offset: 2px; }
.gh .layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
@media (min-width: 1000px) {
.gh .layout { grid-template-columns: minmax(0, 1fr) 320px; }
}
.gh .chart { position: relative; margin: 0; }
.gh .hint { font-size: 12px; color: var(--text-muted); margin-bottom: 4px; }
.gh #main { display: block; width: 100%; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.gh #overview { display: block; width: 100%; margin-top: 4px; }
.gh .cap { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.gh svg text { font-family: inherit; }
.gh .tick text, .gh .axis-label { fill: var(--text-secondary); font-size: 12px; }
.gh .domain { stroke: var(--axis); }
.gh .tick line { stroke: var(--axis); }
.gh .gridline { stroke: var(--grid); }
.gh .refline { stroke: var(--text-muted); stroke-dasharray: 2 4; opacity: 0.55; }
.gh .reftext { fill: var(--text-muted); font-size: 11px; paint-order: stroke; stroke: var(--surface-1); stroke-width: 3px; }
.gh .nodata { fill: var(--text-muted); font-size: 12px; font-style: italic; }
.gh .bridge { stroke: var(--text-muted); stroke-dasharray: 3 3; fill: none; stroke-width: 1.25; }
.gh .line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; transition: opacity .12s; }
.gh .band { transition: opacity .12s; }
.gh .dot { stroke: var(--surface-1); stroke-width: 2; transition: opacity .12s; }
.gh .dim { opacity: 0.14; }
.gh .line.thin { stroke-width: 1; stroke-opacity: 0.45; }
.gh .hl.line.thin { stroke-width: 1.5; stroke-opacity: 0.8; }
.gh .hl.line { stroke-width: 3.5; }
.gh .hl.band { fill-opacity: 0.4 !important; }
.gh .lbl text { fill: var(--text-primary); font-size: 12px; font-weight: 600; paint-order: stroke; stroke: var(--surface-1); stroke-width: 3px; stroke-linejoin: round; }
.gh .ann text { fill: var(--text-secondary); font-size: 11.5px; paint-order: stroke; stroke: var(--surface-1); stroke-width: 3px; stroke-linejoin: round; }
.gh .ann circle { fill: var(--text-primary); stroke: var(--surface-1); stroke-width: 2; }
.gh .cross { stroke: var(--text-secondary); stroke-width: 1; }
.gh .focusdot { stroke: var(--surface-1); stroke-width: 2; }
.gh .brush .selection { fill: var(--sel); stroke: var(--series-1); stroke-width: 1.5; fill-opacity: 1; }
.gh .brush .handle { fill: var(--series-1); opacity: 0.85; }
.gh .ov-line { fill: none; stroke-width: 1.25; }
.gh .ov-band { stroke-width: 1; }
.gh .tip { position: absolute; z-index: 5; pointer-events: none; background: var(--surface-1); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; width: 280px; box-shadow: 0 6px 24px rgba(0,0,0,0.18); font-size: 13px; line-height: 1.35; }
.gh .tip[hidden] { display: none; }
.gh .tip .t-when { color: var(--text-secondary); font-size: 12px; }
.gh .tip .t-val { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; margin: 2px 0; }
.gh .tip .t-val small { font-size: 13px; font-weight: 500; color: var(--text-secondary); }
.gh .tip .t-eq { color: var(--text-secondary); }
.gh .tip .t-row { color: var(--text-secondary); margin-top: 4px; font-variant-numeric: tabular-nums; }
.gh .tip .t-src { display: flex; gap: 8px; align-items: center; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--border); color: var(--text-secondary); font-size: 12px; }
.gh .key { display: inline-block; width: 16px; height: 0; border-top: 3px solid; border-radius: 2px; flex: none; }
@media (max-width: 639px) {
.gh .tip { position: static; width: auto; box-shadow: none; margin-top: 8px; }
}
.gh .sources h2, .gh .notes h2 { font-size: 16px; margin: 0 0 4px; }
.gh .srcnote { font-size: 12.5px; color: var(--text-muted); margin: 0 0 10px; }
.gh .srcgroup { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); margin: 14px 0 6px; }
.gh .src { display: block; width: 100%; text-align: left; font: inherit; color: inherit; background: transparent; border: 1px solid var(--border); border-left-width: 4px; border-radius: 8px; padding: 9px 11px; margin-bottom: 8px; cursor: pointer; }
.gh .src:hover, .gh .src.on { background: var(--surface-2); }
.gh .src .s-name { font-weight: 600; font-size: 14px; }
.gh .src .s-meta { color: var(--text-secondary); font-size: 12.5px; margin-top: 2px; }
.gh .src .s-badge { display: inline-block; font-size: 11px; padding: 0 6px; border: 1px solid var(--border); border-radius: 999px; margin-left: 6px; color: var(--text-secondary); font-weight: 500; vertical-align: 1px; }
.gh .src .s-links { font-size: 12px; margin-top: 4px; }
.gh .src a { color: var(--text-secondary); text-decoration: underline; text-underline-offset: 2px; }
.gh .src a:hover { color: var(--text-primary); }
.gh .notes { margin-top: 28px; max-width: 80ch; }
.gh .notes ul { padding-left: 18px; margin: 6px 0; color: var(--text-secondary); }
.gh .notes li { margin-bottom: 6px; }
.gh .notes strong { color: var(--text-primary); }
.gh .tableview { margin-top: 20px; border-top: 1px solid var(--border); padding-top: 12px; }
.gh .tableview summary { cursor: pointer; font-weight: 600; }
.gh .tablewrap { max-height: 420px; overflow: auto; border: 1px solid var(--border); border-radius: 8px; }
.gh table { border-collapse: collapse; width: 100%; font-size: 13px; font-variant-numeric: tabular-nums; }
.gh th, .gh td { text-align: left; padding: 6px 10px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.gh th { position: sticky; top: 0; background: var(--surface-2); z-index: 1; }
.gh .links { font-size: 12.5px; color: var(--text-secondary); }
@media (forced-colors: active) {
.gh .line, .gh .ov-line { stroke: CanvasText; }
}
@media (max-width: 639px) {
.gh .tip { min-height: 104px; margin-top: 8px; }
.gh #ranges { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; }
.gh #ranges button { white-space: nowrap; }
.gh .controls { gap: 8px; }
.gh .cap { display: none; }
}
.gh .refl text { fill: var(--text-muted); font-size: 11px; font-weight: 400; paint-order: stroke; stroke: var(--surface-1); stroke-width: 3px; }
.gh .drawer { display: none; }
.gh .layout.open .drawer { display: block; }
@media (min-width: 1000px) {
.gh .layout.open { grid-template-columns: minmax(0, 1fr) 340px; }
}
.gh .layout { grid-template-columns: minmax(0, 1fr); }
.gh .gap { margin-top: 22px !important; }
.gh .blurb { font-size: 13.5px; color: var(--text-secondary); margin: 4px 0 8px; }
.gh .drawer .notes { margin-top: 6px; font-size: 13.5px; max-width: none; }
.gh .era { fill: var(--text-muted); font-size: 11px; font-weight: 600; letter-spacing: .04em; }
.gh .quiet .ref, .gh .quiet .nodata { display: none; }
.gh #srcbtn[aria-expanded="true"] { background: var(--sel); color: var(--text-primary); }
.ghost { min-width: 34px; }
.gh #ranges button { font-variant-numeric: tabular-nums; }
.gh .gridline.zero { stroke: var(--axis); }
.gh .notes[hidden], .gh #linkfactors[hidden], .gh #scale[hidden] { display: none; }
.gh .layout, .gh .layout.open { display: block; }
@media (min-width: 1000px) {
.gh .layout.open { grid-template-columns: none; }
}
.gh .srcbar { display: flex; justify-content: flex-end; margin-top: 6px; }
.gh .drawer { margin-top: 8px; border-top: 1px solid var(--border); padding-top: 12px; }
.gh #srclist { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 0 12px; }
.gh #srclist .srcgroup { grid-column: 1 / -1; }
.gh .scalebox { margin: 0 0 10px; color: var(--text-secondary); font-size: 13px; }
.gh .scalebox[hidden] { display: none; }
.gh .dot.hl { r: 8px; }
.gh .now { display: flex; flex-wrap: wrap; gap: 6px 32px; align-items: flex-end; }
.gh .stat small { display: block; font-size: 12px; color: var(--text-muted); }
.gh .stat strong { font-size: clamp(20px, 3.4vw, 28px); color: var(--text-primary); font-variant-numeric: tabular-nums; }
.gh.dark {
  color-scheme: dark;
  --surface-1: #1a1a19;
  --surface-2: #242423;
  --text-primary: #ffffff;
  --text-secondary: #c3c2b7;
  --text-muted: #9b9a90;
  --grid: rgba(255,255,255,0.09);
  --axis: rgba(255,255,255,0.4);
  --border: rgba(255,255,255,0.12);
  --series-1: #3987e5;
  --series-2: #d95926;
  --series-3: #199e70;
  --series-4: #c98500;
  --series-5: #d55181;
  --sel: rgba(57,135,229,0.22);
}
.gh.embed { width: min(1180px, calc(100vw - 36px)); max-width: none; margin: 32px 0 32px 50%; transform: translateX(-50%); padding: 0; min-height: 0; font: 15px/1.5 Outfit, system-ui, sans-serif; }
.gh.embed.dark { --surface-1: #0a1628; --surface-2: #13233a; background: #0a1628; border: 1px solid rgba(255,249,239,.12); border-radius: 28px; padding: clamp(14px, 2vw, 22px); }
.gh.embed .now { margin-top: 0; }
.gh.embed .drawer { margin-top: 12px; }
.gh.embed .srcnote, .gh.embed .blurb, .gh.embed .notes li, .gh.embed .scalebox { max-width: none; }
.gh.embed .tablewrap { max-height: 360px; }
