:root{color-scheme:dark;--auth-bg:#080a0d;--auth-surface:#12161b;--auth-surface-strong:#171c22;--auth-line:#2c323b;--auth-gold:#d2a63d;--auth-gold-bright:#edc767;--auth-text:#f5f6f8;--auth-soft:#c0c6cf;--auth-muted:#8e98a6;--auth-danger:#ff7885;--auth-danger-bg:#2d151a}
html{min-height:100%;max-width:100%;overflow-x:hidden;background:var(--auth-bg)}body.auth-body{min-height:100dvh;max-width:100%;overflow-x:hidden;background:radial-gradient(circle at 15% 14%,rgba(210,166,61,.12),transparent 30%),radial-gradient(circle at 86% 88%,rgba(210,166,61,.06),transparent 28%),var(--auth-bg);color:var(--auth-text)}
.auth-shell{display:grid;place-items:center;min-height:100dvh;padding:max(24px,env(safe-area-inset-top)) max(24px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(24px,env(safe-area-inset-left))}.auth-frame{display:grid;grid-template-columns:minmax(0,.92fr) minmax(360px,420px);width:min(100%,960px);min-width:0;border:1px solid var(--auth-line);border-radius:22px;background:rgba(15,18,23,.94);box-shadow:0 30px 90px rgba(0,0,0,.42);overflow:hidden}
.auth-brand{position:relative;display:flex;min-width:0;min-height:530px;flex-direction:column;justify-content:space-between;padding:42px;background:linear-gradient(145deg,rgba(210,166,61,.11),transparent 48%),#0c0f13;overflow:hidden}.auth-brand:before{content:"";position:absolute;inset:0;opacity:.12;pointer-events:none;background:linear-gradient(rgba(237,199,103,.12) 1px,transparent 1px),linear-gradient(90deg,rgba(237,199,103,.12) 1px,transparent 1px);background-size:40px 40px}.auth-brand:after{content:"";position:absolute;right:-80px;bottom:65px;width:360px;height:160px;opacity:.26;pointer-events:none;background:linear-gradient(155deg,transparent 0 35%,var(--auth-gold) 36% 36.8%,transparent 37% 55%,#38b77b 56% 56.6%,transparent 57%)}.auth-brand>*{position:relative;z-index:1}
.auth-brand-lockup{display:flex;align-items:center;gap:12px}.auth-logo{width:48px;height:48px;object-fit:contain}.auth-brand-lockup strong,.auth-brand-lockup span{display:block}.auth-brand-lockup strong{font-size:1rem;letter-spacing:-.02em}.auth-brand-lockup span{color:var(--auth-muted);font-size:.68rem;letter-spacing:.08em;text-transform:uppercase}.auth-brand-copy{max-width:440px}.auth-eyebrow{margin:0 0 10px;color:var(--auth-gold-bright);font-size:.7rem;font-weight:850;letter-spacing:.14em;text-transform:uppercase}.auth-brand h1{margin:0 0 18px;font-size:clamp(2.15rem,4vw,3.45rem);line-height:1.05;letter-spacing:-.045em}.auth-brand h1 em{color:var(--auth-gold-bright);font-style:normal}.auth-brand-copy>p:last-child{max-width:430px;margin:0;color:var(--auth-soft);font-size:.94rem}.auth-assurance{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}.auth-assurance li{padding:6px 10px;border:1px solid rgba(210,166,61,.28);border-radius:999px;background:rgba(210,166,61,.06);color:var(--auth-soft);font-size:.68rem;font-weight:750}
.auth-card{display:flex;min-width:0;flex-direction:column;justify-content:center;padding:42px;background:linear-gradient(160deg,var(--auth-surface-strong),var(--auth-surface))}.auth-card-heading h2{margin:0 0 8px;font-size:1.75rem;letter-spacing:-.035em}.auth-card-heading>p:last-child{margin:0;color:var(--auth-muted);font-size:.88rem}.auth-feedback-slot{min-height:62px;padding-top:14px}.auth-alert{padding:10px 12px;border:1px solid #6b2c35;border-radius:9px;background:var(--auth-danger-bg);color:var(--auth-danger);font-size:.8rem}.login-form label{display:block;margin:13px 0 6px;color:#dfe3e8;font-size:.78rem;font-weight:780}.login-form input{width:100%;min-height:48px;padding:10px 13px;border:1px solid #3a414c;border-radius:9px;background:#0b0e12;color:var(--auth-text);font-size:.92rem;transition:border-color .16s,box-shadow .16s}.login-form input:hover{border-color:#4a5360}.login-form input:focus{border-color:var(--auth-gold);box-shadow:0 0 0 3px rgba(210,166,61,.16);outline:none}.login-form input:user-invalid{border-color:#8d3944}.password-field{position:relative}.password-field input{padding-right:52px}.password-toggle{position:absolute;top:50%;right:5px;display:grid;place-items:center;width:40px;height:40px;padding:0;border:0;border-radius:7px;background:transparent;color:var(--auth-muted);transform:translateY(-50%);cursor:pointer}.password-toggle:hover{background:#1d232b;color:var(--auth-gold-bright)}.password-toggle:focus-visible{outline:2px solid var(--auth-gold-bright);outline-offset:1px}.password-toggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.password-toggle svg[hidden]{display:none}.auth-form-help{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:14px 0 18px;color:var(--auth-muted);font-size:.72rem}.auth-form-help a,.auth-legal a{color:var(--auth-gold-bright);text-decoration:none}.auth-form-help a:hover,.auth-legal a:hover{text-decoration:underline}.auth-submit{display:flex;align-items:center;justify-content:center;width:100%;min-height:48px;padding:0 18px;border:1px solid var(--auth-gold);border-radius:9px;background:linear-gradient(180deg,#ddb34b,#b9861e);color:#080a0d;font:inherit;font-size:.88rem;font-weight:850;cursor:pointer;transition:filter .16s,transform .16s}.auth-submit:hover{filter:brightness(1.08);transform:translateY(-1px)}.auth-submit:focus-visible{outline:3px solid rgba(237,199,103,.4);outline-offset:3px}.auth-submit:disabled{opacity:.7;cursor:wait;transform:none}.auth-security-note{display:flex;align-items:flex-start;gap:8px;margin:18px 0 0;color:var(--auth-muted);font-size:.7rem}.auth-security-note span{color:var(--auth-gold)}.auth-legal{display:flex;flex-wrap:wrap;gap:14px;margin-top:20px;padding-top:16px;border-top:1px solid var(--auth-line);font-size:.68rem}.pwa-standalone .auth-legal{display:none}@media(display-mode:standalone){.auth-legal{display:none}}
@media(max-width:820px){.auth-shell{place-items:start center;padding-block:max(20px,env(safe-area-inset-top)) max(20px,env(safe-area-inset-bottom))}.auth-frame{grid-template-columns:1fr;width:min(100%,540px)}.auth-brand{min-height:auto;padding:26px 30px 24px}.auth-brand-copy{margin-top:24px}.auth-brand h1{font-size:2rem}.auth-brand-copy>p:last-child{font-size:.84rem}.auth-assurance{margin-top:22px}.auth-brand:after{right:-140px;bottom:5px}.auth-card{padding:30px}}
@media(max-width:560px){.auth-shell{display:block;padding:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))}.auth-frame{border-radius:15px}.auth-brand{padding:20px}.auth-logo{width:42px;height:42px}.auth-brand-copy{margin-top:18px}.auth-brand h1{margin-bottom:10px;font-size:1.65rem}.auth-brand-copy>p:last-child{display:none}.auth-assurance{display:none}.auth-card{padding:22px 20px}.auth-card-heading h2{font-size:1.5rem}.auth-feedback-slot{min-height:58px;padding-top:12px}.auth-form-help{align-items:flex-start;flex-direction:column;gap:5px;margin:12px 0 16px}.auth-legal{margin-top:16px}.login-form input,.auth-submit{min-height:48px}}
@media(max-width:360px){.auth-shell{padding-inline:max(8px,env(safe-area-inset-left)) max(8px,env(safe-area-inset-right))}.auth-brand{padding:16px}.auth-brand-copy{margin-top:14px}.auth-brand h1{font-size:1.48rem}.auth-card{padding:19px 16px}.auth-card-heading>p:last-child{font-size:.8rem}.auth-feedback-slot{min-height:54px}.auth-security-note{margin-top:14px}.auth-legal{gap:10px}}
@media(max-height:700px) and (min-width:821px){.auth-shell{padding-block:16px}.auth-brand{min-height:500px;padding:34px}.auth-card{padding:34px}}
@media(max-width:560px) and (max-height:700px){.auth-brand{padding:14px 16px}.auth-brand-copy{display:none}.auth-card{padding:16px}.auth-feedback-slot{min-height:50px;padding-top:8px}.auth-security-note{margin-top:12px}.auth-legal{margin-top:12px;padding-top:10px}}
@media(prefers-reduced-motion:reduce){.auth-submit{transition:none}.auth-submit:hover{transform:none}}
