:root {
  color-scheme: dark;
  --bg: #0d1012;
  --panel: #171b1d;
  --panel-raised: #1d2224;
  --line: #2b3235;
  --text: #f2f5f3;
  --muted: #a6b0b4;
  --cyan: #59ddf1;
  --lime: #d8f784;
  --dim: #465256;
  --alert: #ffba9e;
  --radius: 20px;
  --mono: 'Cascadia Mono', 'SFMono-Regular', Consolas, monospace;
  color: var(--text);
  background: var(--bg);
  font: 15px/1.4 'Segoe UI', Arial, sans-serif;
  font-variant-numeric: tabular-nums;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
button, select { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.frame { width: min(1232px, calc(100% - 72px)); margin-inline: auto; }
.masthead { border-bottom: 1px solid var(--line); }
.masthead-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; min-height: 67px; }
.wordmark { display: flex; align-items: center; gap: 11px; justify-self: start; font-size: 21px; font-weight: 720; letter-spacing: -.055em; text-decoration: none; }
.mark { display: flex; align-items: end; justify-content: center; gap: 3px; width: 28px; height: 28px; padding-bottom: 7px; border-radius: 8px; background: var(--lime); }
.mark i { width: 3px; border-radius: 2px; height: 6px; background: #1b2619; transform: skew(-13deg); }
.mark i:nth-child(2) { height: 10px; }
.mark i:nth-child(3) { height: 14px; }
nav { display: flex; align-items: center; gap: 5px; }
nav a { padding: 7px 12px; border-radius: 9px; font-size: 13px; color: var(--muted); text-decoration: none; white-space: nowrap; }
nav a:hover, nav a[aria-current] { color: var(--text); background: var(--panel-raised); }
.mode { justify-self: end; color: var(--cyan); border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px; font-size: 12px; white-space: nowrap; }
.heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-block: 35px 23px; }
h1, h2, p, dl, dd { margin: 0; }
h1 { font-size: clamp(31px, 4.2vw, 49px); font-weight: 680; letter-spacing: -.061em; line-height: 1.06; }
.heading p { margin-top: 8px; color: var(--muted); }
.session { display: grid; justify-items: end; row-gap: 4px; padding: 0 1px 2px 0; }
.status { display: flex; align-items: center; gap: 8px; font-size: 13px; text-align: right; }
.status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--alert); flex: none; }
.status.active::before { background: var(--lime); }
.mono { color: var(--muted); font: 11px/1.4 var(--mono); }
.metrics { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 12px; }
.metric, .panel { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.metric { padding: 15px 19px 17px; }
.metric-feature { background: #1b231c; border-color: #394639; }
.metric h2 { color: var(--muted); font-size: 13px; font-weight: 540; }
.metric-value { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 8px; margin-block: 6px 2px; }
.metric-value strong { font-size: clamp(24px, 3vw, 37px); font-weight: 620; letter-spacing: -.06em; line-height: 1.14; }
.metric-value span { color: var(--muted); font: 11px var(--mono); }
.metric-feature strong { color: var(--lime); }
small, .panel-head p, .empty, footer, .legend { color: var(--muted); font-size: 12px; }
.grid { display: grid; grid-template-columns: minmax(0, 2.12fr) minmax(288px, 1fr); gap: 14px; margin-block: 14px; }
.risk-strip { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 20px; margin-top: 12px; padding: 11px 19px; }
.risk-strip h2 { font-size: 14px; font-weight: 640; }
.risk-strip p, .risk-strip dt { color: var(--muted); font-size: 12px; }
.risk-strip dl { display: flex; flex-wrap: wrap; gap: 8px 23px; font-size: 13px; }
.risk-strip dd { font-weight: 570; }
.panel { overflow: hidden; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 17px 19px 12px; }
.panel-head h2 { margin: 0 0 3px; font-size: 19px; font-weight: 640; letter-spacing: -.035em; }
.segments { display: inline-flex; gap: 3px; padding: 3px; border: 1px solid var(--line); border-radius: 11px; background: #111517; flex-shrink: 0; }
.segments button { padding: 5px 9px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font-size: 12px; white-space: nowrap; }
.segments button:hover { color: var(--text); }
.segments button[aria-pressed="true"] { color: var(--text); background: #2a3438; }
.compact button { font-size: 11px; padding: 3px 8px; }
.chart-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 19px 4px; }
.chart-reading { min-width: 0; display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 11px; }
#edge { color: var(--cyan); font-size: clamp(23px, 3vw, 34px); font-weight: 620; letter-spacing: -.06em; white-space: nowrap; }
.chart { position: relative; height: 220px; margin-inline: 18px; }
canvas { display: block; width: 100%; height: 100%; }
#plot { cursor: crosshair; }
#chart-empty { position: absolute; inset: 43% 12% auto; text-align: center; color: var(--muted); font-size: 13px; pointer-events: none; }
.legend { display: flex; justify-content: space-between; gap: 10px; padding: 2px 19px 15px; }
.legend > span:first-child, .ring-legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { background: var(--cyan); width: 13px; height: 2px; border-radius: 2px; }
.coverage-link { color: var(--muted); font-size: 12px; text-underline-offset: 3px; white-space: nowrap; }
.coverage-link:hover { color: var(--text); }
.ring { position: relative; width: 136px; height: 136px; margin: 4px auto 9px; }
.ring-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; pointer-events: none; }
.ring-center strong { font-size: 38px; font-weight: 650; line-height: 1; letter-spacing: -.061em; }
.ring-center > span { margin-top: 5px; color: var(--muted); font-size: 12px; }
.ring-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px 11px; padding: 0 11px 12px; color: var(--muted); font-size: 11px; }
.ring-legend b { color: var(--text); font-weight: 600; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--dim); flex: none; }
.dot-quoted { background: var(--cyan); }
.dot-indexed { background: var(--lime); }
.scan-data > div { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding: 7px 19px; color: var(--muted); font-size: 12px; }
.scan-data dd { color: var(--text); font-weight: 610; white-space: nowrap; }
.stack { margin-block: 14px; scroll-margin-top: 12px; }
.route a { text-decoration-color: var(--dim); text-underline-offset: 3px; }
.route a:hover { color: var(--cyan); }
.route span, .below { color: var(--muted); }
.net { color: var(--lime); }
summary { cursor: pointer; padding: 15px 19px; }
summary span { display: inline-block; margin-left: 12px; color: var(--muted); font-size: 12px; }
.table-scroll { overflow: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 13px; white-space: nowrap; }
th, td { padding: 10px 14px; border-top: 1px solid var(--line); }
th:first-child, td:first-child { padding-left: 19px; }
th { color: var(--muted); font-size: 12px; font-weight: 550; background: #121618; }
td:first-child { font-weight: 570; }
tbody tr:hover { background: var(--panel-raised); }
select { border: 1px solid var(--line); background: #111517; color: var(--text); border-radius: 9px; padding: 6px 8px; font-size: 12px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.table-scroll:focus-visible { outline-offset: -3px; }
.empty { padding: 14px 19px; }
footer { display: flex; justify-content: space-between; gap: 10px; padding-block: 5px 23px; }
.skip-link { position: absolute; top: 7px; left: 7px; transform: translateY(-200%); z-index: 1; background: var(--panel-raised); padding: 8px 12px; border-radius: 6px; }
.skip-link:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 860px) {
  .frame { width: calc(100% - 40px); }
  .metric { padding-inline: 13px; }
  .grid { grid-template-columns: minmax(0, 1.55fr) minmax(234px, 1fr); }
}
@media (max-width: 675px) {
  .frame { width: calc(100% - 28px); }
  .masthead-inner { grid-template-columns: 1fr auto; row-gap: 4px; padding-block: 10px 7px; }
  nav { grid-column: span 2; grid-row: 2; margin: 0 -5px; }
  nav a { padding: 5px 8px; }
  .heading { align-items: start; flex-direction: column; gap: 11px; margin-block: 24px 15px; }
  .heading p { font-size: 13px; }
  .session { justify-items: start; display: flex; align-items: center; flex-wrap: wrap; gap: 5px 11px; }
  .status { text-align: left; }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .metric { min-height: 91px; padding-block: 10px 12px; }
  .metric h2, .metric small { font-size: 11px; }
  .grid { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-block: 10px; }
  .panel-head, .chart-meta { padding-inline: 13px; }
  .chart { height: 176px; margin-inline: 12px; }
  .legend { padding-inline: 13px; }
  summary span { display: block; margin: 5px 0 0 16px; }
}
