:root { --ink:#0f1f1c; --muted:#5f6e69; --paper:#eff2ef; --line:#dde3de; --pine:#0f4c45; --pine-deep:#0a2925; --amber:#e5a823; --danger:#b3261e; --ok:#1b6b3a; }
* { box-sizing: border-box; }
body { margin:0; min-height:100vh; display:grid; place-items:center; padding:20px; background:var(--paper); color:var(--ink); font:16px/1.5 'Hanken Grotesk', system-ui, sans-serif; }
.card { width:100%; max-width:420px; background:#fff; border:1px solid var(--line); border-radius:18px; padding:28px 26px 24px; box-shadow:0 10px 30px rgba(10,41,37,.08); }
.logo { display:block; margin:0 auto 14px; height:44px; width:auto; }
.seg { display:flex; justify-content:center; gap:4px; margin-bottom:14px; }
.seg button { border:1px solid var(--line); background:#fff; border-radius:8px; padding:4px 10px; font:inherit; font-size:13px; font-weight:700; cursor:pointer; color:var(--muted); }
.seg button[aria-pressed="true"] { background:var(--pine); color:#fff; border-color:var(--pine); }
h1 { font-size:22px; margin:6px 0 4px; text-align:center; }
p.sub { color:var(--muted); text-align:center; margin:0 0 16px; font-size:15px; }
label { display:block; font-weight:600; font-size:14px; margin:12px 0 4px; }
input { width:100%; padding:11px 12px; border:1px solid var(--line); border-radius:10px; font:inherit; background:#fff; }
input:focus { outline:3px solid rgba(229,168,35,.45); border-color:var(--pine); }
.hint { font-size:13px; color:var(--muted); margin-top:4px; }
button.primary { width:100%; margin-top:18px; padding:12px; border:0; border-radius:10px; background:var(--pine); color:#fff; font:inherit; font-weight:700; cursor:pointer; }
button.primary:hover { background:var(--pine-deep); }
button.primary[disabled] { opacity:.6; cursor:wait; }
.links { display:flex; justify-content:space-between; gap:10px; flex-wrap:wrap; margin-top:16px; font-size:14px; }
a, button.link { color:var(--pine); font-weight:600; background:none; border:0; padding:0; font:inherit; font-weight:600; cursor:pointer; text-decoration:underline; }
.msg { padding:10px 12px; border-radius:10px; font-size:14px; margin-bottom:10px; }
.msg.error { background:#fdecea; color:var(--danger); }
.msg.ok { background:#e5f4ea; color:var(--ok); }
.check { display:flex; gap:10px; align-items:flex-start; font-weight:400; font-size:14px; margin:16px 0 0; }
.check input { width:auto; margin-top:4px; flex:none; }
