.school-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:14px}.school-panel,.school-hero,.school-fact,.school-note{border:1px solid #d8e0e7;border-radius:16px;padding:18px;background:#fff;color:#14284b}.school-hero{display:flex;gap:18px;align-items:center;background:#14284b;color:#fff;margin:18px 0}.school-tile{flex:0 0 72px;text-align:center;background:#e9a638;color:#14284b;border-radius:12px;padding:10px;font-weight:800}.school-tile strong{display:block;font-size:32px;line-height:1}.school-tabs,.school-legend{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}.school-tabs button{border:1px solid #14284b;border-radius:10px;padding:10px;background:transparent;color:inherit;font-weight:700}.school-tabs button[aria-selected=true]{background:#14284b;color:#fff}.school-entry{padding:12px 0;border-top:1px solid #d8e0e7}.school-entry p{margin:4px 0}.school-tag{display:inline-block;border-radius:999px;padding:3px 9px;font-size:12px;font-weight:700;background:#f9d4c5;color:#692c19}.school-tag.break{background:#dbe6ef;color:#14284b}.school-tag.early{background:#f8dfaa;color:#4a3400}.school-tag.teacher{background:#c8e4f5;color:#143b59}.school-fact img{width:40px;height:40px}.school-fact strong{display:block}.school-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr));gap:10px;margin:18px 0}.school-past{opacity:.55}.school-panel h3{margin-top:0}.school-note{margin:20px 0}.school-note p{margin:8px 0}:root[data-nrd-theme=dark] .school-panel,:root[data-nrd-theme=dark] .school-fact,:root[data-nrd-theme=dark] .school-note{background:#182b40;color:#fff;border-color:#536579}:root[data-nrd-theme=dark] .school-tabs button{border-color:#c8e4f5}:root[data-nrd-theme=dark] .school-tabs button[aria-selected=true]{background:#e9a638;color:#14284b}.school-panel[hidden]{display:none}
.school-fact{display:grid;grid-template-columns:48px 1fr;column-gap:12px;align-content:center;align-items:center}.school-icon{width:48px;height:48px;flex:none;color:#14284b}.school-fact .school-icon{grid-row:1 / span 2}.school-fact strong,.school-fact span{grid-column:2}.school-note{display:grid;grid-template-columns:48px 1fr;gap:4px 12px;align-items:center}.school-note .school-icon{grid-row:1 / span 3}.school-note h2,.school-note p{margin:0}.school-note a{justify-self:start}.school-entry{display:flex;align-items:center;gap:8px}.school-entry p{flex:1;min-width:0;line-height:1.2}.school-date-tile{flex:none;min-width:48px;text-align:center;background:#e9a638;color:#14284b;border-radius:8px;padding:5px}.school-date-tile span{display:block;font-size:10px;font-weight:800}.school-date-tile strong{display:block;font-size:18px;line-height:1.1;white-space:nowrap}:root[data-nrd-theme=dark] .school-icon{color:#fff}

/* Month cards: stable columns and vertically stacked details. */
.mg.x-wrap{max-width:1100px;margin-left:auto;margin-right:auto}.school-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr))}.school-entry{align-items:flex-start;gap:12px}.school-entry-copy{min-width:0;flex:1;display:flex;flex-direction:column;align-items:flex-start;gap:4px}.school-entry-copy p{margin:0;line-height:1.35}.school-weekday{display:block;font-size:13px;line-height:1.3}.school-entry-copy .school-tag{position:static;display:inline-block;max-width:100%;line-height:1.3}.school-legend .school-tag.break,.school-entry .school-tag.break,.school-hero .school-tag.break{background:#dbe6ef;color:#14284b!important}.school-note.school-source-note{display:block;max-width:100%;line-height:1.5}.school-source-note p{max-width:70ch;margin:8px 0}.school-source-note a{display:inline-block}.school-info{width:24px;height:24px;color:#1f4e79}:root[data-nrd-theme=dark] .school-info{color:#c8e4f5}

/* Month cards: stable columns and vertically stacked details. */
.mg.x-wrap{max-width:1100px;margin-left:auto;margin-right:auto}.school-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr))}.school-entry{align-items:flex-start;gap:12px}.school-entry-copy{min-width:0;flex:1;display:flex;flex-direction:column;align-items:flex-start;gap:4px}.school-entry-copy p{margin:0;line-height:1.35}.school-weekday{display:block;font-size:13px;line-height:1.3}.school-entry-copy .school-tag{position:static;display:inline-block;max-width:100%;line-height:1.3}.school-legend .school-tag.break,.school-entry .school-tag.break,.school-hero .school-tag.break{background:#dbe6ef;color:#14284b!important}.school-note.school-source-note{display:block;max-width:100%;line-height:1.5}.school-source-note p{max-width:70ch;margin:8px 0}.school-source-note a{display:inline-block}.school-info{width:24px;height:24px;color:#1f4e79}:root[data-nrd-theme=dark] .school-info{color:#c8e4f5}
