html:has(body.auth-modal-open), body.auth-modal-open { overflow:hidden; overscroll-behavior:none; }
.registration-shell { --reg-ink:#152d45; --reg-muted:#687c91; --reg-line:#e3eaf1; --reg-surface:#fff; width:min(1040px,100%); height:min(850px,92dvh); display:grid; grid-template-columns:300px minmax(0,1fr); overflow:hidden; border:1px solid rgba(255,255,255,.3); border-radius:28px; background:var(--reg-surface); box-shadow:0 32px 100px #00152b40; }
.registration-welcome { position:relative; display:flex; flex-direction:column; padding:34px; overflow:hidden; color:#fff; background:radial-gradient(ellipse at 0 100%,#176690 0,transparent 65%),linear-gradient(150deg,#143656,#0b223b 65%); }
.registration-welcome::after { content:''; width:340px; height:340px; position:absolute; top:100px; left:150px; border:1px solid #ffffff12; border-radius:50%; box-shadow:0 0 0 45px #ffffff03,0 0 0 90px #ffffff02; pointer-events:none; }
.registration-brand { width:150px; padding:10px 12px; border-radius:12px; background:#fff; }
.registration-brand img { width:100%; height:auto; }
.registration-welcome-copy { position:relative; z-index:1; margin-top:65px; }
.registration-eyebrow { display:block; font-size:9px; font-weight:700; letter-spacing:.16em; color:#2273ba; }
.registration-welcome .registration-eyebrow { color:#8cc8ef; }
.registration-welcome h2 { font-size:35px; font-weight:600; line-height:1.2; letter-spacing:-.045em; margin:18px 0; }
.registration-welcome h2 > span { color:#6dd5dc; }
.registration-welcome-copy > p { font-size:12px; line-height:1.85; color:#b9cedf; }
.registration-benefits { position:relative; z-index:1; display:grid; gap:24px; margin-top:48px; }
.registration-benefits > div { display:flex; align-items:center; gap:12px; }
.registration-benefits > div > span { display:grid; place-items:center; flex:0 0 34px; height:36px; border:1px solid #ffffff1f; background:#ffffff09; border-radius:11px; color:#8bd9e9; font-size:13px; }
.registration-benefits p { color:#b9cedf; font-size:10px; line-height:1.8; }
.registration-benefits strong { display:block; font-weight:500; font-size:12px; color:#f0f7ff; }
.registration-welcome-footer { display:flex; align-items:center; gap:8px; margin-top:auto; padding-top:32px; font-size:10px; color:#b9cedf; }
.registration-small-dot { width:6px; height:6px; border-radius:50%; background:#80d4d3; flex-shrink:0; }
.registration-main { min-width:0; min-height:0; display:flex; flex-direction:column; }
.registration-header { display:flex; justify-content:space-between; align-items:flex-start; flex-shrink:0; gap:16px; padding:30px 36px 24px; background:var(--reg-surface); border-bottom:1px solid var(--reg-line); }
.registration-header h3 { color:var(--reg-ink); font-size:28px; font-weight:700; letter-spacing:-.04em; line-height:1.2; margin:8px 0; }
.registration-header p { color:var(--reg-muted); font-size:12px; }
.registration-close { display:grid; place-items:center; flex:0 0 32px; height:32px; background:#f3f6f9; border:1px solid var(--reg-line); border-radius:50%; color:var(--reg-muted); transition:background .15s; }
.registration-close:hover { background:#e8f0f8; color:#1c5db6; }
.registration-close:focus-visible, .registration-shell button:focus-visible, .registration-shell summary:focus-visible { outline:2px solid #4387c4; outline-offset:3px; }
.registration-scroll { overflow-y:auto; overscroll-behavior:contain; min-height:0; padding:24px 36px 30px; scrollbar-gutter:stable; }
.registration-shell .registration-notice { margin-top:0; padding:16px 18px; border-radius:16px; background:#f3f8fd; }
.registration-shell .registration-notice-heading { gap:9px; margin-bottom:8px; }
.registration-shell .registration-notice-icon { width:26px; height:26px; border:0; background:transparent; }
.registration-shell .registration-notice h4 { font-size:11px; text-transform:none; letter-spacing:0; }
.registration-shell .registration-notice p { font-size:11px; line-height:1.8; }
.registration-privacy-details { margin-top:10px; border-top:1px solid #dce8f6; padding-top:10px; color:var(--reg-muted); }
.registration-privacy-details summary { font-size:11px; font-weight:600; cursor:pointer; }
.registration-privacy-details[open] summary { margin-bottom:10px; }
.registration-section-heading { display:flex; gap:12px; align-items:center; margin-bottom:22px; }
.registration-section-heading > span { display:grid; place-items:center; flex:0 0 34px; height:34px; border:1px solid var(--reg-line); border-radius:11px; font-size:11px; font-weight:600; color:#2779bd; background:#f4f8fc; }
.registration-section-heading h4 { font-size:16px; font-weight:600; color:var(--reg-ink); letter-spacing:-.025em; }
.registration-section-heading p { margin-top:3px; font-size:11px; color:var(--reg-muted); }
.registration-section-heading small { margin-left:auto; white-space:nowrap; font-size:9px; color:var(--reg-muted); }
.registration-account-section { border-top:1px solid var(--reg-line); padding-top:28px; }
.registration-shell .label { padding:0 0 8px; }
.registration-shell .label-text { font-size:11px; font-weight:600; text-transform:none; letter-spacing:0; color:var(--reg-ink); }
.registration-shell .input, .registration-shell .select { height:48px; min-height:48px; border-width:1px; border-radius:11px; font-size:12px; font-weight:400; background:#fff; color:var(--reg-ink); box-shadow:0 2px 3px #122c4502; transition:border-color .15s,box-shadow .15s; }
.registration-shell .select { padding-left:14px; padding-right:32px; }
.registration-shell .input:focus, .registration-shell .select:focus { outline:0; border-color:#5d99d0; box-shadow:0 0 0 3px #4387c416; }
.registration-shell .input::placeholder { color:#97a6b6; font-weight:400; }
.registration-shell .form-control > p { color:var(--reg-muted); font-size:10px; line-height:1.75; margin-top:7px; }
.registration-shell .form-control > span.text-red-500 { font-size:10px; text-transform:none; font-weight:500; }
.registration-shell .registration-agreements { border-radius:16px; padding:20px; background:#f8fafc; }
.registration-shell .registration-agreements > h4 { letter-spacing:0; text-transform:none; font-size:14px; font-weight:600; color:var(--reg-ink); }
.registration-shell .registration-agreements > label[for] { font-size:11px; letter-spacing:0; text-transform:none; }
.registration-shell .registration-agreements > p, .registration-shell .consent-choice { font-size:11px; line-height:1.85; }
.registration-actions { padding-top:4px; }
.registration-submit { display:flex; align-items:center; justify-content:center; gap:14px; width:100%; height:50px; border-radius:12px; background:#1c5db6; color:#fff; font-size:13px; font-weight:600; box-shadow:0 6px 18px #1c5db626; transition:background .15s,transform .15s; }
.registration-submit:hover:enabled { background:#174c93; transform:translateY(-1px); }
.registration-submit:disabled { background:#dce5ee; color:#6d8094; box-shadow:none; cursor:not-allowed; }
.registration-login-prompt { margin-top:20px; text-align:center; font-size:11px; color:var(--reg-muted); }
.registration-login-prompt button { font-weight:600; }
.theme-dark .registration-shell { --reg-ink:#e8f1fb; --reg-muted:#a1b2c6; --reg-line:#293b50; --reg-surface:#101c2b; border-color:#304258; }
.theme-dark .registration-shell .registration-header, .theme-dark .registration-shell .registration-scroll { background:var(--reg-surface); }
.theme-dark .registration-close, .theme-dark .registration-section-heading > span { background:#172a40; color:#a8c8ef; }
.theme-dark .registration-header .registration-eyebrow { color:#8bb8ed; }
.theme-dark .registration-shell .registration-notice { background:#14273e; border-color:#294563; }
.theme-dark .registration-shell .registration-privacy-details { border-color:#294563; }
.theme-dark .registration-shell .input, .theme-dark .registration-shell .select { background:#142236 !important; border-color:#31455d; color:#e8f1fb !important; color-scheme:dark; }
.theme-dark .registration-shell .input:focus, .theme-dark .registration-shell .select:focus { border-color:#6a9fd6; }
.theme-dark .registration-shell .registration-agreements { background:#0d1928; }
.theme-dark .registration-submit:disabled { background:#24374c; color:#9aadc3; }
@media (max-width:900px) {
    .registration-shell { grid-template-columns:240px minmax(0,1fr); }
    .registration-welcome { padding:28px 24px; }
    .registration-welcome h2 { font-size:30px; }
    .registration-header { padding:26px 24px 20px; }
    .registration-scroll { padding:22px 24px 26px; }
}
@media (max-width:700px) {
    .registration-overlay { display:block; padding:0; overflow-y:auto; overflow-x:hidden; overscroll-behavior-y:contain; -webkit-overflow-scrolling:touch; }
    .registration-shell { display:flex; flex-direction:column; height:calc(100dvh - 20px); max-height:900px; border-radius:22px; }
    .registration-welcome { display:none; }
    .registration-main { flex:1; }
    .registration-overlay > .registration-shell { display:block; width:100%; height:auto; min-height:100%; max-height:none; overflow:visible; border:0; border-radius:0; box-shadow:none; transform:none !important; transition:none !important; }
    .registration-shell:not(.login-shell) .registration-main { display:block; }
    .registration-shell:not(.login-shell) .registration-header { position:sticky; top:0; z-index:2; }
    .registration-shell:not(.login-shell) .registration-scroll { overflow:visible; scrollbar-gutter:auto; padding-bottom:max(32px,env(safe-area-inset-bottom)); }
    .registration-header { padding:24px 20px 20px; }
    .registration-header h3 { font-size:25px; }
    .registration-scroll { padding:20px 18px 26px; }
    .registration-shell .registration-notice { padding:14px; }
    .registration-shell .registration-agreements { padding:14px; }
    .registration-shell .input, .registration-shell .select { font-size:16px; }
    .registration-section-heading small { display:none; }
    .registration-shell .g-recaptcha { overflow-x:auto; max-width:100%; }
}
@media (prefers-reduced-motion:reduce) {
    .registration-shell, .registration-shell *, .registration-overlay > div { transition:none !important; }
}
.registration-captcha { min-width:0; padding-top:4px; }
.registration-captcha .g-recaptcha { max-width:100%; overflow-x:auto; }
.login-shell { width:min(850px,100%); height:auto; max-height:92dvh; grid-template-columns:300px minmax(0,1fr); }
.login-main { min-width:0; overflow-y:auto; overscroll-behavior:contain; padding:36px; scrollbar-gutter:stable; }
.login-header { padding:0 0 30px; border:0; }
.login-header h3 { font-size:30px; }
.login-welcome .registration-welcome-copy { margin-top:60px; }
.login-welcome h2 { font-size:32px; }
.login-welcome-note { display:flex; align-items:center; gap:12px; margin-top:38px; padding-top:24px; border-top:1px solid #ffffff20; }
.login-welcome-note > span { color:#8bd9e9; font-size:22px; }
.login-welcome-note strong { display:block; color:#eff7ff; font-size:11px; font-weight:500; }
.login-welcome-note p { margin-top:5px; font-size:10px; line-height:1.8; color:#b9cedf; }
.login-forgot { text-align:right; }
.login-forgot button, .login-register-link { color:#1c5db6; font-size:11px; font-weight:600; }
.login-forgot button:hover, .login-register-link:hover { text-decoration:underline; text-underline-offset:3px; }
.login-footer { margin-top:30px; }
.login-footer .registration-login-prompt { line-height:1.9; }
.login-register-link { display:inline-block; margin-left:4px; }
.login-main .alert { font-size:12px; line-height:1.7; }
.login-main .alert span { font-size:12px; font-weight:500; text-transform:none; letter-spacing:0; }
.theme-dark .login-forgot button, .theme-dark .login-register-link { color:#8bb8ed; }
@media (max-width:700px) {
    .login-overlay { padding:14px; }
    .login-shell { display:block; height:auto; max-height:calc(100dvh - 28px); border-radius:24px; }
    .login-main { padding:28px 22px; max-height:calc(100dvh - 28px); }
    .login-header { padding-bottom:28px; }
    .login-header h3 { font-size:28px; }
    .login-shell .registration-close { flex-basis:30px; height:30px; }
}
