:root {
    color-scheme: dark;
    font: 16px/1.55 "Geist", system-ui, sans-serif;
    color: #e5edf0;
    background: #0c151b;
    --muted: #9fb2bc;
    --line: #2b3c46;
    --accent: #88e8be;
}
* { box-sizing: border-box; }
body { margin: 0; }
.shell { max-width: 70rem; margin-inline: auto; padding-inline: clamp(1rem, 4vw, 3rem); }
header { border-bottom: 1px solid var(--line); background: #111d25; }
header .shell, nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
header .shell { min-height: 4.25rem; }
a { color: var(--accent); }
.brand { color: #eff8f6; text-decoration: none; letter-spacing: -.04em; font-size: 1.35rem; font-weight: 800; }
.brand span { color: var(--accent); }
main { padding-block: 2.5rem 4rem; }
h1, h2 { line-height: 1.15; letter-spacing: -.035em; overflow-wrap: anywhere; }
h1 { font-size: clamp(2rem, 6vw, 3.35rem); margin: 0 0 1.25rem; }
h2 { font-size: 1.3rem; margin: 0 0 1rem; }
.card { background: #14222b; border: 1px solid var(--line); border-radius: 1rem; padding: clamp(1rem, 3vw, 1.65rem); margin-bottom: 1rem; }
.auth { max-width: 30rem; }
.auth label { display: block; margin-bottom: 1rem; }
label { color: #d6e4e9; font-weight: 650; }
input, textarea, select, button { font: inherit; }
input, select, textarea { display: block; color: inherit; background: #0e1920; border: 1px solid #415762; border-radius: .5rem; width: 100%; padding: .65rem .75rem; margin-top: .35rem; }
textarea, code { font-family: ui-monospace, monospace; overflow-wrap: anywhere; }
button { border: 1px solid transparent; border-radius: .5rem; padding: .65rem 1rem; background: var(--accent); color: #0b211a; font-weight: 750; cursor: pointer; }
button.quiet { color: inherit; background: transparent; border-color: #415762; padding: .4rem .65rem; }
:focus-visible { outline: 2px solid #a6d8ff; outline-offset: 3px; }
.inline { display: flex; gap: .8rem; align-items: end; flex-wrap: wrap; }
.inline label { flex: 1 1 15rem; }
.muted, dt { color: var(--muted); }
dd { margin: 0 0 1rem; }
.notice { border-left: 3px solid var(--accent); background: #19352e; padding: .7rem 1rem; border-radius: .3rem; }
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: .7rem; }
.metric { background: #0e1920; border: 1px solid var(--line); border-radius: .6rem; padding: .75rem; }
.metric span { display: block; color: var(--muted); font-size: .88rem; }
.metric strong { display: block; font-size: 1.7rem; font-variant-numeric: tabular-nums; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: .65rem .6rem; border-bottom: 1px solid var(--line); }
th { font-size: .85rem; color: var(--muted); }
.danger button { background: #ffc3c0; color: #461210; }
