:root { color-scheme: dark; font: 16px/1.55 system-ui,sans-serif; --page:#10121a; --surface:#191d2a; --line:#343d53;
  --fg:#f3f6ff; --muted:#b1bdd4; --accent:#91e9df; --gold:#ffc779; --error:#ffb6c1; }
* { box-sizing:border-box; }
body { margin:0; background:var(--page); color:var(--fg); }
a { color:var(--accent); text-underline-offset:.22em; }
button,input,select,textarea { font:inherit; }
:focus-visible { outline:2px solid var(--gold); outline-offset:4px; }
.wrap { width:min(100% - 2rem,70rem); margin-inline:auto; }
.header { border-bottom:1px solid var(--line); background:#121522; }
.navigation,.footer { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:1.1rem; padding-block:1rem; }
.brand { font-size:1.35rem; font-weight:850; letter-spacing:.06em; text-decoration:none; color:var(--fg); }
.brand span { color:var(--accent); }
nav { display:flex; gap:.9rem 1.25rem; flex-wrap:wrap; }
nav a { text-decoration:none; color:var(--muted); }
nav a[aria-current=page],nav a:hover { color:var(--accent); }
.skip { position:absolute; left:-100rem; }
.skip:focus { left:1rem; top:1rem; z-index:1; background:var(--page); }
main { min-height:72vh; padding-block:clamp(2rem,6vw,5rem); }
.footer { border-top:1px solid var(--line); color:var(--muted); }
.inspection { max-width:none; padding:.65rem 0; margin-block:0; color:var(--gold); }
h1,h2,h3,p { margin:0 0 1rem; }
h1 { max-width:20ch; font-size:clamp(2.2rem,6vw,4.3rem); line-height:1.04; letter-spacing:-.045em; }
h2 { font-size:1.45rem; letter-spacing:-.018em; }
h3 { font-size:1.04rem; }
p { max-width:70ch; color:var(--muted); }
.hero { padding:clamp(1.4rem,5vw,4rem); margin-bottom:2rem; border:1px solid var(--line); border-radius:1.2rem;
  background:radial-gradient(ellipse at 90% 0%,#283b60,transparent 65%),var(--surface); }
.grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,18rem),1fr)); gap:1rem; }
.panel { min-width:0; padding:1.15rem; border:1px solid var(--line); border-radius:.85rem; background:var(--surface); margin-bottom:1rem; }
.actions { display:flex; flex-wrap:wrap; align-items:center; gap:.6rem; }
button,.button { display:inline-block; padding:.52rem .85rem; border-radius:.45rem; border:1px solid transparent; background:var(--accent);
  color:#10252a; font-weight:700; cursor:pointer; text-decoration:none; }
.secondary { background:transparent; color:var(--fg); border:1px solid var(--line); }
button:disabled { opacity:.57; cursor:default; }
button[aria-pressed=true] { border-color:var(--accent); color:var(--accent); }
[hidden] { display:none !important; }
form,label { display:grid; gap:.45rem; }
form { max-width:46rem; margin:.8rem 0; gap:.75rem; }
form button { justify-self:start; }
select,input,textarea { width:100%; padding:.48rem .64rem; background:var(--page); color:var(--fg); border:1px solid #52637e; border-radius:.36rem; }
input[type=checkbox] { width:auto; justify-self:start; }
textarea { min-height:5rem; }
.status { min-height:1.55rem; color:var(--accent); overflow-wrap:anywhere; }
.status.error { color:var(--error); }
.muted { color:var(--muted); }
.scroll { overflow:auto; max-width:100%; }
table { width:100%; border-collapse:collapse; margin:.6rem 0; }
td,th { border-bottom:1px solid var(--line); padding:.58rem; text-align:left; vertical-align:top; overflow-wrap:anywhere; }
td button { margin:.15rem; white-space:nowrap; }
th { color:var(--muted); }
.profile { height:3rem; width:3rem; object-fit:cover; border-radius:50%; margin-bottom:.5rem; }
details { margin:.75rem 0; }
summary { cursor:pointer; }
@media (max-width:35rem) { .navigation { align-items:flex-start; flex-direction:column; } td,th { min-width:6rem; } }
