:root {
  color-scheme: light;
  --canvas: #f4f6fa;
  --paper: #fff;
  --ink: #182335;
  --muted: #526178;
  --line: #dce3ed;
  --blue: #2055bd;
  --light-blue: #eaf1ff;
  --mono: ui-monospace, SFMono-Regular, Consolas, monospace;
  font: 15px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--canvas);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
h1, h2, h3, p, dl, dd, pre { margin: 0; }
.shell { width: min(100% - 64px, 1000px); margin-inline: auto; }
.topbar { background: var(--paper); border-bottom: 1px solid var(--line); }
.topbar-inner, .brand { display: flex; align-items: center; gap: 12px; }
.topbar-inner { min-height: 66px; justify-content: space-between; }
.brand { font-weight: 750; }
.brand-mark, .card-icon, .empty-mark {
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 9px;
  color: var(--blue);
  background: var(--light-blue);
  width: 38px;
  height: 38px;
}
.brand-mark { background: #182c53; color: #fff; width: 34px; height: 34px; }
svg { width: 21px; height: 21px; }
.brand-divider { margin-inline: 3px; color: #8492a7; font-weight: 400; }
.brand-detail { color: var(--muted); font-weight: 550; }
.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #edf1f6;
  color: #46556a;
  border-radius: 100px;
  padding: 5px 11px;
  font-size: .8rem;
  font-weight: 700;
}
.status[data-tone="live"] { background: #e3f5ec; color: #156749; }
.status[data-tone="error"] { background: #faeaea; color: #9b2c38; }
.status[data-tone="sample"] { background: var(--light-blue); color: #234d9f; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
main.shell { padding-block: clamp(30px, 6vw, 60px) 46px; }
.intro { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 20px; margin-bottom: 29px; }
.eyebrow { color: var(--blue); font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 7px; }
h1 { font-size: clamp(2.45rem, 6vw, 3.35rem); letter-spacing: -.055em; line-height: 1.05; }
.subtitle { margin-top: 10px; color: var(--muted); font-size: 1.05rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 39px;
  padding: 8px 13px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-size: .87rem;
  font-weight: 700;
  cursor: pointer;
}
.button svg { width: 17px; height: 17px; }
.button-primary { background: var(--blue); color: white; }
.button-primary:hover:not(:disabled) { background: #17479f; }
.button-secondary { background: var(--paper); color: var(--ink); border-color: var(--line); }
.button-secondary:hover { background: #f4f7fb; }
.button:disabled { opacity: .62; cursor: default; }
:focus-visible { outline: 2px solid #316be0; outline-offset: 3px; }
.empty, .card { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; }
.empty { text-align: center; padding: clamp(25px, 6vw, 56px) 19px; }
.empty-mark { margin: 0 auto 14px; width: 48px; height: 48px; }
.empty h2 { font-size: 1.26rem; }
.empty p { margin: 6px auto 0; max-width: 38ch; color: var(--muted); }
.empty .button { margin-top: 18px; }
.notice { color: #23467f; background: var(--light-blue); padding: 11px 14px; border-radius: 8px; margin-block: 0 20px; overflow-wrap: anywhere; }
.notice-error { color: #8e2531; background: #fbedef; }
.empty:not([hidden]) + .notice-error { margin-top: 14px; }
.section-heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; justify-content: space-between; margin-bottom: 11px; }
.section-heading h2 { font-size: 1.15rem; letter-spacing: -.02em; }
.update-label { color: var(--muted); font-size: .8rem; }
.summary-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.card { min-width: 0; }
.card-header { display: flex; align-items: center; gap: 11px; padding: 16px 17px; }
.card-header h3 { font-size: 1rem; line-height: 1.35; }
.card-header p { color: var(--muted); font-size: .82rem; margin-top: 2px; }
.fields { margin: 0 17px 10px; }
.fields > div { display: grid; grid-template-columns: minmax(95px, .8fr) minmax(0, 1.4fr); gap: 8px; border-top: 1px solid var(--line); padding-block: 9px; }
dt { color: var(--muted); font-size: .83rem; }
dd { font-size: .86rem; font-weight: 600; white-space: pre-wrap; overflow-wrap: anywhere; }
.mono, .brackets { font-family: var(--mono); }
.brackets { font-size: .94rem; font-weight: 700; }
.payload { margin-top: 14px; }
.payload-header .button { margin-left: auto; flex-shrink: 0; }
pre {
  background: #111d30;
  color: #e7eefb;
  border-radius: 9px;
  margin: 0 12px 12px;
  padding: 16px;
  overflow: auto;
  max-height: 420px;
  tab-size: 2;
  font: .83rem/1.6 var(--mono);
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 690px) {
  .shell { width: calc(100% - 36px); }
  .summary-grid { grid-template-columns: minmax(0, 1fr); }
  .topbar-inner { min-height: 56px; }
}
@media (max-width: 365px) {
  .brand-detail, .brand-divider { display: none; }
  .payload-header { flex-wrap: wrap; }
  .payload-header .button { margin-left: 0; }
}
