/* Sign-in: dedicated theme tokens, compact 1.503 layout, no decorative symbols. */
html body.auth-page{--lb:#f5f1f9;--lc:#fff;--lt:#21162e;--lm:#695e78;--lf:#faf8fc;--ll:#e6ddec;--ls:#f0eaf6;--la:#654196;display:flex;flex-direction:column;min-height:100vh;min-height:100svh;margin:0;overflow-x:hidden;background:var(--lb);color:var(--lt)}
html body.auth-page.theme-dark{--lb:linear-gradient(180deg,#00000C 0%,#040016 28%,#0A001D 55%,#17072E 78%,#321B53 100%);--lc:#181124;--lt:#f8f3ff;--lm:#c5b9d5;--lf:#100b1a;--ll:#413251;--ls:#100b1a;--la:#dfc7ff;background:var(--lb);color:var(--lt)}
html body.auth-page::before,html body.auth-page .auth-card::before,html body.auth-page .auth-card::after,html body.auth-page .auth-heading::before,html body.auth-page .pin-login>summary::before,html body.auth-page .pin-login>summary::after{content:none!important;display:none!important}
html body.auth-page .auth-top{width:min(1040px,calc(100% - 32px));min-height:64px;height:auto;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 0;border:0;background:transparent;backdrop-filter:none}
.auth-page .auth-brand{display:flex;align-items:center;gap:9px;color:var(--lt);text-decoration:none}.auth-page .auth-logo{width:38px;height:38px;object-fit:contain;border-radius:11px}.auth-page .auth-brand span{display:grid;gap:2px}.auth-page .auth-brand strong{font-size:14px}.auth-page .auth-brand small,.auth-page .auth-back{font-size:11px;color:var(--lm);text-decoration:none}
html body.auth-page .auth-main{flex:1;display:grid;place-items:center;min-height:0;margin:0;padding:16px 14px 22px}
html body.auth-page .auth-card{width:min(100%,440px);max-width:100%;padding:26px;background:var(--lc);border:1px solid var(--ll);border-radius:22px;color:var(--lt);box-shadow:0 18px 55px #321b5324;backdrop-filter:none;box-sizing:border-box;display:block}
.auth-page .auth-heading{padding:0;margin:0 0 18px}.auth-page .auth-heading .eyebrow{font-size:11px;color:var(--la);font-weight:700;margin-bottom:5px}.auth-page .auth-heading h1{font-size:25px;line-height:1.4;color:var(--lt);margin:0}.auth-page .auth-heading p{font-size:12px;line-height:1.75;color:var(--lm);margin:5px 0 0}
html body.auth-page .auth-role-switch{display:grid;grid-template-columns:1fr 1fr;padding:4px;gap:4px;border-radius:13px;background:var(--ls);border:1px solid var(--ll);margin:0 0 18px}.auth-page .auth-role-switch a{display:grid;place-items:center;min-height:39px;color:var(--lm);text-decoration:none;border-radius:10px;font-size:13px}.auth-page .auth-role-switch a.selected{background:#321b53;color:#fff;font-weight:700}
html body.auth-page .auth-card form{display:grid;gap:12px;margin:0}.auth-page .auth-card .field{display:grid;gap:6px;margin:0;padding:0;color:var(--lt);font-size:12px;font-weight:600}.auth-page .field-label-row{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--lt)}.auth-page .forgot-link,.auth-page .auth-signup a,.auth-page .inline-alert a{color:var(--la);text-decoration:none;font-weight:700}
.auth-page .auth-input-wrap{position:relative;display:block}.auth-page .auth-input-wrap>svg{position:absolute;inset-inline-start:13px;top:50%;transform:translateY(-50%);width:17px;height:17px;fill:none;stroke:var(--lm);stroke-width:1.7;pointer-events:none}
html body.auth-page .auth-card .field input,html body.auth-page .pin-login input{box-sizing:border-box;width:100%;min-width:0;height:48px;min-height:48px;border:1px solid var(--ll);border-radius:12px;background:var(--lf);color:var(--lt);font:inherit;outline-offset:2px}
.auth-page .auth-card .field input::placeholder{color:var(--lm);opacity:.8}.auth-page .auth-card .auth-input-wrap>input{padding:0 38px 0 12px}.auth-page .password-field>input{padding-inline-end:65px!important}
.auth-page .password-toggle{position:absolute;inset-inline-end:9px;top:50%;transform:translateY(-50%);background:none;border:0;color:var(--la);font:inherit;cursor:pointer;padding:7px}
.auth-page .inline-alert{color:#b91c39;font-size:12px;line-height:1.6;margin:0;padding:0}.auth-page.theme-dark .inline-alert{color:#ffafb9}.auth-page .inline-alert:empty{display:none}
html body.auth-page .auth-submit,html body.auth-page .pin-login .button{width:100%;min-height:48px;border-radius:12px;background:#321b53;color:white;border:1px solid #65418d;box-shadow:none;font-size:14px;font-weight:700;margin:0;cursor:pointer}
html body.auth-page .auth-submit:hover,html body.auth-page .pin-login .button:hover{background:#4e2c78}.auth-page button:disabled{opacity:.65;cursor:wait}
html body.auth-page .pin-login{display:block;margin:13px 0 0;padding:0;border:1px solid var(--ll);border-radius:14px;background:var(--ls);box-shadow:none;overflow:hidden}
html body.auth-page .pin-login>summary{display:flex;align-items:center;gap:10px;min-height:56px;padding:10px 13px;cursor:pointer;list-style:none;color:var(--lt);font-size:13px;font-weight:700}
.auth-page .pin-login>summary::-webkit-details-marker{display:none}.auth-page .pin-lock{width:22px;height:22px;color:var(--la);flex:none}.auth-page .pin-chevron{width:18px;height:18px;margin-inline-start:auto;color:var(--lm);transition:transform .2s}.auth-page .pin-login[open] .pin-chevron{transform:rotate(180deg)}.auth-page .pin-login summary small{display:block;font-size:10px;font-weight:400;color:var(--lm);margin-top:2px}
html body.auth-page .pin-login-content{padding:0 13px 13px}.auth-page .pin-login label{font-size:12px;color:var(--lt);font-weight:600}
html body.auth-page .pin-login form{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}html body.auth-page .pin-login input{direction:ltr;text-align:center;font:600 22px system-ui!important;letter-spacing:.62em!important;padding:0 0 0 .62em;box-sizing:border-box}
.auth-page .pin-login-status{display:block;margin:9px 0 0;line-height:1.7;font-size:11px;color:var(--lm)}
.auth-page .auth-signup{font-size:12px;color:var(--lm);text-align:center;margin:15px 0 0}.auth-page .auth-secure{font-size:11px;color:var(--lm);margin:12px 0 0;padding-top:10px;border-top:1px solid var(--ll);text-align:center;line-height:1.65}.auth-page .auth-footer,.auth-page .auth-footer a{font-size:11px;color:var(--lm);text-align:center;text-decoration:none}.auth-page .auth-footer{margin:0;padding:8px 15px 20px}
html body.auth-page .theme-toggle{display:grid!important;place-items:center;position:fixed;bottom:12px;left:12px;width:34px;height:34px;background:var(--lc);color:var(--lt);border:1px solid var(--ll);box-shadow:none}
.auth-page :is(input,button,a,summary):focus-visible{outline:2px solid var(--la);outline-offset:3px}
@media(max-width:520px){html body.auth-page .auth-top{min-height:56px;width:calc(100% - 28px)}html body.auth-page .auth-main{padding:8px 12px 16px}html body.auth-page .auth-card{padding:19px;border-radius:19px}.auth-page .auth-heading{margin-bottom:14px}.auth-page .auth-heading h1{font-size:22px}.auth-page .auth-role-switch{margin-bottom:14px}.auth-page .auth-footer{padding-bottom:14px}}
@media(max-height:740px) and (min-width:521px){html body.auth-page .auth-main{padding-block:4px}.auth-page .auth-footer{padding-block:5px}html body.auth-page .auth-card{padding:20px 24px}}
@media(prefers-reduced-motion:reduce){.auth-page .pin-chevron{transition:none}}
