/* Class selection, academic requests, and the hourly school calendar. */
:root {
  --school-copy: #7e6e91;
  --school-soft: #f8f6fc;
  --school-border: #e9e3f1;
  --school-hover: #f3effa;
  --school-selected: #f0eafa;
  --school-selected-border: #bda7df;
  --school-calendar-line: #eee9f5;
  --school-calendar-today: #faf6ff;
  --school-evening: #f6f4fa80;
  --school-axis: #fbf9fd;
}
html[data-theme="dark"] {
  --school-copy: #bbaccb;
  --school-soft: #262331;
  --school-border: #403648;
  --school-hover: #32293e;
  --school-selected: #382c48;
  --school-selected-border: #9a78bc;
  --school-calendar-line: #37303f;
  --school-calendar-today: #292236;
  --school-evening: #44374f28;
  --school-axis: #24212d;
}

.role-avatar { display: inline-block; width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; object-fit: cover; object-position: center; vertical-align: middle; background: var(--lavender); border: 1px solid #8d74b320; }
.role-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.role-avatar.small-avatar { width: 27px; height: 27px; }
.profile > .role-avatar { width: 36px; height: 36px; }
.top-actions > .role-avatar { width: 29px; height: 29px; }
.clickable-stat { display: block; width: 100%; text-align: left; transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease; }
.clickable-stat:hover { border-color: var(--school-selected-border); box-shadow: var(--shadow); transform: translateY(-2px); }
.clickable-stat .stat-foot { padding-right: 18px; }
.clickable-stat::after { content: '→'; position: absolute; bottom: 16px; right: 18px; font-size: 14px; color: var(--purple); opacity: .7; }
.stats.three-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.subject-tabs { gap: 8px; }
.school-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 28px 0 19px; }
.school-section-heading h2 { font-size: 19px; font-weight: 600; }
.school-section-heading > span { font-size: 11px; }
.school-catalog-section { margin-bottom: 31px; }
.school-catalog-section > .between { padding-bottom: 12px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.school-catalog-section > .between h2 { font-size: 16px; font-weight: 600; }
.school-catalog-section > .between .small { font-size: 11px; }
.school-teacher-group { margin: 0 0 23px; }
.school-teacher-group:last-child { margin-bottom: 0; }
.teacher-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 13px; min-width: 0; }
.teacher-heading .role-avatar { width: 35px; height: 35px; }
.teacher-heading > div { min-width: 0; }
.teacher-heading strong { display: block; font-size: 13px; font-weight: 550; color: var(--ink); overflow-wrap: anywhere; }
.teacher-heading small { display: block; font-size: 9px; color: var(--school-copy); margin-top: 3px; }
.school-teacher-group > .school-class-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; align-items: start; }
.school-class-card { padding: 20px; min-width: 0; }
.school-class-card > .between { gap: 8px; margin-bottom: 17px; }
.school-class-card .course-code { font-size: 11px; font-weight: 600; color: var(--event-ink, var(--purple)); overflow-wrap: anywhere; }
.school-class-card h3 { font-size: 18px; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
.school-class-card > p { font-size: 11px; line-height: 1.8; margin-top: 5px; }
.school-class-card .capacity { margin-top: 17px; }
.school-class-card .capacity strong { color: var(--ink); font-size: 11px; font-weight: 500; }
.school-class-card .course-card-footer { margin-top: 13px; padding-top: 14px; }
.school-class-card .course-card-footer .button { min-height: 33px; padding: 7px 11px; font-size: 11px; }
.school-teacher-group > .school-class-grid:has(> .school-class-card:only-child) { grid-template-columns: minmax(0, 1fr); }
.school-enrollment-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; padding-top: 13px; }
.school-enrollment-summary small { color: var(--school-copy); font-size: 10px; line-height: 1.8; overflow-wrap: anywhere; }
.class-sessions { margin-top: 16px; border-top: 1px solid var(--line); }
.class-sessions summary { display: flex; align-items: center; gap: 7px; list-style: none; cursor: pointer; padding: 12px 0; font-size: 11px; color: var(--school-copy); }
.class-sessions summary::-webkit-details-marker { display: none; }
.class-sessions summary .muted { margin-left: auto; font-size: 10px; }
.class-sessions summary::after { content: ''; width: 6px; height: 6px; flex-shrink: 0; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin: -3px 2px 0 4px; }
.class-sessions[open] summary::after { transform: rotate(225deg); margin-top: 3px; }
.class-sessions summary:focus-visible { outline: 3px solid var(--theme-focus); outline-offset: 2px; border-radius: 5px; }
.class-sessions > .session-item { margin: 0 0 7px; padding: 10px; gap: 9px; align-items: flex-start; }
.class-sessions > .session-item strong { min-width: 0; line-height: 1.7; overflow-wrap: anywhere; }
.class-sessions > p { font-size: 10px; line-height: 1.8; padding: 1px 0 9px; }

