.race-schedule-drawer {
 --size: min(540px, 100vw);
 --spacing: 0;
 --wa-font-family-body: var(--font);
 --wa-font-family-heading: var(--font);
 --wa-color-brand-fill-loud: var(--orange);
 --wa-color-focus: var(--blue);
 --wa-panel-border-radius: 0;
 --wa-transition-normal: 180ms;
 --wa-transition-slow: 180ms;
 --wa-transition-easing: cubic-bezier(.16,1,.3,1);
 color: var(--ink);
}
.race-schedule-drawer::part(body) { padding: 0; }
.race-schedule-drawer::part(dialog) { background: white; }
.race-schedule-fallback { width: min(540px,100vw); max-width: 100vw; padding: 0; }
.race-schedule-body { color: var(--ink); font: 15px/1.5 var(--font); background: white; min-width: 0; }
.race-schedule-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 28px 28px 22px; position: sticky; top: 0; background: white; z-index: 1; border-bottom: 1px solid var(--line); }
.race-schedule-heading h2 { font-size: 24px; line-height: 1.25; overflow-wrap: anywhere; }
.race-schedule-heading .icon-button { min-width: 44px; min-height: 44px; }
.race-schedule-intro { padding: 22px 28px; margin: 0; color: var(--muted); max-width: 65ch; }
.race-schedule-list { list-style: none; padding: 0 28px; margin: 0; }
.race-schedule-item { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 21px 0; border-top: 1px solid var(--line); }
.race-schedule-round { display: grid; gap: 5px; min-width: 0; color: var(--ink); }
.race-schedule-round strong { font-size: 19px; line-height: 1.35; overflow-wrap: anywhere; }
.race-schedule-round span { color: var(--muted); }
.race-schedule-round time { color: var(--blue); font-size: 13px; font-variant-numeric: tabular-nums; }
.race-schedule-round:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.race-schedule-state { flex-shrink: 0; font-size: 12px; color: var(--muted); padding-top: 4px; }
.race-schedule-item.is-cancelled .race-schedule-round strong { text-decoration: line-through; }
.race-schedule-footer { padding: 26px 28px 32px; }
.race-schedule-empty { padding: 0 28px 28px; }
@media(max-width:600px) {
 .race-schedule-heading { padding: 22px 20px 18px; }
 .race-schedule-heading h2 { font-size: 22px; }
 .race-schedule-intro { padding: 20px; }
 .race-schedule-list { padding: 0 20px; }
 .race-schedule-item { gap: 12px; flex-wrap: wrap; }
 .race-schedule-round { flex: 1 1 200px; }
 .race-schedule-footer { padding: 24px 20px; }
 .race-schedule-footer .button { width: 100%; min-height: 44px; }
}
@media(prefers-reduced-motion:reduce) {
 .race-schedule-drawer { --wa-transition-normal: 0ms; --wa-transition-slow: 0ms; }
}
