.scbc-calendar-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin: 16px 0;
}

.scbc-month-label {
    margin: 0;
}

.scbc-nav-btn {
    text-decoration: none;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 7px 12px;
    background: #f8fafc;
    color: #0f172a;
}

.scbc-mobile-calendar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 10px 0 16px;
}

.scbc-day-card {
    border: 1px solid #dbe3ee;
    border-radius: 12px;
    background: #fff;
    padding: 10px;
}

.scbc-day-card-slots {
    max-height: 320px;
    overflow-y: auto;
    padding-right: 2px;
}

.scbc-day-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.scbc-day-card-head h4 {
    margin: 0;
    font-size: 14px;
}

.scbc-day-card-head span {
    font-size: 11px;
    color: #475569;
    text-align: right;
}

.scbc-day-total {
    font-size: 10px;
    color: #64748b;
}

.scbc-day-earliest {
    display: inline-block;
    margin-top: 2px;
    font-size: 10px;
    color: #0f766e;
    background: #ccfbf1;
    border: 1px solid #99f6e4;
    border-radius: 999px;
    padding: 1px 6px;
}

.scbc-help-tip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    margin-left: 6px;
    border-radius: 999px;
    border: 1px solid #93c5fd;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    cursor: help;
    vertical-align: middle;
    font-family: Georgia, "Times New Roman", serif;
}

.scbc-help-expand {
    margin-top: 6px;
    padding: 7px 10px;
    border: 1px solid #dbeafe;
    border-radius: 8px;
    background: #f8fbff;
    color: #334155;
    font-size: 12px;
    line-height: 1.4;
    max-width: 520px;
}

.scbc-step-tag {
    display: inline-block;
    border-radius: 999px;
    padding: 2px 8px;
    margin-right: 6px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    border: 1px solid transparent;
}

.scbc-step-tag.is-easy {
    background: #ecfdf3;
    border-color: #86efac;
    color: #166534;
}

.scbc-step-tag.is-core {
    background: #eff6ff;
    border-color: #93c5fd;
    color: #1d4ed8;
}

.scbc-step-tag.is-important {
    background: #fff7ed;
    border-color: #fdba74;
    color: #9a3412;
}

.scbc-calendar-table {
    display: none;
}

.scbc-day-cell {
    padding: 6px;
}

.scbc-empty {
    background: #f8fafc;
}

.scbc-day-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.scbc-day-number {
    font-weight: 700;
}

.scbc-day-count {
    font-size: 11px;
    color: #475569;
}

.scbc-day-empty {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 10px;
}

.scbc-slot-item {
    border: 1px solid #d2d8df;
    border-radius: 8px;
    padding: 8px;
    margin-bottom: 6px;
    background: #fff;
}

.scbc-slot-title {
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 4px;
}

.scbc-tier-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 2px 7px;
    margin-bottom: 4px;
}

.scbc-slot-time,
.scbc-slot-price {
    font-size: 12px;
    margin-bottom: 4px;
}

.scbc-slot-meta {
    font-size: 11px;
    color: #475569;
    margin-bottom: 4px;
}

.scbc-slot-spots {
    font-size: 12px;
    margin-bottom: 6px;
    color: #334155;
}

.scbc-program-banner {
    background: #e0f2fe;
    border: 1px solid #7dd3fc;
    color: #0c4a6e;
    border-radius: 10px;
    padding: 10px 12px;
    margin: 10px auto 12px;
    max-width: 760px;
}

.scbc-email-wrap {
    margin: 10px 0 12px;
    display: grid;
    gap: 8px;
    max-width: 760px;
}

.scbc-email-wrap label,
.scbc-list-toolbar label {
    margin: 0;
    line-height: 1.2;
}

.scbc-list-view {
    margin: 0 0 18px;
}

.scbc-front-grid {
    display: grid;
    gap: 12px;
}

.scbc-main-column {
    min-width: 0;
}

.scbc-confirmed-panel {
    background: #ffffff;
    border: 1px solid #dbe3ee;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
    padding: 12px;
}

