/* ═══════════════════════════════════════════════════════════
   ShopIt Auth — Split screen (Tailwind-equivalent layout)
   grid-cols-1 lg:grid-cols-2 | min-h-screen | overflow-hidden
   ═══════════════════════════════════════════════════════════ */

.auth-split-page--atelier {
    --auth-ink: #0f172a;
    --auth-muted: #64748b;
    --auth-line: #e2e8f0;
    --auth-soft: #f1f5f9;
    --auth-blue: #2563eb;
    --auth-blue-hover: #1d4ed8;
    --auth-blue-soft: rgba(37, 99, 235, 0.14);
    --auth-display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
    --auth-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

    margin: 0;
    min-height: 100vh;
    min-height: 100dvh;
    height: 100dvh;
    max-height: 100dvh;
    overflow: hidden;
    background: #fff;
    color: var(--auth-ink);
    font-family: var(--auth-sans);
    -webkit-font-smoothing: antialiased;
}

.auth-split-page--atelier *,
.auth-split-page--atelier *::before,
.auth-split-page--atelier *::after {
    box-sizing: border-box;
}

/* Shell: grid-cols-1 lg:grid-cols-2 min-h-screen w-full overflow-hidden bg-white */
.auth-atelier {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    min-height: 100%;
    height: 100%;
    max-height: 100dvh;
    overflow: hidden;
    background: #fff;
}

@media (min-width: 1024px) {
    .auth-atelier {
        grid-template-columns: 1fr 1fr;
    }
}

/* ── Left column ───────────────────────────────────────── */

.auth-atelier-stage {
    position: relative;
    display: none;
    flex-direction: column;
    min-height: 0;
    height: 100%;
    overflow: hidden;
    color: #fff;
}

@media (min-width: 1024px) {
    .auth-atelier-stage {
        display: flex;
    }
}

.auth-stage {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    min-height: 0;
}

.auth-stage-photo {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Left dark for white text, right stays bright (image1) */
.auth-stage-veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(2, 6, 23, 0.72) 0%,
        rgba(15, 23, 42, 0.55) 28%,
        rgba(15, 23, 42, 0.28) 52%,
        rgba(15, 23, 42, 0.1) 72%,
        rgba(15, 23, 42, 0.04) 100%
    );
}

.auth-stage-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    padding: 1.65rem 2rem 0.85rem;
    gap: 0;
}

.auth-stage-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-shrink: 0;
}

.auth-stage-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-family: "Manrope", var(--auth-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    letter-spacing: -0.02em;
    text-transform: lowercase;
    line-height: 1;
}

.auth-stage-logo span {
    color: #60a5fa;
}

.auth-brand-mark-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    flex-shrink: 0;
}

.auth-stage-pill {
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #93c5fd;
    border: 1px solid rgba(96, 165, 250, 0.4);
    background: rgba(15, 23, 42, 0.42);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.auth-stage-pill i {
    color: #60a5fa;
    font-size: 0.55rem;
}

/* Copy + KPI cards as one mid-lower stack (image1) */
.auth-stage-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.15rem;
    min-height: 0;
    padding-top: 0.5rem;
    padding-bottom: 2.75rem;
}

.auth-stage-main {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    min-height: 0;
    padding: 0;
    max-width: 22rem;
}

.auth-stage-foot {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    margin-top: auto;
    padding: 0;
}

.auth-stage-eyebrow {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #60a5fa;
}

.auth-stage-eyebrow::before {
    content: "";
    width: 2px;
    height: 0.85rem;
    border-radius: 1px;
    background: #60a5fa;
    flex-shrink: 0;
}

.auth-stage-title {
    margin: 0;
    font-family: var(--auth-display);
    font-size: clamp(2rem, 3.4vw, 2.85rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: #fff;
}

.auth-stage-title-accent {
    color: #60a5fa;
}

.auth-stage-lede {
    margin: 0.35rem 0 0.5rem;
    max-width: 20.5rem;
    font-size: 0.875rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.9);
}

/* Tall rectangular glass KPI cards */
.auth-stage-metrics {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
    flex-shrink: 0;
    width: 100%;
    max-width: 28rem;
}

.auth-stage-metrics > li {
    min-width: 0;
}

.auth-glass-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
    height: 100%;
    min-height: 10.5rem;
    padding: 1rem 0.75rem 2.5rem;
    border-radius: 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: #fff;
    min-width: 0;
    box-shadow: 0 6px 20px rgba(2, 6, 23, 0.2);
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.auth-glass-card:hover {
    transform: translateY(-2px);
    border-color: rgba(96, 165, 250, 0.45);
    background: rgba(15, 23, 42, 0.64);
    box-shadow: 0 10px 26px rgba(2, 6, 23, 0.3);
    color: #fff;
}

.auth-glass-card:focus-visible {
    outline: 2px solid #60a5fa;
    outline-offset: 2px;
}

