:root { color-scheme: light; font: 16px/1.5 system-ui, sans-serif; color: #12223e; background: #edf3ff; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100dvh; display: grid; place-items: center; padding: 20px; }
main { width: min(100%, 440px); background: #fff; border: 1px solid #dce6f4; border-radius: 18px; padding: clamp(20px, 5vw, 38px); }
.brand { font-weight: 700; color: #245bd8; }
h1 { margin: 12px 0 18px; line-height: 1.15; }
form, label { display: grid; gap: 8px; }
form { gap: 16px; }
label { font-weight: 600; }
input, button { min-height: 44px; font: inherit; border-radius: 8px; padding: 8px 12px; }
input { width: 100%; border: 1px solid #8598b7; color: inherit; background: #fff; }
button { border: 1px solid transparent; background: #245bd8; color: #fff; cursor: pointer; }
button:disabled { opacity: .65; cursor: wait; }
.password-field { display: grid; gap: 8px; }
.password-control { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
#password-toggle { background: #edf3ff; color: #174ac2; border-color: #8598b7; }
nav { display: flex; flex-wrap: wrap; gap: 10px 16px; margin-top: 22px; font-size: 14px; }
a { color: #174ac2; }
p { overflow-wrap: anywhere; }
#status:empty { display: none; }
:focus-visible { outline: 2px solid #245bd8; outline-offset: 3px; }