.scbc-confirmed-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.scbc-confirmed-title {
    margin: 0 0 4px;
    color: #0f172a;
    font-size: 18px;
}

.scbc-confirmed-refresh {
    border: 1px solid #94a3b8;
    border-radius: 8px;
    background: #ffffff;
    color: #0f172a;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 9px;
    cursor: pointer;
    white-space: nowrap;
}

.scbc-confirmed-refresh:hover {
    background: #f8fafc;
}

.scbc-confirmed-refresh.is-loading {
    cursor: progress;
    opacity: 0.92;
}

.scbc-confirmed-refresh.is-success {
    border-color: #16a34a;
    color: #166534;
    background: #ecfdf3;
}

.scbc-confirmed-refresh.is-loading::before {
    content: '';
    display: inline-block;
    width: 11px;
    height: 11px;
    margin-right: 6px;
    border-radius: 999px;
    border: 2px solid #94a3b8;
    border-top-color: #0f172a;
    vertical-align: -1px;
    animation: scbcSpin 0.8s linear infinite;
}

@keyframes scbcSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.scbc-confirmed-refreshed {
    margin: 4px 0 10px;
    color: #64748b;
    font-size: 11px;
    transition: color .25s ease;
}

.scbc-confirmed-refreshed.is-success {
    color: #166534;
}

.scbc-confirmed-email {
    margin: 0 0 10px;
    color: #334155;
    font-size: 12px;
    word-break: break-word;
}

.scbc-confirmed-empty {
    margin: 0;
    color: #475569;
    font-size: 13px;
    line-height: 1.5;
}

.scbc-confirmed-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0 0 10px;
}

.scbc-confirmed-metric {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 8px 10px;
}

.scbc-confirmed-metric span {
    display: block;
    color: #475569;
    font-size: 11px;
    margin-bottom: 2px;
}

.scbc-confirmed-metric strong {
    color: #0f172a;
    font-size: 14px;
}

.scbc-confirmed-list {
    display: grid;
    gap: 10px;
}

.scbc-confirmed-divider {
    margin: 2px 0 0;
    font-size: 13px;
    line-height: 1.3;
    color: #334155;
    border-bottom: 1px dashed #cbd5e1;
    padding-bottom: 4px;
}

.scbc-confirmed-card {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    padding: 10px;
}

