/* Владелец layout: staging Auth. Общие tokens, typography, controls и brand — из Lakefront ui.css. */
.auth-page{background:var(--page);min-height:100dvh}
.auth-preview .auth-forgot{justify-self:end;min-height:44px;margin-top:-12px;padding:4px 0;color:var(--brand);font-size:14px;font-weight:550}
#email-sent-title:focus{outline:none}
#email-sent-summary{overflow-wrap:anywhere}
#recovery-email{margin:0 0 18px}
/* В тёмной теме осветляем текстовый акцент; заливка основной кнопки остаётся общей. */
:root[data-theme=dark] .auth-page{--brand:#90b9e5;--brand-soft:#203349}
.auth-page .auth-header{display:flex;justify-content:center;align-items:center;min-height:112px;padding:24px 20px;border-bottom:1px solid var(--line);position:static;background:var(--page)}
.auth-header .brand{margin:0;gap:10px}.auth-header .brand-emblem{width:46px;height:46px}.auth-header .brand>span{font-size:30px;letter-spacing:-1px}.auth-header .brand small{font-size:8px;letter-spacing:1.5px;color:var(--muted)}
.auth-page .auth-preview{width:min(100%,456px);margin:0 auto;padding:44px 24px 28px}
.auth-preview .auth-eyebrow{margin:0 0 22px;text-align:center;font-size:11px;font-weight:600;letter-spacing:.12em;color:var(--muted)}
.auth-preview .auth-tabs{display:grid;grid-template-columns:1fr 1fr;width:100%;margin:0 0 30px}.auth-tabs button{font-size:14px;min-height:44px}
.auth-preview .auth-heading{margin:0 0 26px}.auth-heading h1{margin:0 0 9px;font-size:28px;line-height:1.2;letter-spacing:-.7px}.auth-heading p{margin:0;color:var(--muted);font-size:15px;line-height:1.55}.auth-heading .semantic-status{margin-bottom:18px}
.auth-preview form{display:grid;gap:18px;margin:0}.auth-preview form label{display:grid;gap:8px;margin:0;font-size:14px;font-weight:550;line-height:1.4}.auth-preview input{min-height:50px;font-size:16px;padding:12px 14px;border-radius:10px;background:var(--surface-raised);font-weight:400}
.auth-preview .auth-password{display:flex;align-items:stretch;position:relative}.auth-password input{padding-right:66px}.auth-password button{position:absolute;right:3px;top:3px;bottom:3px;min-width:58px;min-height:44px;font-size:13px;font-weight:600;color:var(--brand);border-radius:8px}
.auth-preview .auth-submit{width:100%;min-height:50px;font-size:15px;font-weight:600;border-radius:10px;margin-top:3px}
.auth-preview .auth-help{font-size:13px;font-weight:400;color:var(--muted);line-height:1.5;margin:-8px 0 0}.auth-preview .auth-centered{text-align:center;margin:0}
.auth-preview .auth-status{margin:0 0 24px;padding:14px 16px;border-radius:10px;font-size:14px;line-height:1.55;color:var(--ink);background:var(--brand-soft);overflow-wrap:anywhere}.auth-status[data-tone=success]{color:var(--success);background:var(--success-soft)}.auth-status[data-error=true]{color:var(--danger);background:var(--danger-soft)}
.auth-preview .auth-assistance{margin:26px 0 0;border-top:1px solid var(--line)}.auth-assistance summary{display:flex;justify-content:space-between;align-items:center;min-height:54px;font-size:14px;font-weight:550;list-style:none}.auth-assistance summary::-webkit-details-marker{display:none}.auth-assistance[open] summary>span{transform:rotate(45deg)}.auth-assistance>p{margin:0 0 8px;font-size:13px;color:var(--muted)}
.auth-help-actions{display:grid}.auth-help-actions>button{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:64px;padding:12px 0;text-align:left;border-top:1px solid var(--line);font-size:14px;font-weight:550}.auth-help-actions small{display:block;font-size:12px;font-weight:400;margin-top:3px;line-height:1.45}.auth-help-actions>button>span:last-child{color:var(--muted);font-size:22px}
.auth-preview .auth-account{padding:16px 0 24px;margin-bottom:24px;border-bottom:1px solid var(--line)}.auth-label{color:var(--muted);font-size:13px}.auth-account p{margin:5px 0 0;font-size:15px;overflow-wrap:anywhere}.auth-text-button{display:block;width:100%;min-height:48px;color:var(--brand);font-size:14px;font-weight:550;margin-top:12px}
.auth-preview .auth-footer{display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center;margin-top:36px;padding:24px 0 0;border-top:1px solid var(--line);color:var(--muted);font-size:12px;line-height:1.6}.auth-footer p{margin:0}.auth-footer p>span{font-size:11px}.auth-footer .auth-preview-note{font-size:11px;max-width:33ch;color:var(--muted)}.auth-theme{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:0 12px;font-size:12px;color:var(--muted)}.auth-theme svg{width:18px;height:18px;color:var(--plum)}
@media(max-width:480px){.auth-page .auth-header{min-height:92px;padding:20px 16px}.auth-header .brand>span{font-size:27px}.auth-header .brand-emblem{width:42px;height:42px}.auth-header .brand small{font-size:7px;letter-spacing:1.35px}.auth-page .auth-preview{padding:28px 22px 24px}.auth-preview .auth-tabs{margin-bottom:26px}.auth-heading h1{font-size:26px}.auth-preview .auth-footer{margin-top:28px}}
