/* Approved decision-first detail. The shared popup frame remains fixed. */
.lc-panel[data-catalog-view="detail"] .lc-header { padding-block:12px; }
.lc-panel[data-catalog-view="detail"] .lf-topline { display:grid; grid-template-columns:1fr auto 1fr; align-items:center; margin-bottom:0; gap:10px; }
.lc-panel[data-catalog-view="detail"] .lc-back { justify-self:start; min-height:44px; padding:8px 12px; border:1px solid var(--line); border-radius:12px; background:var(--surface); }
.lc-panel[data-catalog-view="detail"] .ld-header-label { color:var(--muted); font-size:12px; font-weight:400; white-space:nowrap; }
.lc-panel[data-catalog-view="detail"] #lf-close { justify-self:end; width:44px; height:44px; }
.lc-panel[data-catalog-view="detail"] .lc-scroll { padding:16px 20px; }
.ld-detail { display:grid; gap:14px; min-width:0; }
.ld-detail > .pb-options { margin:0; gap:8px; }
.ld-detail p { word-break:keep-all; overflow-wrap:anywhere; }
.ld-eyebrow { margin:0 0 6px; color:var(--accent); font-size:12px; line-height:18px; font-weight:600; }
.ld-overview h3 { margin:0 0 10px; color:var(--text); font-size:23px; line-height:1.35; font-weight:700; letter-spacing:-.75px; word-break:keep-all; overflow-wrap:anywhere; }
.ld-venue { display:flex; align-items:center; flex-wrap:wrap; gap:6px; margin:0; color:var(--text); font-size:14px; line-height:21px; font-weight:600; }
.ld-venue > svg { width:16px; height:16px; color:var(--accent); }
.ld-venue > small { margin-left:3px; color:var(--muted); font-size:12px; line-height:18px; font-weight:400; }
.ld-facts { display:grid; grid-template-columns:1fr 1fr 1.2fr; padding:13px 0; margin:18px 0 0; border:1px solid var(--line); border-radius:14px; background:var(--surface); }
.ld-facts > div { display:grid; gap:5px; min-width:0; padding:0 12px; }
.ld-facts > div + div { border-left:1px solid var(--line); }
.ld-facts dt { color:var(--muted); font-size:11px; line-height:17px; }
.ld-facts dd { margin:0; color:var(--text); font-size:14px; line-height:21px; font-weight:600; word-break:keep-all; }
.ld-disclosure { min-width:0; }
.ld-disclosure > summary,.ld-photo-disclosure > summary { display:flex; align-items:center; gap:12px; min-height:48px; padding:12px 0; color:var(--text); font-size:14px; line-height:22px; list-style:none; cursor:pointer; }
.ld-disclosure > summary::-webkit-details-marker,.ld-photo-disclosure > summary::-webkit-details-marker { display:none; }
.ld-row-end { display:flex; align-items:center; gap:8px; flex:none; margin-left:auto; color:var(--muted); }
.ld-row-end > svg,.ld-photo-disclosure > summary > svg { width:16px; height:16px; transition:transform .15s ease; }
.ld-disclosure[open] > summary > .ld-row-end > svg,.ld-photo-disclosure[open] > summary > svg { transform:rotate(90deg); }
.ld-row-end > small { font-size:11px; line-height:18px; font-weight:400; }
.ld-coach > summary { min-height:60px; padding:4px 0 8px; }
.ld-avatar { display:grid; place-items:center; flex:none; width:44px; height:44px; border-radius:50%; color:var(--accent); background:color-mix(in srgb,var(--accent) 10%,var(--surface)); font-size:19px; font-weight:600; }
.ld-avatar > img { display:block; width:44px; height:44px; border-radius:inherit; object-fit:cover; }
.ld-coach-copy { display:grid; gap:3px; min-width:0; }
.ld-coach-copy > strong { color:var(--text); font-size:16px; line-height:22px; font-weight:650; }
.ld-coach-copy > small { color:var(--muted); font-size:12px; line-height:18px; }
.ld-coach-copy > small > span { margin-left:4px; font-size:11px; }
.ld-coach-content { display:grid; gap:14px; min-width:0; }
.ld-coach-section { min-width:0; }
.ld-coach-section > h4 { margin:0 0 6px; color:var(--text); font-size:13px; line-height:20px; font-weight:650; }
.ld-coach-section > p,.ld-coach-content > p { margin:0; color:var(--muted); font-size:14px; line-height:1.7; white-space:pre-line; }
.ld-coach-content > .ld-quiet { margin:0; font-size:11px; line-height:18px; }
.ld-rating { display:flex; align-items:baseline; flex-wrap:wrap; gap:5px; margin:0; color:var(--muted); font-size:13px; line-height:20px; }
.ld-rating > span:first-child:not(.ld-review-count) { color:var(--accent); font-size:16px; }
.ld-rating > b { color:var(--text); font-size:15px; font-weight:650; }
.ld-reviews { border-bottom:1px solid var(--line); }
.ld-reviews > summary { gap:8px; }
.ld-section { min-width:0; }
.ld-section h4,.ld-support-section h4 { margin:0 0 7px; color:var(--text); font-size:15px; line-height:22px; font-weight:650; letter-spacing:-.2px; }
.ld-section > p,.ld-expand > p,.ld-support-section > p { margin:0; color:var(--muted); font-size:14px; line-height:1.7; }
.ld-fit { padding:15px 16px; border-radius:14px; background:color-mix(in srgb,var(--accent) 7%,var(--surface)); }
.ld-fit h4 { color:var(--accent); font-size:14px; }
.ld-fit > p { color:var(--text); }
.ld-strengths { display:flex; flex-wrap:wrap; gap:6px; margin-top:12px; }
.ld-strengths > span { padding:5px 8px; border-radius:7px; background:var(--surface); color:var(--muted); font-size:12px; line-height:18px; }
.ld-details-group { border-top:1px solid var(--line); }
.ld-details-group > details + details { border-top:1px solid var(--line); }
.ld-expand { padding:4px 0 16px; }
.ld-expand > .ld-quiet,.ld-support-section > .ld-quiet,.ld-quiet { margin:10px 0 0; color:var(--muted); font-size:11px; line-height:18px; }
.ld-photo-disclosure { margin-top:12px; border-top:1px solid var(--line); }
.ld-photo-disclosure > summary { justify-content:space-between; }
.ld-photo-disclosure figure { margin:0; }
.ld-photo-disclosure img { display:block; width:100%; height:140px; object-fit:cover; border-radius:12px; }
.ld-photo-disclosure figcaption { margin-top:8px; color:var(--muted); font-size:11px; line-height:18px; }
.ld-curriculum { display:grid; gap:14px; padding:0; margin:4px 0 0; list-style:none; }
.ld-curriculum li { display:flex; align-items:center; gap:12px; color:var(--text); font-size:14px; line-height:22px; }
.ld-curriculum li > span { flex:none; color:var(--accent); font-size:12px; font-variant-numeric:tabular-nums; }
.ld-support-section + .ld-support-section { margin-top:20px; }
.ld-costs { display:grid; gap:10px; margin:0; font-size:14px; line-height:22px; }
.ld-costs > div { display:grid; grid-template-columns:36px minmax(0,1fr); gap:12px; }
.ld-costs dt { color:var(--muted); }
.ld-costs dd { margin:0; color:var(--text); }
.ld-location { display:grid; grid-template-columns:92px minmax(0,1fr); gap:14px; align-items:center; }
.ld-location > div { min-width:0; }
.ld-location strong { display:block; color:var(--text); font-size:14px; line-height:21px; word-break:keep-all; }
.ld-location p { margin:4px 0; color:var(--muted); font-size:12px; line-height:18px; }
.ld-location small { display:block; color:var(--muted); font-size:11px; line-height:17px; }
.ld-review-example { padding:12px 0; border-top:1px solid var(--line); }
.ld-review-example small { color:var(--muted); font-size:11px; line-height:18px; }
.ld-review-example p { margin:6px 0 0; color:var(--text); font-size:14px; line-height:1.7; }
.ld-preview-note { margin:0; padding-top:8px; color:var(--muted); font-size:11px; line-height:18px; }
.ld-schedule { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:10px 12px; border:1px solid var(--line); border-radius:12px; }
.ld-schedule > div { display:grid; gap:4px; min-width:0; }
.ld-schedule small { color:var(--muted); font-size:11px; line-height:16px; }
.ld-schedule strong { color:var(--text); font-size:13px; line-height:20px; font-weight:600; }
.ld-schedule button { flex:none; min-height:44px; padding:8px 10px; border:0; border-radius:9px; color:var(--accent); background:var(--surface); font-size:12px; }
/* Price and actions stay visible while the detail receives the remaining height. */
.lf-footer.ld-footer { display:grid; grid-template-columns:minmax(0,.75fr) minmax(0,1.5fr); gap:8px 16px; align-items:center; padding:10px 20px; }
.ld-footer > .ld-price { display:flex; flex-direction:column; align-items:flex-start; gap:0; min-width:0; }
.ld-price > small { color:var(--muted); font-size:11px; line-height:16px; }
.ld-price > strong { color:var(--text); font-size:25px; line-height:30px; letter-spacing:-.8px; font-variant-numeric:tabular-nums; white-space:nowrap; }
.ld-price > strong > span { margin-left:1px; font-size:.55em; letter-spacing:0; font-weight:500; }
.ld-price > span { color:var(--muted); font-size:11px; line-height:16px; white-space:nowrap; }
.ld-footer > .ld-actions { display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.25fr); gap:8px; min-width:0; }
.ld-actions > button { min-width:0; min-height:48px; padding:10px 12px; font:inherit; font-size:14px; border-radius:12px; white-space:nowrap; }
.ld-actions > .ld-inquiry { color:var(--accent); background:var(--surface); border:1px solid var(--accent); }
.ld-actions > .primary { display:flex; justify-content:center; align-items:center; gap:5px; }
.ld-actions > .primary svg { flex:none; width:17px; height:17px; }
@media(min-width:600px) { .ld-overview h3 { font-size:28px; } .ld-facts { padding-block:15px; } .ld-facts dt { font-size:12px; } .ld-facts dd { font-size:15px; } .ld-price > strong { font-size:27px; line-height:32px; } }
@media(max-width:599px) {
 .lc-panel[data-catalog-view="detail"] .lc-scroll { padding-inline:16px; }
 .lf-footer.ld-footer { grid-template-columns:minmax(0,1fr); padding-inline:16px; }
 .ld-footer > .ld-price { flex-direction:row; flex-wrap:wrap; align-items:baseline; gap:2px 8px; }
 .ld-price > span { margin-left:auto; }
}
@media(max-width:359px) { .ld-overview h3 { font-size:22px; line-height:1.35; } .ld-facts > div { padding-inline:9px; } .ld-facts dd { font-size:13px; } .lc-panel[data-catalog-view="detail"] .lc-scroll,.lf-footer.ld-footer { padding-inline:14px; } .ld-price > strong { font-size:23px; line-height:28px; } .ld-actions > button { font-size:13px; padding-inline:8px; } }
@media(max-height:540px) { .lc-panel[data-catalog-view="detail"] .lc-header { padding-block:6px; } .lf-footer.ld-footer { padding-block:8px; gap:6px 12px; } .ld-actions > button { min-height:44px; padding-block:8px; } }
@media(prefers-reduced-motion:reduce) { .ld-row-end > svg,.ld-photo-disclosure > summary > svg { transition:none; } }

