.entry-choices { grid-template-columns: repeat(3,minmax(0,1fr)); }
.entry-inner { max-width: 1140px; }
.school-only { display: none; }
body[data-journey="school"] .school-only { display: block; }
body[data-journey="school"] .age-chip, body[data-journey="school"] .app .club-chip,
body[data-journey="school"] .only-arena, body[data-journey="school"] .only-perf { display: none !important; }
.school-workspace { padding: var(--space-4); margin-bottom: var(--space-4); }
.school-workspace h1 { font-size: var(--text-lg); margin: 0; }
.school-workspace p { margin: var(--space-2) 0; }
.school-actions { display: flex; flex-wrap: wrap; align-items: end; gap: var(--space-2); }
.school-actions label, .school-select-label { display: flex; flex-direction: column; gap: var(--space-1); font-size: var(--text-xs); min-width: 0; }
.school-actions input, .school-actions select, .school-select-label select { border: 1px solid var(--color-border); background: var(--color-surface); color: var(--color-text); border-radius: 6px; padding: var(--space-2); max-width: 100%; }
#schoolLanes { width: 70px; }
.school-notice { padding: var(--space-3); border: 1px solid var(--color-border); border-left: 3px solid var(--color-primary); background: var(--color-surface-2); border-radius: 6px; white-space: pre-wrap; font-size: var(--text-sm); margin-top: var(--space-3); overflow-wrap: anywhere; }
.school-summary { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: var(--space-3); margin: var(--space-4) 0; }
.school-summary > div { border: 1px solid var(--color-border); border-radius: 8px; padding: var(--space-3); }
.school-summary strong { display:block; font-size:var(--text-lg); }
.school-summary span { color:var(--color-text-muted); font-size:var(--text-xs); }
.school-upload { position: relative; cursor: pointer; }
.school-upload input { position:absolute; inset:0; width:100%; opacity:0; cursor:pointer; }
.school-template-details { margin-top:var(--space-4); padding:var(--space-4); }
.school-template-details summary { cursor:pointer; font-weight:600; }
.school-table-hint { padding: 0 var(--space-4); }
.school-data th { min-width:130px; }
.school-data td { max-width:250px; overflow-wrap:anywhere; }
.school-data th:first-child { min-width:150px; }
.school-empty { padding:var(--space-8); border:1px dashed var(--color-border); border-radius:10px; margin-bottom:var(--space-4); }
.school-empty h2 { font-size:var(--text-lg); }
.school-dialog { background:var(--color-surface); color:var(--color-text); border:1px solid var(--color-border); border-radius:12px; width:min(850px,calc(100vw - 32px)); max-height:85vh; overflow:auto; padding:var(--space-5); }
.school-dialog::backdrop { background:rgb(0 15 30 / .65); }
.school-dialog-head { display:flex; align-items:center; justify-content:space-between; gap:var(--space-4); margin-bottom:var(--space-4); }
.school-dialog h2 { font-size:var(--text-lg); margin:0; }
.school-dialog p { margin:var(--space-3) 0; }
.school-form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:var(--space-4); }
.school-dialog label { display:flex; flex-direction:column; gap:var(--space-1); font-weight:600; font-size:var(--text-sm); min-width:0; }
.school-dialog input,.school-dialog select { width:100%; padding:var(--space-2); border-radius:6px; border:1px solid var(--color-border); background:var(--color-surface-2); color:var(--color-text); }
.school-dialog small { font-weight:400; color:var(--color-text-muted); font-size:var(--text-xs); }
.school-error { color:var(--color-error,#a12c7b); white-space:pre-wrap; }
#schoolPrint { display:none; }
@media(max-width:760px) {
  .entry-choices { grid-template-columns:minmax(0,1fr); }
  .school-form-grid { grid-template-columns:minmax(0,1fr); }
  .school-summary { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .school-actions { align-items:stretch; }
  .school-actions label { max-width:100%; }
}
@media print {
  body.school-print #printPack { display:none !important; }
  body.school-print #schoolPrint { display:block !important; }
  #schoolDialog { display:none !important; }
}