.auth-stage-metric-icon {
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 0.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #2563eb;
    color: #fff;
    font-size: 0.95rem;
    margin-bottom: 0.1rem;
}

.auth-glass-card strong {
    font-family: var(--auth-display);
    font-size: 0.875rem;
    font-weight: 650;
    color: #fff;
    line-height: 1.2;
}

.auth-glass-card > span:not(.auth-stage-metric-icon):not(.auth-stage-metric-arrow) {
    font-size: 0.72rem;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.72);
}

.auth-stage-metric-arrow {
    position: absolute;
    right: 0.7rem;
    bottom: 0.7rem;
    width: 1.45rem;
    height: 1.45rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff;
    font-size: 0.65rem;
    transition: background 0.18s ease, border-color 0.18s ease;
}

.auth-glass-card:hover .auth-stage-metric-arrow {
    background: rgba(37, 99, 235, 0.9);
    border-color: transparent;
}

.auth-stage-explore {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    align-self: flex-start;
    flex-shrink: 0;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    cursor: default;
    pointer-events: none;
    user-select: none;
}

.auth-stage-explore-lead {
    color: #fff;
}

.auth-stage-explore-brand {
    color: #60a5fa;
}

.auth-stage-explore i {
    color: #60a5fa;
}

/* ── Right column ──────────────────────────────────────── */

.auth-atelier-sheet {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    background: #fff;
    overflow: hidden;
}

.auth-atelier-top {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem 0;
    flex-shrink: 0;
}

@media (min-width: 1024px) {
    .auth-atelier-top {
        padding: 1.5rem 2.5rem 0;
    }
}

.auth-atelier-top-spacer { flex: 1; }

.auth-atelier-mark {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-family: "Manrope", var(--auth-display);
    font-size: 1.28rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-transform: lowercase;
    color: var(--auth-ink);
    text-decoration: none;
}

.auth-atelier-mark span { color: var(--auth-blue); }

.auth-atelier-alt {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.9rem;
    border: 1px solid var(--auth-line);
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--auth-ink);
    text-decoration: none;
    background: #fff;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.auth-atelier-alt:hover {
    border-color: #bfdbfe;
    background: #eff6ff;
    color: var(--auth-blue);
}

.auth-atelier-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    min-height: 0;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .auth-atelier-body {
        padding: 2rem 3rem;
    }
}

.auth-atelier-body:has(#authSwapHost[data-active-panel="register"]),
.auth-atelier-body:has(#authSwapHost[data-active-panel="otp"]),
.auth-atelier-body:has(#authSwapHost[data-active-panel="forgot"]) {
    overflow-y: auto;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.auth-atelier-body:has(#authSwapHost[data-active-panel="otp"])::-webkit-scrollbar,
.auth-atelier-body:has(#authSwapHost[data-active-panel="forgot"])::-webkit-scrollbar,
.auth-atelier-body:has(#authSwapHost[data-active-panel="register"])::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.auth-swap-host[data-active-panel="otp"] .auth-sheet-panel,
.auth-swap-host[data-active-panel="forgot"] .auth-sheet-panel {
    padding-bottom: 1rem;
}

/* Swap host */
.auth-swap-host {
    width: 100%;
    max-width: 28rem;
    margin: 0 auto;
}

.auth-atelier-body > .auth-sheet-panel {
    width: 100%;
    max-width: 28rem;
    margin: 0 auto;
}

.auth-swap-host[data-active-panel="register"] {
    max-width: 23.5rem;
}

.auth-swap-panel {
    display: none;
    animation: auth-fade-up 0.3s ease both;
}

.auth-swap-panel.is-active {
    display: block;
}

.auth-sheet-panel {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.auth-sheet-panel--register {
    gap: 1.65rem;
}

.auth-sheet-panel--pos {
    gap: 1.15rem;
}

.auth-page-pos .auth-atelier-top {
    padding: 0.9rem 1.5rem;
    background: #fff;
}

@media (min-width: 1024px) {
    .auth-page-pos .auth-atelier-top {
        padding: 0.9rem 2rem;
    }
}

.auth-page-pos .auth-atelier-body {
    justify-content: center;
    align-items: center;
    padding: 1.5rem 1.75rem 2rem;
}

.auth-page-pos #posLoginHost.auth-swap-host {
    width: 100%;
    max-width: 26rem;
    margin-inline: auto;
}

.auth-sheet-panel--pos .auth-sheet-title {
    letter-spacing: 0;
    word-spacing: 0.08em;
}

.auth-sheet-panel--pos .auth-sheet-head {
    gap: 0.55rem;
}

.auth-sheet-panel--pos .auth-sheet-eyebrow {
    margin-bottom: 38px;
}

.auth-sheet-panel--pos .auth-sheet-form {
    gap: 1.15rem;
}

.auth-sheet-panel--pos .auth-sheet-form-stack {
    gap: 1.15rem;
}

.auth-sheet-panel--pos .auth-sheet-form-stack > .text-danger:empty,
.auth-sheet-panel--pos .auth-sheet-form-stack > .field-validation-valid {
    display: none;
}

.auth-sheet-head {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.auth-sheet-panel--register .auth-sheet-head {
    gap: 0.7rem;
}

.auth-sheet-eyebrow {
    margin: 0;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--auth-blue);
}

.auth-sheet-title {
    margin: 0;
    font-family: var(--auth-display);
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--auth-ink);
    line-height: 1.2;
}

.auth-sheet-panel--register .auth-sheet-title {
    font-size: 1.85rem;
    margin-top: 0.15rem;
}

.auth-sheet-sub {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--auth-muted);
    line-height: 1.45;
}

.auth-sheet-panel--register .auth-sheet-sub {
    margin-top: 0.1rem;
    line-height: 1.55;
    max-width: 22rem;
}

.auth-sheet-back {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    align-self: flex-start;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--auth-muted);
    cursor: pointer;
}

.auth-sheet-back:hover { color: var(--auth-ink); }

.auth-sheet-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.auth-sheet-panel--register .auth-sheet-form {
    gap: 1.35rem;
    margin-top: 0.15rem;
}

.auth-sheet-legal {
    margin: 0;
    font-size: 0.75rem;
    color: var(--auth-muted);
    text-align: center;
}

.auth-sheet-legal-link {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
    background: none;
    border: 0;
    padding: 0;
    margin: 0;
    font: inherit;
    cursor: pointer;
}

.auth-sheet-legal-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.auth-terms-accept {
    margin: 0.35rem 0 0.15rem;
}

.auth-sheet-panel--register .auth-wizard-pane[data-pane="1"] .auth-terms-accept {
    margin-top: 0.55rem;
}

.auth-sheet-panel--register .auth-wizard-pane[data-pane="1"] #btnRoleContinue {
    margin-top: 0.35rem;
}

.auth-terms-check {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--auth-muted);
    cursor: pointer;
}

.auth-terms-check input {
    margin-top: 0.2rem;
    width: 1rem;
    height: 1rem;
    accent-color: #2563eb;
    flex-shrink: 0;
}

.auth-terms-modal[hidden] {
    display: none !important;
}

.auth-terms-modal {
    position: absolute;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 4.25rem 1.1rem 1.1rem;
}

.auth-terms-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.42);
    backdrop-filter: blur(2px);
}