.pb-options { display:grid; gap:10px; margin:22px 0; }
.pb-options h4 { margin:0 0 4px; font-size:15px; }
.pb-options > :is(button,article),.pb-extra > button { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:64px; padding:14px; border:1px solid var(--line); border-radius:14px; background:var(--surface); color:var(--text); text-align:left; font:inherit; font-size:13px; }
.pb-options [aria-pressed=true],.pb-extra [aria-pressed=true] { border-color:var(--accent); background:color-mix(in srgb,var(--accent) 10%,var(--surface)); }
.pb-options strong,.pb-extra small { display:block; line-height:1.7; }
.pb-options small { display:block; margin-top:4px; font-size:11px; color:var(--muted); line-height:1.7; }
.pb-options b { flex:none; font-size:15px; }
.pb-costs { padding:18px; margin:20px 0; border:1px solid var(--line); border-radius:16px; background:var(--surface); }
.pb-costs h4 { margin:0 0 14px; font-size:15px; }
.pb-costs dl { display:grid; gap:12px; margin:0; }
.pb-costs dl > div { display:flex; gap:12px; align-items:start; justify-content:space-between; font-size:13px; line-height:1.7; }
.pb-costs dt { min-width:0; color:var(--muted); }
.pb-costs dt small { display:block; font-size:10px; }
.pb-costs dd { margin:0; flex:none; text-align:right; }
.pb-costs .pb-cost-total { border-top:1px solid var(--line); padding-top:14px; font-weight:700; font-size:16px; }
.pb-cost-total dt { color:var(--text); }
.pb-costs > p { font-size:11px; color:var(--muted); line-height:1.8; margin:14px 0 0; }
.pb-terms { display:grid; gap:10px; overflow-wrap:anywhere; }
.pb-terms h4 { font-size:14px; margin:10px 0 0; }
.pb-terms p { margin:0; color:var(--muted); line-height:1.9; white-space:pre-line; font-size:12px; }
.pb-terms ul { display:grid; gap:12px; padding:0; list-style:none; font-size:12px; }
.pb-terms li > span { display:block; line-height:1.9; }
.pb-terms li > span:last-child { color:var(--muted); }
.pb-people { border:0; padding:0; margin:22px 0; }
.pb-people legend { font-weight:650; font-size:14px; margin-bottom:12px; }
.pb-people button { min-width:52px; min-height:44px; margin:0 5px 5px 0; border:1px solid var(--line); border-radius:12px; background:var(--surface); color:var(--text); font:inherit; }
.pb-people [aria-pressed=true],.pb-times [aria-pressed=true] { border-color:var(--accent); color:var(--accent); }
.pb-people p,.pb-appointments > p { font-size:12px; color:var(--muted); line-height:1.8; }
.pb-title { display:flex; justify-content:space-between; align-items:center; gap:12px; }
.pb-title h4 { font-size:15px; margin:0; }
.pb-title b { font-size:13px; color:var(--accent); }
.pb-times { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; margin:14px 0; }
.pb-times button { min-height:48px; padding:10px 5px; border:1px solid var(--line); border-radius:12px; color:var(--text); background:var(--surface); font:inherit; font-size:13px; }
.pb-picked { display:grid; gap:9px; list-style:none; padding:0; margin:18px 0; }
.pb-picked li { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:12px; border:1px solid var(--line); border-radius:12px; font-size:12px; line-height:1.8; }
.pb-picked button { flex:none; min-width:44px; min-height:44px; border:0; border-radius:10px; color:var(--muted); background:var(--surface); font-size:20px; }
.pb-extra { display:grid; gap:10px; border:0; padding:0; margin:24px 0; }
.pb-extra legend { font-size:14px; font-weight:650; margin-bottom:12px; }
.pb-extra small { font-size:10px; color:var(--muted); }

