
/* Round 6f schedule page scope */
#schedule-6f-root { --header-height: 64px; font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif; color: #1a1a1a; background: #F7F2E9; }
#schedule-6f-root * { box-sizing: border-box; }
#schedule-6f-root .container { width: min(1120px, calc(100% - 32px)); margin-inline: auto; }
#schedule-6f-root a { color: #1A7A78; }
#schedule-6f-root .btn--teal, #schedule-6f-root .btn--primary { background: #1A7A78; color: #fff; border: none; }
#schedule-6f-root .btn--ghost { background: transparent; border: 1.5px solid #1A7A78; color: #1A7A78; }
#schedule-6f-root .site-header, #schedule-6f-root .site-footer { display: none !important; } /* use Webflow nav/footer */
@import url("fonts.css");

:root {
  --color-cream: #F7F2E9;
  --color-navy: #0B1F3A;
  --color-plum: #401A24;
  --color-teal: #1A7A78;
  --color-teal-tint: #D8EDEC;
  --color-coral: #B5474A;
  --color-coral-hover: #9C3B3E;
  --color-white: #FFFFFF;
  --color-sand: #E1DACE;
  --color-slate: #55607A;
  --color-bright-teal: #5FC7C0;
  /* Room colors (SuperSaaS / Daniel-approved) */
  --room-1: #1A7A78;
  --room-2: #55607A;
  --room-3: #2F6F9F;
  --room-4: #8A6414;
  --room-5: #401A24;
  --room-6: #B5474A;

  --font-heading: "Sora", "Inter", system-ui, sans-serif;
  --font-body: "Work Sans", "Inter", system-ui, sans-serif;
  --fw-medium: 500; --fw-semibold: 600; --fw-bold: 700;

  --fs-h1: 40px; --lh-h1: 48px;
  --fs-h2: 24px; --lh-h2: 32px;
  --fs-h3: 17px; --lh-h3: 24px;
  --fs-body: 16px; --lh-body: 26px;
  --fs-small: 14px; --lh-small: 20px;
  --fs-label: 11px; --ls-label: 0.08em;
  --fs-chip: 13px; --fs-button: 15px;
  --fs-time: 20px; --lh-time: 26px;

  --container-max: 1120px;
  --gutter: 40px;
  --header-height: 64px;
  --radius-card: 14px;
  --radius-pill: 999px;
  --button-height: 44px;
  --shadow-card: 0 1px 3px rgba(11,31,58,0.07);
  --shadow-sticky: 0 6px 16px rgba(11,31,58,0.08);
}
@media (max-width: 767px) {
  :root {
    --fs-h1: 28px; --lh-h1: 34px;
    --fs-h2: 20px; --lh-h2: 26px;
    --fs-time: 18px; --lh-time: 24px;
    --gutter: 18px;
    --header-height: 54px;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--color-cream); color: var(--color-navy);
  font-family: var(--font-body); font-size: var(--fs-body); line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3 { font-family: var(--font-heading); margin: 0; color: var(--color-navy); }
h1 { font-size: var(--fs-h1); line-height: var(--lh-h1); font-weight: var(--fw-bold); letter-spacing: -0.01em; }
h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); font-weight: var(--fw-bold); }
h3 { font-size: var(--fs-h3); line-height: var(--lh-h3); font-weight: var(--fw-semibold); }
/* 6l3: was an unscoped `p { margin: 0; }` that zeroed the shared nav .nav-menu-item margins (nav 70px instead of 90px). Scoped to the schedule wrapper (root + popover). */
#schedule-6f-wrap p, #popover p { margin: 0; }
a { color: var(--color-teal); }
.muted { color: var(--color-slate); }
.small { font-size: var(--fs-small); line-height: var(--lh-small); }
.container { max-width: calc(var(--container-max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.stack { display: flex; flex-direction: column; gap: 12px; }
.stack-lg { display: flex; flex-direction: column; gap: 20px; }

.mock-banner {
  background: #FFF1A8; color: var(--color-navy); font-size: 12px; line-height: 16px;
  text-align: center; padding: 7px 14px; border-bottom: 1px solid #E6D56A;
}
.mock-banner a { color: var(--color-navy); font-weight: 600; }

.site-header {
  background: var(--color-plum); color: #fff; height: var(--header-height);
  position: sticky; top: 0; z-index: 50;
}
.site-header .container {
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.wordmark {
  font-family: var(--font-heading); font-weight: var(--fw-bold); letter-spacing: 0.12em;
  font-size: 14px; color: #fff; text-decoration: none;
}
.site-nav { display: flex; gap: 22px; font-size: var(--fs-small); }
.site-nav a { color: rgba(255,255,255,0.82); text-decoration: none; font-weight: 500; }
.site-nav a.is-active {
  color: #fff; font-weight: 600; border-bottom: 2px solid var(--color-bright-teal); padding-bottom: 2px;
}
.menu-icon { display: none; width: 22px; height: 22px; }
@media (max-width: 767px) { .site-nav { display: none; } .menu-icon { display: block; } }

.hero { padding: 28px 0 16px; }
.hero-sub { color: var(--color-slate); max-width: 34em; font-size: var(--fs-small); }
.season-chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; color: var(--color-teal); background: var(--color-teal-tint);
  border-radius: var(--radius-pill); padding: 4px 12px; margin-bottom: 8px;
}
.season-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--color-teal); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; margin-top: 8px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: var(--button-height); padding: 0 20px; border-radius: var(--radius-pill);
  font-family: var(--font-body); font-size: var(--fs-button); font-weight: 600;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; white-space: nowrap;
}
.btn--primary { background: var(--color-coral); color: #fff; }
.btn--teal { background: var(--color-teal); color: #fff; }
.btn--ghost { background: transparent; color: var(--color-teal); border-color: var(--color-teal); }
.btn--navy { background: transparent; color: var(--color-navy); border-color: var(--color-navy); }
.btn--card { width: 100%; min-height: 44px; }
.text-link { font-weight: 600; color: var(--color-teal); text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.text-link--on-navy { color: #fff; }

.filter-bar {
  position: sticky; top: var(--header-height); z-index: 40;
  background: rgba(247,242,233,0.97); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-sand); padding: 8px 0; box-shadow: var(--shadow-sticky);
}
.filter-inner { display: flex; flex-direction: column; gap: 6px; }

/* Compact sticky summary — grid is the hero (Daniel lock 2026-10-26) */
.filter-summary {
  display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap;
  min-height: 36px;
}
.filters-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  height: 34px; padding: 0 14px; border-radius: var(--radius-pill);
  border: 1.5px solid var(--color-navy); background: #fff; color: var(--color-navy);
  font-family: var(--font-body); font-size: 13px; font-weight: 700; cursor: pointer;
}
.filters-toggle.is-open { background: var(--color-navy); color: #fff; border-color: var(--color-navy); }
.filters-caret { font-size: 10px; opacity: 0.8; transition: transform .15s; }
.filters-toggle.is-open .filters-caret { transform: rotate(180deg); display: inline-block; }
#filter-active-summary {
  font-size: 12px; font-weight: 600; color: var(--color-slate);
  flex: 1 1 auto; min-width: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.filter-summary #result-count { font-size: 12px; font-weight: 600; color: var(--color-navy); white-space: nowrap; }
.filter-summary .clear-btn { margin-left: auto; }

.filter-panel[hidden] { display: none !important; }
.filter-panel {
  display: flex; flex-direction: column; gap: 8px;
  padding-top: 8px; border-top: 1px solid var(--color-sand);
}

.filter-row { display: flex; align-items: flex-start; gap: 12px; }
.filter-label {
  flex: 0 0 44px; padding-top: 6px; font-size: var(--fs-label); letter-spacing: var(--ls-label);
  text-transform: uppercase; font-weight: 600; color: var(--color-slate);
}
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; }
@media (max-width: 767px) {
  .filter-row { flex-direction: column; gap: 4px; }
  .filter-label { padding-top: 0; }
  .chip-row { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
  .filter-summary .clear-btn { margin-left: 0; }
}
.filter-chip {
  height: 30px; padding: 0 11px; border-radius: var(--radius-pill);
  border: 1.5px solid var(--color-sand); background: #fff; color: var(--color-navy);
  font-family: var(--font-body); font-size: 12px; font-weight: 600; cursor: pointer; white-space: nowrap;
}
.filter-chip.is-active { background: var(--color-teal); border-color: var(--color-teal); color: #fff; }
.filter-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
#result-count { font-size: var(--fs-small); font-weight: 600; }
.clear-btn {
  background: none; border: none; font-family: var(--font-body); font-size: var(--fs-small);
  font-weight: 600; color: var(--color-teal); cursor: pointer; text-decoration: underline;
  padding: 0;
}

.room-key {
  display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center;
  padding: 2px 0 0; font-size: 11px; color: var(--color-slate);
}
.room-key-item { display: inline-flex; align-items: center; gap: 5px; font-weight: 500; }
.room-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.12);
}

.results-section { padding: 24px 0 48px; }
.empty-state {
  text-align: center; padding: 40px 20px; background: #fff;
  border: 1px dashed var(--color-sand); border-radius: var(--radius-card);
}
.empty-state h2 { margin-bottom: 8px; }
.empty-state p { color: var(--color-slate); margin-bottom: 16px; }

.band {
  background: var(--color-navy); color: #fff; padding: 36px 0;
}
.band h2 { color: #fff; }
.band p { color: rgba(255,255,255,0.88); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }
.portal-note {
  padding: 20px 0; text-align: center; font-size: var(--fs-small); color: var(--color-slate);
}
.site-footer {
  background: var(--color-plum); color: rgba(255,255,255,0.8); padding: 28px 0; font-size: var(--fs-small);
}
.site-footer strong { color: #fff; font-family: var(--font-heading); display: block; margin-bottom: 4px; }
.footer-cols { display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.footer-cols a { color: rgba(255,255,255,0.85); text-decoration: none; }
.footer-cols a.is-active { color: var(--color-bright-teal); font-weight: 600; }
.footer-nav { display: flex; flex-direction: column; gap: 4px; }

.style-chip {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 600; color: var(--color-teal); background: var(--color-teal-tint);
  border-radius: var(--radius-pill); padding: 3px 10px; white-space: nowrap;
}
.room-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600; color: #fff; border-radius: var(--radius-pill);
  padding: 3px 10px 3px 8px; white-space: nowrap;
}
.room-pill .swatch { width: 8px; height: 8px; border-radius: 50%; background: currentColor; background: #fff; opacity: 0.95; }

/* Variant J — PDF-style day · Time × Studio 1–6 · Filters peekaboo · no This week · dance chrome */
/* Dance chrome: navy #0B1F3A headers · logo teal #00B7A5 · web teal #1A7A78 · charcoal secondary text only */

:root {
  --dance-navy: #0B1F3A;
  --dance-charcoal: #58595B; /* secondary text only — not header bars */
  --dance-logo-teal: #00B7A5;
  --dance-web-teal: #1A7A78;
  --j-core: #58595B;
  --j-core-tint: #ECECED;
  --j-premiere: #2F6F9F;
  --j-premiere-tint: #E5EEF6;
  --j-fusion: #1A7A78;
  --j-fusion-tint: #D8EDEC;
  --j-tumbling: #B5474A;
  --j-tumbling-tint: #F8E8E8;
  --j-other: #55607A;
  --j-other-tint: #ECEEF2;
}

/* ---- Dance page header (override shared plum) ---- */
.site-header {
  background: var(--dance-navy);
  color: #fff;
  height: auto;
  min-height: var(--header-height);
  position: sticky; top: 0; z-index: 50;
}
.site-header .container {
  height: var(--header-height);
}
.wordmark { color: #fff; }
.site-nav a { color: rgba(255,255,255,0.88); }
.site-nav a.is-active {
  color: #fff; font-weight: 600;
  border-bottom: 2px solid var(--dance-logo-teal); padding-bottom: 2px;
}
.header-accent {
  height: 3px; background: var(--dance-logo-teal); width: 100%;
}
.site-footer {
  background: var(--dance-navy);
  color: rgba(255,255,255,0.8);
}
.site-footer a.is-active { color: var(--dance-logo-teal); }

.hero--compact { padding: 20px 0 8px; }

.hybrid-bar {
  position: sticky; top: calc(var(--header-height) + 3px); z-index: 40;
  background: rgba(247,242,233,0.97); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-sand); padding: 10px 0 8px;
  box-shadow: var(--shadow-sticky);
}

/* ---- Day picker ---- */
/* ID selectors: WHTML strips classes on static shell; JS still adds .day-pick */
#schedule-6f-root #day-picker {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
  width: 100%;
}

.day-picker-block { margin-bottom: 10px; }
.day-picker-head {
  display: flex; align-items: baseline; gap: 10px; margin-bottom: 6px;
}
.day-picker {
  display: flex; gap: 6px; flex-wrap: nowrap; overflow-x: auto;
  -webkit-overflow-scrolling: touch; padding-bottom: 2px;
}
.day-pick {
  flex: 1 1 0; min-width: 56px; max-width: 120px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; height: 52px; padding: 6px 8px; border-radius: 12px;
  border: 1.5px solid var(--color-sand); background: #fff;
  font-family: var(--font-body); cursor: pointer; color: var(--color-navy);
  transition: background .12s, border-color .12s, color .12s;
}
.day-pick .dp-day {
  font-family: var(--font-heading); font-size: 14px; font-weight: 700; line-height: 1;
}
.day-pick .dp-count {
  font-size: 10px; font-weight: 600; color: var(--color-slate); opacity: 0.85;
}
.day-pick.is-active {
  background: var(--dance-web-teal); color: #fff; border-color: var(--dance-web-teal);
}
.day-pick.is-active .dp-count { color: #fff; opacity: 0.85; }
.day-pick.has-hit:not(.is-active) {
  border-color: var(--dance-web-teal);
  box-shadow: inset 0 0 0 1px rgba(26,122,120,0.15);
}

/* ---- Filters peekaboo (collapsed by default; IDs keep highlight-* ) ---- */
.highlight-peekaboo { margin-top: 2px; }
.highlight-bar {
  display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap;
  margin: 0; padding: 0;
}
.highlight-bar .filters-toggle + #result-count,
.highlight-bar .filters-toggle + .hl-count,
.highlight-bar #result-count,
.highlight-bar .hl-count {
  margin-left: 4px;
}
.highlight-bar .filters-toggle {
  height: 32px; font-size: 13px; font-weight: 700; padding: 0 12px;
}
.highlight-bar .hl-label { letter-spacing: 0.01em; }
.highlight-bar .hl-summary {
  font-size: 12px; font-weight: 600; color: var(--color-navy);
  max-width: min(420px, 55vw); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.highlight-bar .hl-summary[hidden],
.highlight-bar .clear-btn[hidden] { display: none !important; }
.highlight-bar .hl-count { font-size: 12px; font-weight: 600; color: var(--color-navy); white-space: nowrap; }
.highlight-bar .clear-btn { margin-left: auto; }

.highlight-panel[hidden] { display: none !important; }
.highlight-panel {
  margin-top: 8px; padding-top: 10px;
  border-top: 1px solid var(--color-sand);
}
.highlight-panel .age-row { margin-top: 10px; }
.highlight-panel .narrow-fold { margin-top: 10px; }

.filter-block { margin-bottom: 6px; }
.filter-block--primary { margin-bottom: 4px; }
.filter-block-head {
  display: flex; align-items: baseline; gap: 10px; margin-bottom: 6px;
}
.filter-block-title {
  font-family: var(--font-heading); font-size: 13px; font-weight: 700;
  color: var(--color-navy);
}
.filter-hint { font-size: 11px; }
.program-chips, .style-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.style-pills { margin-top: 6px; }
@media (max-width: 767px) {
  .program-chips, .style-pills {
    flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px;
  }
}
.prog-chip, .style-pill {
  display: inline-flex; align-items: center; gap: 6px;
  height: 32px; padding: 0 12px; border-radius: 999px;
  border: 1.5px solid var(--color-sand); background: #fff;
  font-family: var(--font-body); font-size: 12px; font-weight: 700;
  color: var(--color-navy); cursor: pointer; white-space: nowrap;
}
.prog-chip .dot, .style-pill .dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.prog-chip .n, .style-pill .n { font-weight: 500; opacity: 0.65; font-size: 11px; }
.prog-chip.is-active, .style-pill.is-active { color: #fff; border-color: transparent; }
.prog-chip.is-active .n, .style-pill.is-active .n { opacity: 0.85; }
.prog-chip.is-active .dot, .style-pill.is-active .dot { background: #fff !important; }
.style-pill { font-weight: 600; height: 28px; font-size: 11px; }

.filters-toggle--soft {
  border-color: var(--color-sand); color: var(--color-slate); font-weight: 600;
  height: 30px; font-size: 12px; padding: 0 12px;
}
.filters-toggle--soft.is-open {
  background: var(--color-slate); color: #fff; border-color: var(--color-slate);
}

.narrow-panel[hidden] { display: none !important; }
.narrow-panel {
  margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--color-sand);
}
.narrow-help { margin-bottom: 6px; }
.narrow-list {
  display: flex; flex-wrap: wrap; gap: 4px 6px; max-height: 96px; overflow-y: auto;
}
.narrow-chip {
  display: inline-flex; align-items: center; gap: 4px;
  height: 26px; padding: 0 9px; border-radius: 999px;
  border: 1px solid var(--color-sand); background: #fff;
  font-size: 11px; font-weight: 600; color: var(--color-navy); cursor: pointer;
  white-space: nowrap;
}
.narrow-chip.is-off { opacity: 0.4; text-decoration: line-through; }
.narrow-chip .nr { font-size: 10px; opacity: 0.65; }

.results-section { padding: 12px 0 40px; }
.affordance-note {
  font-size: 12px; color: var(--color-slate); background: #fff;
  border: 1px solid var(--color-sand); border-radius: 10px;
  padding: 8px 12px; margin-bottom: 10px; line-height: 1.4;
}
.affordance-note strong { color: var(--color-navy); }

/* ---- Day head above PDF grid ---- */
.pdf-day-head {
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
  margin-bottom: 8px;
}
.pdf-day-title {
  font-family: var(--font-heading); font-size: 18px; font-weight: 700;
  color: var(--dance-charcoal);
}
.pdf-day-meta { font-size: 12px; color: var(--color-slate); }
.hit-pills { margin-left: auto; display: flex; gap: 6px; flex-wrap: wrap; }
.hit-pill {
  font-size: 11px; font-weight: 700; color: #fff;
  border-radius: 999px; padding: 3px 9px;
}

/* ---- PDF grid: Time × Studio 1–6 ---- */
.matrix-scroll {
  overflow: auto; -webkit-overflow-scrolling: touch;
  border: 1px solid var(--color-sand); border-radius: 12px; background: #fff;
  box-shadow: var(--shadow-card); max-height: min(72vh, 900px);
}
.pdf-grid {
  display: grid;
  grid-template-columns: 64px repeat(6, minmax(120px, 1fr));
  grid-template-rows: auto var(--grid-h, 600px);
  min-width: 820px;
  position: relative;
}
.pdf-corner {
  position: sticky; top: 0; left: 0; z-index: 6;
  background: var(--dance-navy);
  border-bottom: 1px solid rgba(255,255,255,0.12); border-right: 1px solid rgba(255,255,255,0.12);
  font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(255,255,255,0.85); padding: 10px 6px; display: flex; align-items: center;
}
.pdf-studio-head {
  position: sticky; top: 0; z-index: 5;
  background: var(--dance-navy); color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.12); border-right: 1px solid rgba(255,255,255,0.12);
  padding: 8px 6px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 1px;
}
.pdf-studio-head .s-num {
  font-family: var(--font-heading); font-size: 13px; font-weight: 700;
  color: #fff;
}
.pdf-studio-head .s-name {
  font-size: 10px; font-weight: 600; color: rgba(255,255,255,0.78); letter-spacing: 0.02em;
}
.pdf-studio-head.is-empty-studio { opacity: 0.55; filter: saturate(0.6); }

.pdf-time-col {
  position: sticky; left: 0; z-index: 4;
  background: #faf8f4; border-right: 1px solid var(--color-sand);
}
.pdf-time-label {
  position: absolute; left: 0; right: 0;
  font-family: var(--font-heading); font-size: 10px; font-weight: 700;
  color: var(--color-navy); padding: 0 4px; line-height: 1;
  transform: translateY(-50%);
  background: linear-gradient(to bottom, transparent, #faf8f4 30%, #faf8f4 70%, transparent);
}
.pdf-studio-col {
  position: relative; border-right: 1px solid var(--color-sand);
  background: #fff; min-height: var(--grid-h);
}
.pdf-studio-col.is-empty-studio { background: #faf8f4; opacity: 0.55; }
.pdf-hour-line {
  position: absolute; left: 0; right: 0; height: 0;
  border-top: 1px solid var(--color-sand); pointer-events: none;
}
.pdf-half-line {
  position: absolute; left: 0; right: 0; height: 0;
  border-top: 1px dashed #EDE8DF; pointer-events: none;
}

/* Class blocks — program/style highlight; studios stay neutral */
.block {
  position: absolute; left: 3px; right: 3px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 1px;
  text-align: left; border: none; border-radius: 6px;
  border-left: 3px solid var(--color-sand);
  padding: 4px 6px 4px 7px;
  font-family: var(--font-body); font-size: 11px; font-weight: 600;
  line-height: 1.25; cursor: pointer; color: var(--color-navy);
  background: #F3F0EA;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.04);
  overflow: hidden; z-index: 2;
  transition: opacity .12s, box-shadow .12s;
}
.block-name {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; width: 100%;
}
.block-meta {
  font-size: 10px; font-weight: 500; opacity: 0.7; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; max-width: 100%;
}
.block-tag {
  position: absolute; top: 3px; right: 3px;
  font-size: 8px; font-weight: 800; color: #fff;
  border-radius: 4px; padding: 1px 4px; line-height: 1.2;
  max-width: 46%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.block.is-hit {
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08), 0 1px 2px rgba(11,31,58,0.08);
}
.block.is-dim {
  opacity: 0.32; background: #EEEEEA !important; color: var(--color-slate) !important;
  border-left-color: #D0CBC2;
}
.block.is-dim .block-tag { display: none; }
.block:hover:not(.is-dim), .block:focus-visible {
  outline: 2px solid var(--color-navy); outline-offset: 1px; z-index: 3;
}
.block.is-dim:hover, .block.is-dim:focus-visible {
  opacity: 0.65; outline: 2px dashed var(--dance-web-teal); outline-offset: 1px;
}

.pill-legend {
  display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 10px;
  font-size: 11px; color: var(--color-slate);
}
.pill-legend span { display: inline-flex; align-items: center; gap: 5px; }
.pill-legend i {
  width: 10px; height: 10px; border-radius: 50%; display: inline-block;
}
.hint { font-size: 12px; color: var(--color-slate); margin: 8px 0 0; text-align: center; }

/* ---- Mobile list (~390) — NOT 6 skinny columns ---- */
.mobile-list {
  border: 1px solid var(--color-sand); border-radius: 12px; background: #fff;
  box-shadow: var(--shadow-card); overflow: hidden;
}
.mobile-list-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 8px;
  padding: 10px 12px; background: var(--dance-navy); color: #fff;
  font-family: var(--font-heading); font-size: 14px; font-weight: 700;
}
.mobile-list-head .muted { color: rgba(255,255,255,0.75); }
.mobile-hour {
  padding: 8px 12px 4px; font-family: var(--font-heading); font-size: 12px;
  font-weight: 700; color: var(--dance-charcoal); background: var(--color-cream);
  border-top: 1px solid var(--color-sand);
}
.block--list {
  position: relative; left: auto; right: auto; top: auto !important; height: auto !important;
  display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto;
  gap: 2px 8px; width: 100%; margin: 0; border-radius: 0;
  border-left-width: 4px; padding: 10px 12px;
  border-bottom: 1px solid var(--color-sand);
  font-size: 13px;
}
.block--list .block-name { -webkit-line-clamp: 2; grid-column: 1; }
.block--list .block-meta { grid-column: 1; }
.block--list .block-room {
  grid-column: 2; grid-row: 1 / span 2; align-self: center;
  font-size: 12px; font-weight: 800; color: var(--color-navy);
  background: var(--color-cream); border-radius: 8px; padding: 6px 8px;
  letter-spacing: 0.02em;
}
.block--list .block-tag { position: static; grid-column: 1; margin-bottom: 2px; max-width: none; }

/* ---- Round 6h class details panel ---- */
body.popover-open { overflow: hidden; }
.popover-backdrop {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(11, 31, 58, 0.58);
}
.popover {
  position: fixed; z-index: 90;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: min(400px, calc(100vw - 32px));
  max-height: min(85vh, 640px);
  overflow: auto;
  background: #fff;
  color: var(--dance-navy);
  border-radius: 16px;
  border: 1px solid var(--color-sand);
  box-shadow: 0 24px 64px rgba(11, 31, 58, 0.35);
  padding: 0;
}
.popover[hidden], .popover-backdrop[hidden] { display: none !important; }
.popover-sheet {
  position: relative;
  padding: 20px 20px 18px;
  border-left: 4px solid var(--popover-accent, var(--dance-web-teal));
  min-height: 100%;
}
.popover-grab {
  display: none;
  width: 40px; height: 4px; border-radius: 999px;
  background: var(--color-sand); margin: 0 auto 12px;
}
.popover-close {
  position: absolute; top: 8px; right: 8px;
  width: 44px; height: 44px; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border: none; border-radius: 12px;
  background: rgba(11, 31, 58, 0.06);
  color: var(--dance-navy);
  font-size: 26px; line-height: 1; font-weight: 400;
  cursor: pointer;
}
.popover-close:hover { background: rgba(11, 31, 58, 0.12); }
.popover-progs {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin: 0 48px 10px 0;
}
.popover-prog {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.02em;
  color: #fff; border-radius: 999px; padding: 5px 12px;
  margin: 0;
}
/* legacy single-pill margin when not wrapped (belt) */
.popover-sheet > .popover-prog { margin: 0 48px 10px 0; }
.popover-title {
  font-family: var(--font-heading);
  font-size: 20px; line-height: 1.25; font-weight: 700;
  color: var(--dance-navy);
  margin: 0 48px 12px 0;
}
.popover-meta {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin: 0 0 14px;
}
.popover-chip {
  display: inline-flex; align-items: center;
  font-size: 12px; font-weight: 600; line-height: 1.2;
  color: var(--dance-navy);
  background: #fff;
  border: 1px solid var(--color-sand);
  border-radius: 999px;
  padding: 5px 10px;
}
.popover-chip strong { font-weight: 800; }
.popover-chip--style {
  background: rgba(26, 122, 120, 0.08);
  border-color: rgba(26, 122, 120, 0.28);
  color: var(--dance-web-teal);
}
.popover-cms {
  margin: 0 0 16px; padding: 0;
  border: 1px solid var(--color-sand);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}
.popover-cms-row {
  display: grid; grid-template-columns: 88px 1fr;
  gap: 8px; align-items: baseline;
  padding: 10px 12px;
  border-top: 1px solid var(--color-sand);
}
.popover-cms-row:first-child { border-top: none; }
.popover-cms dt {
  margin: 0; font-size: 11px; font-weight: 800;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--dance-navy);
}
.popover-cms dd {
  margin: 0; font-size: 14px; font-weight: 500;
  color: var(--dance-navy);
}
.popover-actions {
  display: flex; flex-direction: column; gap: 8px;
}
.popover-actions .btn--navy {
  background: var(--dance-navy); color: #fff; border-color: var(--dance-navy);
}
.popover-actions .btn--navy:hover {
  background: #16355c; border-color: #16355c;
}

.team-legend {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px;
  margin: 12px 0 8px; font-size: 11px; color: var(--dance-charcoal);
}
.team-legend .tl-label {
  font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--dance-navy);
}
.team-legend span { display: inline-flex; align-items: center; gap: 5px; }
.team-legend i {
  width: 8px; height: 8px; border-radius: 50%; display: inline-block;
}

@media (max-width: 1023px) and (min-width: 640px) {
  .pdf-grid { grid-template-columns: 56px repeat(6, minmax(110px, 1fr)); min-width: 740px; }
  .block { font-size: 10px; padding: 3px 5px 3px 6px; }
}
@media (max-width: 639px) {
  .popover {
    left: 0; right: 0; top: auto; bottom: 0;
    transform: none;
    width: 100%;
    max-width: none;
    max-height: 85vh;
    border-radius: 18px 18px 0 0;
    border-left: none; border-right: none; border-bottom: none;
    box-shadow: 0 -12px 40px rgba(11, 31, 58, 0.28);
  }
  .popover-sheet {
    border-left: none;
    border-top: 4px solid var(--popover-accent, var(--dance-web-teal));
    padding: 10px 16px calc(18px + env(safe-area-inset-bottom, 0px));
  }
  .popover-grab { display: block; }
  .popover-close { top: 6px; right: 6px; }
  .popover-title { font-size: 18px; margin-right: 48px; }
  .popover-cms-row { grid-template-columns: 76px 1fr; padding: 9px 12px; }

  /* Round 6g — less chrome above the class list */
  .hero--compact { display: none; }
  .hybrid-bar { padding: 6px 0 4px; }
  .day-picker-block { margin-bottom: 6px; }
  .day-picker-head .filter-hint { display: none; }
  .day-picker-head { margin-bottom: 4px; }
  .day-pick {
    min-width: 48px; max-width: none; height: 40px;
    padding: 4px 6px; border-radius: 10px; gap: 1px;
  }
  .day-pick .dp-day { font-size: 12px; }
  .day-pick .dp-count { font-size: 9px; }
  .highlight-bar .filters-toggle { height: 28px; font-size: 12px; padding: 0 10px; }
  .highlight-bar .hl-count { font-size: 11px; }
  .affordance-note { display: none; }
  .results-section { padding: 8px 0 32px; }
  .mobile-list-head { padding: 8px 12px; font-size: 13px; }
  .matrix-scroll { display: none; }
  .pdf-day-head { display: none; }
  .team-legend { margin-top: 8px; gap: 5px 10px; font-size: 10px; }
}
@media (min-width: 640px) {
  .mobile-list { display: none; }
}
/* QA fix 10-28: Webflow a.w-button chrome -> charcoal/teal (not WF blue, not maroon) */
#schedule-6f-root a.w-button,
#schedule-6f-root #highlight-toggle,
#schedule-6f-root #clear-all,
#schedule-6f-root #narrow-toggle,
#schedule-6f-root [data-filter="age"] {
  background: #fff !important; color: #58595B !important;
  border: 1.5px solid #58595B !important; border-radius: 999px !important;
  padding: 6px 14px !important; font-weight: 600 !important; line-height: 1.3 !important;
  text-decoration: none !important; box-shadow: none !important; display: inline-flex; align-items: center;
}
#schedule-6f-root a.w-button:hover,
#schedule-6f-root a.w-button:focus-visible { border-color: #1A7A78 !important; color: #1A7A78 !important; outline: 2px solid #00B7A5; outline-offset: 2px; }
#schedule-6f-root a.w-button.is-open,
#schedule-6f-root a.w-button.is-active,
#schedule-6f-root a.w-button[aria-expanded="true"],
#schedule-6f-root [data-filter="age"][aria-pressed="true"] {
  background: #1A7A78 !important; color: #fff !important; border-color: #1A7A78 !important;
}
#schedule-6f-root #clear-all { border-color: #1A7A78 !important; color: #1A7A78 !important; }


/* ===== Round 6k / 6i overlays ===== */
/* Kill dual helper strip under grid (keep team-colour legend from JS) */
#schedule-6f-root #affordance-note,
#schedule-6f-root #affordance-note-short,
#schedule-6f-root .affordance-note,
#schedule-6f-root .affordance-note--short,
#schedule-6f-root .results-section > .container > .hint,
#schedule-6f-root .results-section .hint { display: none !important; }
#schedule-6f-root .results-section { padding-bottom: 24px; }

/* Sticky Filters-bar Printable PDF */
#schedule-6f-root .highlight-bar,
#schedule-6f-root #hybrid-bar .filter-summary {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
}
#schedule-6f-root .highlight-bar .pdf-link,
#schedule-6f-root #pdf-link-bar {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 4px;
  padding: 6px 12px;
  border: 1.5px solid #0B1F3A;
  border-radius: 999px;
  font-weight: 600; font-size: 13px;
  color: #0B1F3A; text-decoration: none;
  background: #fff; white-space: nowrap;
  box-shadow: none;
}
#schedule-6f-root .highlight-bar .pdf-link:hover,
#schedule-6f-root #pdf-link-bar:hover {
  background: #0B1F3A; color: #fff;
}
@media (max-width: 639px) {
  #schedule-6f-root .highlight-bar .pdf-link,
  #schedule-6f-root #pdf-link-bar { padding: 5px 10px; font-size: 12px; }
}

/* Hide Ages chrome (Round 6i) — WHTML still has age-row / data-filter=age */
#schedule-6f-root .age-row,
#schedule-6f-root .filter-row.age-row,
#schedule-6f-root [aria-label="Filter by age"],
#schedule-6f-root [data-filter="age"] { display: none !important; }
/* Age section: structural — parent of [data-filter=age] group when WHTML stripped classes */
#schedule-6f-root #highlight-panel > div:has([data-filter="age"]) { display: none !important; }

/* Companies / Genres filter sections spacing */
#schedule-6f-root .filter-section + .filter-section,
#schedule-6f-root .filter-block--genres { margin-top: 14px; padding-top: 14px; border-top: 1px solid #E1DACE; }
#schedule-6f-root .filter-block-head {
  display: flex !important; align-items: baseline; flex-wrap: wrap; gap: 8px 10px;
  margin-bottom: 10px;
}
#schedule-6f-root .filter-block-title { font-size: 13px; font-weight: 700; color: #0B1F3A; letter-spacing: 0.01em; }
#schedule-6f-root .filter-hint { font-size: 12px; color: #55607A; margin-left: 0; }
/* Round 6l nit — never jam Companies + Multi-select into one string */
#schedule-6f-root .filter-block-title + .filter-hint,
#schedule-6f-root .filter-block-title + span {
  margin-left: 8px;
}
/* Filters button ↔ Showing N classes gap (Avery 6k.1 nit) */
#schedule-6f-root .highlight-bar,
#schedule-6f-root [id="highlight-bar"],
#schedule-6f-root .filter-summary {
  display: flex !important; align-items: center; flex-wrap: wrap; gap: 10px 14px !important;
}
#schedule-6f-root #result-count,
#schedule-6f-root .hl-count {
  margin-left: 2px;
}

