/* Seller onboarding - uses tokens from site.css / auth.css where available */
.onb-page {
    --onb-primary: var(--auth-primary, #7d5b81);
    --onb-bg: var(--auth-bg, var(--jbf-canvas));
    --onb-surface: var(--auth-card-bg, #fff);
    --onb-border: var(--auth-card-border, #e6e8e9);
    --onb-radius: var(--auth-card-radius, 14px);
    --onb-shadow: var(--auth-card-shadow, 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1));
    --onb-text: var(--auth-text-default, #021922);
    --onb-muted: var(--auth-text-muted, #4e5e65);
    --onb-subtle: var(--auth-text-subtle, #808c91);
    --onb-solid: var(--auth-text-solid, #35474e);
    --onb-font: var(--auth-font, var(--font-overpass, 'Overpass', sans-serif));
    --onb-btn-radius: var(--auth-btn-radius, 8px);
    --onb-info-bg: rgba(229, 246, 255, 0.4);
    --onb-info-border: rgba(0, 163, 255, 0.3);
    --onb-lavender: var(--rz-primary-lighter, #f2ebf3);
    --onb-success: #166534;
    --onb-success-bg: #dcfce7;
    --onb-success-ring: #bbf7d0;

    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: var(--onb-bg);
    font-family: var(--onb-font);
}

.onb-page *,
.onb-page *::before,
.onb-page *::after {
    box-sizing: border-box;
}

.onb-app-header-wrap {
    flex-shrink: 0;
    background: #fff;
    /* No border here - AppHeader's .app-header (in AppHeader.razor) now
       paints the global 4px plum bottom border + drop shadow on every
       host (PublicLayout, OnboardingShellLayout, MainLayout). Adding
       a border on this wrapper would create a visual double-line. */
}

.onb-body {
    flex: 1 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

/* AuthFooter (matching BlankLayout + auth.css; scoped under .onb-page for onboarding routes) */
.onb-page > .auth-footer,
.onb-page .auth-footer.onb-footer {
    width: 100%;
    flex-shrink: 0;
    margin-top: auto;
    background: var(--onb-primary);
    padding-top: 50px;
    text-align: center;
}

.onb-page > .auth-footer p,
.onb-page .auth-footer.onb-footer p {
    margin: 0;
    padding: 18px;
    font-family: 'Open Sans', var(--auth-font, 'Overpass', sans-serif);
    font-weight: 600;
    font-size: 12px;
    line-height: 20px;
    color: var(--rz-white, #ffffff);
}

.onb-page .auth-footer .auth-footer-link {
    color: var(--rz-white, #ffffff);
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

.onb-page .auth-footer .auth-footer-link:hover {
    color: rgba(255, 255, 255, 0.9);
}

/* xs/sm tier (≤ --bp-md = 768). 767.98 mirrors --bp-md; @media can't deref vars. */
@media (max-width: 767.98px) {
    .onb-page > .auth-footer,
    .onb-page .auth-footer.onb-footer {
        padding-top: 12px;
    }

    .onb-page > .auth-footer p,
    .onb-page .auth-footer.onb-footer p {
        padding: 14px 16px;
        font-size: 11px;
        line-height: 18px;
    }
}

/* -- Top bar: stepper only (event title is now rendered centered in AppHeader
   via OnboardingHeaderState, so this block only has to hold the stepper). -- */
.onb-top {
    background: #fff;
    border-bottom: 1px solid var(--onb-border);
    padding: 28px 96px 18px;
}

.onb-event-daterange {
    font-size: 14px;
    font-weight: 400;
    color: var(--onb-subtle);
    line-height: 1.3;
}

/* -- Stepper (7 steps) -- */
.onb-stepper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    max-width: 1216px;
    margin: 0 auto;
}

.onb-stepper__segment {
    display: flex;
    align-items: center;
    flex: 1 1 0;
    min-width: 0;
}

.onb-stepper__segment--last {
    flex: 0 0 auto;
    width: auto;
}

.onb-stepper__node {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.onb-stepper__circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
}

.onb-stepper__circle--done {
    background: var(--onb-primary);
    color: #fff;
}

.onb-stepper__circle--active {
    background: var(--onb-primary);
    color: #fff;
}

.onb-stepper__circle--upcoming {
    background: var(--onb-bg);
    color: var(--onb-subtle);
}

.onb-stepper__check {
    width: 20px;
    height: 20px;
    display: block;
}

.onb-stepper__label {
    margin-top: 8px;
    font-size: 12px;
    font-weight: 500;
    color: var(--onb-subtle);
    text-align: center;
    white-space: nowrap;
}

.onb-stepper__label--active {
    color: var(--onb-text);
    font-weight: 600;
}

.onb-stepper__line-wrap {
    flex: 1 1 auto;
    min-width: 8px;
    padding: 0 8px;
    align-self: flex-start;
    display: flex;
    align-items: center;
    height: 40px;
    box-sizing: border-box;
}

.onb-stepper__line {
    height: 2px;
    width: 100%;
    background: var(--onb-border);
}

.onb-stepper__line--done {
    background: var(--onb-primary);
}

/* -- Content shell -- */
.onb-content {
    padding: 32px 32px 48px;
    max-width: 896px;
    margin: 0 auto;
    width: 100%;
}

.onb-content--wide {
    max-width: 1060px;
}

.onb-title-block {
    text-align: center;
    margin-bottom: 32px;
}

.onb-title {
    font-size: 30px;
    font-weight: 700;
    color: var(--onb-text);
    margin: 0 0 8px;
    line-height: 1.2;
}

.onb-subtitle {
    font-size: 16px;
    color: var(--onb-muted);
    margin: 0;
    line-height: 1.5;
}

.onb-info-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    margin-bottom: 32px;
    background: var(--onb-info-bg);
    border: 1px solid var(--onb-info-border);
    border-radius: var(--onb-btn-radius);
    max-width: 1152px;
    margin-left: auto;
    margin-right: auto;
}

.onb-info-banner__icon {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    color: #00a3ff;
}

.onb-info-banner__text {
    margin: 0;
    font-size: 16px;
    color: var(--onb-text);
    line-height: 1.5;
}

/* -- Buttons -- */
.onb-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.onb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 35px;
    padding: 10px 20px;
    border-radius: var(--onb-btn-radius);
    font-family: var(--onb-font);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.onb-btn--back {
    background: #fff;
    border: 1px solid var(--onb-subtle);
    color: var(--onb-muted);
    padding-inline: 16px;
}

.onb-btn--primary {
    background: var(--rz-primary-dark, var(--onb-primary));
    color: #fff;
}

/* Pin hover/focus/visited text to white so the global `a:hover` rule in
   site.css (which sets color to --rz-link-hover-color) can't turn the label
   into low-contrast text on the plum background. */
.onb-btn--primary:hover,
.onb-btn--primary:focus,
.onb-btn--primary:visited {
    color: #fff;
    opacity: 0.92;
}

.onb-btn--primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* -- Cards -- */
.onb-card {
    background: var(--onb-surface);
    border: 1px solid var(--onb-border);
    border-radius: var(--onb-radius);
    box-shadow: var(--onb-shadow);
    padding: 25px;
}

.onb-card--muted {
    background: var(--onb-lavender);
    border-color: rgba(125, 91, 129, 0.35);
}

/* -- Step 1: Select event -- */
.onb-search-bar {
    background: var(--onb-lavender);
    border: 1px solid var(--onb-border);
    border-radius: 10px;
    padding: 9px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
}

.onb-search-input-wrap {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border-radius: 8px;
    padding: 10px 12px;
    height: 40px;
    box-sizing: border-box;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.onb-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
    font-family: var(--onb-font);
    color: var(--onb-text);
    min-width: 0;
    background: transparent;
}

.onb-search-input::placeholder {
    color: var(--onb-muted);
}

.onb-search-divider {
    width: 1px;
    height: 24px;
    background: var(--events-border-color);
    flex-shrink: 0;
}

.onb-distance-combo {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #fff;
    border-radius: 8px;
    padding: 8px 12px;
    height: 36px;
    box-sizing: border-box;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
    white-space: nowrap;
}

.onb-distance-combo__label {
    font-size: 14px;
    color: var(--onb-subtle);
}

.onb-distance-combo__select {
    border: none;
    background: transparent;
    font-family: var(--onb-font);
    font-size: 14px;
    color: var(--onb-text);
    outline: none;
    cursor: pointer;
    padding: 0;
}

.onb-view-toggle {
    display: flex;
    gap: 8px;
    background: var(--onb-bg);
    border-radius: 10px;
    padding: 4px;
    flex-shrink: 0;
}

.onb-view-toggle__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 8px;
    border: none;
    background: transparent;
    cursor: pointer;
    color: var(--onb-solid);
}

.onb-view-toggle__btn--active {
    background: #fff;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
}

.onb-event-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* xs/sm/md tiers (≤ --bp-lg = 1024). */
@media (max-width: 1023.98px) {
    .onb-event-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* xs/sm tier (≤ --bp-md = 768). 767.98 mirrors --bp-md; @media can't deref vars. */
@media (max-width: 767.98px) {
    .onb-event-grid {
        grid-template-columns: 1fr;
    }

    .onb-search-bar {
        flex-wrap: wrap;
    }

    .onb-top {
        padding: 24px 20px 14px;
    }

    .onb-stepper__label {
        font-size: 10px;
        white-space: normal;
        max-width: 56px;
    }
}

.onb-event-card {
    background: #fff;
    border: 1px solid var(--onb-border);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    text-align: left;
    font: inherit;
    transition: border-color 0.15s;
    padding: 0;
}

.onb-event-card:hover {
    border-color: #c4c8ca;
}

.onb-event-card--selected {
    border-color: var(--onb-border);
}

.onb-event-card__body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.onb-event-card__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
}

.onb-event-card__title {
    font-size: 16px;
    font-weight: 600;
    color: var(--onb-text);
    margin: 0;
    line-height: 24px;
}

.onb-event-card__radio {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1.27px solid #c4c8ca;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    margin-top: 2px;
}

.onb-event-card__radio--checked {
    border-color: var(--onb-primary);
}

.onb-event-card__radio-fill {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--onb-primary);
    display: block;
}

.onb-event-card__heart-icon {
    flex-shrink: 0;
}

.onb-event-card__info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.onb-event-card__info-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.onb-event-card__svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.onb-event-card__loc {
    display: flex;
    flex-direction: column;
}

.onb-event-card__venue {
    font-size: 14px;
    color: var(--onb-muted);
    line-height: 20px;
}

.onb-event-card__dist {
    font-size: 14px;
    font-weight: 400;
    color: var(--onb-text);
    line-height: 20px;
}

.onb-event-card__dates {
    font-size: 14px;
    color: var(--onb-muted);
    line-height: 20px;
}

.onb-event-card__coming-section {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.onb-event-card__section-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--onb-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 16px;
}

.onb-event-card__footer {
    display: flex;
    gap: 16px;
    justify-content: center;
    background: var(--onb-lavender);
    border-top: 1px solid var(--jbf-purple);
    padding: 25px 24px 24px;
}

.onb-event-card__fee-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.onb-event-card__fee-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--onb-muted);
    line-height: 16px;
}

.onb-event-card__fee-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--onb-text);
    line-height: 28px;
}

.onb-event-card__coming-pill {
    background: var(--onb-lavender);
    border-radius: 10px;
    padding: 12px 16px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: var(--onb-muted);
    line-height: 20px;
}

/* -- Map view -- */
.onb-map-container {
    display: flex;
    background: #fff;
    border: 1px solid var(--onb-border);
    border-radius: 10px;
    overflow: hidden;
    min-height: 600px;
}

.onb-map-sidebar {
    width: 320px;
    flex-shrink: 0;
    border-right: 1px solid var(--onb-border);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    z-index: 1;
    background: #fff;
    border-radius: 10px 0 0 10px;
}

.onb-map-sidebar__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
}

.onb-map-sidebar__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--onb-text);
    line-height: 28px;
    margin: 0;
}

