/* Extend existing subject roles; keep the prototype's current palette and layout. */
body[data-page=schedule] {--zongying:var(--subtle);--zongying-deep:var(--action)}
body[data-page=schedule] .schedule-class-switch {display:flex;flex-wrap:wrap;gap:12px 28px;margin:12px 0}
body[data-page=schedule] .schedule-class-switch a {display:inline-flex;align-items:center;min-height:44px;color:var(--action);border-bottom:2px solid transparent}
body[data-page=schedule] .schedule-class-switch a[aria-current=page] {border-color:var(--action);font-weight:700}
body[data-page=schedule] :is(.timeline-course.zongying,.course-card.zongying,.day-cell.zongying,.subject-legend .zongying) {background:var(--zongying);border-color:var(--border)}
body[data-page=schedule] :is(.timeline-course.zongying::before,.timeline-course.zongying::after,.course-card.zongying::before,.course-card.zongying::after) {background:var(--zongying-deep)}
body[data-page=schedule] :is(.timeline-course.zongying > b,.course-card.zongying .course-card__days,.subject-legend .zongying,.calendar-notes p.zongying b) {color:var(--zongying-deep)}
body[data-page=schedule] .day-cell.zongying strong {color:var(--text)}
body[data-page=schedule] :is(.course-choice-copy,.course-choice-inline) {display:block;color:var(--action);font-size:12px;font-style:normal;font-weight:600;line-height:1.6;overflow-wrap:anywhere}
body[data-page=schedule] .day-cell.has-choice {background:var(--subtle);outline:1px dashed var(--action);outline-offset:-2px}
body[data-page=schedule] .day-choice-badge {display:block;font-size:10px;line-height:1.5;font-style:normal;font-weight:600;color:var(--action);white-space:normal}
body[data-page=schedule] .teacher-badge--plain {width:auto;max-width:100%;white-space:normal;overflow-wrap:anywhere}
