/* Anonymous administration uses the same tokens as the authenticated shell. */
body.theme-auth{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}
.theme-auth .theme-auth-languages{display:flex;justify-content:flex-end;padding:16px 24px}
.theme-auth-languages form{display:flex;gap:4px;margin:0}
.theme-auth .theme-auth-languages button{min-width:40px;min-height:36px;padding:6px 10px;border:0;border-radius:var(--radius-control);background:transparent;color:var(--theme-muted)}
.theme-auth .theme-auth-languages button[aria-current]{background:var(--theme-ink);color:var(--theme-surface)}
.theme-auth .theme-auth-languages button:hover{background:var(--theme-hover);color:var(--theme-ink)}
.theme-auth .theme-auth-workspace{width:min(420px,calc(100% - 32px));max-width:none;margin:auto;padding:24px 0;min-width:0}
.theme-auth main.theme-main{padding:48px 50px;background:var(--theme-surface);border:1px solid var(--theme-line);border-radius:var(--radius-card);width:100%;min-width:0}
.theme-auth .theme-auth-brand{padding:0;margin:0 0 28px;border:0;text-align:center;background:transparent}
.theme-auth .theme-auth-brand a{font-size:18px;gap:8px}
.theme-auth .theme-auth-heading{text-align:center;margin-bottom:32px}
.theme-auth .theme-auth-caption{font-size:var(--text-caption);font-weight:600;text-transform:uppercase;margin:0 0 6px;color:var(--theme-muted)}
.theme-auth h1{font-size:var(--text-heading);letter-spacing:0;margin:0 0 12px;font-weight:650;text-align:center}
.theme-auth .theme-auth-heading>p:last-child{margin:0;color:var(--theme-muted)}
.theme-auth .theme-auth-field{margin:0 0 20px}
.theme-auth label{font-weight:500;color:var(--theme-muted)}
.theme-auth main :is(input:not([type=checkbox]):not([type=radio]),textarea,select){border:1px solid var(--theme-line);border-radius:var(--radius-control);background:var(--theme-surface);color:var(--theme-ink);max-width:100%;width:100%;min-height:38px;margin:7px 0 0;padding:9px 12px}
.theme-auth .theme-auth-label-row{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap}
.theme-auth .theme-auth-label-row a{font-size:var(--text-caption);color:var(--theme-muted);text-decoration:underline}
.theme-auth .theme-auth-password{display:flex;align-items:stretch;margin-top:7px}
body.theme-auth main.theme-main .theme-auth-password input{margin:0;min-width:0;flex:1}
.theme-auth .theme-auth-password:has(button:not([hidden])) input{border-start-end-radius:0;border-end-end-radius:0}
.theme-auth main button.theme-password-toggle{margin:0;padding:6px 10px;max-width:112px;border-radius:0 var(--radius-control) var(--radius-control) 0;background:var(--theme-secondary);color:var(--theme-ink);font-size:var(--text-caption);flex-shrink:0}
.theme-auth .theme-auth-remember{display:flex;align-items:center;gap:8px;margin:0 0 20px}
.theme-auth .theme-auth-remember input{margin:0;accent-color:var(--ui-accent)}
.theme-auth .theme-auth-remember label{font-size:var(--text-caption)}
.theme-auth main button[type=submit],.theme-auth main .button{display:block;width:100%;min-height:42px;text-align:center;border-radius:var(--radius-control)}
.theme-auth main button[type=submit]:hover,.theme-auth main .button:hover{background:var(--ui-accent);filter:brightness(.92)}
.theme-auth main :is(input,button,a):focus-visible{outline:2px solid var(--ui-focus);outline-offset:3px}
.theme-auth .errorlist{padding-left:20px;overflow-wrap:anywhere}
.theme-auth .theme-auth-alternatives{margin-top:24px;display:grid;gap:12px}
.theme-auth .theme-auth-footer{text-align:center;color:var(--theme-muted);margin-top:28px;font-size:var(--text-caption)}
@media(max-width:480px){.theme-auth main.theme-main{padding:32px 24px}.theme-auth main input:not([type=checkbox]):not([type=radio]){font-size:16px}.theme-auth .theme-auth-languages{padding:12px 16px}.theme-auth .theme-auth-languages button{min-height:44px}.theme-auth .theme-auth-workspace{padding:20px 0}.theme-auth .theme-auth-label-row{gap:4px}}
