/* ═══════════════════════════════════════════════════════════════════════
   LifeLink — Public Auth (Role Select / Register / Login)
   auth-common.css

   Reuses the SAME brand tokens as the caregiver_web app
   (public/caregiver/css/common.css: --ll-primary burnt orange, cream
   gradient, Inter type) since this is the front door to that same
   product, not a separate visual identity. This file adds only what's
   genuinely new: the pre-auth split-screen layout and its components.

   ── Design intent ─────────────────────────────────────────────────
   Mobile: matches the mockups almost exactly — full-bleed card, cream
   header, stacked fields, one column.

   Desktop (≥1024px): a split-screen layout. Left = the mockup's own
   hero photo, given room as a real editorial panel with the floating
   care-category chips already in the design. Right = the form,
   capped at a comfortable reading width in a contained column with a
   real site header above it. This is the single deliberate move that
   makes it read as a website: the photo stops being a mobile card
   background and becomes a panel, and the form stops being
   edge-to-edge and becomes a centered, generously margined column —
   the two things a native app screen never does.
   ═══════════════════════════════════════════════════════════════════════ */

:root {
    --ll-primary:        rgba(185, 97, 1, 1);
    --ll-primary-dark:   #8a4801;
    --ll-primary-light:  #f7a94a;
    --ll-primary-tint:   #fdf1e2;

    --ll-hero-gradient:  linear-gradient(180deg, #e08a2e 0%, #f0b45a 60%, #f7d9a8 100%);
    --ll-cream-gradient: linear-gradient(180deg, #fff6ea 0%, #fdf1e2 100%);

    --ll-success:      #1f9254;
    --ll-success-tint: #e3f6ea;
    --ll-danger:       #d5301f;
    --ll-danger-tint:  #fde6e3;
    --ll-info:         #2563eb;
    --ll-info-tint:    #e6edfd;
    --ll-warning:      #b9720a;
    --ll-warning-tint: #fdf0d6;

    --ll-ink:        #1c1a17;
    --ll-ink-soft:   #55504a;
    --ll-ink-faint:  #948d84;
    --ll-border:     #ece6dd;
    --ll-surface:    #ffffff;
    --ll-bg:         #faf8f5;

    --ll-radius-sm:   10px;
    --ll-radius-md:   16px;
    --ll-radius-lg:   22px;
    --ll-radius-pill: 999px;

    --ll-shadow-sm: 0 1px 3px rgba(28, 26, 23, 0.06);
    --ll-shadow-md: 0 4px 16px rgba(28, 26, 23, 0.08);
    --ll-shadow-lg: 0 12px 32px rgba(28, 26, 23, 0.12);

    --ll-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* New — desktop split-panel surface. A deep warm brown-charcoal,
       not pure black, so the panel feels like part of the same warm
       cream/orange world rather than a generic dark-mode contrast
       block. */
    --auth-panel-ink:    #241a10;
    --auth-panel-overlay: linear-gradient(180deg, rgba(36,26,16,0.15) 0%, rgba(36,26,16,0.75) 100%);
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    font-family: var(--ll-font);
    color: var(--ll-ink);
    background: var(--ll-bg);
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
    outline: 2px solid var(--ll-primary);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* ═══════════════════════════════════════════════════════════════════════
   Shell — mobile: single column. Desktop: split screen.
   ═══════════════════════════════════════════════════════════════════════ */

.auth-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    max-width: 480px;
    margin: 0 auto;
    background: var(--ll-surface);
}

.auth-shell__panel {
    display: none; /* mobile: no side panel — the mockup's own layout handles imagery inline */
}

/* ═══════════════════════════════════════════════════════════════════════
   Mobile app-style header (back arrow + title) — hidden on desktop,
   where a real site header takes over instead.
   ═══════════════════════════════════════════════════════════════════════ */

.auth-app-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 20px 4px;
    background: var(--ll-cream-gradient);
}

.auth-app-header__back {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--ll-surface);
    box-shadow: var(--ll-shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: none;
}

.auth-app-header__back i { font-size: 16px; }

.auth-app-header h1 {
    font-size: 22px;
    font-weight: 800;
    margin: 0;
}

/* Desktop site header (logo + minimal nav) — hidden on mobile */
.auth-site-header {
    display: none;
}

/* ═══════════════════════════════════════════════════════════════════════
   Form area
   ═══════════════════════════════════════════════════════════════════════ */

.auth-body {
    flex: 1;
    padding: 20px 24px 40px;
    display: flex;
    flex-direction: column;
}

.auth-intro {
    margin-bottom: 24px;
}

.auth-intro__title {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 8px;
}

/* Shown only on desktop, where .auth-app-header (which carries the H1
   there instead) is hidden — see the ≥1024px block below. */
.auth-intro__title--desktop-only { display: none; }

.auth-intro__sub {
    font-size: 13.5px;
    color: var(--ll-ink-faint);
    line-height: 1.5;
    margin: 0;
}

/* ── Fields ───────────────────────────────────────────────────────────── */

.auth-field {
    margin-bottom: 18px;
}

.auth-field__label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--ll-ink);
    margin-bottom: 7px;
}

