/* Gespräche terminieren: Kalender mit Drag & Drop (Präfix .sched-) */

.sched-page {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
/* [hidden] muss auch bei Bausteinen mit eigener display-Angabe gelten */
.sched-page [hidden] {
  display: none !important;
}
.sched-page > .back-link {
  margin-bottom: -8px;
  align-self: flex-start;
}
.sched-page > .page-header {
  margin-bottom: 0;
  align-items: flex-start;
}
.sched-messages:empty,
.sched-warnings:empty {
  display: none;
}
.sched-warnings {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ---------- Kopf ---------- */

.sched-title .subtitle {
  max-width: 640px;
}
.sched-header-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 12px;
}
.sched-counter {
  font-size: 0.9rem;
  padding: 4px 12px;
}
/* Breite Bildschirme: Zähler über dem Knopf, rechts neben dem Titel */
@media (min-width: 1150px) {
  .sched-header-actions {
    flex-direction: column;
    align-items: flex-end;
  }
}
@media (max-width: 720px) {
  .sched-header-actions {
    justify-content: flex-start;
    width: 100%;
  }
  .sched-finalize {
    width: 100%;
    white-space: normal;
    text-align: center;
  }
}

/* ---------- Legende und Hilfe ---------- */

.sched-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sched-legend-item {
  display: inline-flex;
  align-items: center;
}
.sched-legend .legend-swatch {
  flex: none;
}
.sched-sw-ok {
  background: var(--c-appt-ok);
}
.sched-sw-partial {
  background: var(--c-appt-partial);
}
.sched-sw-unavailable {
  background: var(--c-appt-unavailable);
}
.sched-sw-unknown {
  background: var(--c-primary-soft);
  border: 2px dashed var(--c-appt-ok);
}
.sched-sw-other {
  background: #e9eeee;
  border: 1px solid var(--c-appt-other);
}
.sched-sw-free {
  background: var(--c-available-soft);
  border: 2px solid var(--c-available);
}
.sched-help {
  font-size: 0.9rem;
}
.sched-help > summary {
  cursor: pointer;
  color: var(--c-primary);
  font-weight: 600;
  width: max-content;
  max-width: 100%;
  border-radius: 4px;
}
.sched-help > ul {
  margin: 8px 0 0;
  padding: 12px 16px 12px 32px;
  background: var(--c-surface);
  border-radius: var(--radius);
  max-width: 860px;
}
.sched-help li + li {
  margin-top: 4px;
}

/* ---------- Hinweise ---------- */

.sched-warning-list {
  margin: 6px 0;
  padding-left: 20px;
  overflow-wrap: anywhere;
}
.sched-warning-list li + li {
  margin-top: 2px;
}
.sched-outside-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
}
.sched-outside-item > span {
  min-width: 0;
}

/* ---------- Aufteilung: Seitenleiste | Kalender ---------- */