/* Bottom / Not sure band — readable slate on cream; Explore filled teal; Ask ghost spaced
   Round 6k.1: also target classless WHTML section via [data-not-sure] / last section */
#schedule-6f-root .band,
#schedule-6f-root section.band,
#schedule-6f-root .band.band--cream,
#schedule-6f-root section[data-not-sure="1"],
#schedule-6f-root > section:last-of-type {
  background: #F7F2E9 !important;
  padding: 40px 24px 32px !important;
  border-top: 1px solid #E1DACE;
  color: #0B1F3A;
}
#schedule-6f-root .band h2,
#schedule-6f-root section.band h2,
#schedule-6f-root section[data-not-sure="1"] h2,
#schedule-6f-root > section:last-of-type h2 {
  color: #0B1F3A !important;
  font-size: 28px; font-weight: 700; margin: 0 0 10px;
}
#schedule-6f-root .band p,
#schedule-6f-root .band .band-body,
#schedule-6f-root section.band > .container > p,
#schedule-6f-root section[data-not-sure="1"] p,
#schedule-6f-root > section:last-of-type p {
  color: #3D465C !important; /* readable on cream */
  font-size: 16px; line-height: 1.5; margin: 0 0 18px;
  max-width: 40rem;
}
#schedule-6f-root .band .cta-row,
#schedule-6f-root section.band .cta-row,
#schedule-6f-root section.band > .container > div,
#schedule-6f-root section[data-not-sure="1"] > div > div,
#schedule-6f-root > section:last-of-type > div > div {
  display: flex !important; flex-wrap: wrap; gap: 16px !important; align-items: center;
  margin-top: 4px;
}
#schedule-6f-root .band .btn--teal,
#schedule-6f-root .band .btn--primary,
#schedule-6f-root section.band a.btn--teal,
#schedule-6f-root section.band a.btn--primary,
#schedule-6f-root section.band a[href*="/programs"],
#schedule-6f-root section[data-not-sure="1"] a[href*="/programs"],
#schedule-6f-root > section:last-of-type a[href*="/programs"] {
  display: inline-flex !important; align-items: center; justify-content: center;
  padding: 12px 20px !important; border-radius: 999px !important;
  background: #1A7A78 !important; color: #fff !important;
  border: 1.5px solid #1A7A78 !important;
  font-weight: 600 !important; text-decoration: none !important; box-shadow: none !important;
}
#schedule-6f-root .band .btn--ghost,
#schedule-6f-root .band a.text-link--on-navy,
#schedule-6f-root section.band a[href*="contact-us"],
#schedule-6f-root section[data-not-sure="1"] a[href*="contact-us"],
#schedule-6f-root > section:last-of-type a[href*="contact-us"] {
  display: inline-flex !important; align-items: center; justify-content: center;
  padding: 12px 20px !important; border-radius: 999px !important;
  background: transparent !important; color: #1A7A78 !important;
  border: 2px solid #1A7A78 !important;
  font-weight: 600 !important; text-decoration: none !important; box-shadow: none !important;
}
#schedule-6f-root .portal-note,
#schedule-6f-root > p.portal-note,
#schedule-6f-root > section:last-of-type + p {
  display: block !important;
  margin: 20px auto 32px !important;
  color: #55607A !important;
  font-size: 14px !important;
  padding: 0 24px !important;
  max-width: 1120px;
  text-align: center;
  line-height: 1.5;
}
#schedule-6f-root .portal-note a,
#schedule-6f-root > section:last-of-type + p a { color: #1A7A78 !important; }