.auth-terms-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(34rem, 100%);
    max-height: calc(100% - 5.25rem);
    margin-top: 0.35rem;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 24px 64px rgba(2, 6, 23, 0.28);
    overflow: hidden;
}

.auth-terms-modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.25rem 0.85rem;
    border-bottom: 1px solid #e2e8f0;
}

.auth-terms-modal-head h2 {
    margin: 0;
    font-family: var(--auth-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
}

.auth-terms-modal-meta {
    margin: 0.35rem 0 0;
    font-size: 0.75rem;
    color: #64748b;
}

.auth-terms-modal-close {
    border: 0;
    background: #f1f5f9;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    font-size: 1.35rem;
    line-height: 1;
    color: #475569;
    cursor: pointer;
}

.auth-terms-modal-body {
    padding: 1rem 1.25rem;
    overflow: auto;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #334155;
}

.auth-terms-modal-body h3 {
    margin: 1.15rem 0 0.45rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
}

.auth-terms-modal-body p,
.auth-terms-modal-body ul {
    margin: 0 0 0.7rem;
}

.auth-terms-modal-body ul {
    padding-left: 1.2rem;
}

.auth-terms-note {
    margin-top: 1rem !important;
    padding: 0.75rem 0.85rem;
    background: #f8fafc;
    border-radius: 0.65rem;
    border: 1px solid #e2e8f0;
    font-size: 0.8rem;
    color: #64748b;
}

.auth-terms-modal-foot {
    display: flex;
    justify-content: flex-end;
    gap: 0.65rem;
    padding: 0.85rem 1.25rem 1.1rem;
    border-top: 1px solid #e2e8f0;
    background: #fff;
}

body.auth-terms-open {
    overflow: hidden;
}

.auth-atelier-sheet.auth-terms-open {
    overflow: hidden;
}

/* Segmented control: bg-slate-100 p-1 rounded-xl */
.auth-seg {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 0.25rem;
    background: var(--auth-soft);
    border-radius: 0.75rem;
}

.auth-seg-item {
    margin: 0;
    cursor: pointer;
}

.auth-seg-item input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.auth-seg-item span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.65rem 0.75rem;
    border-radius: 0.55rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--auth-muted);
    transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}

.auth-seg-item:has(input:checked) span {
    background: #fff;
    color: var(--auth-ink);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.1);
}

.auth-seg-item:has(input:checked) span i {
    color: var(--auth-blue);
}

