/* School-only additions: Academy keeps its established layout. */
body.school .school-home-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:28px}
body.school .school-home-actions>.card{display:flex;flex-direction:column;align-items:flex-start;gap:14px}
body.school .school-home-actions>.card>button,body.school .school-home-actions>.card>.actions{margin-top:auto}
body.school .school-progress-metrics{grid-template-columns:repeat(3,minmax(0,1fr));margin:24px 0}
body.school .school-progress-metrics small{display:block;margin-top:10px;color:var(--muted,#666)}
body.school .school-support{padding:28px 0;margin-top:28px;border-top:1px solid var(--line,#ddd)}
body.school .school-support p{margin:12px 0 18px}
body.school .card,body.school .primary,body.school .secondary,body.school .badge,body.school .lesson-question-count strong,body.school input,body.school select,body.school textarea{border-radius:4px}
body.school .school-direction{display:block;min-width:210px}
body.school .school-direction select{width:100%;height:100%}
body.school .filters select{text-align:center;min-height:48px}
body.school .school-project{margin:0 0 24px}
body.school .school-project-instructions{white-space:pre-wrap;line-height:1.8;margin:20px 0}
body.school .school-project-meta{display:flex;flex-wrap:wrap;gap:10px 24px;color:var(--muted,#666);margin-bottom:22px}
body.school .school-project-form textarea{width:100%;resize:vertical;line-height:1.7;min-height:180px}
body.school .school-feedback,body.school .school-callout{padding:18px 20px;margin:16px 0;border-left:3px solid var(--gold,#bc922d);background:rgba(219,173,65,.09)}
body.school .school-feedback p{white-space:pre-wrap;line-height:1.7;margin-top:10px}
body.school .school-project-help{font-size:13px}
body.school .school-save-state{min-height:1.5em}
body.school .school-interview p,body.school .school-interview ul{margin:16px 0}
body.school .school-certificate-conditions{margin-top:24px;border-top:1px solid var(--line,#ddd);padding-top:18px}
body.school .school-certificate-conditions summary{cursor:pointer;font-weight:700}
body.school #school-activity{display:grid;gap:24px;margin-top:24px}
body.school .school-game-result{padding:20px 0;border-bottom:1px solid var(--line,#ddd)}
body.school .school-case-progress .row{gap:15px}
body.school .school-case-progress time{white-space:nowrap}
body.school .school-case-progress .list{margin-top:20px}
body.school .school-admin-review{padding:18px 0;border-top:1px solid var(--line,#ddd)}
@media(max-width:760px){body.school .school-home-actions,body.school .school-progress-metrics{grid-template-columns:1fr}body.school .filters{display:flex;flex-direction:column}body.school .school-direction{width:100%}body.school .school-project .row,body.school .school-case-progress .row{align-items:flex-start;flex-direction:column}body.school .school-project-form .actions{align-items:stretch;flex-direction:column}body.school .school-home-actions{gap:16px}body.school .school-project-form input{min-width:0;width:100%}}

body.school .school-feedback pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;max-height:260px;overflow:auto}

body.school .school-project-history{margin-top:20px;border-top:1px solid var(--line,#ddd);padding-top:18px}body.school .school-project-history summary{cursor:pointer;font-weight:600}
