.schedule-hero-copy { color: #dbe4f0; }
.schedule-toolbar { display: flex; gap: 24px; justify-content: space-between; align-items: start; margin-bottom: 12px; }
.schedule-toolbar p { max-width: 800px; }
.schedule-refresh, .schedule-search-button, #clear-team-search { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; min-height: 44px; padding: 10px 15px; border: 1px solid #b8c2d1; border-radius: 6px; background: #fff; color: #101828; font: inherit; font-size: 14px; font-weight: 700; text-decoration: none; cursor: pointer; }
.schedule-refresh:hover, .schedule-search-button:hover, #clear-team-search:hover { background: #f1f5f9; }
.schedule-refresh:disabled { cursor: wait; opacity: .65; }
button:focus-visible, input:focus-visible { outline: 3px solid #fbbf24; outline-offset: 4px; }
.schedule-status { min-height: 26px; color: #526079; font-size: 15px; }
.schedule-events-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.schedule-event { display: flex; min-width: 0; flex-direction: column; padding: 24px; border: 1px solid #e2e5eb; border-top: 4px solid #b91c1c; border-radius: 12px; background: #fff; box-shadow: 0 5px 18px #17203305; }
.schedule-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 17px; }
.schedule-meta > span:first-child { color: #667085; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .035em; }
.schedule-badge { display: inline-flex; width: fit-content; max-width: 100%; border-radius: 6px; background: #fef2f2; color: #7f1d1d; padding: 5px 9px; font-size: .75rem; font-weight: 750; vertical-align: middle; }
.schedule-badge--available { color: #166534; background: #f0fdf4; }
.schedule-badge--completed { color: #344054; background: #f2f4f7; }
.schedule-badge--cancelled { color: #9f1239; background: #fff1f2; }
.schedule-event h3 { margin-bottom: 13px; font-size: 1.3rem; font-weight: 800; line-height: 1.3; overflow-wrap: anywhere; }
.schedule-event p { overflow-wrap: anywhere; }
.schedule-event-meta { display: flex; align-items: flex-start; gap: 9px; margin: 0 0 10px; color: #475467; font-size: .9rem; line-height: 1.6; }
.schedule-event-meta svg { flex: 0 0 auto; margin-top: 3px; color: #991b1b; }
.schedule-event-description { margin: 5px 0 18px; color: #475467; line-height: 1.7; white-space: pre-wrap; }
.schedule-event-readiness { margin: 10px 0 20px; color: #5b6575; font-size: .875rem; line-height: 1.6; }
.schedule-event-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 15px; margin-top: auto; padding-top: 12px; border-top: 1px solid #eee; }
.schedule-event-actions a { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; color: #991b1b; font-size: .85rem; font-weight: 650; }
.schedule-event-actions .schedule-create { padding: 8px 16px; border: 1px solid #b9c1cd; border-radius: 6px; color: #172033; background: #fff; text-decoration: none; }
.schedule-event-actions .schedule-create:hover { background: #f3f4f6; }
.schedule-games { display: flex; flex-wrap: wrap; gap: 8px; }
.schedule-event .schedule-games { margin: 10px 0; }
.schedule-games span { padding: 5px 9px; border: 1px solid #e2e5eb; color: #475467; border-radius: 6px; font-size: .75rem; font-weight: 650; }
.schedule-history, .schedule-weekly { margin-top: 60px; }
.schedule-weekly-heading { display: flex; gap: 24px; justify-content: space-between; align-items: end; }
.schedule-weekly-heading form { width: min(440px, 100%); }
.schedule-weekly-heading label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.schedule-search-controls { display: flex; gap: 8px; align-items: stretch; }
.schedule-search-controls input { min-width: 0; width: 100%; border: 1px solid #b8c2d1; border-radius: 6px; padding: 12px; font: inherit; font-size: 16px; }
.schedule-week { padding: 0; overflow: hidden; margin-top: 24px; border-left-color: #b91c1c; }
.schedule-week h3 { padding: 20px; margin: 0; border-bottom: 1px solid #d8dee9; }
.schedule-week > p { padding: 18px 20px; }
.schedule-week h3 .schedule-badge { margin-left: 10px; }
.schedule-columns, .schedule-week li { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 22px; padding: 18px 20px; overflow-wrap: anywhere; }
.schedule-columns { background: #f5f7fa; font-size: 13px; font-weight: 700; }
.schedule-week ul { list-style: none; margin: 0; padding: 0; }
.schedule-week li { margin: 0; border-top: 1px solid #e2e8f0; font-size: 15px; }
.schedule-matchup { font-weight: 700; }
.schedule-matchup .schedule-badge { display: table; margin-top: 8px; }
.schedule-vs { color: #991b1b; font-size: 12px; padding-inline: 4px; }
.schedule-mobile-label { display: none; }
.schedule-help { margin-top: 48px; }
.schedule-help h2 { font-size: 25px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 94px; }
@media (max-width: 900px) { .schedule-weekly-heading { flex-direction: column; align-items: stretch; } }
@media (max-width: 640px) {
  .schedule-events-grid { grid-template-columns: 1fr; }
  .schedule-event { padding: 16px; }
  .schedule-event h3 { font-size: 1.2rem; }
  .schedule-toolbar { flex-direction: column; gap: 4px; }
  .schedule-weekly-heading form { width: 100%; }
  .schedule-columns { display: none; }
  .schedule-week li { grid-template-columns: 1fr; gap: 12px; padding: 20px 16px; }
  .schedule-mobile-label { display: block; color: #526079; font-size: 12px; font-weight: 700; margin-bottom: 3px; }
  .schedule-search-controls { flex-wrap: wrap; }
  .schedule-search-controls input { flex-basis: 100%; }
}
