/* Compact account card, with the original role forms and translated content. */
body.auth-card-page{--auth-surface:#0c1b2c;--auth-field:#091523;--auth-line:#ffffff20;--auth-ink:#edf5ff;--auth-muted:#99adc5}
body.auth-card-page.light{--auth-surface:#fff;--auth-field:#f6f9fe;--auth-line:#1c416a26;--auth-ink:#172d47;--auth-muted:#62758d}
.auth-card-page .account-hero,.auth-card-page .account-next,.auth-card-page .account-faq,.auth-card-page .account-trust-strip,.auth-card-page [data-account-email-choice],.auth-card-page .account-panel{display:none!important}
.auth-card-page .account-auth{display:block!important;max-width:480px!important;padding:0!important;margin:36px auto 64px!important;width:calc(100% - 32px)}
.auth-card-page .account-auth-flow{display:flex!important;flex-direction:column!important;gap:0!important;padding:28px!important;border:1px solid var(--auth-line)!important;border-radius:28px!important;background:var(--auth-surface)!important;box-shadow:0 24px 80px #0002;color:var(--auth-ink);min-width:0}
.auth-card-page #auth-card-heading{font-size:26px;line-height:1.2;letter-spacing:-.03em;margin:0 0 24px;text-align:center;color:var(--auth-ink)}
.auth-card-page .auth-card-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;background:var(--auth-field);border:1px solid var(--auth-line);border-radius:999px;margin-bottom:26px}
.auth-card-page .auth-card-tabs button{display:flex;align-items:center;justify-content:center;padding:10px 8px;min-height:42px;border:0!important;border-radius:999px;font-size:13px;font-weight:600;line-height:1.3;background:transparent!important;color:var(--auth-muted)!important;box-shadow:none!important;text-transform:none;letter-spacing:normal;min-width:0}
.auth-card-page .auth-card-tabs button[aria-selected=true]{background:var(--auth-surface)!important;color:var(--auth-ink)!important;box-shadow:0 2px 10px #0002!important}
.auth-card-page .account-auth-form{display:flex;flex-direction:column;gap:18px;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;min-width:0;box-shadow:none!important}
.auth-card-page [hidden]{display:none!important}
.auth-card-page [data-account-login]>strong,.auth-card-page [data-account-login]>p,.auth-card-page [data-account-register]>strong,.auth-card-page [data-account-register]>p:not(.account-form-status):not(.account-legal-links){display:none}
.auth-card-page .account-auth-form label{display:flex;flex-direction:column;gap:8px;margin:0!important;font-size:12px;line-height:1.5;font-weight:600;color:var(--auth-ink);min-width:0}
.auth-card-page .account-auth-form input:not([type=checkbox]),.auth-card-page .account-auth-form select{box-sizing:border-box;width:100%;min-width:0;height:52px!important;min-height:52px!important;padding:0 14px!important;line-height:normal!important;border:1px solid var(--auth-line)!important;border-radius:14px!important;background:var(--auth-field)!important;color:var(--auth-ink)!important;font:inherit;font-size:16px!important;box-shadow:none}
.auth-card-page .account-role-fields{display:flex;flex-direction:column;gap:18px}
.auth-card-page .account-auth-form .about-primary{display:flex;align-items:center;justify-content:center;min-height:52px;width:100%;padding:12px 18px!important;border:1px solid #68aaff66!important;border-radius:999px!important;background:linear-gradient(105deg,#168cff,#4055d7)!important;color:white!important;font-size:14px!important;font-weight:650;line-height:1.4;letter-spacing:normal;text-transform:none;margin:0}
.auth-card-page .account-link-button{font-size:12px;line-height:1.6;color:#53cddc;padding:0;min-height:32px;align-self:flex-end;background:none;border:0}
.auth-card-page.light .account-link-button{color:#087d95}
.auth-card-page .account-inline-status{font-size:12px;line-height:1.6;color:var(--auth-muted);margin:18px 0 0;padding:0;overflow-wrap:anywhere}
.auth-card-page .account-terms-consent{flex-direction:row!important;align-items:flex-start;gap:10px!important;font-size:11px!important;font-weight:400!important;color:var(--auth-muted)!important}
.auth-card-page input[type=checkbox]{width:16px;height:16px;flex-shrink:0;margin:3px 0;accent-color:#287cef}
.auth-card-page .account-legal-links{display:flex;flex-wrap:wrap;gap:8px 14px;font-size:11px;line-height:1.6;margin:0}
.auth-card-page .auth-password-wrap{position:relative;display:block;width:100%}
.auth-card-page .auth-password-wrap input{padding-right:52px!important}
.auth-card-page .auth-password-eye{position:absolute;right:5px;top:5px;width:42px;height:42px;border:0;border-radius:10px;background:transparent;color:var(--auth-muted);display:grid;place-items:center;padding:10px;cursor:pointer}
.auth-password-eye svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7}
.auth-card-page .account-password-overlay{position:static!important;inset:auto!important;padding:0!important;background:none!important;backdrop-filter:none!important;display:block}
.auth-card-page .account-password-card{width:100%!important;max-width:none!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important}
.auth-card-page [data-account-password-overlay-close]{display:none}
.auth-card-page :is(button,input,select,a):focus-visible{outline:3px solid #53cddc;outline-offset:3px}
.auth-card-page.auth-embedded{margin:0!important;padding:0!important;background:transparent!important;min-height:0!important}
.auth-embedded .page-shell{padding:0!important;margin:0!important;max-width:none!important}
.auth-embedded header,.auth-embedded footer,.auth-embedded .floating-ai,.auth-embedded [class*=cookie],.auth-embedded [class*=floating],.auth-embedded .account-reset-overlay{display:none!important}
.auth-embedded main{padding:0!important;margin:0!important}
.auth-card-page.auth-embedded .account-auth{width:100%;margin:0!important;max-width:none!important}
.auth-card-page.auth-embedded .account-auth-flow{border:0!important;border-radius:0!important;box-shadow:none!important;padding:16px 28px 28px!important}
@media(max-width:480px){.auth-card-page .account-auth-flow{padding:24px 20px!important;border-radius:24px!important}.auth-card-page.auth-embedded .account-auth-flow{padding:12px 20px 24px!important}.auth-card-page #auth-card-heading{font-size:24px}.auth-card-page .auth-card-tabs button{font-size:12px}}
html.auth-embedded-root,html.auth-embedded-root body{min-width:0!important;width:100%;overflow-x:hidden}
.auth-card-page [data-account-register-status]{display:none}
.auth-embedded .koos-ai-guide,.auth-embedded .koos-ai-thought,.auth-embedded body::before{display:none!important}
.auth-card-page #auth-card-heading{text-transform:none!important;font-weight:650!important}
.auth-card-page .auth-password-eye svg{width:20px!important;height:20px!important;opacity:1!important;display:block!important}
.auth-card-page .account-inline-status span{color:var(--auth-muted)!important;font-size:12px!important;font-weight:400!important}
html.auth-embedded-root{background:var(--auth-surface,#0c1b2c)!important}
body.auth-embedded::before{display:none!important}
html.auth-embedded-root{background:transparent!important}
body.auth-card-page.auth-embedded header.koos-unified-header{display:none!important}
body.auth-card-page.auth-embedded .page-shell.account-shell{width:100%!important;max-width:none!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:var(--auth-surface)!important}
body.auth-card-page.auth-embedded{background:var(--auth-surface)!important}
.auth-card-page .account-auth-form .auth-password-eye{display:grid!important;place-items:center!important;width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important;padding:10px!important;border:0!important;background:transparent!important;box-shadow:none!important;transform:none!important;line-height:1!important}
.auth-card-page .auth-password-eye svg{padding:0!important;background:none!important;border:0!important;border-radius:0!important;color:var(--auth-muted)!important}

/* Glass lives on the containing dialog, so the actual page remains visible behind the form. */
body.auth-card-page.auth-embedded,body.auth-card-page.auth-embedded .page-shell.account-shell,body.auth-card-page.auth-embedded .account-auth-flow{background:transparent!important}
body.auth-card-page.auth-embedded{--auth-field:#07152366;--auth-line:#cce8ff2b}
body.auth-card-page.auth-embedded.light{--auth-field:#ffffff66;--auth-line:#487ba52b}
.auth-card-page.auth-embedded .auth-card-tabs{background:#04102026}
.auth-card-page.auth-embedded.light .auth-card-tabs{background:#ffffff40}
.auth-card-page.auth-embedded .auth-card-tabs button[aria-selected=true]{background:#ffffff16!important;box-shadow:inset 0 1px 0 #ffffff22,0 3px 12px #0001!important}
.auth-card-page.auth-embedded.light .auth-card-tabs button[aria-selected=true]{background:#ffffffa6!important}
.auth-card-page .account-auth-flow{backdrop-filter:blur(18px) saturate(130%);-webkit-backdrop-filter:blur(18px) saturate(130%)}
.auth-card-page.auth-embedded .account-auth-flow{backdrop-filter:none;-webkit-backdrop-filter:none}