.onb-map-sidebar__close {
    flex-shrink: 0;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--onb-muted);
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.onb-map-sidebar__info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 6px;
}

.onb-map-sidebar__row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.onb-map-sidebar__loc {
    display: flex;
    flex-direction: column;
}

.onb-map-sidebar__loc-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--onb-text);
    line-height: 20px;
}

.onb-map-sidebar__loc-addr {
    font-size: 12px;
    color: var(--onb-muted);
    line-height: 16px;
}

.onb-map-sidebar__loc-dist {
    font-size: 12px;
    color: var(--onb-muted);
    line-height: 16px;
    margin-top: 4px;
}

.onb-map-sidebar__date {
    font-size: 14px;
    color: var(--onb-text);
    line-height: 20px;
}

.onb-map-sidebar__select-btn {
    width: 100%;
}

.onb-map-area {
    flex: 1;
    background: linear-gradient(180deg, #e8eef2 0%, #dde4ea 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 0 10px 10px 0;
}

.onb-map-area__placeholder {
    color: var(--onb-subtle);
    font-size: 14px;
}

/* xs/sm tier (≤ --bp-md = 768). 767.98 mirrors --bp-md; @media can't deref vars. */
@media (max-width: 767.98px) {
    .onb-map-container {
        flex-direction: column;
    }

    .onb-map-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--onb-border);
        border-radius: 10px 10px 0 0;
    }

    .onb-map-area {
        min-height: 300px;
        border-radius: 0 0 10px 10px;
    }
}

/* -- Preferences -- */
/* Figma 7006:28837 - Event Details card */
.onb-card.onb-card--muted.onb-pref-summary {
    margin: 0 auto 24px;
    box-sizing: border-box;
    background: var(--onb-lavender);
    border: 1px solid var(--onb-primary);
    border-left-width: 4px;
    border-radius: 8px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    padding: 25px 25px 25px 28px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.onb-pref-summary__title {
    margin: 0;
    font-family: var(--onb-font);
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    color: var(--onb-text);
}

.onb-pref-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    min-height: 20px;
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: var(--onb-font);
    font-size: 14px;
    line-height: 20px;
}

.onb-pref-row__label {
    font-weight: 400;
    color: var(--onb-muted);
}

.onb-pref-row__value {
    font-weight: 700;
    color: var(--onb-text);
    text-align: right;
}

.onb-pref-questions {
    margin: 0 auto;
    background: var(--onb-lavender);
    border-radius: var(--onb-radius);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.onb-pref-q {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    background: #fff;
    border: 1px solid var(--onb-border);
    border-radius: var(--onb-btn-radius);
    padding: 16px 20px;
}

.onb-pref-q__text {
    font-size: 14px;
    font-weight: 600;
    color: var(--onb-text);
    margin: 0;
}

/* Vertical list of radio / checkbox options for MultipleChoice + MultiSelect
   onboarding questions. Uses native inputs so nothing is selected by default
   and keyboard / screen-reader behavior is standard. */
.onb-choice-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}

.onb-choice {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    font-family: var(--onb-font);
    font-size: 13px;
    color: var(--onb-text);
    cursor: pointer;
    border-radius: var(--onb-btn-radius);
}

.onb-choice:hover {
    background: rgba(0, 0, 0, 0.03);
}

.onb-choice__input {
    accent-color: var(--onb-primary);
    cursor: pointer;
    margin: 0;
}

.onb-choice__input:disabled {
    cursor: not-allowed;
}

.onb-choice__input:disabled + .onb-choice__text {
    opacity: 0.55;
}

.onb-choice__text {
    line-height: 1.3;
}

.onb-choice--sel .onb-choice__text {
    color: var(--onb-primary);
    font-weight: 600;
}

