.auth-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 28px;
    background: var(--qms-bg);
    color: var(--qms-text);
}
.auth-card {
    width: min(100%, 520px);
    background: var(--qms-surface);
    border: 1px solid var(--qms-border);
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, .08);
}
.auth-logo-link { display: inline-flex; text-decoration: none; }
.auth-logo { width: 72px; height: auto; display: block; margin-bottom: 18px; }
.auth-card h1 { margin: 0 0 10px; font-size: 26px; }
.auth-card p { color: var(--qms-muted); line-height: 1.55; }
.auth-form { display: grid; gap: 15px; margin-top: 22px; }
.auth-field { display: grid; gap: 7px; }
.auth-field label { font-size: 13px; font-weight: 700; }
.auth-field input, .auth-form input {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid var(--qms-border);
    border-radius: 9px;
    background: var(--qms-bg);
    color: var(--qms-text);
}
.auth-field small { color: var(--qms-muted); }
.auth-error, .errorlist { color: #b42318; font-size: 13px; }
.auth-primary, .qms-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border: 0;
    border-radius: 9px;
    padding: 10px 16px;
    background: var(--qms-primary);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}
.auth-links { margin-top: 18px; }
.auth-links a, .qms-account-link { color: var(--qms-primary); text-decoration: none; }
.auth-link-button { margin-top: 12px; }
.qms-brand-link { text-decoration: none; color: inherit; }
.qms-account-link { font-size: 12px; font-weight: 650; }
.qms-org-switcher select {
    max-width: 220px;
    border: 1px solid var(--qms-border);
    border-radius: 8px;
    background: var(--qms-surface);
    color: var(--qms-text);
    padding: 7px 9px;
}
