[hidden] { display: none !important; }
button, input { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible { outline: 3px solid #268c7b; outline-offset: 3px; }
.auth-body { min-height: 100vh; background: radial-gradient(ellipse at 70% 30%, #e9f1e9, transparent 65%), var(--bg); }
.auth-header { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; min-height: 92px; padding: 20px 32px; background: #fcfcfaf5; border-bottom: 1px solid var(--line); }
.auth-header .brand-copy strong { font-size: 14px; }
.auth-header-note { color: var(--muted); font-size: 12px; }
.auth-main { display: grid; place-items: center; padding: 50px 20px 70px; min-height: calc(100vh - 92px); }
.auth-card { width: min(100%, 470px); padding: 36px; border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: 0 12px 48px #19392b08; }
.auth-card h1 { font-size: 27px; letter-spacing: -.8px; line-height: 1.3; }
.auth-card .eyebrow { margin-bottom: 12px; }
.auth-lock { display: grid; place-items: center; width: 48px; height: 48px; color: var(--green); background: var(--green-soft); border-radius: 13px; margin-bottom: 25px; }
.auth-lock svg { width: 25px; height: 25px; }
.auth-description { color: var(--muted); line-height: 1.75; font-size: 13px; margin-top: 13px; }
.auth-form { display: grid; gap: 10px; margin-top: 25px; }
.auth-form label { font-size: 13px; font-weight: 600; color: var(--ink); margin-top: 8px; }
.auth-form input:not([type=hidden]) { display: block; width: 100%; min-width: 0; min-height: 46px; padding: 11px 13px; color: var(--ink); background: #fff; border: 1px solid #cbd5cc; border-radius: 8px; font-size: 16px; }
.auth-form small { color: var(--muted); font-size: 11px; line-height: 1.6; }
.password-field { position: relative; }
.password-field input { padding-right: 86px !important; }
.password-toggle { position: absolute; inset: 1px 1px 1px auto; padding: 0 12px; background: transparent; color: var(--green); border: 0; border-radius: 8px; font-size: 11px; }
.auth-submit { margin-top: 14px; justify-content: center; min-height: 46px; border: 0; font-size: 13px; }
.auth-message { background: var(--green-soft); color: var(--green-dark); border: 1px solid #d5e5d9; padding: 13px 15px; margin-top: 20px; border-radius: 9px; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.auth-error { background: #fff4f0; border-color: #f0cbbd; color: #943c25; }
.auth-footnote { color: var(--muted); font-size: 11px; line-height: 1.7; text-align: center; margin-top: 25px; }
.account-card { max-width: 560px; padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.account-tools { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.account-link { font-size: 12px; color: var(--green); }
.logout-form { display: inline-flex; margin: 0; }
.logout-button { min-height: 36px; padding: 7px 12px; color: var(--green); background: white; border: 1px solid var(--line); border-radius: 7px; font-size: 12px; }
@media (max-width: 640px) {
    .auth-header { padding: 16px 18px; min-height: 77px; }
    .auth-header-note { display: none; }
    .auth-header .brand-copy strong { font-size: 12px; }
    .auth-main { min-height: calc(100vh - 77px); padding: 26px 16px; align-items: start; }
    .auth-card { padding: 27px 22px; border-radius: 15px; }
    .auth-card h1 { font-size: 24px; }
    .auth-lock { margin-bottom: 20px; }
    .account-card { padding: 23px 20px; }
    .account-tools { gap: 10px; }
    .account-link, .logout-button { font-size: 11px; }
    .topbar .breadcrumb > span:first-child, .topbar .breadcrumb > .icon { display: none; }
}
