.schedule-mobile { display: flex; flex-direction: column; gap: 0; background: none; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.schedule-day { border-bottom: 1px solid var(--border); background: var(--bg); }
.schedule-day:last-child { border-bottom: 0; }
.schedule-day__toggle { list-style: none; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 64px; padding: 12px 14px; border: 0; background: var(--surface-1); color: var(--text); text-align: left; cursor: pointer; font: inherit; }
.schedule-day__toggle::-webkit-details-marker { display: none; }
.schedule-day__short { width: 30px; flex: none; font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--red-text); }
.schedule-day__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.schedule-day__day { font-size: 16px; font-weight: 600; }
.schedule-day__preview { font-size: 13px; line-height: 1.4; color: var(--text-3); }
.schedule-day__count { flex: none; display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--text-2); }
.schedule-day__count svg { width: 18px; height: 18px; transition: transform .2s; color: var(--red-text); }
.schedule-day[open] .schedule-day__count svg { transform: rotate(180deg); }
.schedule-day[open] .schedule-day__toggle { background: var(--surface-2); }
.schedule-day:not(.schedule-day--none) .schedule-day__toggle:hover { background: var(--surface-2); }
.schedule-day__list { display: flex; flex-direction: column; gap: 1px; background: var(--border); border-top: 1px solid var(--border); }
.schedule-day__list .session { padding-left: 56px; }
.schedule-day--none .schedule-day__toggle { cursor: default; background: var(--bg); }
.schedule-day--none .schedule-day__day { color: var(--text-3); }
.schedule-day--none .schedule-day__short { color: var(--text-3); }
.schedule:not([data-filter="all"]) :is(.schedule-day__preview, .schedule-day__count) { display: none; }
details.schedule-day:not(:has(.session:not([hidden]))) { display: none; }

.session { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 52px; padding: 0 12px; border: 0; background: var(--bg); color: var(--text); text-align: left; cursor: pointer; }
.session:hover { background: var(--surface-1); }
.session__time { width: 46px; flex-shrink: 0; font-family: var(--font-mono); font-size: 14px; font-weight: 600; }
.session__name { flex: 1; font-size: 15px; font-weight: 600; }
.session__chev { width: 16px; height: 16px; color: var(--text-3); flex-shrink: 0; }
.session--empty { cursor: default; color: var(--text-3); }
.session--empty:hover { background: var(--bg); }
.session--empty .session__name { color: var(--text-3); font-weight: 500; }
.schedule-col__body:has(.session:not([hidden], .session--empty)) .session--empty { display: none; }

.schedule-desktop { display: none; }

.schedule-foot { display: flex; flex-direction: column; gap: 16px; margin-top: 20px; }
.schedule-foot p { margin: 0; font-size: 14px; color: var(--text-3); }

@media (min-width: 1024px) {
  .schedule-mobile { display: none; }

  .schedule-desktop { display: grid; grid-template-columns: repeat(7, minmax(0,1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
  .schedule-col { display: flex; flex-direction: column; gap: 1px; background: var(--border); }
  .schedule-col__head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 16px; background: var(--surface-1); }
  .schedule-col__head b { font-family: var(--font-mono); font-size: 15px; font-weight: 600; }
  .schedule-col__head span { font-size: 13px; color: var(--text-3); }
  .schedule-col__body { flex: 1; display: flex; flex-direction: column; gap: 1px; background: var(--border); }
  .schedule-col__fill { flex: 1; background: var(--bg); min-height: 24px; }

  .session--card { flex-direction: column; align-items: flex-start; gap: 8px; min-height: 112px; padding: 16px; }
  .session--card .session__time { width: auto; font-size: 14px; font-weight: 500; color: var(--text-2); }
  /* Names shrink-wrap (flex-start), so long ones could overflow the tile; cap at tile width and let them wrap. */
  .session--card .session__name { flex: none; font-family: var(--font-display); font-weight: 700; font-size: 24px; line-height: 1.05; text-transform: uppercase; max-width: calc(100% + 32px); hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
  .session--card .session__cta { margin-top: auto; font-family: var(--font-mono); font-size: 11px; color: var(--red-text); opacity: 0; }
  .session--card:hover .session__cta, .session--card:focus-visible .session__cta { opacity: 1; }
  .session--card.session--empty .session__name { font-family: var(--font-body); font-size: 15px; font-weight: 500; text-transform: none; }

  .schedule-foot { flex-direction: row; align-items: center; justify-content: space-between; margin-top: 24px; }
}