.auth-field__input,
.auth-field__select {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--ll-border);
    border-radius: var(--ll-radius-pill);
    font-size: 14px;
    font-family: var(--ll-font);
    color: var(--ll-ink);
    background: var(--ll-bg);
    transition: border-color 0.15s ease, background 0.15s ease;
}

.auth-field__input::placeholder { color: var(--ll-ink-faint); }

.auth-field__input:focus,
.auth-field__select:focus {
    outline: none;
    border-color: var(--ll-primary);
    background: var(--ll-surface);
}

.auth-field__input-wrap {
    position: relative;
}

.auth-field__toggle-visibility {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--ll-ink-faint);
    display: flex;
    align-items: center;
    padding: 0;
}

.auth-field__toggle-visibility i { font-size: 17px; }

.auth-field-error {
    display: none;
    font-size: 12px;
    color: var(--ll-danger);
    margin-top: 6px;
    font-weight: 600;
}

.auth-field-error.show { display: block; }

.auth-form-error-banner {
    display: none;
    background: var(--ll-danger-tint);
    color: var(--ll-danger);
    font-size: 13px;
    font-weight: 600;
    padding: 12px 14px;
    border-radius: var(--ll-radius-md);
    margin-bottom: 18px;
}

.auth-form-error-banner.show { display: block; }

/* ── Phone field: Choices.js country/dial-code select + number input ──
   Two real form controls (a <select> Choices.js enhances, and a plain
   phone <input>) styled to look like one merged pill. The .choices
   wrapper Choices.js generates around the <select> is restyled to
   have NO border/pill/background of its own — .auth-phone-field is
   the single visual pill both halves sit inside, so there's one
   border and one focus ring, not two nested ones. */

.auth-phone-field {
    display: flex;
    align-items: stretch;
    border: 1.5px solid var(--ll-border);
    border-radius: var(--ll-radius-pill);
    background: var(--ll-bg);
    transition: border-color 0.15s ease, background 0.15s ease;
}

.auth-phone-field:focus-within {
    border-color: var(--ll-primary);
    background: var(--ll-surface);
}

.auth-phone-field input[type="tel"] {
    border: none;
    outline: none;
    background: none;
    font-family: var(--ll-font);
    font-size: 14px;
    color: var(--ll-ink);
    padding: 14px 16px;
    flex: 1;
    min-width: 0;
}

/* The <select> Choices.js enhances — sized to roughly a flag + dial
   code width. Choices.js hides the raw element once initialized;
   these rules are what the .choices wrapper below actually inherits
   sizing cues from. */
.auth-phone-field__select {
    width: 108px;
    flex-shrink: 0;
}

/* Choices.js's own wrapper — strip its default look entirely so
   .auth-phone-field (above) is the only visible pill/border. */
.auth-phone-field .choices {
    width: 108px;
    flex-shrink: 0;
    margin-bottom: 0;
}