.sched-layout {
  display: grid;
  grid-template-columns: minmax(250px, 300px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.sched-sidebar {
  position: sticky;
  top: var(--sched-top, 16px);
  max-height: calc(100vh - var(--sched-top, 16px) - 12px);
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 3px;
  margin: -3px;
}
.sched-main {
  padding: 12px;
  min-width: 0;
}
.sched-scroll {
  position: relative; /* absolut positionierte Inhalte (z. B. .visually-hidden) bleiben im Scrollbereich */
  overflow-x: auto;
  padding-bottom: 4px;
}
.sched-days {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

/* ---------- Seitenleiste: Noch nicht terminiert ---------- */

.sched-pool {
  padding: 16px;
  transition: background-color var(--dur-fast) var(--ease-out);
}
.sched-pool-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}
.sched-pool-head h2 {
  font-size: 1.45rem;
  margin: 0;
}
.sched-pool-hint {
  margin-bottom: 12px;
}
.sched-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sched-chip {
  display: flex;
  align-items: stretch;
  width: 100%;
  min-height: 44px;
  padding: 0;
  font: inherit;
  text-align: left;
  color: var(--c-text);
  background: var(--c-surface);
  border: 1px solid var(--c-border-strong);
  border-radius: var(--radius-small);
  cursor: grab;
  touch-action: pan-y; /* senkrecht wischen blättert, seitlich ziehen startet das Ziehen */
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  transition:
    background-color var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-out);
}
.sched-chip:hover {
  background: var(--c-accent-soft);
  border-color: var(--c-ink);
}
/* Zum Setzen ausgewählt: gelb markiert */
.sched-chip[aria-pressed='true'] {
  background: var(--c-accent-soft);
  border-color: var(--c-ink);
  box-shadow: 0 0 0 2px var(--c-ink);
}
.sched-chip:focus-visible {
  box-shadow: var(--focus);
}
.sched-chip-unknown {
  border-style: dashed;
}
.sched-chip-grip {
  flex: none;
  width: 16px;
  margin: 8px 0 8px 5px;
  touch-action: none; /* Griff: Ziehen in jede Richtung */
  background-image: radial-gradient(circle, var(--c-border-strong) 1.4px, transparent 1.7px);
  background-size: 6px 6px;
  background-position: center;
  opacity: 0.9;
}
.sched-chip-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
  padding: 8px 10px 8px 6px;
}
.sched-chip-name {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  line-height: 1.3;
}
/* Sehr lange Namen umbrechen statt die Seite zu verbreitern */
.sched-chip-text {
  min-width: 0;
  overflow-wrap: anywhere;
}
.sched-chip-info {
  display: flex;
  flex-direction: column;
  font-size: 0.8rem;
  line-height: 1.35;
  color: var(--c-muted);
}
.sched-chip-pending {
  font-style: italic;
  color: var(--c-muted);
}
.sched-pool-empty {
  padding: 6px 0 2px;
  color: var(--c-success-text);
  font-weight: 600;
}
.sched-drop-hint {
  display: none;
  margin: 12px 0 0;
  padding: 10px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-danger);
  border: 2px dashed currentColor;
  border-radius: var(--radius-small);
}
.sched-pool-droppable .sched-drop-hint {
  display: block;
}
.sched-pool-over {
  background: var(--c-danger-soft);
  border-color: var(--c-danger);
}

/* „?“ = noch keine Rückmeldung der Eltern */
.sched-q {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 17px;
  height: 17px;
  border-radius: 2px;
  background: var(--c-appt-ok);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
}

/* ---------- Kalender: Tagesspalten ---------- */

