*{box-sizing:border-box}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:linear-gradient(135deg,#ecfeff,#eff6ff);color:#172033;min-height:100vh}.auth-shell{min-height:100vh;display:grid;place-items:center;padding:24px}.auth-card{width:min(100%,580px);background:#fff;border:1px solid #dbe4f0;border-radius:22px;box-shadow:0 24px 70px rgba(15,23,42,.14);padding:32px}.auth-brand{display:flex;align-items:center;gap:12px;color:#172033;text-decoration:none;margin-bottom:28px}.auth-brand span{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:#0369a1;color:white;font-weight:800}.auth-card h1{margin:0 0 10px;font-size:clamp(1.65rem,4vw,2.2rem)}.auth-card h2{margin:0 0 8px;font-size:1.2rem}.auth-card h3{margin:0 0 6px;font-size:1.02rem}.lead{color:#526076;line-height:1.55;margin:0 0 24px}.auth-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.auth-heading .lead{margin-bottom:18px}.field{display:grid;gap:7px;margin:16px 0}.field label{font-weight:700;font-size:.94rem}.field input{width:100%;padding:13px 14px;border:1px solid #cbd5e1;border-radius:11px;font:inherit;background:#fff}.field input:focus{outline:3px solid rgba(37,99,235,.18);border-color:#2563eb}.password-row{display:flex;gap:8px}.password-row input{flex:1}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:11px;padding:13px 17px;font:inherit;font-weight:750;cursor:pointer;text-decoration:none}.button.primary{background:#1d4ed8;color:#fff;width:100%}.button.secondary{background:#eef2ff;color:#1e3a8a}.button.wide{width:100%}.button.help-button{background:#ecfeff;color:#155e75;border:1px solid #a5f3fc;white-space:nowrap;padding:10px 13px}.button:disabled{opacity:.58;cursor:wait}.links{display:flex;flex-wrap:wrap;gap:14px;margin-top:20px}.links a{color:#1d4ed8;font-weight:650}.message{padding:12px 14px;border-radius:10px;margin:14px 0;line-height:1.45}.message.success{background:#ecfdf5;color:#166534}.message.error{background:#fef2f2;color:#991b1b}.message.info{background:#eff6ff;color:#1e40af}.muted,.auth-foot,.password-help,.notice{color:#64748b;font-size:.9rem;line-height:1.5}.auth-foot{margin-top:28px;border-top:1px solid #e2e8f0;padding-top:18px}.strength{height:7px;background:#e2e8f0;border-radius:999px;overflow:hidden}.strength span{display:block;height:100%;width:0;background:#64748b;transition:width .2s}.loading{display:none}.is-loading .loading{display:inline}.is-loading .label{display:none}.auth-divider{display:flex;align-items:center;gap:12px;color:#64748b;font-size:.85rem;margin:26px 0}.auth-divider::before,.auth-divider::after{content:"";height:1px;background:#dbe4f0;flex:1}.passwordless-box{padding:18px;border:1px solid #dbeafe;border-radius:14px;background:#f8fbff}.passwordless-box p{margin:0;color:#526076;line-height:1.5}.notice{background:#f8fafc;border-left:4px solid #94a3b8;padding:11px 13px;border-radius:8px;margin-top:16px}.help-dialog{width:min(92vw,720px);max-height:88vh;border:0;border-radius:18px;padding:0;box-shadow:0 30px 90px rgba(15,23,42,.28);color:#172033}.help-dialog::backdrop{background:rgba(15,23,42,.58);backdrop-filter:blur(2px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 22px;border-bottom:1px solid #e2e8f0}.dialog-head h2{margin:0;font-size:1.35rem}.dialog-close{border:0;background:#f1f5f9;color:#334155;width:38px;height:38px;border-radius:50%;font-size:1.6rem;line-height:1;cursor:pointer}.dialog-content{padding:20px 22px;overflow:auto;max-height:62vh;display:grid;gap:18px}.dialog-content section{padding-bottom:15px;border-bottom:1px solid #eef2f7}.dialog-content section p,.mail-warning p{margin:0;color:#475569;line-height:1.6}.mail-warning{background:#fff7ed;border:1px solid #fed7aa;border-radius:12px;padding:15px;color:#9a3412}.mail-warning code{word-break:break-all;color:#7c2d12}.dialog-actions{padding:16px 22px;border-top:1px solid #e2e8f0}.dialog-actions .button{width:100%}@media(max-width:560px){.auth-card{padding:24px 20px;border-radius:16px}.links{display:grid}.auth-heading{display:grid}.button.help-button{width:100%}.password-row{align-items:stretch}.password-row .button{padding-inline:12px}.dialog-head,.dialog-content,.dialog-actions{padding-left:16px;padding-right:16px}}
.message p{margin:0}.message .renewal-action{display:flex;width:100%;margin-top:12px;background:#b45309;color:#fff;border:1px solid #92400e;box-shadow:0 8px 20px rgba(146,64,14,.18)}.message .renewal-action:hover{background:#92400e}.access-term-notice{display:flex;gap:12px;align-items:flex-start;background:#fffbeb;border:1px solid #fde68a;color:#854d0e;border-radius:12px;padding:14px;margin:0 0 20px;line-height:1.5}.access-term-notice strong{display:block;margin-bottom:3px}.access-term-notice span{font-size:1.15rem;line-height:1.2}.server-notice{margin:0 0 20px}.server-notice .message{margin:0}
