/* Public schedule v1.5: time and lesson side by side; data loader unchanged. */
.public-schedule{width:min(1840px,calc(100% - 32px))}
.public-schedule .schedule-days{grid-template-columns:repeat(7,minmax(0,1fr));gap:10px}
.public-schedule .schedule-lesson{display:grid;grid-template-columns:max-content minmax(0,1fr);align-items:start;column-gap:9px;margin:6px;padding:9px 7px}
.public-schedule .schedule-lesson strong{font-size:.85rem;line-height:1.35;font-variant-numeric:tabular-nums}
.public-schedule .schedule-lesson p{min-width:0;margin:0;font-size:.85rem;line-height:1.35;overflow-wrap:break-word}
.public-schedule .schedule-day h3{padding:10px;font-size:.95rem}
/* A day selector keeps comfortable lesson widths on laptops, tablets and phones. */
@media(max-width:1599px){
 .public-schedule{width:min(1180px,calc(100% - 32px))}
 .public-schedule .schedule-day-picker{display:flex;gap:7px;overflow-x:auto;padding:4px 2px 12px;margin-bottom:8px}
 .public-schedule .schedule-day-picker button{flex-shrink:0;min-height:44px;border:1px solid var(--line);border-radius:8px;padding:9px 12px;background:#fff;color:var(--forest);font:inherit;font-size:.9rem;cursor:pointer}
 .public-schedule .schedule-day-picker button[aria-pressed="true"]{background:var(--forest);color:#fff;border-color:var(--forest)}
 .public-schedule .schedule-days{grid-template-columns:minmax(0,1fr)}
 .public-schedule .schedule-day:not(.selected-day){display:none}
 .public-schedule .schedule-lesson{column-gap:14px;padding:10px 12px}
 .public-schedule .schedule-lesson strong,.public-schedule .schedule-lesson p{font-size:.95rem}
}
@media print{
 .public-schedule{width:100%}
 .public-schedule .schedule-day-picker{display:none}
 .public-schedule .schedule-days{grid-template-columns:repeat(2,minmax(0,1fr))}
 .public-schedule .schedule-day:not(.selected-day){display:block}
 .public-schedule .schedule-day{break-inside:avoid}
}
