:root { color-scheme: dark; --bg:#10171b; --panel:#172228; --border:#35454c; --text:#eff3f4; --muted:#b0bec2; --teal:#71decb; --alert:#ffb7a3; }
* { box-sizing:border-box; }
body { background:var(--bg); color:var(--text); font:1rem/1.55 system-ui,sans-serif; margin:0; }
[hidden] { display:none !important; }
header { border-bottom:1px solid var(--border); }
.shell { width:min(100% - 2rem, 58rem); margin-inline:auto; }
header .shell, .toolbar, .record-row, .inline { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:.75rem; }
header .shell { min-height:4.25rem; padding-block:.5rem; }
.brand { text-decoration:none; font-weight:700; color:var(--text); }
.brand span, h1 span, a { color:var(--teal); }
nav { display:flex; gap:.5rem; flex-wrap:wrap; }
.hero { padding:2.8rem 0 1.7rem; }
h1 { font-size:clamp(2rem,5.8vw,3.5rem); line-height:1.05; letter-spacing:-.04em; margin:0 0 .75rem; }
h1 span { display:block; }
h2, h3, p { margin:0; }
.hero p, .muted, small { color:var(--muted); }
.hero a { display:inline-block; margin-top:.8rem; }
.panel { background:var(--panel); border:1px solid var(--border); padding:clamp(.9rem,3vw,1.6rem); border-radius:.8rem; margin-bottom:1rem; }
.signin { max-width:31rem; }
.stack { display:grid; gap:1rem; }
.fields { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,13rem),1fr)); gap:.8rem; }
label { display:grid; gap:.28rem; }
input, select, textarea, button { font:inherit; border-radius:.38rem; }
input:not([type=checkbox]), select, textarea { width:100%; min-height:2.75rem; background:var(--bg); color:var(--text); border:1px solid #5a6b73; padding:.45rem .6rem; }
textarea { resize:vertical; }
input[type=checkbox] { inline-size:1.25rem; block-size:1.25rem; accent-color:var(--teal); }
button { cursor:pointer; color:#10171b; background:var(--teal); border:1px solid var(--teal); padding:.47rem .78rem; font-weight:650; min-height:2.75rem; }
button.secondary { color:var(--text); background:transparent; border-color:#61747d; }
button:disabled { opacity:.58; cursor:default; }
:focus-visible { outline:2px solid var(--teal); outline-offset:3px; }
.record-row { border-top:1px solid var(--border); padding-top:.8rem; }
.record-row strong, .record-row small { display:block; }
#notice { color:var(--alert); padding-bottom:1rem; }
.step { border:0; border-top:1px solid var(--border); margin:0; padding:.9rem 0 0; min-width:0; display:grid; gap:.55rem; }
.step-title { font-weight:700; display:flex; gap:.55rem; align-items:center; }
.step p { color:var(--muted); }
.step [aria-invalid="true"] { border-color:var(--alert); }
.step .warning { color:var(--alert); }
.timer { display:flex; align-items:center; gap:.75rem; font-variant-numeric:tabular-nums; }
progress { width:min(100%,20rem); accent-color:var(--teal); }
footer { padding:1.5rem 0 2.5rem; }
