/* ──────────────────────────────────────────────
   Hairtec – Clinic Minds Booking Widget
   Brand:  #223558 primary · #EEEFF2 surface · #5C5C5C body
   ────────────────────────────────────────────── */

@font-face {
    font-family: "Europa";
    src:
        url("https://use.typekit.net/af/5aaf18/00000000000000007735a08e/31/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("woff2"),
        url("https://use.typekit.net/af/5aaf18/00000000000000007735a08e/31/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("woff"),
        local("Europa"),
        local("Europa Regular"),
        local("Europa-Regular");
    font-display: swap;
    font-style: normal;
    font-weight: 400;
}

@font-face {
    font-family: "Europa";
    src:
        url("https://use.typekit.net/af/5bb28b/00000000000000007735a081/31/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3") format("woff2"),
        url("https://use.typekit.net/af/5bb28b/00000000000000007735a081/31/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3") format("woff"),
        local("Europa Bold"),
        local("Europa-Bold");
    font-display: swap;
    font-style: normal;
    font-weight: 700;
}

/* ── Design tokens ── */

.cmbp-app {
    --color-primary: #223558;
    --color-primary-hover: #1a2a47;
    --color-primary-light: rgba(34, 53, 88, 0.06);
    --color-primary-muted: rgba(34, 53, 88, 0.10);
    --color-surface: #eeeff2;
    --color-surface-raised: #ffffff;
    --color-text: #223558;
    --color-body: #5c5c5c;
    --color-muted: #8a8f9a;
    --color-border: rgba(34, 53, 88, 0.10);
    --color-border-strong: rgba(34, 53, 88, 0.16);
    --color-danger: #c53030;
    --color-danger-hover: #9b2c2c;
    --color-success: #38a169;
    --color-success-bg: #f0fff4;
    --color-success-text: #22543d;
    --color-error-bg: #fff5f5;
    --color-error-text: #c53030;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 999px;
    --shadow-xs: 0 1px 2px rgba(34, 53, 88, 0.04);
    --shadow-sm: 0 1px 4px rgba(34, 53, 88, 0.06);
    --shadow-md: 0 4px 12px rgba(34, 53, 88, 0.08);
    --shadow-lg: 0 8px 24px rgba(34, 53, 88, 0.12);
    --transition: 0.2s ease;

    background: var(--color-surface);
    color: var(--color-text);
    font-family: "Europa", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    border-radius: var(--radius-lg);
    height: 800px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--color-primary-muted) transparent;
}

.cmbp-app::-webkit-scrollbar { width: 6px; }
.cmbp-app::-webkit-scrollbar-track { background: transparent; }
.cmbp-app::-webkit-scrollbar-thumb { background: var(--color-primary-muted); border-radius: 3px; }

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

/* ── Shell ── */

.cmbp-shell {
    max-width: 880px;
    margin: 0 auto;
    padding: 1.25rem;
}

/* ── Widget header ── */

.cmbp-widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-border);
}

.cmbp-widget-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cmbp-widget-brand-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-primary);
    flex-shrink: 0;
}

.cmbp-widget-brand-name {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-primary);
}

.cmbp-widget-tabs {
    display: flex;
    gap: 0.25rem;
    background: var(--color-surface-raised);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    padding: 3px;
}

.cmbp-widget-tab {
    height: 32px;
    padding: 0 1rem;
    border: 0;
    border-radius: var(--radius-full);
    background: transparent;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-muted);
    cursor: pointer;
    transition: all var(--transition);
}

.cmbp-widget-tab:hover {
    color: var(--color-text);
}

.cmbp-widget-tab.is-active {
    background: var(--color-primary);
    color: #fff;
    box-shadow: var(--shadow-xs);
}

/* ── Panel (white card) ── */

.cmbp-panel {
    background: var(--color-surface-raised);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.cmbp-panel + .cmbp-panel {
    margin-top: 0.75rem;
}

/* ── Section header ── */

.cmbp-section-header {
    margin-bottom: 1.25rem;
}

.cmbp-section-header h2 {
    margin: 0 0 0.25rem;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-text);
}

.cmbp-section-header p {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.55;
    color: var(--color-body);
}

/* ── Step strip ── */

.cmbp-step-strip {
    display: flex;
    gap: 0.3rem;
    margin-bottom: 1.25rem;
}

.cmbp-step-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    height: 30px;
    padding: 0 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 700;
    background: var(--color-surface);
    color: var(--color-muted);
    border: 1px solid transparent;
    transition: all var(--transition);
}

.cmbp-step-pill.is-active {
    background: var(--color-surface-raised);
    color: var(--color-primary);
    border-color: var(--color-border-strong);
    box-shadow: var(--shadow-xs);
}

