/* Compact cards and clearer grid hierarchy; booking-status colours remain intact. */
.timetable-day{margin-top:10px}.timetable-day>h3{font-size:15px;margin:0 0 9px;letter-spacing:.01em}
.coach-timetable.continuous-timetable{border:1px solid var(--line,#dce3ed);border-radius:12px;background:white;box-shadow:0 3px 12px #12264f06;grid-template-columns:54px repeat(var(--coach-count),minmax(128px,1fr))}
.continuous-timetable .coach-grid-head{background:var(--brand,#17243b);color:white;font-size:12px;padding:8px;border-color:#ffffff20;position:sticky;top:0;z-index:2}
.continuous-timetable .coach-grid-time{background:#f4f6fa;color:var(--brand,#17243b);font-size:11px;font-variant-numeric:tabular-nums;border-color:#e2e7ee}
.continuous-timetable .coach-grid-cell{padding:2px;gap:2px;border-color:#e2e7ee;background:#fafbfd}
.continuous-timetable .coach-grid-booking{border-radius:7px;padding:5px 6px;border:1px solid #12264f12;border-left:3px solid #35a36f;box-shadow:0 1px 3px #12264f08;line-height:1.3;overflow-wrap:anywhere;min-height:44px}
.continuous-timetable .coach-grid-booking strong{font-size:12px;line-height:1.35;margin-bottom:2px}.continuous-timetable .coach-booking-time{display:block;font-size:11px;font-weight:650;font-variant-numeric:tabular-nums}.continuous-timetable .coach-grid-booking small{font-size:10px;line-height:1.4;margin-top:2px}
.continuous-timetable .coach-grid-booking.awaiting-reply{border-left-color:#efaa38}.continuous-timetable .coach-grid-booking.ready-to-offer{border-left-color:#7585da}
.continuous-timetable .coach-grid-booking[data-match-booking]{border-left-color:var(--brand,#17243b)}
.continuous-timetable .coach-grid-add{background:#fff;border:1px dashed #d6deea;border-radius:6px;color:#65748b;font-size:11px;min-height:26px}
.continuous-timetable .empty-time-band.coach-grid-cell{padding-top:0;padding-bottom:0}.continuous-timetable .empty-time-band .coach-grid-add{border-radius:4px}
@media(max-width:760px){.coach-timetable.continuous-timetable{grid-template-columns:52px repeat(var(--coach-count),minmax(125px,1fr))}.continuous-timetable .coach-grid-head{padding:6px;font-size:11px}.continuous-timetable .coach-grid-booking{min-height:54px}.continuous-timetable .coach-grid-add{min-height:36px}}

@media(hover:hover) and (pointer:fine){.continuous-timetable .empty-time-band .coach-grid-add{min-height:14px;height:14px;line-height:13px;font-size:10px}.continuous-timetable .coach-grid-head{min-height:42px;padding:6px}.timetable-day>h3{margin-bottom:6px}}

.continuous-timetable .coach-grid-booking.conditional{background:#fff8e7;border:1px dashed #bd8b24;border-left:3px solid #bd8b24;color:#65501c}