/* Keep package selection compact and each chosen session visible while editing. */
.pb-package,.pb-enrollment,.pb-date-editor { border:1px solid var(--line); border-radius:14px; margin:16px 0; background:var(--surface); }
.pb-package > summary,.pb-enrollment > summary,.pb-date-editor > summary { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px; min-height:48px; cursor:pointer; font-size:13px; list-style:none; }
.pb-package > summary::-webkit-details-marker,.pb-enrollment > summary::-webkit-details-marker,.pb-date-editor > summary::-webkit-details-marker { display:none; }
.pb-package summary strong,.pb-package summary small { display:block; line-height:1.65; }
.pb-package summary small,.pb-enrollment > summary > span { color:var(--muted); font-size:11px; }
.pb-package > summary > span:last-child { flex:none; color:var(--accent); font-size:12px; }
.pb-package .pb-options { margin:0; padding:0 12px 12px; }
.pb-enrollment > .ls-enrollment { margin:0; border:0; padding:14px; gap:16px; }
.pb-enrollment .ls-choices button { word-break:keep-all; overflow-wrap:anywhere; }
.pb-enrollment > .ls-enrollment > .ls-person:only-of-type { padding:0; border:0; border-radius:0; background:transparent; }
@media(max-width:359px) { .pb-enrollment > .ls-enrollment { padding:12px; } }
.pb-enrollment[open] > summary,.pb-date-editor[open] > summary { border-bottom:1px solid var(--line); }
.pb-date-editor > .pb-date-picker { padding:14px; }
.pb-appointments { margin:24px 0; scroll-margin-top:4px; }
.pb-appointments .pb-progress { margin:10px 0 14px; color:var(--text); }
.pb-weekly-hint { padding:10px 12px; background:color-mix(in srgb,var(--accent) 7%,var(--surface)); border-radius:10px; }
.pb-date-heading { display:flex; align-items:center; justify-content:space-between; gap:8px; margin:16px 0 10px; font-size:13px; }
.pb-date-heading > button { min-height:44px; padding:8px 0 8px 10px; border:0; background:transparent; color:var(--accent); font:inherit; font-size:12px; }
.pb-days { display:flex; gap:7px; overflow-x:auto; padding:2px 1px 10px; margin:0 0 8px; }
.pb-days > button { flex:none; display:flex; flex-direction:column; justify-content:center; align-items:center; gap:2px; min-height:50px; min-width:66px; padding:8px; border:1px solid var(--line); border-radius:11px; color:var(--text); background:var(--surface); font:inherit; font-size:12px; }
.pb-days > button[aria-pressed=true] { color:var(--accent); border-color:var(--accent); background:color-mix(in srgb,var(--accent) 8%,var(--surface)); }
.pb-days small { font-size:10px; }
.pb-weekly { display:flex; flex-direction:column; align-items:flex-start; gap:6px; width:100%; margin:14px 0; padding:14px; min-height:64px; border:1px solid var(--accent); border-radius:12px; background:color-mix(in srgb,var(--accent) 8%,var(--surface)); color:var(--accent); text-align:left; font:inherit; }
.pb-weekly strong { font-size:13px; }
.pb-weekly span { color:var(--text); font-size:11px; line-height:1.65; }
.pb-session-list { margin:12px 0; }
.pb-session-list li { padding:3px 6px 3px 10px; gap:4px; }
.pb-session-list li > button:first-child { display:flex; align-items:center; gap:10px; flex:1; min-width:0; padding:8px 0; background:transparent; color:var(--text); text-align:left; font:inherit; font-size:12px; }
.pb-session-list li > button:first-child b { flex:none; color:var(--accent); }
.pb-session-list li > button:first-child span { flex:1; overflow-wrap:anywhere; }
.pb-session-list li > button:first-child small { color:var(--muted); font-size:10px; }
.pb-session-list li > button:last-child { width:44px; color:var(--muted); background:transparent; }
.pb-session-list li[data-editing=true] { border-color:var(--accent); }
.pb-all-dates { margin:0 0 12px; }
.pb-all-dates > summary { min-height:44px; padding:10px 0; color:var(--accent); font-size:12px; cursor:pointer; }
.pb-cancel-edit { min-height:44px; padding:10px 0; margin-bottom:6px; border:0; background:transparent; color:var(--accent); font:inherit; font-size:12px; }
@media(max-width:959px) {
 #lesson-flow:has(.lc-panel[data-catalog-view="booking-date"]) > .bottom-nav { display:none; }
 #lesson-flow > .lc-panel[data-catalog-view="booking-date"] { bottom:max(12px,env(safe-area-inset-bottom)); }
}
.jr-priority-lessons { margin-top:24px; }
.jr-priority-lessons .jr-lesson { min-width:0; }
.jr-priority-lessons .jr-lesson > b { font-size:12px; }
@media(max-width:359px) { .pb-options > :is(button,article) { flex-wrap:wrap; } .pb-costs { padding:14px; } .pb-costs dl > div { font-size:12px; } }