.cmbp-step-pill.is-complete {
    background: var(--color-primary);
    color: #fff;
}

/* ── Buttons ── */

.cmbp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    height: 42px;
    border: 0;
    border-radius: var(--radius-sm);
    background: var(--color-primary);
    color: #fff;
    padding: 0 1.25rem;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: var(--shadow-xs);
    white-space: nowrap;
}

.cmbp-button:hover {
    background: var(--color-primary-hover);
    box-shadow: var(--shadow-sm);
}

.cmbp-button-secondary {
    background: var(--color-surface-raised);
    border: 1px solid var(--color-border-strong);
    color: var(--color-text);
    box-shadow: none;
}

.cmbp-button-secondary:hover {
    background: var(--color-surface);
    border-color: var(--color-primary-muted);
}

.cmbp-button-danger {
    background: var(--color-danger);
}

.cmbp-button-danger:hover {
    background: var(--color-danger-hover);
}

.cmbp-button-compact {
    height: 34px;
    padding: 0 0.85rem;
    font-size: 0.78rem;
}

.cmbp-button-ghost {
    background: transparent;
    color: var(--color-primary);
    box-shadow: none;
    padding: 0 0.5rem;
}

.cmbp-button-ghost:hover {
    background: var(--color-primary-light);
}

.cmbp-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.cmbp-button-row {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* ── Forms ── */

.cmbp-form,
.cmbp-inline-form {
    margin-top: 0.5rem;
}

.cmbp-filter-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.cmbp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.cmbp-full {
    grid-column: 1 / -1;
}

.cmbp-form label,
.cmbp-inline-form label {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    font-size: 0.82rem;
    color: var(--color-body);
}

.cmbp-form label > span,
.cmbp-inline-form label > span {
    font-weight: 600;
    color: var(--color-text);
    font-size: 0.78rem;
}

.cmbp-form input,
.cmbp-form select,
.cmbp-form textarea,
.cmbp-inline-form input,
.cmbp-inline-form select {
    height: 42px;
    border: 1px solid var(--color-border-strong);
    border-radius: var(--radius-sm);
    padding: 0 0.75rem;
    background: var(--color-surface-raised);
    color: var(--color-text);
    font: inherit;
    font-size: 0.88rem;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.cmbp-form textarea {
    height: auto;
    min-height: 80px;
    padding: 0.6rem 0.75rem;
    resize: vertical;
}

.cmbp-form input:focus,
.cmbp-form select:focus,
.cmbp-form textarea:focus,
.cmbp-inline-form input:focus,
.cmbp-inline-form select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(34, 53, 88, 0.08);
}

.cmbp-filter-row label {
    padding: 0.65rem;
    background: var(--color-surface);
    border-radius: var(--radius-sm);
}

.cmbp-inline-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: end;
}

.cmbp-inline-actions {
    margin: 0.75rem 0;
}

/* ── Calendar ── */

.cmbp-calendar {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--color-surface-raised);
}

.cmbp-calendar-panel {
    padding: 1rem;
    border-right: 1px solid var(--color-border);
}

.cmbp-calendar-times-panel {
    padding: 1rem;
    background: var(--color-surface);
}

.cmbp-calendar-toolbar,
.cmbp-calendar-times-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.cmbp-calendar-toolbar strong,
.cmbp-calendar-times-header strong {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--color-text);
}

.cmbp-calendar-times-header {
    align-items: start;
}

.cmbp-calendar-times-header p {
    margin: 0.15rem 0 0;
    font-size: 0.75rem;
    color: var(--color-muted);
}

.cmbp-calendar-nav {
    display: inline-flex;
    gap: 0.2rem;
}

.cmbp-calendar-nav-button {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border);
    background: var(--color-surface-raised);
    color: var(--color-text);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 1rem;
    transition: all var(--transition);
}

.cmbp-calendar-nav-button:hover {
    background: var(--color-surface);
    border-color: var(--color-border-strong);
}

.cmbp-calendar-nav-button[disabled] {
    opacity: 0.25;
    cursor: default;
}

.cmbp-calendar-weekdays,
.cmbp-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
}

.cmbp-calendar-weekdays {
    margin-bottom: 0.25rem;
}

.cmbp-calendar-weekdays span {
    text-align: center;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-muted);
    padding: 0.15rem 0;
}

.cmbp-calendar-day {
    position: relative;
    aspect-ratio: 1;
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    background: transparent;
    border-radius: 6px;
    font: inherit;
    color: var(--color-muted);
    cursor: default;
    transition: all var(--transition);
    padding: 0;
}

.cmbp-calendar-day.is-empty {
    visibility: hidden;
    pointer-events: none;
}

