.school-headline, .school-practical, .school-chat { margin: 18px 0; }
.school-headline h2, .school-practical h2 { margin-top: 0; }
.school-headline p { margin: 6px 0; }
.school-correction { margin: 6px 0; font-size: .8rem; }
.school-correction summary { color: var(--o-muted); text-decoration: underline; cursor: pointer; }
.school-correction form { padding: 12px 0; max-width: 36rem; }
.school-correction label, .school-chat label { display: block; margin: 8px 0; }
.school-correction textarea, .school-correction input, .school-chat textarea { display: block; width: 100%; box-sizing: border-box; padding: 10px; font: inherit; border: 1px solid var(--o-rule, #aaa); border-radius: 6px; background: var(--o-paper, #fff); color: inherit; }
.school-correction button, .school-chat button { padding: 10px 14px; min-height: 44px; font: inherit; cursor: pointer; border-radius: 6px; border: 1px solid var(--o-rule, #aaa); color: inherit; background: var(--o-paper, #fff); }
.school-correction button:disabled, .school-chat button:disabled { opacity: .6; }
.school-chat > summary, .school-overviews > summary, .school-score-details > summary { font-weight: 600; cursor: pointer; padding: 12px 0; }
.school-chat-suggestions { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.school-chat-suggestions button { text-align: left; }
.school-chat-messages { overflow-wrap: anywhere; }
.school-chat-messages > div { padding: 12px 0; border-bottom: 1px solid var(--o-rule, #ddd); }
.school-chat-messages table { display: block; overflow-x: auto; }
.school-practical dt { font-weight: 600; margin-top: 12px; }
.school-practical dd { margin: 4px 0 10px; }
.admissions-summary { font-size: .85rem; line-height: 1.5; }
.admissions-summary p { margin: 8px 0; }
.admissions-order summary { cursor: pointer; padding: 8px 0; }
.admissions-order li { margin-bottom: 8px; }
.school-body-content .school-actions, .school-body-content .school-actions-note { display: none; }
@media (min-width: 901px) {
  .school-answers { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
  .school-body-content .school-actions, .school-body-content .school-actions-note { display: flex; }
}
@media (max-width: 900px) {
  .school-hero { padding-bottom: 0; }
  .school-hero h1 { font-size: 1.6rem; margin-bottom: 8px; }
  .school-hero .subtitle { font-size: .85rem; margin: 6px 0; }
  .school-hero .school-badges { margin-top: 8px; gap: 5px; }
  .school-headline { margin: 12px 0; }
  .school-headline h2 { font-size: 1rem; }
  .school-headline .source-note { font-size: .7rem; }
  .school-answers .chance-card { padding: 16px; }
  .school-answers .chance-section { margin: 12px 0; }
}
/* Long Ofsted visit badges ("Ungraded visit November 2024: standards
   maintained") must wrap: unwrapped they widened the page past a 390px phone
   and pushed the fixed action bar's Map button off screen. */
.school-hero .school-badges { flex-wrap: wrap; }
.school-hero .badge { white-space: normal; max-width: 100%; }
.school-chat-chance { display: inline-block; padding: 10px 14px; min-height: 44px; box-sizing: border-box; border: 1px solid var(--o-rule, #aaa); border-radius: 6px; }
