button.slot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px;
  column-gap: 8px;
  row-gap: 3px;
  align-content: center;
  min-height: 76px;
  padding: 12px 10px;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid transparent;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: filter .2s, border-color .2s;
}
button.slot .slot__name, button.slot .slot__time { grid-column: 1; }
button.slot .slot__more {
  display: grid;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffffd9;
  color: inherit;
  font: 600 20px/1 system-ui, sans-serif;
}
button.slot:hover { filter: brightness(.96); border-color: currentColor; }
button.slot:focus-visible { outline: 3px solid #b8142c; outline-offset: 2px; }
.schedule-dialog {
  box-sizing: border-box;
  width: min(560px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  padding: 24px;
  border: 1px solid var(--schedule-accent, #b8142c);
  border-radius: 24px;
  background: var(--schedule-tint, #fff);
  color: #122033;
  box-shadow: inset 0 0 0 8px #fff, 0 24px 80px #12203330;
}
.schedule-dialog::backdrop { background: #122033ad; }
.schedule-dialog__header { display: flex; justify-content: flex-end; margin-bottom: 4px; }
.schedule-dialog__close { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: #fff; color: var(--schedule-accent, #b8142c); font: 400 28px/1 system-ui, sans-serif; cursor: pointer; }
.schedule-dialog__close:hover { filter: brightness(.96); }
.schedule-dialog__close:focus-visible { outline: 3px solid var(--schedule-accent, #b8142c); outline-offset: 3px; }
.schedule-dialog .slot-card { padding: 0 6px 10px; border: 0; box-shadow: none; background: transparent; }
.schedule-dialog .slot-card__pill { background: #fff; color: var(--schedule-accent); }
.schedule-dialog .slot-card__title { margin: 6px 0 12px; color: var(--schedule-accent); font-size: 13px; line-height: 1.2; }
.schedule-dialog .slot-card__time { font-size: 15px; margin-bottom: 22px; }
.schedule-dialog .slot-card__list { gap: 12px; }
.schedule-dialog .slot-card__list li { font-size: 15px; line-height: 1.6; }
.class-profile-page .schedule-dialog .slot-card__pill { display: inline-block; padding: 4px 10px; margin-bottom: 10px; border-radius: 99px; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.class-profile-page .schedule-dialog .slot-card__list { display: grid; list-style: none; padding: 0; margin: 0; }
.class-profile-page .schedule-dialog .slot-card__list li { position: relative; padding-left: 16px; color: #444; }
.class-profile-page .schedule-dialog .slot-card__list li::before { content: ''; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--schedule-accent); }
@media (max-width: 640px) { .schedule-dialog { padding: 18px; } }
@media (prefers-reduced-motion: reduce) { button.slot { transition: none; } }