.cmbp-calendar-day.is-disabled {
    color: var(--color-muted);
    opacity: 0.35;
}

.cmbp-calendar-day.is-available {
    background: var(--color-primary-light);
    color: var(--color-text);
    font-weight: 600;
    cursor: pointer;
}

.cmbp-calendar-day.is-available::after {
    content: "";
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--color-primary);
    opacity: 0.4;
}

.cmbp-calendar-day.is-available:hover {
    background: rgba(34, 53, 88, 0.10);
    border-color: var(--color-primary-muted);
}

.cmbp-calendar-day.is-selected {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
    box-shadow: var(--shadow-xs);
}

.cmbp-calendar-day.is-selected::after {
    display: none;
}

.cmbp-calendar-day-number {
    font-size: 0.8rem;
    font-weight: 600;
}

/* ── Time format toggle ── */

.cmbp-time-format-toggle {
    display: inline-flex;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.cmbp-time-format-toggle button {
    height: 26px;
    min-width: 38px;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--color-muted);
    cursor: pointer;
    transition: all var(--transition);
}

.cmbp-time-format-toggle button.is-active {
    background: var(--color-primary);
    color: #fff;
}

/* ── Time slots ── */

.cmbp-calendar-times {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 280px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--color-primary-muted) transparent;
}

.cmbp-calendar-times::-webkit-scrollbar { width: 4px; }
.cmbp-calendar-times::-webkit-scrollbar-thumb { background: var(--color-primary-muted); border-radius: 2px; }

.cmbp-time-slot {
    border: 1px solid var(--color-border);
    background: var(--color-surface-raised);
    border-radius: 6px;
    height: 38px;
    padding: 0 0.75rem;
    text-align: center;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-text);
    cursor: pointer;
    transition: all var(--transition);
}

.cmbp-time-slot:hover {
    border-color: var(--color-primary);
    background: var(--color-primary-light);
}

.cmbp-time-slot.is-selected {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

.cmbp-calendar-empty {
    margin: 0;
    font-size: 0.82rem;
    color: var(--color-muted);
    line-height: 1.55;
}

/* ── Slot block ── */

.cmbp-slot-block {
    margin: 0.75rem 0;
}

.cmbp-slot-header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.cmbp-slot-header h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text);
}

.cmbp-slot-header p {
    margin: 0.2rem 0 0;
    font-size: 0.82rem;
    color: var(--color-body);
}

/* ── Wizard stages ── */

.cmbp-wizard-stage {
    position: relative;
}

.cmbp-stage-header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.cmbp-stage-header h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text);
}

.cmbp-stage-header p {
    margin: 0.15rem 0 0;
    font-size: 0.82rem;
    color: var(--color-body);
}

/* ── Selected slot card ── */

.cmbp-selected-slot {
    display: grid;
    gap: 0.25rem;
    margin: 0 0 1rem;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    background: var(--color-primary);
    color: #fff;
}

.cmbp-selected-slot-label {
    margin: 0;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.cmbp-selected-slot strong {
    font-size: 1rem;
    color: #fff;
}

.cmbp-selected-slot span {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.70);
}

/* ── Details card ── */

.cmbp-details-card {
    padding: 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    margin-bottom: 1rem;
}

.cmbp-details-card-header {
    margin-bottom: 1rem;
}

.cmbp-details-card-header h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text);
}

.cmbp-details-card-header p {
    margin: 0.2rem 0 0;
    font-size: 0.82rem;
    color: var(--color-body);
}

/* ── Kicker label ── */

.cmbp-kicker {
    margin: 0 0 0.35rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-primary);
}

/* ── Messages ── */

.cmbp-message,
.cmbp-notice {
    display: none;
    margin-bottom: 0.75rem;
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    line-height: 1.5;
}

.cmbp-message.is-visible,
.cmbp-notice {
    display: block;
}

.cmbp-message.is-error {
    background: var(--color-error-bg);
    color: var(--color-error-text);
    border: 1px solid rgba(197, 48, 48, 0.12);
}

.cmbp-message.is-success,
.cmbp-notice-success {
    background: var(--color-success-bg);
    color: var(--color-success-text);
    border: 1px solid rgba(56, 161, 105, 0.12);
}

/* ── Verification panel ── */

.cmbp-verification-center {
    max-width: 420px;
    margin: 0 auto;
    text-align: center;
}

.cmbp-verification-center .cmbp-section-header {
    text-align: center;
}

.cmbp-verification-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--color-primary-light);
}

.cmbp-verification-center .cmbp-inline-form {
    justify-content: center;
}

.cmbp-verification-center .cmbp-inline-actions {
    text-align: center;
}

.cmbp-verification-divider {
    margin: 1.25rem 0;
    border: 0;
    border-top: 1px solid var(--color-border);
}