/* Jeder Tag ist eine Türliste: schwarzes Kopfband mit Datum und Uhrzeit, darunter die Gesprächszeiten */
.sched-day {
  position: relative;
  flex: 1 0 250px;
  min-width: 250px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-surface);
  overflow: hidden;
}
.sched-day-head {
  margin: 0;
  padding: 11px 14px 10px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.15;
  background: var(--c-ink);
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.sched-day-date,
.sched-day-time {
  white-space: nowrap; /* Umbruch nur zwischen Datum und Uhrzeit */
}
.sched-day-time {
  font-weight: 600;
  color: var(--c-on-ink-muted);
}
.sched-day-body {
  display: flex;
  padding: 12px 8px 14px 0;
}
.sched-axis {
  position: relative;
  flex: none;
  width: 50px;
}
.sched-label {
  position: absolute;
  right: 8px;
  transform: translateY(-50%);
  font-size: 0.72rem;
  line-height: 1;
  color: var(--c-muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.sched-label-hour {
  font-weight: 700;
  color: var(--c-text);
  font-size: 0.78rem;
}
.sched-track {
  position: relative;
  flex: 1;
  min-width: 0;
  border-radius: var(--radius-small);
  background: var(--c-surface);
  /* Rahmen als Schatten: die Oberkante der Spalte ist genau der Tagesbeginn */
  box-shadow: inset 0 0 0 1px var(--c-border);
  transition:
    background-color var(--dur-press) var(--ease-out),
    box-shadow var(--dur-press) var(--ease-out);
}
.sched-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 0;
  border-top: 1px solid #e6eded;
  pointer-events: none;
}
.sched-line-hour {
  border-top-color: var(--c-border);
}
.sched-track-over {
  background: #fdf6d8;
  box-shadow: inset 0 0 0 1px var(--c-ink), 0 0 0 2px var(--c-ink);
}
.sched-placing .sched-track {
  cursor: copy;
  box-shadow: inset 0 0 0 1px var(--c-ink), 0 0 0 3px rgba(243, 197, 34, 0.75);
}
.sched-placing .sched-track:hover {
  background: #fdf6d8;
}

/* Freie Zeiten der Eltern */
.sched-bands {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: 2px;
}
.sched-band {
  position: absolute;
  left: 0;
  right: 0;
  /* Freie Zeit als ganze grüne Fläche mit Rand, wie die markierten Zeiten bei den Eltern */
  background: var(--c-available-soft);
  border: 2px solid var(--c-available);
  border-radius: 2px;
}

/* ---------- Terminblöcke ---------- */

.sched-appt,
.sched-other {
  position: absolute;
  z-index: 2;
  display: flex;
  border-radius: var(--radius-small);
  border: 1px solid var(--c-surface);
  overflow: hidden;
  font-size: 0.82rem;
  line-height: 1.2;
}
.sched-appt {
  background: var(--c-appt-ok);
  color: #fff;
  /* Touch: senkrechtes Wischen blättert die Seite (kein versehentliches Verschieben);
     ein ausgewählter Block lässt sich in jede Richtung ziehen */
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
.sched-appt-partial {
  background: var(--c-appt-partial);
  color: var(--c-text);
}
.sched-appt-unavailable {
  background: var(--c-appt-unavailable);
  color: #fff;
}
.sched-appt-unknown {
  background: var(--c-primary-soft);
  color: var(--c-primary-dark);
  border: 2px dashed var(--c-appt-ok);
}
.sched-appt-main {
  display: flex;
  align-items: flex-start;
  flex: 1;
  min-width: 0;
  margin: 0;
  padding: 5px 24px 5px 8px;
  font: inherit;
  color: inherit;
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 5px;
  cursor: grab;
}
.sched-appt-main:focus-visible {
  box-shadow: inset 0 0 0 2px var(--c-ink), inset 0 0 0 4px var(--c-accent);
}
.sched-appt-label {
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 100%;
  /* Für die Kurzform der Dauer in schmalen Spalten */
  container-type: inline-size;
}
.sched-appt-row {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}
/* Name und Dauer: gekürzt wird nur der Name – die Dauer in Klammern bleibt immer sichtbar */
.sched-appt-text {
  display: flex;
  align-items: baseline;
  gap: 0.3em;
  min-width: 0;
  max-width: 100%;
}
.sched-appt-name {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 700;
}
/* Ab 20 Minuten darf der Name in schmalen Spalten auf zwei Zeilen umbrechen */
.sched-appt-tall .sched-appt-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  white-space: normal;
  overflow-wrap: anywhere;
}
.sched-appt-dur {
  flex-shrink: 0;
  white-space: nowrap;
  opacity: 0.9;
}
.sched-dur-short {
  display: none;
}
/* Sehr schmale Blöcke (z. B. Smartphone): Kurzform „(10′)“, damit mehr vom Namen zu sehen ist */
@container (max-width: 150px) {
  .sched-dur-long {
    display: none;
  }
  .sched-dur-short {
    display: inline;
  }
}
.sched-appt-time {
  font-size: 0.75rem;
  opacity: 0.9;
  margin-top: 2px;
  white-space: nowrap;
}
.sched-appt-unknown .sched-q {
  width: 15px;
  height: 15px;
}
.sched-appt-short {
  font-size: 0.72rem;
}
.sched-appt-short .sched-appt-main {
  padding-top: 0;
  padding-bottom: 0;
  align-items: center;
}
.sched-appt-short .sched-q {
  width: 12px;
  height: 12px;
  font-size: 0.6rem;
}
.sched-appt-remove {
  position: absolute;
  top: 3px;
  right: 3px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  padding: 0;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  color: inherit;
  background: rgba(255, 255, 255, 0.22);
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}
.sched-appt-remove:hover {
  background: rgba(0, 0, 0, 0.2);
}
.sched-appt-unknown .sched-appt-remove,
.sched-appt-partial .sched-appt-remove {
  background: rgba(255, 255, 255, 0.55);
}
.sched-appt-short .sched-appt-remove {
  top: 0;
  height: 100%;
  max-height: 20px;
  font-size: 0.85rem;
}
.sched-appt-resize {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 8px;
  cursor: ns-resize;
  touch-action: none;
}
.sched-appt-resize::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 26px;
  height: 3px;
  margin-left: -13px;
  border-radius: 2px;
  background: currentColor;
  opacity: 0;
  transition: opacity 0.12s;
}
.sched-appt:hover .sched-appt-resize::after,
.sched-selected .sched-appt-resize::after,
.sched-resizing .sched-appt-resize::after {
  opacity: 0.7;
}
.sched-appt-short .sched-appt-resize {
  height: 5px;
}
/* Touch: Griff und × erst am ausgewählten Block – so trifft ein Tippen sicher den Block selbst */
@media (pointer: coarse) {
  .sched-appt-resize,
  .sched-appt-remove {
    display: none;
  }
  .sched-selected .sched-appt-remove {
    display: grid;
  }
  .sched-selected .sched-appt-resize {
    display: block;
    height: 12px;
  }
  .sched-selected .sched-appt-resize::after {
    opacity: 0.7;
  }
  .sched-appt-short.sched-selected .sched-appt-resize {
    height: 6px;
  }
}
.sched-selected,
.sched-resizing {
  touch-action: none;
}
.sched-selected {
  z-index: 3;
  box-shadow: 0 0 0 2px var(--c-surface), 0 0 0 4px var(--c-text);
}
.sched-resizing {
  z-index: 4;
}
.sched-drag-source {
  opacity: 0.35;
}

/* Überschneidung: schraffiert */
.sched-overlap {
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0 5px, transparent 5px 10px);
}
.sched-appt-unknown.sched-overlap,
.sched-other.sched-overlap {
  background-image: repeating-linear-gradient(135deg, rgba(184, 95, 0, 0.16) 0 5px, transparent 5px 10px);
}

