:root { color-scheme: light; font: 16px/1.5 Arial, Helvetica, sans-serif; color: #202d28; background: #f6f7f2; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: max(1.5rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(1.5rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left)); background: radial-gradient(ellipse at 50% 0, #e8efdf 0, #f6f7f2 65%); }
main { background: #fdfefb; border: 1px solid #e2e7e0; border-top: 4px solid #214c3d; border-radius: 18px; padding: clamp(1.5rem, 6vw, 2.75rem); width: min(100%, 29rem); box-shadow: 0 20px 70px #214c3d0c; }
.brand { text-align: center; padding-bottom: 1.8rem; border-bottom: 1px solid #e2e7e0; }
.brand img { display: block; margin: 0 auto 1.35rem; width: 88px; height: 88px; }
h1 { font-size: clamp(1.5rem, 6.5vw, 1.9rem); font-weight: 600; line-height: 1.18; letter-spacing: -.06rem; margin: 0; }
.sign-in { padding-top: 1.65rem; }
h2 { font-size: 1.05rem; letter-spacing: -.02rem; margin: 0 0 .45rem; font-weight: 600; }
p { margin: 0 0 1.25rem; color: #63715e; font-size: .875rem; line-height: 1.65; }
form, label { display: grid; gap: .45rem; }
form { gap: 1.15rem; margin-top: 1.35rem; }
label { font-size: .8rem; font-weight: 600; }
.remember { display: flex; align-items: center; gap: .6rem; font-weight: 400; }
input:not([type=checkbox]), button { font: inherit; font-size: 1rem; box-sizing: border-box; width: 100%; min-height: 3rem; border-radius: .5rem; padding: .7rem .85rem; }
input:not([type=checkbox]) { border: 1px solid #bcc9b5; color: #202d28; background: #fff; }
input::placeholder { color: #84917d; }
input[readonly] { background: #f2f5ed; }
input[type=checkbox] { width: 18px; height: 18px; accent-color: #214c3d; }
button { color: #fff; background: #214c3d; border: 1px solid #214c3d; font-weight: 600; cursor: pointer; }
button:hover { background: #30614e; }
button:active { background: #193d30; }
a { color: #214c3d; font-size: .875rem; text-underline-offset: 3px; }
input:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid #91ae76; outline-offset: 3px; }
footer { border-top: 1px solid #e2e7e0; margin-top: 1.75rem; padding-top: 1.15rem; color: #6a7962; font-size: .7rem; text-align: center; }
.session-actions { display:flex; align-items:center; justify-content:space-between; gap:1rem; }
.session-actions form { margin:0; }
.session-actions button { min-height:44px; }
.passkey-action { margin-top:12px; }
.passkey-action button { background:#fff; color:#214c3d; }
.passkey-action button:hover { background:#f2f5ed; }
.passkey-action p:empty { display:none; }
.passkey-action p { margin:8px 0 0; }
