.eb-booking-app,
.eb-owner-page {
    width: min(96vw, 1920px);
    max-width: none;
    margin: 0 auto;
    padding: 24px 0 40px;
    box-sizing: border-box;
    font-family: "Segoe UI", Arial, sans-serif;
    color: #6a513a;
}

.eb-wizard-card,
.eb-owner-auth-card,
.eb-owner-panel {
    background: #fffaf4;
    border: 1px solid #eadcc8;
    border-radius: 22px;
    box-shadow: 0 14px 34px rgba(140, 110, 60, 0.08);
}

.eb-wizard-card {
    overflow: hidden;
}

.eb-wizard-top {
    padding: 22px 24px;
    background: linear-gradient(135deg, #fbf2e6 0%, #fff9f1 55%, #f7eddc 100%);
    border-bottom: 1px solid #eadcc8;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.eb-brand-badge {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    background: #fff8ee;
    border: 1px solid #dcc39b;
    color: #bb8e47;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eb-progress {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.eb-progress-step {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fffdf9;
    border: 1px solid #e0cfb2;
    color: #a38f71;
    font-size: 14px;
    font-weight: 800;
    transition: all 0.25s ease;
}

.eb-progress-step.is-active {
    background: linear-gradient(180deg, #f5d89c 0%, #ebbb72 100%);
    border-color: #d7aa62;
    color: #6d4f1d;
    box-shadow: 0 8px 18px rgba(215, 170, 98, 0.18);
}

.eb-progress-step.is-done {
    background: #f8efdf;
    border-color: #dbc08f;
    color: #a6772e;
}

.eb-progress-line {
    width: 34px;
    height: 2px;
    background: #e8dcc7;
    border-radius: 999px;
}

.eb-wizard-screens {
    position: relative;
    min-height: 760px;
}

.eb-screen {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateX(50px) scale(0.985);
    transition: opacity 0.35s ease, transform 0.35s ease;
    padding: 28px;
    box-sizing: border-box;
}

.eb-screen.is-active {
    position: relative;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0) scale(1);
}

.eb-screen.is-left {
    transform: translateX(-50px) scale(0.985);
}

.eb-screen-copy {
    margin-bottom: 24px;
}

.eb-screen-copy h2,
.eb-owner-title {
    margin: 0 0 8px;
    color: #233;
    font-size: 34px;
    line-height: 1.08;
    font-weight: 800;
}

.eb-screen-copy p {
    margin: 0;
    color: #907b67;
    font-size: 16px;
    line-height: 1.55;
}

.eb-class-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.eb-class-card {
    background: linear-gradient(180deg, #fffdf9 0%, #fff7ed 100%);
    border: 1px solid #eadcc8;
    border-radius: 22px;
    padding: 18px;
    text-align: left;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(170, 130, 70, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.eb-class-card:hover {
    transform: translateY(-3px);
    border-color: #dcb36b;
    background: linear-gradient(180deg, #fffaf2 0%, #fff2de 100%);
}

.eb-class-card.is-selected {
    background: linear-gradient(180deg, #f6ddb0 0%, #efc47e 100%);
    border-color: #d7aa62;
}

.eb-class-name {
    display: block;
    color: #6a513a;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 6px;
}

.eb-class-meta {
    display: block;
    color: #947e67;
    font-size: 12px;
    font-weight: 600;
}

.eb-screen-actions,
.eb-confirm-actions,
.eb-thankyou-actions,
.eb-owner-row-actions,
.eb-owner-topbar,
.eb-owner-topbar-left,
.eb-owner-topbar-right,
.eb-owner-row,
.eb-owner-row-main,
.eb-owner-form-inline,
.eb-owner-inline-form,
.eb-owner-inline-check,
.eb-week-nav,
.eb-guided-slot-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.eb-screen-actions,
.eb-confirm-actions,
.eb-thankyou-actions {
    justify-content: space-between;
    margin-top: 26px;
}

.eb-owner-topbar {
    justify-content: space-between;
    margin-bottom: 18px;
}

.eb-owner-topbar-left h1 {
    margin: 0;
}

.eb-owner-row {
    justify-content: space-between;
    padding: 14px 16px;
    border: 1px solid #eadcc8;
    border-radius: 16px;
    background: #fffdf9;
}

.eb-owner-row-main {
    flex: 1;
    min-width: 0;
}

.eb-owner-rows {
    display: grid;
    gap: 10px;
}

.eb-owner-form-inline,
.eb-owner-inline-form {
    margin-bottom: 14px;
    padding: 14px;
    border: 1px solid #eadcc8;
    border-radius: 16px;
    background: #fffdf9;
}

.eb-owner-form-wide .eb-input,
.eb-owner-form-wide .eb-package-select {
    min-width: 140px;
}

.eb-owner-inline-check {
    white-space: nowrap;
    color: #6a513a;
    font-size: 14px;
    font-weight: 700;
}

.eb-owner-inline-text {
    color: #8d775f;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.eb-owner-pill,
.eb-inline-note {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #fff5e7;
    border: 1px solid #e1c898;
    color: #a57836;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.eb-owner-panel {
    padding: 18px;
    margin-top: 18px;
}

.eb-owner-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.eb-owner-section-head h2,
.eb-owner-section-head h3 {
    margin: 0;
    color: #233;
    font-size: 24px;
    font-weight: 800;
}

.eb-owner-subpanel {
    margin-top: 14px;
    padding: 14px;
    border: 1px solid #eadcc8;
    border-radius: 16px;
    background: #fffdf9;
}

.eb-btn {
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    border: none;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.eb-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    color: #fff;
    box-shadow: 0 10px 20px rgba(47, 152, 143, 0.16);
}

.eb-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.eb-btn-primary {
    background: linear-gradient(135deg, #e8bf7b 0%, #d5a255 100%);
    color: #fff;
}

.eb-btn-secondary {
    background: #fff8ee;
    color: #9c7440;
    border: 1px solid #dfc596;
}

.eb-btn-secondary:hover:not(:disabled),
.eb-week-btn:hover:not(:disabled),
.eb-selected-remove:hover:not(:disabled) {
    background: #2f988f;
    border-color: #2f988f;
    color: #fff;
}

.eb-top-selects,
.eb-field-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: 1fr 1.1fr;
    margin-bottom: 22px;
}

.eb-package-select,
.eb-input {
    min-height: 46px;
    padding: 10px 14px;
    border: 1px solid #e6d8c5;
    border-radius: 14px;
    background: #fff;
    color: #6a513a;
    font-size: 14px;
    box-sizing: border-box;
}

.eb-readonly-card,
.eb-readonly-empty {
    min-height: 56px;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid #eadcc8;
    background: linear-gradient(180deg, #fffdf9 0%, #fff8ee 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.eb-readonly-title {
    color: #6a513a;
    font-size: 17px;
    font-weight: 800;
}

.eb-readonly-meta {
    margin-top: 4px;
    color: #947e67;
    font-size: 12px;
    font-weight: 600;
}

.eb-guided-picker,
.eb-details-panel,
.eb-confirm-panel,
.eb-thankyou-panel,
.eb-owner-auth-card {
    padding: 20px;
    border: 1px solid #eadcc8;
    border-radius: 24px;
    background: linear-gradient(180deg, #fffdf9 0%, #fff8ef 100%);
}

.eb-guided-head,
.eb-confirm-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.eb-guided-title {
    color: #6a513a;
    font-size: 24px;
    font-weight: 800;
}

.eb-guided-badge,
.eb-confirm-badge {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #f8efdf;
    color: #a6772e;
    font-size: 12px;
    font-weight: 800;
}

.eb-guided-label {
    color: #8d775f;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.eb-week-nav {
    justify-content: space-between;
    margin-bottom: 12px;
}

.eb-week-center {
    text-align: center;
    flex: 1;
}

.eb-week-kicker {
    font-size: 12px;
    font-weight: 800;
    color: #a57836;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}

.eb-week-btn {
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid #e2ca98;
    background: #fff8eb;
    color: #8c6431;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.eb-week-label {
    color: #6a513a;
    font-size: 18px;
    font-weight: 800;
}

.eb-week-context {
    margin-top: 4px;
    color: #8f7b65;
    font-size: 13px;
    font-weight: 700;
}

.eb-guided-dates-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
}

.eb-guided-dates-row::-webkit-scrollbar,
.eb-guided-slot-row::-webkit-scrollbar {
    height: 8px;
}

.eb-guided-dates-row::-webkit-scrollbar-thumb,
.eb-guided-slot-row::-webkit-scrollbar-thumb {
    background: #dcc39b;
    border-radius: 999px;
}

.eb-guided-date-pill {
    flex: 0 0 146px;
    min-height: 64px;
    padding: 8px 10px;
    border: 1px solid #e6d0a1;
    border-radius: 18px;
    background: #fffaf2;
    cursor: pointer;
    text-align: center;
}

.eb-guided-date-pill.is-active {
    background: linear-gradient(180deg, #30998f 0%, #257f77 100%);
    border-color: #257f77;
}

.eb-guided-date-pill.is-active .eb-guided-date-day,
.eb-guided-date-pill.is-active .eb-guided-date-value {
    color: #fff;
}

.eb-guided-date-pill:hover:not(:disabled) {
    background: linear-gradient(180deg, #30998f 0%, #257f77 100%);
    border-color: #257f77;
}

.eb-guided-date-pill:hover:not(:disabled) .eb-guided-date-day,
.eb-guided-date-pill:hover:not(:disabled) .eb-guided-date-value {
    color: #fff;
}

.eb-guided-date-pill.is-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #fcf8f1;
    border-color: #ebdec8;
}

.eb-guided-date-day {
    display: block;
    color: #8c7960;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.eb-guided-date-value {
    display: block;
    color: #6a513a;
    font-size: 15px;
    font-weight: 800;
}

.eb-guided-slot-head {
    color: #6a513a;
    font-size: 20px;
    font-weight: 800;
    margin: 14px 0 12px;
}

.eb-guided-slot-row {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
}

.eb-guided-slot-pill {
    flex: 0 0 150px;
    padding: 9px 10px;
    border: 1px solid #e2ca98;
    border-radius: 999px;
    background: linear-gradient(180deg, #fff8eb 0%, #f8ecd2 100%);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-width: 150px;
    text-align: center;
}

.eb-guided-slot-time,
.eb-guided-slot-meta,
.eb-guided-slot-count {
    display: block;
    width: 100%;
    text-align: center;
}

.eb-guided-slot-time {
    color: #6a513a;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
}

.eb-guided-slot-meta,
.eb-guided-slot-count {
    color: #8a765f;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 700;
}

.eb-guided-slot-count {
    color: #a57836;
}

.eb-guided-slot-pill:hover:not(:disabled) {
    background: linear-gradient(180deg, #30998f 0%, #257f77 100%);
    border-color: #257f77;
}

.eb-guided-slot-pill:hover:not(:disabled) .eb-guided-slot-time,
.eb-guided-slot-pill:hover:not(:disabled) .eb-guided-slot-meta,
.eb-guided-slot-pill:hover:not(:disabled) .eb-guided-slot-count {
    color: #fff;
}

.eb-selected-wrap,
.eb-summary-slots {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.eb-selected-item,
.eb-summary-slot {
    padding: 12px 14px;
    border: 1px solid #e2ca98;
    border-radius: 16px;
    background: linear-gradient(180deg, #fff8eb 0%, #f8ecd2 100%);
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
}

.eb-selected-title,
.eb-summary-slot-date {
    color: #6a513a;
    font-size: 14px;
    font-weight: 800;
}

.eb-selected-date,
.eb-selected-time,
.eb-summary-slot-time {
    color: #8a765f;
    font-size: 13px;
    line-height: 1.35;
}

.eb-selected-stack {
    display: grid;
    gap: 8px;
}

.eb-selected-item--meta {
    background: linear-gradient(180deg, #fff8eb 0%, #f8ecd2 100%);
}

.eb-selected-session-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.eb-selected-session-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex: 0 0 auto;
    min-width: 150px;
    max-width: 190px;
    padding: 10px 12px;
    border: 1px solid #e2ca98;
    border-radius: 16px;
    background: #fffdf9;
}

.eb-selected-session-copy {
    display: grid;
    gap: 3px;
}

.eb-selected-session-label {
    color: #a57836;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.eb-selected-session-date {
    color: #6a513a;
    font-size: 13px;
    font-weight: 800;
}

.eb-selected-session-time {
    color: #8a765f;
    font-size: 12px;
    line-height: 1.25;
}

.eb-selected-remove {
    align-self: flex-end;
}

.eb-summary-card {
    border: 1px solid #eadcc8;
    border-radius: 20px;
    background: #fffdf9;
    padding: 16px;
}

.eb-summary-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 0;
    border-bottom: 1px solid #f0e5d6;
}

.eb-summary-row:last-child {
    border-bottom: 0;
}

.eb-summary-row span {
    color: #8d775f;
    font-size: 14px;
    font-weight: 700;
}

.eb-summary-row strong {
    color: #6a513a;
    font-size: 14px;
    font-weight: 800;
    text-align: right;
}

.eb-empty-box {
    width: 100%;
    padding: 16px;
    border-radius: 18px;
    border: 1px dashed #dec9ab;
    background: #fffaf2;
    color: #977e63;
    font-size: 14px;
    box-sizing: border-box;
}

.eb-message {
    margin-top: 14px;
    color: #b15d38;
    font-weight: 700;
}

.eb-injury-wrap {
    display: none;
}

.eb-injury-wrap.is-visible {
    display: block;
}

.eb-owner-auth-card {
    max-width: 520px;
    margin: 0 auto;
}

.eb-owner-alert {
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: 14px;
    font-weight: 700;
}

.eb-owner-alert.is-success {
    background: #eff9f0;
    border: 1px solid #c7e2ca;
    color: #2f7b41;
}

.eb-owner-alert.is-error {
    background: #fff1ee;
    border: 1px solid #efc4bb;
    color: #b35736;
}

.eb-owner-reason {
    min-width: 280px;
    flex: 1;
}

@media (max-width: 1100px) {
    .eb-class-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .eb-guided-dates-row {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .eb-booking-app,
    .eb-owner-page {
        width: 100%;
        padding: 12px 8px 24px;
    }

    .eb-screen {
        padding: 14px;
    }

    .eb-screen-copy h2,
    .eb-owner-title {
        font-size: 26px;
    }

    .eb-class-grid,
    .eb-top-selects,
    .eb-field-grid {
        grid-template-columns: 1fr;
    }

    .eb-progress {
        justify-content: flex-start;
    }

    .eb-wizard-screens {
        min-height: auto;
    }

    .eb-selected-item,
    .eb-summary-slot,
    .eb-input,
    .eb-package-select {
        width: 100%;
    }

    .eb-week-center {
        order: -1;
        width: 100%;
    }

    .eb-week-btn {
        flex: 1;
        min-height: 38px;
        padding: 0 12px;
        font-size: 12px;
    }

    .eb-guided-dates-row,
    .eb-guided-slot-row {
        gap: 8px;
    }

    .eb-guided-date-pill {
        flex: 0 0 96px;
        min-height: 58px;
        border-radius: 999px;
        padding: 8px 8px;
    }

    .eb-guided-date-day {
        font-size: 10px;
        margin-bottom: 4px;
    }

    .eb-guided-date-value {
        font-size: 12px;
    }

    .eb-guided-slot-pill {
        flex: 0 0 132px;
        min-width: 132px;
        min-height: 74px;
        padding: 8px;
    }

    .eb-guided-slot-time {
        font-size: 12px;
    }

    .eb-guided-slot-meta,
    .eb-guided-slot-count {
        font-size: 10px;
    }

    .eb-selected-session-list {
        display: grid;
        gap: 8px;
    }

    .eb-selected-session-row {
        min-width: 0;
        max-width: none;
        width: 100%;
    }

    .eb-selected-remove {
        min-height: 34px;
        padding: 0 12px;
    }

    .eb-owner-row,
    .eb-owner-row-main,
    .eb-owner-form-inline,
    .eb-owner-inline-form,
    .eb-owner-topbar,
    .eb-owner-topbar-right {
        align-items: stretch;
    }
}
.eb-owner-shell {
    display: grid;
    gap: 18px;
}

.eb-owner-topbar--wide {
    align-items: flex-start;
}

.eb-owner-subtitle {
    margin: 6px 0 0;
    color: #907b67;
}

.eb-owner-kpis {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.eb-owner-kpi {
    padding: 18px;
    border: 1px solid #eadcc8;
    border-radius: 18px;
    background: #fffdf9;
    box-shadow: 0 10px 24px rgba(170, 130, 70, 0.06);
}

.eb-owner-kpi strong {
    display: block;
    font-size: 28px;
    line-height: 1;
    margin-bottom: 8px;
    color: #3e3223;
}

.eb-owner-kpi span,
.eb-owner-section-head p,
.eb-owner-filter-summary {
    color: #907b67;
}

.eb-owner-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.eb-owner-section-head {
    justify-content: space-between;
    margin-bottom: 14px;
}

.eb-owner-section-head h2,
.eb-owner-section-head h3 {
    margin: 0 0 6px;
    color: #2e261d;
}

.eb-owner-section-head p {
    margin: 0;
}

.eb-owner-list {
    display: grid;
    gap: 10px;
}

.eb-owner-item {
    display: flex;
    gap: 12px;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 14px 16px;
    border: 1px solid #eadcc8;
    border-radius: 16px;
    background: #fffdf9;
}

.eb-owner-item-main {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    flex: 1;
    min-width: 0;
}

.eb-owner-item-main--stack {
    display: grid;
    gap: 6px;
    align-items: start;
}

.eb-owner-line {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.eb-owner-line--small {
    font-size: 13px;
}

.eb-owner-filter-bar {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr auto;
    gap: 12px;
    align-items: end;
    margin-bottom: 14px;
}

.eb-owner-filter-bar label,
.eb-owner-form-grid label {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.eb-owner-filter-summary {
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 700;
}

.eb-owner-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.eb-owner-form-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.eb-owner-form-span-2 {
    grid-column: 1 / -1;
}

.eb-owner-check {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 8px !important;
    white-space: nowrap;
}


.eb-owner-stack-sections {
    display: grid;
    gap: 18px;
}

.eb-owner-panel--full {
    width: 100%;
}

.eb-owner-rule-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.eb-owner-rule-tab {
    border: 1px solid #eadcc8;
    background: #fffdf9;
    color: #6f5a43;
    border-radius: 999px;
    padding: 10px 14px;
    cursor: pointer;
    font-weight: 700;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.eb-owner-rule-tab span {
    opacity: .7;
}

.eb-owner-rule-tab:hover,
.eb-owner-rule-tab.is-active {
    background: #f5ead9;
    box-shadow: 0 10px 22px rgba(170, 130, 70, 0.12);
    transform: translateY(-1px);
}

.eb-owner-rule-day-panel {
    display: none;
    animation: ebFadeSlide .22s ease;
}

.eb-owner-rule-day-panel.is-active {
    display: block;
}

.eb-owner-ajax-form.is-submitting,
.eb-owner-modal-form.is-submitting {
    opacity: .72;
    pointer-events: none;
}

.eb-owner-modal {
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, visibility .2s ease;
}

.eb-owner-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.eb-owner-modal__dialog {
    transform: translateY(12px) scale(.98);
    transition: transform .22s ease;
}

.eb-owner-modal.is-open .eb-owner-modal__dialog {
    transform: translateY(0) scale(1);
}

@keyframes ebFadeSlide {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.eb-owner-rule-monthday.is-hidden,
.eb-owner-rule-weekday.is-hidden {
    display: none !important;
}

.eb-owner-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 999999;
}

.eb-owner-modal.is-open {
    display: block;
}

.eb-owner-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(24, 18, 10, 0.55);
}

.eb-owner-modal__dialog {
    position: relative;
    z-index: 2;
    width: min(720px, calc(100vw - 28px));
    margin: 34px auto;
    border-radius: 22px;
    background: #fffaf4;
    border: 1px solid #eadcc8;
    box-shadow: 0 26px 60px rgba(33, 23, 7, 0.18);
    overflow: hidden;
}

.eb-owner-modal__dialog--large {
    width: min(920px, calc(100vw - 28px));
}

.eb-owner-modal__header,
.eb-owner-modal__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    border-bottom: 1px solid #eadcc8;
}

.eb-owner-modal__footer {
    justify-content: flex-end;
    border-top: 1px solid #eadcc8;
    border-bottom: 0;
    padding-top: 18px;
}

.eb-owner-modal__header h3 {
    margin: 0;
    color: #2e261d;
}

.eb-owner-modal__close {
    border: 0;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    color: #7d5e3d;
    cursor: pointer;
}

.eb-owner-modal-form {
    padding: 18px;
    max-height: calc(100vh - 140px);
    overflow: auto;
}

.eb-owner-students-content {
    display: grid;
    gap: 10px;
}

.eb-owner-student-card {
    padding: 12px 14px;
    border: 1px solid #eadcc8;
    border-radius: 14px;
    background: #fffdf9;
}

.eb-owner-cancel-copy {
    margin-bottom: 14px;
    color: #6f5a43;
    font-weight: 700;
}

@media (max-width: 1100px) {
    .eb-owner-kpis,
    .eb-owner-grid-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .eb-booking-app,
    .eb-owner-page {
        width: 94%;
    }

    .eb-owner-kpis,
    .eb-owner-grid-2,
    .eb-owner-filter-bar,
    .eb-owner-form-grid--2 {
        grid-template-columns: 1fr;
    }

    .eb-owner-topbar,
    .eb-owner-item,
    .eb-owner-item-main,
    .eb-owner-line,
    .eb-owner-row-actions {
        align-items: flex-start;
    }

    .eb-owner-row-actions {
        width: 100%;
    }

    .eb-owner-row-actions .eb-btn,
    .eb-owner-row-actions form {
        width: 100%;
    }

    .eb-owner-row-actions form .eb-btn {
        width: 100%;
    }
}


.eb-owner-alert.is-live {
    animation: ebOwnerFadeIn .24s ease;
}

@keyframes ebOwnerFadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.eb-owner-booking-package-copy {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #eadcc8;
    border-radius: 12px;
    background: #fffdf9;
    color: #6f5a43;
    font-weight: 700;
}

.eb-owner-booking-slots {
    display: grid;
    gap: 10px;
    max-height: 260px;
    overflow: auto;
    padding: 10px;
    border: 1px solid #eadcc8;
    border-radius: 16px;
    background: #fffdf9;
}

.eb-owner-slot-check {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start;
    gap: 10px !important;
    padding: 10px 12px;
    border: 1px solid #f0e4d4;
    border-radius: 12px;
    background: #ffffff;
}

.eb-owner-slot-check.is-hidden {
    display: none !important;
}

.eb-owner-slot-check input {
    margin-top: 3px;
}

.eb-owner-booking-slot-note {
    margin-top: 8px;
    color: #6f5a43;
    font-size: 13px;
    font-weight: 700;
}


.eb-btn-small {
    min-height: 36px;
    padding: 0 12px;
    font-size: 12px;
}

.eb-owner-booking-selected-slots {
    display: grid;
    gap: 10px;
    margin-bottom: 10px;
}

.eb-owner-selected-slot-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 12px 14px;
    border: 1px solid #eadcc8;
    border-radius: 16px;
    background: #fffdf9;
}

.eb-owner-selected-slot-copy {
    display: grid;
    gap: 4px;
}

.eb-owner-selected-slot-copy strong {
    color: #6a513a;
    font-size: 14px;
}

.eb-owner-selected-slot-copy span {
    color: #8a765f;
    font-size: 13px;
}

.eb-owner-selected-slot-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}


.eb-owner-list--cards {
    gap: 16px;
}

.eb-owner-item--stacked {
    align-items: flex-start;
}

.eb-owner-pricing-preview-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.eb-owner-pricing-preview {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border: 1px solid #e5c8a3;
    border-radius: 999px;
    background: #fff8ef;
    font-size: 13px;
    line-height: 1.2;
}

.eb-owner-pricing-manager {
    display: grid;
    gap: 16px;
}

.eb-owner-pricing-manager-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.eb-owner-selected-slots-wrap {
    display: grid;
    gap: 10px;
    margin-bottom: 12px;
}

.eb-owner-selected-slot-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid #e5d5c3;
    border-radius: 16px;
    background: #fffdf9;
}

.eb-owner-selected-slot-copy {
    display: grid;
    gap: 4px;
}

.eb-owner-selected-slot-copy span {
    color: #7a6756;
    font-size: 14px;
}

.eb-owner-selected-slot-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.eb-btn-small {
    padding: 8px 12px;
    font-size: 13px;
}

@media (max-width: 767px) {
    .eb-owner-selected-slot-card,
    .eb-owner-pricing-manager-head {
        flex-direction: column;
        align-items: flex-start;
    }
}


.eb-owner-swap-slot-current {
    display: grid;
    gap: 6px;
    margin-bottom: 14px;
    padding: 12px 14px;
    border: 1px solid #eadcc8;
    border-radius: 16px;
    background: #fffdf9;
}

.eb-owner-swap-slot-current strong {
    color: #6a513a;
    font-size: 14px;
}

.eb-owner-swap-slot-current span {
    color: #8a765f;
    font-size: 13px;
    line-height: 1.4;
}

.eb-owner-swap-slot-options {
    display: grid;
    gap: 10px;
}

.eb-owner-swap-slot-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid #eadcc8;
    border-radius: 16px;
    background: #fffdf9;
}

.eb-owner-swap-slot-option span {
    display: grid;
    gap: 4px;
}

.eb-owner-swap-slot-option strong {
    color: #6a513a;
    font-size: 14px;
}

.eb-owner-swap-slot-option small {
    color: #8a765f;
    font-size: 13px;
}

@media (max-width: 767px) {
    .eb-selected-session-row,
    .eb-owner-swap-slot-option {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* Booking UI compact refresh */
.eb-booking-app {
    width: min(99.6vw, 2200px);
    padding: 8px 0 16px;
}

.eb-wizard-card {
    border-radius: 16px;
}

.eb-wizard-top {
    padding: 14px 18px;
}

.eb-wizard-screens {
    min-height: 0;
}

.eb-screen {
    padding: 16px 14px;
}

.eb-screen-copy {
    margin-bottom: 16px;
}

.eb-screen-copy h2 {
    font-size: 28px;
    margin-bottom: 6px;
}

.eb-screen-actions-step-1 {
    justify-content: center;
    margin-top: 14px;
}

.eb-step-hint {
    color: #a1845e;
    font-size: 13px;
    font-weight: 700;
}

.eb-class-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    align-items: stretch;
}

.eb-class-card {
    min-height: 108px;
    padding: 14px 16px;
    border-radius: 18px;
}

.eb-class-name {
    font-size: 16px;
    margin-bottom: 4px;
}

.eb-class-meta {
    font-size: 11px;
    line-height: 1.35;
}

.eb-btn:hover,
.eb-week-btn:hover,
.eb-guided-date-pill:hover:not(:disabled),
.eb-guided-slot-pill:hover:not(:disabled) {
    color: #fff;
}

.eb-guided-picker {
    padding: 16px;
    border-radius: 18px;
}

.eb-week-nav {
    margin-bottom: 10px;
}

.eb-week-btn {
    min-height: 38px;
    padding: 0 14px;
    font-size: 12px;
}

.eb-guided-title {
    font-size: 20px;
}

.eb-week-context {
    font-size: 12px;
}

.eb-guided-count {
    font-size: 14px;
    margin-bottom: 10px;
}

.eb-guided-dates-row {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
    overflow: visible;
    padding-bottom: 0;
}

.eb-guided-date-pill {
    flex: none;
    width: 100%;
    min-height: 62px;
    padding: 8px 6px;
    border-radius: 999px;
}

.eb-guided-date-day {
    font-size: 10px;
    margin-bottom: 4px;
}

.eb-guided-date-value {
    font-size: 14px;
}

.eb-guided-slot-head {
    font-size: 16px;
    margin: 10px 0 8px;
}

.eb-guided-slot-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    overflow: visible;
    padding-bottom: 0;
}

.eb-guided-slot-pill {
    flex: none;
    width: 100%;
    min-width: 0;
    min-height: 78px;
    padding: 8px 6px;
    border-radius: 18px;
}

.eb-guided-slot-time {
    font-size: 12px;
}

.eb-guided-slot-meta,
.eb-guided-slot-count {
    font-size: 10px;
}

.eb-selection-summary {
    margin-top: 12px;
}

.eb-selected-session-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.eb-selected-session-row {
    min-width: 0;
    max-width: none;
    width: 100%;
    padding: 10px 8px;
    border-radius: 14px;
    justify-content: center;
    text-align: center;
    display: grid;
    gap: 8px;
}

.eb-selected-session-copy {
    display: grid;
    gap: 4px;
    justify-items: center;
}

.eb-selected-session-label {
    font-size: 10px;
    text-align: center;
}

.eb-selected-session-date {
    font-size: 13px;
    white-space: nowrap;
}

.eb-selected-session-time {
    font-size: 12px;
    white-space: nowrap;
}

.eb-selected-remove {
    justify-self: center;
    min-height: 30px;
    padding: 0 12px;
    font-size: 11px;
}

.eb-summary-card {
    padding: 14px;
}

.eb-summary-row {
    padding: 6px 0;
}

.eb-summary-slots {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.eb-summary-slot {
    padding: 10px 8px;
    border-radius: 14px;
    text-align: center;
    gap: 3px;
    min-width: 0;
}

.eb-summary-slot-date {
    font-size: 11px;
    line-height: 1.25;
}

.eb-summary-slot-time {
    font-size: 10px;
    line-height: 1.2;
}

.eb-check {
    align-items: flex-start;
}

.eb-injury-wrap.is-visible {
    display: block;
}

@media (max-width: 1280px) {
    .eb-class-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1100px) {
    .eb-class-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .eb-selected-session-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .eb-booking-app,
    .eb-owner-page {
        width: calc(100vw - 4px);
        padding: 2px 0 8px;
    }

    .eb-wizard-card {
        border-radius: 10px;
    }

    .eb-wizard-top {
        padding: 10px 10px 8px;
        gap: 8px;
    }

    .eb-progress {
        gap: 6px;
    }

    .eb-progress-step {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .eb-progress-line {
        width: 20px;
    }

    .eb-screen {
        padding: 10px 8px;
    }

    .eb-screen-copy h2,
    .eb-owner-title {
        font-size: 22px;
    }

    .eb-screen-copy p {
        font-size: 14px;
    }

    .eb-class-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        justify-items: center;
        align-items: stretch;
    }

    .eb-class-card {
        min-height: 92px;
        width: 100%;
        max-width: 100%;
        padding: 12px 10px;
        border-radius: 16px;
        text-align: center;
        justify-self: center;
    }

    .eb-class-name {
        font-size: 14px;
    }

    .eb-class-meta {
        font-size: 10px;
    }

    .eb-step-hint {
        text-align: center;
    }

    .eb-top-selects,
    .eb-field-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .eb-guided-picker {
        padding: 12px 8px;
        border-radius: 16px;
    }

    .eb-week-nav {
        display: grid;
        grid-template-columns: auto 1fr auto;
        gap: 6px;
        align-items: center;
    }

    .eb-week-center {
        order: 0;
        width: 100%;
        grid-column: auto;
        min-width: 0;
    }

    .eb-guided-title {
        font-size: 14px;
        line-height: 1.05;
    }

    .eb-week-kicker {
        font-size: 9px;
        margin-bottom: 2px;
    }

    .eb-week-context {
        margin-top: 2px;
        font-size: 11px;
        line-height: 1.1;
    }

    .eb-week-btn {
        min-height: 30px;
        padding: 0 9px;
        font-size: 10px;
        white-space: nowrap;
    }

    .eb-guided-count {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .eb-guided-label {
        font-size: 11px;
        margin-bottom: 8px;
    }

    .eb-guided-dates-row {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 6px;
    }

    .eb-guided-date-pill {
        min-height: 54px;
        padding: 6px 4px;
    }

    .eb-guided-date-day {
        font-size: 9px;
        margin-bottom: 2px;
    }

    .eb-guided-date-value {
        font-size: 11px;
    }

    .eb-guided-slot-head {
        font-size: 14px;
        margin: 8px 0 6px;
    }

    .eb-guided-slot-row {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 6px;
    }

    .eb-guided-slot-pill {
        min-height: 70px;
        padding: 6px 4px;
        border-radius: 14px;
    }

    .eb-guided-slot-time {
        font-size: 10px;
    }

    .eb-guided-slot-meta,
    .eb-guided-slot-count {
        font-size: 8px;
        line-height: 1.15;
    }

    .eb-selected-session-list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 5px;
    }

    .eb-selected-session-row {
        padding: 6px 4px;
        gap: 4px;
        border-radius: 12px;
    }

    .eb-selected-session-label {
        font-size: 8px;
    }

    .eb-selected-session-date {
        font-size: 10px;
        line-height: 1.15;
    }

    .eb-selected-session-time {
        font-size: 9px;
        line-height: 1.15;
    }

    .eb-selected-remove {
        min-height: 22px;
        padding: 0 8px;
        font-size: 9px;
        border-radius: 999px;
    }

    .eb-summary-card {
        padding: 10px;
    }

    .eb-summary-row span,
    .eb-summary-row strong {
        font-size: 12px;
    }

    .eb-summary-slots {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 6px;
    }

    .eb-summary-slot {
        padding: 8px 5px;
    }

    .eb-summary-slot-date {
        font-size: 9px;
    }

    .eb-summary-slot-time {
        font-size: 8px;
    }

    .eb-details-panel {
        padding: 10px 8px;
    }

    .eb-screen-actions,
    .eb-confirm-actions {
        margin-top: 14px;
    }
}


/* 2026-03-22 compact mobile + owner dashboard fixes */
.eb-owner-page {
    width: min(94vw, 1560px);
    max-width: calc(100vw - 16px);
    margin-left: auto;
    margin-right: auto;
    overflow-x: clip;
}

.eb-owner-page .eb-owner-panel,
.eb-owner-page .eb-owner-shell,
.eb-owner-page .eb-owner-kpis,
.eb-owner-page .eb-owner-grid-2 {
    max-width: 100%;
    box-sizing: border-box;
}

.eb-owner-page .eb-owner-panel {
    overflow-x: hidden;
}

@media (max-width: 767px) {
    .eb-week-btn {
        font-size: 9px !important;
        min-height: 28px;
        padding: 0 8px;
    }

    .eb-screen-3 .eb-screen-actions,
    .eb-screen-4 .eb-confirm-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        align-items: center;
    }

    .eb-screen-3 .eb-screen-actions .eb-btn,
    .eb-screen-4 .eb-confirm-actions .eb-btn {
        width: 100%;
        min-width: 0;
        min-height: 34px;
        padding: 0 8px;
        font-size: 9px;
        white-space: nowrap;
    }

    .eb-selected-session-list {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 4px;
        align-items: stretch;
    }

    .eb-selected-session-row {
        width: 100%;
        min-width: 0;
        max-width: none;
        padding: 5px 3px;
        gap: 3px;
    }

    .eb-selected-session-copy {
        gap: 2px;
    }

    .eb-selected-session-label {
        font-size: 8px;
        line-height: 1.05;
    }

    .eb-selected-session-date {
        font-size: 9px;
        line-height: 1.1;
    }

    .eb-selected-session-time {
        font-size: 8px;
        line-height: 1.1;
    }

    .eb-selected-remove {
        min-height: 20px;
        padding: 0 6px;
        font-size: 8px;
        color: #fff !important;
        background: #d84b4b !important;
        border: 1px solid #d84b4b !important;
        box-shadow: none;
    }

    .eb-selected-remove:hover:not(:disabled) {
        color: #fff !important;
        background: #bd3f3f !important;
        border-color: #bd3f3f !important;
        box-shadow: none;
    }
}


/* 2026-03-22 visual cleanup: owner booking editor + centered dashboard */
#eb-owner-booking-modal [data-booking-slot-options],
#eb-owner-booking-modal [data-booking-slot-count] {
    display: none !important;
}

#eb-owner-booking-modal [data-booking-selected-slots] {
    margin-top: 4px;
}

.eb-owner-page {
    width: 100%;
    max-width: 1440px;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 24px 16px 40px;
    box-sizing: border-box;
    overflow-x: hidden;
}

.eb-owner-page .eb-owner-shell,
.eb-owner-page .eb-owner-panel,
.eb-owner-page .eb-owner-kpis,
.eb-owner-page .eb-owner-grid-2,
.eb-owner-page .eb-owner-list,
.eb-owner-page .eb-owner-item,
.eb-owner-page .eb-owner-item-main,
.eb-owner-page .eb-owner-row {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.eb-owner-page .eb-owner-panel {
    overflow-x: hidden;
}

@media (min-width: 768px) {
    .eb-owner-page {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (max-width: 767px) {
    .eb-selected-session-list {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 4px !important;
    }

    .eb-selected-session-row {
        padding: 5px 3px !important;
        gap: 3px !important;
    }

    .eb-selected-session-copy {
        gap: 2px !important;
    }

    .eb-selected-session-label {
        font-size: 8px !important;
        line-height: 1.05 !important;
        text-align: center !important;
    }

    .eb-selected-session-date {
        font-size: 9px !important;
        line-height: 1.1 !important;
        text-align: center !important;
    }

    .eb-selected-session-time {
        font-size: 8px !important;
        line-height: 1.1 !important;
        text-align: center !important;
    }

    .eb-selected-remove {
        min-height: 18px !important;
        padding: 0 5px !important;
        font-size: 7px !important;
        font-weight: 800 !important;
        color: #ffffff !important;
        background: #d84b4b !important;
        border: 1px solid #d84b4b !important;
        box-shadow: none !important;
    }

    .eb-selected-remove:hover:not(:disabled) {
        color: #ffffff !important;
        background: #c23f3f !important;
        border-color: #c23f3f !important;
    }

    .eb-screen-3 .eb-screen-actions,
    .eb-screen-4 .eb-confirm-actions {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        gap: 8px !important;
    }

    .eb-screen-3 .eb-screen-actions .eb-btn,
    .eb-screen-4 .eb-confirm-actions .eb-btn {
        flex: 1 1 0;
        min-width: 0;
        min-height: 32px;
        padding: 0 8px;
        font-size: 10px !important;
        white-space: nowrap;
    }

    .eb-week-kicker,
    .eb-week-btn {
        font-size: 10px !important;
    }

    .eb-week-btn {
        min-height: 26px !important;
        padding: 0 8px !important;
    }

    .eb-week-nav {
        align-items: center;
        flex-wrap: nowrap !important;
    }
}


/* 2026-03-23 layout + class switcher refinements */
.eb-course-select,
.eb-package-select {
    width: 100%;
}

.eb-course-change-note {
    margin-top: 8px;
    font-size: 13px;
    color: #8f734f;
}

.eb-class-grid {
    justify-content: center;
}

@media (min-width: 1024px) {
    .eb-class-grid {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 14px !important;
        align-items: stretch;
    }

    .eb-class-card {
        min-height: 120px !important;
        padding: 18px 18px !important;
        text-align: left;
    }

    .eb-guided-slot-row {
        display: grid !important;
        grid-template-columns: repeat(8, minmax(0, 1fr)) !important;
        gap: 10px !important;
        align-items: stretch;
    }

    .eb-guided-slot-pill {
        min-width: 0 !important;
        width: 100% !important;
        min-height: 88px !important;
        padding: 12px 8px !important;
    }

    .eb-guided-slot-time {
        font-size: 14px !important;
    }

    .eb-guided-slot-meta,
    .eb-guided-slot-count {
        font-size: 11px !important;
        line-height: 1.2 !important;
    }

    .eb-summary-slots {
        display: grid !important;
        grid-template-columns: repeat(8, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }

    .eb-summary-slot {
        min-width: 0;
        padding: 10px 6px !important;
    }

    .eb-summary-slot-date {
        font-size: 11px !important;
        line-height: 1.2 !important;
    }

    .eb-summary-slot-time {
        font-size: 10px !important;
        line-height: 1.2 !important;
    }

    .eb-owner-page {
        width: min(100%, 1500px) !important;
        max-width: 1500px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 1023px) {
    .eb-class-grid {
        justify-items: center;
    }
}

@media (max-width: 767px) {
    .eb-selected-session-list {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 4px !important;
    }

    .eb-selected-session-row {
        padding: 4px 2px !important;
        gap: 2px !important;
        border-radius: 14px !important;
    }

    .eb-selected-session-label {
        font-size: 7px !important;
    }

    .eb-selected-session-date {
        font-size: 8px !important;
    }

    .eb-selected-session-time {
        font-size: 7px !important;
    }

    .eb-selected-remove {
        min-height: 16px !important;
        padding: 0 4px !important;
        font-size: 6px !important;
        font-weight: 800 !important;
        color: #ffffff !important;
        background: #d84b4b !important;
        border-color: #d84b4b !important;
        border-radius: 999px !important;
    }

    .eb-screen-1 .eb-class-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
        justify-items: center !important;
    }

    .eb-screen-1 .eb-class-card {
        width: 100% !important;
        min-width: 0 !important;
        text-align: center !important;
    }
}

/* 2026-03-23 final desktop centering + compact selected sessions */
@media (min-width: 1024px) {
    .eb-screen-1 .eb-class-grid {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 16px !important;
        justify-items: stretch !important;
        align-items: stretch !important;
    }

    .eb-screen-1 .eb-class-card {
        min-height: 102px !important;
        padding: 16px 14px !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .eb-screen-1 .eb-class-name,
    .eb-screen-1 .eb-class-meta {
        text-align: center !important;
    }

    .eb-screen-1 .eb-class-name {
        font-size: 18px !important;
        margin-bottom: 4px !important;
    }

    .eb-screen-1 .eb-class-meta {
        line-height: 1.3 !important;
    }

    .eb-selection-summary .eb-selected-session-list {
        display: grid !important;
        grid-template-columns: repeat(8, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }

    .eb-selection-summary .eb-selected-session-row {
        min-width: 0 !important;
        max-width: none !important;
        width: 100% !important;
        padding: 8px 6px !important;
        border-radius: 14px !important;
        justify-content: center !important;
        text-align: center !important;
        display: grid !important;
        gap: 6px !important;
    }

    .eb-selection-summary .eb-selected-session-copy {
        display: grid !important;
        gap: 3px !important;
        justify-items: center !important;
    }

    .eb-selection-summary .eb-selected-session-label {
        font-size: 9px !important;
        line-height: 1.1 !important;
        text-align: center !important;
    }

    .eb-selection-summary .eb-selected-session-date {
        font-size: 12px !important;
        line-height: 1.15 !important;
        white-space: nowrap !important;
    }

    .eb-selection-summary .eb-selected-session-time {
        font-size: 10px !important;
        line-height: 1.15 !important;
        white-space: nowrap !important;
    }

    .eb-selection-summary .eb-selected-remove {
        justify-self: center !important;
        min-height: 24px !important;
        padding: 0 8px !important;
        font-size: 8px !important;
        line-height: 1 !important;
    }
}


/* 2026-03-23 refreshed slot swap modal + desktop 8-up sessions + centered classes */
#eb-owner-booking-slot-swap-modal .eb-owner-modal__dialog {
    width: min(1120px, calc(100vw - 36px)) !important;
}

#eb-owner-booking-slot-swap-modal .eb-owner-modal__header h3 {
    font-size: clamp(30px, 3vw, 42px);
    line-height: 1.1;
}

#eb-owner-booking-slot-swap-modal .eb-owner-modal-form {
    padding: 18px 18px 20px;
}

#eb-owner-booking-slot-swap-modal .eb-owner-swap-slot-current {
    border-radius: 22px;
    border-color: #e8d1a7;
    background: linear-gradient(180deg, #fffaf2 0%, #fbf1dd 100%);
    padding: 16px 18px;
}

#eb-owner-booking-slot-swap-modal .eb-owner-swap-slot-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

#eb-owner-booking-slot-swap-modal .eb-owner-swap-slot-option {
    position: relative;
    min-height: 112px;
    margin: 0;
    padding: 18px 18px 18px 48px;
    border: 1px solid #e6c48e;
    border-radius: 28px;
    background: linear-gradient(180deg, #fff9ef 0%, #f7edd8 100%);
    box-shadow: 0 8px 22px rgba(122, 90, 34, 0.06);
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

#eb-owner-booking-slot-swap-modal .eb-owner-swap-slot-option:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(37, 127, 119, 0.12);
    border-color: #2d8f86;
}

#eb-owner-booking-slot-swap-modal .eb-owner-swap-slot-option input {
    position: absolute;
    left: 18px;
    top: 20px;
    margin: 0;
}

#eb-owner-booking-slot-swap-modal .eb-owner-swap-slot-option span {
    display: grid;
    align-content: center;
    gap: 8px;
    min-height: 100%;
}

#eb-owner-booking-slot-swap-modal .eb-owner-swap-slot-option strong {
    font-size: 24px;
    line-height: 1.08;
    font-weight: 800;
    color: #6a513a;
}

#eb-owner-booking-slot-swap-modal .eb-owner-swap-slot-option small {
    font-size: 16px;
    line-height: 1.35;
    color: #8a765f;
}

#eb-owner-booking-slot-swap-modal .eb-owner-swap-slot-option input:checked + span strong,
#eb-owner-booking-slot-swap-modal .eb-owner-swap-slot-option input:checked + span small {
    color: #fff;
}

#eb-owner-booking-slot-swap-modal .eb-owner-swap-slot-option:has(input:checked) {
    border-color: #257f77;
    background: linear-gradient(180deg, #30998f 0%, #257f77 100%);
    box-shadow: 0 14px 28px rgba(37, 127, 119, 0.22);
}

@media (max-width: 900px) {
    #eb-owner-booking-slot-swap-modal .eb-owner-swap-slot-options {
        grid-template-columns: 1fr;
    }

    #eb-owner-booking-slot-swap-modal .eb-owner-swap-slot-option {
        min-height: 96px;
        padding: 16px 16px 16px 44px;
        border-radius: 22px;
    }

    #eb-owner-booking-slot-swap-modal .eb-owner-swap-slot-option strong {
        font-size: 20px;
    }

    #eb-owner-booking-slot-swap-modal .eb-owner-swap-slot-option small {
        font-size: 14px;
    }
}

@media (min-width: 1024px) {
    .eb-screen-1 .eb-class-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 14px !important;
    }

    .eb-screen-1 .eb-class-card {
        min-height: 118px !important;
        width: 100% !important;
        text-align: center !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .eb-screen-1 .eb-class-card .eb-class-name,
    .eb-screen-1 .eb-class-card .eb-class-meta {
        width: 100%;
        text-align: center !important;
    }

    .eb-selection-summary .eb-selected-session-list,
    .eb-summary-slots {
        display: grid !important;
        grid-template-columns: repeat(8, minmax(0, 1fr)) !important;
        gap: 8px !important;
        align-items: stretch;
    }

    .eb-selection-summary .eb-selected-session-row {
        min-width: 0 !important;
        max-width: none !important;
        width: 100% !important;
        padding: 10px 6px !important;
        border-radius: 14px !important;
        gap: 5px !important;
    }

    .eb-selection-summary .eb-selected-session-label {
        font-size: 10px !important;
    }

    .eb-selection-summary .eb-selected-session-date {
        font-size: 13px !important;
        line-height: 1.15 !important;
    }

    .eb-selection-summary .eb-selected-session-time {
        font-size: 11px !important;
        line-height: 1.15 !important;
    }

    .eb-selection-summary .eb-selected-remove {
        min-height: 26px !important;
        padding: 0 7px !important;
        font-size: 9px !important;
        line-height: 1 !important;
    }

    .eb-summary-slot {
        min-width: 0 !important;
        width: 100% !important;
        padding: 10px 8px !important;
        border-radius: 14px !important;
        gap: 5px !important;
        text-align: center;
        align-items: center;
    }

    .eb-summary-slot-date {
        font-size: 13px !important;
        line-height: 1.18 !important;
    }

    .eb-summary-slot-time {
        font-size: 11px !important;
        line-height: 1.18 !important;
    }
}

.eb-guided-slot-pill.is-full {
  display:flex;
  align-items:center;
  gap:10px;
  justify-content:space-between;
  opacity:.92;
}

.eb-waitlist-btn {
  border:none;
  border-radius:999px;
  padding:8px 12px;
  background:#1e3a37;
  color:#fff;
  font-weight:700;
  cursor:pointer;
}


.eb-owner-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #eadcc8;
    box-shadow: 0 4px 10px rgba(140,110,60,.10);
}

.eb-customer-booking-card {
    padding: 18px;
}

.eb-customer-edit-panel {
    margin-top: 16px;
    padding: 16px;
    border: 1px solid #eadcc8;
    border-radius: 18px;
    background: #fffdf9;
}

.eb-customer-slot-list {
    max-height: 420px;
    overflow: auto;
}
