
    /* 27/11 (Daniel): the sign-up way — two big choices, one shown at a time */
    .reg-way { margin-bottom: 14px; } .reg-way-q { margin: 0 0 10px; font-weight: 600; color: #1E1B4B; }
    body.reg-open .oq-ccard { display: none; } /* 1/12: the currency bar covered «Siguiente» in the sign-up window */
    .reg-way-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
    .reg-way-opt { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px; border-radius: 16px; border: 1.5px solid #E4E0F7; background: #fff; color: #1E1B4B; text-align: left; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
    .reg-way-opt svg { color: #6C63FF; } .reg-way-opt b { font-size: 15px; } .reg-way-opt small { color: #5B5880; font-size: 13px; line-height: 1.35; }
    .reg-way-opt.is-on { border-color: #6C63FF; box-shadow: 0 0 0 3px rgba(108, 99, 255, .15); }
    html[data-theme="dark"] .reg-way-q { color: #fff; } html[data-theme="dark"] .reg-way-opt { background: #1B1640; border-color: #3A3470; color: #fff; }
    html[data-theme="dark"] .reg-way-opt small { color: #B9B4E6; } html[data-theme="dark"] .reg-way-opt svg { color: #C9C2FF; } html[data-theme="dark"] .reg-way-opt.is-on { border-color: #C9C2FF; box-shadow: 0 0 0 3px rgba(201, 194, 255, .18); }
    .reg-way-opt { padding: 18px; min-height: 120px; } .reg-way-opt b { font-size: 16px; }
    .reg-way-opt[hidden] { display: none !important; } /* 1/12: the phone card outside Spain */
    @media (max-width: 520px) { .reg-way-opts { grid-template-columns: 1fr; } .reg-way-opt { min-height: 0; } }
    .reg-step[data-q="How do you want to sign up?"] :is(.account-card, .reg-nav .reg-next),
    .reg-step[data-way="email"][data-q="signup_q_contact"] :is(.account-card, .reg-nav .reg-next),
    .reg-step[data-way="phone"] .reg-ml-card { display: none !important; }
    .reg-way-switch { margin-top: 12px; padding: 0; border: 0; background: none; color: #4F46E5; font-weight: 600; font-size: 14px; text-decoration: underline; text-transform: none !important; cursor: pointer; }
    html[data-theme="dark"] .reg-way-switch { color: #C9C2FF; }
    .reg-step { display: none; }
    .reg-ml-card, .reg-ml-done { margin-bottom: 16px; padding: 16px 18px; border-radius: 18px; border: 1px solid #ECE9FB; background: linear-gradient(135deg, #F1EEFF, #FCEFF6); }
    .reg-ml-card > b { display: block; color: #1E1B4B; font-size: 14px; } .reg-ml-card > small { color: #5B5880; font-size: 13px; }
    .reg-ml-card .oq-mlf-open { max-width: 320px; }
    /* 04/11 (#812 item 64): the e-mail button was a flat grey box — now a white field-style button like on the sign-in page */
    .reg-ml-card .oq-mlf-open { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; border-radius: 12px; background: #fff; border: 1px solid #E4E0F7; color: #1E1B4B; font-weight: 600; }
    .reg-ml-card .oq-mlf-open:hover { border-color: #4F46E5; color: #4F46E5; background: #fff; }
    html[data-theme="dark"] .reg-ml-card .oq-mlf-open { background: #1B1640; border-color: #3A3470; color: #fff; }
    html[data-theme="dark"] #tandc { border-color: #8F89C9; background-color: transparent; } html[data-theme="dark"] #tandc:checked { background-color: #E8C878; border-color: #E8C878; }
    /* 04/11 (Daniel: "page load asymmetric"): an old `.card { margin: 20px }` pushed the step cards 20 px in — the e-mail box,
       the cards, the terms line and the buttons now share one left and right edge */
    #registration-wizard .account-card, #registration-wizard .availability-card { margin-left: 0 !important; margin-right: 0 !important; }
    /* night: main buttons are gold, as on the sign-in page */
    html[data-theme="dark"] #registration-wizard :is(.reg-nav .reg-next, #reg-submit, #documents-submit), html[data-theme="dark"] #reg-success .btn { background: #E8C878 !important; border-color: #E8C878 !important; color: #1B1640 !important; box-shadow: 0 6px 20px rgba(232, 200, 120, .18); }
    .reg-ml-done { display: flex; gap: 10px; align-items: flex-start; background: #ECFDF5; border-color: #BBF7D0; color: #166534; font-size: 13px; }
    .reg-ml-done b { display: block; font-size: 14px; } .reg-ml-done svg { flex: none; margin-top: 2px; }
    html[data-theme="dark"] .reg-ml-card { background: linear-gradient(135deg, #211D44, #2A1A3A); border-color: #2A2650; } html[data-theme="dark"] .reg-ml-card > b { color: #fff; } html[data-theme="dark"] .reg-ml-card > small { color: #A9A5D1; }
    html[data-theme="dark"] .reg-ml-done { background: #12291F; border-color: #1F4A33; color: #86EFAC; }
    .reg-step.active { display: block; }

    /* ── Booking-reference panel language (wizard-scoped) ──────────
       The shared account-card reads as a settings card (header band +
       filled body); the reference form is one airy glass panel with an
       eyebrow heading and inputs DARKER than the panel. The account
       edit pages keep the stock card — everything here is scoped to
       the wizard. */
    #registration-wizard .account-card,
    #registration-wizard .availability-card {
        border-radius: 22px;
        border: 1px solid rgba(var(--theme-primary-rgb, 79, 70, 229), 0.22);
        background: rgba(255, 255, 255, 0.5);
        box-shadow: none;
    }
    #registration-wizard .account-card-header,
    #registration-wizard .availability-card .availability-card-header {
        background: transparent !important;
        border-bottom: 0 !important;
        padding: 1.6rem 1.75rem 0.15rem;
    }
    /* Eyebrow heading: dash + letterspaced brand caps (— PERSONAL DETAIL). */
    #registration-wizard .account-card-title {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 2px;
        text-transform: uppercase;
        /* !important — the dark account-card title repaint outguns the id. */
        color: var(--theme-primary-light, #6366f1) !important;
    }
    /* Fading rounded dash (same language as .bc-hero-divider's hairline)
       with a soft brand glow — the flat solid tick read unfinished. */
    #registration-wizard .account-card-title::before {
        content: '';
        width: 36px;
        height: 2px;
        border-radius: 999px;
        background: linear-gradient(90deg, transparent, currentColor);
        filter: drop-shadow(0 0 6px rgba(var(--theme-primary-rgb, 79, 70, 229), 0.55));
    }
    #registration-wizard .account-card-body,
    #registration-wizard .availability-card .availability-card-body {
        background: transparent !important;
        border-radius: 0 0 22px 22px;
        padding: 1.1rem 1.75rem 1.75rem;
    }
    /* Inputs sit INTO the panel: darker inset fill, near-invisible border.
       TomSelect controls (category/skills/languages) are inputs too — same
       chrome, or they read as a different control family. */
    #registration-wizard .form-control,
    #registration-wizard .form-select,
    #registration-wizard .ts-wrapper .ts-control {
        background-color: rgba(31, 27, 84, 0.05) !important;
        border-color: rgba(31, 27, 84, 0.10) !important;
    }
    [data-theme="dark"] #registration-wizard .account-card,
    [data-theme="dark"] #registration-wizard .availability-card {
        background: rgba(255, 255, 255, 0.03) !important;
        border-color: rgba(var(--theme-primary-rgb, 79, 70, 229), 0.26) !important;
    }
    /* Success panel — lives OUTSIDE the form, so the #registration-wizard
       glass rules never reach it. Same panel chrome, brand-tinted note. */
    #reg-success {
        border-radius: 22px !important;
        border: 1px solid rgba(var(--theme-primary-rgb, 79, 70, 229), 0.22) !important;
        background: rgba(255, 255, 255, 0.5) !important;
        box-shadow: none !important;
        overflow: hidden;
    }
    #reg-success .account-card-body {
        background: transparent !important;
        border-radius: 22px;
    }
    #reg-success .alert-info {
        background: rgba(var(--theme-primary-rgb, 79, 70, 229), 0.08) !important;
        border: 1px solid rgba(var(--theme-primary-rgb, 79, 70, 229), 0.22) !important;
        color: var(--theme-text-muted, #4b5563) !important;
        border-radius: 12px;
    }
    [data-theme="dark"] #reg-success {
        background: rgba(255, 255, 255, 0.03) !important;
        border-color: rgba(var(--theme-primary-rgb, 79, 70, 229), 0.26) !important;
    }
    [data-theme="dark"] #reg-success .alert-info {
        background: rgba(var(--theme-primary-rgb, 79, 70, 229), 0.12) !important;
        border-color: rgba(var(--theme-primary-rgb, 79, 70, 229), 0.28) !important;
        color: var(--theme-text, #e8eaed) !important;
    }

    /* Documents action bar (shared partial ships .account-sticky-bar —
       frosted on the account shell, a bare slab here without this). */
    #registration-wizard .account-sticky-bar {
        border-radius: 16px;
        border: 1px solid rgba(31, 27, 84, 0.12);
        background: rgba(245, 245, 253, 0.86);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        box-shadow: 0 -6px 24px rgba(31, 27, 84, 0.10);
        bottom: 10px;
    }
    [data-theme="dark"] #registration-wizard .account-sticky-bar {
        background: rgba(23, 19, 50, 0.84) !important;
        border: 1px solid rgba(var(--theme-primary-rgb, 79, 70, 229), 0.28) !important;
        box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.45) !important;
    }
    [data-theme="dark"] #registration-wizard .form-control,
    [data-theme="dark"] #registration-wizard .form-select,
    [data-theme="dark"] #registration-wizard .ts-wrapper .ts-control {
        background-color: rgba(0, 0, 0, 0.28) !important;
        border-color: rgba(255, 255, 255, 0.07) !important;
    }

    /* Phone group — it rendered as its own two-part control (white/slate
       flag chip + separately bordered input, 8px radii) next to the inset
       fields. The GROUP now carries the field chrome; the chip + input
       inside go flat with only a hairline separator between them. */
    #registration-wizard .phone-input-group {
        background-color: rgba(31, 27, 84, 0.05);
        border: 1px solid rgba(31, 27, 84, 0.10);
        border-radius: 12px;
        min-height: 48px;
        overflow: hidden; /* country dropdown mounts on <body>, safe */
    }
    /* 11/11 (Daniel: «phone is bigger than others»): the phone field has the height of the fields next to it,
       42 px, and 46 px on phones (calm-styles); the flag and the number fill it. */
    html:root body:not(#x#y) #registration-wizard .phone-input-group { box-sizing: border-box; height: 42px; min-height: 0 !important; }
    @media (max-width: 575.98px) { html:root body:not(#x#y) #registration-wizard .phone-input-group { height: 46px; } }
    html:root body:not(#x#y) #registration-wizard .phone-input-group > :is(.ts-wrapper, .phone-input, .form-control),
    html:root body:not(#x#y) #registration-wizard .phone-input-group .ts-wrapper .ts-control { height: 100% !important; min-height: 0 !important; }
    #registration-wizard .phone-input-group .form-control,
    #registration-wizard .phone-input-group .phone-input {
        background-color: transparent !important;
        border: 0 !important;
        border-radius: 0 !important;
    }
    #registration-wizard .phone-input-group .ts-wrapper {
        background: transparent !important;
        border: 0 !important;
        border-right: 1px solid rgba(31, 27, 84, 0.10) !important;
        border-radius: 0 !important;
    }
    /* Static addon groups (the € prefix on earnings) — same flatten as the
       phone group: chrome on the group, addon is muted text. */
    #registration-wizard .input-group:not(.phone-input-group) {
        background-color: rgba(31, 27, 84, 0.05);
        border: 1px solid rgba(31, 27, 84, 0.10);
        border-radius: 12px;
        min-height: 48px;
        overflow: hidden;
    }
    #registration-wizard .input-group:not(.phone-input-group) .input-group-text {
        background: transparent;
        border: 0;
        color: var(--theme-text-muted, #6b7280);
    }
    #registration-wizard .input-group:not(.phone-input-group) .form-control {
        background-color: transparent !important;
        border: 0 !important;
        border-radius: 0 !important;
    }
    [data-theme="dark"] #registration-wizard .input-group:not(.phone-input-group) {
        background-color: rgba(0, 0, 0, 0.28) !important;
        border: 1px solid rgba(255, 255, 255, 0.07) !important;
    }
    [data-theme="dark"] #registration-wizard .input-group:not(.phone-input-group) .input-group-text {
        background: transparent !important;
        border: 0 !important;
        color: var(--theme-text-muted) !important;
    }

    /* The +34 chip: TomSelect's control + item both carry their own fills
       from the dark theming — flatten so the chip sits IN the field. The
       dark-scoped variants must repeat: the generic dark ts-control chrome
       above out-specifies the light-scoped flatten. */
    #registration-wizard .phone-input-group .ts-control,
    #registration-wizard .phone-input-group .ts-control .item,
    [data-theme="dark"] #registration-wizard .phone-input-group .ts-control,
    [data-theme="dark"] #registration-wizard .phone-input-group .ts-control .item {
        background: transparent !important;
        background-color: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        /* the brand-chip recolor for multi-select items must not tint the
           +34 prefix — it's part of the field, not a selection chip */
        color: inherit !important;
    }
    [data-theme="dark"] #registration-wizard .phone-input-group {
        background-color: rgba(0, 0, 0, 0.28) !important;
        border: 1px solid rgba(255, 255, 255, 0.07) !important;
    }
    /* The inner input is flattened (border 0), so its .is-invalid border
       can't paint — the error ring goes on the group, like other fields. */
    #registration-wizard .phone-input-group:has(.is-invalid) {
        border-color: rgba(240, 68, 56, 0.65) !important;
        box-shadow: 0 0 0 3px rgba(240, 68, 56, 0.12) !important;
    }
    [data-theme="dark"] #registration-wizard .phone-input-group:has(.is-invalid) {
        border-color: rgba(249, 112, 102, 0.7) !important;
        box-shadow: 0 0 0 3px rgba(249, 112, 102, 0.14) !important;
    }
    [data-theme="dark"] #registration-wizard .phone-input-group .ts-wrapper {
        border-right-color: rgba(255, 255, 255, 0.07) !important;
    }

    /* Booking-form field language — uppercase micro-labels on the wizard's
       fields (mirrors .bc-label; the .form-check-label agree line is
       excluded — uppercase legal copy reads shouty). */
    #registration-wizard .form-label {
        font-size: 12px;
        font-weight: 600;
        letter-spacing: 0.09em;
        text-transform: uppercase;
        color: var(--theme-text-muted, #6b7280);
    }
    .red-color { color: #dc3545; }

    /* TomSelect controls: the visible 12px silhouette is the wrapper, but
       borders/rings paint on .ts-control (6px default) — corners disagree
       the moment the invalid ring shows. Keep them congruent. */
    #registration-wizard .ts-wrapper .ts-control { border-radius: 12px; }

    /* Legal links in the agree line — brand ink, not the legacy red. */
    .reg-legal-link {
        color: var(--theme-primary, #4f46e5);
        font-weight: 600;
        text-decoration: underline;
        text-underline-offset: 2px;
    }
    .reg-legal-link:hover { color: var(--theme-primary-light, #6366f1); }
    [data-theme="dark"] .reg-legal-link { color: var(--theme-primary-light, #818cf8); }
    [data-theme="dark"] .reg-legal-link:hover { color: #a5b4fc; }

    /* Inline per-field validation message (under the failing field). The
       photo error box shares the look — its .profile-image-error styling
       is scoped to the account pages and doesn't reach the wizard. */
    .reg-field-error,
    #registration-wizard .profile-image-error {
        color: #dc2626;
        font-size: 12px;
        font-weight: 400;
        margin-top: 0.3rem;
        line-height: 1.3;
    }
    [data-theme="dark"] #registration-wizard .profile-image-error { color: #f97066; }
    .form-control.is-invalid,
    .is-invalid > .ts-control {
        border-color: rgba(240, 68, 56, 0.65) !important;
        box-shadow: 0 0 0 3px rgba(240, 68, 56, 0.12) !important;
    }
    /* On the night glass the bootstrap red sinks — lift the ink. */
    [data-theme="dark"] .reg-field-error { color: #f97066; }
    [data-theme="dark"] #registration-wizard .form-control.is-invalid,
    [data-theme="dark"] #registration-wizard .is-invalid > .ts-control {
        border-color: rgba(249, 112, 102, 0.7) !important;
        box-shadow: 0 0 0 3px rgba(249, 112, 102, 0.14) !important;
    }

    .otp-input {
        text-align: center; font-size: 1.25rem; width: 100%; height: 3rem;
        border-radius: 0.5rem; border: 1px solid #d1d5db;
        transition: border-color 0.2s ease-in-out;
    }
    .otp-input:focus {
        outline: none; border-color: var(--theme-primary, #4F46E5);
        box-shadow: 0 0 0 3px rgba(32, 118, 120, 0.25);
    }

    /* ── Progress bar ───────────────────────────────────────── */
    /* ── Stepper — the track runs THROUGH the step dots (absolute line
       behind the row), indigo gradient fill, brand dot states. The old
       look was legacy chrome: white slab track + green fill + floating
       white circles. */
    .reg-progress { position: relative; margin-bottom: 1.75rem; }
    .reg-progress-track {
        position: absolute;
        top: 15px;               /* dot centre (32px dot) minus half track */
        left: 8.33%; right: 8.33%; /* half a 6-step cell — line ends at the outer dots */
        height: 3px;
        border-radius: 999px;
        background: rgba(var(--theme-primary-rgb, 79, 70, 229), 0.15);
        overflow: hidden;
    }
    .reg-progress-fill {
        height: 100%;
        background: linear-gradient(90deg, var(--theme-primary, #4f46e5), var(--theme-primary-light, #6366f1));
        border-radius: 999px;
        transition: width 0.25s ease;
    }
    .reg-progress-steps {
        position: relative;      /* row paints above the track */
        list-style: none; display: flex; gap: 4px; padding: 0; margin: 0;
    }
    .reg-progress-steps li {
        flex: 1 1 0; min-width: 0; text-align: center; font-size: 12px;
        color: var(--theme-text-muted, #9aa0aa);
        display: flex; flex-direction: column; align-items: center;
        gap: 7px; cursor: default;
    }
    .reg-progress-steps li .reg-step-num {
        width: 32px; height: 32px; border-radius: 50%;
        display: inline-flex; align-items: center; justify-content: center;
        /* Lufga's ascent/descent asymmetry floats digit ink ~1px above
           geometric center — compensate (digits have no descenders). */
        padding-top: 2px;
        font-weight: 700; font-size: 12px;
        background: var(--theme-surface, #fff); /* opaque — masks the track */
        border: 1px solid rgba(var(--theme-primary-rgb, 79, 70, 229), 0.25);
        color: var(--theme-text-muted, #9aa0aa);
        transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    }
    [data-theme="dark"] .reg-progress-steps li .reg-step-num {
        background: #171332;     /* indigo-night, not the slate surface */
    }
    .reg-progress-steps li.is-done .reg-step-num {
        background: var(--theme-primary, #4f46e5) !important;
        border-color: var(--theme-primary, #4f46e5);
        color: #fff;
    }
    .reg-progress-steps li.is-current { color: var(--theme-primary-light, #6366f1); font-weight: 600; }
    .reg-progress-steps li.is-current .reg-step-num {
        background: var(--theme-primary, #4f46e5) !important;
        border-color: var(--theme-primary, #4f46e5);
        color: #fff;
        box-shadow: 0 0 0 4px rgba(var(--theme-primary-rgb, 79, 70, 229), 0.22);
    }
    .reg-progress-steps li.is-reachable { cursor: pointer; }
    @media (max-width: 575.98px) {
        /* six labels can't fit — keep just the dots + line on phones */
        .reg-progress-steps li > span:last-child { display: none; }
    }

    /* ── OTP modal — popover family (frost + brand hairline), inset
       fields with the brand focus ring. It lives outside the wizard
       <form>, so the #registration-wizard field rules don't reach it. */
    #otpModal .modal-content {
        background: rgba(245, 245, 253, 0.92);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border: 1px solid rgba(var(--theme-primary-rgb, 79, 70, 229), 0.24);
        border-radius: 16px;
        box-shadow:
            0 24px 80px rgba(31, 27, 84, 0.30),
            0 0 40px rgba(var(--theme-primary-rgb, 79, 70, 229), 0.12);
    }
    #otpModal .form-control {
        min-height: 48px;
        border-radius: 12px;
        background-color: rgba(31, 27, 84, 0.05);
        border: 1px solid rgba(31, 27, 84, 0.10);
    }
    #otpModal .form-control:focus {
        outline: 0;
        border-color: rgba(var(--theme-primary-rgb, 79, 70, 229), 0.6);
        box-shadow: 0 0 0 3px rgba(var(--theme-primary-rgb, 79, 70, 229), 0.15);
    }
    [data-theme="dark"] #otpModal .modal-content {
        background: rgba(23, 19, 50, 0.9) !important;
        border-color: rgba(var(--theme-primary-rgb, 79, 70, 229), 0.28) !important;
        box-shadow:
            0 24px 80px rgba(0, 0, 0, 0.60),
            0 0 0 1px rgba(255, 255, 255, 0.04),
            0 0 56px rgba(var(--theme-primary-rgb, 79, 70, 229), 0.18) !important;
    }
    [data-theme="dark"] #otpModal .form-control {
        background-color: rgba(0, 0, 0, 0.28) !important;
        border-color: rgba(255, 255, 255, 0.07) !important;
    }

    .reg-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 1.25rem; }
    .reg-nav .reg-prev { visibility: hidden; }

    /* Nav CTAs on the brand pill form (mirrors .bc-generate): rounded-full,
       brand fill + soft shadow, and the lift + bloom halo on hover. Keeps
       the .reg-next/.reg-prev hooks the wizard JS drives. */
    #registration-wizard .reg-nav .reg-next,
    #registration-wizard #reg-submit,
    #registration-wizard #documents-submit,
    #reg-success .btn {
        border-radius: 999px !important;
        padding: 12px 34px !important;
        font-size: 14px;
        font-weight: 600;
        color: #fff !important;
        background: var(--theme-primary, #4f46e5) !important;
        border: 1px solid var(--theme-primary, #4f46e5) !important;
        box-shadow: 0 6px 20px rgba(var(--theme-primary-rgb, 79, 70, 229), 0.25);
        transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
            box-shadow 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    }
    #registration-wizard .reg-nav .reg-next:hover:not(:disabled),
    #registration-wizard #reg-submit:hover:not(:disabled),
    #registration-wizard #documents-submit:hover:not(:disabled),
    #reg-success .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 14px 40px rgba(var(--theme-primary-rgb, 79, 70, 229), 0.35),
            0 0 0 6px rgba(var(--theme-primary-rgb, 79, 70, 229), 0.12);
    }
    #registration-wizard .reg-nav .reg-next:disabled,
    #registration-wizard #reg-submit:disabled,
    #registration-wizard #documents-submit:disabled { opacity: 0.55; }
    #registration-wizard .reg-nav .reg-prev,
    #registration-wizard .account-sticky-bar .btn-outline-secondary {
        border-radius: 999px !important;
        padding: 12px 28px !important;
        font-size: 14px;
        font-weight: 600;
        border: 1px solid var(--theme-border-strong, #cbd5e1) !important;
        color: var(--theme-text, #1f2937) !important;
        background: transparent !important;
        transition: border-color 0.2s ease, color 0.2s ease;
    }
    #registration-wizard .reg-nav .reg-prev:hover,
    #registration-wizard .account-sticky-bar .btn-outline-secondary:hover {
        border-color: var(--theme-primary, #4f46e5) !important;
        color: var(--theme-primary, #4f46e5) !important;
    }
    .reg-step[data-step="1"] .reg-nav { justify-content: flex-end; }
    .reg-ref { margin-top: 14px; } .reg-ref summary { display: inline-flex; align-items: center; gap: 6px; color: #4F46E5; font-size: 14px; font-weight: 600; cursor: pointer; list-style: none; } .reg-ref summary::-webkit-details-marker { display: none; }
    .reg-ref input { display: block; width: 100%; max-width: 360px; height: 46px; margin-top: 8px; padding: 0 16px; border: 1.5px solid #E4DFFB; border-radius: 999px; background: #fff; font: inherit; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
    .reg-ref input:focus { outline: 0; border-color: #4F46E5; box-shadow: 0 0 0 3px rgba(79, 70, 229, .12); } .reg-ref small { display: block; margin-top: 6px; color: #5B5880; font-size: 12px; }
    [data-theme="dark"] .reg-ref input { background: #1B1640; border-color: rgba(232, 200, 120, .25); color: #EDE8FF; } [data-theme="dark"] .reg-ref summary { color: #E8C878; }

    /* The shared account partials ship their own .account-card styling
       (loaded with the account scss bundle). Pull that bundle in below. */