/* Fields */
.auth-field-block {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.auth-sheet-panel--register .auth-field-block {
    gap: 0.65rem;
}

.auth-field-label {
    font-size: 0.75rem;
    font-weight: 650;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #334155;
}

.auth-sheet-panel--register .auth-field-label {
    margin-bottom: 0.1rem;
    letter-spacing: 0.06em;
}

.auth-field-label-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
}

.auth-optional {
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    color: var(--auth-muted);
    font-size: 0.75rem;
}

.auth-field-shell,
.auth-field-password {
    position: relative;
}

.auth-field-lead {
    position: absolute;
    left: 0.95rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1rem;
    pointer-events: none;
    z-index: 1;
}

.auth-field-trail {
    position: absolute;
    right: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    z-index: 1;
}

.auth-field-trail--ok { color: #16a34a; }

.auth-split-page--atelier .auth-field-input,
.auth-split-page--atelier .form-control.auth-field-input,
.auth-split-page--atelier .form-control.auth-input,
.auth-split-page--atelier textarea.auth-field-input {
    width: 100%;
    height: auto;
    min-height: 3rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--auth-line);
    border-radius: 0.75rem;
    background: #fff;
    font-family: var(--auth-sans);
    font-size: 0.9375rem;
    color: var(--auth-ink);
    box-shadow: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.auth-split-page--atelier .auth-field-input--icon {
    padding-left: 2.6rem !important;
    padding-right: 2.6rem !important;
}

.auth-split-page--atelier .auth-field-input:focus,
.auth-split-page--atelier .form-control.auth-field-input:focus {
    outline: none;
    border-color: var(--auth-blue);
    box-shadow: 0 0 0 3px var(--auth-blue-soft);
}

.auth-field-input--code {
    letter-spacing: 0.28em;
    font-weight: 600;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.auth-field-eye {
    position: absolute;
    right: 0.35rem;
    top: 50%;
    transform: translateY(-50%);
    width: 2.35rem;
    height: 2.35rem;
    border: 0;
    background: transparent;
    color: #94a3b8;
    border-radius: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.auth-field-eye:hover {
    color: var(--auth-ink);
    background: var(--auth-soft);
}

/* Hide browser-native password reveal so only .auth-field-eye shows */
.auth-field-password input[type="password"]::-ms-reveal,
.auth-field-password input[type="password"]::-ms-clear {
    display: none;
}

.auth-field-password input[type="password"]::-webkit-credentials-auto-fill-button,
.auth-field-password input[type="password"]::-webkit-textfield-decoration-container {
    visibility: hidden;
    pointer-events: none;
}

.auth-field-split .auth-field-shell { min-width: 0; }

.auth-field-split {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.55rem;
    align-items: stretch;
}

.auth-field-split .auth-field-input {
    min-width: 0;
}

.auth-field-split .auth-soft-btn {
    flex-shrink: 0;
    white-space: nowrap;
}

.auth-field-meta {
    font-size: 0.8125rem;
    min-height: 0;
}

.auth-sheet-panel--register .auth-field-meta {
    margin-top: 0.2rem;
}

.auth-field-meta .text-danger,
.auth-field-meta .field-validation-error {
    color: #dc2626 !important;
    font-size: 0.8125rem;
}

.auth-text-link {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--auth-blue);
    text-decoration: none;
}

.auth-text-link:hover { text-decoration: underline; }

button.auth-text-link,
.auth-text-link--btn {
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    margin: 0;
    font: inherit;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--auth-blue);
    cursor: pointer;
    text-align: left;
    line-height: inherit;
}

button.auth-text-link:hover,
.auth-text-link--btn:hover {
    text-decoration: underline;
}

button.auth-text-link:disabled,
.auth-text-link--btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    text-decoration: none;
}

.auth-resend-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 0.75rem;
    margin-top: 0.35rem;
}

.auth-resend-row .auth-inline-info {
    margin: 0;
}

.auth-otp-followup {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    margin-top: 0.85rem;
    text-align: center;
}

.auth-otp-resend-line {
    margin: 0;
    font-size: 0.8125rem;
    color: #64748b;
    line-height: 1.45;
}

.auth-otp-resend-line.is-cooling {
    color: #94a3b8;
}

.auth-otp-resend-line.is-cooling .auth-text-link--btn {
    color: #94a3b8;
    pointer-events: none;
    text-decoration: none;
}

.auth-otp-resend-lead {
    margin-right: 0.25rem;
}

.auth-otp-alt-link {
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: 0;
    padding: 0;
    margin: 0;
    color: #475569;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    cursor: pointer;
    text-decoration: none;
}

.auth-otp-alt-link:hover {
    color: var(--auth-blue);
    text-decoration: underline;
}

/* Primary CTA: bg-blue-600 rounded-xl */
.auth-cta,
a.auth-cta,
.auth-split-page--atelier .btn.auth-submit,
.auth-split-page--atelier .auth-submit--clean {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    min-height: 3.15rem;
    padding: 0.85rem 1.25rem;
    border: 0;
    border-radius: 0.75rem;
    background: var(--auth-blue);
    color: #fff !important;
    font-family: var(--auth-display);
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none !important;
    cursor: pointer;
    transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.28);
}