.onb-pref-q__prompt {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.onb-pref-q__desc {
    font-size: 13px;
    color: var(--onb-text);
    opacity: 0.75;
    line-height: 1.4;
}

.onb-pref-q__desc p {
    margin: 0;
}

.onb-pref-q__auto {
    align-self: flex-start;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--onb-primary, #532d6d);
    background: rgba(83, 45, 109, 0.08);
    border-radius: 999px;
    padding: 2px 8px;
}

.onb-pref-q__missing {
    font-size: 12px;
    color: #a0526a;
    margin: 0;
}

.onb-pref-q__control {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 8px;
}

/* When the control is a radio / checkbox list, drop the vertical centering so
   the options stack cleanly and left-align the column within the control cell. */
.onb-pref-q__control:has(.onb-choice-list) {
    align-items: flex-start;
}

/* Free-form text / numeric inputs. Match the visual language of the choice
   buttons (same border-radius + border color) so the form reads as one unit. */
.onb-pref-input,
.onb-pref-textarea {
    border: 1px solid var(--onb-border);
    border-radius: var(--onb-btn-radius);
    background: #fff;
    color: var(--onb-text);
    font: inherit;
    padding: 8px 12px;
    min-width: 220px;
    max-width: 100%;
}

.onb-pref-input--num {
    min-width: 120px;
    text-align: right;
}

.onb-pref-textarea {
    min-width: 280px;
    resize: vertical;
}

.onb-pref-input:focus,
.onb-pref-textarea:focus {
    outline: 2px solid var(--onb-primary, #532d6d);
    outline-offset: 1px;
}

.onb-pref-input[disabled],
.onb-pref-textarea[disabled] {
    background: #f4eef8;
    opacity: 0.7;
    cursor: not-allowed;
}

/* Required-question validation: surfaced after the first failed Next click.
   Uses the same red as the existing error banner so the visual language stays
   consistent across step-level and field-level errors. */
.onb-pref-q__required {
    color: #b91c1c;
    margin-left: 4px;
}

.onb-pref-q__error {
    align-self: flex-start;
    font-size: 12px;
    color: #b91c1c;
    margin: 0;
}

.onb-pref-q--missing {
    border-color: #b91c1c;
    box-shadow: 0 0 0 1px rgba(185, 28, 28, 0.25);
}

.onb-pref-input--missing,
.onb-pref-textarea--missing {
    border-color: #b91c1c;
}

.onb-pref-input--missing:focus,
.onb-pref-textarea--missing:focus {
    outline-color: #b91c1c;
}

.onb-choice-list--missing {
    border-left: 2px solid #b91c1c;
    padding-left: 8px;
}

/* -- Schedule card + inner stepper -- */
.onb-schedule-card__head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.onb-schedule-card__title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.onb-schedule-card__step {
    font-size: 13px;
    color: var(--onb-subtle);
}

.onb-substepper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 8px;
}

.onb-substepper__seg {
    display: flex;
    align-items: flex-start;
    flex: 1;
    min-width: 0;
}

.onb-substepper__node {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.onb-substepper__circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--onb-border);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    font-size: 10px;
    color: var(--onb-subtle);
    box-sizing: border-box;
}

.onb-substepper__circle--done {
    border-color: var(--onb-primary);
    background: var(--onb-primary);
    color: #fff;
}

.onb-substepper__circle--active {
    border-color: var(--onb-primary);
    background: var(--onb-primary);
    color: #fff;
}

.onb-substepper__dot {
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
}

.onb-substepper__label {
    margin-top: 4px;
    font-size: 10px;
    color: var(--onb-subtle);
    text-align: center;
    max-width: 72px;
}

.onb-substepper__label--active {
    font-weight: 600;
    color: var(--onb-text);
}

.onb-substepper__line {
    flex: 1;
    height: 2px;
    background: var(--onb-border);
    min-width: 4px;
    align-self: flex-start;
    margin-top: 11px;
    margin-inline: 8px;
}

.onb-substepper__line--done {
    background: var(--onb-primary);
}

.onb-schedule-hint {
    font-size: 14px;
    color: var(--onb-muted);
    margin-bottom: 24px;
}

.onb-section-h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 16px;
}

.onb-section-h3__icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--onb-solid);
}

.onb-day-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.onb-day-tab {
    padding: 10px 18px;
    border-radius: var(--onb-btn-radius);
    border: none;
    background: #eee;
    font-family: var(--onb-font);
    font-size: 14px;
    cursor: pointer;
    color: var(--onb-text);
}

.onb-day-tab--active {
    background: var(--onb-primary);
    color: #fff;
}

.onb-slots-label {
    font-size: 13px;
    color: var(--onb-muted);
    margin-bottom: 12px;
}

.onb-slot-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

/* xs/sm tier (≤ --bp-md = 768). 767.98 mirrors --bp-md; @media can't deref vars. */
@media (max-width: 767.98px) {
    .onb-slot-grid {
        grid-template-columns: 1fr;
    }
}

.onb-slot {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    /* 2px transparent border so the selected state's 2px purple border doesn't shift layout. */
    border: 2px solid transparent;
    box-shadow: inset 0 0 0 1px var(--onb-border);
    border-radius: var(--onb-btn-radius);
    background: #fafafa;
    color: var(--onb-text);
    cursor: pointer;
    font-size: 13px;
    text-align: left;
    font-family: var(--onb-font);
    transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease, box-shadow 120ms ease;
}

.onb-slot:hover:not(.onb-slot--disabled):not(.onb-slot--selected) {
    background: #f3eef4;
    box-shadow: inset 0 0 0 1px var(--onb-primary);
}

/* Selected: strong purple fill (matches the active day-tab style) so the chosen slot
   is unambiguous against the light grey row of unselected slots. Hover/focus/active
   pseudo-states are explicitly re-asserted so moving the mouse back over the button
   after clicking doesn't drop it into the hover style. */
.onb-slot.onb-slot--selected,
.onb-slot.onb-slot--selected:hover,
.onb-slot.onb-slot--selected:focus,
.onb-slot.onb-slot--selected:active {
    border-color: var(--onb-primary);
    background: var(--onb-primary);
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 0 0 2px var(--onb-primary) inset;
}

.onb-slot.onb-slot--selected svg {
    color: #ffffff;
}

/* Early shopping accordion - Figma 7006:30050 */
.onb-ticket {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    box-sizing: border-box;
    border: 1px solid var(--onb-border);
    border-radius: 14px;
    margin-bottom: 24px;
    overflow: hidden;
    background: var(--onb-bg);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
}

.onb-ticket--open {
    padding-bottom: 12px;
}

.onb-ticket__head {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 24px;
    margin: 0;
    cursor: pointer;
    width: 100%;
    border: none;
    background: transparent;
    font: inherit;
    text-align: left;
    box-sizing: border-box;
}

.onb-ticket--open .onb-ticket__head {
    border-bottom: 1px solid var(--events-border-color);
}

.onb-ticket__meta {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.onb-ticket__title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
    margin: 0;
    font-family: var(--onb-font);
    font-weight: 700;
    color: var(--onb-text);
}

.onb-ticket__time {
    font-size: 20px;
    line-height: 36px;
}

.onb-ticket__name {
    font-size: 16px;
    line-height: 28px;
}

.onb-ticket__sub-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.onb-ticket__date {
    font-family: var(--onb-font);
    font-size: 13.6px;
    font-weight: 400;
    line-height: 20px;
    color: var(--onb-muted);
}

.onb-ticket__badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 9999px;
    background: var(--onb-bg);
    font-family: var(--onb-font);
    font-size: 13.3px;
    font-weight: 700;
    line-height: 20px;
    color: var(--onb-muted);
}

.onb-ticket__controls {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 12px;
}

/* Figma Inputs / mobile/stepper - 123×42, #a282a6 border, brand bars */
.onb-qty {
    display: grid;
    grid-template-columns: 42px 1fr 42px;
    width: 123px;
    height: 42px;
    box-sizing: border-box;
    border: 1px solid var(--jbf-purple);
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
    flex-shrink: 0;
}

.onb-qty__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 0;
    border: none;
    background: #fff;
    cursor: pointer;
}

.onb-qty__btn:hover {
    background: #fafafa;
}

.onb-qty__btn:focus-visible {
    outline: 2px solid var(--onb-primary);
    outline-offset: -2px;
}

