
:root{font-family:Arial,Helvetica,sans-serif;color:#213b39;background:#f5f7f6}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,select{cursor:pointer}button{border:0;background:none;color:inherit}button:disabled{opacity:.6;cursor:default}button:hover{filter:brightness(.94)}input,textarea,select{border:1px solid #dbe2df;border-radius:8px;padding:11px;background:#fff;color:#29413d;min-width:0}input:focus,textarea:focus,select:focus{outline:2px solid #86b8a5}h1,h2,h3,p{margin-top:0}h1{font-size:32px;letter-spacing:-1.1px;margin-bottom:10px}h2{font-size:19px}h3{font-size:17px;margin-bottom:10px}p{line-height:1.6;color:#75837f;font-size:14px}small,.muted{font-size:12px;color:#7a8983}small{display:block}.shell{display:flex;min-height:100vh}.shell>aside{width:248px;background:#103e35;color:#c8dbd3;padding:34px 20px;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column}.school{display:flex;align-items:center;gap:10px;font-weight:bold;font-size:19px;color:white}.school span{display:block;font-size:8px;letter-spacing:1px;margin-top:6px}.brandmark{width:43px;height:46px;background:#e8e3bb;border-radius:12px 12px 20px 20px;color:#224d40;display:grid;place-items:center;font-family:Georgia;font-size:30px}.workspace-label{font-size:9px;letter-spacing:2px;margin:50px 14px 16px;color:#89aaa0}nav button{display:flex;gap:15px;width:100%;padding:15px 14px;border-radius:8px;text-align:left;margin-bottom:5px;font-size:13px}nav button span{width:17px;font-size:19px}nav .active{background:#2c5749;color:#fff}.sidebar-bottom{margin-top:auto;font-size:11px;padding:20px 10px}.sidebar-bottom p{font-size:10px;color:#8ead9f;margin-top:12px}.live-dot{display:inline-block;width:6px;height:6px;background:#bdd18b;border-radius:50%;margin-right:5px}.shell>main{margin-left:248px;flex:1;min-width:0}header{height:90px;border-bottom:1px solid #e1e7e3;background:#fff;display:flex;justify-content:space-between;align-items:center;padding:0 42px}.breadcrumb{font-size:12px;color:#93a19a}.breadcrumb span{color:#365147}.person{display:flex;align-items:center;gap:10px;font-size:12px}.person i,.staff-card>i{font-style:normal;background:#e6eee8;color:#315948;width:33px;height:33px;border-radius:50%;display:grid;place-items:center;font-weight:bold}.person small{margin-top:4px;font-size:10px}.content{max-width:1500px;margin:auto;padding:40px 42px;min-height:calc(100vh - 150px)}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:30px}.eyebrow{font-size:9px;letter-spacing:2px;font-weight:bold;color:#6c8a79;margin-bottom:15px}.primary{background:#235b47;color:white;padding:13px 20px;border-radius:8px;font-size:12px;white-space:nowrap}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:34px}.stat{border:1px solid #e0e6e1;background:white;border-radius:10px;padding:23px}.stat span{font-size:12px;color:#687b71}.stat strong{display:block;font-size:34px;margin:17px 0 12px;font-weight:500}.stat:last-child strong{color:#b87648}.stat small{font-size:10px}.overview-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:28px}.section-title,.row{display:flex;align-items:center;justify-content:space-between;gap:12px}.section-title{margin-bottom:16px}.section-title h2{margin:0}.section-title button{font-size:11px;color:#557c63}.section-title h2 span{font-size:10px;background:#e3ebe4;padding:4px 7px;border-radius:4px;margin-left:8px}.duty,.notice,.staff-card{background:white;border:1px solid #e0e6e1;border-radius:10px;padding:22px;margin-bottom:14px}.duty h3{margin-top:19px}.duty p,.notice p{white-space:pre-wrap;overflow-wrap:anywhere}.duty select{font-size:10px;padding:7px}.tag{font-size:9px;border-radius:4px;padding:5px 7px;background:#edf1ee;color:#60796b}.High{background:#fcf0e6;color:#ad6b3a}.Low{background:#e9eff8;color:#5679a7}.Normal{background:#eff2e4;color:#7d8647}.notice-intro{background:#e8ecdb;border-radius:10px;padding:28px;margin-bottom:16px}.notice-intro>span{font-size:8px;letter-spacing:1.6px;color:#74825c}.notice-intro h2{font-family:Georgia;font-weight:normal;font-size:28px;line-height:1.2;margin:18px 0}.notice-intro button{font-size:11px;padding:0;color:#3f6447}.notice small{font-size:9px;letter-spacing:1px;margin-bottom:12px}.empty{text-align:center;padding:60px 25px;border:1px dashed #cad8cd;border-radius:10px;background:#fff}.empty>div{font-size:35px;color:#708c72;margin-bottom:20px}.empty button{color:#326349}.toolbar{display:flex;justify-content:space-between;gap:15px;margin-bottom:24px;flex-wrap:wrap}.pills{display:flex;gap:6px;flex-wrap:wrap}.pills button{font-size:11px;padding:9px 13px;border:1px solid #dce4dd;border-radius:6px}.pills .selected{background:#255840;color:white}.cards{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.chat{background:white;border:1px solid #dce4dd;border-radius:12px;overflow:hidden}.chat-top{display:flex;justify-content:space-between;padding:20px 24px;border-bottom:1px solid #e5e9e5;align-items:center}.chat-top h2{margin:0}.messages{height:440px;overflow:auto;padding:24px;display:flex;flex-direction:column;gap:16px}.message{max-width:80%;align-self:flex-start}.message p{background:#f0f4f0;border-radius:0 10px 10px 10px;padding:14px;margin:6px 0;color:#355345;white-space:pre-wrap;overflow-wrap:anywhere}.message.mine{align-self:flex-end}.message.mine p{background:#e2eddf}.message small{font-size:10px}.composer{display:flex;gap:12px;padding:20px;border-top:1px solid #e5e9e5}.composer input{flex:1}.staff-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.staff-card>i{width:45px;height:45px;margin-bottom:18px}.staff-card small{overflow-wrap:anywhere;margin-bottom:20px}.staff-card .row button{font-size:11px}.search{margin-bottom:24px;width:280px}.announcement-list{max-width:900px}.notice .row{margin:10px 0}.notice button{font-size:11px;color:#326349}.two{display:grid;grid-template-columns:1fr 1fr;gap:16px}.overlay{position:fixed;inset:0;background:#102e2866;z-index:10;display:grid;place-items:center;padding:20px}.modal{width:500px;max-width:100%;max-height:90vh;overflow:auto;background:white;border-radius:14px;padding:28px;box-shadow:0 20px 80px #1234}.modal label{display:flex;flex-direction:column;gap:8px;font-size:12px;margin-bottom:18px}.modal h2{margin:0 0 20px}.modal .primary{width:100%}.error{padding:14px;background:#ffebe1;color:#9b4328;border-radius:8px;margin-bottom:20px}.error button{float:right}footer{padding:20px 42px;border-top:1px solid #e1e7e2;font-size:10px;color:#819087;display:flex;justify-content:space-between}.welcome{padding:15vh 10vw}.welcome .brandmark{margin-bottom:25px}@media(max-width:1050px){.shell>aside{width:200px}.shell>main{margin-left:200px}.content{padding:28px 24px}.stats{gap:10px}.overview-grid{grid-template-columns:1fr}.staff-grid{grid-template-columns:repeat(2,1fr)}header{padding:0 24px}.page-heading{align-items:flex-start}h1{font-size:27px}}@media(max-width:700px){.shell{display:block}.shell>aside{position:static;width:100%;padding:18px}.school{font-size:16px}.workspace-label,.sidebar-bottom{display:none}nav{display:flex;overflow:auto;margin-top:18px}nav button{white-space:nowrap;padding:10px;width:auto;font-size:11px}nav button span{display:none}.shell>main{margin:0}header{height:65px}.content{padding:25px 18px}.page-heading{flex-direction:column}.stats{grid-template-columns:repeat(2,1fr)}.stat{padding:18px}.cards,.staff-grid{grid-template-columns:1fr}footer{padding:20px;display:block}footer span{display:block;margin-top:8px}.chat-top{padding:15px;gap:8px}.chat-top select{max-width:180px;font-size:11px}.composer{padding:12px}.composer .primary{padding:12px}.row{flex-wrap:wrap}.messages{height:360px}}

/* Phone and tablet layouts */
html{scroll-padding-bottom:100px}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible{outline:3px solid #9abf69;outline-offset:3px}.brandmark,.person i{flex-shrink:0}h1,h2,h3,.person{overflow-wrap:anywhere}.overview-grid>div,.cards>*,.staff-grid>*,.page-heading>div{min-width:0}input,textarea{max-width:100%}textarea{resize:vertical}
@media(max-width:900px) and (min-width:701px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.cards{grid-template-columns:1fr}.page-heading{flex-wrap:wrap}}
@media(max-width:700px){
.shell{padding-bottom:calc(78px + env(safe-area-inset-bottom))}.shell>aside{padding:16px 18px;background:#103e35}.school .brandmark{width:35px;height:39px;font-size:25px}.school span{font-size:9px}.school{gap:12px;font-size:17px}
nav{position:fixed;inset:auto 0 0;z-index:5;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));margin:0;padding:7px 5px calc(7px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #dce6df;box-shadow:0 -4px 24px #173e3510;overflow:visible}
nav button{width:100%;min-height:56px;margin:0;padding:6px 2px;gap:5px;flex-direction:column;justify-content:center;align-items:center;border-radius:8px;color:#60766c;font-size:10px;line-height:1.2;white-space:normal;text-align:center}nav button span{display:block;width:auto;font-size:21px;line-height:23px}nav .active{background:#e7f0e8;color:#214f3b;font-weight:bold}
header{height:auto;min-height:64px;padding:12px 18px;gap:10px}.breadcrumb{font-size:11px;flex-shrink:0}header>.person{min-width:0;max-width:60%;font-size:11px}header>.person>div{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.content{padding:26px 16px;min-height:calc(100dvh - 280px)}.page-heading{gap:16px;margin-bottom:24px}.page-heading>div{width:100%}.page-heading>.primary{width:100%}h1{font-size:28px;line-height:1.18;letter-spacing:-.8px}.eyebrow{font-size:10px}.primary{min-height:46px;font-size:14px}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:28px}.stat{padding:17px 14px}.stat strong{font-size:30px;margin:12px 0 8px}.stat span{font-size:12px}.stat small{font-size:11px}.overview-grid{gap:24px}.section-title button,.empty button,.notice button,.staff-card .row button{min-height:44px;font-size:13px}.duty,.notice,.staff-card{padding:18px}.duty .row:last-child{align-items:center}.duty .row:last-child>.person{flex:1 1 130px}.duty select{min-height:44px;font-size:16px;max-width:100%;padding:9px}.tag{font-size:11px}.muted,small{font-size:12px}.duty .muted{font-size:11px}.toolbar{gap:12px}.toolbar>input,.search{width:100%;max-width:100%}.pills{flex-wrap:nowrap;overflow-x:auto;width:100%;padding-bottom:5px}.pills button{min-height:44px;white-space:nowrap;flex-shrink:0;font-size:13px}.notice small{font-size:11px;letter-spacing:.5px}.notice h2{font-size:21px}.notice .row button{background:#edf3ee;border-radius:7px;padding:8px 12px}.notice-intro{padding:24px}.notice-intro button{min-height:44px;font-size:13px}.chat-top{flex-direction:column;align-items:stretch;padding:16px}.chat-top select{max-width:100%;width:100%}.chat-top h2{font-size:19px;margin-bottom:5px}.messages{height:clamp(220px,42dvh,480px);padding:16px}.message{max-width:92%}.message small{font-size:11px}.message p{font-size:15px}.composer{padding:12px;gap:8px}.composer input{width:0;min-width:0}.composer .primary{padding:10px 14px;flex-shrink:0}input,textarea,select{font-size:16px;min-height:46px}.modal label{font-size:14px}.overlay{padding:12px;align-items:center}.modal{padding:22px 18px;max-height:calc(100dvh - 24px);overscroll-behavior:contain;border-radius:15px}.modal>.row{flex-wrap:nowrap}.modal>.row>button{min-height:44px;min-width:44px;align-self:flex-start}.modal h2{font-size:22px;margin-bottom:18px}.two{grid-template-columns:1fr}.error{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:13px}.error button{float:none;min-height:44px;flex-shrink:0}footer{padding:18px 16px;line-height:1.6}.welcome{padding:12vh 24px}.welcome a{display:inline-flex;align-items:center;min-height:46px;padding:12px 16px;border-radius:8px;background:#235b47;color:white;text-decoration:none}}
@media(max-width:360px){h1{font-size:25px}.content{padding:22px 12px}nav button{font-size:9px}.stat{padding:15px 12px}.duty .row:last-child{align-items:stretch;flex-direction:column}.duty .row:last-child>.person{flex:auto}.duty select{width:100%}}
.staff-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:20px}.secondary{border:1px solid #cbdacf;border-radius:8px;padding:12px 15px;background:white;min-height:44px;font-size:13px}.danger{color:#a83f36;border:1px solid #edc6c1;border-radius:8px;padding:10px 13px;min-height:44px;background:#fff6f4;font-size:13px}.staff-select{display:flex;align-items:center;justify-content:flex-end;gap:8px;font-size:12px;margin-bottom:8px}.staff-select input{width:20px;height:20px;min-height:20px;accent-color:#235b47}.staff-actions{display:flex;align-items:center;gap:10px}.bulk-modal{width:620px}.bulk-modal label{display:flex;flex-direction:column;gap:8px;margin:16px 0;font-size:13px}.bulk-modal textarea{width:100%;font-family:monospace}.import-preview{max-height:240px;overflow:auto;border:1px solid #dbe4dd;border-radius:8px}.import-preview>div{padding:12px;border-bottom:1px solid #e7ece8;overflow-wrap:anywhere;font-size:13px}.import-preview small{margin-top:5px}.preview-title{margin-top:20px}.error-text{color:#a83f36;margin:10px 0}.file-label input{max-width:100%}@media(max-width:700px){.staff-tools{gap:8px}.staff-tools>.primary{width:100%}.staff-tools>.secondary,.staff-tools>.danger{flex:1}.bulk-modal label{font-size:14px}.bulk-modal textarea{font-size:16px}.bulk-modal>.primary{width:100%}}
.login-page{min-height:100dvh;display:grid;place-items:center;padding:24px;background:#f0f4ed}.login-card{width:460px;max-width:100%;background:white;padding:36px;border-radius:20px;border:1px solid #d9e4d6;box-shadow:0 20px 80px #183a3012}.login-card .brandmark{margin-bottom:24px}.login-card label{display:flex;flex-direction:column;gap:8px;margin:18px 0;font-size:14px}.login-card .primary{width:100%;margin-bottom:12px}.login-tabs{margin-bottom:20px}.account-tools{position:relative;z-index:6;margin-left:248px;padding:8px 42px;display:flex;justify-content:flex-end;gap:16px;align-items:center;background:#e9f0e5;font-size:11px}.account-tools button{min-height:36px;text-decoration:underline}.staff-actions{flex-wrap:wrap}.import-preview code{display:block;padding:10px;background:#edf3e8;font-size:16px;margin-top:8px;user-select:all}.bulk-modal .staff-tools{margin-top:20px}@media(max-width:1050px){.account-tools{margin-left:200px}}@media(max-width:700px){.account-tools{margin-left:0;padding:5px 16px;gap:12px;flex-wrap:wrap;font-size:11px}.account-tools button{min-height:44px}.login-page{padding:16px}.login-card{padding:28px 20px}.account-tools span{flex:1}.import-preview code{overflow-wrap:anywhere}}
.upload-panel{padding:24px;background:#e8efdf;border:1px solid #d3dfce;border-radius:14px;margin-bottom:24px;display:flex;align-items:center;flex-wrap:wrap;gap:20px}.upload-panel>div{flex:1 1 260px}.upload-panel h2{margin-bottom:8px}.upload-panel p{margin:0}.upload-panel label:not(.upload-button){display:flex;flex-direction:column;gap:8px;font-size:12px}.upload-button{display:inline-flex;align-items:center;justify-content:center;position:relative;overflow:hidden;cursor:pointer;min-height:46px}.upload-button input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%;padding:0}.upload-button:focus-within{outline:3px solid #86b8a5;outline-offset:2px}.upload-busy{opacity:.6}.file-card{display:flex;align-items:center;gap:18px;background:white;border:1px solid #dbe5dc;border-radius:12px;padding:20px;margin-bottom:12px}.file-icon{flex-shrink:0;background:#ecf1e5;border-radius:9px;width:52px;height:56px;display:grid;place-items:center;font-size:11px;font-weight:bold}.file-details{min-width:0;flex:1}.file-details h3{overflow-wrap:anywhere;margin-bottom:7px}.file-details p{margin-bottom:7px;font-size:12px}.download-file{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;color:#235b47;white-space:nowrap}.chat-attachment{display:block;background:#eaf1e4;border:1px solid #cddfc6;padding:16px;border-radius:9px;color:#244d39;text-decoration:none;overflow-wrap:anywhere}.chat-attachment small{margin-top:8px}.chat-file-bar{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:12px 20px;background:#f5f8f2;border-top:1px solid #e1e9dc}.chat-guidance{background:#f3f6ed;padding:12px;border-radius:8px;font-size:12px}.chat-top select{max-width:100%}@media(max-width:700px){nav{grid-template-columns:repeat(6,minmax(0,1fr))}nav button{font-size:9px}.upload-panel{padding:18px;gap:16px}.upload-panel>div,.upload-panel label{width:100%}.upload-panel>div{flex:auto}.upload-panel select{width:100%}.file-card{gap:12px;flex-wrap:wrap;padding:16px}.file-details{flex-basis:calc(100% - 70px)}.download-file{width:100%;min-height:46px}.chat-file-bar{padding:12px}.chat-file-bar .muted{font-size:11px}.chat-file-bar .upload-button{flex-shrink:0}}
.duty-acceptance{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 0;padding:12px;background:#fff5e5;border:1px solid #efdfbd;border-radius:8px;font-size:12px;color:#87622c}.duty-acceptance.accepted{background:#edf5e8;border-color:#d1e3c7;color:#356143}.duty-acceptance .primary{min-height:44px;padding:10px 18px}.duty select:disabled{opacity:.6;cursor:not-allowed}@media(max-width:700px){.duty-acceptance{flex-wrap:wrap}.duty-acceptance .primary{width:100%}}
.chat-tools{display:flex;gap:10px;padding:12px 20px;border-bottom:1px solid #e1e9dc;flex-wrap:wrap}.recipient-picker{max-height:230px;overflow:auto;border:1px solid #d6e1d2;border-radius:8px;padding:10px;background:#fff;width:100%;margin:10px 0}.recipient-picker label,.modal .recipient-picker label{display:flex;align-items:center;flex-direction:row;gap:10px;margin:0;padding:9px;font-size:14px;min-height:44px}.recipient-picker input{width:20px;height:20px;min-height:20px;accent-color:#235b47}@media(max-width:700px){.chat-tools{padding:12px}.chat-tools button{flex:1;font-size:12px}}
.attachment-card{background:#f0f5e9;border:1px solid #d9e5cc;border-radius:10px;padding:14px;overflow-wrap:anywhere;max-width:360px;margin:8px 0}.attachment-card>strong{display:block;font-size:13px}.attachment-card small{margin-top:6px}.attachment-actions{display:flex;gap:8px;margin-top:12px;flex-wrap:wrap}.attachment-actions a{color:#24573f;text-decoration:none}.attachment-actions .secondary{font-size:12px;padding:10px;min-height:44px}.photo-preview{display:block;padding:0;width:100%;margin-bottom:12px}.photo-preview img{width:100%;max-height:220px;object-fit:contain;border-radius:7px}.preview-overlay{z-index:30}.preview-modal{background:white;border-radius:12px;padding:20px;width:1000px;max-width:100%;max-height:94dvh;overflow:auto}.preview-modal h2{margin:0;overflow-wrap:anywhere}.preview-modal .row{margin-bottom:18px}.preview-modal .row button{min-height:44px;min-width:44px}.preview-modal>img{display:block;max-width:100%;max-height:70dvh;object-fit:contain;margin:auto}.preview-modal iframe{width:100%;height:65dvh;border:1px solid #d8e2d4}.preview-modal a{color:#235b47;text-decoration:underline}.duty-delete{margin-top:15px}.message-delete{font-size:11px;padding:6px 10px;margin-top:5px}.attachment-removed{font-size:12px;padding:16px;color:#8b776d;background:#f2efea;border-radius:8px}.template-link{display:inline-block;text-decoration:none;color:#235b47;margin:12px 0}.file-card>div:last-child{max-width:360px}@media(max-width:700px){.attachment-card{max-width:100%}.file-card>div:last-child{width:100%;max-width:100%}.preview-modal{padding:14px}.duty-delete{width:100%}}
