/* Access screens share public-design.css tokens. Authentication is unchanged. */
html[data-auth-theme-locked="true"][data-theme] { --bg-deep:var(--bg); --text-muted:var(--muted); --muted-2:var(--muted); --line-strong:var(--control-border); --primary:var(--mint); --primary-color:var(--mint); --radius:4px; --radius-lg:8px; --shadow-xl:none; }
html[data-auth-theme-locked="true"][data-theme],html[data-auth-theme-locked="true"][data-theme] body.auth-page { background:var(--bg); color:var(--text); font-family:var(--font-ui); line-height:1.6; }
.auth-page .bg-glow,.auth-page .bg-noise,.auth-page::before,.auth-page::after,.auth-page .window-dots { display:none; }
html[data-auth-theme-locked="true"][data-theme] .auth-page .nav-shell { background:var(--bg); border-bottom:1px solid var(--line); backdrop-filter:none; }
.auth-page .auth-main { background:transparent; }
.auth-page .auth-copy h1,.auth-page .waiting-copy h1 { font:500 clamp(2.75rem,4.6vw,4.6rem)/1.08 var(--font-editorial); letter-spacing:-.03em; }
html[data-auth-theme-locked="true"][data-theme] .auth-page :is(h1,h2,.auth-title) { color:var(--ink); }
html[data-auth-theme-locked="true"][data-theme] .auth-page :is(.auth-copy h1 span,.waiting-copy h1 span) { color:var(--ink); background:none; -webkit-text-fill-color:currentColor; }
.auth-page .auth-header h2,.auth-page .auth-title { font:600 1.6rem/1.3 var(--font-ui); }
html[data-auth-theme-locked="true"][data-theme] .auth-page :is(.auth-copy p,.auth-points li,.auth-subtitle,.separator,.signin-link,.auth-footer-note,.helper,.waiting-lead,.waiting-side-note,.waiting-footnote,.status-hint,.pending-label) { color:var(--muted); }
html[data-auth-theme-locked="true"][data-theme] .auth-page .auth-badge { color:var(--mint); background:none; border:0; border-radius:0; padding:0; font:500 1rem/1.5 var(--font-ui); letter-spacing:0; }
html[data-auth-theme-locked="true"][data-theme] .auth-page :is(.auth-card,.auth-modal__panel,.demo-access-request,.auth-route-list a) { color:var(--ink); background:var(--surface); border:1px solid var(--line); border-radius:8px; box-shadow:none; }
.auth-page .auth-card__body { background:transparent; }
html[data-auth-theme-locked="true"][data-theme] .auth-page :is(.auth-card__top,.auth-card__top small) { color:var(--muted); background:none; border-bottom-color:var(--line); font:400 .875rem/1.5 var(--font-ui); }
html[data-auth-theme-locked="true"][data-theme] .auth-page :is(.social-btn,.form-row input) { background:var(--surface); border:1px solid var(--control-border); color:var(--ink); border-radius:4px; min-height:48px; font-family:var(--font-ui); }
html[data-auth-theme-locked="true"][data-theme] .auth-page .form-row input:-webkit-autofill { -webkit-text-fill-color:var(--ink); box-shadow:0 0 0 1000px var(--surface) inset; caret-color:var(--ink); }
html[data-auth-theme-locked="true"][data-theme] .auth-page .form-row label { display:block; margin-bottom:8px; color:var(--text); font-size:.95rem; }
html[data-auth-theme-locked="true"][data-theme] .auth-page :is(.continue-btn,.btn-primary) { background:var(--mint); color:var(--mint-ink); border:1px solid transparent; border-radius:4px; min-height:48px; box-shadow:none; font:500 1rem/1.5 var(--font-ui); }
html[data-auth-theme-locked="true"][data-theme] .auth-page :is(.continue-btn,.btn-primary):hover { background:var(--ink); color:var(--bg); }
.auth-page .auth-route-list--compact { display:none; }
html[data-auth-theme-locked="true"][data-theme] .auth-page :is(.auth-text-button,.signin-link a,.auth-modal__eyebrow,.auth-modal__icon span,.demo-access-feedback a,.demo-access-feedback.is-success) { color:var(--mint); }
html[data-auth-theme-locked="true"][data-theme] .auth-page .password-toggle { color:var(--text); min-height:44px; }
html[data-auth-theme-locked="true"][data-theme] .auth-page .demo-disabled-note { margin:0 0 16px; padding:12px; border:1px solid var(--line); border-radius:4px; background:var(--surface-raised); color:var(--text); }
.auth-page .social-btn:disabled { opacity:.65; }
html[data-auth-theme-locked="true"][data-theme] .auth-page .auth-modal__panel { max-height:calc(100dvh - 32px); overflow-y:auto; }
html[data-auth-theme-locked="true"][data-theme] .auth-page :is(.auth-modal__info,.auth-modal__close,.auth-modal__eyebrow,.auth-modal__icon,.mail-orb,.pending-email-box,.status-badge,.confirm-link-dev) { background:var(--surface-raised); border-color:var(--line); color:var(--text); box-shadow:none; }
.auth-page .auth-modal__checklist li::before,html[data-auth-theme-locked="true"][data-theme] .waiting-page :is(.pending-email,.waiting-steps strong,.mail-icon) { color:var(--mint); }
html[data-auth-theme-locked="true"][data-theme] .auth-page .auth-route-list a:hover { background:var(--surface-raised); border-color:var(--mint); }
.auth-page .waiting-steps li { color:var(--text); }
.auth-page :is(.auth-inline-feedback,#signin-error-msg,#email-feedback).is-error { color:#b3261e !important; }
.auth-page :is(.auth-inline-feedback,#signin-error-msg,#email-feedback).is-warning { color:#7a5c00 !important; }
.auth-page :is(.auth-inline-feedback,#signin-error-msg,#email-feedback).is-info { color:#1d4ed8 !important; }
.auth-page :is(.auth-inline-feedback,#signin-error-msg,#email-feedback).is-success { color:#166534 !important; }
html[data-theme="dark"] .auth-page :is(.auth-inline-feedback,#signin-error-msg,#email-feedback).is-error { color:#ffb4ab !important; }
html[data-theme="dark"] .auth-page :is(.auth-inline-feedback,#signin-error-msg,#email-feedback).is-warning { color:#ead58b !important; }
html[data-theme="dark"] .auth-page :is(.auth-inline-feedback,#signin-error-msg,#email-feedback).is-info { color:#a9c8ff !important; }
html[data-theme="dark"] .auth-page :is(.auth-inline-feedback,#signin-error-msg,#email-feedback).is-success { color:var(--mint) !important; }
@media(forced-colors:active) { html[data-auth-theme-locked="true"][data-theme] .auth-page :is(.auth-card,.auth-modal__panel,.social-btn,.form-row input,.continue-btn,.btn-primary) { background:Canvas; color:CanvasText; border-color:ButtonText; } }

html[data-auth-theme-locked][data-theme] .waiting-page .loader-ring { border-color:var(--line); border-top-color:var(--mint); }
html[data-auth-theme-locked][data-theme] .waiting-page .waiting-steps li::before { color:var(--mint); }
html[data-auth-theme-locked][data-theme] .waiting-page :is(.pending-email-box,.status-badge) { border-radius:4px; }
html[data-auth-theme-locked][data-theme] .waiting-page :is(.pending-label,.status-hint,.waiting-footnote) { font-size:.875rem; }
html[data-auth-theme-locked][data-theme] .waiting-page .status-pending .status-dot { background:var(--mint); box-shadow:none; }
html[data-auth-theme-locked][data-theme] .waiting-page .waiting-home-btn { color:var(--ink); background:none; border:1px solid var(--control-border); border-radius:4px; font:500 1rem/1.5 var(--font-ui); white-space:normal; }