.onb-qty__bar {
    display: block;
    background: var(--onb-primary);
    border-radius: 1px;
}

.onb-qty__bar--minus {
    width: 16px;
    height: 2px;
}

.onb-qty__plus {
    position: relative;
    width: 16px;
    height: 16px;
}

.onb-qty__bar--v {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 2px;
    height: 16px;
}

.onb-qty__bar--h {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 2px;
}

.onb-qty__val {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--onb-font);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--onb-text);
}

/* Figma 7006:30066 - body: px 24, gap 12 between blocks */
.onb-ticket__body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
    padding: 0 24px;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    font-family: var(--onb-font);
    font-size: 14px;
    font-weight: 400;
    line-height: 22.75px;
    color: var(--onb-solid);
}

.onb-ticket__body p {
    margin: 0;
}

.onb-ticket__chevron {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 10px;
    flex-shrink: 0;
    color: var(--onb-solid);
}

.onb-ticket:not(.onb-ticket--open) .onb-ticket__chevron {
    opacity: 0.8;
}

.onb-ticket__chevron-svg {
    display: block;
    transition: transform 0.2s ease;
}

/* Figma: expanded = arrow down; collapsed = arrow up (rotate 180) */
.onb-ticket__chevron:not(.onb-ticket__chevron--open) .onb-ticket__chevron-svg {
    transform: rotate(180deg);
}

/* xs/sm tier (≤ --bp-md = 768). 767.98 mirrors --bp-md; @media can't deref vars. */
@media (max-width: 767.98px) {
    .onb-ticket__head {
        flex-wrap: wrap;
    }

    .onb-ticket__controls {
        width: 100%;
        justify-content: flex-end;
    }
}

/* Payout / schedule method (legacy group - use --payout for Figma 7006:30872) */
.onb-radio-group {
    background: #f5f5f7;
    border: 1px solid var(--onb-border);
    border-radius: var(--onb-btn-radius);
    padding: 16px;
    margin-bottom: 20px;
}

.onb-radio-opt {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    cursor: pointer;
}

/* Figma 7006:30863–30872 - Payout Method */
.onb-section-h3.onb-payout-section__title {
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
    margin-bottom: 8px;
}

.onb-schedule-hint.onb-payout-section__hint {
    margin-bottom: 24px;
}

.onb-field--payout-methods {
    margin-bottom: 24px;
}

.onb-radio-group.onb-radio-group--payout {
    background: var(--onb-bg);
    border: 1px solid var(--onb-border);
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-sizing: border-box;
}

.onb-radio-group--payout__legend {
    margin: 0;
    font-family: var(--onb-font);
    font-size: 16px;
    font-weight: 600;
    line-height: 20px;
    color: var(--onb-text);
}

/* Figma 7006:30875 - row: gap 16px, items-start, 24px icon + text column */
.onb-radio-opt.onb-radio-opt--payout {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
    padding: 0;
    margin: 0;
    cursor: pointer;
    box-sizing: border-box;
    position: relative;
    outline: none;
    box-shadow: none;
    -webkit-tap-highlight-color: transparent;
}

.onb-radio-opt.onb-radio-opt--payout:focus,
.onb-radio-opt.onb-radio-opt--payout:focus-within,
.onb-radio-opt.onb-radio-opt--payout:focus-visible {
    outline: none;
    box-shadow: none;
}

.onb-payout-radio__input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
    opacity: 0;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.onb-payout-radio__input:focus,
.onb-payout-radio__input:focus-visible {
    outline: none;
    box-shadow: none;
    -webkit-tap-highlight-color: transparent;
}

.onb-payout-radio__icon {
    flex-shrink: 0;
    display: block;
    margin-top: 0;
    overflow: visible;
    outline: none;
}

.onb-payout-radio__icon,
.onb-payout-radio__icon * {
    outline: none;
}

.onb-radio-opt__text--payout {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.onb-payout-opt__title {
    font-family: var(--onb-font);
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    color: var(--onb-text);
}

.onb-payout-opt__desc {
    font-family: var(--onb-font);
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: var(--onb-muted);
}

/* Default radio styling when not using payout row (e.g. future groups) */
.onb-radio-opt:not(.onb-radio-opt--payout) input[type="radio"] {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    margin: 2px 0 0;
    flex-shrink: 0;
    border: 2px solid #c4c8ca;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    box-sizing: border-box;
    position: relative;
}

.onb-radio-opt:not(.onb-radio-opt--payout) input[type="radio"]:checked {
    border-color: var(--onb-primary);
}

.onb-radio-opt:not(.onb-radio-opt--payout) input[type="radio"]:checked::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--onb-primary);
}

.onb-radio-opt input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 3px 0 0;
    flex-shrink: 0;
    accent-color: var(--onb-primary);
    cursor: pointer;
}

.onb-checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 8px 0 16px;
    cursor: pointer;
}

.onb-checkbox-row input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 3px 0 0;
    flex-shrink: 0;
    accent-color: var(--onb-primary);
    cursor: pointer;
}

.onb-checkbox-row .onb-radio-opt__text {
    padding-top: 1px;
}

.onb-radio-opt__text:not(.onb-radio-opt__text--payout) strong {
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
    color: var(--onb-text);
}

.onb-radio-opt__text:not(.onb-radio-opt__text--payout) > span {
    font-size: 13px;
    color: var(--onb-muted);
}

.onb-field {
    margin-bottom: 16px;
}

.onb-field label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--onb-text);
}

.onb-field input,
.onb-field select,
.onb-field textarea {
    width: 100%;
    max-width: 100%;
    padding: 9px 13px;
    border: 1px solid var(--onb-border);
    border-radius: var(--onb-btn-radius);
    font-family: var(--onb-font);
    font-size: 14px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.onb-field-row2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* xs/sm tier (≤ --bp-md = 768). 767.98 mirrors --bp-md; @media can't deref vars. */
@media (max-width: 767.98px) {
    .onb-field-row2 {
        grid-template-columns: 1fr;
    }
}

/* Instructions */
.onb-prose {
    font-size: 16px;
    line-height: 1.45;
    color: var(--onb-muted);
}

.onb-prose p {
    margin: 0 0 1em;
}

.onb-resource-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 480px;
}

.onb-resource-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 13px;
    border: 1px solid var(--onb-border);
    border-radius: var(--onb-btn-radius);
    background: #fff;
    font-size: 14px;
    font-weight: 500;
    color: var(--onb-solid);
    cursor: pointer;
    font-family: var(--onb-font);
    text-align: left;
}

/* Terms */
.onb-terms-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

/* xs/sm/md tiers (≤ --bp-lg = 1024). 1023.98 mirrors --bp-lg; @media can't deref vars. */
@media (max-width: 1023.98px) {
    .onb-terms-grid {
        grid-template-columns: 1fr;
    }
}

.onb-terms-scroll {
    max-height: 240px;
    overflow-y: auto;
    padding: 16px;
    background: var(--onb-bg);
    border-radius: var(--onb-btn-radius);
    font-size: 13px;
    color: var(--onb-muted);
    margin-bottom: 12px;
}

.onb-waiver-signed {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: #e8f5e9;
    border-radius: var(--onb-btn-radius);
    font-size: 13px;
    color: #2e7d32;
    margin-top: 16px;
}

/* Payment */
.onb-pay-option {
    border: 1px solid var(--onb-border);
    border-radius: var(--onb-btn-radius);
    padding: 16px;
    margin-bottom: 12px;
    cursor: pointer;
}

.onb-pay-option__row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.onb-pay-option__row input[type="radio"] {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    margin: 2px 0 0;
    flex-shrink: 0;
    border: 2px solid #c4c8ca;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    box-sizing: border-box;
    position: relative;
}

.onb-pay-option__row input[type="radio"]:checked {
    border-color: var(--onb-primary);
}

.onb-pay-option__row input[type="radio"]:checked::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--onb-primary);
}

.onb-pay-option--nested {
    background: #fafafa;
    margin-top: 12px;
}

