/* Screen-only comfort layer. Printed school reports retain their A5 layout. */
@media screen{
body{font-size:16px;line-height:1.55}
#page :is(input:not([type=checkbox]):not([type=radio]),select,textarea),#gs-form :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:16px;min-height:48px;line-height:1.45}
#page textarea,#gs-form textarea{min-height:112px;resize:vertical}
#page label,#gs-form label{font-size:15px;font-weight:600;color:#24483f}
#page :is(button,.button),#gs-form button{min-height:46px;padding:11px 16px}
#page :is(button,a) svg,.sidebar .nav-item svg{width:23px;height:23px;flex-shrink:0}
.sidebar .nav-item{font-size:15px;line-height:1.35;min-height:48px}
#page :is(td,p){line-height:1.6}#page th{font-size:13px;letter-spacing:.04em}
#page :is(.subtitle,small){color:#526a70}
:where(button,a,input,select,textarea,summary):focus-visible{outline:3px solid #177c7b;outline-offset:3px}
#gs-form :is(input,select,textarea):focus{border-color:#177c7b;box-shadow:0 0 0 3px #177c7b18}
#page .w40-profile{display:block!important;position:relative;padding:0!important;border:1px solid #d8e4df;border-radius:24px;overflow:hidden;background:#fff;color:#173e36;margin-bottom:26px}
#page .w40-cover{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:20px 26px 34px;background:#145b50;color:#fff}
.w40-cover>span:first-child{display:flex;gap:10px;align-items:center;font-size:16px;font-weight:650}
.w40-cover>span:last-child{background:#ffe58b;color:#344b32;padding:6px 12px;border-radius:20px;font-size:13px;font-weight:700}
#page .w40-profile-body{display:flex;align-items:center;gap:24px;padding:0 26px 22px}
.w40-avatar{width:112px;height:112px;flex:0 0 112px;border:5px solid white;border-radius:50%;margin-top:-20px;background:#ffedaf;display:grid;place-items:center;overflow:hidden;box-shadow:0 3px 12px #163e3514}
.w40-avatar img{width:100%;height:100%;object-fit:cover}.w40-avatar>span{font-size:34px;font-weight:750;color:#185b4e}
.w40-identity{flex:1;min-width:0;padding-top:18px}
#page .w40-identity h2{font-size:32px!important;line-height:1.15!important;letter-spacing:-.6px;margin:8px 0;color:#163d34;overflow-wrap:anywhere}
.w40-identity .eyebrow{font-size:12px;letter-spacing:.1em;color:#536754;font-weight:750}
.w40-identity p{margin:0 0 12px!important;color:#52685e;font-size:15px}
.w40-contact{display:flex;flex-wrap:wrap;gap:10px 18px}.w40-contact a{min-width:0;max-width:100%;display:inline-flex;align-items:center;gap:8px;min-height:44px;overflow-wrap:anywhere;font-size:16px;color:#155e53;text-decoration:none}.w40-contact>span{font-size:14px;color:#66796e}
.w40-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end;max-width:360px;padding-top:18px}.w40-actions>a{display:inline-flex;align-items:center;gap:8px;text-decoration:none;border:1px solid #d1dfd7;border-radius:12px;color:#164e43}
.w40-help{padding:14px 26px;border-top:1px solid #e4ebe6;background:#f7f9f5;margin:0!important}.w40-help summary{font-size:14px;color:#405d4d;min-height:28px;cursor:pointer}.w40-schedule{padding:12px 26px}
@media(max-width:1024px){
#page .w40-profile-body{flex-wrap:wrap}.w40-actions{width:100%;max-width:none;justify-content:flex-start;padding-top:0}.w40-identity{flex-basis:calc(100% - 150px)}
}
@media(max-width:760px){
#page .w40-cover{padding:18px 18px 32px;align-items:flex-start}.w40-cover>span:first-child{font-size:14px}.w40-cover>span:last-child{font-size:11px;white-space:nowrap}
#page .w40-profile-body{align-items:flex-start;flex-wrap:wrap;padding:0 18px 18px;gap:12px}.w40-avatar{width:86px;height:86px;flex-basis:86px;margin-top:14px}.w40-avatar>span{font-size:28px}.w40-identity{padding-top:12px;flex-basis:calc(100% - 100px)}
#page .w40-identity h2{font-size:25px!important}.w40-identity .eyebrow{font-size:10px}.w40-contact{flex-direction:column;gap:2px}.w40-contact a{font-size:15px}.w40-actions{width:100%;max-width:none;justify-content:flex-start;padding-top:8px}.w40-actions :is(a,button){flex:1 1 140px;justify-content:center}.w40-help{padding:12px 18px}
#page input[type=checkbox],#page input[type=radio],#gs-form input[type=checkbox],#gs-form input[type=radio]{min-height:22px;width:22px;height:22px}
}
}
@media print{.w40-cover,.w40-actions,.w40-help,.w40-contact{display:none!important}.w40-profile{break-inside:avoid}.w40-avatar{display:none}}