.auth-phone-field .choices__inner {
    background: none;
    border: none;
    border-right: 1.5px solid var(--ll-border);
    border-radius: 0;
    padding: 14px 8px 14px 16px;
    min-height: 0;
}

.auth-phone-field .choices__list--single {
    padding: 0 16px 0 0;
}

.auth-phone-field .choices[data-type*="select-one"]::after {
    right: 8px;
}

/* Flag + dial code inside each option/selected item — built via
   allowHTML: true on the option label (see caregiver-register.js),
   NOT Choices' callbackOnCreateTemplates. allowHTML + an <img> in the
   label string is the stable, version-independent way to get an icon
   into a Choices.js option; callbackOnCreateTemplates' exact
   signature has drifted across library versions and isn't worth
   depending on for something this simple. */
.auth-phone-option {
    display: flex;
    align-items: center;
    gap: 8px;
}

.auth-phone-option img {
    width: 20px;
    height: 14px;
    border-radius: 2px;
    object-fit: cover;
    flex-shrink: 0;
}

.auth-phone-option__name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* In the collapsed (selected) state, only show flag + dial code —
   the full country name is only needed while browsing the dropdown. */
.auth-phone-field .choices__list--single .auth-phone-option__name {
    display: none;
}

/* The trigger is only 108px (flag + dial code), but the dropdown
   listing full country names needs real width — Choices.js defaults
   the panel to its parent's width otherwise, which would wrap every
   line. */
.auth-phone-field .choices__list--dropdown,
.auth-phone-field .choices__list[aria-expanded] {
    width: 280px;
}

/* ── Toggle switch (Remember me) ─────────────────────────────────────── */

.auth-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 25px;
    flex-shrink: 0;
}

.auth-switch input { opacity: 0; width: 0; height: 0; }

.auth-switch__track {
    position: absolute;
    inset: 0;
    background: var(--ll-border);
    border-radius: 999px;
    transition: background 0.2s ease;
    cursor: pointer;
}

.auth-switch__track::before {
    content: '';
    position: absolute;
    width: 19px;
    height: 19px;
    left: 3px;
    top: 3px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(28, 26, 23, 0.25);
    transition: transform 0.2s ease;
}

.auth-switch input:checked + .auth-switch__track { background: var(--ll-primary); }
.auth-switch input:checked + .auth-switch__track::before { transform: translateX(19px); }

.auth-remember-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 4px 0 24px;
}

.auth-remember-row__left {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    font-weight: 600;
}

.auth-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--ll-primary);
}

/* ── File upload (profile photo) ─────────────────────────────────────── */

.auth-upload {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1.5px dashed var(--ll-border);
    border-radius: var(--ll-radius-pill);
    background: var(--ll-bg);
    cursor: pointer;
}

.auth-upload__icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--ll-primary-tint);
    color: var(--ll-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.auth-upload__icon i { font-size: 15px; }

.auth-upload__text { min-width: 0; }

.auth-upload__label {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ll-ink);
    margin: 0;
}

.auth-upload__hint {
    font-size: 11.5px;
    color: var(--ll-ink-faint);
    margin: 1px 0 0;
}

.auth-upload input[type="file"] { display: none; }

/* ── Checkbox row (terms) ────────────────────────────────────────────── */

.auth-checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 4px 0 22px;
}

.auth-checkbox-row input[type="checkbox"] {
    width: 19px;
    height: 19px;
    border-radius: 5px;
    accent-color: var(--ll-primary);
    margin-top: 1px;
    flex-shrink: 0;
}

.auth-checkbox-row label {
    font-size: 12.5px;
    color: var(--ll-ink-soft);
    line-height: 1.5;
}

.auth-checkbox-row a {
    color: var(--ll-ink);
    font-weight: 700;
    text-decoration: underline;
}

/* ── Buttons ──────────────────────────────────────────────────────────── */

.auth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 15px 22px;
    border: none;
    border-radius: var(--ll-radius-pill);
    font-size: 14.5px;
    font-weight: 700;
    background: var(--ll-primary);
    color: #fff;
    transition: opacity 0.15s ease, transform 0.1s ease;
}