.onb-payment-status {
    margin: 16px 0 12px;
    padding: 12px 14px;
    border-radius: var(--onb-btn-radius);
    font-size: 13px;
    line-height: 1.5;
}

.onb-payment-status--neutral,
.onb-payment-status--info {
    background: rgba(229, 246, 255, 0.55);
    border: 1px solid rgba(0, 163, 255, 0.25);
    color: var(--onb-muted);
}

.onb-payment-status--success {
    background: var(--onb-success-bg);
    border: 1px solid var(--onb-success-ring);
    color: var(--onb-success);
}

.onb-payment-status--error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

.onb-checkout-host {
    margin-top: 12px;
    min-height: 120px;
    border: 1px dashed var(--onb-border);
    border-radius: var(--onb-btn-radius);
    background: #fff;
    padding: 16px;
}

/* Stub / simulator: same card as Lightbox host, shorter — no iframe placeholder. */
.onb-checkout-host--stub {
    min-height: 0;
}

/* Converge Checkout.js inline card-fields. Card / expiry / CVV / postal inputs
   are plain DOM <input> elements (PCI SAQ A-EP requirement — see razor.cs).
   These rules style them to match DebouncedTextInput so the section reads as a
   single coherent payment form. */
.onb-cv-fields {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
    padding: 16px;
    border: 1px solid var(--onb-border);
    border-radius: var(--onb-btn-radius);
    background: #fff;
}

/* While the payment is in flight we keep the inputs mounted (the JS submit
   pipeline reads .value from these IDs throughout the SDK roundtrip) but
   visually replace them with the JbfOneLoader. display:none keeps the DOM
   element + its .value queryable by JS; visibility:hidden would also work
   but would leave a blank gap below the cardholder block. */
.onb-cv-fields--hidden {
    display: none;
}

.onb-cv-charging {
    margin-top: 16px;
    padding: 32px 16px;
    border: 1px solid var(--onb-border);
    border-radius: var(--onb-btn-radius);
    background: #fff;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.onb-cv-field {
    margin-bottom: 0;
}

.onb-cv-field--full {
    width: 100%;
}

.onb-cv-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* xs/sm tier (≤ --bp-md = 768). 767.98 mirrors --bp-md; @media can't deref vars. */
@media (max-width: 767.98px) {
    .onb-cv-row-2 {
        grid-template-columns: 1fr;
    }
}

.onb-cv-input {
    width: 100%;
    max-width: 100%;
    padding: 9px 13px;
    border: 1px solid var(--onb-border);
    border-radius: var(--onb-btn-radius);
    font-family: var(--onb-font);
    font-size: 14px;
    color: var(--onb-text);
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: border-color 120ms ease, box-shadow 120ms ease;
}

.onb-cv-input:focus {
    outline: none;
    border-color: var(--onb-primary);
    box-shadow: 0 0 0 3px rgba(125, 91, 129, 0.18);
}

.onb-cv-input::placeholder {
    color: var(--onb-subtle);
}

.onb-cv-field__error {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #b91c1c;
}

.onb-info-banner--secure {
    background: var(--onb-success-bg);
    border-color: var(--onb-success-ring);
    color: var(--onb-success);
}

.onb-info-banner--secure .onb-info-banner__icon {
    color: var(--onb-success);
}

.onb-info-banner--secure .onb-info-banner__text {
    color: var(--onb-success);
}

.onb-legal-box {
    background: var(--onb-lavender);
    padding: 12px 14px;
    border-radius: var(--onb-btn-radius);
    font-size: 12px;
    color: var(--onb-muted);
    margin-top: 12px;
}

.onb-fee-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid var(--onb-border);
    font-size: 14px;
}

.onb-fee-row strong {
    font-size: 16px;
}

/* Complete - Figma 7013:44229 */
.onb-complete {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
    width: 100%;
    max-width: 672px;
    margin: 0 auto;
    padding: 0 16px;
}

/* md+ tier (≥ --bp-md = 768). @media can't deref CSS vars. */
@media (min-width: 768px) {
    .onb-complete {
        padding: 0 48px;
        max-width: 768px;
    }
}

.onb-complete__hero {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    text-align: center;
    max-width: 576px;
    margin: 0 auto;
    width: 100%;
}

.onb-complete__success-badge {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(0, 168, 145, 0.1);
    color: #00a891;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.onb-complete__check-svg {
    display: block;
}

.onb-complete__title {
    margin: 0;
    font-family: var(--onb-font);
    font-size: 30px;
    font-weight: 700;
    line-height: 36px;
    color: var(--onb-text);
}

.onb-complete__msg {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: center;
}

.onb-complete__msg-line {
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: var(--onb-muted);
}

.onb-complete__msg-email {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    color: var(--onb-muted);
}

.onb-complete__reg {
    border-top: 1px solid var(--onb-border);
    border-bottom: 1px solid var(--onb-border);
    padding: 17px 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
}

.onb-complete__reg-heading {
    margin: 0 0 16px;
    font-family: var(--onb-font);
    font-size: 18px;
    font-weight: 600;
    line-height: 28px;
    color: var(--onb-text);
}

.onb-reg-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    padding: 8px;
    background: var(--onb-lavender);
    border-radius: 10px;
    box-sizing: border-box;
}

.onb-reg-banner__main {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
    min-width: 0;
}

.onb-reg-banner__label {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: var(--onb-muted);
}

.onb-reg-banner__value {
    font-size: 18px;
    font-weight: 600;
    line-height: 28px;
    color: var(--onb-text);
}

.onb-reg-copy-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 36px;
    padding: 9px 13px;
    margin: 0;
    border: 1px solid #d1d5dc;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    font: inherit;
}

.onb-reg-copy-btn__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
}

.onb-reg-copy-btn__text {
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    color: var(--onb-muted);
}

.onb-reg-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 24px;
    row-gap: 20px;
    margin: 16px 0 0;
    padding: 0;
}

/* xs/sm tier (≤ --bp-md = 768). 767.98 mirrors --bp-md; @media can't deref vars. */
@media (max-width: 767.98px) {
    .onb-reg-grid {
        grid-template-columns: 1fr;
    }
}

.onb-reg-grid__cell {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
}

.onb-reg-grid dt {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: var(--onb-muted);
    margin: 0;
}

.onb-reg-grid dd {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    color: var(--onb-text);
}

.onb-complete__prepare {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 672px;
    width: 100%;
    margin: 0 auto;
}

.onb-complete__prepare-heading {
    margin: 0;
    font-family: var(--onb-font);
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
    color: var(--onb-text);
}

/* Confirmation-screen CTA row (View Seller Resources / Start Tagging).
   The base `.onb-actions` lays its children out with `justify-content:
   space-between`, which was fine for Back + Done but pins each of our
   two calls-to-action hard to opposite edges of the card on desktop.
   Override to a centered row with a comfortable min-width so both
   buttons read as peer primary-ish CTAs rather than "cancel + submit".
   On narrow viewports we drop each button to full-width so they stack
   cleanly below the registration details card. */
.onb-complete__cta {
    justify-content: center;
    gap: 16px;
}

.onb-complete__cta-btn {
    min-width: 220px;
    padding-inline: 28px;
    justify-content: center;
    text-align: center;
}

/* Preview-mode rendering: the two confirmation CTAs (View Seller Resources /
   Start Tagging) become non-interactive <span>s so the admin can see the
   layout but can't navigate the simulator out into the real pages. Visual
   treatment matches the standard browser/Aria disabled affordance. */
.onb-complete__cta-btn--disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
    user-select: none;
}

/* xs/sm tier (≤ --bp-md = 768). 767.98 mirrors --bp-md; @media can't deref vars. */
@media (max-width: 767.98px) {
    .onb-complete__cta {
        flex-direction: column;
        align-items: stretch;
    }

    .onb-complete__cta-btn {
        width: 100%;
        min-width: 0;
    }
}

.onb-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 32px;
}

.onb-accordion--complete {
    gap: 16px;
    margin-top: 0;
    position: relative;
}

