
.viz-root{color-scheme:light;--surface:#fcfcfb;--ink:#0b0b0b;--ink-2:#52514e;--muted:#898781;--grid:#e1e0d9;--axis:#c3c2b7;
  --pak:#2a78d6;--irn:#eb6834;--oth:#1baf7a;max-width:1100px;margin:0 auto;padding:16px;background:var(--surface);color:var(--ink);position:relative;
  font:14px/1.45 "Source Sans 3",system-ui,-apple-system,"Segoe UI",sans-serif}
body{margin:0;padding:16px;background:#f9f9f7}
body.embed{padding:0;background:transparent}
body.embed .viz-root{padding:0;background:transparent;max-width:none}
h2{margin:0;font-size:20px;font-weight:650}
.subtitle{margin:2px 0 10px;color:var(--ink-2)}
.bar{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:10px}
.tabs{display:flex;border-bottom:1px solid var(--grid)}
.tabs button{font:inherit;font-size:14px;padding:6px 14px;border:0;border-bottom:2px solid transparent;background:none;
  color:var(--ink-2);cursor:pointer;margin-bottom:-1px}
.tabs button[aria-selected="true"]{color:var(--ink);font-weight:600;border-bottom-color:var(--ink)}
.stats{display:flex;gap:28px;flex-wrap:wrap;margin:2px 0 8px}
.stat{max-width:300px}
.stat .k{font-size:12px;color:var(--muted)}
.stat .v{font-size:22px;font-weight:650}
.stat .s{font-size:12.5px;color:var(--ink-2)}
.legend{display:flex;gap:16px;flex-wrap:wrap;font-size:12.5px;color:var(--ink-2);margin:2px 0 4px}
.legend .sw{display:inline-block;width:12px;height:12px;border-radius:3px;vertical-align:-1px;margin-right:6px}
.chart svg{display:block;width:100%;height:auto;overflow:visible}
.axis text{fill:var(--ink-2);font-size:12px}
.axis .domain,.axis line{stroke:var(--axis)}
.grid line{stroke:var(--grid)} .grid .domain{display:none}
.layer{stroke:var(--surface);stroke-width:1.5;stroke-linejoin:round;fill-opacity:.9}
.seg{stroke:var(--surface);stroke-width:1.5}
.seg.dim{fill-opacity:.45}
.ann line{stroke:var(--muted);stroke-dasharray:2 3}
.ann text{font-size:11.5px;fill:var(--ink-2);paint-order:stroke;stroke:var(--surface);stroke-width:3px;stroke-linejoin:round}
.lab{font-size:12px;fill:var(--ink-2)}
.peak{font-size:11.5px;fill:var(--ink);text-anchor:middle}
.cross{stroke:var(--ink);stroke-width:1}
.dot{stroke:var(--surface);stroke-width:2}
.tooltip{position:absolute;pointer-events:none;background:#fff;border:1px solid var(--grid);border-radius:8px;
  box-shadow:0 4px 14px rgba(0,0,0,.14);padding:8px 10px;font-size:12.5px;min-width:200px;z-index:5}
.tooltip .dt{font-weight:650;margin-bottom:4px}
.tooltip .row{display:flex;gap:8px;align-items:baseline}
.tooltip .k{width:10px;height:10px;border-radius:2px;flex:none;align-self:center}
.tooltip .nm{flex:1;color:var(--ink-2)}
.tooltip .v{font-variant-numeric:tabular-nums;font-weight:600}
.tooltip .tot{border-top:1px solid var(--grid);margin-top:4px;padding-top:4px}
.note{margin:10px 0 0;font-size:13px;color:var(--ink-2)}
.source{margin:6px 0 0;font-size:12px;color:var(--muted)}
details{margin-top:10px;font-size:12.5px;color:var(--ink-2)}
summary{cursor:pointer}
.table-wrap{overflow-x:auto;margin-top:6px}
table{border-collapse:collapse;font-variant-numeric:tabular-nums}
th,td{padding:3px 10px;text-align:right;border-bottom:1px solid var(--grid);white-space:nowrap}
th:first-child,td:first-child{text-align:left}
th{color:var(--ink);font-weight:600}
