.auth-shell {
    min-height: 100vh;
    min-height: 100svh;
    max-width: none;
    display: grid;
    place-items: center;
    padding: 40px 20px;
    background: radial-gradient(ellipse at 50% 0, #f0ddb6 0, #fff7e6 62%);
}
.auth-card {
    width: min(100%, 450px);
    padding: 35px 38px 25px;
    background: var(--surface);
    border: 1px solid #e2cc9f;
    border-top: 4px solid var(--accent);
    border-radius: 12px;
    box-shadow: 0 18px 60px #6d411414;
}
.auth-identity { display: flex; justify-content: center; align-items: center; gap: 15px; }
.auth-identity img { display: block; width: 76px; height: 76px; border-radius: 50%; border: 2px solid var(--gold); object-fit: cover; }
.auth-identity strong { display: block; color: var(--accent); font-size: 31px; line-height: 1.3; }
.auth-identity span { display: block; color: #715337; font-size: 15px; margin-top: 5px; }
.auth-tagline { color: #966b26; text-align: center; font-size: 13px; margin-top: 17px; }
.auth-divider { display: flex; align-items: center; gap: 15px; color: var(--gold); margin: 21px 0; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-lock { display: grid; place-items: center; width: 43px; height: 43px; margin-bottom: 13px; background: #f5ead6; color: var(--accent); border-radius: 11px; }
.auth-lock svg { width: 24px; height: 24px; }
.auth-card h1 { font-size: 24px; color: var(--accent); font-weight: 600; line-height: 1.5; letter-spacing: 0; }
.auth-intro { color: var(--muted); margin-top: 10px; font-size: 14px; }
.auth-form { margin-top: 24px; }
.auth-form label { display: block; font-weight: 500; color: #65452f; margin-bottom: 7px; }
.auth-form input[type="password"] { display: block; width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid #d6c3a1; border-radius: 7px; background: #fffdf8; color: var(--ink); font-size: 16px; }
.auth-help { margin: 8px 0 19px; color: var(--muted); font-size: 12px; }
.auth-submit { width: 100%; min-height: 47px; justify-content: space-between; padding-inline: 18px; font-size: 15px; }
.auth-submit span { font-size: 21px; line-height: 1; }
.auth-alert { padding: 12px 14px; margin-top: 20px; background: #fbebe5; color: #8a2822; border: 1px solid #e4c6b9; border-radius: 7px; overflow-wrap: anywhere; }
.auth-footer { text-align: center; margin-top: 29px; padding-top: 18px; border-top: 1px solid var(--line); color: #98816a; font-size: 12px; }
.logout-form { margin: 0; }
.logout-button { padding: 7px 11px; min-height: 36px; color: var(--accent); background: #f8edda; border: 1px solid #e2ccaa; border-radius: 6px; white-space: nowrap; font-size: 12px; }
.logout-button:hover { background: #efdfc2; }
@media (max-width: 760px) {
    .topbar-right { gap: 10px; }
    .topbar-right .brand-website { display: none; }
}
@media (max-width: 480px) {
    .auth-shell { padding: 24px 16px; }
    .auth-card { padding: 28px 24px 22px; }
    .auth-card h1 { font-size: 22px; }
    .auth-identity img { width: 65px; height: 65px; }
    .auth-identity strong { font-size: 28px; }
    .topbar { padding-inline: 12px; }
    .breadcrumb { gap: 7px; }
    .topbar-right { gap: 7px; }
    .logout-button { font-size: 11px; padding-inline: 8px; }
}
