:root{font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;color:#192435;background:#f2f5fa;--panel:#fff;--muted:#54647a;--accent:#245caa;--line:#a9b5c5;--notice:#fff1e9;--notice-text:#85350b}
*{box-sizing:border-box}
body{margin:0;padding:clamp(1rem,7vw,4rem) 1rem}
main{margin:auto;width:100%;max-width:27rem;padding:clamp(1.3rem,6vw,2.5rem);border-radius:1rem;background:var(--panel);box-shadow:0 .5rem 2rem #273d5b12}
.brand{display:flex;align-items:center;gap:.5rem;color:var(--accent);font-weight:700}
.brand span{display:grid;place-items:center;background:var(--accent);color:#fff;width:1.7rem;height:1.7rem;border-radius:.4rem}
h1{font-size:1.9rem;letter-spacing:-.04em;margin:1.4rem 0}
form{display:grid;gap:.4rem}
label{font-size:.9rem;font-weight:600;margin-top:.5rem}
input,button{font:inherit}
input:not([type=checkbox]):not([type=hidden]){width:100%;padding:.65rem .7rem;min-height:2.75rem;border:1px solid var(--line);border-radius:.42rem;color:inherit;background:var(--panel)}
input:focus-visible,button:focus-visible,a:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.hint{font-size:.81rem;color:var(--muted);margin:.03rem 0 .25rem;line-height:1.4}
.check{display:flex;gap:.5rem;align-items:center;padding:.35rem 0 .6rem;font-weight:400}
.check input{accent-color:var(--accent);width:1.15rem;height:1.15rem}
button{border:0;border-radius:.45rem;padding:.75rem 1rem;min-height:2.8rem;background:var(--accent);color:#fff;font-weight:650;cursor:pointer}
.switch{display:inline-block;margin-top:1.3rem;color:var(--accent);font-weight:550;text-underline-offset:.2em}
.notice{background:var(--notice);color:var(--notice-text);border-radius:.45rem;padding:.75rem;font-size:.9rem}
@media(prefers-color-scheme:dark){:root{color:#e4ebf4;background:#17202e;--panel:#202c3c;--muted:#b6c4d6;--accent:#345f9e;--notice:#492e21;--notice-text:#ffd3b7}.switch,.brand{color:#a5c7ff}input:focus-visible,a:focus-visible,button:focus-visible{outline-color:#a5c7ff}}