:root {
    --bg-soft: #f1f5f9;
    --surface: #ffffff;
    --border: #dfe5ec;
    --text: #101828;
    --muted: #667085;
    --brand: #2563eb;
    --bs-bg: #f5f7fa;
    --bs-surface: #ffffff;
    --bs-border: #dfe5ec;
    --bs-text: #101828;
    --bs-muted: #667085;
    --bs-primary: #2563eb;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg-soft);
    color: var(--text);
    line-height: 1.5;
}
/* topbar / nav-link styles live in public-topbar.css */
.wrap { max-width: 1600px; margin: 0 auto; padding: 8px 20px 20px; }
.bs-wrap { padding-top: 4px; }
.bs-page { background: var(--bs-bg); }
.bs-date-nav { display: flex; align-items: center; gap: 8px; position: relative; }
.bs-date-title {
    font-size: 18px; font-weight: 700; color: var(--bs-text); margin: 0;
    border: 0; background: transparent; padding: 2px 8px; border-radius: 8px; cursor: pointer;
    font-family: inherit; line-height: 1.3; white-space: nowrap;
}
.bs-date-title:hover { background: #f2f4f7; }
.bs-date-pick-sr {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.bs-nav-btn { width: 34px; height: 34px; padding: 0; border-radius: 8px; font-size: 18px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; }
.bs-toolbar { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px; background: var(--bs-surface); border: 1px solid var(--bs-border); border-radius: 12px; padding: 10px 12px; margin-bottom: 14px; }
.bs-toolbar-primary, .bs-toolbar-actions { display: flex; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
.bs-template-control { display: flex; align-items: center; gap: 8px; background: #eff8ff; border: 1px solid #b2ddff; border-radius: 10px; padding: 6px 8px 6px 10px; }
.bs-template-control label { margin: 0; font-size: 12px; font-weight: 700; color: #175cd3; white-space: nowrap; }
.bs-btn { height: 34px; border: 1px solid var(--bs-border); background: #fff; color: var(--bs-text); border-radius: 8px; padding: 0 12px; font-size: 13px; font-weight: 600; white-space: nowrap; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; }
.bs-btn:hover { background: #f2f4f7; }
.bs-btn.primary { background: var(--bs-primary); border-color: var(--bs-primary); color: #fff; }
.bs-select { height: 34px; border: 1px solid var(--bs-border); border-radius: 8px; padding: 0 10px; font-size: 13px; }
/* Do not set overflow on grid ancestors — it creates a scroll container and breaks sticky headers/gutters. */
.bs-grid-card { background: var(--bs-surface); border: 1px solid var(--bs-border); border-radius: 12px; box-shadow: 0 1px 3px rgba(16,24,40,.06); }
/* One vertical scrollbar on the page. Widen the grid when bays overflow; the viewport handles horizontal scroll. */
.bs-cal { border-radius: 0 0 12px 12px; }
.bs-cal-grid { min-width: max-content; zoom: var(--bs-zoom, 1); }
.bs-zoom { display: inline-flex; align-items: center; gap: 4px; }
.bs-zoom .bs-btn { width: 34px; padding: 0; justify-content: center; }
.bs-zoom .bs-btn svg { width: 16px; height: 16px; display: block; }
.bs-zoom .bs-btn:disabled { opacity: .45; cursor: default; }
.bs-cal-row { display: flex; }
.bs-cal-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: #f8fafc;
    border-bottom: 1px solid var(--bs-border);
    box-shadow: 0 1px 0 rgba(16, 24, 40, 0.06);
}
.bs-cal-corner {
    flex: 0 0 80px;
    width: 80px;
    position: sticky;
    left: 0;
    top: 0;
    z-index: 32;
    background: #f8fafc;
    border-right: 1px solid var(--bs-border);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 9px 8px;
    font-weight: 700;
    font-size: 13px;
    color: var(--bs-muted);
}
.bs-cal-lane-head { flex: 1 1 120px; min-width: 120px; text-align: center; padding: 9px 8px; color: var(--bs-text); border-right: 1px solid var(--bs-border); font-weight: 700; font-size: 15px; position: relative; display: flex; align-items: flex-start; justify-content: center; }
.bs-cal-lane-head--bg,
.bs-cal-lane-head--card { min-height: 132px; padding: 8px 6px 10px; background: #f8fafc; align-items: center; }
.bs-lane-head-bg { position: absolute; inset: 8px 6px 10px; display: flex; align-items: center; justify-content: center; z-index: 0; pointer-events: none; }
.bs-lane-head-bg img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; object-position: center; }
.bs-lane-head-card { position: relative; z-index: 1; width: 100%; max-width: 148px; margin: 0 auto; background: rgba(255, 255, 255, 0.93); border-radius: 8px; padding: 7px 10px 8px; box-shadow: 0 1px 4px rgba(16, 24, 40, 0.14); }
.bs-lane-head-stack { display: flex; flex-direction: column; align-items: center; width: 100%; }
.bs-lane-head-title { font-weight: 700; font-size: 15px; line-height: 1.2; }
.bs-cal-lane-head .bs-lane-sub { display: block; font-weight: 400; font-size: 12.5px; color: var(--bs-muted); margin-top: 2px; line-height: 1.2; }
.bs-cal-lane-head--info { cursor: pointer; }
.bs-cal-lane-head--info:hover .bs-lane-head-card,
.bs-cal-lane-head--info:focus-visible .bs-lane-head-card { box-shadow: 0 2px 8px rgba(16, 24, 40, 0.18); }
.bs-cal-lane-head--info:focus-visible { outline: 2px solid #84caff; outline-offset: -2px; }
.bs-cal-content { position: relative; }
.bs-cal-gutter { flex: 0 0 80px; width: 80px; position: sticky; left: 0; z-index: 20; background: #fff; border-right: 1px solid var(--bs-border); }
.bs-slot-label-time { position: absolute; right: 8px; font-size: 13px; font-weight: 600; color: var(--bs-muted); }
.bs-cal-lane { flex: 1 1 120px; min-width: 120px; position: relative; border-right: 1px solid var(--bs-border); background-color: #f8fafc; background-image: repeating-linear-gradient(to bottom, transparent 0, transparent calc(var(--bs-hour-px) - 1px), #eef1f5 calc(var(--bs-hour-px) - 1px), #eef1f5 var(--bs-hour-px)); }
.bs-pill { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; background: #ecfdf3; color: #027a48; }
.bs-pill[hidden] { display: none !important; }
.bs-loading, .bsv2-empty { padding: 40px; text-align: center; color: var(--bs-muted); }
.bs-loading { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
/* same ring as public/reserve.php .details-lookup-spin */
.bs-loading-spin {
    width: 22px; height: 22px; flex: 0 0 22px;
    border: 2px solid #d0d5dd; border-top-color: var(--bs-primary, var(--brand, #2563eb));
    border-radius: 50%; animation: bs-spin .7s linear infinite;
}
@keyframes bs-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
    .bs-loading-spin { animation: none; }
}
.bs-error { margin: 12px 18px; padding: 10px 12px; border-radius: 8px; background: #fef3f2; border: 1px solid #fecdca; color: #b42318; }
.hidden { display: none !important; }
.unavailable { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 32px 24px; margin-bottom: 16px; text-align: center; max-width: 560px; margin-left: auto; margin-right: auto; }
.unavailable h2 { margin: 0 0 8px; font-size: 18px; }
.unavailable p { margin: 0 0 16px; color: var(--muted); }
.bs-modal { position: fixed; inset: 0; z-index: 1050; display: flex; align-items: flex-start; justify-content: center; padding: 40px 16px; background: rgba(16,24,40,.55); overflow: auto; }
.bs-modal-dialog { background: #fff; border-radius: 12px; box-shadow: 0 20px 48px rgba(16,24,40,.28); width: 100%; max-width: 520px; }
.bsv2-modal-dialog { max-width: 560px; }
.bs-floorplan-dialog { max-width: 1100px; }
.bs-floorplan-dialog img { display: block; max-width: 100%; height: auto; margin: 0 auto; border-radius: 8px; }
.bs-floorplan-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.bs-floorplan-dialog .bs-modal-head { gap: 8px; }
.bs-modal-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--bs-border); }
.bs-modal-head h3 { margin: 0; font-size: 17px; font-weight: 650; }
.bs-modal-close { background: none; border: none; font-size: 24px; color: var(--bs-muted); cursor: pointer; }
.bs-modal-body { padding: 16px 20px 20px; }

/* v2 filter toolbar */
.tee-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 14px;
    background: var(--bs-surface);
    border: 1px solid var(--bs-border);
    border-radius: 12px;
    padding: 8px 12px;
    margin-bottom: 8px;
}
.bs-page .tee-toolbar.bs-sheet-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    column-gap: 16px;
    row-gap: 10px;
    padding: 10px 16px;
    margin-bottom: 10px;
}
.bs-sheet-toolbar__zone {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.bs-sheet-toolbar__left {
    justify-self: start;
    justify-content: flex-start;
}
.bs-sheet-toolbar__center {
    justify-self: center;
    justify-content: center;
    flex-wrap: nowrap;
}
.bs-sheet-toolbar__right {
    justify-self: end;
    justify-content: flex-end;
}
.bs-sheet-toolbar .bs-pill[hidden],
.bs-sheet-toolbar .bs-btn[hidden] {
    display: none !important;
}
.bs-sheet-toolbar .bs-today-pill {
    background: #f2f4f7;
    color: #475467;
}
.bs-sheet-toolbar .bs-today-btn {
    font-weight: 600;
    color: #475467;
}
.tee-toolbar-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    flex: 1 1 auto;
    min-width: 0;
}
.tee-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.tee-filter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    color: var(--bs-muted);
    white-space: nowrap;
}
.tee-filter span { line-height: 1; }

/*through iPad Pro 13" landscape (~1376px): date on its own row, actions below*/
@media (max-width: 1400px) {
    .wrap { max-width: 100%; min-width: 0; }
    .bs-page, .bs-shell { max-width: 100%; min-width: 0; }
    body { overflow-x: clip; }
    /*wide lane set scrolls inside the card instead of growing the shell*/
    .bs-grid-card { max-width: 100%; min-width: 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .bs-page .tee-toolbar.bs-sheet-toolbar {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-template-areas:
            "center center"
            "left right";
    }
    .bs-sheet-toolbar__center {
        grid-area: center;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        min-width: 0;
    }
    .bs-sheet-toolbar__left { grid-area: left; flex-wrap: wrap; min-width: 0; }
    .bs-sheet-toolbar__right { grid-area: right; flex-wrap: wrap; justify-content: flex-end; min-width: 0; }
    .bs-date-nav { width: 100%; max-width: 100%; min-width: 0; flex-wrap: wrap; justify-content: center; }
    .bs-page .bs-date-title {
        flex: 0 1 auto;
        font-size: 15px;
        font-weight: 700;
        white-space: normal;
        text-align: center;
        line-height: 1.2;
        max-width: 100%;
        min-width: 0;
    }
    .tee-filter { flex-wrap: wrap; white-space: normal; min-width: 0; }
    .tee-filter .bs-select { min-width: 0; max-width: 100%; }
}
@media (max-width: 640px) {
    .wrap { padding: 6px 8px 14px; max-width: 100%; min-width: 0; overflow-x: clip; }
    body { overflow-x: clip; }
    .bs-page, .bs-shell { max-width: 100%; min-width: 0; }
    /*wide lane set scrolls inside the card; clip keeps the page from growing sideways*/
    .bs-grid-card { max-width: 100%; min-width: 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .bs-page .tee-toolbar.bs-sheet-toolbar {
        grid-template-columns: 1fr;
        grid-template-areas:
            "center"
            "left"
            "right";
        padding: 8px 10px;
        gap: 8px;
        margin-bottom: 8px;
    }
    .bs-sheet-toolbar__left,
    .bs-sheet-toolbar__center,
    .bs-sheet-toolbar__right {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: stretch;
        gap: 8px;
        width: 100%;
    }
    .bs-sheet-toolbar__zone > .bs-btn,
    .bs-sheet-toolbar__zone > .bs-zoom,
    .bs-sheet-toolbar__zone > .tee-filter,
    .bs-sheet-toolbar__zone > .tee-multi-bay,
    .bs-sheet-toolbar__zone > .bs-today-btn,
    .bs-sheet-toolbar__zone > .bs-today-pill,
    .bs-sheet-toolbar__zone > .bs-date-nav {
        flex: 1 1 calc(50% - 8px);
        width: auto;
        min-width: 0;
        max-width: 100%;
    }
    .bs-sheet-toolbar__center > .bs-date-nav { flex-basis: 100%; justify-content: center; }
    .bs-sheet-toolbar__zone > .bs-btn { justify-content: center; }
    .bs-sheet-toolbar__zone > .bs-zoom { display: flex; }
    .bs-zoom .bs-btn { flex: 1; width: auto; }
    .bs-sheet-toolbar__left > .tee-multi-bay > .bs-btn { width: 100%; justify-content: center; }
    .tee-multi-bay-actions > .bs-btn { flex: 1 1 calc(50% - 8px); justify-content: center; }
    .bs-sheet-toolbar__center > a.bs-btn {
        display: none;
    }
    .bs-page .bs-date-title {
        font-size: 14px;
        padding: 2px 4px;
        white-space: normal;
        text-align: center;
        line-height: 1.25;
        max-width: 220px;
    }
    .bs-nav-btn { width: 30px; height: 30px; font-size: 16px; }
    .bs-btn { height: 32px; padding: 0 10px; font-size: 12px; }
    .bs-select { height: 32px; font-size: 12px; }
    .tee-filter { font-size: 11px; gap: 4px; }
    .tee-filter .bs-select { min-width: 0; flex: 1 1 96px; }
    .tee-summary { padding: 6px 10px; margin-bottom: 8px; font-size: 12px; }
    .bs-cal-corner,
    .bs-cal-gutter { flex: 0 0 48px; width: 48px; }
    .bs-cal-lane-head,
    .bs-cal-lane { flex: 1 1 112px; min-width: 112px; }
    .bs-cal-header { box-shadow: 0 2px 6px rgba(16, 24, 40, 0.08); }
    .bs-cal-lane-head { font-size: 12px; padding: 6px 4px; background: #f8fafc; }
    .bs-cal-lane-head--bg,
    .bs-cal-lane-head--card { min-height: 52px; padding: 4px 3px 6px; }
    .bs-lane-head-card { max-width: none; padding: 4px 6px; }
    .bs-lane-head-title { font-size: 12px; }
    .bs-cal-lane-head .bs-lane-sub { font-size: 10px; margin-top: 1px; }
    .bs-lane-head-bg { inset: 4px 3px 6px; }
}
@media (min-width: 1401px) {
    .tee-filter .bs-select { min-width: 130px; }
}
@media (max-width: 640px) {
    .tee-filter .bs-select { min-width: 0; width: 100%; }
    .bs-sheet-toolbar__zone > .bs-today-pill { display: inline-flex; align-items: center; justify-content: center; }
}
.tee-toolbar-help {
    margin: 0;
    font-size: 12px;
    font-weight: 500;
    color: var(--bs-muted);
    line-height: 1.35;
    flex: 1 1 220px;
    min-width: 180px;
}

/* v2 summary strip */
.tee-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 12px;
    padding: 8px 12px;
    margin-bottom: 10px;
    background: #f8fafc;
    border: 1px solid var(--bs-border);
    border-radius: 10px;
    font-size: 13px;
    color: var(--bs-text);
}
.tee-summary[hidden] {
    display: none !important;
}
.tee-summary strong {
    font-weight: 700;
    font-size: 13px;
}
.tee-summary span {
    color: var(--bs-muted);
    font-size: 12px;
    line-height: 1.35;
}

/* v2 tee cells — positioning shell */
.tee-cell {
    position: absolute;
    left: 0;
    right: 0;
    box-sizing: border-box;
    font-family: inherit;
}
.tee-cell--clickable { cursor: pointer; }
.tee-cell--clickable:hover { filter: brightness(.96); }
.tee-cell--clickable:focus {
    outline: none;
}
.tee-cell--clickable:focus-visible {
    outline: 2px solid #101828;
    outline-offset: -2px;
    z-index: 2;
}
.tee-cell--reserved { cursor: default; }
.tee-cell--promo {
    cursor: default;
    color: #fff;
    background-color: #2563eb;
}
.tee-cell--unavailable {
    color: #8a97a8;
    cursor: default;
    border-right: 1px solid #e5eaf0;
    border-bottom: 1px solid #e5eaf0;
}
.tee-cell--closed:not(.tee-cell--promo) {
    background: repeating-linear-gradient(45deg, #f3f4f6, #f3f4f6 6px, #e9ecef 6px, #e9ecef 12px) !important;
    color: #667085 !important;
    cursor: default;
    border-right: 1px solid #e5eaf0;
    border-bottom: 1px solid #e5eaf0;
}
.tee-cell--closed .gb-slot-price,
.tee-cell--closed .gb-slot-main {
    color: #667085 !important;
}

/* v2 tee cells — slot content */
.gb-slot-cell {
    min-height: 68px;
    height: 100%;
    width: 100%;
    padding: 8px 10px;
    border: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.45);
    border-bottom: 1px solid rgba(255, 255, 255, 0.45);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    overflow: hidden;
    color: #fff;
    text-align: center;
    line-height: 1.2;
}
.gb-slot-main {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
    max-width: 100%;
    white-space: nowrap;
}
.gb-slot-status {
    max-width: 100%;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.gb-slot-price {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}
.tee-cell--promo .gb-slot-main,
.tee-cell--reserved .gb-slot-main {
    white-space: normal;
    max-width: 100%;
    align-items: center;
    gap: 3px;
}
.tee-cell--promo .bs-waitlist-icon,
.tee-cell--reserved .bs-waitlist-icon { margin: 0; flex-shrink: 0; }
.tee-cell--promo .gb-slot-price,
.tee-cell--reserved .gb-slot-price {
    white-space: normal;
    overflow: hidden;
    text-overflow: clip;
    word-break: break-word;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
}
@media (max-width: 640px) {
    /*after base .gb-slot-cell so min-height wins*/
    .gb-slot-cell {
        min-height: 0;
        padding: 3px 4px;
        gap: 1px;
        border-bottom: 1px solid #d5dbe3;
    }
    .tee-cell--unavailable {
        border-bottom: 1px solid #d5dbe3;
    }
    .gb-slot-main { white-space: normal; flex-wrap: wrap; min-width: 0; }
    .gb-slot-price,
    .tee-cell--available .gb-slot-meta {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }
    .gb-slot-price { font-size: 11px; }
    .tee-cell--available .gb-slot-meta { font-size: 10px; line-height: 1.15; }
    .gb-slot-status { font-size: 10px; }
    .gb-slot-pay svg { width: 11px; height: 11px; }
    .tee-cell--promo .gb-slot-price,
    .tee-cell--reserved .gb-slot-price { font-size: 10px; text-align: center; }
    .bs-waitlist-icon-img { max-width: 14px; }
    .bs-slot-label-time {
        left: 0;
        right: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 2px;
        border-bottom: 1px solid var(--bs-border);
        font-size: 10px;
        line-height: 1.05;
        text-align: center;
        white-space: normal;
    }
    .bs-slot-label-time span {
        display: block;
        max-width: 100%;
        text-align: center;
    }
}
/* iPad + iPad Pro: lane columns stay narrow; nowrap + ellipsis crops price / options / bay time */
@media (min-width: 641px) and (max-width: 1400px) {
    .gb-slot-cell {
        padding: 4px 6px;
        gap: 2px;
    }
    .gb-slot-main {
        white-space: normal;
        flex-wrap: wrap;
        min-width: 0;
        justify-content: center;
    }
    .gb-slot-price,
    .tee-cell--available .gb-slot-meta {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }
    .gb-slot-price { font-size: 12px; }
    .tee-cell--available .gb-slot-meta { font-size: 11px; line-height: 1.15; }
}

.tee-cell--available .gb-slot-price {
    font-weight: 400;
}
.gb-slot-pay {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    top: 1px;
    opacity: .95;
    color: inherit;
}
.gb-slot-pay svg {
    display: block;
}
.gb-slot-badge {
    display: inline-flex;
    align-items: center;
    height: 17px;
    padding: 0 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: #2f7d32;
    font-size: 10px;
    font-weight: 700;
    line-height: 17px;
    white-space: nowrap;
    flex-shrink: 0;
}
.gb-slot-meta {
    max-width: 100%;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.25;
    opacity: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.gb-slot-color-chips {
    display: flex;
    gap: 4px;
    margin-top: 2px;
}
.gb-slot-color-chip {
    width: 18px;
    height: 4px;
    border-radius: 999px;
    background: var(--chip-color);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

/* v2 option modal */
.bsv2-modal-meta { margin-bottom: 14px; font-size: 13px; color: var(--bs-text); }
.bsv2-modal-meta p { margin: 0 0 4px; }
.bsv2-option-list { display: flex; flex-direction: column; gap: 10px; }
.bsv2-option-empty { margin: 4px 0 0; font-size: 13.5px; color: var(--bs-muted); }
.bsv2-option-card {
    border: 1px solid var(--bs-border); border-radius: 10px; padding: 12px 14px; background: #fafbfc;
}
.bsv2-option-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.bsv2-option-name { margin: 0; font-size: 15px; font-weight: 700; color: var(--bs-text); }
.bsv2-option-badges { display: flex; flex-wrap: wrap; gap: 4px; }
.bsv2-badge {
    display: inline-block; font-size: 10.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px;
    background: #ecfdf3; color: #027a48; border: 1px solid #abefc6;
}
.bsv2-option-pricing { display: flex; flex-direction: column; gap: 2px; margin-bottom: 6px; }
.bsv2-option-price { font-size: 15px; font-weight: 700; color: var(--bs-text); line-height: 1.25; }
.bsv2-option-duration-range { font-weight: 500; color: var(--bs-muted); font-size: 12.5px; line-height: 1.3; }
.bsv2-option-status { font-size: 12.5px; color: var(--bs-muted); margin-bottom: 10px; }
.bsv2-option-btn { width: 100%; justify-content: center; }

/* waitlist join (public reserved cells + modal) */
.bs-waitlist-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0 0 0 4px;
    border: 0;
    background: transparent;
    cursor: pointer;
    line-height: 1;
    vertical-align: middle;
}
.bs-waitlist-icon-img { max-width: 18px; height: auto; display: block; }
.bs-wl-prefill {
    margin-bottom: 14px;
    padding: 10px 12px;
    background: #f8fafc;
    border: 1px solid var(--bs-border);
    border-radius: 8px;
    font-size: 13px;
}
.bs-wl-prefill div + div { margin-top: 4px; }
.bs-wl-field { margin-bottom: 12px; }
.bs-wl-field label,
.bs-wl-label { display: block; font-size: 12.5px; font-weight: 600; color: var(--bs-text); margin-bottom: 4px; }
.bs-wl-req { color: #d92d20; }
.bs-wl-field input[type="text"],
.bs-wl-field input[type="email"],
.bs-wl-field input[type="tel"],
.bs-wl-field select {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid var(--bs-border);
    border-radius: 8px;
    font: inherit;
    background: #fff;
}
.bs-wl-input-wrap { position: relative; }
.bs-wl-input-wrap .bs-valid-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    pointer-events: none;
}
.bs-valid-icon.ok { color: #027a48; }
.bs-valid-icon.err { color: #d92d20; }
.bs-wl-notify { display: flex; flex-wrap: wrap; gap: 12px; }
.bs-wl-check {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}
.bs-wl-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 8px;
}
.bs-wl-status { min-height: 1.2em; font-size: 12.5px; margin: 0 0 8px; }
.bs-wl-status.err { color: #d92d20; }
.bs-btn-primary {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
    color: #fff;
}
.iti { width: 100%; }

/* Public lessons — left details rail + instructor columns (same orientation as Book Golf) */
.ls-workspace {
    display: grid;
    grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    margin: 0;
}
.ls-rail {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: sticky;
    top: 12px;
}
.ls-rail-card {
    background: var(--bs-surface);
    border: 1px solid var(--bs-border);
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(16, 24, 40, .06);
    padding: 14px 14px 12px;
}
.ls-rail-card .gb-section-label:last-child,
.ls-rail-card .gb-offering-picker {
    margin-bottom: 0;
}
.ls-rail .gb-offering-picker,
.ls-offering-toggles {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
}
.ls-rail .gb-offering-choice,
.ls-offering-toggle {
    padding: 10px 12px;
    width: 100%;
}
.ls-offering-toggle.is-selected {
    background: #eff8ff;
    border-color: #84caff;
    box-shadow: 0 0 0 3px rgba(47, 128, 237, .12);
}
.ls-offering-toggle:not(.is-selected) {
    opacity: .72;
}
.ls-offering-toggle.is-empty:not(.is-selected) {
    opacity: .5;
    background: #f2f4f7;
    color: #667085;
}
.ls-offering-toggle.is-empty.is-selected {
    opacity: .8;
}
.ls-offering-hint {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    font-weight: 650;
    color: #027a48;
}
.ls-offering-toggle.is-empty .ls-offering-hint {
    color: #667085;
    font-weight: 600;
}
.ls-rail-date .bs-date-nav {
    display: grid;
    grid-template-columns: 34px 1fr 34px;
    align-items: center;
    gap: 6px;
}
.ls-rail .bs-date-title {
    font-size: 15px;
    white-space: normal;
    text-align: center;
    line-height: 1.25;
    padding: 2px 4px;
}
.ls-rail-date-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}
.ls-rail .bs-today-pill {
    background: #f2f4f7;
    color: #475467;
}
.ls-rail .bs-today-btn {
    font-weight: 600;
    color: #475467;
}
.ls-rail .bs-pill[hidden],
.ls-rail .bs-btn[hidden] {
    display: none !important;
}
.ls-rail .gb-staff-row {
    margin: 0;
}
.ls-rail-static {
    font-size: 14px;
    font-weight: 650;
    color: var(--bs-text);
}
.ls-rail-title {
    margin: 0 0 6px;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -.02em;
}
.ls-rail-details .gb-offering-card__desc {
    margin: 0 0 8px;
}
.ls-rail-facts {
    margin: 12px 0 0;
    display: grid;
    gap: 8px;
}
.ls-rail-facts > div {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 8px;
    align-items: baseline;
}
.ls-rail-facts dt {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: var(--bs-muted);
}
.ls-rail-facts dd {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--bs-text);
}
.ls-rail-price {
    font-size: 18px;
    font-weight: 800;
}
.ls-rail-actions {
    display: flex;
}
.ls-rail-actions .bs-btn {
    width: 100%;
    justify-content: center;
}
.ls-calendar {
    min-width: 0;
}
.ls-sheet { overflow-x: auto; }
.ls-cal-grid {
    width: 100%;
    min-width: 0;
}
.ls-cal-row {
    display: flex;
    min-height: 64px;
    border-bottom: 1px solid var(--bs-border);
}
.ls-cal-gutter {
    flex: 0 0 80px;
    width: 80px;
    position: sticky;
    left: 0;
    z-index: 20;
    background: #fff;
    border-right: 1px solid var(--bs-border);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--bs-muted);
}
.ls-cal-head,
.ls-cal-cell {
    flex: 1 1 180px;
    min-width: 150px;
    max-width: 280px;
}
.ls-cal-head {
    min-height: 0;
    align-items: center;
    padding: 10px 8px;
}
.ls-cal-cell {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    height: auto;
    min-height: 64px;
    text-decoration: none;
}
.ls-cal-cell.tee-cell--closed,
.ls-cal-cell.tee-cell--available {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.ls-cal-cell .gb-slot-meta {
    color: #fff;
    font-size: 12px;
    font-weight: 650;
    opacity: .95;
}
.ls-workspace--stacked {
    grid-template-columns: minmax(0, 1fr);
}
.ls-workspace--stacked .ls-rail {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
}
.ls-workspace--stacked .ls-rail-card {
    flex: 1 1 220px;
    min-width: 0;
}
.ls-workspace--stacked .ls-offering-toggles {
    flex-direction: row;
    flex-wrap: wrap;
}
.ls-workspace--stacked .ls-offering-toggle {
    width: auto;
    flex: 1 1 160px;
}
.ls-workspace--stacked .ls-rail-actions {
    flex: 0 0 auto;
    align-self: flex-end;
}
.ls-workspace--stacked .ls-rail-actions .bs-btn {
    width: auto;
}
@media (max-width: 900px) {
    .ls-workspace {
        grid-template-columns: minmax(0, 1fr);
    }
    .ls-rail {
        position: static;
    }
}