.auth-cta:hover:not(:disabled),
.auth-split-page--atelier .btn.auth-submit:hover:not(:disabled) {
    background: var(--auth-blue-hover);
    color: #fff !important;
    transform: translateY(-1px);
}

.auth-cta:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.auth-soft-btn {
    height: 3rem;
    padding: 0 1rem;
    border: 1px solid var(--auth-line);
    border-radius: 0.75rem;
    background: #fff;
    color: var(--auth-ink);
    font-size: 0.8125rem;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}

.auth-soft-btn:hover:not(:disabled) {
    border-color: #bfdbfe;
    background: #eff6ff;
    color: var(--auth-blue);
}

.auth-soft-btn--solid {
    background: var(--auth-blue);
    border-color: var(--auth-blue);
    color: #fff;
}

.auth-soft-btn.is-done {
    background: #ecfdf5;
    border-color: #a7f3d0;
    color: #047857;
}

.auth-ghost {
    min-height: 3.15rem;
    padding: 0 1rem;
    border: 0;
    background: transparent;
    color: var(--auth-muted);
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 0.75rem;
    cursor: pointer;
}

.auth-ghost:hover {
    color: var(--auth-ink);
    background: var(--auth-soft);
}

.auth-duo-nav {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.65rem;
    align-items: center;
}

.auth-sheet-panel--register .auth-duo-nav {
    margin-top: 0.85rem;
    gap: 0.85rem;
}

.auth-or-line {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin: 0.15rem 0;
    color: #94a3b8;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.auth-or-line::before,
.auth-or-line::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--auth-line);
}

.auth-or-line span {
    flex-shrink: 0;
}

.auth-otp-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--auth-line);
    border-radius: 0.75rem;
    background: #f8fafc;
    color: var(--auth-muted);
    font-family: var(--auth-sans);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.3;
    text-decoration: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.auth-otp-link strong { color: var(--auth-ink); font-weight: 650; }
.auth-otp-link i { color: var(--auth-blue); }
.auth-otp-link:hover {
    border-color: #bfdbfe;
    background: #eff6ff;
    color: var(--auth-ink);
}

.auth-sheet-panel--recovery {
    gap: 1.25rem;
}

.auth-sheet-panel--recovery .auth-sheet-form {
    gap: 1.1rem;
}

.auth-sheet-panel--recovery [data-forgot-step] {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.auth-sheet-panel--recovery [data-forgot-step] .auth-seg {
    margin: 0;
}

.auth-sheet-panel--recovery [data-forgot-step] .auth-field-block {
    gap: 0.55rem;
}

.auth-sheet-panel--recovery [data-forgot-step] .auth-field-label {
    margin-bottom: 0.15rem;
}

.auth-sheet-panel--recovery [data-forgot-step] .auth-cta {
    margin-top: 0.25rem;
}

.auth-sheet-panel--recovery .auth-or-line {
    margin: 0.35rem 0 0.15rem;
}

.auth-sheet-panel--recovery .auth-secure-note {
    margin-top: 0.35rem;
}

.auth-secure-note {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    font-size: 0.75rem;
    color: var(--auth-muted);
}

.auth-secure-note i {
    color: var(--auth-blue);
    font-size: 0.95rem;
}

.auth-sheet-form-stack {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
}

.auth-float-field {
    position: relative;
    width: 100%;
}

.auth-float-control {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 3.15rem;
    border: 1px solid var(--auth-line);
    border-radius: 0.75rem;
    padding: 0 0.95rem;
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.auth-float-control input {
    border: 0;
    outline: none;
    background: transparent;
    width: 100%;
    font: inherit;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--auth-ink);
    padding: 0.95rem 0 0.55rem;
    box-shadow: none;
}

.auth-float-control input:focus {
    outline: none;
    box-shadow: none;
}

.auth-float-control label {
    position: absolute;
    left: 0.95rem;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    padding: 0 0.25rem;
    color: #94a3b8;
    font-size: 1.02rem;
    font-weight: 500;
    pointer-events: none;
    background: #fff;
    transition: top 0.16s ease, transform 0.16s ease, font-size 0.16s ease, color 0.16s ease, left 0.16s ease;
}

.auth-float-field.is-active .auth-float-control,
.auth-float-field.is-filled .auth-float-control,
.auth-float-field:focus-within .auth-float-control {
    border-color: var(--auth-blue);
    box-shadow: 0 0 0 3px var(--auth-blue-soft);
}

.auth-float-field.is-active .auth-float-control label,
.auth-float-field.is-filled .auth-float-control label,
.auth-float-field:focus-within .auth-float-control label,
.auth-float-field:has(input:not(:placeholder-shown)) .auth-float-control label {
    top: 0;
    transform: translateY(-50%);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--auth-blue);
    left: 0.75rem;
}