.class-choice-list { display: grid; gap: 10px; margin: 16px 0; min-width: 0; }
.class-choice-card { display: flex; align-items: flex-start; gap: 11px; padding: 14px; border: 1px solid var(--school-border); background: var(--paper); color: var(--ink); border-radius: 10px; cursor: pointer; min-width: 0; }
.class-choice-card > input[type="radio"] { flex-shrink: 0; width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--purple); }
.class-choice-card > :is(div, span) { min-width: 0; }
.class-choice-card > div { flex: 1; }
.class-choice-card strong { display: block; font-size: 12px; font-weight: 550; line-height: 1.7; overflow-wrap: anywhere; }
.class-choice-card :is(p, small) { display: block; color: var(--school-copy); font-size: 11px; line-height: 1.8; margin-top: 5px; overflow-wrap: anywhere; }
.class-choice-card:hover { border-color: var(--school-selected-border); }
.class-choice-card:has(input:checked) { background: var(--school-selected); border-color: var(--school-selected-border); }
.class-choice-card:has(input:focus-visible) { outline: 3px solid var(--theme-focus); outline-offset: 3px; }
.class-choice-card:has(input:disabled), .class-choice-card[aria-disabled="true"] { opacity: .6; cursor: not-allowed; }
.school-weekly-choice { padding: 14px; margin: 17px 0; border: 1px solid var(--school-border); background: var(--school-soft); border-radius: 10px; min-width: 0; }
.school-weekly-choice > :is(h3, strong, legend) { display: block; color: var(--ink); font-size: 12px; font-weight: 550; margin-bottom: 10px; }
.school-weekly-choice > p { font-size: 11px; line-height: 1.85; color: var(--school-copy); }
.school-weekly-choice .school-checkbox-line { margin-bottom: 8px; }
.school-weekly-choice .school-checkbox-line:last-child { margin-bottom: 0; }

