/* schedule-ink.css: the class-dates widget in the Ink palette (handover items S1–S14).
   Link it as the FIRST stylesheet in every frame's <head> (handover step 1): the site's !important rules sit in
   cascade layers, and only a layer declared before theirs can beat them. Keep every rule in the layer and every !important. */
@layer schedule-ink {

:root {
  --sc-surface: #FFFFFF; --sc-soft: #E4F7F8; --sc-softLine: #C7D0DC;
  --sc-ink: #12283A; --sc-text: #3D4856; --sc-muted: #566172;
  --sc-line: #C7D0DC; --sc-siteLine: #C7D0DC; --sc-control: #7C8896;
  --sc-accent: #0D6E73; --sc-accentHover: #0A5A5E;
  --sc-action: #C8202E; --sc-actionHover: #A81B27;
  --sc-blush: #E1E7EF; --sc-disabledBg: #EEE9EA;
  --sc-sans: 'Open Sans', sans-serif; --sc-serif: 'Work Sans', sans-serif;
}

/* S1 · Frame fills the panel */
html body .container { max-width: none !important; margin: 0 !important; padding: 24px !important; display: flex !important; flex-direction: column !important; gap: 12px !important; }

/* S2 · Filter bar */
html body .filter-bar { background: var(--sc-surface) !important; border: 1px solid var(--sc-siteLine) !important; border-radius: 12px !important; padding: 12px 16px !important; box-shadow: none !important; flex-wrap: wrap !important; align-items: center !important; gap: 12px 20px !important; }
html body .filter-pills { flex-wrap: wrap !important; align-items: center !important; gap: 8px !important; }
html body :is(.fpill, .panel-tab, .filters-toggle) { font: 500 16px/1 var(--sc-sans) !important; color: var(--sc-text) !important; background: var(--sc-surface) !important; border: 1px solid var(--sc-control) !important; border-radius: 8px !important; min-height: 44px !important; padding: 0 16px !important; box-shadow: none !important; }
html body :is(.fpill.on, .panel-tab.is-active) { background: var(--sc-ink) !important; border-color: var(--sc-ink) !important; color: var(--sc-surface) !important; }
html body :is(.fpill:not(.on), .panel-tab:not(.is-active, .is-disabled), .filters-toggle):hover { background: var(--sc-blush) !important; border-color: var(--sc-ink) !important; color: var(--sc-ink) !important; }
html body .fdrop { min-height: 44px !important; padding: 0 12px !important; gap: 8px !important; background: transparent !important; border: 0 !important; }
html body .fdrop select { font: 500 16px/1 var(--sc-sans) !important; color: var(--sc-text) !important; background: var(--sc-surface) !important; border: 1px solid var(--sc-control) !important; border-radius: 8px !important; padding: 0 34px !important; height: 100% !important; box-shadow: none !important; }
html body .fdrop:hover select { background: var(--sc-blush) !important; border-color: var(--sc-ink) !important; }
html body .fdrop-icon { width: 18px !important; height: 18px !important; }
html body .fdrop-chev { width: 16px !important; height: 16px !important; }
html body .fclear { font: 500 16px/1 var(--sc-sans) !important; color: var(--sc-accent) !important; background: transparent !important; border: 0 !important; margin-left: auto !important; gap: 6px !important; min-height: 44px !important; padding: 0 !important; box-shadow: none !important; }
html body .fclear svg { width: 16px !important; height: 16px !important; }
html body .fclear:hover { color: var(--sc-accentHover) !important; }

/* S3 · Sale timer */
html body .sale-timer { background: var(--sc-surface) !important; border: 1px solid var(--sc-line) !important; border-radius: 6px !important; padding: 4px 10px !important; align-items: center !important; gap: 6px !important; box-shadow: none !important; color: var(--sc-action) !important; }
html body .sale-timer svg { width: 16px !important; height: 16px !important; color: var(--sc-action) !important; }
html body .sale-timer-label { font: 500 15px/1.4 var(--sc-sans) !important; color: var(--sc-ink) !important; }
html body .sale-timer-clock { font: 500 15px/1.4 var(--sc-sans) !important; color: var(--sc-action) !important; background: transparent !important; font-variant-numeric: tabular-nums !important; }

/* S4 · Date card */
html body .cards { gap: 12px !important; }
html body .card { background: var(--sc-surface) !important; border: 1px solid var(--sc-control) !important; border-radius: 12px !important; overflow: hidden !important; box-shadow: none !important; }
html body .card::before { content: none !important; }
html body .card:has(.cal-panel.open) { border: 2px solid var(--sc-accent) !important; }
html body .card-main { display: grid !important; grid-template-columns: 184px minmax(0, 1fr) 216px !important; }

/* S5 · Date column */
html body .date-blk { background: var(--sc-soft) !important; border: 0 !important; border-radius: 0 !important; padding: 22px 16px 18px !important; justify-content: space-between !important; align-items: center !important; text-align: center !important; box-shadow: none !important; min-width: 0 !important; }
html body .date-stack { gap: 2px !important; padding-top: 18px !important; }
html body .date-line { font: 400 22px/1.2 var(--sc-serif) !important; color: var(--sc-ink) !important; }
html body .date-to { font: 400 15px/1.5 var(--sc-sans) !important; color: var(--sc-text) !important; }
html body .sessions-pill { background: transparent !important; border: 0 !important; font: 400 15px/1.5 var(--sc-sans) !important; color: var(--sc-text) !important; min-height: 44px !important; padding: 0 8px !important; gap: 4px !important; box-shadow: none !important; }
html body .sessions-pill.is-disabled { color: var(--sc-muted) !important; }
html body :is(.chev, .chev svg) { width: 16px !important; height: 16px !important; }
html body .btn-learn :is(.chev, .chev svg) { width: 18px !important; height: 18px !important; }

/* S6 · Class details */
html body .info-blk { padding: 18px 24px !important; display: flex !important; flex-direction: column !important; gap: 12px !important; border-right: 0 !important; }
html body .info-row1 { gap: 8px 12px !important; }
html body .time-big { font: 500 17px/1.45 var(--sc-sans) !important; color: var(--sc-ink) !important; }
html body .tz-tag { background: var(--sc-soft) !important; color: var(--sc-accent) !important; font: 500 15px/1.4 var(--sc-sans) !important; border: 0 !important; border-radius: 6px !important; padding: 1px 10px !important; }
html body .info-row2 { gap: 6px 18px !important; }
html body .meta { font: 400 16px/1.55 var(--sc-sans) !important; color: var(--sc-muted) !important; gap: 6px !important; }
html body .meta svg { width: 16px !important; height: 16px !important; }
html body .info-row3 { border-top: 1px solid var(--sc-line) !important; padding-top: 12px !important; gap: 12px 14px !important; align-items: center !important; }
html body .inst-wrap { flex: 1 0 100% !important; gap: 14px !important; align-items: center !important; }
html body .inst-av-wrap { width: 52px !important; height: 52px !important; border-radius: 50% !important; border: 1px solid var(--sc-line) !important; overflow: hidden !important; box-shadow: none !important; }
html body .inst-av { width: 100% !important; height: 100% !important; object-fit: cover !important; }
/* Initials shown when a trainer has no photo (.photo-initials), here and in S12 */
html body .photo-initials { display: flex !important; align-items: center !important; justify-content: center !important; border-radius: 50% !important; background: var(--sc-line) !important; color: var(--sc-text) !important; border: 0 !important; box-shadow: none !important; font: 500 15px/1 var(--sc-sans) !important; }
html body .inst-label:first-child { font: 400 15px/1.5 var(--sc-sans) !important; color: var(--sc-muted) !important; }
html body .inst-name { font: 500 17px/1.45 var(--sc-sans) !important; color: var(--sc-ink) !important; }
html body .inst-name + .inst-label { font: 400 16px/1.55 var(--sc-sans) !important; color: var(--sc-text) !important; }

/* S7 · Learn More. Colours, hover and shine come from interactive-buttons.css (accent → accentHover). */
html body .btn-learn { font: 500 17px/1 var(--sc-sans) !important; border-radius: 8px !important; min-height: 44px !important; padding: 0 18px !important; gap: 8px !important; align-self: center !important; margin: 0 !important; }
html body .learn-hint { display: inline-flex !important; flex-wrap: wrap !important; align-items: center !important; gap: 4px 14px !important; font: 400 15px/1.5 var(--sc-sans) !important; color: var(--sc-muted) !important; }
html body .learn-hint > span { display: inline-flex !important; align-items: center !important; gap: 6px !important; }
html body .learn-hint svg { width: 16px !important; height: 16px !important; color: var(--sc-accent) !important; }

/* S8 · Price column. Register colours, hover and shine come from interactive-buttons.css (action → actionHover). */
html body .cta-blk { background: var(--sc-surface) !important; border: 0 !important; border-left: 1px solid var(--sc-line) !important; padding: 18px 20px !important; display: flex !important; flex-direction: column !important; align-items: flex-end !important; justify-content: space-between !important; gap: 12px !important; text-align: right !important; min-width: 0 !important; }
html body .cta-blk:not(:has(.seats-badge))::before { content: '' !important; display: block !important; min-height: 23px !important; }
html body .seats-badge { font: 500 15px/1.5 var(--sc-sans) !important; letter-spacing: 0.04em !important; color: var(--sc-action) !important; background: transparent !important; border: 0 !important; padding: 0 !important; min-height: 23px !important; }
html body .sdot { display: none !important; }
html body .price-area { display: flex !important; flex-direction: column !important; align-items: flex-end !important; gap: 4px !important; }
html body .price-was-row { display: flex !important; align-items: center !important; gap: 8px !important; }
html body .price-was { font: 400 15px/1.5 var(--sc-sans) !important; color: var(--sc-muted) !important; text-decoration: line-through !important; }
html body .price-off { background: var(--sc-soft) !important; color: var(--sc-accent) !important; font: 500 15px/1.4 var(--sc-sans) !important; border: 0 !important; border-radius: 6px !important; padding: 1px 8px !important; }
html body .price-now { font: 400 30px/1.15 var(--sc-serif) !important; color: var(--sc-ink) !important; display: flex !important; align-items: baseline !important; gap: 6px !important; }
html body .price-curr { font: 400 15px/1.5 var(--sc-sans) !important; color: var(--sc-muted) !important; }
html body .btn-reg { font: 500 17px/1 var(--sc-sans) !important; border-radius: 8px !important; min-height: 48px !important; width: 100% !important; }
html body .btn-reg.is-disabled { background: var(--sc-disabledBg) !important; border-color: var(--sc-disabledBg) !important; color: var(--sc-muted) !important; }

/* S9 · View More: outline button, no shine */
html body .view-more { margin-top: 12px !important; justify-content: center !important; }
html body .view-more > button { background: var(--sc-surface) !important; border: 1px solid var(--sc-text) !important; color: var(--sc-ink) !important; font: 500 17px/1 var(--sc-sans) !important; border-radius: 8px !important; min-height: 48px !important; padding: 0 24px !important; gap: 8px !important; }
html body .view-more > button::before { content: none !important; }
html body .view-more > button:hover { background: var(--sc-blush) !important; border-color: var(--sc-ink) !important; }
html body .view-more > button svg { width: 16px !important; height: 16px !important; }

/* S10 · Details panel and tabs */
html body .cal-panel.open { background: var(--sc-surface) !important; border-top: 1px solid var(--sc-line) !important; padding: 20px 24px 24px !important; display: flex !important; flex-direction: column !important; gap: 18px !important; }
html body .panel-tabs { flex-wrap: wrap !important; gap: 8px !important; border: 0 !important; padding: 0 !important; margin: 0 !important; }
html body .panel-tab.is-disabled { background: var(--sc-disabledBg) !important; border-color: var(--sc-disabledBg) !important; color: var(--sc-muted) !important; }

/* S11 · Calendar tab */
html body .cal-inner { display: flex !important; flex-wrap: wrap !important; justify-content: space-between !important; align-items: flex-start !important; gap: 16px 20px !important; }
html body .cal-inner > div:first-child { flex: 0 1 360px !important; min-width: 0 !important; }
html body .cal-months { display: flex !important; flex-direction: column !important; gap: 12px !important; }
html body .month-mini { background: var(--sc-surface) !important; border: 1px solid var(--sc-line) !important; border-radius: 12px !important; padding: 16px 18px !important; box-shadow: none !important; width: auto !important; max-width: 360px !important; }
html body .month-mini.empty { display: none !important; }
html body .cal-title { font: 400 20px/1.25 var(--sc-serif) !important; color: var(--sc-ink) !important; margin: 0 0 10px !important; text-align: left !important; }
html body .cal-grid { gap: 4px !important; }
html body .cal-dh { font: 500 15px/1.4 var(--sc-sans) !important; color: var(--sc-muted) !important; text-transform: none !important; letter-spacing: 0 !important; }
html body .cal-cell { height: 36px !important; border-radius: 6px !important; font: 400 15px/1.5 var(--sc-sans) !important; color: var(--sc-ink) !important; background: var(--sc-surface) !important; border: 1px solid transparent !important; outline: 0 !important; box-shadow: none !important; display: flex !important; align-items: center !important; justify-content: center !important; }
html body .cal-cell:not(.cur, .session) { color: var(--sc-muted) !important; }
html body .cal-cell.session { background: var(--sc-soft) !important; border-color: var(--sc-soft) !important; color: var(--sc-accent) !important; font-weight: 500 !important; }
html body .cal-cell.today { border-color: var(--sc-control) !important; }
html body .cal-legend { display: flex !important; flex-wrap: wrap !important; gap: 6px 16px !important; margin-top: 12px !important; font: 400 15px/1.5 var(--sc-sans) !important; color: var(--sc-muted) !important; }
html body .cal-legend > span { display: inline-flex !important; align-items: center !important; gap: 6px !important; }
html body .cal-key { display: inline-block !important; width: 14px !important; height: 14px !important; box-sizing: border-box !important; border-radius: 4px !important; }
html body .cal-key.is-class { background: var(--sc-soft) !important; }
html body .cal-key.is-today { border: 1px solid var(--sc-control) !important; }
html body .cal-summary { flex: 0 1 340px !important; background: var(--sc-soft) !important; border: 0 !important; border-radius: 12px !important; padding: 20px 22px !important; box-shadow: none !important; width: auto !important; }
html body .sum-title { font: 500 15px/1.4 var(--sc-sans) !important; letter-spacing: 0.06em !important; text-transform: uppercase !important; color: var(--sc-accent) !important; margin: 0 0 6px !important; padding: 0 !important; border: 0 !important; }
html body .sum-row { font: 400 16px/1.55 var(--sc-sans) !important; padding: 10px 0 !important; border: 0 !important; border-top: 1px solid var(--sc-softLine) !important; display: flex !important; justify-content: space-between !important; align-items: flex-start !important; gap: 16px !important; }
html body .sum-label { color: var(--sc-text) !important; }
html body .sum-val { color: var(--sc-ink) !important; text-align: right !important; }
html body .sum-tz { font: 400 15px/1.5 var(--sc-sans) !important; color: var(--sc-text) !important; }

/* S12 · Trainer profile tab */
html body .trainer-profile { display: flex !important; flex-wrap: wrap !important; align-items: stretch !important; gap: 16px !important; }
html body .trainer-card { background: var(--sc-surface) !important; border: 1px solid var(--sc-line) !important; border-radius: 12px !important; box-shadow: none !important; }
html body .trainer-card.media { flex: 1 1 200px !important; max-width: 240px !important; padding: 24px 18px !important; display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important; gap: 6px !important; text-align: center !important; }
html body .trainer-card.media .sb-portrait-frame { width: 96px !important; height: 96px !important; border-radius: 50% !important; border: 1px solid var(--sc-line) !important; overflow: hidden !important; margin-bottom: 6px !important; box-shadow: none !important; }
html body .trainer-photo { width: 100% !important; height: 100% !important; object-fit: cover !important; }
html body .trainer-card.media .trainer-photo.photo-initials { flex: 0 0 auto !important; width: 96px !important; height: 96px !important; margin-bottom: 6px !important; font-size: 18px !important; }
html body .trainer-name-lg { font: 400 20px/1.25 var(--sc-serif) !important; color: var(--sc-ink) !important; }
html body .trainer-title-lg { font: 400 16px/1.55 var(--sc-sans) !important; color: var(--sc-muted) !important; }
html body .trainer-card:not(.media) { flex: 999 1 320px !important; padding: 20px 22px !important; display: flex !important; flex-direction: column !important; gap: 10px !important; }
html body .trainer-row { border: 0 !important; padding: 0 !important; display: flex !important; flex-direction: column !important; gap: 10px !important; }
html body .trainer-row + .trainer-row { margin-top: 8px !important; }
html body .trainer-row-label { font: 500 15px/1.4 var(--sc-sans) !important; letter-spacing: 0.06em !important; text-transform: uppercase !important; color: var(--sc-accent) !important; background: transparent !important; padding: 0 !important; }
html body .trainer-bio { font: 400 16px/1.6 var(--sc-sans) !important; color: var(--sc-text) !important; margin: 0 !important; }
html body .client-logos { display: flex !important; flex-wrap: wrap !important; gap: 8px !important; background: transparent !important; border: 0 !important; }
html body .client-tile { width: 92px !important; height: 56px !important; box-sizing: border-box !important; background: var(--sc-surface) !important; border: 1px solid var(--sc-line) !important; border-radius: 8px !important; box-shadow: none !important; }

/* S13 · Testimonials tab. The widget sets .testi-track's height from the visible review: never set a height
   or align-items: stretch on .testi-track (the two fight and the card grows without end). */
html body .quote-card { background: var(--sc-surface) !important; border: 1px solid var(--sc-line) !important; border-radius: 12px !important; padding: 20px 22px !important; box-shadow: none !important; display: flex !important; flex-direction: column !important; gap: 10px !important; }
html body .quote-stars { font-size: 20px !important; letter-spacing: 0.08em !important; color: var(--sc-ink) !important; }
html body .quote-card p { font: 400 17px/1.6 var(--sc-sans) !important; color: var(--sc-text) !important; margin: 0 !important; }
html body .quote-card strong { font: 500 16px/1.55 var(--sc-sans) !important; color: var(--sc-ink) !important; padding-right: 112px !important; }
html body .quote-sub { font: 400 15px/1.5 var(--sc-sans) !important; color: var(--sc-muted) !important; margin-top: -10px !important; padding-right: 112px !important; }
html body .testi-arrow { width: 44px !important; height: 44px !important; background: var(--sc-surface) !important; border: 1px solid var(--sc-control) !important; border-radius: 8px !important; color: var(--sc-ink) !important; box-shadow: none !important; opacity: 1 !important; position: absolute !important; top: auto !important; left: auto !important; bottom: 20px !important; transform: none !important; }
html body .testi-arrow:first-child { right: 74px !important; }
html body .testi-arrow:last-child { right: 22px !important; }
html body .testi-arrow:hover { background: var(--sc-blush) !important; border-color: var(--sc-ink) !important; }
html body .testi-arrow svg { width: 18px !important; height: 18px !important; }

/* Trainer photos (Sean, November 11, 2026: "cropped and stretched"). The handover images used initials circles,
   so real photos were never checked. card-schedule.css keeps flex: 0 0 64px on .inst-av-wrap, which turned the
   52px circle into a 64 x 52 oval, and the site portrait system (instructor-portraits.css) still offsets, zooms and
   masks the photo for large frames. Here both boxes are true circles and the square photo fills them plainly. */
html body .inst-av-wrap { flex: 0 0 52px !important; min-width: 0 !important; aspect-ratio: 1 / 1 !important; padding: 0 !important; background: var(--sc-surface) !important; }
html body .trainer-card.media .sb-portrait-frame { flex: 0 0 96px !important; height: 96px !important; min-height: 0 !important; aspect-ratio: 1 / 1 !important; padding: 0 !important; position: relative !important; background: var(--sc-surface) !important; }
html body :is(.inst-av-wrap, .trainer-card.media .sb-portrait-frame) > img { position: static !important; inset: auto !important; display: block !important; width: 100% !important; height: 100% !important; max-width: none !important; aspect-ratio: 1 / 1 !important; object-fit: cover !important; object-position: 50% 20% !important; transform: none !important; clip-path: none !important; -webkit-mask-image: none !important; mask-image: none !important; }

/* Focus ring for every control in the widget */
html body .container :focus-visible { outline: 3px solid var(--sc-accent) !important; outline-offset: 3px !important; }

/* S14 · Phone. Keep this block last so it overrides the rules above. */
@media (max-width: 680px) {
  html body .container { padding: 12px !important; }
  html body .filter-bar { padding: 10px 12px !important; gap: 10px !important; justify-content: space-between !important; }
  html body .filters-toggle { padding: 0 12px !important; gap: 6px !important; }
  html body .card-main { grid-template-columns: 1fr !important; }
  html body .date-blk { padding: 8px 8px 8px 16px !important; flex-direction: row !important; justify-content: space-between !important; align-items: center !important; text-align: left !important; }
  html body .date-stack { flex-direction: row !important; align-items: baseline !important; gap: 8px !important; padding-top: 0 !important; }
  html body .date-line { font-size: 20px !important; }
  html body .info-blk { padding: 16px !important; }
  html body .inst-wrap { gap: 12px !important; }
  html body .inst-av-wrap { width: 48px !important; height: 48px !important; flex: 0 0 48px !important; }
  html body .btn-learn { background: transparent !important; border: 0 !important; color: var(--sc-accent) !important; padding: 0 !important; gap: 6px !important; align-self: flex-start !important; text-decoration: underline !important; text-decoration-thickness: 1px !important; text-underline-offset: 4px !important; }
  html body .btn-learn::before { content: none !important; }
  html body .btn-learn:hover { background: transparent !important; color: var(--sc-accentHover) !important; }
  html body .learn-hint { display: none !important; }
  html body .cta-blk { border-left: 0 !important; border-top: 1px solid var(--sc-line) !important; padding: 14px 16px 16px !important; align-items: stretch !important; text-align: left !important; gap: 10px !important; }
  html body .cta-blk::before { content: none !important; }
  html body .seats-badge { min-height: 0 !important; }
  html body .price-area { align-self: stretch !important; flex-direction: row-reverse !important; flex-wrap: wrap !important; justify-content: space-between !important; align-items: baseline !important; gap: 4px 12px !important; }
  html body .cal-panel.open { padding: 16px !important; }
  html body :is(.cal-inner > div:first-child, .cal-summary) { flex: 1 1 100% !important; }
  html body .month-mini { max-width: none !important; }
  html body .cal-summary { display: block !important; }
  html body .trainer-card.media { flex-basis: 100% !important; max-width: 100% !important; }
  html body .quote-card { padding-bottom: 76px !important; }
  html body :is(.quote-card strong, .quote-sub) { padding-right: 0 !important; }
  html body .testi-arrow:first-child { left: 22px !important; right: auto !important; }
  html body .testi-arrow:last-child { left: 74px !important; right: auto !important; }
}

/* Phone compact (Sean, November 11, 2026: pages "too long, too much space" on iPhone). Added after
   Jay's S14 block, inside the same layer: tighter padding, and the price sits beside Register. */
@media (max-width: 680px) {
  html body .info-blk { padding: 12px 16px !important; gap: 8px !important; }
  html body .info-row3 { gap: 10px !important; }
  html body .cta-blk { display: grid !important; grid-template-columns: 1fr auto !important; align-items: center !important; gap: 6px 12px !important; padding: 12px 16px 14px !important; }
  html body .cta-blk .seats-badge { grid-column: 1 / -1 !important; justify-self: start !important; }
  html body .cta-blk .price-area { grid-column: 1 !important; flex-direction: column-reverse !important; align-items: flex-start !important; justify-content: flex-start !important; gap: 0 !important; }
  html body .cta-blk .btn-reg { grid-column: 2 !important; width: auto !important; min-width: 128px !important; padding-inline: 18px !important; }
}

/* Phone, round 3 (November 12, 2026): the Learn More tabs stay on one line, and "2 Days" shows once. */
@media (max-width: 680px) {
  html body .panel-tabs { flex-wrap: nowrap !important; overflow-x: auto !important; scrollbar-width: none !important; }
  html body .panel-tab { flex: 0 0 auto !important; padding: 0 12px !important; font-size: 15px !important; white-space: nowrap !important; }
  html body .card:has(.sessions-pill) .info-row2 .meta:nth-child(2) { display: none !important; }
  html body .cta-blk { grid-template-rows: auto !important; }
  /* the sale timer stays on the filter row when a filter is picked */
  html body .filter-bar { flex-wrap: wrap !important; }
  html body .sale-timer { font-size: 14px !important; padding-inline: 8px !important; gap: 4px !important; }
  html body .filter-pills { gap: 6px !important; }
  html body .fpill { padding-inline: 14px !important; }
  /* class photo arrows sit under the photo, not on it */
  html body .testi-carousel:has(.photo-card) { padding-bottom: 56px !important; }
  html body .testi-carousel:has(.photo-card) .testi-arrow { bottom: 0 !important; }
  /* client logos: three per row */
  html body .client-logos { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; gap: 8px !important; }
  html body .client-tile img { width: 85% !important; height: auto !important; max-height: 32px !important; }
  /* full trainer bio, no cut-off sentence */
  html body .client-logos { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  html body .trainer-card:not(.media) { flex: 1 1 100% !important; min-width: 0 !important; max-width: 100% !important; }
  html body .panel-tabs { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; overflow: visible !important; }
  html body .panel-tab { padding: 4px !important; font-size: 13px !important; line-height: 1.2 !important; white-space: normal !important; text-align: center !important; min-height: 44px !important; }
  html body .panel-tabs:has(> :nth-child(4)) { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px !important; }
  html body .client-logos { width: 100% !important; max-width: none !important; }
  html body .client-tile { width: auto !important; min-width: 0 !important; max-width: 100% !important; padding: 6px !important; }
  html body .cta-blk:not(:has(.seats-badge)) { grid-template-rows: auto !important; }
}

/* Phone, round 4 (November 12, 2026). A frame is under 600 px wide only on a phone (at 768 px it is 628 px),
   so tablets and laptops do not change. One panel instead of three, no empty strip above the price,
   the discount on one line, and a loading state that does not look broken. */
@media (max-width: 600px) {
  /* the list sits straight on the page band: no white panel and no inner padding around the cards */
  html, html body { background: transparent !important; }
  html body .container { padding: 2px 0 6px !important; background: transparent !important; }
  html body .filter-bar { background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; }
  html body .filters-toggle-label { display: inline !important; }
  /* cards without a seat label: the empty strip above the price goes (the desktop placeholder beat the round 3 rule) */
  html body .cta-blk:not(:has(.seats-badge))::before { content: none !important; display: none !important; }
  /* old price and discount stay on one line at 390 and 375 px */
  html body .price-was-row { flex-wrap: nowrap !important; gap: 6px !important; }
  html body :is(.price-was, .price-off) { white-space: nowrap !important; }
  html body .price-off { padding-inline: 6px !important; }
  /* Learn More: class days readable, and the reviews title keeps "SAFe®" */
  html body :is(.cal-cell.session, .cal-key.is-class) { background: #BFEDEF !important; border-color: #7FD8DB !important; }
  html body .testi-scope { text-transform: none !important; }
  /* loading: a short card with a spinner, not a tall blank box */
  html body .live-schedule-wait { display: flex !important; align-items: center !important; justify-content: center !important; gap: 10px !important; box-sizing: border-box !important; min-height: 120px !important; margin: 0 !important; padding: 16px !important; background: var(--sc-surface) !important; border: 1px solid var(--sc-siteLine) !important; border-radius: 12px !important; font: 400 16px/1.5 var(--sc-sans) !important; color: var(--sc-muted) !important; text-align: center !important; }
  html body [data-schedule-state="loading"] .live-schedule-wait::before { content: "" !important; flex: 0 0 18px !important; width: 18px !important; height: 18px !important; box-sizing: border-box !important; border-radius: 50% !important; border: 2px solid var(--sc-accent) !important; border-right-color: transparent !important; animation: skb-sched-spin .8s linear infinite !important; }
}
@keyframes skb-sched-spin { to { transform: rotate(360deg); } }

/* Phones, round 4 (H2-schedule-03): a slow or failed read never leaves a blank box. The page's phone script
   (the round 4 schedule part of mobile-fixes.js, max-width 767px) marks the frame html.skb-phone, turns "loading" into "slow" after 10 seconds
   and un-hides .live-schedule-help. Without that class (tablets, laptops) the frame keeps its old message and link. */
html.skb-phone body .container:is([data-schedule-state="slow"], [data-schedule-state="error"]) { padding: 16px !important; background: var(--sc-surface) !important; border: 1px solid var(--sc-siteLine) !important; border-radius: 12px !important; gap: 12px !important; }
html.skb-phone body :is([data-schedule-state="slow"], [data-schedule-state="error"]) .live-schedule-wait { display: flex !important; align-items: center !important; justify-content: flex-start !important; gap: 10px !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; border: 0 !important; background: transparent !important; text-align: left !important; font: 500 18px/1.4 var(--sc-sans) !important; color: var(--sc-ink) !important; }
html.skb-phone body [data-schedule-state="slow"] .live-schedule-wait::before { content: "" !important; flex: 0 0 18px !important; width: 18px !important; height: 18px !important; box-sizing: border-box !important; border-radius: 50% !important; border: 2px solid var(--sc-accent) !important; border-right-color: transparent !important; animation: skb-sched-spin .8s linear infinite !important; }
html.skb-phone body .live-schedule-help:not([hidden]) { display: flex !important; flex-direction: column !important; gap: 12px !important; margin: 0 !important; }
html.skb-phone body .live-schedule-help p { margin: 0 !important; font: 400 16px/1.55 var(--sc-sans) !important; color: var(--sc-text) !important; }
html.skb-phone body .live-schedule-help p a { color: var(--sc-accent) !important; text-decoration: underline !important; text-underline-offset: 3px !important; }
html.skb-phone body .live-schedule-actions { display: flex !important; flex-wrap: wrap !important; gap: 10px !important; }
html.skb-phone body .live-schedule-actions > * { flex: 1 1 auto !important; }
html.skb-phone body :is(.live-schedule-email, .live-schedule-retry) { display: inline-flex !important; align-items: center !important; justify-content: center !important; box-sizing: border-box !important; min-height: 48px !important; padding: 0 20px !important; border-radius: 8px !important; font: 500 17px/1 var(--sc-sans) !important; text-decoration: none !important; cursor: pointer !important; }
html.skb-phone body .live-schedule-email { background: var(--sc-action) !important; border: 1px solid var(--sc-action) !important; color: #fff !important; }
html.skb-phone body .live-schedule-email:hover { background: var(--sc-actionHover) !important; }
html.skb-phone body .live-schedule-retry { background: var(--sc-surface) !important; border: 1px solid var(--sc-text) !important; color: var(--sc-ink) !important; }
html.skb-phone body .live-schedule-retry:hover { background: var(--sc-blush) !important; border-color: var(--sc-ink) !important; }
/* the contact form link stays too (for a phone with no mail app), as a full-height tap target */
html.skb-phone body .live-schedule-ask:not([hidden]) { margin: 0 !important; }
html.skb-phone body .live-schedule-ask a { display: inline-flex !important; align-items: center !important; min-height: 44px !important; font: 400 16px/1.4 var(--sc-sans) !important; color: var(--sc-accent) !important; text-decoration: underline !important; text-underline-offset: 3px !important; }

}

/* Class schedule block refinements (14 Nov 2026).
   Append this whole file to the end of schedule-ink.css. It reopens the same cascade layer,
   so these rules come last in that layer and win over the earlier rules for the same elements. */
@layer schedule-ink {

  /* Desktop layout of each class block */
  @media (min-width: 681px) {
    /* Narrower block: tighter date and price columns */
    html body .card-main { grid-template-columns: 168px minmax(0, 1fr) 204px !important; }
    /* Date sits on a white tile with an aqua top edge */
    html body .date-blk { justify-content: center !important; padding: 18px 16px !important; gap: 8px !important; }
    html body .date-stack { flex: 0 0 auto !important; align-self: stretch !important; background: var(--sc-surface) !important; border: 1px solid var(--sc-line) !important; border-top: 2px solid #45C2C7 !important; border-radius: 10px !important; padding: 14px 8px !important; }
    /* Larger crossed-out price */
    html body .price-was { font-size: 17px !important; }
  }
  /* Hairline tile border on high-resolution screens */
  @media (min-width: 681px) and (min-resolution: 2dppx), (min-width: 681px) and (-webkit-min-device-pixel-ratio: 2) {
    html body .date-stack { border-width: 2px 0.5px 0.5px !important; }
  }

  /* "2 Days": plain label with a thin grey line under it (all widths) */
  html body .sessions-pill { width: auto !important; align-self: center !important; flex: 0 0 auto !important; border-radius: 0 !important; padding: 0 4px !important; background: linear-gradient(var(--sc-line), var(--sc-line)) center calc(100% - 9px) / 100% 1px no-repeat !important; }
  @media (min-resolution: 2dppx), (-webkit-min-device-pixel-ratio: 2) {
    html body .sessions-pill { background-size: 100% 0.5px !important; }
  }

  /* No percent-off badge (all widths) */
  html body .price-off { display: none !important; }

  /* Weekday / Weekend tag after the time zone tag */
  html body .day-tag { display: inline-flex !important; align-items: center !important; font: 500 15px/1.4 var(--sc-sans) !important; border: 0 !important; border-radius: 6px !important; padding: 1px 10px !important; white-space: nowrap !important; background: #E1E7EF !important; color: #12283A !important; }
  html body .day-tag--weekend { background: #FFFFFF !important; color: #3D4856 !important; border: 1px solid #C7D0DC !important; padding: 0 9px !important; }
  /* Phones: time on its own line, both tags on the next line */
  @media (max-width: 480px) {
    html body .info-row1 .time-big { flex: 0 0 100% !important; }
  }
}