.auth-btn:active { transform: scale(0.98); }
.auth-btn:hover { opacity: 0.92; }

.auth-btn.is-loading {
    opacity: 0.7;
    pointer-events: none;
    position: relative;
    color: transparent !important;
}

.auth-btn.is-loading::after {
    content: '';
    position: absolute;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-top-color: #fff;
    animation: auth-spin 0.7s linear infinite;
}

@keyframes auth-spin { to { transform: rotate(360deg); } }

.auth-footer-text {
    text-align: center;
    font-size: 13px;
    color: var(--ll-ink-soft);
    margin-top: 18px;
}

/* ── OTP boxes ────────────────────────────────────────────────────────── */

.auth-otp-row {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
}

.auth-otp-box {
    width: 100%;
    aspect-ratio: 1;
    text-align: center;
    font-size: 19px;
    font-weight: 700;
    border: 1.5px solid var(--ll-border);
    border-radius: var(--ll-radius-md);
    background: var(--ll-bg);
    color: var(--ll-ink);
    font-family: var(--ll-font);
}

.auth-otp-box:focus {
    outline: none;
    border-color: var(--ll-primary);
    background: var(--ll-surface);
}

.auth-otp-box.is-filled {
    border-color: var(--ll-primary);
    background: var(--ll-primary-tint);
    color: var(--ll-primary-dark);
}

.auth-resend {
    font-size: 13px;
    font-weight: 700;
    text-decoration: underline;
    color: var(--ll-ink);
    margin-bottom: 24px;
}

.auth-resend.is-disabled {
    color: var(--ll-ink-faint);
    pointer-events: none;
}

/* ── Toast ────────────────────────────────────────────────────────────── */

.auth-toast {
    position: fixed;
    left: 50%;
    bottom: 32px;
    transform: translateX(-50%) translateY(20px);
    background: var(--ll-ink);
    color: #fff;
    padding: 12px 20px;
    border-radius: var(--ll-radius-pill);
    font-size: 13px;
    font-weight: 600;
    box-shadow: var(--ll-shadow-lg);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 100;
    max-width: 90%;
    text-align: center;
}

.auth-toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }
.auth-toast--success { background: var(--ll-success); }
.auth-toast--error { background: var(--ll-danger); }

/* ── Progress dots (register step indicator, used on OTP step) ─────────── */

.auth-step-dots {
    display: flex;
    gap: 6px;
    margin-bottom: 20px;
}

.auth-step-dot {
    height: 4px;
    flex: 1;
    border-radius: 999px;
    background: var(--ll-border);
}

.auth-step-dot.is-done { background: var(--ll-primary); }

/* ═══════════════════════════════════════════════════════════════════════
   Role select cards
   ═══════════════════════════════════════════════════════════════════════ */

.auth-hero-photo {
    position: relative;
    height: 340px;
    background: var(--ll-primary-tint);
}

.auth-hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.auth-hero-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, var(--ll-bg) 100%);
}

.auth-hero-chip {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.95);
    padding: 7px 12px;
    border-radius: var(--ll-radius-pill);
    font-size: 11.5px;
    font-weight: 700;
    color: var(--ll-ink);
    box-shadow: var(--ll-shadow-sm);
}

.auth-hero-chip i { color: var(--ll-primary); font-size: 12px; }

.auth-role-list {
    padding: 4px 24px 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.auth-role-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border: 1.5px solid var(--ll-border);
    border-radius: var(--ll-radius-lg);
    background: var(--ll-surface);
    text-align: left;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.auth-role-card:hover {
    border-color: var(--ll-primary);
    box-shadow: var(--ll-shadow-sm);
}

.auth-role-card__icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--ll-primary-tint);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 20px;
}

.auth-role-card__title {
    font-size: 15px;
    font-weight: 800;
    margin: 0 0 2px;
}

.auth-role-card__sub {
    font-size: 12.5px;
    color: var(--ll-ink-faint);
    margin: 0;
}

