/* §3.1 auth-set CSS-only override — catalog brand
 * 2026-05-06 consistency rebase
 *
 * Overrides editorial chrome from design-system/components/auth-shell.css
 * onto catalog brand:
 *   - Display-serif H1 → DM Sans tracked uppercase compact H1
 *   - Italic gold em accent → solid color (no italic)
 *   - Numbered mono caption hairline (.auth-stage__brand ::before, .auth-tab__num) → hidden
 *   - Editorial mono caps captions → calmer ui-sans labels
 *   - Vertical typographic spine / numbered markers → hidden
 *   - Single-panel layout (hide editorial side stage, center form) on desktop
 *
 * Hooked from authV2Renderer.php when MODX setting `clo_auth_legacy_shell` != 1
 * (default 0 → catalog override active).  When the setting is `1`, the
 * legacy editorial shell remains untouched.
 *
 * SAFE: !important is used intentionally as this file overrides a shared
 * design-system component that lives under .auth-shell selectors.  The
 * legacy auth-shell.css remains unchanged.
 */

/* ── Hide editorial register markers ─────────────────────────────── */
.auth-shell .auth-tab__num,
.auth-shell .auth-stage__brand::before {
    display: none !important;
}

.auth-shell .auth-tab {
    font-family: var(--font-sans, 'DM Sans', sans-serif) !important;
    font-size: var(--text-sm) !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
}

.auth-shell .auth-stage__brand {
    font-family: var(--font-sans, 'DM Sans', sans-serif) !important;
    letter-spacing: 0.06em !important;
    color: var(--color-text-secondary) !important;
    gap: 0 !important;
}

/* ── Catalog H1 — compact DM Sans tracked uppercase ──────────────── */
.auth-shell .auth-title,
.auth-shell .auth-stage__lead {
    font-family: var(--font-sans, 'DM Sans', sans-serif) !important;
    font-size: var(--text-2xl) !important;
    font-weight: 600 !important;
    line-height: 1.15 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    font-style: normal !important;
    color: var(--color-text) !important;
}
.auth-shell .auth-stage__lead {
    color: var(--color-white) !important;
    font-size: clamp(1.5rem, 1.1rem + 1vw, 2.25rem) !important;
}

/* Strip italic gold em accents */
.auth-shell .auth-title em,
.auth-shell .auth-stage__lead em,
.auth-shell .auth-subtitle em {
    font-style: normal !important;
    color: inherit !important;
}

/* Subtitle — calmer ui-sans, drop editorial serif */
.auth-shell .auth-subtitle,
.auth-shell .auth-stage__sub {
    font-family: var(--font-sans, 'DM Sans', sans-serif) !important;
    font-size: var(--text-base) !important;
    line-height: 1.5 !important;
}

/* ── Stat block (side stage) — drop big editorial display numbers ── */
.auth-shell .auth-stage__meta dt {
    font-family: var(--font-sans, 'DM Sans', sans-serif) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
}
.auth-shell .auth-stage__meta dd {
    font-family: var(--font-sans, 'DM Sans', sans-serif) !important;
    font-size: var(--text-xl) !important;
    font-weight: 600 !important;
    letter-spacing: -0.01em !important;
}

/* ── Field labels — neutral ui-sans (drop mono caps) ─────────────── */
.auth-shell .auth-field__label,
.auth-shell .auth-divider__label,
.auth-shell .oauth-btn__hint {
    font-family: var(--font-sans, 'DM Sans', sans-serif) !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-size: var(--text-sm) !important;
}
.auth-shell .auth-field__label {
    color: var(--color-text-secondary) !important;
}

/* ── Submit button — catalog brand (no all-caps wide tracking) ───── */
.auth-shell .auth-submit {
    font-family: var(--font-sans, 'DM Sans', sans-serif) !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-weight: 600 !important;
}

/* ── Hide editorial side stage (internal duplicate INKPPL brand) on
 *    ALL viewports — single-panel layout in catalog mode.
 *    Site-wide .site-header / .site-footer / .bottom-nav stay visible
 *    (revert of auth.css line 22-24 hide).
 * ─────────────────────────────────────────────────────────────────── */
.auth-shell .auth-stage,
.auth-shell .auth-panel__logo,
.auth-shell #authThemeToggle,
.auth-shell .theme-toggle {
    display: none !important;
}
.auth-shell {
    grid-template-columns: minmax(0, 1fr) !important;
}
.auth-shell .auth-panel {
    padding: var(--space-8) var(--space-4) !important;
    max-width: 520px;
    margin: 0 auto;
}
@media (min-width: 1024px) {
    .auth-shell .auth-panel {
        padding: var(--space-12) var(--space-6) !important;
    }
}