.onb-acc-item {
    border: 2px solid var(--onb-border);
    border-radius: 10px;
    background: #fff;
    overflow: visible;
}

.onb-accordion--complete .onb-acc-item--open {
    border-color: var(--onb-primary);
    background: var(--onb-lavender);
}

.onb-acc-inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px;
}

.onb-acc-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    font: inherit;
    text-align: left;
}

.onb-acc-head--collapsed {
    padding: 26px 24px;
    align-items: flex-start;
}

.onb-acc-text {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}

.onb-acc-head-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 28px;
    color: var(--onb-text);
    display: block;
}

.onb-acc-head-desc {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: var(--onb-muted);
    display: block;
}

.onb-acc-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--onb-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 4px;
}

.onb-acc-icon svg {
    width: 24px;
    height: 24px;
    display: block;
}

.onb-acc-chevron {
    flex-shrink: 0;
    color: var(--onb-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 4px;
    margin-left: 16px;
}

.onb-acc-chevron-svg {
    display: block;
    transition: transform 0.2s ease;
}

.onb-acc-item--open .onb-acc-chevron-svg {
    transform: rotate(180deg);
}

.onb-acc-body {
    margin: 0;
    padding: 25px 0 0;
    border-top: 1px solid #e9d4ff;
}

.onb-complete-checklist-btn {
    width: 100%;
    height: 35px;
    margin: 0;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    background: var(--onb-primary);
    color: #fafafa;
    font-family: var(--onb-font);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    cursor: pointer;
}

.onb-acc-connector {
    width: 2px;
    height: 32px;
    margin: -8px 0 -8px 23px;
    background: #ededed;
    flex-shrink: 0;
}

.onb-accordion--complete:has(> .onb-acc-item:first-child:not(.onb-acc-item--open)) .onb-acc-connector {
    display: none;
}

/* xs/sm tier (≤ --bp-md = 768). 767.98 mirrors --bp-md; @media can't deref vars. */
@media (max-width: 767.98px) {
    .onb-acc-connector {
        margin-left: 35px;
    }
}

.onb-reg-copy-btn:focus-visible,
.onb-complete-checklist-btn:focus-visible,
.onb-accordion--complete .onb-acc-head:focus-visible {
    outline: 2px solid var(--onb-primary);
    outline-offset: 2px;
}

/* ── Location sale info (moved from auth) ─────────────────── */
.onb-page .auth-card--location-sale {
    border: none;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    background: var(--onb-surface);
    width: 100%;
    max-width: 448px;
    box-sizing: border-box;
    margin: 0 auto;
}

.onb-page .auth-sale-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.onb-page .auth-sale-info__header {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.onb-page .auth-sale-info__name {
    font-size: 20px;
    font-weight: 600;
    line-height: 28px;
    letter-spacing: -0.5px;
    color: var(--onb-text);
    margin: 0;
}

.onb-page .auth-sale-info__venue {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    line-height: 20px;
    color: var(--onb-muted);
}

.onb-page .auth-sale-info__venue-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--onb-muted);
}

.onb-page .auth-sale-info__stats {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 100px 86px;
    gap: 8px;
    align-items: start;
    padding: 8px 0 17px;
    border-bottom: 1px solid var(--onb-border);
}

.onb-page .auth-sale-info__stat {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.onb-page .auth-sale-info__stat--date .auth-sale-info__stat-label {
    text-transform: none;
}

.onb-page .auth-sale-info__stat--fee .auth-sale-info__stat-label,
.onb-page .auth-sale-info__stat--payout .auth-sale-info__stat-label {
    text-transform: lowercase;
}

.onb-page .auth-sale-info__stat-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: var(--onb-muted);
    line-height: 16px;
}

.onb-page .auth-sale-info__stat-value {
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    color: var(--onb-text);
}

.onb-page .auth-sale-info__stat-value--bold {
    font-weight: 700;
}

.onb-page .auth-sale-info__tips-box {
    background: var(--onb-bg);
    border: 1px solid var(--onb-border);
    border-radius: 10px;
    padding: 33px 25px 25px;
}

.onb-page .auth-sale-info__tips-heading {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 18px;
    font-weight: 600;
    line-height: 28px;
    color: var(--onb-text);
}

.onb-page .auth-sale-info__tips-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.onb-page .auth-sale-info__tips-text {
    font-size: 14px;
    line-height: 20px;
    color: var(--onb-solid);
    margin: 0 0 4px 0;
}

.onb-page .auth-sale-info__tips-list {
    list-style: none;
    margin: 0;
    padding: 4px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.onb-page .auth-sale-info__tip-item {
    display: flex;
    gap: 12px;
    font-size: 14px;
    line-height: 20px;
    color: var(--onb-solid);
}

.onb-page .auth-sale-info__tip-strong {
    font-weight: 700;
}

.onb-page .auth-sale-info__tip-bullet {
    color: var(--onb-primary);
    font-weight: 600;
    flex-shrink: 0;
}

.onb-page .auth-sale-info__tip-text {
    flex: 1;
}

.onb-page .auth-sale-info__actions {
    display: flex;
    flex-direction: row;
    gap: 12px;
    padding-top: 8px;
    width: 100%;
}

.onb-page .auth-sale-info__actions .auth-btn-outline-subtle,
.onb-page .auth-sale-info__actions .auth-btn-primary {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
}

.onb-page .auth-btn-outline-subtle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 40px;
    padding: 12px 24px;
    border-radius: var(--onb-btn-radius);
    border: 1px solid var(--onb-subtle);
    background: transparent;
    font-family: var(--onb-font);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--onb-muted);
    cursor: pointer;
}

.onb-page .auth-btn-outline-subtle:hover {
    border-color: var(--onb-primary);
    color: var(--onb-primary);
}

.onb-page .auth-btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 40px;
    padding: 12px 24px;
    background: var(--onb-primary);
    color: #fff;
    border: none;
    border-radius: var(--onb-btn-radius);
    font-family: var(--onb-font);
    font-weight: 600;
    font-size: 14px;
    line-height: normal;
    cursor: pointer;
    overflow: hidden;
    transition: opacity 0.15s, transform 0.1s;
}

.onb-page .auth-btn-primary:hover {
    opacity: 0.88;
}

/* ── Location sale details ────────────────────────────────── */
.onb-page .auth-sale-details {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
    max-width: 1006px;
    margin: 0 auto;
    padding-bottom: 16px;
}

.onb-page .auth-sale-details__info-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 9px 25px;
    background: var(--onb-lavender);
    border: 1px solid var(--onb-border);
    border-radius: 10px;
    box-sizing: border-box;
}

.onb-page .auth-sale-details__info-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.onb-page .auth-sale-details__info-group--right {
    text-align: right;
    align-items: flex-end;
}

.onb-page .auth-sale-details__info-label {
    font-size: 14px;
    line-height: 20px;
    color: #4a5565;
    font-weight: 400;
}

.onb-page .auth-sale-details__info-value {
    font-size: 18px;
    line-height: 28px;
    font-weight: 600;
    color: var(--onb-text);
}

.onb-page .auth-sale-details__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 16px 32px;
    width: 100%;
}

.onb-page .auth-sale-details__btn-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 12px 24px;
    border-radius: var(--onb-btn-radius);
    border: 1px solid var(--onb-subtle);
    background: transparent;
    font-family: var(--onb-font);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--onb-muted);
    cursor: pointer;
}

.onb-page .auth-sale-details__btn-back:hover {
    border-color: var(--onb-primary);
    color: var(--onb-primary);
}

.onb-page .auth-sale-details__btn-register {
    width: auto;
    flex-shrink: 0;
    padding-left: 24px;
    padding-right: 24px;
    font-weight: 500;
}