.auth-role-card--disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.auth-role-card--disabled:hover {
    border-color: var(--ll-border);
    box-shadow: none;
}

.auth-role-card__badge {
    margin-left: auto;
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--ll-ink-faint);
    background: var(--ll-bg);
    padding: 4px 9px;
    border-radius: var(--ll-radius-pill);
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════════════
   Choices.js theming — restyled to match auth-field visuals instead of
   the library's own default look. Applied to Qualification and Years
   of Experience (real <select> upgrades). The phone country-code
   field stays a custom-built dropdown (search + flag images) rather
   than a Choices.js instance — Choices' template API is version-
   fragile for rich per-option markup like flag icons, and the
   existing dropdown already does search + flags + selection cleanly,
   so re-platforming it wasn't a net improvement.
   ═══════════════════════════════════════════════════════════════════════ */

.choices {
    margin-bottom: 0;
    font-family: var(--ll-font);
    font-size: 14px;
}

.choices__inner {
    background: var(--ll-bg);
    border: 1.5px solid var(--ll-border);
    border-radius: var(--ll-radius-pill);
    padding: 11px 16px;
    min-height: 0;
    font-size: 14px;
    color: var(--ll-ink);
}

.is-focused .choices__inner,
.is-open .choices__inner {
    border-color: var(--ll-primary);
    background: var(--ll-surface);
}

.choices__list--single {
    padding: 3px 16px 3px 2px;
}

.choices__list--single .choices__item {
    color: var(--ll-ink);
}

.choices[data-type*="select-one"] .choices__inner {
    padding-bottom: 11px;
}

.choices[data-type*="select-one"]::after {
    border-color: var(--ll-ink-faint) transparent transparent;
    right: 18px;
}

.choices[data-type*="select-one"].is-open::after {
    border-color: transparent transparent var(--ll-ink-faint);
}

.choices__list--dropdown,
.choices__list[aria-expanded] {
    border-color: var(--ll-border);
    border-radius: var(--ll-radius-md);
    box-shadow: var(--ll-shadow-lg);
    margin-top: 6px;
    overflow: hidden;
}

.choices__list--dropdown .choices__item--selectable,
.choices__list[aria-expanded] .choices__item--selectable {
    font-size: 13.5px;
    padding: 10px 16px;
}

.choices__list--dropdown .choices__item--selectable.is-highlighted,
.choices__list[aria-expanded] .choices__item--selectable.is-highlighted {
    background: var(--ll-primary-tint);
    color: var(--ll-primary-dark);
}

.choices__list--dropdown .choices__input,
.choices__list[aria-expanded] .choices__input {
    border-bottom: 1px solid var(--ll-border);
    background: var(--ll-surface);
    font-family: var(--ll-font);
    font-size: 13.5px;
    margin: 0;
    padding: 12px 14px;
}

.choices__placeholder { opacity: 1; color: var(--ll-ink-faint); }

/* ═══════════════════════════════════════════════════════════════════════
   Profile photo preview — replaces the upload icon/text once a file
   is selected.
   ═══════════════════════════════════════════════════════════════════════ */

.auth-upload__preview {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    display: none;
}

.auth-upload.has-preview .auth-upload__icon { display: none; }
.auth-upload.has-preview .auth-upload__preview { display: block; }

/* ═══════════════════════════════════════════════════════════════════════
   OTP dev-mode code display — shown above/below the OTP boxes only
   while there's no live SMS delivery. See CaregiverPublicAuthController
   for the 'otp' response key this reads from.
   ═══════════════════════════════════════════════════════════════════════ */

.auth-dev-otp-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--ll-info-tint);
    color: var(--ll-ink);
    padding: 12px 14px;
    border-radius: var(--ll-radius-md);
    font-size: 12.5px;
    margin-bottom: 16px;
}

.auth-dev-otp-banner i {
    color: var(--ll-info);
    font-size: 15px;
    flex-shrink: 0;
}

.auth-dev-otp-banner strong {
    font-family: monospace;
    font-size: 15px;
    letter-spacing: 2px;
    color: var(--ll-ink);
}

