
:root {
 --auth-bg:#090b0a;--auth-panel:#101512;--auth-field:#151d18;--auth-text:#f0f7f2;--auth-muted:#91a99b;--auth-border:#2d4236;
 --auth-accent:#5eead4;--auth-button:#5eead4;--auth-button-text:#0a3022;--auth-error-bg:#34211d;--auth-error-text:#f3c5b8;
}
.account-footer { display:grid; gap:13px; }
.beta-sidebar .sidebar-login { display:flex; align-items:center; justify-content:flex-start; gap:12px; width:100%; min-height:48px; padding:13px 15px; border:1px solid var(--auth-border); border-radius:13px; background:var(--auth-panel); color:var(--auth-text); text-decoration:none; font-size:12px; line-height:1.6; }
.sidebar-login > .ui-icon:first-child { color:var(--auth-accent);width:19px;height:19px; }
.sidebar-login > .ui-icon:last-child { width:15px;height:15px;margin-left:auto;color:var(--auth-accent); }
.beta-sidebar .sidebar-login:hover { border-color:var(--auth-accent); }
.theme-switcher { display:grid; grid-template-columns:1fr 1fr; gap:4px; padding:4px; border:1px solid var(--auth-border); border-radius:12px; background:var(--auth-panel); }
.theme-switcher button { display:flex;align-items:center;justify-content:center;gap:8px;padding:10px 8px;border:0;border-radius:8px;background:transparent;color:var(--auth-muted);font-size:10px;font-family:'Unbounded',sans-serif;cursor:pointer; }
.theme-switcher button[aria-pressed="true"] { background:var(--auth-button);color:var(--auth-button-text); }
.theme-switcher .ui-icon { width:15px;height:15px; }
body.auth-mode { background:var(--auth-bg); }
.auth-mode .beta-sidebar,.auth-mode .beta-topbar,.auth-mode .sidebar-overlay { display:none!important; }
.auth-mode .app-main { margin:0;padding:0;max-width:none; }
.auth-mode .branch-topbar { display:none; }.auth-mode .dossier-screen { max-width:none;margin:0; }
.auth-stage { min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:25px;padding:40px 22px; }
.auth-card { width:100%;max-width:560px;padding:36px 38px 32px;border:1px solid var(--auth-border);border-radius:28px;background:var(--auth-panel);box-shadow:0 25px 95px #0002;color:var(--auth-text); }
.auth-card-top { display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:28px; }
.auth-back { display:flex;align-items:center;gap:9px;text-decoration:none;color:var(--auth-muted);font-size:10px;font-weight:550; }
.auth-back .ui-icon { width:16px;height:16px; }.auth-back:hover { color:var(--auth-accent); }
.auth-theme-toggle { display:grid;place-items:center;width:32px;height:32px;border:1px solid var(--auth-border);border-radius:50%;background:transparent;color:var(--auth-muted);cursor:pointer; }
.auth-theme-toggle .ui-icon { width:16px;height:16px; }.auth-theme-toggle .lucide-moon { display:none; }
:root[data-theme="light"] .auth-theme-toggle .lucide-moon { display:block; }:root[data-theme="light"] .auth-theme-toggle .lucide-sun { display:none; }
.auth-tabs { display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;background:var(--auth-field);border:1px solid var(--auth-border);border-radius:11px;margin-bottom:27px; }
.auth-tabs button { border:0;border-radius:7px;background:transparent;color:var(--auth-muted);padding:10px 7px;font-size:10px;font-family:inherit;cursor:pointer; }
.auth-tabs button[aria-pressed="true"] { background:var(--auth-button);color:var(--auth-button-text); }
.auth-card h1 { margin:0 0 13px;font-size:clamp(27px,3vw,36px);line-height:1.35;letter-spacing:-.05em;font-weight:650;overflow-wrap:anywhere; }
.auth-card h1 span { color:var(--auth-accent); }.auth-subtitle { color:var(--auth-muted);font-size:12px;line-height:1.9;margin:0 0 27px;overflow-wrap:anywhere; }
.auth-form { display:grid;gap:10px; }.auth-label { font-size:9px;color:var(--auth-muted);margin-top:6px; }
.auth-field { display:flex;align-items:center;gap:12px;padding:0 15px;min-height:55px;border:1px solid var(--auth-border);border-radius:13px;background:var(--auth-field); }
.auth-field:focus-within { border-color:var(--auth-accent);box-shadow:0 0 0 3px #5eead40a; }.auth-field > .ui-icon { width:19px;height:19px;color:var(--auth-muted); }
.auth-field input { min-width:0;width:100%;padding:15px 0;border:0;outline:0;background:transparent;color:var(--auth-text);font-family:inherit;font-size:12px; }
.auth-field input:focus-visible { outline:none; }.auth-field input::placeholder { color:var(--auth-muted);opacity:.75; }
.auth-field input:-webkit-autofill { -webkit-box-shadow:0 0 0 1000px var(--auth-field) inset;-webkit-text-fill-color:var(--auth-text); }
.password-visibility { display:grid;place-items:center;flex-shrink:0;width:26px;height:30px;padding:0;border:0;background:transparent;color:var(--auth-muted);cursor:pointer; }
.password-visibility .ui-icon { width:18px;height:18px; }.auth-hint { font-size:9px;line-height:1.8;color:var(--auth-muted);margin:0; }
.auth-submit { display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:52px;padding:15px 20px;margin-top:16px;background:var(--auth-button);color:var(--auth-button-text);border:0;border-radius:40px;font-size:12px;font-weight:650;font-family:inherit;text-decoration:none;cursor:pointer; }
.auth-submit:hover { filter:brightness(1.06); }.auth-submit .ui-icon { width:17px;height:17px; }
.auth-switch-copy { margin:24px 0 0;font-size:10px;line-height:2;text-align:center;color:var(--auth-muted); }
.auth-switch-copy button { display:inline;background:none;border:0;color:var(--auth-accent);font:inherit;font-weight:600;cursor:pointer;padding:0 2px; }
.auth-error { margin:7px 0;padding:12px 14px;border-radius:10px;background:var(--auth-error-bg);color:var(--auth-error-text);font-size:10px;line-height:1.8; }
.auth-wordmark { color:var(--auth-muted);font-size:10px;letter-spacing:.08em;text-decoration:none; }.auth-wordmark span { color:var(--auth-accent); }
.auth-avatar { display:grid;place-items:center;width:54px;height:54px;background:var(--auth-field);border:1px solid var(--auth-border);border-radius:15px;color:var(--auth-accent);margin-bottom:20px; }.auth-avatar .ui-icon { width:25px;height:25px; }
.auth-eyebrow { color:var(--auth-muted);font-size:9px;letter-spacing:.1em;margin-bottom:12px; }
.auth-logout { display:flex;align-items:center;justify-content:center;gap:9px;margin:20px auto 0;border:0;background:none;color:var(--auth-muted);font-family:inherit;font-size:10px;cursor:pointer; }.auth-logout .ui-icon { width:15px;height:15px; }
@media(max-width:560px) { .auth-stage { padding:24px 15px;gap:20px; }.auth-card { padding:25px 22px;border-radius:23px; }.auth-card-top { margin-bottom:23px; }.auth-card h1 { font-size:28px; }.auth-subtitle { font-size:10px; }.auth-field input { font-size:12px; }.auth-switch-copy { font-size:9px; }.beta-sidebar .sidebar-login { font-size:12px; } }

.auth-forgot-link { justify-self:end;color:var(--auth-muted);font-size:9px;text-decoration:none;margin:5px 0 0; }.auth-forgot-link:hover { color:var(--auth-accent); }
.auth-switch-copy > a { color:var(--auth-accent);text-decoration:none; }
.auth-info { border:1px solid var(--auth-border);padding:15px 17px;border-radius:12px;color:var(--auth-muted);font-size:10px;line-height:1.9;background:var(--auth-field); }
