:root{color:#172026;letter-spacing:0;background:#f5f7f6;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:16px}*{box-sizing:border-box}body{min-width:320px;margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.65}.login-page{background:linear-gradient(135deg,#12696eeb,#2c543fe6),url(https://images.unsplash.com/photo-1580582932707-520aed937b7b?auto=format&fit=crop&w=1800&q=80) 50%/cover;place-items:center;min-height:100vh;padding:24px;display:grid}.login-panel{color:#fff;background:#091f21e0;border-radius:8px;gap:20px;width:min(460px,100%);padding:32px;display:grid;box-shadow:0 24px 70px #00000042}.school-mark,.brand-icon{color:#1d2725;background:#e6b14a;border-radius:8px;place-items:center;width:52px;height:52px;display:grid}.loading-mark{color:#10201d;background:#e6b14a;border-radius:8px;place-items:center;width:54px;height:54px;display:grid}.login-panel h1,.marks-panel h2,.section-title h2{margin:0}.eyebrow{color:#d7e7df;letter-spacing:0;text-transform:uppercase;margin:0 0 5px;font-size:.78rem;font-weight:700}.login-form,.teacher-form{gap:14px;display:grid}label{color:inherit;gap:7px;font-weight:700;display:grid}input,select{color:#172026;background:#fff;border:1px solid #cfd9d4;border-radius:6px;width:100%;min-height:42px;padding:9px 11px}.form-error,.banner{color:#8e2f12;background:#ffe7dc;border-radius:6px;padding:12px 14px;font-weight:700}.primary-action,.secondary-action{border:0;border-radius:6px;justify-content:center;align-items:center;gap:9px;min-height:44px;padding:0 16px;font-weight:800;display:inline-flex}.secondary-action.mini{min-height:32px;padding:0 10px;font-size:.82rem}.primary-action{color:#10201d;background:#e6b14a}.primary-action.compact{justify-self:start}.secondary-action{color:#fff;background:#23676a}.credential-strip{color:#dbe9e3;gap:6px;padding-top:6px;font-size:.86rem;display:grid}.app-shell{background:#f5f7f6;min-height:100vh}.topbar{z-index:10;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#fffffff2;border-bottom:1px solid #dce4df;justify-content:space-between;align-items:center;gap:16px;min-height:74px;padding:12px clamp(16px,3vw,34px);display:flex;position:sticky;top:0}.brand-block,.header-actions,.section-title,.row-actions,.panel-toolbar,.search-box,.assignment-builder,.assignment-tabs,.assignment-pills{align-items:center;display:flex}.brand-block{gap:12px}.brand-block strong,.brand-block span,.user-chip span,.user-chip small,.teacher-row span,.teacher-row small,td span{display:block}.brand-block span,.user-chip small,.teacher-row span,.teacher-row small,td span{color:#65746e}.header-actions{gap:10px}.user-chip{text-align:right}.icon-button{color:#25312d;background:#fff;border:1px solid #cfd9d4;border-radius:6px;place-items:center;width:38px;height:38px;display:inline-grid}.icon-button.danger{color:#a1311c}.workspace{width:min(1440px,100%);margin:0 auto;padding:24px clamp(14px,3vw,34px) 40px}.banner{width:min(1440px,100% - 28px);margin:16px auto 0}.metric-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px;display:grid}.metric{background:#fff;border:1px solid #dce4df;border-radius:8px;align-content:center;gap:8px;min-height:112px;padding:18px;display:grid}.metric svg{color:#23676a}.metric span{color:#65746e;font-size:.9rem;font-weight:700}.metric strong{font-size:clamp(1.35rem,2vw,2rem)}.admin-layout{grid-template-columns:minmax(360px,.38fr) minmax(0,1fr);align-items:start;gap:20px;display:grid}.api-panel{background:#fff;border:1px solid #dce4df;border-radius:8px;margin-bottom:20px;padding:18px}.api-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.api-grid div{background:#f8fbf9;border:1px solid #e3ebe7;border-radius:8px;gap:6px;padding:12px;display:grid}.api-grid span{color:#65746e;font-size:.86rem;font-weight:700}.api-grid strong{overflow-wrap:anywhere;font-size:.9rem}.visibility-editor{border-top:1px solid #e3ebe7;gap:12px;margin-top:16px;padding-top:16px;display:grid}.visibility-editor>div:first-child{gap:4px;display:grid}.visibility-editor span{color:#65746e}.visibility-options{flex-wrap:wrap;gap:9px;display:flex}.visibility-options label{background:#fff;border:1px solid #cfd9d4;border-radius:6px;align-items:center;gap:8px;min-height:38px;padding:0 11px;display:inline-flex}.visibility-options input{width:17px;min-height:17px;margin:0}.teacher-directory,.student-overview,.marks-panel,.teacher-assignment-bar,.empty-state{background:#fff;border:1px solid #dce4df;border-radius:8px}.teacher-directory,.student-overview,.marks-panel,.teacher-assignment-bar{padding:18px}.empty-state{color:#65746e;padding:26px;font-weight:700}.section-title{gap:9px;margin-bottom:14px}.section-title svg{color:#23676a}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.form-grid label:nth-child(3){grid-column:1/-1}.assignment-builder{flex-wrap:wrap;align-items:end;gap:9px;padding-top:4px}.assignment-builder select{flex:130px}.assignment-builder input{flex:170px}.assignment-pills{flex-wrap:wrap;gap:8px;min-height:38px}.assignment-pills button,.assignment-tabs button{color:#174c4e;background:#edf7f4;border:1px solid #b9d1cd;border-radius:999px;padding:8px 12px;font-weight:800}.teacher-list{gap:10px;margin-top:18px;display:grid}.teacher-row{border:1px solid #e3ebe7;border-radius:8px;justify-content:space-between;gap:12px;padding:12px;display:flex}.row-actions{align-self:start;gap:8px}.search-box{background:#fff;border:1px solid #cfd9d4;border-radius:6px;gap:8px;min-width:260px;padding:0 10px}.search-box input{border:0;min-height:40px;padding-inline:0}.search-box.wide{margin-bottom:12px}.people-filters{background:#f8fbf9;border:1px solid #e1e9e5;border-radius:8px;flex-wrap:wrap;align-items:end;gap:10px;margin-bottom:14px;padding:12px;display:flex}.people-filters label{flex:0 190px;min-width:160px}.people-filters.admin-filters label{flex-basis:160px;min-width:135px}.result-count{color:#52615b;margin-left:auto;padding:10px 2px;font-size:.9rem;font-weight:800}.table-wrap{border:1px solid #e1e9e5;border-radius:8px;width:100%;overflow:auto}table{border-collapse:collapse;width:100%;min-width:1050px}th,td{text-align:left;vertical-align:middle;border-bottom:1px solid #e7eeea;padding:11px 12px}th{color:#52615b;text-transform:uppercase;background:#f4f8f6;font-size:.82rem;position:sticky;top:0}td{font-size:.92rem}td input{min-width:92px}.teacher-assignment-bar{margin-bottom:18px}.assignment-tabs{flex-wrap:wrap;gap:10px}.assignment-tabs button{color:#31403a;background:#fff;border-radius:6px}.assignment-tabs button.active{color:#fff;background:#23676a}.panel-toolbar{justify-content:space-between;gap:16px;margin-bottom:14px}.assessment-toolbar{background:#f8fbf9;border:1px solid #e1e9e5;border-radius:8px;flex-wrap:wrap;align-items:end;gap:12px;margin-bottom:14px;padding:12px;display:flex}.assessment-toolbar label{min-width:180px}.bulk-max-control{border-left:1px solid #dce4df;align-items:end;gap:9px;margin-left:auto;padding-left:12px;display:flex}.bulk-max-control label{min-width:150px}.bulk-max-control .secondary-action{white-space:nowrap}.segmented-control{border:1px solid #b9d1cd;border-radius:6px;min-height:42px;display:inline-flex;overflow:hidden}.segmented-control button{color:#31403a;background:#fff;border:0;padding:0 14px;font-weight:800}.segmented-control button.active{color:#fff;background:#23676a}.report-panel{background:#fff;border:1px solid #dce4df;border-radius:8px;gap:14px;margin-top:16px;padding:16px;display:grid}.report-panel h3{margin:0 0 4px}.report-panel span{color:#65746e}.report-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.subject-report-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.subject-report-list article{background:#f8fbf9;border:1px solid #e3ebe7;border-radius:8px;gap:4px;padding:12px;display:grid}.spin{animation:.9s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@media (width<=1020px){.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.api-grid,.report-grid,.subject-report-list,.admin-layout{grid-template-columns:1fr}}@media (width<=680px){.topbar,.panel-toolbar{flex-direction:column;align-items:flex-start}.header-actions{justify-content:space-between;width:100%}.user-chip{text-align:left}.metric-grid,.form-grid{grid-template-columns:1fr}.login-panel{padding:24px}.search-box{min-width:100%}.people-filters label,.people-filters.admin-filters label{flex-basis:100%;min-width:100%}.result-count{width:100%;margin-left:0}.bulk-max-control{border-top:1px solid #dce4df;border-left:0;flex-direction:column;align-items:stretch;width:100%;margin-left:0;padding-top:12px;padding-left:0}}
