:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Roboto,Arial,sans-serif;color:#0f172a;background:#f3f8fc}
*{box-sizing:border-box}
[hidden]{display:none!important}
body{margin:0;min-width:320px;min-height:100vh;background:linear-gradient(145deg,#f8fbfe 0%,#edf6fc 58%,#e5f2fa 100%)}
.login-page{min-height:100vh;display:grid;place-items:center;padding:32px 20px}
.login-card{width:min(430px,100%);padding:36px 40px 30px;background:#fff;border:1px solid #d7e2ec;border-radius:14px;box-shadow:0 24px 70px -38px rgba(15,48,78,.55)}
header{text-align:center;margin-bottom:26px}
h1{margin:0;font-size:26px;line-height:1.25;letter-spacing:-.025em}
header p{margin:8px 0 0;color:#5d6b7c;font-size:14.5px}
label{display:block;margin:14px 0 6px;color:#334155;font-size:13px;font-weight:650}
input,select,textarea{display:block;width:100%;border:1px solid #b9c9d8;border-radius:7px;background:#fff;color:#0f172a;font:inherit;font-size:15px;padding:11px 12px;outline:none;transition:border-color .15s,box-shadow .15s}
textarea{min-height:82px;resize:vertical}
input:focus,select:focus,textarea:focus{border-color:#159fdf;box-shadow:0 0 0 3px rgba(30,167,232,.14)}
button{width:100%;min-height:44px;border-radius:7px;font:inherit;font-size:14.5px;font-weight:650;cursor:pointer;transition:background .15s,border-color .15s,box-shadow .15s}
button.primary{margin-top:20px;border:1px solid #1597d2;background:#1ea7e8;color:#fff}
button.primary:hover{background:#118fc9}
button.secondary{margin-top:12px;border:1px solid #1597d2;background:#fff;color:#0878b5}
button.secondary:hover{background:#f0f9fe}
button:focus-visible{outline:3px solid rgba(30,167,232,.25);outline-offset:2px}
.password-note{margin:10px 0 0;color:#687789;font-size:12px;line-height:1.45;text-align:center}
.divider{display:flex;align-items:center;gap:12px;margin:22px 0;color:#7b8794;font-size:12px;text-transform:uppercase;letter-spacing:.08em}
.divider:before,.divider:after{content:"";height:1px;background:#dfe7ee;flex:1}
.google{position:relative;display:flex;align-items:center;justify-content:center;border:1px solid #747775;background:#fff;color:#1f1f1f;font-family:"Google Sans",Roboto,Arial,sans-serif;font-size:14px;font-weight:500}
.google:hover{background:#f8faff;box-shadow:0 1px 2px rgba(60,64,67,.18)}
.google svg{position:absolute;left:13px;width:20px;height:20px}
.google.managed-provider svg{display:none!important}
.message{min-height:20px;margin:15px 0 0;text-align:center;color:#b42318;font-size:13px;line-height:1.4}
.message.success{color:#137a43}
.request{margin-top:20px;padding-top:20px;border-top:1px solid #e2e8f0}
.request h2{margin:0;font-size:18px}
.request>p{margin:6px 0 12px;color:#5d6b7c;font-size:13px;line-height:1.4}
.request .field-hint{margin:6px 0 0;color:#687789;font-size:11.5px}
.agreement{display:flex;align-items:flex-start;gap:10px;margin-top:18px;padding:12px;border:1px solid #b9c9d8;border-radius:7px;background:#f8fbfe;font-size:12.5px;font-weight:500;line-height:1.45}
.agreement input{width:18px;min-width:18px;height:18px;margin:1px 0 0;padding:0}
.signup{max-height:55vh;overflow:auto;padding-right:4px}
footer{margin-top:20px;text-align:center;color:#728094;font-size:12px;line-height:1.5}
@media(max-width:520px){.login-page{padding:0;background:#fff}.login-card{min-height:100vh;border:0;border-radius:0;box-shadow:none;padding:32px 24px}}

button:disabled{opacity:.5;cursor:wait}.setup-key,pre{overflow-wrap:anywhere;white-space:pre-wrap;font-size:12px;padding:12px;background:#f3f8fc}#challengeHelp{font-size:13px;color:#5d6b7c;line-height:1.5}#upload h2,#challengeForm h2{font-size:18px}