@media (max-width: 639px) {
  #schedule-6f-root .band .cta-row,
  #schedule-6f-root section[data-not-sure="1"] > div > div,
  #schedule-6f-root > section:last-of-type > div > div {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
  }
  #schedule-6f-root section[data-not-sure="1"] a[href*="/programs"],
  #schedule-6f-root section[data-not-sure="1"] a[href*="contact-us"],
  #schedule-6f-root > section:last-of-type a[href*="/programs"],
  #schedule-6f-root > section:last-of-type a[href*="contact-us"] {
    width: 100% !important;
  }
}

/* Footer Download PDF inject */
.footer-april #pdf-link-footer,
.footer-april a.pdf-link-footer {
  display: block !important;
  margin-top: 10px !important;
  color: #fff !important;
  font-weight: 600 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

/* ===== Round 6k — kill Fall day grid hero (WHTML still has first section) ===== */
#schedule-6f-root > section:first-of-type,
#schedule-6f-root section.hero,
#schedule-6f-root .hero--compact,
#schedule-6f-root > section:has(> div > h1) { display: none !important; }

/* Round 6l.1 — real gaps (classless WHTML: target by IDs) */
#schedule-6f-root #highlight-panel > div > div:first-child { display:flex !important; flex-wrap:wrap; align-items:baseline; gap:6px 10px !important; }
#schedule-6f-root #highlight-panel > div > div:first-child > span + span { margin-left:0 !important; }
#schedule-6f-root div:has(> #highlight-toggle) { display:flex !important; flex-wrap:wrap; align-items:center; gap:10px 16px !important; }
#schedule-6f-root #result-count { margin-left:4px !important; }

/* Round 6l.1b — Daniel+Avery final spacing (Avery SoT figma-*-6l.html, 8px grid) */
#schedule-6f-root div:has(> #day-picker) > div:first-child > span + span { display:none !important; }
#schedule-6f-root .highlight-bar { display:flex !important; flex-wrap:wrap; align-items:center; gap:12px 16px !important; }
#schedule-6f-root .highlight-bar #result-count { margin-left:0 !important; white-space:nowrap; }
#schedule-6f-root .highlight-bar [hidden] { display:none !important; }
#schedule-6f-root .highlight-bar #clear-all { margin-left:0 !important; }
#schedule-6f-root .highlight-bar #pdf-link-bar { margin-left:auto !important; order:99; white-space:nowrap; }
#schedule-6f-root #highlight-panel { padding:16px !important; }
#schedule-6f-root #highlight-panel .filter-block-head { display:flex !important; flex-direction:column !important; align-items:flex-start !important; gap:4px !important; margin-bottom:8px !important; }
#schedule-6f-root #highlight-panel .filter-block-title { font-weight:700 !important; }
#schedule-6f-root #highlight-panel .filter-hint { margin-left:0 !important; color:var(--color-slate,#5B6575) !important; font-weight:400; font-size:12px; }
#schedule-6f-root #program-chips, #schedule-6f-root #highlight-panel [role="group"] { display:flex !important; flex-wrap:wrap !important; gap:8px !important; }
#schedule-6f-root #highlight-panel .prog-chip, #schedule-6f-root #highlight-panel .style-pill { height:auto !important; padding:8px 14px !important; font-size:14px !important; line-height:1.2; margin:0 !important; }
#schedule-6f-root #highlight-panel > div + div { margin-top:24px !important; }
@media (max-width:639px){ #schedule-6f-root .highlight-bar #pdf-link-bar{ padding:5px 10px; font-size:12px; } }
#schedule-6f-root #highlight-panel .filter-block-head:not(:first-child) { margin-top:24px !important; }
#schedule-6f-root #narrow-toggle, #schedule-6f-root #narrow-panel, #schedule-6f-root #narrow-list, #schedule-6f-root .narrow-chip { display:none !important; }
/* 6l.1c — shared side gutters (Avery final: 24px desktop / 16px mobile, content max 1280px, nav full-bleed) */
#schedule-6f-root #hybrid-bar,
#schedule-6f-root > section:nth-of-type(2) { box-sizing:border-box !important; padding-left:max(24px, calc((100% - 1280px) / 2 + 24px)) !important; padding-right:max(24px, calc((100% - 1280px) / 2 + 24px)) !important; }
@media (max-width:639px){ #schedule-6f-root #hybrid-bar, #schedule-6f-root > section:nth-of-type(2) { padding-left:16px !important; padding-right:16px !important; } }

/* Round 6l.2 — Avery: (1) Showing never moves: Filters · Showing N · active summary · [right] Clear + PDF */
#schedule-6f-root .highlight-bar #highlight-toggle { order:1 !important; }
#schedule-6f-root .highlight-bar #result-count { order:2 !important; }
#schedule-6f-root .highlight-bar #filter-active-summary { order:3 !important; }
#schedule-6f-root .highlight-bar #clear-all { order:98 !important; margin-left:auto !important; }
#schedule-6f-root .highlight-bar #pdf-link-bar { order:99 !important; margin-left:auto !important; }
#schedule-6f-root .highlight-bar #clear-all[data-open="1"] ~ #pdf-link-bar { margin-left:0 !important; }
/* (2) Content left edge = nav logo left (JS writes --sched-nav-left from the live logo); min 24px desktop / 16px mobile */
#schedule-6f-root #hybrid-bar,
#schedule-6f-root > section:nth-of-type(2) { padding-left:max(24px, var(--sched-nav-left, 24px)) !important; padding-right:max(24px, var(--sched-nav-left, 24px)) !important; }
@media (max-width:639px){ #schedule-6f-root #hybrid-bar, #schedule-6f-root > section:nth-of-type(2) { padding-left:max(16px, var(--sched-nav-left, 16px)) !important; padding-right:max(16px, var(--sched-nav-left, 16px)) !important; } }
/* 6l.2 Avery: 16px breathing room above first hour on mobile list too */
#schedule-6f-root .mobile-list-head + .mobile-hour { padding-top: 24px !important; }
