/* Schema uses the shared paper/rose system and the shell's single scroll pane. */
.schedule-workspace { display: grid; gap: var(--ls-sp-20); min-width: 0; }
.schedule-toolbar, .schedule-view-switch { display: flex; gap: var(--ls-sp-8); flex-wrap: wrap; }
.schedule-workspace .btn, .schedule-toolbar .btn, .schedule-form .btn { min-height: 44px; }
.schedule-view-switch .btn[aria-pressed="true"] { color: var(--ls-rose-deep); background: var(--ls-rose-mist); border-color: var(--ls-rose); }
.schedule-filter { display: grid; gap: var(--ls-sp-8); max-width: 34rem; }
.schedule-filter label { font-size: var(--ls-text-sm); font-weight: var(--ls-weight-semibold); }
.schedule-filter select { min-height: 44px; min-width: 0; width: 100%; }
.schedule-meta { display: block; font-size: var(--ls-text-sm); font-weight: var(--ls-weight-regular); color: var(--ls-fg-2); line-height: var(--ls-lh-body); }
.schedule-range { margin: 0 0 var(--ls-sp-16); }
.schedule-agenda { display: grid; gap: var(--ls-sp-20); }
.schedule-workspace .schedule-day { padding: 0; margin: 0; min-width: 0; overflow: hidden; }
.schedule-day h2 { margin: 0; padding: var(--ls-sp-16) var(--ls-sp-20); border-bottom: 1px solid var(--ls-divider); }
.schedule-event { display: flex; align-items: flex-start; gap: var(--ls-sp-8); padding: var(--ls-sp-12); min-width: 0; border-bottom: 1px solid var(--ls-divider); }
.schedule-event:last-child { border-bottom: 0; }
.schedule-event .schedule-complete { width: 44px; height: 44px; padding: var(--ls-sp-8); margin-top: var(--ls-sp-4); flex: 0 0 44px; border-color: transparent; }
.schedule-complete[aria-pressed="true"] { color: var(--ls-rose-dark); background: var(--ls-rose-veil); }
.schedule-event .schedule-event-open { display: flex; flex: 1; justify-content: space-between; align-items: center; gap: var(--ls-sp-12); min-width: 0; padding: var(--ls-sp-8); border: 0; color: var(--ls-fg-1); font-weight: var(--ls-weight-regular); text-align: left; white-space: normal; }
.schedule-event-open:hover { background: var(--ls-panel); }
.schedule-event-open > svg { flex-shrink: 0; color: var(--ls-rose-dark); }
.schedule-event-copy { display: grid; gap: var(--ls-sp-6); min-width: 0; overflow-wrap: anywhere; }
.schedule-identity { display: flex; gap: var(--ls-sp-8); flex-wrap: wrap; align-items: center; }
.schedule-identity .ls-chip { font-size: var(--ls-text-xs); }
.schedule-event-title { font-weight: var(--ls-weight-semibold); }
.schedule-excerpt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: var(--ls-text-sm); color: var(--ls-fg-2); }
.schedule-empty, .schedule-notice { padding: var(--ls-sp-20); }
.schedule-empty h2 { margin-top: 0; }
.schedule-notice { margin: 0; border-radius: var(--ls-r-12); background: var(--ls-panel); color: var(--ls-fg-2); }
.schedule-history { margin-top: var(--ls-sp-20); }
.schedule-history summary { min-height: 44px; padding: var(--ls-sp-12) var(--ls-sp-4); cursor: pointer; color: var(--ls-rose-dark); font-weight: var(--ls-weight-semibold); }
.schedule-month { display: grid; gap: var(--ls-sp-16); justify-items: start; }
.schedule-month .calendar-mini { box-sizing: border-box; width: 100%; border: 1px solid var(--ls-border); box-shadow: none; }
.schedule-month .calendar-nav button { width: 44px; height: 44px; }
.schedule-month .calendar-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.schedule-month .calendar-day { min-height: 44px; aspect-ratio: auto; }
.schedule-month .calendar-header { flex-wrap: wrap; gap: var(--ls-sp-8); }
/* Keep the existing switch visual, with a 44px-high touch target. */
.schedule-form .ls-toggle { height: 44px; border-top: 7px solid transparent; border-bottom: 7px solid transparent; background-clip: padding-box; }
.schedule-footer .btn { white-space: normal; min-height: 44px; }
@media (max-width: 600px) {
  .schedule-toolbar { width: 100%; justify-content: space-between; }
  .schedule-toolbar > .btn { flex: 1 1 10rem; }
  .schedule-event { padding: var(--ls-sp-8); gap: var(--ls-sp-4); }
  .schedule-day h2, .schedule-empty, .schedule-notice { padding: var(--ls-sp-16); }
  .schedule-month .calendar-mini { padding: var(--ls-sp-12); }
}
