/* Scoped presentation only: the original account and security controls remain in use. */
html body .auth-entry-card{box-sizing:border-box;max-width:760px!important;width:calc(100% - 40px)!important;padding:clamp(24px,4vw,44px)!important;margin:16px auto!important;border:1px solid #dce4f2;border-radius:22px;background:var(--surface,#fff);box-shadow:0 12px 36px #203e7410;color:var(--text,#172b4d)}
html body .auth-entry-card h1{text-align:center;font-size:clamp(1.65rem,3vw,2.2rem);line-height:1.4;margin:0 0 10px}
.auth-entry-card>h1+p{text-align:center;color:var(--text-muted,#5b6b83);margin:0 0 26px;line-height:1.7}
html body .auth-entry-card .social-options{margin:24px 0;gap:12px}
html body .auth-entry-card .social-provider{min-height:54px;font-size:16px;font-weight:700;border-radius:11px}
.social-line-icon{display:block;width:32px;height:32px;flex:0 0 32px;object-fit:contain}
html body .auth-entry-card .auth-social-help{font-size:.9rem;text-align:center;margin:2px 0 0;line-height:1.7}
.auth-entry-card .auth-social-help a{font-weight:500}
html body .auth-entry-card .form-stack{display:flex;flex-direction:column;gap:20px;margin:0}
html body .auth-entry-card .form-stack>label:not(.check){display:block;font-size:1rem;line-height:1.6;font-weight:650}
html body .auth-entry-card .form-stack>label:not(.check)>span{display:block;margin:0 0 8px;color:inherit;font-size:1rem;line-height:1.6}
html body .auth-entry-card .form-stack>[hidden]{display:none!important}
html body .auth-entry-card input:not([type=radio]):not([type=checkbox]):not([type=hidden]){width:100%;min-width:0;box-sizing:border-box;min-height:52px;margin:0;padding:12px 15px;border:1px solid #afbed6;border-radius:11px;color:inherit;background:var(--surface,#fff);font:inherit;font-weight:400}
html body .auth-entry-card input:focus-visible{outline:3px solid #4263ce;outline-offset:2px}
html body .auth-entry-card .register-role-picker{border:0;padding:0;margin:0;min-width:0}
html body .auth-entry-card .register-role-picker legend{font-size:1.1rem;font-weight:750;padding:0;margin:0 0 14px}
html body .auth-entry-card .register-role-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
html body .auth-entry-card .register-role-card{display:flex!important;align-items:flex-start!important;gap:12px;padding:18px!important;margin:0;min-width:0;border:1px solid #c5d1e6;border-radius:13px;background:var(--surface,#fff);cursor:pointer}
html body .auth-entry-card .register-role-card input{width:20px;height:20px;min-height:20px;flex:0 0 20px;margin:4px 0 0;accent-color:#3158ce}
html body .auth-entry-card .register-role-card>span{display:block!important;min-width:0}
html body .auth-entry-card .register-role-card strong{display:block;font-size:1rem;line-height:1.6;color:inherit}
html body .auth-entry-card .register-role-card small{display:block;font-size:.88rem;line-height:1.65;font-weight:400;color:var(--text-muted,#5b6b83);margin-top:5px}
html body .auth-entry-card .register-role-card:has(input:checked){border:2px solid #3158ce;padding:17px!important;background:var(--surface-alt,#f1f5ff)}
html body .auth-entry-card .register-role-card:focus-within{outline:3px solid #4263ce;outline-offset:3px}
html body .auth-entry-card .register-role-confirmation{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
html body .auth-entry-card .auth-field-help{font-size:.88rem;color:var(--text-muted,#5b6b83);line-height:1.7;margin:-12px 0 0}
html body .auth-entry-card .password-input-wrap{display:flex;align-items:stretch;gap:8px;min-width:0}
html body .auth-entry-card .password-input-wrap>input{flex:1;min-width:0;width:0!important}
html body .auth-entry-card .password-input-wrap [data-password-toggle]{flex:0 0 auto;min-height:52px;padding:10px 12px;border-radius:11px;font-size:.9rem}
html body .auth-entry-card .check{display:flex!important;align-items:flex-start;gap:10px;line-height:1.8;font-size:.94rem;font-weight:400!important}
html body .auth-entry-card .check input{width:20px!important;height:20px!important;min-height:20px;flex:0 0 20px;margin:5px 0 0!important;accent-color:#3158ce}
html body .auth-entry-card .check>span{font-size:.94rem;font-weight:400;color:inherit;line-height:1.8}
html body .auth-entry-card .auth-login-options{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}
.auth-entry-card .auth-login-options a{font-size:.94rem;font-weight:600;text-underline-offset:4px}
html body .auth-entry-card .form-stack>button[type=submit]{width:100%;min-height:54px;border-radius:11px;font-size:1rem;font-weight:700}
html body .auth-entry-card .auth-switch{text-align:center;margin:24px 0 0;font-size:.96rem;line-height:1.8}
.auth-entry-card .auth-switch a{font-weight:700;text-underline-offset:4px}
[data-theme=dark] .auth-entry-card{--surface:#142238;--surface-alt:#1b2c45;--text:#edf3ff;--text-muted:#becbe0;--border:#405776}
@media(max-width:600px){html body .auth-entry-card{width:calc(100% - 24px)!important;padding:24px 18px!important;margin:8px auto!important;border-radius:16px}html body .auth-entry-card .register-role-grid{grid-template-columns:1fr}html body .auth-entry-card .register-role-card{padding:14px!important}html body .auth-entry-card .register-role-card:has(input:checked){padding:13px!important}}
@media(max-width:380px){html body .auth-entry-card .social-provider{font-size:14px;padding:12px 10px}html body .auth-entry-card .password-input-wrap{flex-wrap:wrap}html body .auth-entry-card .password-input-wrap>input{flex:1 0 100%;width:100%!important}html body .auth-entry-card .password-input-wrap [data-password-toggle]{min-height:44px;width:auto!important;margin-left:auto}}
/* Keep the provider's complete 300px security widget visible on narrow phones. */
@media(max-width:380px){html body .auth-entry-card .turnstile-field{min-width:0}html body .auth-entry-card .cf-turnstile{width:300px!important;max-width:none!important;transform:scale(.78);transform-origin:left top;margin-bottom:-14px}}