.school-proposals { margin-top: 28px; }
.school-proposals > .settings-body { font-size: 11px; line-height: 1.9; padding-top: 0; }
.school-request-list { display: grid; gap: 13px; min-width: 0; }
.school-proposals > .school-request-list { padding: 0 21px 21px; }
.school-request-card { padding: 17px 18px; background: var(--paper); border: 1px solid var(--school-border); border-radius: 11px; min-width: 0; }
.school-proposals .school-request-card { background: var(--school-soft); }
.school-request-card > .between { align-items: flex-start; gap: 12px; }
.school-request-card > .between > strong { color: var(--ink); font-size: 13px; font-weight: 550; overflow-wrap: anywhere; }
.school-request-card > p { color: var(--school-copy); font-size: 11px; line-height: 1.9; margin-top: 9px; overflow-wrap: anywhere; }
.school-request-card > small { display: block; font-size: 10px; color: var(--muted); line-height: 1.9; margin-top: 7px; overflow-wrap: anywhere; }
.school-request-card > .flex { margin-top: 14px; flex-wrap: wrap; }
.school-request-card .button { min-height: 33px; font-size: 11px; padding: 7px 11px; }
.school-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; margin-bottom: 16px; }
.school-field { min-width: 0; margin-bottom: 17px; }
.school-form-grid > :is(.school-field, .field) { margin-bottom: 0; min-width: 0; }
.school-field > label { display: block; color: var(--school-copy); font-size: 11px; margin-bottom: 7px; }
.school-field :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) { display: block; width: 100%; max-width: 100%; min-width: 0; border: 1px solid var(--registration-border, var(--school-border)); border-radius: 8px; background: var(--paper); color: var(--ink); padding: 10px 12px; font-size: 12px; min-height: 40px; }
.school-field textarea { min-height: 92px; resize: vertical; line-height: 1.8; }
.school-field :is(.field-help, small) { display: block; font-size: 10px; line-height: 1.8; color: var(--school-copy); margin-top: 6px; }
.school-checkbox-line { display: flex; align-items: flex-start; gap: 8px; color: var(--school-copy); font-size: 11px; line-height: 1.8; cursor: pointer; min-width: 0; }
.school-checkbox-line > input { width: 15px; height: 15px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--purple); }
.school-checkbox-line > span { min-width: 0; overflow-wrap: anywhere; }
.school-checkbox-line > input:focus-visible { outline: 3px solid var(--theme-focus); outline-offset: 3px; }
.school-notification-tabs { display: flex; flex-wrap: wrap; gap: 5px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.school-notification-tabs button { display: inline-flex; align-items: center; gap: 7px; padding: 12px 16px; color: var(--school-copy); font-size: 12px; border-bottom: 2px solid transparent; }
.school-notification-tabs button:is(.active, .selected, [aria-selected="true"]) { color: var(--purple); border-bottom-color: var(--purple); font-weight: 550; }
.school-notification-tabs button:hover { color: var(--purple); background: var(--school-hover); }
.school-notification-tabs svg { width: 16px; height: 16px; }
.school-notification-tabs .chip,
html[data-theme="dark"] .school-notification-tabs .chip { background: transparent; border: 0; border-bottom: 2px solid transparent; border-radius: 0; }
.school-notification-tabs .chip.active,
html[data-theme="dark"] .school-notification-tabs .chip.active { color: var(--purple); border-bottom-color: var(--purple); }
.school-message-compose { background: var(--paper); border: 1px solid var(--school-border); border-radius: 13px; padding: 23px; margin-bottom: 23px; }
.school-message-compose > h2 { font-size: 16px; margin-bottom: 18px; }
.school-message-compose > p { color: var(--school-copy); font-size: 11px; line-height: 1.9; margin-bottom: 18px; }
.school-notice-preview { display: block; width: 100%; text-align: left; }
.school-notice-preview:hover h4 { color: var(--purple); }
.school-notice-preview .dot { margin-right: 6px; color: var(--purple); vertical-align: 1px; }
.school-notice-row { width: 100%; text-align: left; align-items: flex-start; }
.school-notice-row .notice-copy { min-width: 0; }
.school-notice-row .notice-copy :is(h3, p) { overflow-wrap: anywhere; }
.school-notice-row .notice-copy h3 > .pill { margin-left: 8px; vertical-align: 1px; font-size: 9px; }
.school-notice-row.unread h3::after { display: none; }
.school-notice-row > svg { margin-top: 8px; width: 15px; height: 15px; color: var(--school-copy); }
.school-notice-row:hover .notice-copy h3 { color: var(--purple); }
.unread-dot-static { width: 6px; height: 6px; flex-shrink: 0; border-radius: 50%; background: var(--purple); margin-top: 11px; }
.school-prewrap { white-space: pre-wrap; overflow-wrap: anywhere; }
.school-other-subject { margin-top: 17px; }
.school-detail-heading { font-size: 13px; font-weight: 600; margin: 23px 0 12px; }
.school-detail-class { padding: 14px 15px; background: var(--school-soft); border: 1px solid var(--school-border); border-radius: 10px; }
.school-detail-class > strong { display: block; font-size: 12px; font-weight: 550; line-height: 1.8; overflow-wrap: anywhere; }
.school-detail-class > .class-sessions { margin-top: 12px; }
.school-inline-actions { display: flex; flex-wrap: wrap; gap: 9px; padding-top: 17px; margin-top: 20px; border-top: 1px solid var(--line); }
.school-inline-actions .button { font-size: 11px; min-height: 35px; padding: 8px 12px; }
.text-button.danger-text { color: var(--registration-danger, #b34f65); }
.school-sync-option { margin-top: 17px; padding-top: 15px; border-top: 1px solid var(--line); }
.weekly-slot-field { margin: 15px 0 0; }
.school-roster { margin-top: 12px; }
.school-roster > p { font-size: 11px; line-height: 1.9; }
.school-roster-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.school-roster-row:last-child { border-bottom: 0; }
.school-roster-row > .flex { min-width: 0; flex: 1; }
.school-roster-row .flex > div { min-width: 0; }
.school-roster-row .role-avatar { width: 32px; height: 32px; }
.school-roster-row strong { display: block; font-size: 12px; font-weight: 550; overflow-wrap: anywhere; }
.school-roster-row small { display: block; font-size: 10px; color: var(--school-copy); margin-top: 5px; line-height: 1.8; overflow-wrap: anywhere; }
.school-roster-row > .button { flex-shrink: 0; min-height: 32px; font-size: 10px; padding: 7px 10px; }
.school-history-filter { display: flex; align-items: center; gap: 9px; font-size: 11px; color: var(--school-copy); }
.school-history-filter select { min-width: 125px; padding: 8px 10px; background: var(--paper); border: 1px solid var(--school-border); border-radius: 8px; color: var(--ink); font-size: 11px; }
.filter-row:has(.school-history-filter) + .panel .data-table { min-width: 720px; }
.filter-row:has(.school-history-filter) + .panel .data-table td:first-child { min-width: 140px; max-width: 250px; white-space: normal; overflow-wrap: anywhere; }
.filter-row:has(.school-history-filter) + .panel .data-table td:nth-child(3) { min-width: 180px; max-width: 340px; white-space: normal; overflow-wrap: anywhere; line-height: 1.8; }
.school-request-card time { color: var(--school-copy); font-size: 10px; flex-shrink: 0; }
.panel > .school-request-list { padding: 20px; }
.school-proposals > .school-request-list { padding-top: 0; }
.modal-body .school-message-compose { margin: 0; padding: 0; border: 0; background: transparent; }
.modal-body .school-message-compose textarea { min-height: 155px; }

/* Each 72px row represents one hour, from 07:00 through 22:00. */
.school-calendar-scroll { overflow-x: auto; width: 100%; overscroll-behavior-x: contain; scrollbar-color: #bfb0d0 transparent; }
.school-calendar-grid { display: grid; grid-template-columns: 64px repeat(7, minmax(100px, 1fr)) 58px; grid-template-rows: 64px 1080px; min-width: 822px; width: 100%; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.school-calendar-grid.school-day-view { min-width: 322px; }
.school-calendar-head { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: var(--paper); border-bottom: 1px solid var(--line); color: var(--school-copy); font-size: 10px; font-weight: 400; min-width: 0; }
.school-calendar-head strong { display: block; width: 25px; height: 25px; line-height: 25px; border-radius: 7px; font-size: 15px; font-weight: 500; color: var(--ink); text-align: center; }
.school-calendar-head.is-today { background: var(--school-calendar-today); color: var(--purple); }
.school-calendar-head.is-today strong { background: #7863c7; color: #fff; }
.school-calendar-head:first-child { position: sticky; left: 0; z-index: 4; background: var(--school-axis); }
.school-calendar-head:has(+ .school-period-column) { position: sticky; right: 0; z-index: 4; background: var(--school-axis); }
.school-period-column, .school-time-column { display: grid; grid-template-rows: repeat(15, 72px); height: 1080px; background: var(--school-axis); color: var(--school-copy); font-variant-numeric: tabular-nums; }
.school-period-column { position: sticky; left: 0; z-index: 3; }
.school-period-column > div { display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--school-calendar-line); font-size: 10px; padding: 0 4px; }
.school-period-column > div:last-child { border-bottom: 0; }
.school-period-column > div:nth-child(n+12), .school-time-column > div:nth-child(n+12) { background: var(--school-evening); }
.school-day-column { height: 1080px; position: relative; isolation: isolate; border-left: 1px solid var(--school-calendar-line); background: repeating-linear-gradient(to bottom, transparent 0, transparent 71px, var(--school-calendar-line) 71px, var(--school-calendar-line) 72px), linear-gradient(to bottom, transparent 0, transparent 792px, var(--school-evening) 792px); }
.school-day-column.is-today { background-color: var(--school-calendar-today); }
.school-time-column { position: sticky; right: 0; z-index: 3; border-left: 1px solid var(--school-calendar-line); }
.school-time-column > div { font-size: 10px; line-height: 1; text-align: center; padding-top: 5px; }
.school-end-time { position: absolute; bottom: 3px; left: 0; right: 0; text-align: center; font-size: 10px; line-height: 1; }
.school-calendar-event { position: absolute; left: 3px; right: 3px; padding: 7px 6px; min-width: 0; overflow: hidden; border-radius: 6px; border-left: 3px solid var(--event-ink, var(--purple)); background: var(--event-bg, var(--lavender)); color: var(--event-ink, var(--purple)); text-align: left; line-height: 1.4; transition: filter .15s ease, box-shadow .15s ease; }
.school-calendar-event:hover { filter: saturate(1.13); box-shadow: 0 3px 12px #30213d21; z-index: 2; }
.school-calendar-event > :is(strong, small, span) { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.school-calendar-event > small { font-size: 9px; opacity: .9; margin-bottom: 4px; font-variant-numeric: tabular-nums; letter-spacing: -.2px; }
.school-calendar-event > strong { font-size: 11px; font-weight: 600; margin-bottom: 3px; }
.school-calendar-event > span { font-size: 9px; opacity: .9; margin-top: 2px; }
.school-calendar-event.pending { border: 1px dashed var(--event-ink, var(--purple)); border-left-width: 3px; }
.school-calendar-event.on-leave { background: var(--school-soft); border-left-style: dashed; color: var(--school-copy); }
.school-calendar-event.on-leave > strong { text-decoration: line-through; text-decoration-thickness: 1px; }
.school-day-view .school-calendar-event { padding: 8px 12px; }
.school-day-view .school-calendar-event > strong { font-size: 13px; }
.school-day-view .school-calendar-event > :is(small, span) { font-size: 10px; }
html[data-theme="dark"] .school-calendar-head.is-today strong { background: #b99ae9; color: #241b32; }
html[data-theme="dark"] .school-calendar-scroll { scrollbar-color: #6a557d transparent; }
html[data-theme="dark"] .school-calendar-event:hover { box-shadow: 0 3px 12px #0000004d; }
html[data-theme="dark"] .school-field :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) { background: #171923; color: #e2d7ec; border-color: #4b3e5b; }

@media (min-width: 701px) {
  /* A lone class uses the available width, with identity left and details right. */
  .school-class-grid > .school-class-card:only-child { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 32px; row-gap: 0; padding: 20px 24px; }
  .school-class-grid > .school-class-card:only-child > .between { grid-column: 1; grid-row: 1; margin: 0 0 9px; align-self: start; }
  .school-class-grid > .school-class-card:only-child > h3 { grid-column: 1; grid-row: 2; align-self: center; }
  .school-class-grid > .school-class-card:only-child > p { grid-column: 1; grid-row: 3; align-self: start; margin-top: 5px; }
  .school-class-grid > .school-class-card:only-child > .school-enrollment-summary { grid-column: 1; grid-row: 4; align-self: end; padding-top: 11px; }
  .school-class-grid > .school-class-card:only-child > .capacity { grid-column: 2; grid-row: 1; align-self: start; margin: 0 0 9px; }
  .school-class-grid > .school-class-card:only-child > .progress { grid-column: 2; grid-row: 2; align-self: center; }
  .school-class-grid > .school-class-card:only-child > .class-sessions { grid-column: 2; grid-row: 3; margin-top: 9px; }
  .school-class-grid > .school-class-card:only-child > .course-card-footer { grid-column: 2; grid-row: 4; margin-top: 0; padding-top: 12px; }
}
@media (max-width: 1200px) {
  .school-teacher-group > .school-class-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .school-teacher-group > .school-class-grid { grid-template-columns: 1fr; gap: 13px; }
  .school-catalog-section { margin-bottom: 26px; }
  .school-section-heading { margin-top: 24px; }
  .school-section-heading h2 { font-size: 17px; }
  .school-class-card { padding: 19px; }
  .school-catalog-section > .between h2 { font-size: 15px; }
  .school-proposals > .school-request-list { padding: 0 15px 15px; }
  .school-request-card { padding: 15px; }
  .school-form-grid { gap: 12px; }
  .school-message-compose { padding: 19px; }
  .panel > .school-request-list { padding: 16px; }
  .school-proposals > .school-request-list { padding-top: 0; }
}
@media (max-width: 600px) {
  .subject-tabs { gap: 6px; }
  .teacher-heading { margin-bottom: 11px; }
  .teacher-heading .role-avatar { width: 33px; height: 33px; }
  .school-class-card h3 { font-size: 17px; }
  .school-class-card .course-card-footer .button { font-size: 11px; }
  .school-calendar-scroll::after { content: '左右滑动可查看完整课表'; display: block; padding: 9px 15px; font-size: 10px; color: var(--school-copy); text-align: center; border-top: 1px solid var(--line); }
  .school-calendar-scroll:has(.school-day-view)::after { display: none; }
  .school-notification-tabs { gap: 0; margin-bottom: 19px; }
  .school-notification-tabs button { padding: 11px 10px; font-size: 11px; gap: 5px; }
  .school-notification-tabs svg { width: 14px; height: 14px; }
  .school-request-card > .between > strong { font-size: 12px; }
  .school-request-card > small { font-size: 9px; }
  .school-history-filter { width: 100%; justify-content: space-between; }
  .school-history-filter select { flex: 1; max-width: 200px; }
  .school-roster-row { gap: 10px; }
  .school-roster-row > .button { padding: 7px 8px; }
  .school-roster-row > .button svg { width: 14px; height: 14px; }
  .school-inline-actions .button { padding: 8px 10px; font-size: 10px; }
  .school-form-grid { grid-template-columns: 1fr; gap: 15px; }
  .school-field :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) { font-size: 13px; min-height: 44px; }
  .school-weekly-choice { padding: 13px; }
  .class-choice-card { padding: 13px; gap: 9px; }
  .class-choice-card strong { font-size: 12px; }
  .class-choice-card :is(p, small) { font-size: 10px; }
  .stats.three-stats { gap: 9px; }
  .stats.three-stats .stat { padding: 14px 12px; }
  .stats.three-stats .stat-icon { display: none; }
  .stats.three-stats .stat .value { font-size: 24px; }
  .stats.three-stats .stat .value small { margin-left: 4px; font-size: 9px; }
  .stats.three-stats .stat-foot { font-size: 9px; line-height: 1.7; padding-right: 0; }
  .stats.three-stats .clickable-stat::after { display: none; }
}
@media (max-width: 360px) {
  .school-class-card > .between { flex-wrap: wrap; }
  .school-request-card > .between { flex-wrap: wrap; gap: 8px; }
  .school-day-view { min-width: 322px; }
  .school-calendar-scroll:has(.school-day-view)::after { display: block; }
  .stats.three-stats { gap: 7px; }
  .stats.three-stats .stat { padding: 13px 10px; }
  .stats.three-stats .stat .value { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .clickable-stat, .school-calendar-event { transition: none; }
  .clickable-stat:hover { transform: none; }
}
