:root {color-scheme:dark; font:16px/1.6 "Segoe UI",Arial,sans-serif; background:#07111b; color:#f0f6fa;
  --line:#334b5d; --surface:#0d1e2b; --accent:#68e8dd; --muted:#bed0da;}
* {box-sizing:border-box}
body {margin:0}
header {background:#08151f;border-bottom:1px solid var(--line)}
.mast,main {width:min(65rem,calc(100% - 2.25rem));margin:auto}
.mast {display:flex;align-items:center;justify-content:space-between;min-height:4.25rem;gap:.8rem}
.brand {display:inline-flex;align-items:center;gap:.4rem;color:#edf6fa;font-size:1.15rem;font-weight:700;text-decoration:none}
.brand b {color:var(--accent)}
.brand span {border:1px solid #488c93;border-radius:35% 35% 48% 48%;color:var(--accent);width:1.8rem;text-align:center;margin-right:.15rem}
main {padding:clamp(2rem,4vw,3.8rem) 0 4rem}
h1 {margin:0 0 1.5rem;font-size:clamp(2rem,4.1vw,3rem);line-height:1.15;letter-spacing:-.035em;text-wrap:balance}
h2 {margin:0 0 .65rem;font-size:1.3rem;line-height:1.3;overflow-wrap:anywhere}
p {color:var(--muted);margin:.5rem 0 1.1rem;max-width:65ch}
nav,.cards,.fields,.search {display:flex;gap:1rem;flex-wrap:wrap}
nav {margin:0 0 1.6rem;align-items:center}
.cards {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,17rem),1fr))}
section,article,.panel {padding:clamp(1.15rem,2.6vw,1.8rem);background:var(--surface);border:1px solid var(--line);border-radius:.8rem;margin:0 0 1rem}
.panel {max-width:34rem}
.cards article {display:flex;flex-direction:column;align-items:flex-start;margin:0}
.cards article>p {flex:1}
.cards article form {width:100%}
label {display:block;font-weight:600;margin:0 0 1rem}
input,select {width:100%;display:block;margin-top:.35rem;min-height:2.75rem;border:1px solid #668292;background:#091620;color:#fff;border-radius:.4rem;font:inherit;padding:.4rem .65rem}
.check {display:flex;align-items:center;gap:.6rem}
.check input {width:1.15rem;height:1.15rem;min-height:0;margin:0;accent-color:var(--accent)}
a {color:var(--accent)}
button,.button {display:inline-flex;align-items:center;justify-content:center;min-height:2.75rem;padding:.45rem .95rem;border-radius:.45rem;font:inherit;font-weight:650;cursor:pointer;text-decoration:none}
button,article>.button {color:#062628;background:var(--accent);border:1px solid transparent}
.button,.quiet {border:1px solid var(--line);color:var(--accent);background:transparent}
button:hover,.button:hover {border-color:var(--accent)}
:focus-visible {outline:3px solid #ffc974;outline-offset:3px}
.fields>label {flex:1 1 13rem}
.search {align-items:flex-end;margin-bottom:1rem}.search label {margin:0;flex:1 1 12rem}
dt {color:var(--muted);font-size:.9rem} dd {margin:0 0 .6rem;overflow-wrap:anywhere}
.notice,[role=alert] {border-inline-start:3px solid #ffcb75;padding:.55rem .9rem;background:#282722;color:#fff1cf}
.table-scroll {overflow:auto} table {width:100%;border-collapse:collapse;text-align:left} td,th {padding:.6rem;border-bottom:1px solid var(--line)} th {color:var(--muted)}
.panel button+a {margin-left:.75rem}
@media(max-width:32rem){.cards{grid-template-columns:1fr}.mast,main{width:calc(100% - 1.5rem)}.search button {width:100%}}
