@font-face{font-family:DM Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/dm-sans-latin-400-normal-CW0RaeGs.woff2)format("woff2"),url(/assets/dm-sans-latin-400-normal-BwCSEQnW.woff)format("woff")}@font-face{font-family:DM Sans;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/dm-sans-latin-500-normal-B9HHJjqV.woff2)format("woff2"),url(/assets/dm-sans-latin-500-normal-Dr3UlScf.woff)format("woff")}@font-face{font-family:DM Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/dm-sans-latin-600-normal-Aqo67rzb.woff2)format("woff2"),url(/assets/dm-sans-latin-600-normal-BmdmIIQ2.woff)format("woff")}@font-face{font-family:DM Sans;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/dm-sans-latin-700-normal-DvUfVpUG.woff2)format("woff2"),url(/assets/dm-sans-latin-700-normal-CUSSCpQX.woff)format("woff")}@font-face{font-family:Noto Sans Thai;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/noto-sans-thai-thai-400-normal-BEOmKAI1.woff2)format("woff2"),url(/assets/noto-sans-thai-thai-400-normal-Dxb_unuU.woff)format("woff")}@font-face{font-family:Noto Sans Thai;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/noto-sans-thai-thai-500-normal-CU_X86GQ.woff2)format("woff2"),url(/assets/noto-sans-thai-thai-500-normal-BOGXO2tw.woff)format("woff")}@font-face{font-family:Noto Sans Thai;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/noto-sans-thai-thai-600-normal-Cs73sVjl.woff2)format("woff2"),url(/assets/noto-sans-thai-thai-600-normal-CmgB8_JK.woff)format("woff")}:root{color:#243830;font-synthesis:none;--green:#17654e;--line:#dce3dc;--border:var(--line);--muted:#63726b;--amber:#875b0d;--red:#a63734;--blue:#355e83;--shadow:0 2px 5px #23373105;background:#f4f6f3;font-family:DM Sans,Noto Sans Thai,system-ui,sans-serif;font-size:14px;line-height:1.5}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit;color:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;background:#fff;border:1px solid #ccd7ce;border-radius:6px;justify-content:center;align-items:center;gap:8px;min-height:36px;padding:7px 12px;font-weight:550;line-height:1.4;display:inline-flex}button:hover{background:#edf3ed;border-color:#8eac9a}button:disabled{opacity:.55;cursor:not-allowed}button.primary{background:var(--green);color:#fff;border-color:var(--green)}button.primary:hover{background:#114e3c}button.quiet,button.text-button{background:0 0;border-color:#0000}button.text-button{color:var(--green);padding-left:0}button.icon-button{background:0 0;border-color:#0000;padding:8px}a{color:var(--green);text-decoration:none}a:hover{text-decoration:underline}a,button{touch-action:manipulation}svg{vertical-align:middle;flex-shrink:0}:focus-visible{outline-offset:3px;outline:3px solid #bb9038}input,select,textarea{background:#fff;border:1px solid #cbd6cd;border-radius:5px;min-width:0;max-width:100%;min-height:38px;padding:9px 10px}textarea{resize:vertical;min-height:96px}input::placeholder,textarea::placeholder{color:#718178}input[type=checkbox]{width:18px;min-height:18px;accent-color:var(--green)}h1,h2,h3,p{margin-top:0}h1{letter-spacing:-.8px;margin-bottom:8px;font-size:29px;font-weight:650;line-height:1.2}h2{letter-spacing:-.25px;margin-bottom:12px;font-size:17px;font-weight:650}h3{margin-bottom:8px;font-size:15px}p{margin-bottom:14px}small{font-size:12px}strong{font-weight:650}kbd{border:1px solid var(--line);color:var(--muted);white-space:nowrap;border-radius:4px;align-items:center;gap:3px;padding:2px 5px;font:11px inherit;display:inline-flex}hr{border:0;border-top:1px solid var(--line);margin:20px 0}.muted{color:var(--muted)}.small{font-size:12px}.regular{font-weight:450}.red-text{color:var(--red)}.amber-text{color:var(--amber)}.eyebrow{letter-spacing:1px;text-transform:uppercase;color:var(--muted);margin-bottom:8px;font-size:11px;font-weight:650}.padding{padding:18px}.wide{width:100%}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.skip-link{z-index:100;background:#fff;padding:10px 16px;position:fixed;top:-80px;left:250px}.skip-link:focus{top:10px}.app-shell{grid-template-columns:224px minmax(0,1fr);min-height:100dvh;display:grid}.sidebar{border-right:1px solid var(--line);z-index:20;background:#fff;flex-direction:column;height:100dvh;padding:24px 15px 16px;display:flex;position:sticky;top:0}.logo-button{border:0;justify-content:flex-start;margin-bottom:28px;padding:0 9px;background:0 0!important}.logo-button img{width:172px;height:auto}.context-control{padding:0 9px 22px}.context-control label{letter-spacing:1px;color:var(--muted);margin-bottom:6px;font-size:10px;font-weight:650;display:block}.context-control select{background:#f5f7f3;width:100%;padding:7px 9px;font-weight:600}.sidebar nav{flex-direction:column;gap:3px;display:flex;overflow:auto}.sidebar nav a{color:#54665b;border-radius:6px;align-items:center;gap:11px;min-height:40px;padding:10px 12px;font-size:13px;font-weight:550;display:flex}.sidebar nav a:hover{background:#f0f5ef;text-decoration:none}.sidebar nav a.active{color:#1d6046;background:#e6f0e8;font-weight:650}.sidebar-bottom{margin-top:auto;padding-top:20px}.sidebar-bottom>button{width:100%;color:var(--muted);border:0;justify-content:flex-start;font-size:12px}.environment-label{border-top:1px solid var(--line);color:var(--green);gap:8px;margin:16px 7px 0;padding-top:14px;font-size:11px;display:flex}.environment-label small{color:var(--muted);margin-top:2px;font-size:10px;display:block}.workspace{flex-direction:column;min-width:0;display:flex}.topbar{border-bottom:1px solid var(--line);background:#fffd;justify-content:space-between;align-items:center;gap:22px;min-height:68px;padding:14px 30px;display:flex}.topbar-right{align-items:center;gap:12px;display:flex}.global-search{color:var(--muted);background:0 0;border:0;flex:1;justify-content:flex-start;max-width:490px;padding-left:0;font-weight:450}.global-search kbd{margin-left:auto}.avatar,.pupil-avatar{color:#365a41;background:#e6ece2;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;font-size:11px;font-weight:650;display:inline-flex}.preview-bar{border-bottom:1px solid var(--line);color:#687568;background:#f9faf7;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:18px;padding:7px 30px;font-size:11px;display:flex}.preview-bar.previewing{color:#775513;background:#fff8e9;border-color:#e9d3a8}.preview-bar span,.preview-bar label{align-items:center;gap:8px;display:flex}.preview-bar select{max-width:195px;min-height:28px;padding:3px 7px;font-size:11px}.workspace main{outline:none;flex:1;width:100%;max-width:1800px;margin:auto;padding:30px}.workspace footer{border-top:1px solid var(--line);color:var(--muted);justify-content:space-between;gap:15px;margin-top:auto;padding:18px 30px;font-size:10px;display:flex}.mobile-only,.mobile-context{display:none}.page-title{justify-content:space-between;align-items:center;gap:20px;margin:0 0 26px;display:flex}.page-title p:last-child{margin-bottom:0}.actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.panel{border:1px solid var(--line);box-shadow:var(--shadow);background:#fff;border-radius:8px;margin-bottom:20px;overflow:hidden}.panel-heading{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:16px 18px;display:flex}.panel-heading h2{margin:0;font-size:15px}.panel-caption{color:var(--muted);border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:10px;padding:14px 18px;font-size:12px;display:flex}.panel-caption>span{color:#344f40;font-weight:600}.banner{border:1px solid;border-radius:6px;align-items:flex-start;gap:10px;margin:0 0 20px;padding:13px 15px;font-size:13px;display:flex}.banner p:last-child{margin:0}.banner.amber{color:#785312;background:#fff8e9;border-color:#ecd6a9}.banner.red{color:#8f332f;background:#fff1ee;border-color:#eac2bb}.banner.green{color:#265f37;background:#edf7ee;border-color:#bbd5bd}.banner.blue{color:#355b7e;background:#eff5fb;border-color:#c5d7e7}.badge{color:#58665d;white-space:normal;background:#edf0ec;border-radius:4px;align-items:center;max-width:100%;padding:3px 7px;font-size:11px;font-weight:600;line-height:1.5;display:inline-flex}.badge.green{color:#276448;background:#e9f3e9}.badge.amber{color:#805610;background:#fff1d2}.badge.red{color:#a03430;background:#fbe9e5}.badge.blue{color:#325f86;background:#eaf2fa}.badge-row{flex-wrap:wrap;gap:6px;margin-top:10px;display:flex}.freshness{color:#617166;align-items:center;gap:4px;margin-top:4px;font-size:10px;display:flex}.freshness.stale{color:#986819}.empty{text-align:center;color:var(--muted);padding:40px 24px}.empty h3{color:#354e40;font-weight:550}.empty p:last-child{margin:0}.loading{color:var(--muted);justify-content:center;align-items:center;gap:10px;padding:28px;display:flex}.spinner{border:2px solid var(--line);border-top-color:var(--green);border-radius:50%;width:16px;height:16px;animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.office-layout{grid-template-columns:minmax(0,1fr) 270px;gap:24px;display:grid}.workbench-search,.search-input{border-bottom:1px solid var(--line);color:var(--muted);align-items:center;gap:10px;padding:13px 18px;display:flex}.workbench-search input,.search-input input{outline-offset:0;background:0 0;border:0;flex:1;padding:7px 0}.workbench-search input{font-size:15px}.filter-tabs{border-bottom:1px solid var(--line);background:#fafbf8;flex-wrap:wrap;gap:5px;padding:14px 16px;display:flex}.filter-tabs button{color:#596b5f;background:0 0;border:1px solid #0000;gap:5px;min-height:32px;padding:6px 8px;font-size:11px}.filter-tabs button span{background:#e9eee7;border-radius:4px;padding:1px 4px;font-size:10px}.filter-tabs button[aria-pressed=true]{color:#185c43;background:#fff;border-color:#9cb8a5}.filter-tabs button[aria-pressed=true] span{background:var(--green);color:#fff}.followups{padding:2px 18px}.followups>a,.followups>div{border-bottom:1px solid var(--line);padding:16px 0;display:block}.followups>:last-child{border:0}.followups p{margin:6px 0 0;font-size:12px}.followups small{color:var(--muted);margin-top:4px;display:block}.compact-list{margin:0;padding:0;list-style:none}.compact-list li,.compact-list>a{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:12px 18px;display:flex}.compact-list>:last-child{border:0}.compact-list small{color:var(--muted);display:block}.compact-list button{min-height:30px;padding:4px 7px;font-size:11px}.table-wrap{overflow-x:auto}table{border-collapse:collapse;text-align:left;width:100%;font-size:12px}th{letter-spacing:.6px;text-transform:uppercase;color:var(--muted);border-bottom:1px solid var(--line);background:#fafbf9;padding:10px 14px;font-size:10px;font-weight:650}td{vertical-align:top;border-bottom:1px solid #e7ebe5;padding:14px;line-height:1.5}tr:last-child td{border-bottom:0}tbody tr:hover{background:#fafcf8}td:first-child,th:first-child{padding-left:18px}td small{color:var(--muted);margin-top:3px;font-size:10px;display:block}td .badge{max-width:140px}.pupil-name{color:#284733;font-size:13px;font-weight:650}.pupil-table td:nth-child(3){min-width:100px;max-width:170px}.pupil-table td:nth-child(4){min-width:145px}.toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;display:flex}.toolbar .search-input{border:1px solid var(--line);background:#fff;border-radius:6px;min-width:260px;padding:0 12px}.toolbar label{color:var(--muted);align-items:center;gap:8px;font-size:12px;display:flex}.pagination{color:var(--muted);justify-content:flex-end;align-items:center;gap:12px;margin:16px 0;display:flex}.back-link{align-items:center;gap:6px;margin-bottom:20px;font-size:12px;display:inline-flex}.state-summary{border:1px solid var(--line);background:#fff;border-radius:8px;grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:22px;display:grid}.state-summary>div{border-right:1px solid var(--line);padding:21px 22px}.state-summary>div:last-child{border:0}.state-summary h2{margin-bottom:8px;font-size:19px}.state-summary p:last-child{margin-bottom:0}.profile-layout{grid-template-columns:170px minmax(0,1fr);gap:24px;display:grid}.record-nav{flex-direction:column;align-self:start;gap:3px;display:flex;position:sticky;top:20px}.record-nav button{color:var(--muted);background:0 0;border:0;justify-content:flex-start;font-size:13px}.record-nav button[aria-current=page],.record-nav button.active{color:var(--green);background:#e6eee2}.profile-body{min-width:0}.facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:0;padding:18px;display:grid}.facts dt{color:var(--muted);margin-bottom:4px;font-size:11px}.facts dd{margin:0;font-weight:550}.issue-row{border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:12px;padding:16px 18px;display:flex}.issue-row>div{flex:1}.issue-row p{color:var(--muted);margin:4px 0 0;font-size:12px}.issue-row>button{font-size:11px}.contact-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.contact-grid .panel{padding:18px}.contact-grid .facts{gap:14px;padding:0}.contact-grid .facts dd{font-size:12px}.timeline{margin:0;padding:0 18px;list-style:none}.timeline>li,.timeline>div{border-bottom:1px solid var(--line);gap:12px;padding:18px 0;display:flex;position:relative}.timeline>:last-child{border:0}.timeline-dot{background:#93ad96;border-radius:50%;flex-shrink:0;width:7px;height:7px;margin-top:7px}.timeline p{margin:4px 0;font-size:12px}.timeline small{color:var(--muted)}.schedule-list{padding:0 18px}.schedule-list>div,.schedule-list>a{border-bottom:1px solid var(--line);align-items:center;gap:20px;padding:18px 0;display:flex}.schedule-list>:last-child{border:0}.schedule-list>div>div:nth-child(2){flex:1}.schedule-list p{color:var(--muted);margin:4px 0 0;font-size:12px}.schedule-time{width:105px;color:var(--muted);flex-shrink:0;font-size:12px}.schedule-list h3{margin:0}.register-toolbar{border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:14px;padding:14px 18px;display:flex}.register-toolbar p{color:var(--muted);flex:1;margin:0;font-size:12px}.register-table td{vertical-align:middle}.register-table input,.register-table select{min-height:34px;padding:6px 8px;font-size:12px}.register-table input:not(.number-input){width:100%;min-width:140px}.number-input{width:70px}.register-table tr.changed{background:#fffbef}.save-bar{z-index:5;background:#fff;border:1px solid #b5cbb9;border-radius:8px;justify-content:space-between;align-items:center;gap:15px;padding:14px 18px;display:flex;position:sticky;bottom:14px;box-shadow:0 4px 20px #24383015}.save-bar>div{align-items:center;gap:10px;display:flex}.save-bar p{margin:0}.medical-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;display:grid}.medical-grid>.panel{padding:20px}.medical-grid .banner{margin-top:18px}.card-top{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.card-top h2{margin:0 0 4px}.clinical-note{white-space:pre-wrap;background:#f5f6f8;border-left:3px solid #9facc1;margin:16px 0;padding:12px;font-size:13px}.clinical-note small{color:#65718b;margin-bottom:6px;font-size:10px;display:block}.action-list{margin:0;padding:0;list-style:none}.action-list>div,.action-list>li{border-bottom:1px solid var(--line);align-items:center;gap:20px;padding:18px;display:flex}.action-list>:last-child{border-bottom:0}.action-list>div>div,.action-list>li>div{flex:1}.action-list p{color:var(--muted);margin:4px 0;font-size:12px}.action-list small{color:var(--muted)}dialog{border:1px solid var(--line);width:650px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 60px);color:inherit;background:#fff;border-radius:12px;padding:24px;box-shadow:0 18px 65px #16351d38}dialog::backdrop{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#162a2380}.dialog-head{justify-content:space-between;align-items:center;gap:20px;margin:0 0 20px;display:flex}.dialog-head h2{margin:0;font-size:21px}.dialog-actions{border-top:1px solid var(--line);justify-content:flex-end;align-items:center;gap:10px;margin-top:22px;padding-top:16px;display:flex}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:16px;display:grid}.field{flex-direction:column;gap:6px;min-width:0;margin-bottom:16px;font-size:12px;font-weight:550;display:flex}.field small{color:var(--muted);font-size:11px;font-weight:400}.field:has(textarea){grid-column:1/-1}.search-input{border:1px solid #a8bda9;border-radius:6px;margin-bottom:12px;padding:5px 12px}.search-input input{font-size:16px}.search-results{margin-top:20px}.search-results>button{text-align:left;border:0;border-bottom:1px solid var(--line);background:#fff;border-radius:0;justify-content:flex-start;gap:12px;width:100%;padding:15px 0;font-weight:450;display:flex}.search-results>button:hover{background:#f6faf4}.search-results strong{font-size:13px}.search-results small{color:var(--muted);margin-top:3px;font-size:11px;display:block}.search-results .search-state{text-align:right;margin-left:auto}.search-state .freshness{justify-content:flex-end}.site-views{gap:14px;display:grid}.site-views a{border:1px solid var(--line);color:inherit;border-radius:8px;padding:18px}.site-views a:hover{background:#f8fbf6;border-color:#7ea289;text-decoration:none}.site-views h3{margin-top:10px}.site-views p{color:var(--muted);font-size:12px}.site-views strong{color:var(--green);font-size:12px}.login-page{grid-template-columns:1fr 420px;align-items:center;gap:90px;max-width:1100px;min-height:100dvh;margin:auto;padding:60px 40px;display:grid}.login-intro .brand-large{margin-bottom:45px;display:block}.brand-large{width:220px;max-width:100%}.login-intro h1{letter-spacing:-1.7px;margin:20px 0;font-size:42px}.login-intro p{max-width:370px;color:var(--muted);margin-bottom:40px;font-size:16px}.login-intro>a{font-size:12px}.login-page>.panel{padding:32px}.login-page>.panel:only-child{grid-column:1/-1;justify-self:center;max-width:600px}.login-page>.panel h2{font-size:24px}.login-page>.panel .primary{margin:18px 0}.fine-print{color:var(--muted);border-top:1px solid var(--line);padding-top:20px;font-size:11px}.state-summary>section{border-right:1px solid var(--line);flex-direction:column;align-items:flex-start;gap:6px;padding:21px 22px;display:flex}.state-summary>section:last-child{border:0}.state-summary>section>strong{font-size:18px;line-height:1.4}.state-summary>section>small{color:var(--muted);font-size:11px}.state-summary .eyebrow{margin-bottom:4px}.profile-layout{grid-template-columns:170px minmax(0,1fr) 210px}.record-nav button[aria-pressed=true]{color:var(--green);background:#e6eee2}.record-nav select{display:none}.facts{display:block}.facts dt{margin-top:13px}.facts dt:first-child{margin-top:0}.contact-grid{padding:18px}.contact-grid article{border:1px solid var(--line);border-radius:6px;padding:16px}.schedule-list>article{border-bottom:1px solid var(--line);align-items:center;gap:20px;padding:18px 0;display:flex}.schedule-list>article>div:nth-child(2){flex:1}.schedule-time small{display:block}.medical-grid{margin:0;padding:18px}.medical-grid>article{border:1px solid var(--line);border-radius:8px;padding:18px}.medical-grid>article h2{margin-top:14px}.medical-grid>article.awaiting{border-top:3px solid #be8c29}.medical-grid>article p:last-child{margin-bottom:0}.action-list>article{border-bottom:1px solid var(--line);align-items:center;gap:20px;padding:18px;display:flex}.action-list>article>div{flex:1}.action-list>article:last-child{border:0}.followups strong{margin-top:5px;display:block}.followups span{font-size:11px}.panel>.toolbar{border-bottom:1px solid var(--line);margin:0;padding:16px 18px}.save-bar .field{flex:1;margin:0}.save-bar .field input{max-width:480px}.timeline .superseded{opacity:.65}@media (width<=1300px){.profile-layout{grid-template-columns:160px minmax(0,1fr)}.profile-layout>aside{grid-column:2}.profile-layout>aside .facts{grid-template-columns:120px 1fr;gap:8px;display:grid}.profile-layout>aside .facts dt{margin:0}}@media (width<=720px){.state-summary>section{border-right:0;border-bottom:1px solid var(--line);padding:16px}.profile-layout{display:block}.contact-grid{padding:14px}.schedule-list>article{flex-wrap:wrap;gap:10px}.medical-grid{padding:14px}.medical-grid>article{padding:16px}.action-list>article{flex-wrap:wrap;gap:12px}.action-list>article>div{min-width:100%}}@media (width>=1500px){.pupil-table td{padding-top:17px;padding-bottom:17px}.office-layout{grid-template-columns:minmax(0,1fr) 300px}}@media (width<=1250px){.office-layout{grid-template-columns:minmax(0,1fr)}.workbench-rail{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.workbench-search kbd{display:none}.workspace main{padding:24px}.topbar{padding:12px 24px}.topbar-right{gap:8px}.quick-action{font-size:12px}.preview-bar{padding-right:24px}.global-search{font-size:12px}}@media (width<=950px){.app-shell{grid-template-columns:194px minmax(0,1fr)}.sidebar{padding-left:10px;padding-right:10px}.logo-button img{width:154px}.topbar{gap:12px}.topbar-right>.avatar,.global-search kbd{display:none}.page-title{flex-direction:column;align-items:flex-start;gap:14px}.contact-grid,.medical-grid{grid-template-columns:1fr}.state-summary>div{padding:16px}.state-summary h2{font-size:16px}.profile-layout{grid-template-columns:135px minmax(0,1fr);gap:18px}.record-nav button{font-size:12px}.register-table th,.register-table td{padding:9px}.login-page{grid-template-columns:1fr 370px;gap:40px}.login-intro h1{font-size:34px}}@media (width<=720px){:root{font-size:14px}.app-shell{display:block}.sidebar{width:235px;height:calc(100dvh - 62px);padding-top:24px;display:none;position:fixed;top:62px;left:0;box-shadow:10px 0 30px #16351d22}.sidebar.open{display:flex}.topbar{z-index:30;background:#fff;gap:7px;height:62px;padding:10px 14px;position:sticky;top:0}.mobile-only{display:inline-flex}.mobile-context{color:#36553e;background:#e8efe5;justify-content:space-between;align-items:center;padding:9px 18px;font-size:12px;font-weight:600;display:flex}.mobile-context small{font-size:10px;font-weight:400}.global-search{font-size:12px}.topbar-right{gap:0}.quick-action span{display:none}.quick-action{padding:8px}.preview-bar{justify-content:flex-start;gap:8px;padding:8px 18px;font-size:10px}.preview-bar select{max-width:166px}.preview-bar>strong{display:none}.workspace main{padding:22px 16px}.workspace footer{padding:16px;font-size:9px;display:block}.workspace footer span{margin-top:5px;display:block}h1{font-size:26px}.page-title{margin-bottom:22px}.page-title .actions button{font-size:12px}.badge{font-size:10px}.panel{border-radius:7px}.office-layout{gap:16px}.workbench-rail{display:block}.workbench-search{padding:9px 12px}.workbench-search input{font-size:13px}.filter-tabs{flex-wrap:nowrap;gap:4px;padding:11px 10px;overflow:auto}.filter-tabs button{white-space:nowrap;font-size:11px}.panel-caption{align-items:flex-start;padding:10px 12px;font-size:11px}.panel-caption small{font-size:9px}.pupil-table thead{display:none}.pupil-table,.pupil-table tbody,.pupil-table tr,.pupil-table td{width:100%;display:block}.pupil-table tr{border-bottom:1px solid var(--line);padding:16px;position:relative}.pupil-table td{border:0;align-items:baseline;gap:12px;font-size:12px;display:flex;min-width:0!important;max-width:none!important;padding:3px 0!important}.pupil-table td[data-label]:not(:first-child):before{content:attr(data-label);color:var(--muted);min-width:86px;font-size:10px}.pupil-table td:first-child{margin-bottom:9px;display:block}.pupil-table .pupil-name{font-size:15px}.pupil-table td:last-child{width:24px;position:absolute;top:16px;right:16px}.pupil-table td[data-label=Last\ observed]{flex-wrap:wrap;gap:2px 12px}.pupil-table td[data-label=Last\ observed] .freshness{width:100%;margin-left:98px}.pupil-table td[data-label=School\ state]{flex-wrap:wrap}.pupil-table td[data-label=School\ state] small{margin-left:98px}.state-summary{display:block}.state-summary>div{border-right:0;border-bottom:1px solid var(--line);padding:15px 17px}.state-summary h2{font-size:19px}.state-summary .eyebrow{margin-bottom:6px;font-size:10px}.profile-layout{display:block}.record-nav{flex-direction:row;gap:4px;margin-bottom:16px;padding-bottom:6px;position:static;overflow:auto}.record-nav button{white-space:nowrap;background:#eef2eb;min-height:38px;font-size:12px}.facts{gap:18px 12px;padding:16px}.issue-row{align-items:flex-start;padding:16px}.issue-row>button{margin-left:28px}.schedule-list{padding:0 14px}.schedule-list>div{flex-wrap:wrap;gap:8px 12px}.schedule-time{width:95px}.schedule-list button{margin-left:auto;font-size:11px}.register-table thead{display:none}.register-table,.register-table tbody,.register-table tr,.register-table td{width:100%;display:block}.register-table tr{border-bottom:1px solid var(--line);grid-template-columns:1fr 1fr;gap:10px;padding:14px;display:grid}.register-table td{border:0;padding:0!important}.register-table td:first-child,.register-table td:last-child{grid-column:1/-1}.register-table td[data-label]:before{content:attr(data-label);color:var(--muted);margin-bottom:4px;font-size:10px;display:block}.register-table select,.register-table .number-input{width:100%;min-height:40px}.save-bar{flex-wrap:wrap;gap:8px;padding:12px;font-size:12px;bottom:8px}.save-bar>div{flex-wrap:wrap}.save-bar button{font-size:12px}.toolbar .search-input{width:100%;min-width:100%}.toolbar>label{flex:1}.toolbar>label select{flex:1;min-width:0}.form-grid{grid-template-columns:1fr}.medical-grid>.panel{padding:16px}.card-top{flex-wrap:wrap}.action-list>div,.action-list>li{flex-wrap:wrap;gap:12px;padding:16px}.action-list button{margin-left:auto;font-size:11px}.panel-heading{padding:14px 16px}.panel-heading h2{font-size:14px}.panel-heading button{font-size:11px}.search-results>button{flex-wrap:wrap;gap:8px}.search-results .search-state{text-align:left;width:100%;padding-left:40px}.search-state .freshness{justify-content:flex-start}.search-results>button>svg{position:absolute;right:28px}.search-results small{font-size:11px}dialog{max-width:calc(100vw - 20px);max-height:calc(100dvh - 30px);padding:20px}.dialog-head h2{font-size:19px}.login-page{flex-direction:column;align-items:stretch;gap:25px;min-height:100dvh;padding:32px 20px;display:flex}.login-intro .brand-large{width:175px;margin-bottom:24px}.login-intro h1{margin:16px 0;font-size:32px}.login-intro p{margin-bottom:16px;font-size:14px}.login-page>.panel{padding:25px}.login-page>.panel h2{font-size:22px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;animation:none!important}}@media print{body{background:#fff;font-size:10pt}.sidebar,.topbar,.preview-bar,.mobile-context,button,.save-bar,footer,.record-nav,.back-link{display:none!important}.app-shell,.office-layout,.profile-layout,.workspace{display:block}.workspace main{max-width:none;padding:0}.workbench-rail{display:none}.page-title{margin-bottom:15px}.panel{box-shadow:none;break-inside:avoid}.table-wrap{overflow:visible}table{font-size:9pt}.badge{border:1px solid #b8c8ba}.state-summary{display:grid}.pupil-table thead{display:table-header-group}.pupil-table{display:table}.pupil-table tbody{display:table-row-group}.pupil-table tr{display:table-row}.pupil-table td{width:auto;display:table-cell;padding:8px!important;position:static!important}.pupil-table td:before{display:none!important}.pupil-table .freshness{margin-left:0!important}a{color:inherit;text-decoration:none}}.teacher-status{border:1px solid var(--border);background:#fff;border-radius:12px;grid-template-columns:minmax(155px,.8fr) minmax(260px,1.8fr) minmax(160px,1fr);align-items:center;gap:20px;margin-bottom:18px;padding:16px 20px;display:grid}.teacher-status strong,.teacher-status small{display:block}.teacher-status small{color:var(--muted);margin-top:3px;font-size:12px}.status-slot{text-align:left;box-shadow:none;background:0 0;border:0;align-items:center;gap:12px;padding:0;display:flex}.status-slot>span:nth-child(2){flex:1}.teacher-bulletin{border-left:1px solid var(--border);flex-direction:column;gap:4px;padding-left:20px;font-size:13px;display:flex}.teacher-bulletin .eyebrow{margin:0}.teacher-home-main{grid-template-columns:minmax(220px,.85fr) minmax(340px,1.25fr) minmax(250px,1fr);align-items:stretch;gap:16px;display:grid}.teacher-home .panel{min-width:0;padding:17px}.teacher-home .panel-heading h2{font-size:16px}.teacher-home .panel-heading{margin-bottom:10px}.teacher-scroll{scrollbar-width:thin;max-height:390px;overflow:auto}.teacher-home-main .teacher-day{flex-direction:column;display:flex}.teacher-home-main .teacher-day .teacher-scroll{flex:1}.teacher-home-bottom{grid-template-columns:1fr 1fr;gap:16px;margin-top:16px;display:grid}.compact-controls{align-items:center;gap:3px;display:flex}.compact-controls button{box-shadow:none;background:0 0;border:0;padding:4px 7px;font-size:11px}.home-action,.home-class{text-align:left;border:0;border-bottom:1px solid var(--border);width:100%;box-shadow:none;background:0 0;border-radius:0;align-items:center;gap:10px;padding:13px 2px;display:flex}.home-action>span,.home-class>span:nth-child(2){flex:1;min-width:0}.home-action strong,.home-class strong{font-size:13px;font-weight:600;line-height:1.4;display:block}.home-action small,.home-class small{color:var(--muted);margin-top:3px;font-size:11px;line-height:1.4;display:block}.home-action.urgent{color:#855c16}.home-class .class-code{text-align:center;background:#eef4f0;border-radius:7px;min-width:42px;padding:8px 6px;font-size:12px;font-weight:600}.home-action:hover,.home-class:hover,.teacher-schedule button:hover,.teacher-updates button:hover{background:#f4f7f5}.teacher-schedule{margin:0;padding:0;list-style:none}.teacher-schedule li{border-bottom:1px solid var(--border)}.teacher-schedule li.current{background:#eef5ee;border-left:3px solid #347254}.teacher-schedule button{text-align:left;width:100%;box-shadow:none;background:0 0;border:0;border-radius:0;align-items:center;gap:10px;padding:9px 2px;display:flex}.teacher-schedule strong{font-size:13px;display:block}.teacher-schedule small{color:var(--muted);font-size:11px;display:block}.lesson-time{font-variant-numeric:tabular-nums;flex-shrink:0;width:44px}.lesson-copy{flex:1;min-width:0}.teacher-schedule .badge{padding:3px 5px;font-size:10px}.panel-foot{color:var(--muted);border-top:1px solid var(--border);margin:8px 0 0;padding-top:10px;font-size:11px}.teacher-updates button{width:100%;box-shadow:none;text-align:left;background:0 0;border:0;border-radius:0;align-items:center;gap:10px;padding:9px 2px;display:flex}.teacher-updates button>span:first-child{flex:1}.teacher-updates strong{font-size:13px;display:block}.teacher-updates small{color:var(--muted);font-size:11px;line-height:1.5;display:block}.teacher-home .empty{padding:28px 8px}.teacher-home .empty h3{font-size:13px}.teacher-home .empty p{font-size:12px;line-height:1.5}.directory-rows article{border-bottom:1px solid var(--border);grid-template-columns:38px minmax(200px,1fr) minmax(210px,1fr) auto;align-items:center;gap:16px;padding:15px 0;display:grid}.directory-rows h3{margin:0 0 3px;font-size:14px}.directory-rows p,.directory-rows small{color:var(--muted);margin:0;font-size:12px;display:block}.directory-rows span{font-size:13px}.directory-rows .avatar{color:#326448;background:#eef4f0;border-radius:8px;place-items:center;width:34px;height:34px;font-size:12px;display:grid}.search-input{align-items:center;gap:12px;display:flex}.search-input input{width:100%}@media (width<=1200px){.teacher-home-main{grid-template-columns:1fr 1.3fr}.teacher-classes{grid-column:1/-1}.teacher-classes .teacher-scroll{grid-template-columns:1fr 1fr;gap:0 18px;max-height:250px;display:grid}.teacher-status{grid-template-columns:160px 1fr}.teacher-bulletin{border-left:0;border-top:1px solid var(--border);flex-direction:row;grid-column:1/-1;gap:15px;padding:10px 0 0}.directory-rows article{grid-template-columns:38px 1fr 1fr}.directory-rows .badge{display:none}}@media (width<=720px){.teacher-home-main,.teacher-home-bottom{grid-template-columns:1fr}.teacher-status{grid-template-columns:1fr;gap:12px;padding:16px}.teacher-bulletin,.teacher-classes{grid-column:auto}.teacher-classes .teacher-scroll{max-height:none;display:block}.teacher-scroll{max-height:none}.teacher-status .status-slot{border-top:1px solid var(--border);padding-top:12px}.teacher-home .panel{padding:15px}.directory-rows article{grid-template-columns:34px 1fr}.directory-rows article>div:nth-child(3){grid-column:2}.teacher-day{order:-1}}.attention-list article{border-bottom:1px solid var(--border);grid-template-columns:minmax(200px,.7fr) 1fr auto;align-items:center;gap:18px;padding:18px 0;display:grid}.attention-list article>div:nth-child(2){flex-wrap:wrap;gap:5px;display:flex}.attention-list small{color:var(--muted);margin-top:5px;font-size:12px;display:block}.editor-mode{justify-content:space-between;align-items:center;gap:15px;margin-bottom:15px;display:flex}.editor-mode>span{align-items:center;gap:8px;display:flex}.form-steps{flex-wrap:wrap;gap:5px;margin-bottom:20px;display:flex}.form-steps button{padding:7px 10px;font-size:12px}.form-steps [aria-current=step]{color:#285b3d;background:#e5f1e9;border-color:#97bba3}fieldset{border:0;min-width:0;margin:0 0 15px;padding:0}fieldset[hidden]{display:none}legend{margin:0 0 16px;padding:0;font-size:17px;font-weight:600}@media (width<=850px){.attention-list article{grid-template-columns:1fr}.attention-list article>button{justify-self:start}}@media (width>=1201px){.teacher-home .page-title{margin-bottom:14px}.teacher-home .page-title h1{margin-bottom:0;font-size:26px;line-height:1.25}.teacher-home .page-title .eyebrow{margin-bottom:4px}.teacher-home .panel{margin-bottom:0}.teacher-home .panel-heading{min-height:35px;padding:0 0 10px}.teacher-status{margin-bottom:14px;padding:13px 18px}.teacher-home-main .panel{height:315px}.teacher-home-main .teacher-scroll{max-height:248px}.teacher-home-bottom .panel{min-height:140px}.teacher-home-bottom .teacher-updates{max-height:125px;overflow:auto}.teacher-home-bottom .empty{padding:14px 8px}.teacher-schedule button{padding:7px 2px}}.register-table tr.register-current{outline:2px solid var(--green);outline-offset:-2px;background:#edf5f1}.register-table tr:focus{outline:3px solid var(--green);outline-offset:-3px}.timetable-pickers{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 18px;display:grid}.timetable-pickers>div{border:1px solid var(--line);background:#fff;border-radius:10px;padding:12px 16px}.timetable-pickers>.selected{border:2px solid var(--green);background:#edf5f1;padding:11px 15px}.timetable-pickers select{width:100%;margin-top:6px}.picker-title{background:0 0;border:0;padding:0;font-weight:700}.timetable-controls{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;display:flex}.timetable-controls .field{margin:0}.button-group{gap:4px;display:flex}.button-group [aria-pressed=true]{background:var(--green);color:#fff}.timetable-grid{gap:8px;display:grid}.timetable-grid.week{grid-template-columns:repeat(5,minmax(0,1fr))}.timetable-grid.month{grid-template-columns:repeat(7,minmax(0,1fr))}.timetable-grid>section{border-right:1px solid var(--line);min-width:0;padding-right:8px}.timetable-grid h3{margin:0 0 8px;padding:9px 4px;font-size:13px}.timetable-grid .is-today h3{color:var(--green);background:#e1eee7;border-radius:5px}.timetable-session{text-align:left;overflow-wrap:anywhere;background:#f4f8f6;border-left:3px solid #80a692;flex-direction:column;align-items:flex-start;gap:4px;width:100%;margin:0 0 8px;padding:10px;font-size:12px;display:flex}.timetable-session strong{font-size:14px}.timetable-session.registration{background:#f2f3ef;border-left-color:#a3ab94}.timetable-session:hover{background:#e6f0ea}.timetable-grid.month .timetable-session{padding:6px;font-size:10px}.timetable-grid.month .timetable-session strong{font-size:11px}.timetable-grid.day .timetable-session{flex-flow:wrap;gap:16px}.timetable-empty{color:var(--muted);padding:16px 4px;font-size:12px}.lesson-students{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.lesson-students a{border:1px solid var(--line);border-radius:7px;flex-direction:column;padding:12px;display:flex}@media (width<=760px){.timetable-pickers{grid-template-columns:1fr;gap:6px}.timetable-pickers>div{align-items:center;gap:12px;display:flex}.timetable-pickers select{min-width:0;margin:0}.timetable-grid.week,.timetable-grid.month{grid-template-columns:1fr}.timetable-grid.month .timetable-session,.timetable-grid.month .timetable-session strong{font-size:13px}.lesson-students{grid-template-columns:1fr}}@media print{.timetable-pickers,.timetable-controls{display:none}.timetable-grid.week{grid-template-columns:repeat(5,minmax(0,1fr))}.timetable-session{break-inside:avoid}}.absence-filters{flex-wrap:wrap;align-items:end;gap:16px;margin:16px 0;display:flex}.absence-filters .field{flex:1;min-width:145px}.absence-list-row{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;padding:13px 0;display:flex}.absence-list-row p{color:var(--muted);margin:4px 0}.absence-editor{max-width:850px}.absence-editor fieldset{border:0;margin:0;padding:0}.absence-reasons{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0 18px;display:grid}.absence-reasons button{text-align:left;white-space:normal;justify-content:flex-start;padding:12px}.absence-reasons strong{min-width:38px}.absence-reasons button[aria-pressed=true]{border-color:var(--green);color:#23593e;background:#edf5f0}.absence-editor .selected-student{justify-content:space-between;align-items:center;margin:16px 0;display:flex}.absence-editor .search-choice{text-align:left;width:100%;margin:4px 0;display:block}.absence-guide{max-height:65vh;overflow:auto}.absence-guide td p{margin:5px 0}.absence-editor textarea{width:100%}.absence-editor details{margin:16px 0}.register-mark-buttons{gap:3px;display:flex}.register-mark-buttons button{flex-direction:column;gap:2px;min-width:47px;padding:7px 5px;font-size:11px;display:flex}.register-mark-buttons button b{font-size:14px}.register-mark-buttons button[aria-pressed=true]{color:#245237;background:#e8f1ea;border-color:#497b58}.register-mark-buttons button[aria-pressed=true]:first-child{color:#842e19;background:#fbe5df;border-color:#b67664}.register-mark-buttons button[aria-pressed=true]:nth-child(2){color:#775314;background:#fff1d8;border-color:#a67b22}.register-mark-buttons button:disabled{opacity:.55}.register-table td small a{margin-top:4px;display:block}@media (width<=650px){.absence-reasons{grid-template-columns:repeat(2,minmax(0,1fr))}.absence-list-row{flex-direction:column;align-items:flex-start}.absence-editor .save-bar{flex-wrap:wrap}.register-mark-buttons button{min-width:55px}.absence-filters{gap:8px}}.subject-c1{--subject-bg:#dbe9fb;--subject-ink:#1f5fa8}.subject-c2{--subject-bg:#e6dcf7;--subject-ink:#5b35a6}.subject-c3{--subject-bg:#d5f0dd;--subject-ink:#1d7a3f}.subject-c4{--subject-bg:#fbe3c4;--subject-ink:#a35a00}.subject-c5{--subject-bg:#cdeff0;--subject-ink:#0d7377}.subject-c6{--subject-bg:#fad6e0;--subject-ink:#b0305a}.subject-c7{--subject-bg:#f0d9f5;--subject-ink:#8a2c9e}.subject-c8{--subject-bg:#f9d7d3;--subject-ink:#b42318}.subject-c9{--subject-bg:#fff1b8;--subject-ink:#8a6d00}.subject-c10{--subject-bg:#eadfd3;--subject-ink:#7a5230}.subject-c11{--subject-bg:#e4e7e9;--subject-ink:#4a5561}.subject-c12{--subject-bg:#eef4c9;--subject-ink:#5f6d0f}.timetable-print-heading{justify-content:space-between;gap:16px;margin:16px 0;display:flex}.timetable-print-heading strong{font-size:17px}.timetable-print-heading span{color:var(--muted)}.tt-period-wrap,.tt-hour-wrap{border:1px solid var(--line);border-radius:8px;overflow:auto}.tt-periods{table-layout:fixed;border-collapse:collapse;width:100%;min-width:690px}.tt-periods th:first-child{width:106px}.tt-periods th,.tt-periods td{border:1px solid var(--line);vertical-align:middle;padding:3px}.tt-periods thead th{text-align:center;background:#f3f5f2;padding:10px 6px;font-size:12px}.tt-periods tbody th{text-align:left;background:#f6f7f4;padding:5px 7px;font-size:11.5px;font-weight:500}.tt-periods tbody th small{white-space:nowrap;font-size:10.5px;display:block}.tt-periods .teaching-row{height:58px}.tt-periods .band-row{height:25px}.tt-card{text-align:left;white-space:normal;background:var(--subject-bg,#f3f5f2);border:0;border-left:3px solid var(--subject-ink,#627c67);width:100%;height:100%;min-height:30px;box-shadow:none;color:#26392f;border-radius:4px;flex-direction:column;justify-content:center;align-items:flex-start;gap:2px;padding:6px 7px;line-height:1.25;display:flex;overflow:hidden}.tt-card:hover{filter:brightness(.97);background:var(--subject-bg,#eaf1eb)}.tt-card strong{color:var(--subject-ink,#365f43);font-size:12px}.tt-card span,.tt-card small{color:#34483e;font-size:10px;display:block}.tt-card+.tt-card{margin-top:3px}.tt-duty{--subject-bg:#edf3ed;--subject-ink:#3f6650}.tt-duty strong{font-size:11px}.tt-home,.tt-empty,.tt-band-label{color:var(--muted);padding:3px 6px;font-size:11px;display:block}.tt-home{color:#4e6352;font-weight:600}.tt-periods .is-today,.tt-hour-heading.is-today{background:#edf4ec}.tt-hour-grid{min-width:760px;display:grid}.tt-hour-heading{text-align:center;border-bottom:1px solid var(--line);background:#f3f5f2;padding:9px 6px;font-size:12px;font-weight:600}.tt-hour-times,.tt-hour-day{background:repeating-linear-gradient(#0000,#0000 71px,#dde4dd 71px 72px);grid-template-rows:repeat(108,6px);display:grid;position:relative}.tt-hour-times>div{border-top:1px solid var(--line);padding:3px 6px;font-size:11px}.tt-hour-day{border-left:1px solid var(--line)}.tt-hour-block{z-index:1;grid-column:1;min-width:0;padding:1px 2px;overflow:hidden}.tt-hour-block .tt-card{justify-content:flex-start;height:100%;min-height:0;padding:5px}.tt-hour-block.short .tt-card{justify-content:center;padding:0 2px}.tt-hour-block.short .tt-card small{display:none}.tt-hour-block.short .tt-card span{font-size:9px}.tt-ppa{color:#6e7c70;z-index:0;background:#f5f7f2;border:1px solid #e6ebe1;border-radius:4px;flex-direction:column;padding:3px 5px;display:flex}.tt-ppa strong{font-size:11px;font-weight:500}.tt-ppa small{font-size:10px}.tt-closed{text-align:center;color:var(--muted);background:#f6f6f4;grid-row:1/109;padding:24px;font-size:12px}.tt-month{border:1px solid var(--line);background:var(--line);grid-template-columns:repeat(5,minmax(0,1fr));gap:1px;display:grid}.tt-month>section{background:#fff;min-width:0;padding:7px}.tt-month-date{background:0 0;border:0;padding:4px 0 8px;font-size:12px}.tt-month .tt-card{height:auto;min-height:24px;margin:3px 0;padding:4px}.tt-month .tt-card strong{font-size:10px}.tt-month .tt-card span{font-size:9px}.tt-month .tt-card small{display:none}.tt-month .is-today{background:#edf4ec}.tt-month-ppa{color:var(--muted);margin:2px 0;font-size:10px}.allocation-warning{color:#8e4f0e!important}.tt-periods button:focus-visible,.tt-hour-grid button:focus-visible{outline-offset:-3px;outline:3px solid #17654e}@media (width>=1450px){.tt-periods .teaching-row{height:64px}.tt-card strong{font-size:13px}.tt-card span,.tt-card small{font-size:11px}}@media (width<=700px){.tt-periods{min-width:660px}.tt-hour-grid{min-width:720px}.tt-month{grid-template-columns:1fr}.tt-month>section{padding:12px}.tt-month .tt-card{padding:8px}.tt-month .tt-card strong{font-size:13px}.tt-month .tt-card span{font-size:12px}.tt-month .tt-card small{display:block}.timetable-print-heading{flex-direction:column;gap:3px}}.tt-single-day .tt-periods,.tt-single-day .tt-hour-grid{width:100%;min-width:0}.tt-band-link{background:0 0;flex-direction:column;justify-content:center;width:100%;font-size:12px}.tt-band-link small{font-size:10px}.absence-panel>p{margin:0;padding:16px 20px}.tt-hour-block.short .tt-card strong{white-space:nowrap;font-size:9px;line-height:1.15}.tt-ppa.short{justify-content:center;padding:0 3px}.tt-ppa.short strong{font-size:9px;line-height:1}.tt-ppa.short small{display:none}.contact-card-head,.sibling-row,.selected-contact,.contact-email{justify-content:space-between;align-items:center;gap:12px;display:flex}.contact-card-head{align-items:flex-start}.contact-email{overflow-wrap:anywhere;justify-content:flex-start}.contact-card h3{margin:4px 0}.contact-card .badge-row{gap:6px;margin:12px 0}.contact-card .actions{flex-wrap:wrap;margin-top:8px}.contact-address{white-space:pre-wrap}.contact-history{padding:16px 0}.contact-history summary{cursor:pointer;padding:0 20px 12px;font-weight:600}.admission-contact{border:1px solid var(--line);border-radius:10px;margin-bottom:16px;padding:16px}.selected-contact{border:1px solid var(--line);background:#f3f6f3;border-radius:8px;flex-wrap:wrap;margin:12px 0;padding:14px}.selected-contact>p{flex-basis:100%;margin:0}.sibling-row{border-bottom:1px solid var(--line);padding:12px 20px}.sibling-row .text-button{text-align:left}.sibling-row small{margin-top:4px;display:block}.segmented{gap:6px;margin:12px 0;display:flex}.segmented button[aria-pressed=true]{background:var(--green);color:#fff}@media (width<=600px){.contact-card-head{flex-wrap:wrap}.admission-contact{padding:12px}}.artifact-list>article{border-bottom:1px solid var(--line);align-items:flex-start;gap:12px;padding:18px 20px;display:flex}.artifact-detail{overflow-wrap:anywhere;flex:1;min-width:0}.artifact-detail small{color:var(--muted);margin-top:4px;display:block}.artifact-list .actions{flex-wrap:wrap}.upload-image-preview{object-fit:contain;max-width:100%;max-height:220px;margin:12px auto;display:block}@media (width<=680px){.artifact-list>article{flex-wrap:wrap}.artifact-list .actions{flex-basis:100%}}.student-photo-preview{min-height:120px;color:var(--muted);flex-wrap:wrap;justify-content:center;align-items:center;gap:1rem;padding:12px;display:flex}.student-photo-preview img,.photo-picker>img{object-fit:cover;border-radius:12px;flex:none;width:96px;height:96px}.photo-picker{flex-wrap:wrap;align-items:center;gap:1.25rem;margin-bottom:1.2rem;display:flex}.photo-picker>div:last-child{flex:220px;min-width:0}.photo-picker input[type=file]{max-width:100%}.photo-picker button{margin-bottom:.5rem;margin-right:.5rem}.attendance-heatmap td{text-align:center;min-width:115px}.attendance-heatmap td small{color:inherit;font-size:12px;display:block}.attendance-heatmap [data-level="0"]{color:#68776f;background:#f4f6f5}.attendance-heatmap [data-level="1"]{background:#e9f3ed}.attendance-heatmap [data-level="2"]{background:#fff2dc}.attendance-heatmap [data-level="3"]{background:#ffe0b6}.attendance-heatmap [data-level="4"]{background:#ffccbe}.attendance-heatmap [data-level="5"]{color:#fff;background:#8b382d}.parent-note{width:100%;min-height:300px;margin-bottom:1rem}.record-text{white-space:pre-wrap}.resource-entry{border:1px solid var(--line);border-radius:8px;margin:12px 0;padding:16px}.resource-items{gap:12px;margin:20px 0;display:grid}.resource-item{border:1px solid var(--line);border-radius:8px;padding:16px}.resource-item h3{flex:1;margin:0}.resource-item small{font-size:.85rem;font-weight:400}.resource-item .actions{justify-content:flex-start}.resource-conversation{padding:0;list-style:none}.resource-conversation li{border-bottom:1px solid var(--line);padding:16px 0}.resource-conversation li>div{flex-wrap:wrap;justify-content:space-between;gap:16px;display:flex}.resource-conversation time{color:var(--muted);font-size:.8rem}.resource-conversation p{margin:8px 0}.record-text{white-space:pre-wrap;overflow-wrap:anywhere}