.auth-float-prefix {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-right: 0.55rem;
    flex-shrink: 0;
    color: var(--auth-ink);
    font-size: 1rem;
}

.auth-float-divider {
    width: 1px;
    height: 1.15rem;
    background: var(--auth-line);
}

.auth-float-field.has-prefix .auth-float-control label {
    left: 4.35rem;
}

.auth-float-field.has-prefix.is-active .auth-float-control label,
.auth-float-field.has-prefix.is-filled .auth-float-control label,
.auth-float-field.has-prefix:focus-within .auth-float-control label,
.auth-float-field.has-prefix:has(input:not(:placeholder-shown)) .auth-float-control label {
    left: 0.75rem;
}

.auth-sheet-foot {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--auth-muted);
    text-align: center;
}

.auth-sheet-foot a {
    color: var(--auth-blue);
    font-weight: 600;
    text-decoration: none;
}

.auth-sheet-foot a:hover { text-decoration: underline; }

.auth-whisper {
    font-size: 0.8125rem;
    color: var(--auth-muted);
    padding: 0.65rem 0.85rem;
    background: var(--auth-soft);
    border-radius: 0.65rem;
    border-left: 2px solid var(--auth-blue);
}

.auth-alert {
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
}

.auth-alert--error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

.auth-alert--success {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.auth-alert--warning {
    background: #fffbeb;
    color: #b45309;
    border: 1px solid #fcd34d;
}

.auth-split-page--atelier .validation-summary-errors,
.auth-split-page--atelier .alert-danger {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    padding: 0.75rem 1rem;
}

.auth-verified-badge {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #047857;
}

.auth-inline-info { color: #0369a1; font-size: 0.8125rem; }
.auth-inline-info--ok { color: #15803d; }
.auth-inline-error { color: #dc2626; font-size: 0.8125rem; }

/* Register extras */
.auth-progress-line {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
}

.auth-sheet-panel--register .auth-progress-line {
    margin-top: 0.15rem;
    margin-bottom: 0.25rem;
    gap: 0.5rem;
}

.auth-progress-seg {
    height: 3px;
    border-radius: 99px;
    background: #e2e8f0;
}

.auth-sheet-panel--register .auth-progress-seg {
    height: 3.5px;
}

.auth-progress-seg.is-done,
.auth-progress-seg.is-current {
    background: var(--auth-blue);
}

.auth-role-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.auth-role-tile { margin: 0; cursor: pointer; }
.auth-role-tile input { position: absolute; opacity: 0; pointer-events: none; }

.auth-role-tile-face {
    display: grid;
    grid-template-columns: 2.5rem 1fr;
    gap: 0.75rem;
    align-items: center;
    padding: 0.85rem 1rem;
    border: 1px solid var(--auth-line);
    border-radius: 0.75rem;
    background: #fff;
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.auth-role-tile:has(input:checked) .auth-role-tile-face {
    border-color: var(--auth-blue);
    background: #eff6ff;
    box-shadow: 0 0 0 3px var(--auth-blue-soft);
}

.auth-role-tile-index {
    font-family: var(--auth-display);
    font-size: 0.875rem;
    font-weight: 700;
    color: #94a3b8;
}

.auth-role-tile:has(input:checked) .auth-role-tile-index { color: var(--auth-blue); }

.auth-role-tile-copy {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.auth-role-tile-copy strong {
    font-size: 0.9rem;
    font-weight: 650;
    color: var(--auth-ink);
}

.auth-role-tile-copy small {
    font-size: 0.75rem;
    color: var(--auth-muted);
}

.auth-wizard-pane {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.auth-sheet-panel--register .auth-wizard-pane {
    gap: 1.45rem;
}

.auth-sheet-panel--register .auth-wizard-pane[data-pane="2"] {
    gap: 0.95rem;
}

.auth-sheet-panel--register .auth-wizard-pane[data-pane="2"] .auth-field-block {
    gap: 0.4rem;
}

.auth-sheet-panel--register .auth-wizard-pane[data-pane="2"] .auth-field-block + .auth-field-block {
    margin-top: 0;
}

.auth-otp-slot {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.2s, margin 0.2s, padding 0.2s;
}

/* Override auth-pages.css height:48px which clips the atelier OTP field */
.auth-split-page--atelier .auth-otp-slot {
    height: 0 !important;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin: 0 !important;
    padding: 0 !important;
}

.auth-split-page--atelier .auth-otp-slot.is-open {
    height: auto !important;
    max-height: 6.5rem;
    overflow: visible;
    opacity: 1;
    margin-top: 0.75rem !important;
    padding-top: 0.2rem !important;
}

.auth-otp-slot.is-open {
    max-height: 5.5rem;
    opacity: 1;
    margin-top: 0.65rem;
    padding-top: 0.15rem;
}

.auth-otp-inline {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.55rem;
    align-items: center;
}

.auth-split-page--atelier .auth-otp-inline {
    display: grid;
    align-items: center;
}

.auth-otp-inline .auth-field-input,
.auth-otp-inline .auth-soft-btn {
    min-height: 3rem;
    height: 3rem;
    box-sizing: border-box;
}

.auth-otp-inline.is-collapsed {
    display: none !important;
    visibility: hidden;
    pointer-events: none;
}

.auth-reveal { display: none; }
.auth-reveal.is-visible {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.auth-strength {
    display: grid;
    grid-template-columns: repeat(4, 1fr) auto;
    gap: 0.3rem;
    align-items: center;
}

.auth-strength[aria-hidden="true"] {
    opacity: 0;
    height: 0;
    margin: 0;
    overflow: hidden;
}

.auth-strength-bar {
    height: 3px;
    border-radius: 99px;
    background: #e2e8f0;
}

.auth-strength-bar.is-on { background: #f59e0b; }
.auth-strength[data-score="2"] .auth-strength-bar.is-on { background: #2563eb; }
.auth-strength[data-score="3"] .auth-strength-bar.is-on { background: #10b981; }
.auth-strength[data-score="4"] .auth-strength-bar.is-on { background: #047857; }

.auth-strength-label {
    font-size: 0.625rem;
    font-weight: 600;
    color: var(--auth-muted);
    margin-left: 0.25rem;
}

/* Onboarding pages sharing layout */
.auth-split-page--atelier .auth-card,
.auth-split-page--atelier .auth-card-panel--clean,
.auth-split-page--atelier .auth-card-panel--premium {
    width: 100%;
    max-width: 32rem;
    margin: 0 auto;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.auth-split-page--atelier .auth-card-head--clean h2,
.auth-split-page--atelier .auth-kicker + h2 {
    font-family: var(--auth-display);
    font-weight: 700;
    color: var(--auth-ink);
}

.auth-split-page--atelier .auth-kicker {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--auth-blue);
}

.auth-split-page--atelier .auth-readonly-field {
    background: var(--auth-soft) !important;
    color: var(--auth-muted);
}

/* Condensed 3-step onboarding progress */
.auth-onboard-progress {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin: 0 0 0.35rem;
}

.auth-onboard-progress-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
}

.auth-onboard-progress-meta {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--auth-blue);
}

.auth-onboard-progress-label {
    margin: 0;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--auth-muted);
}

.auth-progress-line--onboard {
    gap: 0.45rem;
}

.auth-progress-line--onboard .auth-progress-seg {
    height: 4px;
}

.auth-sheet-panel--onboard {
    width: 100%;
    max-width: 36rem;
    margin: 0 auto;
}

.auth-sheet-panel--onboard .auth-field-input,
.auth-sheet-panel--onboard .form-control.auth-field-input,
.auth-sheet-panel--onboard textarea.auth-field-input {
    min-height: 2.55rem;
    padding: 0.65rem 0.9rem;
    font-size: 0.875rem;
}

.auth-sheet-panel--onboard .auth-field-shell--action .auth-field-input,
.auth-sheet-panel--onboard .auth-field-shell--action .form-control.auth-field-input {
    min-height: 2.55rem;
}

.auth-sheet-panel--onboard .auth-field-action-btn {
    min-width: 5.25rem;
    font-size: 0.75rem;
}

.auth-field-shell--action {
    display: flex;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--auth-line);
    border-radius: 0.75rem;
    background: #fff;
    overflow: hidden;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.auth-field-shell--action:focus-within {
    border-color: var(--auth-blue);
    box-shadow: 0 0 0 3px var(--auth-blue-soft);
}

.auth-split-page--atelier .auth-field-shell--action .auth-field-input,
.auth-split-page--atelier .auth-field-shell--action .form-control.auth-field-input {
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    min-height: 2.55rem;
    flex: 1;
    min-width: 0;
}

.auth-field-action-btn {
    flex-shrink: 0;
    min-width: 5.75rem;
    padding: 0 1.1rem;
    border: 0;
    border-left: 1px solid var(--auth-line);
    background: var(--auth-blue);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 650;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.auth-field-action-btn:hover:not(:disabled) {
    background: #1d4ed8;
}

.auth-field-action-btn:disabled {
    opacity: 0.7;
    cursor: default;
}

.auth-field-action-btn.is-done {
    background: #ecfdf5;
    color: #047857;
    border-left-color: #a7f3d0;
}

.auth-field-action-btn.is-loading .auth-verify-btn-label {
    opacity: 0.85;
}

.auth-field-action-btn .auth-verify-spinner {
    display: none;
    width: 0.9rem;
    height: 0.9rem;
    margin-left: 0.4rem;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    vertical-align: -0.1rem;
    animation: auth-verify-spin 0.7s linear infinite;
}

.auth-field-action-btn.is-loading {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.auth-field-action-btn.is-loading .auth-verify-spinner {
    display: inline-block;
}

.auth-field-action-btn.is-done .auth-verify-spinner {
    display: none;
}

@keyframes auth-verify-spin {
    to { transform: rotate(360deg); }
}

.auth-gst-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.35rem;
}

.auth-gst-label-row .auth-field-label {
    margin-bottom: 0;
}

.auth-gst-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #047857;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
}

.auth-field-hint {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.72rem;
    color: var(--auth-muted, #64748b);
}

.auth-field-hint--ok {
    color: #047857;
    font-weight: 600;
}

.auth-sheet-panel--onboard .auth-status-slot.is-visible {
    display: block;
}

.auth-trust-note {
    margin: 0.15rem 0 0;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    line-height: 1.4;
    color: var(--auth-muted);
}

.auth-trust-note i {
    color: var(--auth-blue);
    font-size: 0.85rem;
}

.auth-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 0.85rem;
}

.auth-sheet-panel--onboard #businessDetailsForm > .auth-cta,
.auth-sheet-panel--onboard .auth-register-form > .auth-cta,
.auth-sheet-panel--onboard form > .auth-cta {
    margin-top: 1.25rem;
}

.auth-field-block--span {
    grid-column: 1 / -1;
}

.auth-form-locked {
    opacity: 0.55;
    pointer-events: none;
    filter: grayscale(0.05);
}

.auth-split-page--atelier:has(.auth-sheet-panel--onboard) .auth-atelier-body {
    justify-content: flex-start;
    align-items: center;
    overflow-y: auto;
    padding-top: 1.75rem;
    padding-bottom: 2rem;
}

@media (max-width: 640px) {
    .auth-field-grid {
        grid-template-columns: 1fr;
    }

    .auth-field-shell--action {
        flex-direction: column;
    }

    .auth-field-action-btn {
        min-height: 2.75rem;
        border-left: 0;
        border-top: 1px solid var(--auth-line);
        width: 100%;
    }
}

.auth-split-page--atelier .register-steps,
.auth-split-page--atelier .register-steps--premium {
    display: none; /* legacy bubble nav retired */
}

.auth-split-page--atelier .register-steps-note {
    margin: -0.15rem 0 0.85rem;
    font-size: 0.75rem;
    color: var(--auth-muted);
}

.auth-split-page--atelier:has(.auth-register-form) .auth-atelier-body,
.auth-split-page--atelier:has(.auth-sheet-panel--register .auth-onboard-progress) .auth-atelier-body,
.auth-split-page--atelier:has(.auth-sheet-panel--register .register-steps) .auth-atelier-body {
    overflow-y: auto;
    justify-content: flex-start;
}

@keyframes auth-fade-up {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .auth-swap-panel,
    .auth-wizard-pane { animation: none !important; }
}

/* Mobile */
@media (max-width: 1023.98px) {
    .auth-split-page--atelier {
        height: auto;
        max-height: none;
        min-height: 100dvh;
        overflow-x: hidden;
        overflow-y: auto;
    }

    .auth-atelier {
        height: auto;
        max-height: none;
        min-height: 100dvh;
        overflow: visible;
    }

    .auth-atelier-sheet {
        height: auto;
        min-height: 100dvh;
        overflow: visible;
    }

    .auth-atelier-body {
        overflow: visible;
        padding: 1.25rem 1.25rem 2rem;
    }

    .auth-field-split,
    .auth-otp-inline {
        grid-template-columns: 1fr;
        gap: 0.55rem;
    }

    .auth-soft-btn { width: 100%; }
}

@media (min-width: 1024px) and (max-width: 1180px) {
    .auth-stage-metrics {
        max-width: 28rem;
        gap: 0.55rem;
    }

    .auth-glass-card {
        min-height: 9.5rem;
        padding: 0.9rem 0.75rem 2.3rem;
    }
}

@media (min-width: 1024px) and (max-height: 760px) {
    .auth-stage-inner { padding: 1.2rem 1.5rem 0.65rem; }
    .auth-stage-body { gap: 0.9rem; padding-top: 0.35rem; padding-bottom: 1.75rem; }
    .auth-stage-main { gap: 0.7rem; max-width: 20rem; }
    .auth-stage-title { font-size: 1.75rem; }
    .auth-stage-lede { font-size: 0.8125rem; }
    .auth-stage-metrics { max-width: 28rem; }
    .auth-glass-card { min-height: 9rem; padding: 0.8rem 0.75rem 2.2rem; }
    .auth-stage-foot { margin-top: auto; }
    .auth-sheet-title { font-size: 1.5rem; }
    .auth-sheet-panel { gap: 1rem; }
    .auth-sheet-panel--register { gap: 1.25rem; }
    .auth-sheet-panel--register .auth-wizard-pane { gap: 1.15rem; }
    .auth-sheet-panel--register .auth-duo-nav { margin-top: 0.55rem; }
    .auth-sheet-form { gap: 0.85rem; }
}
