:root {
  color-scheme: dark;
  --bg: #07111e;
  --panel: #0e1d2e;
  --panel-2: #13263b;
  --line: #294866;
  --text: #edf7ff;
  --muted: #a9c2d6;
  --accent: #73d7ff;
  --warm: #ffcc66;
  --good: #69d49d;
  --warn: #ff9a76;
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; color: var(--text); background: radial-gradient(circle at 80% 0, #153858 0, var(--bg) 36rem); line-height: 1.55; }
a { color: var(--accent); text-underline-offset: .18em; }
a:hover { color: #bdeeff; }
.shell { display: grid; grid-template-columns: 16rem minmax(0, 1fr); min-height: 100vh; }
.nav-toggle { position: fixed; opacity: 0; pointer-events: none; }
.sidebar { position: sticky; top: 0; height: 100vh; padding: 1.2rem 1rem; border-right: 1px solid var(--line); background: rgba(7, 17, 30, .94); backdrop-filter: blur(12px); }
.brand { display: flex; gap: .8rem; align-items: center; margin-bottom: 1.2rem; color: var(--text); text-decoration: none; }
.brand img { width: 3rem; height: 3rem; }
.brand strong { display: block; letter-spacing: .03em; }
.brand span { color: var(--muted); font-size: .8rem; }
.menu-button { display: block; margin: 0 0 1rem; padding: .45rem .7rem; width: max-content; border: 1px solid var(--line); border-radius: .55rem; color: var(--text); cursor: pointer; }
nav { display: grid; gap: .28rem; }
nav a { padding: .55rem .7rem; border-radius: .55rem; color: var(--muted); text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { color: var(--text); background: var(--panel-2); }
.content { min-width: 0; padding: 2.2rem clamp(1rem, 4vw, 4rem) 3rem; }
.page { width: min(74rem, 100%); }
.eyebrow { color: var(--warm); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; }
h1 { max-width: 18ch; margin: .35rem 0 1rem; font-size: clamp(2.2rem, 6vw, 5.4rem); line-height: .98; letter-spacing: -.045em; }
h2 { margin-top: 2.2rem; font-size: clamp(1.35rem, 3vw, 2rem); }
h3 { margin-bottom: .25rem; }
p, li { max-width: 76ch; }
.lead { color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.3rem); }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.4rem 0 2rem; }
.button { display: inline-block; padding: .7rem 1rem; border: 1px solid var(--accent); border-radius: .65rem; color: var(--text); text-decoration: none; background: #12304a; }
.button.secondary { border-color: var(--line); background: transparent; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(18rem, 100%), 1fr)); gap: 1rem; margin: 1rem 0; }
.card { padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: .8rem; background: linear-gradient(145deg, rgba(19,38,59,.9), rgba(9,25,42,.9)); }
.metric { font-size: 1.9rem; font-weight: 750; color: var(--warm); }
.status { display: inline-flex; gap: .45rem; align-items: center; padding: .25rem .55rem; border-radius: 99px; background: rgba(105,212,157,.12); color: var(--good); font-weight: 650; }
.status::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: currentColor; }
.notice { padding: .8rem 1rem; border-left: 4px solid var(--warn); background: rgba(255,154,118,.08); }
code, pre { font-family: "Cascadia Code", Consolas, monospace; }
code { color: #c6efff; }
pre { max-width: 100%; padding: 1rem; border: 1px solid var(--line); border-radius: .7rem; background: #050d17; white-space: pre-wrap; overflow-wrap: anywhere; }
dl { display: grid; grid-template-columns: minmax(10rem, 15rem) 1fr; gap: .65rem 1rem; }
dt { font-weight: 700; color: var(--accent); }
dd { margin: 0; }
footer { margin-top: 3rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
#nav-toggle:checked ~ .shell { grid-template-columns: 4.4rem minmax(0, 1fr); }
#nav-toggle:checked ~ .shell .sidebar { padding-inline: .7rem; }
#nav-toggle:checked ~ .shell .brand div, #nav-toggle:checked ~ .shell nav span { display: none; }
#nav-toggle:checked ~ .shell .brand img { width: 2.7rem; }
#nav-toggle:checked ~ .shell nav a { text-align: center; }
@media (max-width: 760px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar { position: relative; height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  #nav-toggle:checked ~ .shell { grid-template-columns: 1fr; }
  #nav-toggle:checked ~ .shell nav { display: none; }
  #nav-toggle:checked ~ .shell .brand div { display: block; }
  .content { padding-top: 1.4rem; }
  dl { grid-template-columns: 1fr; }
  dd { margin-bottom: .5rem; }
}
