:root {
  color-scheme: light;
  --ink: #172333;
  --muted: #526173;
  --line: #d8e0e9;
  --surface: #fff;
  --page: #f1f4f8;
  --accent: #174c83;
  --warn: #8b371d;
  font-family: system-ui, -apple-system, "Hiragino Sans", "Yu Gothic", sans-serif;
  color: var(--ink);
  background: var(--page);
  line-height: 1.55;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--accent); text-underline-offset: .2em; }
button, select { font: inherit; }
button:focus-visible, a:focus-visible, select:focus-visible { outline: 3px solid #2778c1; outline-offset: 3px; }
.frame { width: min(1180px, calc(100% - 3rem)); margin-inline: auto; }
.top { background: #132b44; color: #fff; }
.top-inner, .section-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.top-inner { min-height: 67px; }
.top a { color: inherit; text-decoration: none; }
.top a:hover { text-decoration: underline; }
.wordmark { font-weight: 750; }
nav { display: flex; gap: 1.5rem; font-size: .875rem; }
main { padding-block: 2rem 4rem; }
section { margin-bottom: 2.75rem; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(1.55rem, 4vw, 2.35rem); letter-spacing: -.04em; }
h2 { font-size: 1.35rem; }
h3 { font-size: 1.05rem; }
.section-head { margin-bottom: 1rem; }
.section-head p, small, .meta { color: var(--muted); font-size: .875rem; }
small { margin-left: .35em; font-weight: 500; }
button, select { min-height: 42px; border: 1px solid #9fb0c1; border-radius: 8px; background: #fff; color: var(--ink); padding: .4rem .8rem; }
button { cursor: pointer; }
button:hover { border-color: var(--accent); }
.cards, .rollups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.card, .panel, .notice { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 1.15rem; }
.card { display: flex; flex-direction: column; gap: .65rem; }
.card header { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .3rem .6rem; align-items: baseline; }
.card h3 a { color: var(--ink); }
.platform { color: var(--accent); font-size: .875rem; font-weight: 650; }
.card dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem; margin: 0; padding-top: .6rem; border-top: 1px solid var(--line); }
dt { color: var(--muted); font-size: .875rem; }
dd { margin: .15rem 0 0; font-weight: 700; font-size: 1.16rem; overflow-wrap: anywhere; }
.delta { display: block; font-size: .875rem; font-weight: 500; }
.tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.tag { border-radius: 6px; background: #eaf2fa; color: #174268; font-size: .875rem; padding: .18rem .5rem; }
.warn { color: var(--warn); background: #fff0e7; font-weight: 650; }
.panel, .notice { margin-bottom: .85rem; }
#alerts { margin-top: 1rem; }
.scroll { overflow: auto; margin-top: .5rem; }
table { border-collapse: collapse; width: 100%; text-align: left; }
th, td { border-bottom: 1px solid var(--line); padding: .65rem .6rem; vertical-align: top; font-size: .875rem; }
th { color: var(--muted); white-space: nowrap; }
td { min-width: 4.5rem; overflow-wrap: anywhere; }
tbody tr:last-child td { border-bottom: 0; }
.error { color: var(--warn); max-width: 32rem; }
.rollups .panel { min-width: 0; }
svg { display: block; width: 100%; height: auto; max-height: 290px; margin-top: .6rem; }
svg text { fill: var(--muted); font-size: 14px; }
.gridline { stroke: var(--line); }
.trace { fill: none; stroke: var(--accent); stroke-width: 2.5px; }
.point { fill: var(--accent); }
.empty { color: var(--muted); padding-block: .65rem .2rem; }
[hidden] { display: none !important; }
@media (max-width: 1020px) { .rollups { grid-template-columns: 1fr; } }
@media (max-width: 870px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 580px) {
  .frame { width: calc(100% - 1.5rem); }
  main { padding-top: 1.15rem; }
  .top-inner { align-items: flex-start; flex-direction: column; justify-content: center; gap: .35rem; padding-block: .6rem; }
  .cards { grid-template-columns: 1fr; }
  #detail .section-head { align-items: flex-start; flex-direction: column; }
  .card, .panel { padding: .85rem; }
}