.cmbp-verification-footer {
    font-size: 0.82rem;
    color: var(--color-body);
}

.cmbp-verification-footer summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

/* ── Confirmation panel ── */

.cmbp-panel[data-role="confirmation-panel"] {
    text-align: center;
    padding: 2rem 1.5rem;
}

.cmbp-confirmation-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--color-success-bg);
}

.cmbp-panel[data-role="confirmation-panel"] h2 {
    margin: 0 0 0.25rem;
    font-size: 1.25rem;
}

.cmbp-panel[data-role="confirmation-panel"] > p {
    margin: 0 0 1.25rem;
    font-size: 0.85rem;
    color: var(--color-body);
}

.cmbp-confirmation-details {
    text-align: left;
    max-width: 440px;
    margin: 0 auto 1.25rem;
    background: var(--color-surface);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
}

.cmbp-confirmation-table {
    width: 100%;
    border-collapse: collapse;
}

.cmbp-confirmation-table tr {
    border-bottom: 1px solid var(--color-border);
}

.cmbp-confirmation-table tr:last-child {
    border-bottom: 0;
}

.cmbp-confirmation-table th,
.cmbp-confirmation-table td {
    padding: 0.55rem 0;
    font-size: 0.82rem;
    text-align: left;
    vertical-align: top;
}

.cmbp-confirmation-table th {
    width: 120px;
    font-weight: 600;
    color: var(--color-text);
}

.cmbp-confirmation-table td {
    color: var(--color-body);
}

.cmbp-confirmation-footer {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── Manage panel ── */

.cmbp-manage-summary {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: var(--radius-md);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
}

.cmbp-manage-summary p {
    margin: 0.2rem 0;
    font-size: 0.85rem;
    color: var(--color-body);
}

.cmbp-manage-summary p strong {
    color: var(--color-text);
    font-weight: 600;
}

.cmbp-manage-actions {
    margin-top: 0.75rem;
}

/* ── Chip / Badge ── */

.cmbp-section-chip {
    display: inline-flex;
    align-items: center;
    height: 28px;
    padding: 0 0.7rem;
    background: var(--color-surface);
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--color-primary);
    white-space: nowrap;
    flex-shrink: 0;
}

/* ── Confirm overlay ── */

.cmbp-confirm-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(4px);
}

.cmbp-confirm-box {
    background: var(--color-surface-raised);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    max-width: 380px;
    width: 90%;
    box-shadow: var(--shadow-lg);
}

.cmbp-confirm-box h3 {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text);
}

.cmbp-confirm-box p {
    margin: 0 0 1.25rem;
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--color-body);
}

.cmbp-confirm-buttons {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

/* ── Section heading (legacy compat) ── */

.cmbp-section-heading {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.cmbp-section-heading h2 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text);
}

.cmbp-section-heading p {
    margin: 0.2rem 0 0;
    font-size: 0.85rem;
    color: var(--color-body);
}

/* ── Utility ── */

.cmbp-hidden {
    display: none !important;
}

/* ── Responsive ── */

@media (max-width: 768px) {
    .cmbp-shell {
        padding: 1rem;
    }

    .cmbp-widget-header {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .cmbp-widget-tabs {
        align-self: stretch;
    }

    .cmbp-widget-tab {
        flex: 1;
        text-align: center;
    }

    .cmbp-calendar {
        grid-template-columns: 1fr;
    }

    .cmbp-calendar-panel {
        border-right: 0;
        border-bottom: 1px solid var(--color-border);
    }

    .cmbp-grid,
    .cmbp-filter-row {
        grid-template-columns: 1fr;
    }

    .cmbp-step-strip {
        flex-wrap: wrap;
    }

    .cmbp-stage-header,
    .cmbp-slot-header,
    .cmbp-inline-form,
    .cmbp-section-heading {
        flex-direction: column;
        align-items: stretch;
    }

    .cmbp-panel {
        padding: 1.25rem;
    }

    .cmbp-section-chip {
        align-self: flex-start;
    }
}

/* ── Legacy class compat (booking hero removed) ── */
.cmbp-booking-hero { display: none; }
.cmbp-booking-brand,
.cmbp-booking-brand-mark,
.cmbp-booking-points,
.cmbp-booking-hero-actions,
.cmbp-booking-hero-side,
.cmbp-booking-side-card,
.cmbp-booking-side-label,
.cmbp-booking-hero-copy,
.cmbp-hero,
.cmbp-hero-manage,
.cmbp-hero-copy,
.cmbp-lead,
.cmbp-panel-muted,
.cmbp-panel-booking::before,
.cmbp-toolbar-row .cmbp-button-secondary[data-role="refresh-slots"] { }