/* ═══════════════════════════════════════════════════════════════════════
   Desktop (≥1024px) — split-screen website layout

   This is the one deliberate structural change: the shell stops being
   a centered mobile card and becomes two panels filling the viewport.
   Left panel carries the mockup's own hero photography full-height as
   a real editorial image, not a card background. Right panel holds
   the form in a contained, generously margined reading column under a
   real site header — the two things that make a page read as a
   website rather than a scaled-up app screen.
   ═══════════════════════════════════════════════════════════════════════ */

@media (min-width: 1024px) {

    .auth-shell {
        max-width: none;
        flex-direction: row;
        min-height: 100vh;
    }

    .auth-shell__panel {
        display: block;
        position: relative;
        flex: 0 0 44%;
        min-height: 100vh;
        background: var(--auth-panel-ink);
        overflow: hidden;
    }

    .auth-shell__panel img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        inset: 0;
    }

    .auth-shell__panel::after {
        content: '';
        position: absolute;
        /* inset: 0; */
        /* background: var(--auth-panel-overlay); */
    }

    .auth-shell__panel-content {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        padding: 48px;
        z-index: 2;
    }

    .auth-shell__panel-quote {
        color: #000;
        font-size: 22px;
        font-weight: 700;
        line-height: 1.4;
        max-width: 380px;
        margin: 0 0 12px;
    }

    .auth-shell__panel-quote-sub {
        color: #000;
        font-size: 13.5px;
        max-width: 340px;
        line-height: 1.6;
    }

    .auth-shell__panel-top-brand {
        position: absolute;
        top: 40px;
        left: 48px;
        z-index: 2;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .auth-shell__panel-mark {
          width: 44px;
        height: 44px;
        border-radius: 50%;
        background: rgb(255 255 255);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 800;
        font-size: 14px;
    }

    .auth-shell__panel-brand-name {
        color: #fff;
        font-weight: 800;
        font-size: 16px;
    }

    /* Floating category chips reused from the mobile mockup, positioned
       across the full-height desktop panel instead of a mobile card. */
    .auth-shell__panel .auth-hero-chip { z-index: 2; }

    /* ── Right side: real content column under a site header ─────────── */

    .auth-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        min-height: 100vh;
    }

    .auth-app-header { display: none; }

    .auth-site-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 28px 136px 0;
    }

    .auth-site-header__brand {
        display: flex;
        align-items: center;
        gap: 10px;
        font-weight: 800;
        font-size: 16px;
        color: var(--ll-ink);
    }

    .auth-site-header__mark {
        width: 42px;
        height: 42px;
        border-radius: var(--ll-radius-sm);
        background: transparent;
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 800;
        font-size: 12px;
    }

    .auth-site-header__nav {
        display: flex;
        align-items: center;
        gap: 28px;
        font-size: 13.5px;
        font-weight: 600;
        color: var(--ll-ink-soft);
    }

    .auth-site-header__nav a:hover { color: var(--ll-primary); }

    .auth-body {
        flex: 1;
        align-items: center;
        justify-content: center;
        padding: 40px 56px 60px;
    }

    .auth-body__inner {
        width: 100%;
        max-width: 420px;
    }

    .auth-intro__title { font-size: 26px; }
    .auth-intro__title--desktop-only { display: block; }

    .auth-role-list {
        padding: 0;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
        max-width: 720px;
    }

    .auth-role-card {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        padding: 22px;
    }

    .auth-role-card__icon {
        width: 50px;
        height: 50px;
        font-size: 22px;
        margin-bottom: 4px;
    }

    .auth-role-card__badge {
        margin-left: 0;
        margin-top: 10px;
    }

    /* Role-select uses the wide 3-up grid, so it gets its own inner
       max-width rather than the 420px form column. */
    .auth-body__inner--roles { max-width: 760px; }

    /* Mobile's inline hero photo is redundant once the layout's own
       left panel is showing the same imagery full-height. */
    .auth-hero-photo { display: none !important; }
}