:root{--navy:#152b46;--ink:#20334b;--muted:#718094;--line:#e7ecf2;--canvas:#f5f7fb;--teal:#087c75;--teal-light:#e6f4f0;--blue:#365ee5;--amber:#b57819;--radius:14px;--shadow:0 3px 16px #172e4b03;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);font-size:14px}*{box-sizing:border-box}body{margin:0;background:var(--canvas)}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,select,textarea{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #5588e6;outline-offset:3px}button .icon,a .icon{flex-shrink:0}.icon{height:20px;width:20px;display:inline-block;vertical-align:middle;flex-shrink:0}.skip-link{position:fixed;z-index:100;top:-80px;left:20px;padding:14px;background:var(--navy);color:white}.skip-link:focus{top:10px}.app-shell{display:flex;min-height:100vh}.sidebar{width:248px;flex:0 0 248px;background:#fff;border-right:1px solid var(--line);padding:30px 20px 20px;display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0;overflow-y:auto;scrollbar-width:thin;z-index:30}.brand{display:flex;align-items:center;gap:10px;font-size:27px;font-weight:800;letter-spacing:-1.2px;margin:0 8px 29px}.brand-mark{display:grid;place-items:center;border-radius:12px;width:39px;height:42px;background:var(--teal);color:white;box-shadow:0 5px 10px #087c751c}.brand-mark .icon{width:25px;height:25px}.brand-light{font-weight:400;margin-left:4px}.brand small{display:block;font-size:8px;color:var(--muted);font-weight:700;letter-spacing:1.7px;margin-top:1px}.workspace{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:10px;background:#fafcfe;padding:12px 10px;margin-bottom:26px;min-width:0}.workspace-icon{color:var(--teal);background:var(--teal-light);padding:8px;border-radius:8px}.workspace strong{display:block;font-size:11px;max-width:120px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.workspace small{font-size:10px;display:block;color:var(--muted);margin-top:4px}.workspace-dot{height:6px;width:6px;background:#24a77f;border-radius:50%;margin-left:auto}.nav-label{font-size:9px;font-weight:750;letter-spacing:1.6px;color:#94a1b0;margin:23px 13px 10px}.nav-label:first-child{margin-top:0}.nav-item{display:flex;align-items:center;gap:12px;padding:11px 13px;border-radius:8px;color:#617084;font-size:12px;font-weight:550;margin-bottom:3px;transition:background .15s,color .15s}.nav-item .icon{width:18px;height:18px;color:#8190a2}.nav-item:hover{background:#f3f6fa;color:var(--navy)}.nav-item.active{color:var(--teal);background:#e9f4f1;font-weight:700}.nav-item.active .icon{color:var(--teal)}.nav-active-dot{height:5px;width:5px;background:var(--teal);border-radius:50%;margin-left:auto}.sidebar-bottom{margin-top:auto;padding-top:28px}.secure-note{display:flex;gap:9px;align-items:center;font-size:10px;line-height:1.6;color:#8a96a6;border-top:1px solid var(--line);padding:20px 10px}.secure-note .icon{width:17px;height:17px}.agil-logo{display:block;width:108px;height:auto;margin:5px 10px 0;opacity:.7}.main-shell{min-width:0;width:calc(100% - 248px);margin-left:248px}.topbar{height:86px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 40px;background:#fff;border-bottom:1px solid var(--line)}.topbar-left{display:flex;align-items:center;gap:15px}.breadcrumb{font-size:11px;color:#8b97a7}.breadcrumb>span{margin:0 13px;color:#bbc4ce}.breadcrumb strong{font-weight:600;color:#546277}.topbar-actions{display:flex;align-items:center;gap:17px}.year-pill{display:flex;align-items:center;gap:8px;font-size:11px;color:#52647b;background:#f7f9fc;border:1px solid #e8edf4;padding:9px 12px;border-radius:7px}.year-pill .icon{width:15px;height:15px}.icon-button{border:0;background:transparent;width:32px;height:34px;display:inline-grid;place-items:center;color:#718095;border-radius:7px}.icon-button:hover{background:#f0f4f8}.topbar-divider{height:29px;width:1px;background:var(--line)}.user-profile{display:flex;gap:10px;align-items:center}.avatar{display:inline-grid;place-items:center;width:35px;height:35px;border-radius:50%;background:#edf1fe;color:#5865ad;font-size:13px;font-weight:700;flex-shrink:0}.user-profile strong{display:block;font-size:11px;font-weight:650}.user-profile small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.mobile-menu{display:none}.main-content{max-width:1640px;margin:0 auto;padding:35px 40px 0}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.eyebrow{display:block;font-size:10px;color:var(--teal);letter-spacing:1.7px;text-transform:uppercase;font-weight:750;margin-bottom:11px}.page-heading h1,h1{font-size:29px;line-height:1.25;letter-spacing:-.9px;color:var(--navy);font-weight:730;margin:0 0 8px}.page-heading p,.page-description{margin:0;color:var(--muted);font-size:12px;line-height:1.7}.heading-actions{display:flex;align-items:center;gap:10px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 15px;min-height:40px;border-radius:8px;font-weight:650;font-size:11px;border:1px solid #dde4ed;background:white;color:#4b5f76;white-space:nowrap;transition:background .15s,transform .15s}.btn .icon{width:16px;height:16px}.btn:hover{background:#f7f9fc}.btn-primary{background:var(--teal);border-color:var(--teal);color:white;box-shadow:0 3px 5px #087c7510}.btn-primary:hover{background:#086e68}.btn-small{min-height:32px;font-size:10px;padding:7px 10px}.btn-ghost{background:transparent;border-color:transparent;color:var(--teal)}.btn-danger{color:#bd4141;border-color:#edcccc}.filter-bar{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--line);padding:13px 17px;border-radius:11px;margin-bottom:25px;box-shadow:var(--shadow)}.filter-bar .icon{width:17px;height:17px;color:var(--muted)}.filter-bar label{font-size:11px;font-weight:550;color:var(--muted)}.filter-bar select,.filter-bar input{padding:8px 12px;border:1px solid #e0e6ef;border-radius:6px;background:#fff;max-width:300px;font-size:11px;color:var(--ink)}.filter-bar select{min-width:190px}.filter-bar .filter-right{margin-left:auto;display:flex;align-items:center;gap:7px;font-size:10px;color:#8a97a8}.live-dot{display:inline-block;background:#31ad89;height:6px;width:6px;border-radius:50%;margin-left:5px}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:25px}.stat-card{position:relative;border:1px solid var(--line);border-radius:var(--radius);padding:22px;background:#fff;box-shadow:var(--shadow);overflow:hidden}.stat-top{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:15px}.stat-label{font-size:11px;color:#6c7a8e;font-weight:550}.stat-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:#ecf3ff;color:#527ddb}.stat-icon.teal{background:#e8f5ef;color:#329c80}.stat-icon.purple{background:#f0ecfc;color:#8c72c7}.stat-icon.amber{background:#fff5df;color:#c29a43}.stat-value{font-size:32px;font-weight:730;letter-spacing:-1px;line-height:1.1;color:var(--navy)}.stat-footer{font-size:10px;color:#96a0ae;margin-top:12px;display:flex;gap:7px;align-items:center}.stat-footer .tag{font-size:9px}.stat-decoration{position:absolute;bottom:0;right:0;opacity:.2}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(270px,1fr);gap:23px;margin-bottom:24px}.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:21px 23px;border-bottom:1px solid var(--line)}.panel-head h2{margin:0;font-size:14px;font-weight:700;color:#253b53;letter-spacing:-.2px}.panel-head p{font-size:10px;color:#8d99a8;margin:6px 0 0}.panel-head .subtle-link,.subtle-link{font-size:10px;color:var(--teal);font-weight:650;display:inline-flex;gap:5px;align-items:center}.subtle-link .icon{width:13px;height:13px}.panel-body{padding:23px}.chart-legend{font-size:10px;color:#8b99aa;display:flex;align-items:center;gap:6px}.legend-dot{width:7px;height:7px;border-radius:50%;background:#26998c}.chart{display:flex;align-items:stretch;height:190px;margin:18px 4px 0;gap:10px}.chart-axis{display:flex;flex-direction:column;justify-content:space-between;font-size:9px;color:#a6afba;width:30px;padding-bottom:25px}.chart-columns{position:relative;flex:1;display:flex;align-items:flex-end;justify-content:space-around;border-bottom:1px solid var(--line);padding-bottom:25px;background:repeating-linear-gradient(to top,transparent 0,transparent 39px,#f2f5f9 39px,#f2f5f9 40px)}.chart-column{height:100%;display:flex;align-items:center;justify-content:flex-end;flex-direction:column;flex:1;position:relative}.chart-bar{width:36%;max-width:40px;min-width:13px;border-radius:5px 5px 0 0;background:linear-gradient(0deg,#b2ddd5,#459e92);min-height:2px}.chart-column:last-child .chart-bar{background:var(--teal)}.chart-caption{position:absolute;bottom:-20px;font-size:9px;color:#94a0af;white-space:nowrap}.chart-value{font-size:9px;color:var(--teal);margin-bottom:7px}.chart-explanation{font-size:10px;color:#a1aab6;margin:23px 0 0;line-height:1.6}.quick-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px}.quick-action{border:1px solid var(--line);border-radius:10px;padding:18px 14px;transition:background .15s,border .15s;min-height:100px}.quick-action:hover{background:#f5fbf9;border-color:#badbd2}.quick-action-icon{color:var(--teal);margin-bottom:12px}.quick-action strong{display:block;font-size:11px;margin-bottom:4px}.quick-action small{font-size:9px;color:#97a1b0;line-height:1.5}.quick-action .icon{width:19px;height:19px}.welcome-banner{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:26px 29px;margin-bottom:25px;border:1px solid #d9ebe6;border-radius:13px;background:linear-gradient(105deg,#eef8f5,#f7fbf9);position:relative;overflow:hidden}.welcome-banner h2{font-size:18px;color:#22645c;letter-spacing:-.3px;margin:0 0 8px}.welcome-banner p{font-size:11px;color:#78948c;line-height:1.7;margin:0;max-width:490px}.welcome-visual{flex-shrink:0;width:92px;height:80px;position:relative;color:#5b9e8d;display:grid;place-items:center}.welcome-visual .icon{width:62px;height:62px;stroke-width:.9}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}thead{background:#fafbfd}th{font-size:9px;color:#8d9aad;text-transform:uppercase;letter-spacing:.6px;font-weight:650;padding:13px 21px;border-bottom:1px solid var(--line)}td{padding:17px 21px;font-size:11px;color:#718095;border-bottom:1px solid #f0f3f7}tr:last-child td{border-bottom:none}tbody tr:hover{background:#fcfdff}.cell-main{font-weight:650;color:#35495f}.cell-sub{display:block;font-size:9px;color:#97a2b0;margin-top:5px}.cell-person{display:flex;align-items:center;gap:10px}.cell-avatar{display:grid;place-items:center;background:#edf3fb;color:#7092b8;width:31px;height:31px;border-radius:8px;font-size:10px;font-weight:650}.cell-avatar.teal{background:#e9f4f0;color:#5b9985}.tag{display:inline-flex;align-items:center;gap:5px;border-radius:5px;padding:4px 7px;font-size:9px;line-height:1.2;color:#41977c;background:#eaf6ef;font-weight:550;white-space:nowrap}.tag.blue{color:#6889bd;background:#edf3ff}.tag.amber{color:#bb913b;background:#fff6e4}.tag.gray{background:#f0f3f7;color:#8593a5}.tag.red{background:#fcecec;color:#c35a5a}.tag-dot{height:4px;width:4px;border-radius:50%;background:currentColor}.table-footer{padding:13px 21px;font-size:10px;color:#9ca7b5;display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line)}.notice-item{padding:17px 22px;border-bottom:1px solid #f0f3f7;display:flex;align-items:flex-start;gap:12px}.notice-item:last-child{border-bottom:0}.notice-icon{display:grid;place-items:center;width:31px;height:31px;background:#fff5e5;color:#c9a253;border-radius:8px;flex-shrink:0}.notice-icon.blue{background:#edf3ff;color:#6085cc}.notice-icon.teal{background:#eaf6ef;color:#68a48a}.notice-icon .icon{height:16px;width:16px}.notice-item h3{font-size:11px;color:#4b5b70;margin:0 0 5px;font-weight:650}.notice-item p{font-size:10px;color:#91a0b0;line-height:1.6;margin:0}.notice-item .notice-meta{font-size:9px;color:#acb5bf;margin-top:7px}.notice-count{font-size:12px;font-weight:650;margin-left:auto;color:#bf9742}.section-gap{margin-bottom:24px}.page-footer{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:32px 0 0;border-top:1px solid var(--line);padding:20px 0;color:#a2acb8;font-size:9px}.page-footer span span{margin:0 5px}.alert{padding:14px 18px;border-radius:10px;margin:0 0 22px;display:flex;gap:10px;align-items:flex-start;font-size:12px;line-height:1.65}.alert.success{background:#e5f5ec;color:#23784f;border:1px solid #bfe5cc}.alert.error{background:#fff0ef;color:#a44040;border:1px solid #f2cbca}.alert ul{padding-left:18px;margin:7px 0 0}.empty-state{padding:52px 25px;text-align:center;max-width:520px;margin:auto}.empty-state .empty-icon{display:grid;place-items:center;width:52px;height:52px;background:#edf4f7;color:#7795a2;border-radius:14px;margin:0 auto 17px}.empty-state h3{font-size:15px;margin:0 0 8px;color:#54677c}.empty-state p{font-size:12px;line-height:1.8;color:#91a0b2;margin:0 0 18px}.form-panel{max-width:950px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:21px 24px}.form-group{display:flex;flex-direction:column;gap:8px;min-width:0}.form-group.full{grid-column:1/-1}.form-group label{font-size:11px;font-weight:650;color:#566b82}.form-group label .required{color:#b95c5c}.form-group input,.form-group select,.form-group textarea{width:100%;padding:12px 13px;border:1px solid #dfe6ef;background:white;border-radius:7px;font-size:12px;color:#455b73;min-height:42px}.form-group input::placeholder,.form-group textarea::placeholder{color:#a5afbb}.form-group textarea{min-height:100px;resize:vertical}.form-group small{font-size:10px;color:#91a0b3;line-height:1.6}.field-error{font-size:10px;color:#b44a4a}.form-actions{display:flex;gap:10px;justify-content:flex-end;border-top:1px solid var(--line);margin-top:26px;padding-top:20px}.back-link{display:inline-flex;align-items:center;gap:7px;font-size:11px;color:#7d8da0;margin-bottom:20px}.back-link .icon{width:14px;height:14px;transform:rotate(180deg)}.search-control{display:flex;align-items:center;gap:10px;border:1px solid #e0e6ee;border-radius:7px;padding:0 12px;flex:1;max-width:340px}.search-control input{border:none;max-width:none;min-width:0;width:100%;outline:0!important}.search-control .icon{width:16px;height:16px}.pagination{display:flex;gap:6px;align-items:center}.pagination a,.pagination span{display:inline-grid;place-items:center;min-width:28px;height:28px;border:1px solid var(--line);border-radius:5px;padding:0 8px}.pagination .current{background:var(--teal);color:white;border-color:var(--teal)}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.detail-list{display:grid;grid-template-columns:1fr 1fr;gap:23px}.detail-list dt{font-size:10px;color:#92a0b0;margin-bottom:7px}.detail-list dd{font-size:12px;color:#475d75;margin:0;font-weight:550}.detail-list .full{grid-column:1/-1}.tabs{display:flex;gap:26px;border-bottom:1px solid var(--line);margin-bottom:23px;overflow:auto}.tabs a{font-size:12px;color:#92a0b1;padding:5px 0 15px;white-space:nowrap}.tabs a.active{color:var(--teal);border-bottom:2px solid var(--teal);font-weight:650}.attendance-select{padding:8px 10px;border:1px solid #dfe6ee;border-radius:7px;background:#fff;color:#47647d;font-size:11px}.grade-input{width:90px;border:1px solid #dfe6ee;border-radius:7px;padding:9px 10px}.inline-help{padding:15px 20px;background:#f0f6fd;border:1px solid #e2ecfa;border-radius:9px;color:#6483a5;font-size:11px;line-height:1.7;display:flex;align-items:flex-start;gap:10px;margin-bottom:24px}.inline-help .icon{margin-top:1px;width:17px;height:17px}.two-column{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(270px,1fr);gap:24px;align-items:start}.record-content{white-space:pre-wrap;line-height:1.8;font-size:12px;color:#738399}.module-record{padding:21px 24px;border-bottom:1px solid var(--line)}.module-record:last-child{border:0}.module-record h3{font-size:13px;color:#405970;margin:0 0 10px}.module-record time{font-size:10px;color:#98a5b3}.record-meta{display:flex;gap:12px;align-items:center;margin-top:13px}.document{max-width:920px;background:white;padding:60px;margin:auto;border:1px solid var(--line)}.document-head{display:flex;align-items:center;justify-content:space-between;border-bottom:2px solid var(--teal);padding-bottom:20px;margin-bottom:30px}.document h1{font-size:24px}.document h2{font-size:16px;margin-top:30px}.document p{line-height:1.9;color:#60748b}.document-footer{border-top:1px solid var(--line);padding-top:20px;margin-top:50px;font-size:10px;color:#92a0b1}.login-body{min-height:100vh;background:#f8fafc;display:grid;grid-template-columns:1.05fr 1fr}.login-story{position:relative;background:#143731;color:white;padding:55px 70px;overflow:hidden;display:flex;flex-direction:column}.login-story .brand{color:white;margin:0}.login-story .brand small{color:#afcac1}.login-story .brand-mark{background:#377765}.login-story:after{content:"";position:absolute;bottom:-200px;right:-200px;width:600px;height:600px;border:1px solid #45695e50;border-radius:50%;box-shadow:0 0 0 70px #3a615217,0 0 0 140px #3a615212}.login-copy{margin:auto 0;position:relative;z-index:1;padding:70px 0}.login-copy .eyebrow{color:#9dcbb7}.login-copy h1{color:white;font-size:43px;line-height:1.2;max-width:450px;letter-spacing:-1.4px}.login-copy p{font-size:14px;line-height:1.9;color:#acc6bb;max-width:410px}.login-feature{display:flex;gap:12px;align-items:center;font-size:12px;color:#c5d8cf;margin-top:21px}.login-feature .icon{color:#89b89e;width:18px;height:18px}.login-story-footer{position:relative;z-index:1;font-size:10px;color:#9ebbb0}.login-main{display:flex;align-items:center;justify-content:center;padding:50px 40px}.login-card{max-width:370px;width:100%}.login-card h2{font-size:27px;color:var(--navy);letter-spacing:-.7px;margin:0 0 10px}.login-card .login-subtitle{font-size:12px;color:#8b9aad;line-height:1.8;margin:0 0 30px}.login-card .form-group{margin-bottom:20px}.login-card .btn{width:100%;font-size:12px;margin-top:10px;min-height:45px}.login-remember{font-size:11px;color:#8090a3;display:flex;align-items:center;gap:7px;margin-bottom:18px}.login-security{display:flex;justify-content:center;align-items:center;gap:7px;font-size:10px;color:#a0aaba;margin:24px 0 0}.login-security .icon{width:14px;height:14px}.login-brand-footer{margin-top:50px;display:flex;align-items:center;gap:12px;color:#a7b1bf;font-size:9px}.login-brand-footer img{width:100px;height:auto;opacity:.6}.stack{display:flex;flex-direction:column;gap:20px}.muted{color:var(--muted)}.text-small{font-size:11px}.space-between{display:flex;align-items:center;justify-content:space-between;gap:14px}.status-legend{font-size:10px;color:#94a0ae;line-height:1.7}.print-actions{display:flex;justify-content:flex-end;gap:10px;margin-bottom:20px}.table-note{font-size:10px;line-height:1.7;color:#99a5b4;padding:16px 23px;border-top:1px solid var(--line)}
@media(min-width:1700px){.main-content{padding-top:44px}.stats-grid{gap:22px}.stat-card{padding:27px}.chart{height:220px}.quick-action{min-height:116px}.dashboard-grid{gap:26px}}
@media(max-width:1200px){.sidebar{width:220px;flex-basis:220px;padding:25px 14px}.main-shell{width:calc(100% - 220px);margin-left:220px}.topbar{padding:0 26px}.main-content{padding:28px 26px 0}.stat-card{padding:17px}.stat-value{font-size:28px}.dashboard-grid{grid-template-columns:minmax(0,1.4fr) minmax(260px,1fr);gap:17px}.panel-head{padding:18px}.notice-item{padding:17px}.panel-body{padding:18px}.topbar-actions{gap:10px}.breadcrumb{font-size:10px}.year-pill{font-size:10px;padding:8px}.two-column{grid-template-columns:1fr 1fr}.login-story{padding:45px}.login-copy h1{font-size:36px}}
@media(max-width:1000px){.breadcrumb{display:none}.stats-grid{grid-template-columns:1fr 1fr}.dashboard-grid{grid-template-columns:1fr}.dashboard-grid>.panel{min-width:0}.quick-actions{grid-template-columns:repeat(4,1fr)}.quick-action{min-height:105px}.two-column,.detail-grid{grid-template-columns:1fr}.heading-actions{flex-shrink:0}.page-heading h1{font-size:25px}.filter-bar{flex-wrap:wrap}.filter-bar .filter-right{margin-left:0}.login-body{grid-template-columns:.85fr 1fr}.login-story{padding:35px}.login-copy h1{font-size:31px}.login-copy p{font-size:12px}.login-feature{font-size:10px}}
@media(max-width:760px){.sidebar{transform:translateX(-100%);transition:transform .2s;width:248px;box-shadow:10px 0 40px #152b4615}.menu-open .sidebar{transform:translateX(0)}.sidebar-backdrop{display:none;position:fixed;inset:0;background:#10253f70;z-index:29}.menu-open .sidebar-backdrop{display:block}.main-shell{margin:0;width:100%}.mobile-menu{display:inline-grid}.topbar{height:70px;padding:0 18px}.topbar-actions{gap:8px}.topbar-divider{display:none}.user-profile>span:last-child{display:none}.year-pill{font-size:10px;padding:7px}.main-content{padding:25px 18px 0}.page-heading{align-items:flex-start;gap:12px;margin-bottom:22px;flex-wrap:wrap}.page-heading h1{font-size:25px}.page-heading p{font-size:11px}.heading-actions .btn{padding:10px 12px}.stats-grid{gap:12px;margin-bottom:20px}.stat-card{padding:16px}.stat-label{font-size:10px}.stat-icon{width:29px;height:29px}.stat-icon .icon{width:17px;height:17px}.stat-value{font-size:28px}.stat-footer{font-size:9px;flex-wrap:wrap}.stat-footer .tag{font-size:8px}.filter-bar{padding:13px;gap:9px}.filter-bar label{font-size:10px}.filter-bar select{min-width:0;max-width:none;flex:1}.filter-bar .filter-right{display:none}.welcome-banner{padding:22px;gap:10px}.welcome-banner h2{font-size:16px}.welcome-banner p{font-size:10px}.welcome-visual{width:60px;height:60px}.welcome-visual .icon{height:45px;width:45px}.quick-actions{grid-template-columns:1fr 1fr}.panel-head h2{font-size:13px}.panel-head{padding:18px}.panel-body{padding:18px}.form-grid{grid-template-columns:1fr}.form-group.full{grid-column:auto}.page-footer{flex-direction:column;align-items:flex-start;gap:10px;padding-bottom:24px}.detail-list{gap:20px}.document{padding:25px}.chart{height:180px}.login-body{display:block}.login-story{padding:25px 30px;min-height:240px}.login-story .brand{font-size:23px}.login-copy{padding:30px 0 5px}.login-copy h1{font-size:27px;max-width:330px;margin:0}.login-copy p,.login-feature,.login-story-footer{display:none}.login-main{padding:38px 28px}.login-card h2{font-size:24px}.login-brand-footer{margin-top:30px}.search-control{max-width:none}.filter-bar>.btn{flex-shrink:0}td,th{padding-left:16px;padding-right:16px}.tabs{gap:22px}.print-actions{flex-wrap:wrap}}
@media print{body{background:white}.sidebar,.topbar,.page-footer,.print-actions,.skip-link{display:none!important}.main-shell{margin:0;width:100%}.main-content{padding:0;max-width:none}.document{border:0;padding:15px}.panel{box-shadow:none;break-inside:avoid}.btn{display:none}.app-shell{display:block}a[href]:after{content:none}}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* Readable labels and secondary information across school office screens. */
:root{--muted:#63758a}.nav-item{font-size:13px}.stat-label,.btn,.filter-bar label,.filter-bar input,.filter-bar select,.form-group label{font-size:12px}td,.quick-action strong,.notice-item h3{font-size:12px}.cell-sub,.panel-head p,.notice-item p,.notice-item .notice-meta,.stat-footer,.quick-action small,.form-group small,.status-legend,.chart-explanation,.table-footer,.table-note,.detail-list dt{color:#64768b}.page-footer,.breadcrumb,.login-card .login-subtitle,.login-security,.login-brand-footer{color:#6e7f93}.chart-axis,.chart-caption{color:#65778d}.filter-bar .filter-right{color:#64768b}.login-remember{color:#63758a}
.public-header{max-width:1240px;margin:auto;padding:27px 35px;display:flex;justify-content:space-between;align-items:center;gap:20px}.public-header .brand{margin:0}.public-header nav{display:flex;align-items:center;gap:10px}.public-main{max-width:1170px;margin:auto;padding:15px 35px 60px;min-height:calc(100vh - 200px)}.public-hero{padding:46px 0 50px;max-width:770px}.public-hero h1{font-size:43px;line-height:1.2;letter-spacing:-1.5px;color:#174c44}.public-hero p{max-width:620px;font-size:14px;line-height:1.9;color:#687f88;margin:22px 0 25px}.public-hero.compact{padding-bottom:30px}.public-hero.compact h1{font-size:34px}.public-steps{display:flex;gap:24px;font-size:11px;color:#647b81;flex-wrap:wrap}.public-steps span{display:flex;align-items:center;gap:8px}.public-steps b{display:inline-grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#e3f0eb;color:var(--teal);font-size:10px}.public-offers{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.public-offer{position:relative;padding:25px}.public-offer h2{font-size:18px;color:#304f62;line-height:1.4;margin:20px 0 8px;letter-spacing:-.3px}.public-offer>p{color:#6b7e8e;font-size:12px;line-height:1.8;margin:0 0 24px}.public-offer .detail-list{gap:21px 15px;margin-bottom:25px}.public-offer .btn{width:100%}.public-footer{max-width:1170px;margin:auto;padding:22px 35px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px;color:#718195;font-size:10px}.public-footer a{color:var(--teal);display:inline-flex;align-items:center;gap:7px}.public-footer .icon{width:14px;height:14px}.public-footer img{width:90px;height:auto;opacity:.7}.receipt-card{max-width:720px;padding:40px;margin:35px auto 0}.receipt-success{width:65px;height:65px;display:grid;place-items:center;background:#e2f2e8;color:#35956f;border-radius:50%;margin-bottom:30px}.receipt-success .icon{width:32px;height:32px}.receipt-card h1{font-size:31px;margin-bottom:15px}.receipt-codes{margin:30px 0;padding:24px;background:#f5faf8;border:1px solid #dbece4;border-radius:12px;display:grid;grid-template-columns:1fr 1fr;gap:20px}.receipt-codes input{background:white;color:var(--teal);font-weight:650;font-size:15px;font-family:ui-monospace,monospace;cursor:text}
@media(max-width:1000px){.public-offers{grid-template-columns:1fr 1fr}.public-hero h1{font-size:37px}}
@media(max-width:760px){.public-header{padding:22px;flex-wrap:wrap}.public-header .brand{font-size:24px}.public-header nav{gap:5px}.public-header nav .btn{font-size:11px;padding:9px}.public-main{padding:10px 22px 40px}.public-hero{padding:25px 0 35px}.public-hero h1,.public-hero.compact h1{font-size:29px;letter-spacing:-.8px}.public-hero p{font-size:12px;line-height:1.9;margin:16px 0 20px}.public-steps{gap:14px;font-size:10px}.public-offers{grid-template-columns:1fr}.public-offer{padding:23px}.public-footer{padding:20px 22px;flex-wrap:wrap;gap:15px}.receipt-card{padding:25px;margin-top:15px}.receipt-codes{padding:18px;grid-template-columns:1fr;gap:18px}.receipt-card .form-actions{flex-wrap:wrap}}
@media print{.public-header,.public-footer{display:none}.public-main{padding:0;max-width:none}.receipt-card{border:0;padding:20px;margin:0;max-width:none}.receipt-codes{background:white}.receipt-card .form-actions{display:none}}
.dashboard-grid{align-items:start}
@media(max-width:760px){.diary-filter{display:grid;grid-template-columns:85px minmax(0,1fr);gap:12px}.diary-filter select,.diary-filter input{min-width:0;max-width:none;width:100%;flex:none}.diary-filter>.btn{grid-column:2;justify-self:start}}
.criteria-row{display:grid;grid-template-columns:minmax(0,1fr) 85px 28px;gap:8px;align-items:center}.criteria-row input{min-width:0}
/* Empty tables must keep their guidance readable on narrow screens. */
.table-wrap .empty-state{white-space:normal;min-width:0}
.table-wrap:has(.empty-state) table{table-layout:fixed;white-space:normal}
.table-wrap:has(.empty-state) th{white-space:normal;overflow-wrap:anywhere}
@media(max-width:760px){.table-wrap:has(.empty-state) th{padding-left:10px;padding-right:10px}}
.table-wrap:has(.empty-state) thead{display:none}
/* Keep the public demonstration state visible while browsing and printing. */
.demo-banner{position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:center;gap:10px;padding:13px 24px;background:#e8f5f1;border-bottom:1px solid #beddd3;color:#185a4c;font-size:12px;font-weight:650;line-height:1.6;text-align:center}
.demo-banner .icon{width:17px;height:17px;flex-shrink:0}
.demo-banner span span{margin:0 5px}
.demo-mode .grade-input:disabled,.demo-mode .attendance-select:disabled{background:#f5f8fa;border-color:#e2e8ee;color:#475d75;opacity:1;cursor:default;-webkit-text-fill-color:#475d75}
@media(max-width:760px){.demo-banner{padding:11px 16px;font-size:11px;gap:8px}.demo-banner span span{margin:0 2px}}
@media print{.demo-banner{position:static;border:1px solid #9abeb1;background:#fff;color:#174e42;margin-bottom:15px;padding:10px;font-size:11px;break-inside:avoid}}
