:root{font-family:Inter,"Segoe UI",sans-serif;color:#233632;background:#f7f8f5;font-synthesis:none}
*{box-sizing:border-box}
body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #e8ad56;outline-offset:2px}.hidden{display:none!important}
.login-layout{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.login-story{background:#203c34;color:#fff;padding:44px 9%;display:flex;flex-direction:column;justify-content:space-between;min-height:100vh;position:relative;overflow:hidden}.login-story:after{content:"";position:absolute;width:480px;height:480px;border:1px solid #ffffff20;border-radius:50%;right:-200px;bottom:-180px;box-shadow:0 0 0 70px #ffffff08,0 0 0 140px #ffffff08}.brand{display:flex;align-items:center;gap:12px;font-size:19px;font-weight:700;letter-spacing:-.5px}.brand small{display:block;color:#a6bbb0;font-size:8px;letter-spacing:1.6px;margin-top:3px}.brand-mark{display:grid;place-items:center;width:37px;height:37px;border-radius:10px;background:#d8eab3;color:#244638;font-family:Georgia,serif;font-size:24px}.story-content{max-width:510px;z-index:1}.story-content h1{font-family:Georgia,serif;font-weight:400;font-size:clamp(42px,5vw,70px);letter-spacing:-2px;line-height:1.08;margin:22px 0}.story-content p{color:#c4d2c8;line-height:1.8;max-width:425px}.story-note{border-top:1px solid #ffffff26;margin-top:44px;padding-top:24px;color:#d0dfd4;font-size:13px}.story-note span{color:#d9e8af;margin-right:10px}.story-footer{font-size:10px;letter-spacing:1.3px;color:#9eb3a7;z-index:1}.login-panel{display:grid;place-items:center;padding:40px;background:#fbfcf9}.login-box{width:min(100%,390px)}.mobile-brand{display:none}.eyebrow,.panel-kicker{color:#799387;font-size:10px;letter-spacing:1.4px;font-weight:800}.eyebrow.light{color:#c0d8a8}.login-box h2{font-family:Georgia,serif;font-size:35px;font-weight:400;letter-spacing:-1px;margin:14px 0 8px}.login-box>p,.page-description,.muted{color:#87948b;line-height:1.6;font-size:13px}.login-box form{display:grid;gap:19px;margin-top:33px}label{display:grid;gap:8px;color:#43564d;font-size:12px;font-weight:700}input,select,textarea{width:100%;border:1px solid #e1e8e1;border-radius:7px;background:#fff;padding:12px;color:#263c32}textarea{min-height:100px;resize:vertical}.primary,.secondary{border:0;border-radius:7px;padding:12px 17px;font-size:12px;font-weight:700}.primary{background:#2c5543;color:white}.primary:hover{background:#1d4031}.primary span{margin-left:20px}.secondary{background:#eff3ef;color:#53675d}.wide{width:100%;padding:14px}.wide span{float:right}.login-help{border-top:1px solid #e8ede7;margin-top:34px;padding-top:20px;color:#9aa69c;font-size:12px}.error{color:#b84338;font-size:12px;line-height:1.5}
.app-layout{display:flex;min-height:100vh}.sidebar{background:#203a32;color:#e5eee7;width:224px;flex-shrink:0;display:flex;flex-direction:column;padding:27px 15px 16px}.sidebar .brand{padding:0 9px;margin-bottom:43px}.nav-caption{font-size:9px;color:#93aaa0;letter-spacing:1.5px;font-weight:700;padding:0 12px;margin-bottom:13px}.sidebar nav{display:grid;gap:3px}.nav-item{border:0;background:transparent;color:#a9bcb0;border-radius:7px;display:flex;align-items:center;gap:13px;padding:10px 12px;text-align:left;font-size:12px;font-weight:600}.nav-item:hover,.nav-item.active{color:#fff;background:#36564a}.nav-item.active{box-shadow:inset 3px 0 #d9eab0}.nav-icon{font-size:17px;width:19px;text-align:center}.sidebar-bottom{margin-top:auto;padding-top:30px}.sidebar-note{background:#2c4b40;border-radius:8px;padding:16px 13px;color:#d8eab3;display:flex;gap:12px;font-size:17px}.sidebar-note span{font-size:11px;line-height:1.6;color:#adc2b5}.sidebar-note strong{color:#e2eee3}.profile{display:flex;align-items:center;gap:10px;margin-top:22px;padding:17px 3px 0;border-top:1px solid #ffffff1c}.avatar,.top-avatar{display:grid;place-items:center;background:#d8e8d2;color:#385a49;border-radius:50%;width:32px;height:32px;font-size:12px;font-weight:800;flex-shrink:0}.profile strong,.profile small{display:block;font-size:11px;max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile small{color:#99b0a2;margin-top:4px}.logout{margin-left:auto;background:none;border:0;color:#bfd0c5;font-size:18px}.main{flex:1;min-width:0}.topbar{height:67px;background:#fff;border-bottom:1px solid #edf0ea;display:flex;justify-content:space-between;align-items:center;padding:0 38px;color:#61776a;font-size:12px}.top-label{font-size:9px;letter-spacing:1px;color:#9eaca3;font-weight:700}.top-divider{color:#d1dad3;margin:0 12px}.top-right{display:flex;align-items:center;gap:10px}.status-dot{width:7px;height:7px;border-radius:50%;background:#86bd84}.top-avatar{width:30px;height:30px;margin-left:12px}.content{max-width:1500px;margin:auto;padding:35px 40px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:27px}.page-heading h1{font-family:Georgia,serif;font-size:32px;font-weight:400;letter-spacing:-.8px;margin:9px 0 5px;color:#233b30}.page-description{margin:0}.date-pill{border:1px solid #e6ebe4;border-radius:7px;background:white;padding:10px 13px;font-size:11px;color:#667a6d;white-space:nowrap}.welcome-banner{min-height:175px;border-radius:10px;background:#dcebc8;display:flex;align-items:center;justify-content:space-between;padding:27px 34px;overflow:hidden}.banner-tag{font-size:9px;letter-spacing:1.3px;color:#6b8865;font-weight:800}.welcome-banner h2{font-family:Georgia,serif;font-size:27px;font-weight:400;letter-spacing:-.5px;margin:12px 0 8px}.welcome-banner p{color:#738c71;font-size:12px;margin:0}.banner-art{font-size:115px;line-height:1;color:#abc999;margin-right:7%;transform:rotate(15deg)}.section-heading{display:flex;justify-content:space-between;align-items:center;font-size:16px;font-weight:700;margin:30px 0 15px}.section-heading span{font-size:9px;letter-spacing:1px;color:#9baaa0}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.stat-card,.panel{background:#fff;border:1px solid #e9eee8;border-radius:9px;padding:20px}.stat-top{display:flex;justify-content:space-between;align-items:center}.stat-icon,.quick-icon{display:grid;place-items:center;background:#edf5e9;color:#547c5f;border-radius:7px;width:34px;height:34px;font-size:18px}.stat-arrow{color:#b7c5b9}.stat-number{display:block;font-size:29px;letter-spacing:-1px;margin:15px 0 3px}.stat-label{font-size:12px;font-weight:700}.stat-card small{display:block;color:#a1ada3;font-size:10px;margin-top:5px}.dashboard-grid{display:grid;grid-template-columns:1fr 1.15fr;gap:15px;margin-top:24px}.panel h2{font-size:17px;letter-spacing:-.3px;margin:9px 0 3px}.panel .muted{margin:0 0 17px;font-size:12px}.quick-link{width:100%;display:flex;align-items:center;gap:12px;text-align:left;padding:12px 0;border:0;border-top:1px solid #f0f3ef;background:none}.quick-copy{display:grid;gap:4px}.quick-copy strong{font-size:12px;color:#384c40}.quick-copy small{color:#9aa99e;font-size:10px}.quick-arrow{margin-left:auto;color:#8aa393}.panel-title{display:flex;justify-content:space-between;align-items:center}.text-button{background:none;border:0;color:#528367;padding:4px;font-size:11px;font-weight:700}.text-button:hover{text-decoration:underline}.announcement{display:flex;gap:12px;padding:12px 0;border-top:1px solid #f0f3ef}.announcement-dot{color:#85ae85}.announcement strong{font-size:12px}.announcement p{font-size:11px;line-height:1.5;color:#88988d;margin:5px 0}.announcement small{color:#a7b3a9;font-size:10px}.empty-inline,.empty-state{color:#9aa99e;font-size:12px;padding:22px 0}.footer{text-align:center;color:#b1beb3;font-size:9px;letter-spacing:1px;margin-top:40px}.notice{padding:12px 15px;margin-bottom:20px;color:#315b40;background:#e4f2e4;border-radius:6px;font-size:12px}.notice-error{color:#a1342b;background:#fff0ed}.table-tools{display:flex;justify-content:space-between;align-items:center;gap:15px}.search{max-width:240px;font-size:12px}.table-container{overflow-x:auto}table{border-collapse:collapse;width:100%;text-align:left}th{font-size:10px;letter-spacing:.5px;text-transform:uppercase;color:#9ca99f;border-bottom:1px solid #e9eee8;padding:14px 12px;white-space:nowrap}td{font-size:12px;color:#485c50;border-bottom:1px solid #f1f3f0;padding:14px 12px;vertical-align:top;max-width:260px;overflow-wrap:anywhere}.cell-tag{color:#518260;font-weight:700}.row-actions{white-space:nowrap}.danger{color:#b95c52;margin-left:8px}.empty-state{text-align:center;padding:48px 0}
dialog{border:0;border-radius:12px;padding:26px;width:min(560px,calc(100% - 32px));box-shadow:0 20px 70px #10281d40}dialog::backdrop{background:#11281db3}.dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:20px}.dialog-heading h2{font-family:Georgia,serif;font-size:26px;font-weight:400;margin:8px 0}.icon-button{border:0;background:none;font-size:25px;color:#899a8e}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-grid .full{grid-column:1/-1}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}
.profile-grid{margin-top:20px}.profile-detail{display:grid;gap:7px;padding:14px;border:1px solid #edf0ea;border-radius:7px}.profile-detail small{color:#87948b;font-size:11px}.profile-detail strong{font-size:13px;font-weight:600;overflow-wrap:anywhere}
button:disabled{opacity:.6;cursor:wait}.portal-link{display:block;margin-top:16px;padding:13px 14px;border:1px solid #dfe8dc;border-radius:7px;background:#f1f6ee;color:#2c5543;font-size:12px;font-weight:700;text-decoration:none}.portal-link:hover{background:#e6f0e1}.login-help a,.panel a{color:#2c5543;font-weight:700}.login-help a{display:inline-block;margin-top:8px}.badge{display:inline-block;border-radius:20px;padding:3px 9px;font-size:10px;font-weight:800;background:#eef2ee;color:#6b7c71}.badge-active{background:#e4f2e4;color:#2f6a43}.badge-warn{background:#fff1e6;color:#9a4b12}
.portal{min-height:100vh}.portal-header{background:#203a32;color:#fff;display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap;padding:16px 40px}.portal-user{display:flex;align-items:center;gap:12px}.portal-user strong,.portal-user small{display:block;font-size:12px}.portal-user small{color:#a6bbb0;margin-top:3px}.portal-user .top-avatar{margin:0}.small{padding:9px 13px}.portal-header .secondary{background:#36564a;color:#e5eee7}.portal-header .primary{background:#d8eab3;color:#203a32}.portal-tabs{display:flex;gap:4px;padding:0 40px;background:#fff;border-bottom:1px solid #edf0ea;overflow-x:auto}.tab{border:0;border-bottom:2px solid transparent;background:none;padding:16px 14px;color:#7d8c82;font-size:12px;font-weight:700;white-space:nowrap}.tab:hover,.tab.active{color:#203a32;border-bottom-color:#2c5543}.portal-content{max-width:1150px}
@media(max-width:900px){.sidebar{width:190px}.content{padding:28px 24px}.stats-grid{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:1fr}.banner-art{font-size:80px}}
@media(max-width:640px){.login-layout{display:block}.login-story{display:none}.login-panel{min-height:100vh}.mobile-brand{display:block;font-weight:800;font-size:20px;margin-bottom:60px;color:#294a39}.mobile-brand span{color:#8eae76}.app-layout{display:block}.sidebar{width:100%;padding:14px;display:block}.sidebar .brand{margin:0 0 16px}.nav-caption,.sidebar-note{display:none}.sidebar-bottom{padding:0}.profile{margin-top:8px;padding-top:10px}.sidebar nav{display:flex;overflow-x:auto}.nav-item{white-space:nowrap}.topbar{padding:0 18px;height:55px}.top-right{font-size:0}.content{padding:24px 16px}.page-heading{align-items:flex-start;flex-direction:column}.page-heading h1{font-size:28px}.date-pill{display:none}.welcome-banner{padding:24px}.banner-art{font-size:50px;margin:0}.stats-grid{gap:9px}.stat-card{padding:15px}.table-tools{align-items:flex-start;flex-direction:column}.search{max-width:none}.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}}
@media(max-width:640px){.portal-header{padding:14px 16px}.portal-user{flex-wrap:wrap}.portal-user small{display:none}.portal-tabs{padding:0 8px;scrollbar-width:none}td{overflow-wrap:break-word}.portal td{white-space:nowrap}}
.checklist-field{display:grid;gap:8px}.checklist-label{font-size:12px;font-weight:600;color:#3f5a51}.checklist{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:6px 14px;max-height:220px;overflow:auto;padding:10px 12px;border:1px solid #d7e2dc;border-radius:8px;background:#f7faf8}.checklist-option{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:500;cursor:pointer}.checklist-option input{width:auto;margin:0;accent-color:#2f6b5a}
.child-picker{margin-bottom:16px}.child-picker label{display:inline-flex;align-items:center;gap:10px;font-size:13px;color:#3f5a51}.child-picker select{width:auto;min-width:220px}.child-card{margin-bottom:18px}.child-card .stats-grid{margin:14px 0}.child-card .panel{box-shadow:none;border:1px solid #e3ebe6;margin:0}
.nav-children{display:grid;gap:2px;margin:-1px 0 6px 31px;padding:3px 0 3px 10px;border-left:1px solid #ffffff24}.nav-child{border:0;border-radius:6px;background:transparent;color:#91a99b;padding:7px 9px;text-align:left;font-size:10px;font-weight:600}.nav-child:hover,.nav-child.active{background:#2c4b40;color:#fff}.nav-child.active{color:#d8eab3}

/* Finance Department. */
.finance-tabs{display:flex;width:max-content;max-width:100%;gap:4px;margin-bottom:20px;padding:5px;overflow-x:auto;border:1px solid #e0e8e2;border-radius:10px;background:#eaf0eb}.finance-tab{padding:10px 15px;border:0;border-radius:7px;background:transparent;color:#75847b;font-size:11px;font-weight:700;white-space:nowrap}.finance-tab:hover{color:#2c5543}.finance-tab.active{background:#fff;color:#244f3c;box-shadow:0 1px 4px #203a3210}
.finance-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-bottom:20px}.finance-stat{display:grid;gap:7px;min-height:130px;padding:19px;border:1px solid #e6ece7;border-radius:10px;background:#fff}.finance-stat-label{font-size:11px;font-weight:700;color:#64786c}.finance-stat strong{font-size:25px;letter-spacing:-.5px;color:#2d4739}.finance-stat small{font-size:10px;line-height:1.5;color:#91a096}.finance-stat.incoming{border-left:4px solid #75a879}.finance-stat.outgoing{border-left:4px solid #cf8276}.finance-stat.warning{border-left:4px solid #d5aa62}.finance-stat.neutral{border-left:4px solid #a8b7ad}
.finance-overview-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:15px}.finance-action-list{display:grid;margin-top:4px}.finance-action{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 2px;border:0;border-top:1px solid #edf1ed;background:transparent;color:#375044;text-align:left}.finance-action:hover strong{color:#2c7552}.finance-action span:first-child{display:grid;gap:4px}.finance-action strong{font-size:12px}.finance-action small{font-size:10px;line-height:1.45;color:#8a9a90}.finance-action>span:last-child{color:#7da08a;font-size:16px}.finance-snapshot-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:13px 0;border-top:1px solid #edf1ed;color:#6c8073;font-size:11px}.finance-snapshot-row strong{color:#365141;font-size:12px;text-align:right}.finance-ledger-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:18px}.finance-ledger-heading h2{margin-top:0}.finance-ledger-heading .muted{max-width:720px;margin-bottom:0}.finance-ledger>.table-tools{margin-bottom:12px}.finance-amount{font-weight:700;white-space:nowrap}.finance-amount.incoming{color:#2f754c}.finance-amount.outgoing{color:#a34d43}
@media(max-width:1000px){.finance-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.finance-overview-grid{grid-template-columns:1fr}}
@media(max-width:640px){.nav-children{display:flex;flex:0 0 auto;margin:0;padding:0;border:0}.nav-child{white-space:nowrap;padding:10px}.finance-stats{grid-template-columns:1fr}.finance-ledger-heading{flex-direction:column}.finance-ledger-heading .primary{width:100%}}
.level-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:-8px 0 18px;padding:5px;width:max-content;max-width:100%;border:1px solid #e0e8e2;border-radius:9px;background:#eaf0eb}
.level-tab{padding:9px 14px;border:0;border-radius:6px;background:transparent;color:#75847b;font-size:11px;font-weight:700}
.level-tab:hover{color:#2c5543}.level-tab.active{background:#fff;color:#244f3c;box-shadow:0 1px 4px #203a3210}
.register-tools{display:flex;flex-wrap:wrap;gap:14px 18px;align-items:flex-end;margin-bottom:10px}.register-field{display:grid;gap:5px;font-size:12px;font-weight:600;color:#3f5a51}.register-field input,.register-field select{min-width:180px}.register-nav{display:flex;gap:8px;flex-wrap:wrap}.register-meta{margin:0 0 12px}
.register-container{overflow:auto}.register{border-collapse:separate;border-spacing:0;min-width:900px}.register th,.register td{border-right:1px solid #e3ebe6;border-bottom:1px solid #e3ebe6;padding:0;text-align:center;white-space:nowrap}.register thead th{background:#f1f6f3;font-size:11px;font-weight:700;color:#3f5a51;padding:6px 4px;position:sticky;top:0;z-index:2}.register .register-week{border-left:2px solid #c7d6cf;letter-spacing:.3px}.register .register-day{min-width:34px;display:table-cell}.register .register-day span{display:block}.register .register-day small{font-weight:500;color:#7b918a}.register .register-no{width:38px;text-align:center;padding:6px}.register .register-name{text-align:left;padding:6px 10px;min-width:200px;font-weight:600;position:sticky;left:38px;background:#fff;z-index:1}.register thead .register-name,.register thead .register-no{z-index:3}.register tbody .register-no{position:sticky;left:0;background:#fff;z-index:1}.register td:nth-child(6n+3){border-left:2px solid #c7d6cf}.register .register-total{min-width:34px;font-weight:700;background:#f7faf8}.register .today{background:#fdf6e3}.register thead th.today{background:#f7e9c4}
.register-cell .mark,.register-legend .mark{display:inline-flex;align-items:center;justify-content:center;width:100%;min-width:34px;height:32px;border:0;background:transparent;font:inherit;font-size:12px;font-weight:800;color:#203a32;cursor:pointer;border-radius:0}.register-legend .mark{width:28px;height:24px;border-radius:6px;margin-right:4px}.register-cell .mark:hover:not(:disabled){background:#e9f1ed}.register-cell .mark:disabled{cursor:default;color:#b3c2bb}.mark-present{background:#dcefe3!important;color:#1f6b45!important}.mark-absent{background:#f9dcdc!important;color:#a12a2a!important}.mark-late{background:#fdebc8!important;color:#8a5a00!important}.mark-excused{background:#dfe7f7!important;color:#2f4f8f!important}
.register-legend{display:flex;flex-wrap:wrap;gap:16px;align-items:center;margin-top:12px;font-size:12px;color:#3f5a51}.today-table td,.today-table th{text-align:center}.today-table td:first-child,.today-table th:first-child,.today-table td:nth-child(2),.today-table th:nth-child(2){text-align:left}

/* Weekly staff and classroom planning. */
.tt-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.tt-context{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}
.tt-tabs{display:flex;gap:4px;padding:5px;background:#eaf0eb;border:1px solid #e0e8e2;border-radius:10px}
.tt-view{padding:10px 16px;border:0;border-radius:7px;background:transparent;color:#75847b;font-size:12px;font-weight:700;white-space:nowrap}
.tt-view:hover{color:#2c5543}.tt-view.active{color:#244f3c;background:#fff;box-shadow:0 1px 4px #203a3210}
.tt-view:disabled{cursor:default;opacity:.55}.tt-recurring{font-size:11px;color:#7d8f84}
.tt-link-note{font-size:12px;line-height:1.6;color:#6c7f73;margin:-6px 0 18px}
.tt-toolbar{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;flex-wrap:wrap;margin-bottom:20px}
.tt-search-group{display:flex;align-items:center;gap:7px;flex:1;min-width:250px}.tt-search{max-width:310px}
.tt-hours{display:flex;align-items:flex-end;gap:8px;flex-wrap:wrap}.tt-hour-field{gap:5px;font-size:10px;color:#7b8b80}.tt-hour-field input,.tt-hour-field select{width:118px;padding:9px 10px;font-size:12px;min-height:38px}.tt-hour-field select{width:132px}
.tt-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:22px}
.tt-summary-item{border:1px solid #e5ebe6;background:#fff;border-radius:10px;padding:17px 18px;display:grid;gap:7px}
.tt-summary-item strong{font-size:25px;font-weight:700;letter-spacing:-.6px;color:#2b4638}.tt-summary-item span{font-size:11px;line-height:1.4;color:#7d8e82}
.tt-summary-teaching{background:#f6f3fb;border-color:#e8e1f2}.tt-summary-teaching strong{color:#766298}.tt-summary-free{background:#f0f7f2;border-color:#dfece2}.tt-summary-free strong{color:#56836b}
.tt-panel{background:#fff;border:1px solid #e3e9e3;border-radius:12px;overflow:hidden;box-shadow:0 3px 14px #274b351f}
.tt-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:20px 23px;border-bottom:1px solid #e9eee9}
.tt-panel-heading h2{font-size:16px;color:#2d4739;margin:0 0 6px;font-weight:700;letter-spacing:-.2px}.tt-panel-heading p{font-size:11px;color:#89998f;margin:0}
.tt-legend{display:flex;gap:15px;font-size:10px;color:#6c7f72;white-space:nowrap}.tt-legend span{display:flex;gap:6px;align-items:center}.tt-legend span:before{content:"";display:inline-block;width:9px;height:9px;border-radius:3px}.tt-legend-teaching:before{background:#d7c9ed;border:1px solid #bdadd9}.tt-legend-free:before{background:#edf6ef;border:1px dashed #93b59e}
.tt-scroll{overflow:auto;max-height:76vh;scrollbar-color:#ccd9d0 #f5f8f5;scrollbar-width:thin}
.tt-grid{border-collapse:separate;border-spacing:0;min-width:1580px;table-layout:fixed;width:100%}
.tt-grid.tt-week-5{min-width:1200px}.tt-grid.tt-week-6{min-width:1390px}
.tt-grid caption{caption-side:bottom;text-align:left;font-size:10px;line-height:1.5;color:#819286;background:#fafcf9;padding:12px 18px}
.tt-grid thead th{position:sticky;top:0;z-index:3;background:#f7faf7;border-bottom:1px solid #dee7df;text-transform:none;letter-spacing:0;font-size:11px;color:#657e6c;height:58px;padding:12px 15px;text-align:left;border-right:1px solid #e9eee8}
.tt-grid .tt-resource-heading{width:200px;left:0;z-index:4;background:#f5f8f4;color:#78917d;font-size:10px;letter-spacing:.4px;text-transform:uppercase}
.tt-day-heading span{display:block}.tt-day-heading small{display:inline-block;font-size:9px;color:#876ba3;background:#ebe3f5;border-radius:4px;padding:3px 6px;margin-top:5px;letter-spacing:.2px}
.tt-grid .tt-resource{position:sticky;left:0;background:#fff;z-index:2;border-right:1px solid #e4eae4;border-bottom:1px solid #e6ece6;padding:20px 14px;vertical-align:top;text-transform:none;letter-spacing:0;white-space:normal;text-align:left}
.tt-resource-name{display:flex;align-items:flex-start;gap:9px}.tt-resource-name strong{color:#365141;font-size:12px;line-height:1.5;font-weight:700;overflow-wrap:anywhere}.tt-resource-avatar{display:grid;place-items:center;flex:0 0 28px;height:28px;border-radius:8px;background:#e9f0df;color:#6f8c55;font-size:12px;font-weight:700}.tt-resource-total{display:block;margin:11px 0 0 37px;color:#8b9b8f;font-size:10px;line-height:1.7;font-weight:500}
.tt-grid .tt-day{padding:10px;background:#fff;border-right:1px solid #e9eee8;border-bottom:1px solid #e6ece6;max-width:none;vertical-align:top}
.tt-grid .tt-day.tt-today{background:#fdfbff}.tt-grid .tt-day-heading.tt-today{background:#f5f0fb;color:#7e669c}
.tt-lesson,.tt-free{margin-bottom:8px;border:1px solid;border-radius:7px;padding:10px;display:grid;gap:6px;break-inside:avoid;font-size:10px;line-height:1.45}
.tt-lesson{border-left-width:3px}.tt-color-0{background:#f0eafa;border-color:#e0d5ed;border-left-color:#b298d3;color:#6f568c}.tt-color-1{background:#e8f3f3;border-color:#d2e6e4;border-left-color:#7fb5b0;color:#3d7773}.tt-color-2{background:#fdf1e4;border-color:#efdfcb;border-left-color:#d1a56c;color:#997343}
.tt-lesson-top{display:flex;align-items:flex-start;gap:4px;justify-content:space-between}.tt-block-time{font-size:10px;letter-spacing:.1px;font-weight:700;white-space:nowrap}.tt-subject{font-size:12px;line-height:1.4;font-weight:700}.tt-lesson-detail{color:inherit;opacity:.9}.tt-room{font-size:9px;color:inherit;opacity:.8}.tt-edit{border:0;background:transparent;color:inherit;font-size:9px;font-weight:700;line-height:1.5;padding:0;text-decoration:underline;text-underline-offset:2px}.tt-edit:hover{opacity:.7}
.tt-lesson-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.tt-delete{color:#a56257}.tt-hidden-note{display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:#fff7e9;color:#9b7d4e;padding:10px 20px;font-size:11px}.tt-hidden-note .text-button{color:#8a6b36}
.tt-outside{display:inline-block;font-size:9px;font-weight:700;border-top:1px solid #c7a88966;padding-top:6px;color:#986e3e}.tt-free{background:#f5faf5;border:1px dashed #c9dece;color:#7a9782;gap:3px}.tt-free strong{font-size:10px;font-weight:500}.tt-free .tt-block-time{color:#6d8975;font-size:9px;font-weight:600}
.tt-day-total{font-size:9px;line-height:1.5;color:#8da092;padding:5px 2px}.tt-unavailable{display:block;font-size:10px;line-height:1.5;color:#93a497;padding:12px 3px}
.tt-empty{padding:52px 25px;text-align:center;color:#6b8273}.tt-empty strong{font-size:15px;font-weight:600}.tt-empty p{font-size:12px;line-height:1.6;color:#8b9b8f;margin:10px 0 0}
.tt-panel-footer{padding:15px 20px;background:#fafcf9;border-top:1px solid #e9eee8}.tt-free-note{font-size:10px;line-height:1.7;color:#8c9d90;margin:0 0 13px}.tt-pagination{display:flex;align-items:center;justify-content:flex-end;gap:8px}.tt-pagination>span{font-size:10px;color:#8a9b8d;margin-right:auto}.tt-pagination button{font-size:10px;padding:8px 12px}.tt-pagination button:disabled{cursor:default}
@media(max-width:1100px){.tt-toolbar{align-items:flex-start}.tt-search-group{min-width:220px}.tt-context{align-items:flex-start;flex-wrap:wrap}.tt-summary-item{padding:15px 13px}.tt-summary-item strong{font-size:23px}.tt-hours{flex-wrap:wrap}.tt-hour-field input{width:110px}}
@media(max-width:640px){.tt-context{gap:10px}.tt-tabs{width:100%;justify-content:space-between}.tt-view{padding:9px 8px;font-size:11px}.tt-recurring{font-size:10px}.tt-toolbar{gap:15px}.tt-search-group{width:100%;min-width:0}.tt-search{max-width:none}.tt-hours{gap:7px}.tt-hour-field input{width:104px}.tt-hours .secondary{padding:11px 12px}.tt-summary{grid-template-columns:repeat(2,1fr);gap:8px}.tt-summary-item strong{font-size:22px}.tt-summary-item span{font-size:10px}.tt-panel-heading{padding:16px;align-items:flex-start;flex-direction:column;gap:12px}.tt-panel-footer{padding:12px 14px}.tt-grid .tt-resource-heading{width:150px}.tt-grid .tt-resource{padding:15px 10px}.tt-resource-name{gap:6px}.tt-resource-avatar{flex-basis:23px;height:23px;font-size:10px}.tt-resource-name strong{font-size:11px}.tt-resource-total{margin-left:0;font-size:9px}.tt-pagination{flex-wrap:wrap}.tt-pagination>span{flex-basis:100%}.tt-scroll{max-height:70vh}}
@media print{
  @page{size:landscape;margin:10mm}
  body:has(.timetable-planner){background:#fff;color:#203a32;font-size:9px}
  body:has(.timetable-planner) .sidebar,body:has(.timetable-planner) .topbar,body:has(.timetable-planner) #notice,body:has(.timetable-planner) dialog,body:has(.timetable-planner) .tt-actions,body:has(.timetable-planner) .tt-tabs,body:has(.timetable-planner) .tt-toolbar,body:has(.timetable-planner) .tt-edit,body:has(.timetable-planner) .tt-pagination button{display:none!important}
  body:has(.timetable-planner) .app-layout,body:has(.timetable-planner) .main{display:block;width:100%}body:has(.timetable-planner) .content{max-width:none;padding:0;margin:0}
  .timetable-planner .page-heading{margin-bottom:12px}.timetable-planner .page-heading h1{font-size:24px}.timetable-planner .page-description{font-size:10px}.tt-context{margin-bottom:10px}.tt-summary{margin-bottom:12px;gap:6px}.tt-summary-item{padding:8px}.tt-summary-item strong{font-size:16px}.tt-summary-item span{font-size:8px}
  .tt-panel{overflow:visible;box-shadow:none}.tt-panel-heading{padding:10px}.tt-panel-heading h2{font-size:12px}.tt-scroll{overflow:visible;max-height:none}.tt-grid,.tt-grid.tt-week-5,.tt-grid.tt-week-6{min-width:0;table-layout:fixed;width:100%}.tt-grid thead{display:table-header-group}.tt-grid thead th,.tt-grid .tt-resource{position:static}.tt-grid .tt-resource-heading{width:105px;font-size:8px}.tt-grid thead th{padding:7px;font-size:8px;height:35px}.tt-grid .tt-resource{padding:8px 5px}.tt-resource-name{display:block}.tt-resource-avatar{display:none}.tt-resource-name strong{font-size:9px}.tt-resource-total{margin:6px 0 0;font-size:7px}.tt-grid .tt-day{padding:4px}.tt-lesson,.tt-free{padding:5px;margin-bottom:4px;gap:3px;border-left-width:1px;print-color-adjust:exact;-webkit-print-color-adjust:exact}.tt-block-time,.tt-free .tt-block-time{font-size:7px;white-space:normal}.tt-subject{font-size:8px}.tt-lesson-detail,.tt-free strong,.tt-room,.tt-outside,.tt-day-total{font-size:7px}.tt-panel-footer{padding:7px}.tt-free-note,.tt-grid caption,.tt-pagination>span{font-size:7px}
}

/* Staff messaging. */
.message-layout{display:grid;grid-template-columns:minmax(260px,330px) minmax(0,1fr);min-height:620px;max-height:calc(100vh - 230px);background:#fff;border:1px solid #e5ebe6;border-radius:12px;overflow:hidden;box-shadow:0 3px 14px #274b3510}
.message-sidebar{display:flex;flex-direction:column;min-width:0;background:#fbfcfa;border-right:1px solid #e8eee8}
.message-actions{display:flex;gap:8px;padding:14px;border-bottom:1px solid #e8eee8}.message-actions button{flex:1;padding:10px 8px;font-size:11px}
.message-form-root:empty{display:none}.message-new-form{display:grid;gap:10px;padding:14px;border-bottom:1px solid #e8eee8}.message-new-form>strong{font-size:12px;color:#365141}.message-new-form select{min-height:88px;padding:8px;font-size:11px}.message-new-form input{padding:9px;font-size:11px}.message-new-actions{display:flex;gap:7px}.message-new-actions button{padding:9px 11px;font-size:10px}
.message-conversation-list{overflow:auto}.message-conversation{width:100%;display:flex;align-items:center;gap:10px;padding:14px;border:0;border-bottom:1px solid #edf1ed;background:transparent;text-align:left;color:#3e5348}.message-conversation:hover,.message-conversation.active{background:#edf4ed}.message-conversation-copy{display:grid;gap:5px;min-width:0;flex:1}.message-conversation-copy strong,.message-conversation-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.message-conversation-copy strong{font-size:12px}.message-conversation-copy small{font-size:10px;color:#87968b}.message-unread{display:grid;place-items:center;min-width:21px;height:21px;padding:0 5px;border-radius:11px;background:#2c6548;color:white;font-size:10px;font-weight:700}
.message-empty-list,.message-empty-thread,.message-start{padding:22px;color:#8b9b8f;font-size:12px;line-height:1.6}.message-thread{display:flex;flex-direction:column;min-width:0;min-height:0}.message-thread-heading{display:grid;gap:5px;padding:17px 20px;border-bottom:1px solid #e8eee8;font-size:14px;font-weight:700;color:#365141}.message-thread-heading small{font-size:10px;line-height:1.5;font-weight:400;color:#87968b}.message-history{display:flex;flex:1;flex-direction:column;gap:11px;overflow:auto;padding:20px;scroll-behavior:smooth}.message-bubble{align-self:flex-start;max-width:min(78%,620px);padding:10px 13px;border:1px solid #e7ece7;border-radius:4px 12px 12px 12px;background:#f7f9f6;overflow-wrap:anywhere}.message-bubble.mine{align-self:flex-end;border-color:#dbe9d7;border-radius:12px 4px 12px 12px;background:#edf5e9}.message-bubble strong{font-size:10px;color:#54735c}.message-bubble p{margin:5px 0 7px;font-size:12px;line-height:1.6;white-space:pre-wrap;color:#344a3d}.message-bubble time{display:block;text-align:right;font-size:9px;color:#8e9b91}.message-composer{display:flex;align-items:flex-end;gap:10px;padding:13px 15px;border-top:1px solid #e8eee8}.message-composer textarea{min-height:42px;max-height:140px;resize:vertical;padding:10px 12px;font-size:12px}.message-composer button{flex:0 0 auto;padding:11px 18px;font-size:11px}.message-composer button:disabled{opacity:.6;cursor:wait}
@media(max-width:760px){.message-layout{grid-template-columns:1fr;max-height:none;min-height:70vh}.message-sidebar{border-right:0;border-bottom:1px solid #e8eee8;max-height:34vh}.message-thread{min-height:45vh}.message-history{min-height:200px}.message-bubble{max-width:90%}}

.exam-tabs{width:max-content;max-width:100%;margin-bottom:20px;overflow-x:auto}.exam-actions,.exam-pagination,.exam-picker-controls{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.exam-panel{margin-bottom:18px}.exam-pagination{margin:16px 0}.exam-pagination .muted{margin:0}.exam-panel td:first-child{max-width:320px;white-space:normal;overflow-wrap:anywhere}.exam-actions .text-button{white-space:nowrap}.exam-picker{display:grid;gap:9px}.exam-picker .muted{margin:0}.exam-picker-controls .search{flex:1;min-width:150px}.exam-picker-list{grid-template-columns:1fr}.exam-selected{display:grid;gap:6px;max-height:180px;overflow:auto;font-size:12px}.exam-selected-item{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:5px 0;border-bottom:1px solid #edf2ed}.exam-selected-item span{overflow-wrap:anywhere}
.exam-question{padding:20px 0;border-top:1px solid #e9eee8;break-inside:avoid}.exam-question h3{margin:0 0 7px;font-size:14px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}.exam-question .muted{margin:0 0 12px}.exam-options{padding-left:24px;font-size:12px;line-height:1.8}.exam-options li,.exam-instructions,.exam-response,.exam-guide{white-space:pre-wrap;overflow-wrap:anywhere}.exam-instructions,.exam-response,.exam-guide{font-size:12px;line-height:1.7}.exam-instructions{padding:12px 14px;background:#f4f8f2;border-radius:7px}.exam-guide{padding:10px 12px;background:#f2f5ee;color:#4c6455;border-radius:6px}.exam-mark-label{max-width:180px}.exam-answer-fields{border:0;padding:0;margin:0;min-width:0}.exam-choice-list{display:grid;gap:9px}.exam-choice{display:flex;align-items:flex-start;gap:10px;font-weight:500;line-height:1.5}.exam-choice input{width:auto;margin:2px 0;accent-color:#2c5543}.exam-clock{font-weight:700;color:#315b40;font-size:13px}.exam-save-status{font-size:12px;color:#647c6c}.exam-save-status.error{color:#b84338}.exam-print-sheet{display:none}
.exam-writing-line{height:7mm;border-bottom:1px solid #aaa}
.brs-intro{background:#edf4e8;border:1px solid #dce8d5;border-radius:10px;padding:18px 20px;margin-bottom:20px;color:#46634c;font-size:12px;line-height:1.6}.brs-intro strong{font-size:13px;color:#2d5038}.brs-intro p{margin:7px 0}.brs-intro a{color:#2e6344;font-weight:700;text-underline-offset:3px}.brs-actions,.brs-pagination{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.brs-pagination{margin:17px 0}.brs-pagination .search{min-width:190px;flex:1}.brs-pagination .muted{margin:0}.brs-panel{margin-bottom:18px}.brs-panel h2{margin-top:0}.brs-panel td{vertical-align:top;white-space:normal;overflow-wrap:anywhere}.brs-panel td:first-child{min-width:145px;max-width:260px}.brs-panel .brs-actions{min-width:120px}.brs-actions .text-button{white-space:nowrap}.brs-download{display:inline-flex;text-decoration:none}.brs-export-note{margin-bottom:6px}.brs-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:20px}.brs-stat{display:grid;gap:7px;padding:19px;border:1px solid #e1e9df;border-radius:10px;background:#fff}.brs-stat strong{font-size:27px;line-height:1;color:#36543f}.brs-stat span{font-size:11px;color:#7b8e7e}.brs-candidate,.brs-status{display:grid;gap:6px}.brs-candidate strong{font-size:12px}.brs-candidate small,.brs-status small{color:#7e8e82;font-size:10px;line-height:1.5}.brs-status .badge{width:fit-content;white-space:nowrap}.brs-ready{background:#edf4df;color:#5c7638}.brs-submitted{background:#e1f1e8;color:#36674b}.brs-checks{min-width:140px;font-size:11px;line-height:1.6;color:#7b8d7d}.brs-checks ul{margin:0;padding-left:16px;color:#a3753b}
@media(max-width:640px){.brs-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.brs-stat{padding:15px}.brs-intro{padding:15px}.brs-pagination .search{flex-basis:100%;min-width:0}.brs-actions{width:100%}.brs-pagination{gap:7px}.brs-pagination button{padding:10px 12px}}
.brs-candidate-profile{display:flex;align-items:flex-start;gap:11px;min-width:260px}.brs-passport-thumb{display:block;width:56px;height:72px;object-fit:contain;background:#f7f9f6;border:1px solid #dce5dc;flex:0 0 56px;border-radius:4px}.brs-passport-missing{display:flex;align-items:center;justify-content:center;text-align:center;font-size:10px;line-height:1.4;color:#7b8b7b;padding:4px}.brs-photo-controls{display:flex;flex-direction:column;align-items:flex-start;gap:5px}.brs-photo-controls button:disabled{opacity:.5;cursor:wait}.brs-birth{display:grid;gap:6px;min-width:110px}.brs-birth small{font-size:10px;color:#7e8e82}.brs-print-sheet{display:none}
@media print{
  @page brs-verification{size:A4 landscape;margin:10mm}
  body.brs-printing>*{display:none!important}
  body.brs-printing>.brs-print-sheet{display:block!important;page:brs-verification;color:#111;font-family:Arial,sans-serif;font-size:9pt}
  .brs-print-sheet .brs-print-kicker{font-size:8pt;font-weight:700;letter-spacing:.8pt}.brs-print-sheet h1{font-size:17pt;margin:4px 0}.brs-print-sheet h2{font-size:12pt;margin:4px 0 7px}.brs-print-sheet>p{font-size:8pt;line-height:1.4;margin:4px 0}.brs-print-sheet .brs-print-note{margin-bottom:10px}
  .brs-verification-table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:8pt}.brs-verification-table thead{display:table-header-group}.brs-verification-table tr{break-inside:avoid;page-break-inside:avoid}.brs-verification-table th,.brs-verification-table td{border:1px solid #777;padding:2mm;vertical-align:top;color:#111;text-align:left;white-space:normal;overflow-wrap:anywhere;max-width:none}.brs-verification-table th{font-size:8pt;background:#f1f1f1;letter-spacing:0;text-transform:none}.brs-verification-table th:nth-child(1){width:9mm}.brs-verification-table th:nth-child(2){width:40mm}.brs-verification-table th:nth-child(3){width:67mm}.brs-verification-table th:nth-child(4){width:57mm}.brs-verification-table th:nth-child(5){width:auto}.brs-verification-table td p{font-size:8pt;line-height:1.45;margin:0 0 7px}.brs-verification-table td strong{display:block;font-size:9pt;margin-bottom:8px}.brs-verification-table td ol{margin:0 0 10px;padding-left:16px;line-height:1.45}.brs-print-passport{display:block;width:35mm;height:45mm;min-width:35mm;object-fit:contain;background:#fff;border:1px solid #bbb;print-color-adjust:exact;-webkit-print-color-adjust:exact}.brs-verification-table .brs-passport-missing{display:flex;font-size:9pt;color:#555}.brs-print-identity{line-height:1.45}
}
@media(max-width:640px){.exam-actions{width:100%}.exam-pagination{align-items:flex-start}.exam-pagination .search{flex-basis:100%}.exam-picker-controls .search{flex-basis:100%}.exam-panel td:first-child{max-width:220px}}
@media print{
  @page exam-paper{size:portrait;margin:16mm}
  body.exam-printing>*{display:none!important}
  body.exam-printing>.exam-print-sheet{display:block!important;page:exam-paper;color:#111;font-family:Arial,sans-serif}
  .exam-print-sheet h1{font-size:20pt;margin:8px 0}.exam-print-sheet p,.exam-print-sheet li{font-size:11pt;line-height:1.5}.exam-print-sheet .exam-question{border-top:1px solid #bbb;padding:12px 0;break-inside:avoid}.exam-print-sheet .exam-question h3{font-size:12pt}.exam-print-sheet .muted{color:#555}.exam-print-sheet .exam-guide{background:none;border:1px solid #aaa;color:#111}.exam-print-instructions{white-space:pre-wrap}
}
.student-photo-controls{display:flex;flex-direction:column;align-items:flex-start}
.student-photo-field{display:grid;gap:7px}.student-photo-field>.muted{margin:0;font-size:11px}.student-photo-preview{width:56px;height:72px;object-fit:cover;border:1px solid #dce5dc;border-radius:4px}
.student-id-print-sheet{display:none}
@media print{
  @page student-id{size:85.6mm 54mm;margin:0}
  body.student-id-printing>*{display:none!important}
  body.student-id-printing>.student-id-print-sheet{display:flex!important;page:student-id;width:85.6mm;height:54mm;box-sizing:border-box;flex-direction:column;justify-content:space-between;padding:4mm;border:1px solid #345746;border-radius:2mm;background:#fff;color:#203a32;font-family:Arial,sans-serif}
  .student-id-heading{display:flex;justify-content:space-between;align-items:center;padding-bottom:2mm;border-bottom:1px solid #aebdb2;font-size:8pt;letter-spacing:.5pt}
  .student-id-heading span{font-size:7pt;font-weight:700;color:#52715e}
  .student-id-body{display:flex;align-items:center;gap:4mm;min-height:0}
  .student-id-photo{width:24mm;height:31mm;flex:0 0 24mm;object-fit:cover;border:1px solid #b9c5bc}
  .student-id-details{display:grid;gap:2mm;min-width:0;font-size:7pt;line-height:1.25;overflow-wrap:anywhere}
  .student-id-details strong{font-size:9pt;line-height:1.2}
  .student-id-footer{text-align:right;border-top:1px solid #d5ded6;padding-top:1.5mm;font-size:6pt;color:#708278}
}
