* { box-sizing:border-box; }
body { margin:0; min-height:100svh; display:grid; place-items:center; background:#f5f7f8; color:#1d2d3b; font:14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
main { width:min(380px,calc(100vw - 40px)); padding:40px 0; }
.brand { display:flex; gap:9px; align-items:center; font-size:20px; font-weight:700; letter-spacing:-.6px; margin-bottom:36px; }
.brand > span:last-child { color:#87959f; font-weight:400; }
.brand-mark { display:grid; place-items:center; height:31px; width:31px; background:#17695e; color:white; border-radius:7px; font-size:18px; }
h1 { font-size:27px; letter-spacing:-.7px; margin:0 0 25px; font-weight:650; }
label { display:block; font-size:13px; font-weight:550; margin:0 0 7px; }
input { width:100%; height:46px; border:1px solid #d5dfe2; border-radius:6px; padding:10px 12px; background:#fff; color:#1d2d3b; font:inherit; }
input:focus { outline:3px solid #17695e22; border-color:#17695e; }
#username { margin-bottom:20px; }
.password-field { position:relative; }
.password-field input { padding-right:48px; }
#toggle-password { position:absolute; right:5px; top:5px; width:36px; height:36px; display:grid; place-items:center; border:0; background:transparent; color:#71818e; border-radius:4px; cursor:pointer; }
#toggle-password:hover, #toggle-password[aria-pressed="true"] { background:#edf4f1; color:#17695e; }
#toggle-password svg { width:20px; height:20px; }
button:focus-visible { outline:3px solid #83c9be; outline-offset:2px; }
#submit { margin-top:26px; width:100%; height:45px; border:1px solid #17695e; border-radius:6px; background:#17695e; color:white; font:inherit; font-weight:600; cursor:pointer; }
#submit:hover { background:#105247; }
#submit:disabled { cursor:wait; opacity:.7; }
#error { color:#ad3232; font-size:13px; margin:14px 0 -8px; }