/* Termine anderer Klassen */
.sched-other {
  z-index: 1;
  align-items: flex-start;
  padding: 4px 8px;
  background-color: #e9eeee;
  color: #34403f;
  border: 1px solid var(--c-appt-other);
  cursor: not-allowed;
}
.sched-other-text {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 600;
}

/* Vorschau beim Ziehen */
.sched-preview {
  z-index: 5;
  left: 4px;
  right: 4px;
  align-items: flex-start;
  padding: 5px 8px;
  opacity: 0.92;
  pointer-events: none;
  outline: 2px dashed var(--c-text);
  outline-offset: 1px;
  box-shadow: var(--shadow-strong);
}
.sched-preview-text {
  display: flex;
  min-width: 0;
  max-width: 100%;
  font-weight: 700;
  container-type: inline-size;
  flex: 1;
}
.sched-preview .sched-appt-dur {
  font-weight: 400;
}

/* Geister-Element am Zeiger */
.sched-ghost {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-width: 300px;
  padding: 7px 12px;
  border-radius: var(--radius-small);
  background: var(--c-text);
  color: #fff;
  font-size: 0.85rem;
  line-height: 1.3;
  box-shadow: var(--shadow-strong);
  pointer-events: none;
}
.sched-ghost-name {
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sched-ghost-where {
  font-size: 0.78rem;
}
.sched-ghost-where:empty {
  display: none;
}
.sched-ghost[data-status='ok'] {
  background: var(--c-appt-ok);
}
.sched-ghost[data-status='partial'] {
  background: var(--c-appt-partial);
  color: var(--c-text);
}
.sched-ghost[data-status='unavailable'] {
  background: var(--c-appt-unavailable);
}
.sched-ghost[data-status='unknown'] {
  background: var(--c-primary-soft);
  color: var(--c-primary-dark);
  border: 2px dashed var(--c-appt-ok);
}

body.sched-body-dragging,
body.sched-body-resizing {
  user-select: none;
  -webkit-user-select: none;
}
body.sched-body-dragging,
body.sched-body-dragging * {
  cursor: grabbing !important;
}
body.sched-body-resizing,
body.sched-body-resizing * {
  cursor: ns-resize !important;
}

/* ---------- Detailfeld ---------- */

.sched-detail {
  padding: 16px;
  box-shadow: 0 0 0 2px var(--c-ink);
}
.sched-detail-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}
.sched-detail-kicker {
  margin: 2px 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--c-muted);
}
.sched-detail-name {
  margin: 0;
  font-size: 1.6rem;
  overflow-wrap: anywhere;
}
.sched-detail-close {
  flex: none;
  font-size: 1rem;
  line-height: 1;
}
.sched-detail-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}
.sched-detail-when {
  margin: 0;
  font-size: 1rem;
}
.sched-detail-tip {
  margin: 0;
  font-size: 0.9rem;
  color: var(--c-muted);
}
.sched-detail-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 6px 10px;
  border-radius: var(--radius-small);
  font-size: 0.9rem;
  font-weight: 600;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
}
.sched-status-dot {
  flex: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.sched-status-ok {
  background: var(--c-primary-soft);
  border-color: #bcd2f0;
  color: var(--c-primary-dark);
}
.sched-status-ok .sched-status-dot {
  background: var(--c-appt-ok);
}
.sched-status-partial {
  background: var(--c-warning-soft);
  border-color: #f5cf9f;
  color: var(--c-warning);
}
.sched-status-partial .sched-status-dot {
  background: var(--c-appt-partial);
}
.sched-status-unavailable {
  background: var(--c-danger-soft);
  border-color: #f1b9b9;
  color: var(--c-danger);
}
.sched-status-unavailable .sched-status-dot {
  background: var(--c-appt-unavailable);
}
.sched-status-unknown {
  border-style: dashed;
  border-color: var(--c-appt-ok);
  color: var(--c-primary-dark);
}
.sched-status-unknown .sched-status-dot {
  background: var(--c-primary-soft);
  border: 2px dashed var(--c-appt-ok);
}
.sched-stepper {
  display: flex;
  align-items: center;
  gap: 6px;
}
.sched-stepper input[type='number'] {
  width: 76px;
  text-align: center;
}
.sched-step {
  width: 42px;
  min-height: 42px;
  font-size: 1.25rem;
}
.sched-unit {
  font-size: 0.9rem;
  color: var(--c-muted);
}
.sched-limit-hint:empty {
  display: none;
}
.sched-move > summary {
  cursor: pointer;
  color: var(--c-primary);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 4px;
}
.sched-move[open] > summary {
  margin-bottom: 8px;
}
.sched-place-form fieldset {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 8px 12px 12px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-small);
}
.sched-place-form legend {
  padding: 0 4px;
  font-size: 0.9rem;
  font-weight: 700;
}
.sched-place-form .field > label {
  font-size: 0.85rem;
}
.sched-place-form .btn {
  align-self: flex-start;
}
.sched-place-form .field-error:empty {
  display: none;
}
.sched-place-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}
.sched-remove-btn {
  align-self: flex-start;
  padding-left: 10px;
  padding-right: 10px;
  margin-left: -10px;
  color: var(--c-danger);
}
.sched-remove-btn:hover:not(:disabled) {
  background: var(--c-danger-soft);
  color: var(--c-danger);
}
.sched-detail-avail h3 {
  margin: 14px 0 4px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--c-muted);
}
.sched-detail-avail ul {
  margin: 0;
  padding-left: 18px;
  font-size: 0.9rem;
}
.sched-detail-avail p {
  margin: 0;
  font-size: 0.9rem;
}