.onb-page .auth-sale-details__section {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.onb-page .auth-sale-details__section-title {
    margin: 0;
    font-family: var(--onb-font);
    font-size: 24px;
    font-weight: 700;
    line-height: 36px;
    letter-spacing: -0.75px;
    color: #0f172b;
}

.onb-page .auth-sale-details__guidelines {
    display: flex;
    flex-direction: row;
    gap: 16px;
    width: 100%;
    align-items: stretch;
}

.onb-page .auth-sale-details__guideline-card {
    flex: 1;
    min-width: 0;
    background: var(--onb-surface);
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 33px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.onb-page .auth-sale-details__guideline-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.onb-page .auth-sale-details__icon-ring {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    flex-shrink: 0;
}

.onb-page .auth-sale-details__icon-ring--ok {
    background: rgba(0, 168, 145, 0.05);
    border: 1.75px solid #00a891;
    padding: 1.75px;
    box-sizing: border-box;
}

.onb-page .auth-sale-details__icon-ring--no {
    background: rgba(216, 15, 61, 0.05);
    border: 1.75px solid #d80f3d;
    padding: 1.75px;
    box-sizing: border-box;
}

.onb-page .auth-sale-details__icon-svg {
    display: block;
    flex-shrink: 0;
}

.onb-page .auth-sale-details__guideline-title {
    margin: 0;
    font-family: var(--onb-font);
    font-size: 18px;
    font-weight: 600;
    line-height: 28px;
}

.onb-page .auth-sale-details__guideline-title--ok {
    color: #00a891;
}

.onb-page .auth-sale-details__guideline-title--no {
    color: #d80f3d;
}

.onb-page .auth-sale-details__guideline-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.onb-page .auth-sale-details__guideline-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-family: var(--onb-font);
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    color: var(--onb-muted);
}

.onb-page .auth-sale-details__guideline-icon {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 20px;
    min-height: 22px;
    padding-top: 2px;
    box-sizing: border-box;
}

.onb-page .auth-sale-details__check {
    display: block;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.onb-page .auth-sale-details__x {
    display: block;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.onb-page .auth-sale-details__schedule {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.onb-page .auth-sale-details__schedule-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
    width: 100%;
}

.onb-page .auth-sale-details__schedule-card {
    flex: 1 1 280px;
    min-width: 260px;
    background: var(--onb-surface);
    border: 1px solid var(--onb-border);
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    padding: 21px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-sizing: border-box;
}

.onb-page .auth-sale-details__schedule-card-title {
    margin: 0;
    font-family: var(--onb-font);
    font-size: 17.7px;
    font-weight: 700;
    line-height: 28px;
    color: var(--onb-text);
}

.onb-page .auth-sale-details__schedule-card-date {
    margin: 0;
    font-family: var(--onb-font);
    font-size: 13px;
    line-height: 20px;
    color: var(--onb-muted);
}

.onb-page .auth-sale-details__schedule-rows {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.onb-page .auth-sale-details__schedule-slot {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.onb-page .auth-sale-details__schedule-label {
    font-family: 'Inter', var(--onb-font);
    font-size: 13.5px;
    line-height: 20px;
    color: var(--onb-solid);
}

.onb-page .auth-sale-details__schedule-time {
    font-family: 'Inter', var(--onb-font);
    font-size: 13px;
    line-height: 20px;
    color: var(--onb-muted);
    text-align: right;
    flex-shrink: 0;
}

.onb-page .auth-sale-details__schedule-footer {
    margin-top: auto;
    padding-top: 13px;
    border-top: 1px solid var(--onb-border);
}

.onb-page .auth-sale-details__schedule-footer p {
    margin: 0;
    font-family: var(--onb-font);
    font-size: 11px;
    line-height: 16px;
    font-style: italic;
    color: var(--onb-subtle);
}

/* xs/sm/md tiers (≤ --bp-lg = 1024). 1023.98 mirrors --bp-lg; @media can't deref vars. */
@media (max-width: 1023.98px) {
    .onb-page .auth-sale-details__guidelines {
        flex-direction: column;
    }

    .onb-page .auth-sale-details__actions {
        justify-content: stretch;
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .onb-page .auth-sale-details__btn-register {
        width: 100%;
    }

    .onb-page .auth-sale-details__btn-back {
        width: 100%;
    }
}

/* xs/sm tier (≤ --bp-md = 768). 767.98 mirrors --bp-md; @media can't deref vars. */
@media (max-width: 767.98px) {
    .onb-page .auth-sale-info__stats {
        grid-template-columns: 1fr;
    }
}

/* Modal */
.onb-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.onb-modal {
    background: #fff;
    border: 1px solid var(--onb-border);
    border-radius: var(--onb-radius);
    box-shadow: var(--onb-shadow);
    padding: 25px;
    max-width: 420px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.onb-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    color: var(--onb-subtle);
}

.onb-modal__icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--onb-lavender);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.onb-modal__badge {
    display: inline-block;
    margin: 0 auto 12px;
    padding: 2px 8px;
    background: var(--onb-bg);
    border-radius: var(--onb-btn-radius);
    font-size: 12px;
    font-weight: 500;
    color: var(--onb-text);
    text-align:center;
}

.onb-modal__center {
    text-align: center;
}

.onb-modal h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 12px;
    color: var(--onb-text);
    letter-spacing: -0.6px;
}

.onb-modal p {
    font-size: 16px;
    color: var(--onb-muted);
    line-height: 1.5;
    margin: 0 0 20px;
}

.onb-modal__disclaimer {
    font-size: 12px;
    color: var(--onb-subtle);
    margin-top: 16px;
    line-height: 1.4;
}

/* ==========================================================================
   Phase D - Products step + Payment review + Stub notice
   Reuses existing tokens (--onb-*) so no new color literals are introduced.
   ========================================================================== */
.onb-fatal {
    max-width: 560px;
    margin: 48px auto;
    text-align: center;
}

.onb-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.onb-product-card {
    background: var(--onb-surface);
    border: 1px solid var(--onb-border);
    border-radius: var(--onb-radius);
    box-shadow: var(--onb-shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.onb-product-card__media {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: var(--onb-bg);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.onb-product-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.onb-product-card__media-fallback {
    width: 100%;
    height: 100%;
    background: var(--onb-lavender);
}

.onb-product-card__body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1 0 auto;
}

.onb-product-card__name {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--onb-text);
}

.onb-product-card__desc {
    margin: 0;
    font-size: 13px;
    color: var(--onb-muted);
    line-height: 1.4;
}

.onb-product-card__price {
    font-size: 14px;
    font-weight: 600;
    color: var(--onb-text);
}

.onb-product-card__unit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 8px;
    gap: 12px;
}

.onb-product-card__packs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
}

.onb-product-pack {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid var(--onb-border);
    border-radius: var(--onb-btn-radius);
    cursor: pointer;
    background: var(--onb-surface);
}

.onb-product-pack--sel {
    border-color: var(--onb-primary);
    background: var(--onb-lavender);
}

.onb-product-pack__label {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.onb-product-pack__qty {
    font-size: 12px;
    color: var(--onb-subtle);
}

.onb-product-pack__price {
    font-weight: 600;
    color: var(--onb-text);
}

.onb-product-pack__clear {
    background: none;
    border: none;
    color: var(--onb-subtle);
    font-size: 12px;
    text-align: right;
    cursor: pointer;
    padding: 0;
}

.onb-product-pack__clear:hover {
    color: var(--onb-primary);
    text-decoration: underline;
}

.onb-products-subtotal {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    padding: 12px 4px;
    font-size: 16px;
    color: var(--onb-text);
}

/* Payment summary */
.onb-pay-summary .onb-fee-row {
    border-top: 1px solid var(--onb-border);
    padding-top: 12px;
    margin-top: 12px;
}

.onb-pay-summary .onb-fee-row:first-of-type {
    border-top: none;
    margin-top: 0;
    padding-top: 4px;
}

.onb-fee-row--total {
    border-top: 2px solid var(--onb-primary) !important;
    padding-top: 16px !important;
    margin-top: 16px !important;
    font-size: 18px;
}

/* Due-Later group on the Review & Pay step (Phase 1).
   Visually distinct from "Due now" so the seller sees at a glance which
   amounts are leaving their card today vs which are reminders. The chip
   color picks the same border value used on muted onboarding cards so we
   inherit the existing 4.5:1 contrast ratio against onb-card backgrounds. */
.onb-pay-deferred {
    margin-top: 24px;
    padding: 16px;
    background: #f7f8fb;
    border: 1px dashed var(--onb-border);
    border-radius: 12px;
}

.onb-fee-row--deferred {
    color: var(--onb-subtle, #4e5e65);
    font-style: italic;
}

.onb-fee-row--deferred strong {
    font-style: normal;
}

.onb-fee-row__chip {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    border-radius: 999px;
    background: #eef2ff;
    color: #1f2c5b;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 1.5;
}

.onb-fee-row--deferred-total {
    border-top: 1px dashed var(--onb-border) !important;
    padding-top: 12px !important;
    margin-top: 12px !important;
    font-size: 16px;
    font-style: normal !important;
    color: inherit;
}

/* Post-confirm balance panel (Phase 2) - rendered on OnboardingComplete.razor
   when GetBalanceAsync().Outstanding > 0. Styled like the registration-details
   card but with a softer attention treatment so it reads as informational
   rather than alarming. The list uses CSS grid for reliable alignment between
   the fee name, the timing chip, and the dollar amount on every viewport. */
.onb-complete__balance {
    margin-top: 16px;
    padding: 16px 20px;
    border: 1px solid var(--onb-border);
    border-radius: var(--onb-radius);
    background: var(--onb-surface);
    box-shadow: var(--onb-shadow);
}

.onb-complete__balance-sub {
    margin: 4px 0 12px 0;
    color: var(--onb-muted);
    font-size: 14px;
}

.onb-complete__balance-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.onb-complete__balance-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid var(--onb-border);
    font-size: 14px;
}

.onb-complete__balance-row:last-child {
    border-bottom: none;
}

.onb-complete__balance-name {
    color: var(--onb-text);
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
}

.onb-complete__balance-chip {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    background: #eef2ff;
    color: #1f2c5b;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    white-space: nowrap;
}

.onb-complete__balance-amt {
    color: var(--onb-text);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

@media (max-width: 767.98px) {
    .onb-complete__balance-row {
        grid-template-columns: minmax(0, 1fr) auto;
    }
    .onb-complete__balance-chip {
        grid-column: 1 / -1;
        justify-self: start;
    }
}

.onb-info-banner--stub {
    background: var(--onb-lavender);
    border-color: var(--onb-primary);
}

.onb-info-banner--error {
    background: #fff5f5;
    border-color: #f5c2c7;
    align-items: flex-start;
}

.onb-info-banner--error .onb-info-banner__icon {
    color: #d92d20;
    margin-top: 2px;
}

.onb-info-banner--error .onb-info-banner__text {
    color: #842029;
}

.onb-info-banner__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.onb-info-banner__actions {
    display: flex;
    gap: 8px;
}

.onb-info-banner__dismiss {
    background: transparent;
    border: 1px solid #f5c2c7;
    color: #842029;
    padding: 4px 10px;
    border-radius: var(--onb-btn-radius);
    cursor: pointer;
    font-size: 13px;
    line-height: 1.2;
}

.onb-info-banner__dismiss:hover {
    background: #f5c2c7;
}

/* Preview admin: rules analyzer + JbfRightPanel host */
.onb-wizard-host {
    display: flex;
    flex-direction: row;
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
    align-items: stretch;
}

.onb-wizard-host__main {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.onb-analyze-rules-link {
    position: fixed;
    right: 16px;
    bottom: 88px;
    z-index: 400;
    padding: 8px 12px;
    margin: 0;
    border: 1px solid var(--onb-border);
    border-radius: var(--onb-btn-radius);
    background: var(--onb-surface);
    color: var(--onb-primary);
    font-family: var(--onb-font);
    font-size: 12px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
    box-shadow: var(--onb-shadow);
}

.onb-analyze-rules-link:hover,
.onb-analyze-rules-link:focus-visible {
    background: var(--onb-lavender);
}

.onb-analyze-rules-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-size: 13px;
    color: var(--onb-text);
    min-height: 0;
}

.onb-analyze-rules-collapse-head {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 0 0 10px;
    margin: 0;
    border: none;
    border-bottom: 1px solid var(--onb-border);
    background: transparent;
    cursor: pointer;
    font: inherit;
    text-align: left;
    color: inherit;
}

.onb-analyze-rules-collapse-head:focus-visible {
    outline: 2px solid var(--onb-primary);
    outline-offset: 2px;
}

.onb-analyze-rules-h3--inhead {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--onb-solid);
}

.onb-analyze-rules-collapse-chevron {
    display: inline-block;
    width: 1.25em;
    text-align: center;
    flex-shrink: 0;
    font-size: 10px;
    line-height: 1;
    color: var(--onb-muted);
}

.onb-analyze-rules-collapse-body {
    padding-top: 8px;
}

.onb-analyze-rules-section {
    border-bottom: 1px solid var(--onb-border);
    padding-bottom: 12px;
}

.onb-analyze-rules-section:last-child {
    border-bottom: none;
}

.onb-analyze-rules-h3 {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--onb-solid);
}

.onb-analyze-rules-h4 {
    margin: 12px 0 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--onb-muted);
}

.onb-analyze-rules-p {
    margin: 0 0 6px;
}

.onb-analyze-rules-step-line {
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.onb-analyze-rules-note {
    margin: 0;
    color: var(--onb-muted);
    font-size: 12px;
}

.onb-analyze-rules-muted {
    margin: 0;
    color: var(--onb-muted);
}

.onb-analyze-rules-error {
    margin: 0;
    color: #b42318;
}

.onb-analyze-rules-banner {
    padding: 10px 12px;
    border-radius: var(--onb-btn-radius);
    background: #fff8e6;
    border: 1px solid #f5d78e;
    font-size: 12px;
    color: var(--onb-solid);
}

.onb-analyze-rules-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.onb-analyze-rules-table th,
.onb-analyze-rules-table td {
    border: 1px solid var(--onb-border);
    padding: 4px 6px;
    vertical-align: top;
    text-align: left;
    word-break: break-word;
}

.onb-analyze-rules-table th {
    width: 38%;
    background: #f8f9fa;
    font-weight: 600;
    color: var(--onb-muted);
}

.onb-analyze-rules-table--dense th,
.onb-analyze-rules-table--dense td {
    width: auto;
}

.onb-analyze-rules-table .onb-analyze-rules-wrap {
    display: block;
    overflow-wrap: anywhere;
    max-width: min(18rem, 42vw);
}

.onb-analyze-rules-ul {
    margin: 0;
    padding-left: 18px;
}

.onb-analyze-rules-ul--compact {
    font-size: 12px;
}

.onb-analyze-rules-rule {
    border: 1px solid var(--onb-border);
    border-radius: var(--onb-radius);
    padding: 10px;
    margin-bottom: 10px;
    background: #fafafa;
}

.onb-analyze-rules-rule--matched {
    border-color: var(--onb-success-ring);
    background: var(--onb-success-bg);
}

.onb-analyze-rules-rule-head {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    align-items: baseline;
    margin-bottom: 6px;
}

.onb-analyze-rules-rule-id {
    font-size: 11px;
    color: var(--onb-subtle);
}

.onb-analyze-rules-rule-name {
    font-size: 13px;
}

.onb-analyze-rules-rule-order {
    font-size: 11px;
    color: var(--onb-subtle);
}

.onb-analyze-rules-rule-status {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    margin-bottom: 6px;
}

.onb-analyze-rules-ok {
    color: var(--onb-success);
    font-weight: 600;
}

.onb-analyze-rules-bad {
    color: #b42318;
    font-weight: 600;
}

.onb-analyze-rules-pill {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    background: #eef1f3;
    font-size: 11px;
    color: var(--onb-muted);
}

.onb-analyze-rules-group {
    margin-top: 8px;
}

.onb-analyze-rules-group-head {
    font-size: 12px;
    margin-bottom: 4px;
    color: var(--onb-muted);
}

.onb-analyze-rules-row-fail td:last-child {
    font-weight: 700;
    color: #b42318;
}