.scbc-confirmed-badge {
    display: inline-block;
    margin: 0 0 6px;
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.scbc-confirmed-card.is-completed .scbc-confirmed-badge {
    background: #eef2f7;
    color: #334155;
    border-color: #cbd5e1;
}

.scbc-confirmed-badge.is-today {
    background: var(--scbc-brand, #0ea5e9);
    color: #ffffff;
    border-color: var(--scbc-brand, #0ea5e9);
    margin-left: 6px;
}

.scbc-confirmed-card.is-completed {
    border-color: #dbe3ee;
    background: #f8fafc;
}

.scbc-confirmed-card.is-upcoming {
    border-color: #86efac;
    background: #f0fdf4;
}

.scbc-confirmed-card h4 {
    margin: 0 0 6px;
    color: #0f172a;
    font-size: 14px;
    line-height: 1.3;
}

.scbc-confirmed-card p {
    margin: 0 0 5px;
    color: #334155;
    font-size: 12px;
    line-height: 1.45;
}

.scbc-confirmed-card .scbc-chosen-day-line {
    margin: 6px 0 6px;
    padding: 6px 8px;
    border-radius: 8px;
    background: #ecfeff;
    border: 1px solid #99f6e4;
    color: #0f766e;
    font-size: 12px;
    line-height: 1.4;
}

.scbc-confirmed-card .scbc-chosen-day-line strong {
    color: #115e59;
}

.scbc-confirmed-relative {
    color: #0f172a;
}

.scbc-confirmed-actions {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
    margin-top: 8px;
}

.scbc-confirmed-show {
    width: 100%;
    min-height: 46px;
    padding: 12px 16px;
    font-size: 16px;
    line-height: 1.2;
    text-align: center;
}

.scbc-list-toolbar {
    display: grid;
    gap: 8px;
    margin: 10px 0 12px;
    position: sticky;
    top: 12px;
    z-index: 60;
    background: rgba(248, 250, 252, 0.95);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px;
    backdrop-filter: blur(2px);
    max-width: 760px;
}

.scbc-month-filter {
    width: 100%;
    max-width: 360px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 8px 10px;
    background: #ffffff;
}

.scbc-list-month {
    margin: 0 0 12px;
    color: #0f172a;
    font-size: 18px;
    line-height: 1.2;
    letter-spacing: 0.01em;
}

.scbc-list-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.scbc-skeleton-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.scbc-list-card {
    background: #ffffff;
    border: 1px solid #dbe3ee;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    padding: 14px;
    min-height: 248px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.scbc-skeleton-card {
    min-height: 248px;
    animation: scbcPulse 1.3s ease-in-out infinite;
}

.scbc-skeleton-line {
    height: 12px;
    border-radius: 999px;
    background: #e2e8f0;
    margin-bottom: 8px;
}

.scbc-skeleton-line.w90 { width: 90%; }
.scbc-skeleton-line.w70 { width: 70%; }
.scbc-skeleton-line.w65 { width: 65%; }
.scbc-skeleton-line.w55 { width: 55%; }
.scbc-skeleton-line.w45 { width: 45%; }
.scbc-skeleton-line.w40 { width: 40%; }

.scbc-skeleton-gap {
    height: 8px;
}

.scbc-skeleton-btn {
    margin-top: auto;
    height: 34px;
    border-radius: 8px;
    background: #cbd5e1;
}

@keyframes scbcPulse {
    0% { opacity: 0.55; }
    50% { opacity: 1; }
    100% { opacity: 0.55; }
}

@keyframes scbcSoftFade {
    0% {
        opacity: 0;
        transform: translateY(6px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.scbc-list-card-top {
    border-bottom: 1px solid #eef2f7;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.scbc-list-card-top h4 {
    margin: 0;
    color: #0f172a;
    font-size: 16px;
    line-height: 1.3;
}

.scbc-list-kicker {
    margin: 0 0 6px;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0c4a6e;
    font-weight: 700;
}

.scbc-list-date {
    display: inline-block;
    margin-top: 6px;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
}

.scbc-list-detail {
    font-size: 13px;
    color: #334155;
    margin-bottom: 6px;
}

.scbc-list-price {
    margin: 8px 0 12px;
    color: #0f172a;
    font-size: 18px;
    font-weight: 700;
}

.scbc-slot-list {
    display: block;
}

.scbc-slot-list.scbc-fade-run .scbc-list-view,
.scbc-slot-list.scbc-fade-run .scbc-empty-list {
    animation: scbcSoftFade 260ms ease-out;
}

.scbc-empty-list {
    margin: 8px 0 0;
    color: #475569;
}

.scbc-list-actions {
    margin: 6px 0 10px;
}

.scbc-pagination-wrap {
    margin: 4px 0 16px;
}

.scbc-pagination {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.scbc-page-btn,
.scbc-page-nav {
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    color: #0f172a;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    min-width: 34px;
    padding: 9px 10px;
    cursor: pointer;
}

.scbc-page-btn.is-active {
    background: #0ea5e9;
    border-color: #0ea5e9;
    color: #ffffff;
}

.scbc-page-btn[disabled],
.scbc-page-nav[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

.scbc-page-gap {
    color: #64748b;
    font-weight: 600;
    padding: 0 3px;
}

.scbc-email-input {
    width: 100%;
    max-width: 360px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 8px 10px;
}

.scbc-portal-list {
    margin: 12px 0 0;
    padding-left: 18px;
}

.scbc-book-btn {
    border: 0;
    border-radius: 8px;
    padding: 12px 14px;
    min-height: 48px;
    font-size: 14px;
    font-weight: 600;
    background: #0ea5e9;
    color: #ffffff;
    cursor: pointer;
    width: 100%;
}

.scbc-book-btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

.scbc-notice {
    padding: 12px 14px;
    border-radius: 10px;
    margin: 10px 0 18px;
}

.scbc-success {
    background: #ecfdf3;
    color: #065f46;
    border: 1px solid #34d399;
}

.scbc-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.scbc-ics-link {
    margin-left: 8px;
    font-weight: 600;
}

.scbc-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    display: none;
    align-items: flex-end;
    justify-content: center;
    padding: 14px;
    z-index: 9999;
}

.scbc-modal[aria-hidden="false"] {
    display: flex;
}

.scbc-modal-dialog {
    width: 100%;
    max-width: 520px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #dbe3ee;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.2);
    padding: 16px;
    position: relative;
}

.scbc-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    border: 0;
    background: transparent;
    color: #334155;
    font-size: 18px;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    cursor: pointer;
}

.scbc-modal-close:hover {
    background: #f1f5f9;
}

.scbc-modal-details p {
    margin: 0 0 8px;
    color: #1e293b;
}

.scbc-modal-details .scbc-modal-day-line {
    margin: 8px 0 10px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #99f6e4;
    background: #ecfeff;
    color: #0f766e;
    font-size: 15px;
    line-height: 1.35;
}

.scbc-modal-details .scbc-modal-day-line strong {
    color: #115e59;
}

.scbc-modal-details .scbc-modal-status-line {
    margin: 0 0 10px;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid #bae6fd;
    background: #f0f9ff;
    color: #075985;
}

.scbc-modal-details .scbc-modal-status-line strong {
    color: #0c4a6e;
}

.scbc-modal-email-wrap {
    margin: 8px 0 12px;
    display: grid;
    gap: 8px;
}

.scbc-modal-email-wrap label {
    display: block;
    margin: 0;
    line-height: 1.2;
}

.scbc-modal-email-wrap .scbc-email-input {
    margin-top: 6px;
    margin-bottom: 4px;
    max-width: 100%;
}

.scbc-day-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 6px;
}

.scbc-day-card {
    min-height: 44px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #ffffff;
    color: #0f172a;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 8px;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.scbc-day-card:hover {
    border-color: var(--scbc-brand, #0ea5e9);
    background: #ffffff;
    box-shadow: 0 0 0 1px var(--scbc-brand, #0ea5e9);
}

.scbc-day-card:focus-visible {
    outline: 2px solid var(--scbc-brand, #0ea5e9);
    outline-offset: 2px;
}

.scbc-day-card.is-selected {
    border-color: var(--scbc-brand, #0ea5e9);
    background: var(--scbc-brand, #0ea5e9);
    color: #ffffff;
    box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.18);
}

.scbc-day-card-help {
    margin: 8px 0 0;
    color: #475569;
    font-size: 12px;
}

.scbc-modal-policy {
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    margin: 10px 0 12px;
    padding: 10px 0;
}

.scbc-modal-policy p {
    margin: 0 0 8px;
    color: #334155;
    font-size: 13px;
    line-height: 1.4;
}

.scbc-checkout-note {
    margin: 10px 0 0;
    color: #475569;
    font-size: 12px;
    line-height: 1.4;
}

.scbc-retry-btn {
    margin-top: 8px;
    background: #0369a1;
}

.scbc-inline-error {
    margin-top: 8px;
    border: 1px solid #fecaca;
    background: #fef2f2;
    color: #991b1b;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 12px;
    line-height: 1.4;
}

.scbc-mode-badge {
    display: inline-block;
    border-radius: 999px;
    padding: 2px 9px;
    font-size: 11px;
    font-weight: 700;
    border: 1px solid transparent;
}

.scbc-mode-badge.is-live {
    background: #ecfdf3;
    color: #166534;
    border-color: #86efac;
}

.scbc-mode-badge.is-test {
    background: #eff6ff;
    color: #1d4ed8;
    border-color: #93c5fd;
}

.scbc-mode-badge.is-unknown {
    background: #fff7ed;
    color: #9a3412;
    border-color: #fdba74;
}

body.scbc-modal-open {
    overflow: hidden;
}

.scbc-admin-status {
    font-size: 11px;
    border-radius: 6px;
    padding: 3px 7px;
    display: inline-block;
}

.scbc-admin-status.is-open {
    background: #ecfdf3;
    color: #065f46;
}

.scbc-admin-status.is-booked {
    background: #fef2f2;
    color: #991b1b;
}

.scbc-admin-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 10px;
    margin: 10px 0 16px;
}

.scbc-admin-metric {
    background: #fff;
    border: 1px solid #dbe3ee;
    border-radius: 10px;
    padding: 10px 12px;
}

.scbc-admin-metric strong {
    display: block;
    color: #334155;
    font-size: 12px;
    margin-bottom: 4px;
}

.scbc-admin-metric span {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
}

.scbc-tier-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 12px;
}

.scbc-tier-chip {
    display: inline-block;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid transparent;
}

.scbc-tier-chip-standard {
    background: #ecfdf3;
    color: #166534;
    border-color: #bbf7d0;
}

.scbc-tier-chip-premium {
    background: #fffbeb;
    color: #92400e;
    border-color: #fde68a;
}

.scbc-tier-chip-elite {
    background: #fef2f2;
    color: #991b1b;
    border-color: #fecaca;
}

.scbc-admin-table .scbc-day-cell {
    height: auto;
    min-height: 220px;
}

.scbc-admin-table .scbc-slot-item {
    background: #fcfdff;
}

.scbc-admin-table .scbc-slot-title a {
    text-decoration: none;
}

.scbc-price-tier-standard {
    border-left: 4px solid #22c55e;
}

.scbc-price-tier-standard .scbc-tier-badge {
    background: #ecfdf3;
    color: #166534;
}

.scbc-price-tier-premium {
    border-left: 4px solid #f59e0b;
}

.scbc-price-tier-premium .scbc-tier-badge {
    background: #fffbeb;
    color: #92400e;
}

.scbc-price-tier-elite {
    border-left: 4px solid #ef4444;
}

.scbc-price-tier-elite .scbc-tier-badge {
    background: #fef2f2;
    color: #991b1b;
}

.scbc-density-compact .scbc-day-cell {
    min-height: 130px;
    height: auto;
    padding: 5px;
}

.scbc-density-compact .scbc-slot-item {
    padding: 6px;
    margin-bottom: 5px;
}

.scbc-density-compact .scbc-slot-time,
.scbc-density-compact .scbc-slot-meta,
.scbc-density-compact .scbc-slot-price,
.scbc-density-compact .scbc-slot-spots {
    font-size: 11px;
    margin-bottom: 3px;
}

.scbc-density-compact .scbc-slot-title {
    font-size: 12px;
}

.scbc-density-compact .scbc-admin-status {
    font-size: 10px;
    padding: 2px 6px;
}

.scbc-day-slot-list {
    max-height: 520px;
    overflow-y: auto;
    padding-right: 2px;
}

@media (min-width: 768px) {
    .scbc-program-banner,
    .scbc-email-wrap,
    .scbc-list-toolbar {
        max-width: 860px;
    }

    .scbc-email-wrap {
        grid-template-columns: 122px minmax(240px, 360px);
        align-items: center;
        column-gap: 12px;
        margin: 10px 0 12px;
    }

    .scbc-list-toolbar {
        grid-template-columns: 122px minmax(240px, 360px);
        align-items: center;
        column-gap: 12px;
        position: static;
        border: 0;
        background: transparent;
        padding: 0;
        backdrop-filter: none;
    }

    .scbc-month-filter {
        max-width: 360px;
    }

    .scbc-list-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .scbc-skeleton-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .scbc-day-card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 980px) {
    .scbc-program-banner,
    .scbc-email-wrap,
    .scbc-list-toolbar {
        max-width: 940px;
    }

    .scbc-mobile-calendar {
        display: none;
    }

    .scbc-mobile-calendar.scbc-calendar-cards-only {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 12px;
    }

    .scbc-day-card-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .scbc-calendar-table {
        display: table;
        width: 100%;
        border-collapse: collapse;
        table-layout: fixed;
        background: #fff;
    }

    .scbc-calendar-table th,
    .scbc-calendar-table td {
        border: 1px solid #dbe3ee;
        vertical-align: top;
    }

    .scbc-calendar-table th {
        background: #f8fafc;
        padding: 8px;
        text-align: center;
        font-size: 13px;
        letter-spacing: 0.02em;
    }

    .scbc-day-cell {
        min-height: 240px;
        height: 240px;
        padding: 8px;
        background: #f8fafc;
    }

    .scbc-admin-table .scbc-day-cell {
        min-height: 240px;
    }

    .scbc-day-slot-list {
        max-height: 168px;
        overflow-y: auto;
    }

    .scbc-day-surface {
        background: #ffffff;
        border: 1px solid #dbe3ee;
        border-radius: 12px;
        padding: 8px;
        min-height: 100%;
        height: 100%;
        box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
        display: flex;
        flex-direction: column;
    }

    .scbc-day-surface-empty {
        background: #f1f5f9;
        border-style: dashed;
        box-shadow: none;
        min-height: 200px;
    }

    .scbc-admin-table .scbc-day-header {
        border-bottom: 1px solid #e2e8f0;
        padding-bottom: 6px;
        margin-bottom: 8px;
    }

    .scbc-admin-table .scbc-slot-item {
        border-radius: 10px;
        margin-bottom: 8px;
    }

    .scbc-admin-table .scbc-day-slot-list {
        max-height: 150px;
    }

    .scbc-list-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 16px;
    }

    .scbc-skeleton-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 16px;
    }

    .scbc-modal {
        align-items: center;
    }

    .scbc-front-grid {
        grid-template-columns: minmax(250px, 320px) minmax(0, 1fr);
        gap: 14px;
        align-items: start;
    }

    .scbc-front-grid.no-confirmed {
        grid-template-columns: minmax(0, 1fr);
    }

    .scbc-confirmed-panel {
        position: sticky;
        top: 14px;
    }
}

/* Admin calendar card-first mode */
.scbc-admin-calendar-wrap .scbc-mobile-calendar {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 12px;
}

.scbc-admin-calendar-wrap .scbc-calendar-table {
    display: none !important;
}

.scbc-admin-calendar-wrap .scbc-day-card {
    background: #ffffff;
    border: 1px solid #dbe3ee;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
    min-height: 290px;
    display: flex;
    flex-direction: column;
}

.scbc-admin-calendar-wrap .scbc-day-card-head {
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 8px;
    margin-bottom: 10px;
}

.scbc-admin-calendar-wrap .scbc-day-card-slots {
    flex: 1;
    max-height: 220px;
    overflow-y: auto;
}

.scbc-admin-calendar-wrap .scbc-slot-item {
    background: #ffffff;
    border-radius: 10px;
}

@media (min-width: 768px) {
    .scbc-admin-calendar-wrap .scbc-mobile-calendar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .scbc-admin-calendar-wrap.scbc-admin-cols-4 .scbc-mobile-calendar {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .scbc-admin-calendar-wrap.scbc-admin-cols-2 .scbc-mobile-calendar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Admin settings readability */
body.settings_page_scbc-settings .wrap > h1 {
    margin-bottom: 10px;
}

body.settings_page_scbc-settings .scbc-admin-subtitle,
body.scbc_slot_page_scbc-calendar-view .scbc-admin-subtitle,
body.scbc_slot_page_scbc-booking-entries .scbc-admin-subtitle,
body.scbc_slot_page_scbc-reconciliations .scbc-admin-subtitle,
body.scbc_slot_page_scbc-export-bookings .scbc-admin-subtitle,
body.scbc_slot_page_scbc-activity-logs .scbc-admin-subtitle {
    margin: 0 0 12px;
    color: #475569;
    font-size: 13px;
    line-height: 1.45;
}

body.scbc_slot_page_scbc-calendar-view .scbc-admin-card,
body.scbc_slot_page_scbc-export-bookings .scbc-admin-card {
    background: #ffffff;
    border: 1px solid #dbe3ee;
    border-radius: 12px;
    padding: 12px;
    margin: 0 0 12px;
}

body.scbc_slot_page_scbc-calendar-view .scbc-admin-card > p {
    margin: 0 0 10px;
}

body.settings_page_scbc-settings form {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    margin-top: 12px;
}

body.settings_page_scbc-settings .scbc-settings-sections {
    display: grid;
    gap: 12px;
}

body.settings_page_scbc-settings .scbc-settings-card {
    background: #ffffff;
    border: 1px solid #dbe3ee;
    border-radius: 12px;
    padding: 12px 14px 8px;
}

body.settings_page_scbc-settings .scbc-settings-card > h2 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 2px 0 8px;
    padding: 8px 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
}

body.settings_page_scbc-settings .scbc-settings-card-icon {
    font-size: 18px;
    line-height: 1;
    width: 18px;
    height: 18px;
    color: #0f766e;
}

body.settings_page_scbc-settings .scbc-settings-card-title {
    line-height: 1.2;
}

body.settings_page_scbc-settings .scbc-settings-card-intro {
    margin: 0 0 8px;
    color: #475569;
}

body.settings_page_scbc-settings .form-table {
    margin-top: 6px;
}

body.settings_page_scbc-settings .form-table th {
    width: 260px;
    padding: 12px 10px;
    vertical-align: top;
}

body.settings_page_scbc-settings .form-table td {
    padding: 10px 10px 12px;
}

body.settings_page_scbc-settings .form-table input[type="text"],
body.settings_page_scbc-settings .form-table input[type="email"],
body.settings_page_scbc-settings .form-table textarea,
body.settings_page_scbc-settings .form-table select {
    width: 100%;
    max-width: 560px;
}

body.settings_page_scbc-settings #scbc-booking-days-anchor fieldset {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 8px 10px;
    margin: 0;
    padding: 0;
}

body.settings_page_scbc-settings #scbc-booking-days-anchor label {
    margin: 0;
    padding: 8px 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

body.settings_page_scbc-settings .scbc-help-tip {
    margin-left: 6px;
}

body.settings_page_scbc-settings .scbc-settings-submit-wrap {
    background: #ffffff;
    border: 1px solid #dbe3ee;
    border-radius: 12px;
    margin-top: 12px;
    padding: 12px 14px;
}

body.settings_page_scbc-settings .scbc-settings-submit-wrap .submit {
    margin: 0;
    padding: 0;
}

@media (max-width: 782px) {
    body.settings_page_scbc-settings .form-table th,
    body.settings_page_scbc-settings .form-table td {
        display: block;
        width: 100%;
        padding: 8px 6px;
    }

    body.settings_page_scbc-settings .scbc-settings-card {
        padding: 10px 10px 8px;
    }

    body.settings_page_scbc-settings .scbc-settings-card > h2 {
        font-size: 15px;
    }
}

/* Booking Entries page */
body.scbc_slot_page_scbc-booking-entries .scbc-entries-page {
    max-width: 1260px;
}

body.scbc_slot_page_scbc-booking-entries .scbc-entries-card {
    background: #ffffff;
    border: 1px solid #dbe3ee;
    border-radius: 12px;
    padding: 12px;
    margin: 0 0 12px;
}

body.scbc_slot_page_scbc-booking-entries .scbc-entries-intro {
    margin: 0 0 10px;
    color: #334155;
}

body.scbc_slot_page_scbc-booking-entries .scbc-entries-filter-form {
    margin: 0;
}

body.scbc_slot_page_scbc-booking-entries .scbc-entries-filter-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr;
}

body.scbc_slot_page_scbc-booking-entries .scbc-entries-field label {
    display: block;
    margin: 0 0 6px;
    color: #0f172a;
}

body.scbc_slot_page_scbc-booking-entries .scbc-entries-field input[type="search"],
body.scbc_slot_page_scbc-booking-entries .scbc-entries-field input[type="date"] {
    width: 100%;
    min-height: 40px;
}

body.scbc_slot_page_scbc-booking-entries .scbc-entries-submit .button {
    min-height: 40px;
    width: 100%;
}

body.scbc_slot_page_scbc-booking-entries .scbc-entries-presets {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

body.scbc_slot_page_scbc-booking-entries .scbc-entries-table-wrap {
    overflow-x: auto;
}

body.scbc_slot_page_scbc-booking-entries .scbc-entries-table {
    min-width: 980px;
}

body.scbc_slot_page_scbc-booking-entries .scbc-entries-pagination {
    margin: 0;
}

body.scbc_slot_page_scbc-reconciliations .scbc-recon-summary-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 10px 0 14px;
}

body.scbc_slot_page_scbc-reconciliations .scbc-recon-summary-card {
    background: #f8fafc;
    border: 1px solid #dbe3ee;
    border-radius: 8px;
    padding: 10px 12px;
}

body.scbc_slot_page_scbc-reconciliations .scbc-recon-run-form {
    margin: 0 0 12px;
}

body.scbc_slot_page_scbc-activity-logs .scbc-log-summary-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

body.scbc_slot_page_scbc-activity-logs .scbc-log-summary-card {
    border-radius: 8px;
    padding: 10px 12px;
    border: 1px solid #dbe3ee;
}

body.scbc_slot_page_scbc-activity-logs .scbc-log-summary-card.is-total {
    background: #ecfeff;
    border-color: #a5f3fc;
}

body.scbc_slot_page_scbc-activity-logs .scbc-log-summary-card.is-info {
    background: #f8fafc;
}

body.scbc_slot_page_scbc-activity-logs .scbc-log-summary-card.is-warning {
    background: #fff7ed;
    border-color: #fed7aa;
}

body.scbc_slot_page_scbc-activity-logs .scbc-log-summary-card.is-error {
    background: #fef2f2;
    border-color: #fecaca;
}

body.scbc_slot_page_scbc-activity-logs .scbc-log-clear-form {
    margin: 0;
}

@media (min-width: 783px) {
    body.settings_page_scbc-settings .scbc-admin-subtitle,
    body.scbc_slot_page_scbc-calendar-view .scbc-admin-subtitle,
    body.scbc_slot_page_scbc-booking-entries .scbc-admin-subtitle,
    body.scbc_slot_page_scbc-reconciliations .scbc-admin-subtitle,
    body.scbc_slot_page_scbc-export-bookings .scbc-admin-subtitle,
    body.scbc_slot_page_scbc-activity-logs .scbc-admin-subtitle {
        font-size: 14px;
    }

    body.scbc_slot_page_scbc-booking-entries .scbc-entries-card {
        padding: 14px;
    }

    body.scbc_slot_page_scbc-booking-entries .scbc-entries-filter-grid {
        grid-template-columns: 2fr 1fr 1fr auto;
        align-items: end;
    }

    body.scbc_slot_page_scbc-booking-entries .scbc-entries-submit .button {
        width: auto;
        min-width: 120px;
    }

    body.scbc_slot_page_scbc-calendar-view .scbc-admin-card,
    body.scbc_slot_page_scbc-export-bookings .scbc-admin-card {
        padding: 14px;
    }

    body.scbc_slot_page_scbc-reconciliations .scbc-recon-summary-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    body.scbc_slot_page_scbc-activity-logs .scbc-log-summary-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    body.scbc_slot_page_scbc-activity-logs .scbc-entries-filter-grid {
        grid-template-columns: 1fr 2fr auto;
    }
}

@media (min-width: 1100px) {
    body.scbc_slot_page_scbc-booking-entries .scbc-entries-card {
        padding: 16px;
    }

    body.scbc_slot_page_scbc-reconciliations .scbc-recon-summary-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    body.scbc_slot_page_scbc-calendar-view .scbc-admin-card,
    body.scbc_slot_page_scbc-export-bookings .scbc-admin-card {
        padding: 16px;
    }
}

@media (min-width: 980px) {
    .scbc-admin-calendar-wrap.scbc-admin-cols-4 .scbc-mobile-calendar {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .scbc-admin-calendar-wrap.scbc-admin-cols-2 .scbc-mobile-calendar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