/* ---------- Tablet hochkant und Smartphone ---------- */

@media (max-width: 899px) {
  .sched-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .sched-sidebar {
    position: static;
    max-height: none;
    overflow: visible;
    padding: 0;
    margin: 0;
  }
  .sched-chips {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .sched-chips > li {
    flex: 1 1 170px;
    min-width: 0;
  }
  .sched-chip {
    height: 100%;
  }
  /* Detailfeld als Blatt am unteren Bildschirmrand */
  .sched-detail {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    max-height: 70vh;
    overflow-y: auto;
    overscroll-behavior: contain;
    margin: 0;
    padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px));
    border-radius: 6px 6px 0 0;
    border-width: 1px 0 0;
    box-shadow: 0 0 0 2px var(--c-ink), 0 -10px 30px rgba(0, 0, 0, 0.22);
    animation: sched-sheet-in 280ms var(--ease-drawer);
  }
  .sched-page.sched-has-selection {
    padding-bottom: 55vh;
  }
}
@media (min-width: 480px) and (max-width: 899px) {
  .sched-place-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  }
}
@media (max-width: 480px) {
  .sched-main {
    padding: 8px;
  }
  .sched-day {
    flex-basis: 240px;
    min-width: 240px;
  }
}
@keyframes sched-sheet-in {
  from {
    transform: translateY(24px);
    opacity: 0;
  }
}