.lc-offer-price .lc-price-note { display:block; font-size:10px; font-weight:400; color:var(--muted); margin-top:4px; line-height:1.5; }

/* A requested range constrains every package session; changing it stays explicit. */
.pb-request-period { margin:14px 0; padding:14px; border:1px solid var(--line); border-radius:12px; background:var(--surface); }
.pb-request-period p { margin:0 0 8px; font-size:13px; line-height:1.7; }
.pb-request-period > div { display:flex; flex-wrap:wrap; gap:8px; margin:12px 0 6px; }
.pb-request-period button { min-height:44px; padding:10px 12px; border:1px solid var(--accent); border-radius:10px; color:var(--accent); background:transparent; font:inherit; font-size:12px; white-space:normal; text-align:left; }
.pb-request-period small { display:block; color:var(--muted); line-height:1.7; }
.pb-request-period .pb-period-clear { display:block; border-color:var(--line); margin-top:10px; }
@media (max-width:360px) { .pb-request-period > div { flex-direction:column; } }

.pb-lift-passes { margin:24px 0; }
.pb-lift-passes > h4 { margin:0 0 8px; font-size:15px; }
.pb-lift-passes > p,.pb-lift-units > p { margin:0 0 12px; color:var(--muted); font-size:12px; line-height:1.75; }
.pb-lift-card { padding:14px; margin-top:10px; border:1px solid var(--line); border-radius:14px; background:var(--surface); }
.pb-lift-toggle { display:flex; align-items:center; gap:10px; width:100%; min-height:52px; padding:0; border:0; color:var(--text); background:transparent; font:inherit; text-align:left; }
.pb-lift-check { display:grid; place-items:center; flex:none; width:28px; height:28px; border:1px solid var(--line); border-radius:8px; color:var(--muted); }
.pb-lift-toggle[aria-checked=true] .pb-lift-check,.pb-lift-toggle[aria-checked=mixed] .pb-lift-check { background:var(--accent); border-color:var(--accent); color:var(--accent-text,#fff); }
.pb-lift-toggle > span:nth-child(2) { min-width:0; flex:1; }
.pb-lift-toggle strong { display:block; font-size:13px; line-height:1.65; overflow-wrap:anywhere; }
.pb-lift-toggle small { display:block; margin-top:3px; color:var(--muted); font-size:11px; line-height:1.65; }
.pb-lift-toggle > b { flex:none; font-size:14px; }
.pb-lift-status { margin:10px 0 0; color:var(--text); font-size:12px; line-height:1.7; }
.pb-lift-units { margin-top:8px; }
.pb-lift-units > summary { display:flex; align-items:center; min-height:44px; color:var(--accent); font-size:12px; cursor:pointer; list-style:none; }
.pb-lift-units > summary::after { content:'⌄'; margin-left:auto; }
.pb-lift-unit-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.pb-lift-unit-grid > button { position:relative; display:flex; flex-direction:column; align-items:flex-start; gap:3px; min-height:62px; padding:10px 28px 10px 10px; border:1px solid var(--line); border-radius:10px; color:var(--text); background:var(--bg); font:inherit; text-align:left; }
.pb-lift-unit-grid > button[aria-checked=true] { border-color:var(--accent); background:color-mix(in srgb,var(--accent) 8%,var(--surface)); }
.pb-lift-unit-grid span:first-child { color:var(--muted); font-size:11px; }
.pb-lift-unit-grid strong { font-size:12px; line-height:1.7; }
.pb-lift-unit-grid span:last-child { position:absolute; right:10px; top:50%; transform:translateY(-50%); color:var(--accent); }
.pb-lift-help { display:block; margin-top:10px; color:var(--muted); font-size:11px; line-height:1.7; }
.pb-fee-composition { overflow-wrap:anywhere; }
.pb-fee-separate { margin:10px 0 0; color:var(--muted); font-size:12px; line-height:1.75; overflow-wrap:anywhere; }
.pb-gear-overview { display:grid; gap:12px; margin:20px 0; padding:16px; border:1px solid var(--line); border-radius:14px; background:var(--surface); }
.pb-gear-overview h4 { margin:0; }
.pb-gear-overview > div { min-width:0; }
.pb-gear-overview strong { display:block; font-size:13px; line-height:1.75; }
.pb-gear-overview strong small { margin-left:6px; color:var(--accent); font-size:11px; font-weight:500; }
.pb-gear-overview > div p { margin:3px 0 0; color:var(--muted); font-size:12px; line-height:1.75; overflow-wrap:anywhere; }
@media (max-width:359px) { .pb-lift-card { padding:12px; } .pb-lift-toggle { flex-wrap:wrap; } .pb-lift-toggle > b { margin-left:38px; } }

@media(max-width:359px) {
 .pb-lift-toggle { display:grid; grid-template-columns:28px minmax(0,1fr); gap:8px 10px; }
 .pb-lift-toggle > .pb-lift-check { grid-row:1/span 2; align-self:start; margin-top:3px; }
 .pb-lift-toggle > span:nth-child(2),.pb-lift-toggle > b { grid-column:2; }
 .pb-lift-toggle > b { justify-self:end; margin-left:0; }
}
.pb-lift-passes > h4 { word-break:keep-all; }

.ld-capacity-note { margin:12px 0 0; color:var(--muted); font-size:12px; line-height:1.7; }

/* Parent grids own section spacing; long cost names must not cover amounts. */
.ld-detail > .ls-shop,.ls-enrollment > .ls-shop { margin:0; }
.pb-costs dt { min-width:0; overflow-wrap:anywhere; }
.pb-extra > button > span { min-width:0; overflow-wrap:anywhere; }
.pb-extra > button > b { flex:0 0 auto; }

/* Multiple lesson dates remain visible before one shared time is applied. */
.pb-schedule-modes { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:4px; margin:14px 0; padding:4px; border:1px solid var(--line); border-radius:13px; background:var(--surface); }
.pb-schedule-modes > button { min-width:0; min-height:44px; padding:9px 6px; border:0; border-radius:9px; background:transparent; color:var(--muted); font:inherit; font-size:13px; word-break:keep-all; }
.pb-schedule-modes > button[aria-pressed=true] { background:var(--action-bg); color:#fff; font-weight:650; }
.pb-batch-picker { display:grid; gap:12px; min-width:0; }
.pb-batch-picker .pb-date-heading,.pb-batch-picker .pb-times { margin:0; }
.pb-batch-step { display:flex; justify-content:space-between; align-items:center; gap:8px; font-size:13px; line-height:1.6; }
.pb-batch-count { flex:none; color:var(--accent); font-size:12px; }
.pb-batch-hint,.pb-batch-empty,.pb-single-note { margin:0; color:var(--muted); font-size:12px; line-height:1.75; word-break:keep-all; }
.pb-batch-picker .pb-batch-days { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; padding:0; margin:0; overflow:visible; }
.pb-batch-days > button { width:100%; min-width:0; min-height:54px; padding:7px 3px; }
.pb-batch-days > button span { white-space:nowrap; }
.pb-batch-days > button small { line-height:1.45; }
.pb-batch-picker .pb-all-dates { padding:0; border:1px solid var(--line); border-radius:12px; background:var(--surface); }
.pb-batch-picker .pb-all-dates > summary { display:flex; align-items:center; min-height:44px; padding:10px 12px; font-size:12px; cursor:pointer; }
.pb-batch-picker .pb-all-dates > .pb-batch-days { padding:0 10px 10px; }
.pb-batch-selected { display:grid; gap:8px; padding:12px; border-radius:12px; background:color-mix(in srgb,var(--accent) 6%,var(--surface)); font-size:12px; }
.pb-batch-selected > strong { font-size:12px; line-height:1.6; }
.pb-batch-selected > div { display:flex; flex-wrap:wrap; gap:6px; }
.pb-batch-selected button { display:flex; align-items:center; gap:6px; min-height:44px; padding:7px 10px; border:1px solid var(--line); border-radius:10px; background:var(--surface); color:var(--text); font:inherit; font-size:12px; }
.pb-batch-selected button small { color:var(--muted); font-size:10px; }
.pb-batch-empty { padding:12px; border:1px dashed var(--line); border-radius:12px; background:var(--surface); }
.pb-batch-empty > p,.pb-single-note > p { margin:0; }
.pb-batch-empty > button,.pb-single-note > button { min-height:44px; margin-top:6px; padding:8px 0; border:0; background:transparent; color:var(--accent); font:inherit; font-size:12px; text-align:left; }
.pb-single-note { margin:12px 0; }
@media(max-width:359px) { .pb-batch-picker .pb-batch-days { grid-template-columns:repeat(3,minmax(0,1fr)); } .pb-batch-selected button { flex:1 0 auto; justify-content:space-between; } }
.pb-pending-dates { display:grid; gap:8px; margin:12px 0; padding:12px; border-radius:12px; background:color-mix(in srgb,var(--accent) 6%,var(--surface)); font-size:12px; }
.pb-pending-dates > strong { font-size:12px; line-height:1.6; }
.pb-pending-dates > p { margin:0; color:var(--muted); font-size:12px; line-height:1.7; }
.pb-pending-date-list { display:flex; flex-wrap:wrap; gap:7px; }
.pb-pending-date { display:flex; border:1px solid var(--line); border-radius:10px; overflow:hidden; background:var(--surface); }
.pb-pending-date > button { min-height:44px; padding:8px 10px; border:0; background:transparent; color:var(--text); font:inherit; font-size:12px; }
.pb-pending-date > button[aria-pressed=true] { background:color-mix(in srgb,var(--accent) 9%,var(--surface)); color:var(--accent); }
.pb-pending-date > button[data-product-batch-date] { min-width:40px; border-left:1px solid var(--line); }

.pb-appointments:has(.pb-batch-picker) { margin-block:16px; }
.pb-appointments:has(.pb-batch-picker) .pb-progress { margin-block:8px; }
.pb-appointments:has(.pb-batch-picker) .pb-schedule-modes { margin-block:10px; }
.pb-batch-picker { gap:10px; }
.pb-batch-picker .pb-schedule-policy { margin:0; font-size:11px; line-height:1.6; color:var(--muted); }

/* One preparation group owns priced extras, equipment requests and shop details. */
.pb-preparation { display:grid; gap:16px; min-width:0; margin:20px 0; padding:16px; border:1px solid var(--line); border-radius:16px; background:var(--surface); }
.pb-preparation-heading { display:grid; gap:6px; }
.pb-preparation-heading h4 { margin:0; font-size:15px; line-height:1.6; }
.pb-preparation-heading p,.pb-preparation .ls-gear-note { margin:0; color:var(--muted); font-size:12px; line-height:1.75; word-break:keep-all; }
.pb-preparation .pb-lift-passes { display:grid; gap:0; margin:0; }
.pb-preparation .pb-lift-card { margin:0; padding:14px 0; border:0; border-top:1px solid var(--line); border-radius:0; background:transparent; }
.pb-preparation .pb-lift-card:first-of-type { padding-top:0; border-top:0; }
.pb-preparation .pb-lift-help { display:block; margin-top:2px; }
.pb-preparation .pb-extra { gap:10px; margin:0; padding-top:16px; border-top:1px solid var(--line); }
.pb-preparation .pb-extra legend { margin-bottom:8px; font-size:13px; }
.pb-preparation .ls-gear-requests { display:grid; gap:12px; min-width:0; margin:0; padding-top:16px; border-top:1px solid var(--line); }
.pb-preparation > .ls-gear-requests:first-child { padding-top:0; border-top:0; }
.pb-preparation .ls-gear-head { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.pb-preparation .ls-gear-head h4 { margin:0; font-size:14px; line-height:1.6; }
.pb-preparation .ls-gear-head > span { flex:none; padding:3px 7px; border-radius:6px; background:color-mix(in srgb,var(--accent) 8%,var(--surface)); color:var(--accent); font-size:10px; line-height:1.6; }
.pb-preparation .ls-gear-person { display:grid; gap:8px; min-width:0; }
.pb-preparation .ls-gear-person + .ls-gear-person { padding-top:12px; border-top:1px solid var(--line); }
.pb-preparation .ls-gear-person h4 { margin:0; font-size:12px; line-height:1.6; }
.pb-preparation .ls-gear-person .ls-choices { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; }
.pb-preparation .ls-gear-person .ls-choices > button { min-width:0; min-height:44px; padding:9px 6px; font-size:12px; word-break:keep-all; }
.pb-preparation > .ls-shop { margin:0; padding:16px 0 0; border:0; border-top:1px solid var(--line); border-radius:0; background:transparent; }
.pb-preparation > .ls-shop h4 { font-size:14px; }
@media(max-width:599px) { .pb-preparation .ls-gear-person .ls-choices { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:359px) { .pb-preparation { padding:12px; gap:14px; } .pb-preparation .ls-gear-head { align-items:flex-start; } }

.pb-preparation-included { display:grid; gap:8px; padding-top:14px; border-top:1px solid var(--line); font-size:12px; }
.pb-preparation-included > strong { color:var(--accent); font-size:12px; }
.pb-preparation-included ul { display:grid; gap:8px; padding:0; margin:0; list-style:none; }
.pb-preparation-included li { display:flex; flex-wrap:wrap; gap:4px 8px; line-height:1.7; }
.pb-preparation-included small { color:var(--muted); font-size:11px; }

.pb-preparation-included li > span { min-width:0; overflow-wrap:anywhere; }

.pb-preparation .pb-lift-toggle { display:grid; grid-template-columns:28px minmax(0,1fr) auto; gap:8px; }
.pb-preparation .pb-lift-toggle > .pb-lift-check { grid-column:1; grid-row:1; align-self:center; margin:0; }
.pb-preparation .pb-lift-toggle > span:nth-child(2) { grid-column:2; grid-row:1; }
.pb-preparation .pb-lift-toggle > b { grid-column:3; grid-row:1; margin:0; align-self:center; }
.pb-preparation .ls-gear-head { order:0; }
.pb-preparation .ls-gear-person { order:1; }
.pb-preparation .ls-gear-requests > .ls-gear-note { order:2; }
.pb-preparation-help { margin:0; color:var(--muted); font-size:11px; line-height:1.7; }
@media(max-width:359px) { .pb-preparation .pb-lift-toggle > b { font-size:13px; } }
.pb-preparation .pb-lift-card:last-of-type { padding-bottom:0; }

/* The full date picker stays in the booking sheet instead of opening an OS list. */
.pb-calendar.pb-all-dates { min-width:0; margin:0 0 12px; padding:0; border:1px solid var(--line); border-radius:12px; background:var(--surface); }
.pb-calendar.pb-all-dates > .pb-calendar-toggle { display:grid; grid-template-columns:20px minmax(0,1fr) 16px; align-items:center; gap:10px; width:100%; min-height:48px; padding:12px; border-radius:12px; color:var(--text); font-size:14px; font-weight:600; line-height:1.6; list-style:none; cursor:pointer; }
.pb-calendar-toggle::-webkit-details-marker { display:none; }
.pb-calendar-toggle > span { min-width:0; word-break:keep-all; overflow-wrap:anywhere; }
.pb-calendar-toggle > svg,.pb-calendar-nav svg { display:block; flex:none; width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; pointer-events:none; }
.pb-calendar-toggle > svg:last-child { width:16px; height:16px; color:var(--muted); transform:rotate(90deg); transition:transform 160ms ease; }
.pb-calendar[open] > .pb-calendar-toggle { border-bottom:1px solid var(--line); border-bottom-left-radius:0; border-bottom-right-radius:0; }
.pb-calendar[open] > .pb-calendar-toggle > svg:last-child { transform:rotate(-90deg); }
.pb-calendar > .pb-calendar-body { min-width:0; padding:12px; }
.pb-calendar-nav { display:grid; grid-template-columns:44px minmax(0,1fr) 44px; align-items:center; gap:8px; margin-bottom:8px; }
.pb-calendar-nav > strong { min-width:0; color:var(--text); font-size:16px; line-height:1.5; text-align:center; font-variant-numeric:tabular-nums; }
.pb-calendar-nav > button { display:grid; place-items:center; width:44px; height:44px; min-width:44px; padding:0; border:1px solid var(--line); border-radius:10px; background:var(--bg); color:var(--text); font:inherit; font-size:23px; cursor:pointer; }
.pb-calendar-nav > button:first-child svg { transform:rotate(180deg); }
.pb-calendar-nav > button:disabled { opacity:.35; cursor:default; }
.pb-calendar-table { width:100%; table-layout:fixed; border-collapse:separate; border-spacing:2px; color:var(--text); }
.pb-calendar-table th { height:26px; padding:0 0 4px; color:var(--muted); font-size:11px; font-weight:400; line-height:20px; text-align:center; }
.pb-calendar-table td { height:48px; padding:0; vertical-align:middle; }
.pb-calendar-table button[data-product-calendar-day] { display:grid; grid-template-columns:minmax(0,1fr); grid-template-rows:18px 12px; align-content:center; justify-items:center; gap:0; width:100%; min-width:0; min-height:48px; height:48px; margin:0; padding:2px 0; border:1px solid transparent; border-radius:9px; background:color-mix(in srgb,var(--accent) 8%,var(--bg)); color:var(--text); font:inherit; font-size:14px; line-height:18px; font-variant-numeric:tabular-nums; cursor:pointer; }
.pb-calendar-table button[data-product-calendar-day] > span { grid-row:1; }
.pb-calendar-table button[data-product-calendar-day] > small { grid-row:2; max-width:100%; color:var(--accent); font-size:10px; line-height:12px; white-space:nowrap; }
.pb-calendar-table button[data-product-calendar-day]:disabled { background:transparent; color:var(--muted); opacity:.45; cursor:default; }
.pb-calendar-table button[data-product-calendar-day][aria-pressed="true"] { border-color:var(--accent); background:color-mix(in srgb,var(--accent) 15%,var(--bg)); }
.pb-calendar-table button[data-product-calendar-day][data-booked="true"] { border-color:var(--action-bg); background:var(--action-bg); color:var(--accent-text,#fff); }
.pb-calendar-table button[data-product-calendar-day][data-booked="true"] > small { color:inherit; }
.pb-calendar-toggle:focus-visible,.pb-calendar-nav > button:focus-visible,.pb-calendar-table button[data-product-calendar-day]:focus-visible { outline:2px solid var(--text); outline-offset:-3px; }
.pb-calendar-legend { margin:10px 0 0; color:var(--muted); font-size:11px; line-height:1.75; word-break:keep-all; overflow-wrap:anywhere; }
.pb-time-heading { display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:4px 10px; min-width:0; margin:14px 0 10px; }
.pb-time-heading > strong { min-width:0; font-size:14px; line-height:1.7; }
.pb-time-heading > small { color:var(--muted); font-size:12px; line-height:1.7; }
@media(hover:hover) { .pb-calendar-nav > button:not(:disabled):hover { background:var(--surface-hover); } .pb-calendar-table button[data-product-calendar-day]:not(:disabled):not([data-booked="true"]):hover { border-color:var(--accent); } }
@media(max-width:359px) { .pb-calendar > .pb-calendar-body { padding:10px 8px; } .pb-calendar-nav { gap:4px; } .pb-calendar-nav > strong { font-size:15px; } .pb-calendar-table td,.pb-calendar-table button[data-product-calendar-day] { height:44px; min-height:44px; } }
@media(prefers-reduced-motion:reduce) { .pb-calendar-toggle > svg:last-child { transition:none; } }

/* Repeat a single lesson without confusing its day count with a package. */
.pb-lesson-days { display:grid; gap:12px; min-width:0; margin:16px 0; padding:14px; border:1px solid var(--line); border-radius:14px; background:var(--surface); }
.pb-lesson-days-head { display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:4px 8px; min-width:0; }
.pb-lesson-days-head > strong { min-width:0; font-size:14px; line-height:1.7; }
.pb-lesson-days-head > small { color:var(--muted); font-size:11px; line-height:1.7; }
.pb-lesson-day-buttons { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); align-items:start; gap:8px; min-width:0; }
.pb-lesson-day-buttons > button,.pb-lesson-day-more-grid > button { position:relative; display:flex; align-items:center; justify-content:center; gap:4px; width:100%; min-width:0; min-height:48px; margin:0; padding:10px 5px; border:1px solid var(--line); border-radius:10px; background:var(--bg); color:var(--text); font:inherit; font-size:13px; line-height:1.5; white-space:nowrap; cursor:pointer; }
.pb-lesson-day-buttons > button[data-product-lesson-more] { padding-inline:3px; font-size:12px; letter-spacing:-.3px; }
.pb-lesson-day-buttons > button[aria-pressed="true"],.pb-lesson-day-more-grid > button[aria-pressed="true"] { border-color:var(--accent); background:color-mix(in srgb,var(--accent) 10%,var(--surface)); font-weight:650; }
.pb-lesson-day-buttons > button[aria-pressed="true"]::after,.pb-lesson-day-more-grid > button[aria-pressed="true"]::after { content:"✓"; flex:none; color:var(--accent); font-size:11px; font-weight:650; }
.pb-lesson-day-buttons > button[data-product-lesson-more][aria-expanded="true"] { border-color:var(--accent); }
.pb-lesson-day-more-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; min-width:0; padding-top:12px; border-top:1px solid var(--line); }
.pb-lesson-day-more-grid[hidden] { display:none; }
.pb-lesson-days-price { display:grid; gap:4px; min-width:0; margin:0; }
.pb-lesson-days-price p { display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:4px 10px; min-width:0; margin:0; font-size:12px; line-height:1.75; }
.pb-lesson-days-price span { min-width:0; color:var(--muted); overflow-wrap:anywhere; }
.pb-lesson-days-price strong { min-width:0; margin-left:auto; color:var(--text); font-size:14px; font-weight:650; line-height:1.75; text-align:right; overflow-wrap:anywhere; }
.pb-package-suggestion { display:grid; gap:8px; min-width:0; margin:0; padding:12px; border:1px solid var(--accent); border-radius:12px; background:color-mix(in srgb,var(--accent) 6%,var(--surface)); }
.pb-package-suggestion p { min-width:0; margin:0; color:var(--text); font-size:12px; line-height:1.75; word-break:keep-all; overflow-wrap:anywhere; }
.pb-package-suggestion p strong { font-weight:650; }
.pb-package-suggestion > button { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:4px 8px; width:100%; min-width:0; min-height:44px; margin:0; padding:10px 12px; border:1px solid var(--accent); border-radius:10px; background:var(--surface); color:var(--accent); font:inherit; font-size:13px; font-weight:650; line-height:1.65; text-align:center; word-break:keep-all; overflow-wrap:anywhere; cursor:pointer; }
.pb-package-suggestion > button > span { min-width:0; }
.pb-lesson-day-buttons > button:disabled,.pb-lesson-day-more-grid > button:disabled,.pb-package-suggestion > button:disabled { color:var(--muted); border-color:var(--line); background:var(--bg); cursor:default; }
.pb-lesson-day-buttons > button:focus-visible,.pb-lesson-day-more-grid > button:focus-visible,.pb-package-suggestion > button:focus-visible { outline:2px solid var(--text); outline-offset:2px; }
@media(hover:hover) { .pb-lesson-day-buttons > button:not(:disabled):hover,.pb-lesson-day-more-grid > button:not(:disabled):hover,.pb-package-suggestion > button:not(:disabled):hover { border-color:var(--accent); background:color-mix(in srgb,var(--accent) 8%,var(--surface)); } }
@media(max-width:599px) { .pb-lesson-day-buttons > button,.pb-lesson-day-more-grid > button { min-height:44px; } }
@media(max-width:359px) { .pb-lesson-day-buttons,.pb-lesson-day-more-grid { gap:6px; } .pb-package-suggestion { padding:10px; } }

/* Keep adding single-lesson days beside the selected schedule. */
.pb-add-day { margin:12px 0; }
.pb-add-day > button { display:flex; align-items:center; justify-content:center; width:100%; min-height:48px; padding:12px; border:1px solid var(--accent); border-radius:12px; background:color-mix(in srgb,var(--accent) 8%,var(--surface)); color:var(--text); font:inherit; font-size:14px; font-weight:650; cursor:pointer; }
.pb-add-day > button:focus-visible { outline:2px solid var(--text); outline-offset:2px; }
.pb-add-day > p { color:var(--muted); font-size:12px; line-height:1.7; }
