.performance-panel{max-width:1050px;margin:auto}.performance-panel fieldset{border:0;padding:0;min-width:0}.performance-panel label{display:block;margin:8px 0}.performance-panel input:not([type=radio]),.performance-panel select,.performance-panel textarea{width:100%;box-sizing:border-box}.performance-panel textarea{min-height:70px;field-sizing:content;resize:vertical}.perf-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}.perf-document{background:#fff;color:#172c46;padding:24px;margin:18px 0;border:1px solid #ccd7e3;border-radius:12px}.perf-rubric{background:#eef4fb;padding:12px}.perf-rubric p{margin:4px}.perf-item{padding:14px 0;border-bottom:1px solid #ccd7e3;break-inside:avoid}.perf-item small{display:block;color:#53647b}.perf-scores{display:flex;gap:24px;align-items:center}.perf-scores label{display:flex;align-items:center;gap:6px}.perf-scores input{width:20px;height:20px}.perf-sign{display:flex;justify-content:space-between;gap:30px;margin:40px 0 20px;break-inside:avoid}.perf-print-score{display:none}.performance-panel button{margin:4px}.performance-panel :disabled{opacity:1;color:#172c46;-webkit-text-fill-color:#172c46}@media print{@page{size:A4;margin:14mm}body *{visibility:hidden}.performance-panel,.performance-panel *{visibility:visible}.performance-panel{position:absolute;left:0;top:0;width:100%;max-width:none;font:11px Arial}.perf-controls,.perf-controls *{display:none!important}.perf-document{margin:0;padding:0;border:0}.perf-scores label{display:none}.perf-print-score{display:block}.performance-panel input,.performance-panel textarea{border:0!important;background:#fff!important;padding:2px!important;box-shadow:none!important;font-size:11px}.performance-panel textarea{height:auto;overflow:visible;field-sizing:content}.perf-grid{grid-template-columns:1fr 1fr;gap:2px 12px}.perf-item{padding:7px 0}.perf-sign{margin-top:25px}.performance-panel h3{break-after:avoid}}.office-page{max-width:1150px;margin:auto;color:#153457}.office-page h2{font-size:1.9rem;margin:.2rem 0}.office-eyebrow{font-size:.75rem;letter-spacing:.14em;color:#667a90}.office-tabs,.office-actions{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0;align-items:end}.office-page button,.office-page a{cursor:pointer}.office-tabs button{background:#e8eef5;color:#17395e}.office-tabs button.selected{background:#174d88;color:#fff}.office-card,.office-report{background:#fff;border:1px solid #dce5ee;border-radius:16px;padding:22px;margin:18px 0}.office-page label{display:flex;flex-direction:column;gap:7px;margin:10px 0;font-weight:600;position:static}.office-page input,.office-page select,.office-page textarea{width:100%;padding:11px;border:1px solid #bbcbdc;border-radius:8px;background:#fff;color:#153457;min-width:0}.office-page fieldset{border:0;padding:0;min-width:0}.office-kind{max-width:260px}.office-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.office-notice{background:#fff4cf;padding:14px;border-radius:8px;color:#604500}.office-scroll{overflow:auto;margin:16px 0}.office-page table{width:100%;border-collapse:collapse;min-width:560px}.office-page th,.office-page td{text-align:left;padding:12px;border-bottom:1px solid #dce5ee;font-size:.9rem}.office-page th{background:#edf3f9}.office-correction{border-bottom:1px solid #ddd;padding:16px 0}.office-page button:disabled{opacity:.55;cursor:wait}.office-page p{line-height:1.6}@media(max-width:600px){.office-grid{grid-template-columns:1fr}.office-card,.office-report{padding:15px}.office-actions button{flex:1;min-width:130px}}@media print{@page{size:A4 landscape;margin:12mm}body *{visibility:hidden}.office-report,.office-report *{visibility:visible}.office-report{position:absolute;left:0;top:0;width:100%;border:0;margin:0;padding:0}.office-report .no-office-print,.office-report .no-office-print *{display:none!important}.office-scroll{overflow:visible}.office-page table{min-width:0}.office-page th,.office-page td{padding:5px;font-size:9pt}tr{break-inside:avoid}thead{display:table-header-group}}.office-page.office-simple-mode>header{display:none!important}.office-page.office-simple-mode>.office-kind{margin:0 0 12px!important}.office-page.office-simple-mode>.office-kind label{display:flex!important;flex-direction:column!important;gap:6px!important}.office-page.office-simple-mode>.office-kind select{min-height:46px!important;width:100%!important;max-width:480px!important}.office-page.office-simple-mode .office-quick-card{padding:0!important;margin:0!important;border:0!important;box-shadow:none!important;background:transparent!important;max-width:none!important}.office-page.office-simple-mode .office-quick-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;margin:0 0 14px!important}.office-page.office-simple-mode .office-quick-actions button{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:8px!important;min-height:105px!important;min-width:0!important;padding:12px 5px!important;border:0!important;border-radius:14px!important;color:#fff!important;text-align:center!important}.office-page.office-simple-mode .office-check-in{background:#07965e!important}.office-page.office-simple-mode .office-check-out{background:#e96570!important}.office-page.office-simple-mode .office-quick-actions button:disabled{opacity:.55!important}.office-page.office-simple-mode .office-quick-actions button svg{width:32px!important;height:32px!important;flex:none!important;color:inherit!important;fill:none!important}.office-page.office-simple-mode .office-quick-actions button strong{font-size:clamp(13px,1.5vw,19px)!important;line-height:1.2!important;color:inherit!important}.office-page.office-simple-mode .office-history{padding:14px!important;border:1px solid #e2e8f0!important;border-radius:14px!important;background:#fff!important}.office-page.office-simple-mode .office-history-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;flex-wrap:wrap!important;margin-bottom:12px!important}.office-page.office-simple-mode .office-history-head h3{margin:0!important;font-size:17px!important}.office-page.office-simple-mode .office-history-head label{font-size:12px!important;display:flex!important;align-items:center!important;gap:5px!important}.office-page.office-simple-mode .office-history-head input{width:140px!important;padding:7px!important}.office-page.office-simple-mode .office-history table{width:100%!important;min-width:0!important}.office-page.office-simple-mode .office-history th,.office-page.office-simple-mode .office-history td{padding:8px 5px!important}.office-page.office-simple-mode>.office-tabs{margin-top:14px!important}@media(max-width:600px){.office-page.office-simple-mode .office-quick-actions button{min-height:98px!important}.office-page.office-simple-mode .office-history{padding:10px!important}.office-page.office-simple-mode .office-history th,.office-page.office-simple-mode .office-history td{font-size:11px!important;padding:7px 3px!important}}.office-qr-backdrop{position:fixed;inset:0;z-index:99999;background:#09162ccc;display:flex;align-items:center;justify-content:center;padding:14px}.office-qr-panel{width:min(440px,100%);max-height:95vh;overflow:auto;background:#fff;color:#123257;border-radius:15px;padding:18px;text-align:center;box-shadow:0 20px 60px #0006}.office-qr-panel h3{font-size:18px;margin:0 0 12px}.office-qr-panel p{margin:12px 0;font-size:14px}.office-qr-video{display:block;width:100%;max-height:60vh;min-height:200px;object-fit:cover;background:#14233b;border-radius:12px}.office-qr-panel button{font-weight:700;padding:12px 22px;border-radius:9px;background:#dc3545;color:#fff;border:0}.integrity-page{max-width:1100px;margin:0 auto;padding:12px 0 32px;color:#172b4d}.integrity-page p{line-height:1.6}.integrity-card{background:#fff;border:1px solid #dbe3ed;border-radius:16px;padding:24px;margin:20px 0;box-shadow:0 4px 20px #14375b08}.integrity-card fieldset{border:0;margin:0;padding:0;min-width:0}.integrity-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.integrity-card label{display:flex;flex-direction:column;gap:8px;font-weight:600;margin-bottom:16px}.integrity-card input:not([type=checkbox]),.integrity-card textarea{width:100%;box-sizing:border-box;border:1px solid #b9c9da;border-radius:9px;padding:12px;font:inherit;background:#fff;color:#172b4d}.integrity-card input:focus,.integrity-card textarea:focus{outline:2px solid #2879c5;outline-offset:2px}.integrity-wide{grid-column:1/-1}.integrity-card .integrity-check{display:flex;flex-direction:row;align-items:flex-start;gap:10px;font-weight:400;margin:20px 0}.integrity-check input{width:20px;height:20px;flex-shrink:0}.integrity-page button,.integrity-download{display:inline-block;background:#1d5c9f;color:#fff;border:0;border-radius:10px;padding:13px 20px;font:inherit;font-weight:700;cursor:pointer;text-decoration:none;min-height:44px}.integrity-download{background:#087f56;margin-top:18px;box-sizing:border-box}.integrity-page button:disabled{opacity:.6;cursor:wait}.integrity-notice{padding:16px;background:#edf5ff;border-left:4px solid #1d5c9f;border-radius:8px;overflow-wrap:anywhere}.integrity-muted{font-size:14px;color:#53677a}.integrity-mark{display:block;max-width:300px;max-height:180px;object-fit:contain;margin:16px 0;background:#fff;border:1px solid #ddd}.integrity-document{margin-top:16px;border:1px solid #dbe3ed;border-radius:10px;padding:15px}.integrity-document summary{cursor:pointer;font-weight:700;min-height:30px}.integrity-document img{width:100%;height:auto;display:block;border:1px solid #ddd}.integrity-document>div{margin-top:20px}@media(max-width:640px){.integrity-grid{grid-template-columns:1fr}.integrity-card{padding:16px}.integrity-page button,.integrity-download{width:100%;text-align:center}.integrity-card input,.integrity-card textarea{font-size:16px!important}}.school-documents{max-width:1050px;margin:auto}.documents-heading{display:flex;align-items:center;gap:16px;padding:20px;background:#e8f3f5;border-left:5px solid #147d92;border-radius:12px;margin-bottom:20px}.documents-heading>span{font-size:32px}.documents-heading h2,.documents-heading p{margin:4px 0}.documents-actions{display:flex;gap:12px;flex-wrap:wrap;margin:16px 0}.documents-actions a{background:#176b80;color:#fff;padding:12px 18px;border-radius:8px;text-decoration:none}.documents-pages{display:grid;gap:16px;background:#e3e8ec;padding:12px;border-radius:10px}.documents-pages img{display:block;width:100%;height:auto;background:#fff}.documents-preview{width:100%;height:75vh;border:1px solid #cbd5e1;border-radius:8px}.documents-upload{margin-top:24px;padding:20px;border:1px solid #b9ccd5;border-radius:12px}.documents-upload summary{cursor:pointer;font-weight:700}.documents-upload form{display:grid;gap:14px;margin-top:18px}.school-documents select{max-width:100%;width:100%}.documents-home{margin:12px 0;background:#176b80;color:#fff}.grade-ledger th,.grade-ledger td{min-width:72px;padding:.3rem .25rem;font-size:.72rem}.grade-ledger .sticky-no{min-width:34px;width:34px;max-width:34px}.grade-ledger .sticky-name{left:34px;min-width:132px;width:132px;max-width:132px;padding:.3rem .4rem}.grade-ledger td.sticky-name strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:normal;overflow-wrap:anywhere;line-height:1.15;font-size:.72rem}.grade-ledger th>small{font-size:.57rem;line-height:1.05}.grade-ledger th>strong{font-size:.65rem;line-height:1.05}.grade-ledger th>span{max-width:92px;font-size:.59rem;line-height:1.08;margin:.18rem auto}.grade-ledger td input{width:58px;min-width:58px;padding:.32rem .2rem;font-size:.72rem}.grade-value{min-width:44px;padding:.28rem .32rem;font-size:.72rem}.grade-ledger .average-column{min-width:62px}.grade-column-actions button{width:23px;height:23px;padding:0;font-size:.68rem}@media(max-width:600px){.grade-ledger th,.grade-ledger td{min-width:64px;padding:.26rem .18rem;font-size:.66rem}.grade-ledger .sticky-no{min-width:30px;width:30px;max-width:30px}.grade-ledger .sticky-name{left:30px;min-width:108px;width:108px;max-width:108px;padding:.28rem .32rem}.grade-ledger td.sticky-name strong{font-size:.66rem;line-height:1.12}.grade-ledger th>span{max-width:78px;font-size:.54rem}.grade-ledger td input{width:50px;min-width:50px;padding:.28rem .15rem}.grade-value{min-width:38px;padding:.24rem .25rem;font-size:.66rem}.grade-ledger .average-column{min-width:54px}}.homeroom-grade-summary th:not(.sticky-no):not(.sticky-name),.homeroom-grade-summary td:not(.sticky-no):not(.sticky-name){min-width:52px;width:52px;max-width:60px;padding:.26rem .18rem;text-align:center}.homeroom-grade-summary th:not(.sticky-no):not(.sticky-name){white-space:normal;overflow-wrap:anywhere;font-size:.6rem;line-height:1.05}@media(max-width:600px){.homeroom-grade-summary th:not(.sticky-no):not(.sticky-name),.homeroom-grade-summary td:not(.sticky-no):not(.sticky-name){min-width:46px;width:46px;max-width:52px;padding:.22rem .12rem}.homeroom-grade-summary th:not(.sticky-no):not(.sticky-name){font-size:.54rem}}.homeroom-subject-ledger th:not(.sticky-no):not(.sticky-name),.homeroom-subject-ledger td:not(.sticky-no):not(.sticky-name){min-width:58px;width:58px;max-width:68px;padding:.22rem .12rem;text-align:center}.homeroom-subject-ledger th>small{font-size:.5rem;letter-spacing:0;line-height:1}.homeroom-subject-ledger th>strong{display:block;font-size:.58rem;line-height:1;margin:.1rem 0}.homeroom-subject-ledger th>span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-width:62px;font-size:.5rem;line-height:1.02;margin:.08rem auto}.homeroom-subject-ledger .sticky-name{min-width:102px;width:102px;max-width:102px}.homeroom-subject-ledger td.sticky-name strong{-webkit-line-clamp:2;font-size:.64rem}@media(max-width:600px){.homeroom-subject-ledger th:not(.sticky-no):not(.sticky-name),.homeroom-subject-ledger td:not(.sticky-no):not(.sticky-name){min-width:52px;width:52px;max-width:58px;padding:.18rem .08rem}.homeroom-subject-ledger .sticky-name{min-width:94px;width:94px;max-width:94px}.homeroom-subject-ledger th>span{max-width:54px;font-size:.46rem}.homeroom-subject-ledger th>small{font-size:.46rem}.homeroom-subject-ledger th>strong{font-size:.54rem}.homeroom-subject-ledger .grade-value{min-width:34px;padding:.2rem .16rem;font-size:.62rem}}.homeroom-subject-ledger .sticky-no{min-width:22px!important;width:22px!important;max-width:22px!important;padding-left:.08rem!important;padding-right:.08rem!important}.homeroom-subject-ledger .sticky-name{left:22px!important;min-width:96px;width:96px;max-width:96px}.homeroom-subject-ledger td.sticky-name strong{white-space:normal;overflow-wrap:normal;word-break:normal;line-height:1.12}@media(max-width:600px){.homeroom-subject-ledger .sticky-no{min-width:20px!important;width:20px!important;max-width:20px!important}.homeroom-subject-ledger .sticky-name{left:20px!important;min-width:90px;width:90px;max-width:90px}}.homeroom-subject-ledger .sticky-no{min-width:18px!important;width:18px!important;max-width:18px!important;padding:.12rem .02rem!important;font-size:.58rem!important}.homeroom-subject-ledger .sticky-name{left:18px!important;min-width:88px!important;width:88px!important;max-width:88px!important;padding:.18rem .25rem!important}.homeroom-subject-ledger td.sticky-name strong.student-name-two-words{display:block!important;overflow:visible!important;-webkit-line-clamp:unset!important;white-space:normal!important;font-size:.6rem!important;line-height:1.08!important}.student-name-two-words .student-name-row{display:block;white-space:nowrap}@media(max-width:600px){.homeroom-subject-ledger .sticky-no{min-width:17px!important;width:17px!important;max-width:17px!important}.homeroom-subject-ledger .sticky-name{left:17px!important;min-width:84px!important;width:84px!important;max-width:84px!important}}.homeroom-subject-ledger{table-layout:auto!important}.homeroom-subject-ledger .sticky-no{min-width:0!important;width:1%!important;max-width:none!important;padding-left:.12rem!important;padding-right:.12rem!important;white-space:nowrap!important}.homeroom-subject-ledger .sticky-name{left:0!important;min-width:0!important;width:1%!important;max-width:none!important;padding-left:.22rem!important;padding-right:.22rem!important}.homeroom-subject-ledger td.sticky-name strong.student-name-two-words{width:max-content!important;max-width:92px!important}.student-name-two-words .student-name-row{display:block!important;white-space:nowrap!important}@media(max-width:600px){.homeroom-subject-ledger .sticky-no{min-width:0!important;width:1%!important;max-width:none!important}.homeroom-subject-ledger .sticky-name{left:0!important;min-width:0!important;width:1%!important;max-width:none!important}.homeroom-subject-ledger td.sticky-name strong.student-name-two-words{max-width:78px!important}}.homeroom-subject-ledger{table-layout:fixed!important}.homeroom-subject-ledger .sticky-no{left:0!important;min-width:24px!important;width:24px!important;max-width:24px!important;padding:.12rem .05rem!important;white-space:nowrap!important}.homeroom-subject-ledger .sticky-name{left:24px!important;min-width:86px!important;width:86px!important;max-width:86px!important;padding:.16rem .22rem!important}.homeroom-subject-ledger td.sticky-name strong.student-name-two-words{display:block!important;width:auto!important;max-width:82px!important;white-space:normal!important;overflow:visible!important}.homeroom-subject-ledger .student-name-row{display:block!important;white-space:nowrap!important}@media(max-width:600px){.homeroom-subject-ledger .sticky-no{left:0!important;min-width:22px!important;width:22px!important;max-width:22px!important}.homeroom-subject-ledger .sticky-name{left:22px!important;min-width:80px!important;width:80px!important;max-width:80px!important;padding:.14rem .18rem!important}.homeroom-subject-ledger td.sticky-name strong.student-name-two-words{max-width:76px!important;font-size:.58rem!important}}@media(max-width:600px){.homeroom-subject-ledger{table-layout:fixed!important;width:max-content!important;min-width:100%!important}.homeroom-subject-ledger th.sticky-no,.homeroom-subject-ledger td.sticky-no{box-sizing:border-box!important;min-width:20px!important;width:20px!important;max-width:20px!important;padding:.1rem .02rem!important}.homeroom-subject-ledger th.sticky-name,.homeroom-subject-ledger td.sticky-name{box-sizing:border-box!important;left:20px!important;min-width:68px!important;width:68px!important;max-width:68px!important;padding:.12rem .14rem!important}.homeroom-subject-ledger td.sticky-name strong.student-name-two-words{width:64px!important;max-width:64px!important;font-size:.56rem!important;line-height:1.05!important}.homeroom-subject-ledger th:not(.sticky-no):not(.sticky-name),.homeroom-subject-ledger td:not(.sticky-no):not(.sticky-name){min-width:58px!important;width:58px!important;max-width:58px!important}}@media(max-width:600px){.homeroom-subject-ledger th.sticky-no,.homeroom-subject-ledger td.sticky-no{min-width:14px!important;width:14px!important;max-width:14px!important;padding:.08rem 0!important;font-size:.5rem!important}.homeroom-subject-ledger th.sticky-name,.homeroom-subject-ledger td.sticky-name{left:14px!important;min-width:54px!important;width:54px!important;max-width:54px!important;padding:.1rem .08rem!important}.homeroom-subject-ledger td.sticky-name strong.student-name-two-words{width:52px!important;max-width:52px!important;font-size:.52rem!important;line-height:1.02!important}}:root{font-family:Inter,ui-sans-serif,system-ui,sans-serif;color:#17352e;background:#f2f6f3;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input{font:inherit}.center{min-height:100vh;display:grid;place-items:center}.login{min-height:100vh;display:grid;grid-template-columns:1.15fr .85fr}.brand{padding:clamp(3rem,8vw,8rem);display:flex;flex-direction:column;justify-content:center;background:linear-gradient(145deg,#0d4638,#168061);color:#fff}.brand h1{font-size:clamp(2.8rem,7vw,6rem);line-height:.94;margin:1rem 0}.brand p{max-width:32rem;font-size:1.15rem;color:#d5eee6}.eyebrow{text-transform:uppercase;letter-spacing:.15em;font-weight:800;font-size:.76rem}.login form{margin:auto;width:min(78%,28rem);display:grid;gap:1.2rem}.login form h2{font-size:2rem;margin:0}.login form>p{color:#63756f;margin:0 0 1rem}label{display:grid;gap:.5rem;font-weight:700}input{padding:.9rem 1rem;border:1px solid #b7c7c1;border-radius:.65rem;background:#fff}input:focus{outline:3px solid #9ed8c5;border-color:#0f7658}button{border:0;border-radius:.65rem;padding:.9rem 1.2rem;background:#116149;color:#fff;font-weight:800;cursor:pointer}button:disabled{opacity:.65;cursor:not-allowed}.error,.success{padding:.8rem!important;margin:.8rem 0!important;border-radius:.5rem}.error{background:#fee2e2;color:#991b1b!important}.success{background:#dcfce7;color:#166534}.shell{max-width:1200px;margin:auto;padding:clamp(1.25rem,4vw,3rem)}header{display:flex;align-items:center;justify-content:space-between;gap:2rem;padding:2rem 0;border-bottom:1px solid #ccdad5}header h1{margin:.4rem 0;font-size:clamp(1.8rem,4vw,3.3rem)}header p{margin:0;color:#61736d}nav,.actions{display:flex;gap:.75rem}.secondary{background:#fff;color:#155e4b;border:1px solid #b6ccc5}.shell section{padding-top:2rem}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:1rem}article{padding:1.5rem;background:#fff;border:1px solid #d7e2de;border-radius:1rem;box-shadow:0 6px 24px #153d3010}article h3{margin:.9rem 0 .4rem}article p,.section-heading p{color:#60716c;margin:.25rem 0}.badge{font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;color:#127154;font-weight:800}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem}.section-heading h2{margin:0}.table-wrap{margin-top:1.25rem;overflow:auto;background:#fff;border:1px solid #d7e2de;border-radius:1rem}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:1rem;border-bottom:1px solid #e2e9e6;vertical-align:middle}th{font-size:.76rem;text-transform:uppercase;letter-spacing:.06em;color:#526861;background:#f8faf9}tbody tr:last-child td{border-bottom:0}.role-list{display:flex;flex-wrap:wrap;gap:.35rem}.pill,.status{display:inline-block;padding:.3rem .55rem;border-radius:999px;font-weight:700;font-size:.75rem}.pill{background:#e4f4ee;color:#116149}.status.active{background:#dcfce7;color:#166534}.status.inactive{background:#f1f1f1;color:#5c6461}.small{padding:.55rem .8rem}.modal-backdrop{position:fixed;inset:0;background:#102b2388;display:grid;place-items:center;padding:1rem;z-index:10}.modal{width:min(36rem,100%);max-height:calc(100vh - 2rem);overflow:auto;background:#fff;border-radius:1rem;padding:1.5rem;display:grid;gap:1rem;box-shadow:0 25px 80px #102b2355}.modal-title{display:flex;justify-content:space-between;align-items:center}.modal-title h2{margin:0}.icon{padding:.35rem .7rem;font-size:1.5rem}fieldset{border:1px solid #c9d7d2;border-radius:.65rem;padding:1rem}legend{font-weight:700;padding:0 .3rem}.checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.checks label,.toggle{display:flex;grid-template:none;align-items:center;gap:.55rem;font-weight:500}.checks input,.toggle input{width:1.05rem;height:1.05rem}.modal small{color:#63756f;font-weight:400}.actions{justify-content:flex-end;margin-top:.5rem}@media(max-width:720px){.login{grid-template-columns:1fr}.brand{min-height:38vh;padding:2rem}.brand h1{font-size:2.8rem}.login form{width:auto;margin:0;padding:2rem}.shell header{align-items:flex-start;flex-direction:column}header nav{width:100%;flex-direction:column}.secondary{width:100%}.section-heading{align-items:stretch;flex-direction:column}.checks{grid-template-columns:1fr}th,td{padding:.75rem}}select{font:inherit;padding:.9rem 1rem;border:1px solid #b7c7c1;border-radius:.65rem;background:#fff}.tabs{display:flex;gap:.6rem;margin-top:1.5rem;overflow:auto;padding-bottom:.2rem}.tabs button{white-space:nowrap}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.capitalize{text-transform:capitalize}nav{flex-wrap:wrap}@media(max-width:720px){.form-row{grid-template-columns:1fr}.tabs button{width:auto}}.filters{display:flex;gap:1rem;align-items:end;margin:1rem 0;flex-wrap:wrap}.filters label{min-width:min(100%,16rem);flex:1}.muted{color:#60716c}.attendance-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:.75rem}.attendance-cards article{display:grid;gap:.35rem;padding:1rem}.attendance-cards strong{font-size:2rem}.attendance-cards small{color:#60716c}.filling-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.75rem}.filling-grid>div{display:grid;gap:.25rem;padding:1rem;border-radius:.75rem;border:1px solid}.sudah_mengisi{background:#dcfce7;border-color:#86c99b!important}.belum_mengisi{background:#fff1f2;border-color:#f4a4ad!important}textarea{font:inherit;min-height:6rem;padding:.8rem;border:1px solid #b7c7c1;border-radius:.65rem;resize:vertical}form>label{display:grid;gap:.4rem;margin:1rem 0}.notice{padding:.8rem 1rem;border-left:4px solid #d97706;background:#fffbeb;color:#78350f;border-radius:.4rem}.substitute-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-bottom:1.5rem}.substitute-form .wide{grid-column:1/-1}.substitute-form button{align-self:end}@media(max-width:760px){.substitute-form{grid-template-columns:1fr}.substitute-form .wide{grid-column:auto}.substitute-form button{width:100%}}.checkbox-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:.5rem;max-height:240px;overflow:auto;padding:.5rem 0}.checkbox-grid .toggle{justify-content:flex-start;margin:0}fieldset{border:1px solid var(--border,#d5ddd8);border-radius:12px;padding:12px}fieldset legend{font-weight:700;padding:0 6px}.schedule-workspace{display:grid;gap:1rem;margin-top:1rem}.schedule-toolbar,.audience-tabs,.schedule-view-tabs{display:flex;gap:.6rem;flex-wrap:wrap}.tabs.compact{margin:0}.audience-tabs{padding:.5rem;background:#eef2f7;border-radius:14px}.audience-tabs button{flex:1}.manual-schedule,.schedule-card,.schedule-settings{background:#fff;border:1px solid var(--border,#d5ddd8);border-radius:16px;padding:1rem}.manual-schedule{display:flex;justify-content:space-between;align-items:center;gap:1rem}.manual-schedule h3,.manual-schedule p{margin:.2rem 0}.schedule-view-tabs{margin-bottom:1rem}.schedule-filter{display:grid;gap:.35rem;max-width:28rem;margin-bottom:1rem;font-weight:700}.schedule-grid-wrap{overflow:auto;border:1px solid var(--border,#d5ddd8);border-radius:12px;max-height:68vh}.schedule-grid{border-collapse:separate;border-spacing:0;min-width:1850px}.schedule-grid th,.schedule-grid td{border-right:1px solid #cbd5d1;border-bottom:1px solid #cbd5d1;padding:.3rem;text-align:center;min-width:58px;height:54px}.schedule-grid thead th{position:sticky;top:0;background:#f8faf9;z-index:3}.schedule-grid thead tr:nth-child(2) th{top:39px}.schedule-grid tr>th:first-child{position:sticky;left:0;min-width:210px;text-align:left;background:#fff;z-index:2}.schedule-grid thead tr>th:first-child{z-index:5;background:#f8faf9}.schedule-chip{display:grid;width:100%;min-height:48px;padding:.35rem;border:0;border-radius:6px;color:#16352b;line-height:1.05}.schedule-chip small{font-size:.66rem}.schedule-chip.color-0{background:#86d7a5}.schedule-chip.color-1{background:#7db7f3}.schedule-chip.color-2{background:#f9df69}.schedule-chip.color-3{background:#67d9e5}.schedule-chip.color-4{background:#f49a94}.schedule-chip.color-5{background:#b4a8ef}.break-cell{background:#eef0f1!important;color:#68736f}.schedule-settings table{margin-top:1rem}@media(max-width:720px){.manual-schedule{align-items:stretch;flex-direction:column}.manual-schedule button,.audience-tabs button,.schedule-view-tabs button{width:auto}.schedule-grid tr>th:first-child{min-width:150px}}.duty-days{display:flex;gap:.6rem;flex-wrap:wrap;margin:1rem 0}.duty-days button{min-width:88px}.duty-add{display:grid;grid-template-columns:1fr auto;gap:1rem;align-items:center;margin:1rem 0;padding:1rem;background:#f7faf8;border:1px solid var(--border,#d5ddd8);border-radius:14px}@media(max-width:720px){.duty-add{grid-template-columns:1fr}.duty-add button{width:100%}.duty-days button{width:auto;flex:1}}.teacher-attendance-table select,.teacher-attendance-table input{min-width:120px}.teacher-attendance-table input[type=number]{min-width:80px;width:80px;margin-right:.35rem}.teacher-attendance-table td{vertical-align:middle}@media(max-width:720px){.teacher-attendance-table table{min-width:950px}}.teacher-attendance{display:grid;gap:.65rem}.attendance-controls{display:grid;grid-template-columns:minmax(160px,220px) 1fr;gap:.7rem;align-items:end;padding:.7rem;background:#fff;border:1px solid var(--border,#d5ddd8);border-radius:14px}.attendance-controls>label{display:grid;gap:.25rem}.attendance-top-actions{display:grid;grid-template-columns:1fr 1fr 1fr;gap:.45rem}.attendance-top-actions button{min-height:44px;padding:.5rem .35rem}.attendance-top-actions .whatsapp{background:#087443;color:#fff;border-color:#066136}.attendance-session{display:grid;gap:.35rem}.attendance-session h3{margin:.15rem 0;border-bottom:1px solid var(--border,#d5ddd8);padding-bottom:.35rem;font-size:1rem}.attendance-session h3 span{font-weight:500;color:#60716c}.teacher-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.4rem}.teacher-card{display:grid;gap:.35rem;padding:.5rem .6rem;background:#fff;border:1px solid var(--border,#d5ddd8);border-radius:10px;box-shadow:0 1px 3px #1232}.teacher-summary{display:flex;align-items:center;gap:.3rem;min-width:0;white-space:nowrap;font-size:.82rem}.teacher-summary h4{min-width:0;overflow:hidden;text-overflow:ellipsis;color:#1769aa;font-size:.9rem;margin:0}.teacher-summary strong:last-child{margin-left:auto}.attendance-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:.25rem}.attendance-actions button{min-height:32px;padding:.3rem .2rem;font-size:.78rem;background:#ecfdf3;color:#087443;border:1px solid #bbf0d2}.attendance-actions button:nth-child(2){background:#fff8d8;color:#9a5b00;border-color:#f5e8aa}.attendance-actions button:nth-child(3){background:#fff0f1;color:#a51f43;border-color:#f6cfd8}.attendance-saved{display:flex;align-items:center;justify-content:space-between;gap:.4rem;min-height:32px}.status-mark{font-size:.78rem;font-weight:800;color:#087443}.status-mark.terlambat{color:#9a5b00}.status-mark.alpa,.status-mark.izin,.status-mark.sakit,.status-mark.tugas_luar{color:#a51f43}.edit-attendance{width:32px;min-width:32px;height:30px;padding:0;background:#fff;color:#174d80;border:1px solid #b9cad8}.attendance-modal{max-width:520px}.attendance-modal>p{background:#f7faf8;padding:.75rem;border-radius:8px}@media(max-width:850px){.teacher-attendance{gap:.5rem}.attendance-controls{grid-template-columns:1fr;padding:.55rem}.attendance-controls>label{max-width:190px}.teacher-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.3rem}.teacher-card{padding:.4rem}.teacher-summary{font-size:.72rem;gap:.2rem}.teacher-summary h4{font-size:.78rem}.attendance-actions button{font-size:.7rem}.attendance-top-actions button{font-size:.75rem}}@media(max-width:390px){.attendance-top-actions button{font-size:.68rem;padding:.35rem .15rem}.teacher-summary h4{font-size:.72rem}}:root{--blue-950:#081b3a;--blue-900:#0b2854;--blue-800:#123d78;--blue-700:#1552a3;--blue-100:#dbeafe;--blue-50:#f3f7ff;--yellow:#f6c945;--yellow-soft:#fff7d6;--text:#17243b;--muted:#64748b;--border:#dbe3ef;color:var(--text);background:#f4f7fc}body{background:#f4f7fc}button{background:var(--blue-700);color:#fff}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--yellow);outline-offset:2px}.secondary{background:#fff;color:var(--blue-800);border-color:#c8d5e8}.brand{background:linear-gradient(145deg,var(--blue-950),var(--blue-700));position:relative;overflow:hidden}.brand:after{content:"";position:absolute;width:18rem;height:18rem;border:4rem solid #f6c94522;border-radius:50%;right:-8rem;bottom:-9rem}.brand .eyebrow{color:var(--yellow)}.login input:focus{outline:3px solid #f6c94588;border-color:var(--yellow)}.badge{color:var(--blue-700)}.pill{background:var(--blue-100);color:var(--blue-800)}.table-wrap,article,.manual-schedule,.schedule-card,.schedule-settings,.attendance-controls,.teacher-card{border-color:var(--border)}th{background:#f3f6fb;color:#43526a}.tabs button:not(.secondary),.audience-tabs button:not(.secondary){background:var(--blue-700)}.app-layout{min-height:100vh;display:grid;grid-template-columns:272px minmax(0,1fr)}.app-sidebar{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;background:linear-gradient(180deg,var(--blue-950),var(--blue-900));color:#fff;padding:1.1rem .9rem;z-index:40;box-shadow:8px 0 30px #0b28541a}.sidebar-brand{display:flex;align-items:center;gap:.75rem;padding:.3rem .45rem 1.15rem;border-bottom:1px solid #ffffff1c}.brand-mark{width:43px;height:43px;border-radius:12px;display:grid;place-items:center;background:var(--yellow);color:var(--blue-950);font-size:1.45rem;font-weight:950;box-shadow:0 5px 18px #0003}.sidebar-brand>div:nth-child(2){display:grid;line-height:1.05}.sidebar-brand strong{font-size:1.2rem;letter-spacing:.08em}.sidebar-brand small{margin-top:.3rem;color:#b9cae5}.sidebar-close{display:none;margin-left:auto;padding:.25rem .55rem;background:#ffffff12;font-size:1.4rem}.sidebar-user{display:flex;gap:.7rem;align-items:center;margin:1rem .25rem;padding:.8rem;border-radius:12px;background:#ffffff0d;border:1px solid #ffffff13}.sidebar-user>span{width:38px;height:38px;display:grid;place-items:center;border-radius:50%;background:var(--yellow);color:var(--blue-950);font-weight:900}.sidebar-user div{min-width:0;display:grid}.sidebar-user strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.88rem}.sidebar-user small{color:#aebfda;margin-top:.2rem}.sidebar-nav{display:grid;gap:.28rem;overflow-y:auto;align-content:start;flex:1;padding:.2rem 0}.sidebar-nav button,.sidebar-logout{width:100%;display:flex;align-items:center;gap:.75rem;text-align:left;padding:.78rem .85rem;border-radius:10px;background:transparent;color:#d9e5f7;font-weight:650;border:1px solid transparent}.sidebar-nav button span,.sidebar-logout span{width:22px;text-align:center;font-size:1.12rem;color:#a9c0e3}.sidebar-nav button:hover{background:#ffffff0d;color:#fff}.sidebar-nav button.active{background:var(--yellow);color:var(--blue-950);box-shadow:0 5px 18px #0002}.sidebar-nav button.active span{color:var(--blue-950)}.sidebar-logout{margin-top:.7rem;border-top:1px solid #ffffff1c;border-radius:0;padding-top:1rem;color:#fff}.sidebar-logout:hover{color:var(--yellow)}.app-main{min-width:0;display:flex;flex-direction:column}.app-topbar{min-height:96px;padding:1rem clamp(1rem,3vw,2.25rem);display:flex;align-items:center;gap:1rem;background:#fff;border-bottom:1px solid var(--border);position:sticky;top:0;z-index:20;box-shadow:0 3px 18px #17243b0a}.app-topbar h1{font-size:clamp(1.35rem,2.5vw,2rem);margin:.18rem 0;color:var(--blue-950)}.app-topbar .eyebrow{color:var(--blue-700)}.menu-toggle{display:none;width:44px;height:44px;padding:0;background:var(--blue-900);font-size:1.25rem}.topbar-school{margin-left:auto;display:flex;align-items:center;gap:.65rem;color:var(--blue-900)}.topbar-school span{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:var(--yellow);font-weight:900}.app-content{width:100%;max-width:1500px;margin:0 auto;padding:clamp(1rem,3vw,2.25rem)}.app-content>section{padding-top:0}.app-content .section-heading{margin-bottom:.75rem}.sidebar-overlay{display:none}@media(max-width:900px){.app-layout{grid-template-columns:1fr}.app-sidebar{position:fixed;left:0;top:0;width:min(86vw,300px);transform:translate(-105%);transition:transform .22s ease}.app-sidebar.open{transform:translate(0)}.sidebar-close,.menu-toggle{display:block}.sidebar-overlay{display:block;position:fixed;inset:0;background:#081b3a99;z-index:35;opacity:0;pointer-events:none;transition:opacity .22s}.sidebar-overlay.visible{opacity:1;pointer-events:auto}.app-topbar{min-height:82px}.topbar-school strong{display:none}}@media(max-width:560px){.app-topbar{padding:.75rem 1rem}.app-topbar .eyebrow{font-size:.62rem}.app-content{padding:1rem}.topbar-school span{width:36px;height:36px}.section-heading{align-items:stretch}}.role-login{min-height:100vh;position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:2.2rem 1rem 1.3rem;color:#fff;background:radial-gradient(circle at 50% 18%,#2474e8 0,#0e52bb 28%,transparent 52%),linear-gradient(155deg,#09275d,#0c49a8 52%,#082b6c)}.role-login:before{content:"";position:absolute;inset:0;opacity:.15;background-image:linear-gradient(30deg,transparent 48%,#fff 49%,#fff 51%,transparent 52%),linear-gradient(150deg,transparent 48%,#f6c945 49%,#f6c945 51%,transparent 52%);background-size:160px 160px;pointer-events:none}.login-decoration{position:absolute;border:18px solid #f6c94555;border-radius:50%;width:240px;height:240px}.login-decoration-one{top:-145px;right:-80px}.login-decoration-two{bottom:-170px;left:-80px}.login-identity{position:relative;z-index:1;text-align:center;display:grid;justify-items:center}.login-emblem{width:150px;height:150px;border-radius:50%;display:grid;place-items:center;align-content:center;background:#fff;border:8px solid #ffffff55;box-shadow:0 12px 38px #001c5c77;color:#24105f}.login-emblem span{font-size:.75rem;letter-spacing:.18em;font-weight:900}.login-emblem strong{font-size:3.2rem;line-height:1.05}.login-emblem small{font-size:.62rem;font-weight:900;letter-spacing:.15em}.login-identity h1{font-size:clamp(3rem,9vw,5rem);letter-spacing:.06em;line-height:.9;margin:1.15rem 0 .5rem;text-shadow:0 5px 20px #00163f99}.login-identity h2{color:#ffe33b;font-size:clamp(1rem,4vw,1.5rem);margin:0;letter-spacing:.025em}.login-identity p{margin:.45rem 0 1.25rem;color:#d8e7ff;font-size:1.05rem}.role-login-card{position:relative;z-index:1;width:min(100%,430px);display:grid;gap:.85rem;padding:1.5rem;border-radius:28px;background:#fffffff2;border:1px solid #fff;box-shadow:0 22px 55px #001b5c66;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.role-login-card label{position:relative;display:flex;align-items:center;margin:0;color:var(--blue-900)}.role-login-card label>span{position:absolute;left:1rem;z-index:2;width:1.4rem;text-align:center;font-size:1.2rem}.role-login-card input,.role-login-card select{width:100%;height:58px;padding:.8rem 3.1rem;border:1px solid #d7e1f0;border-radius:15px;background:#f7f9fd;color:#263652;box-shadow:inset 0 2px 8px #0b28540c}.role-login-card select{appearance:auto}.role-login-card input::placeholder{color:#7b879c}.password-toggle{position:absolute;right:.55rem;width:42px;height:42px;padding:0;background:transparent;color:#475b7c;font-size:1.4rem}.login-submit{min-height:58px;margin-top:.15rem;border-radius:999px;background:linear-gradient(180deg,#ffe925,#ffcf00);color:#09275d;font-size:1.15rem;letter-spacing:.08em;box-shadow:0 8px 20px #e9b90066;border:1px solid #fff}.role-login-card>small{text-align:center;color:#315c9d}.role-login-card .error{font-size:.88rem}.role-login footer{position:relative;z-index:1;margin-top:1.2rem;color:#d2e1fa;font-size:.84rem}@media(max-width:520px){.role-login{justify-content:flex-start;padding-top:1.35rem}.login-emblem{width:112px;height:112px}.login-emblem strong{font-size:2.4rem}.login-identity h1{font-size:3rem;margin-top:.8rem}.login-identity p{margin-bottom:.85rem}.role-login-card{border-radius:24px;padding:1.15rem}.role-login-card input,.role-login-card select{height:54px}}@media(max-height:760px)and (min-width:521px){.role-login{justify-content:flex-start}.login-emblem{width:105px;height:105px}.login-emblem strong{font-size:2.2rem}.login-identity h1{font-size:2.8rem;margin-top:.6rem}.login-identity p{margin-bottom:.7rem}.role-login-card{padding:1.1rem}}.brand-mark img{width:100%;height:100%;object-fit:cover;border-radius:10px}.login-emblem img{width:100%;height:100%;object-fit:contain}n .schedule-message{margin:12px 0;padding:10px 14px;border-radius:10px;background:#fff7cc;color:#705600;border:1px solid #f0d756}.schedule-drop-zone{min-width:64px;min-height:58px;cursor:pointer;transition:background .15s,box-shadow .15s}.schedule-drop-zone:hover,.schedule-drop-zone.ready{background:#eef5ff;box-shadow:inset 0 0 0 2px #2463b5}.schedule-chip.selected,.assignment-card.selected{outline:3px solid #f5c400;outline-offset:2px}.schedule-palette{margin-top:18px;padding:16px;border:1px solid #d9e2ef;border-radius:14px;background:#f8fbff}.schedule-palette-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.schedule-palette-head h3,.schedule-palette-head p{margin:0}.schedule-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:10px}.assignment-card{display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-height:84px;padding:12px;border:1px solid #b9c9de;border-radius:12px;color:#12213a;text-align:left;cursor:grab}.assignment-card:active{cursor:grabbing}.assignment-card span,.assignment-card small{font-weight:500}.schedule-actions{position:sticky;bottom:0;display:flex;justify-content:flex-end;gap:10px;margin-top:16px;padding:12px;background:#f8fbfff2;border-top:1px solid #d9e2ef}@media(max-width:700px){.schedule-palette-head{align-items:flex-start;flex-direction:column}.schedule-actions{justify-content:stretch}.schedule-actions button{flex:1}.assignment-card{min-height:76px}.schedule-drop-zone{min-width:58px}}.journal-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0}.journal-fields label:last-child{grid-column:1/-1}.attendance-cards.compact{display:grid;grid-template-columns:repeat(7,minmax(90px,1fr));gap:8px;margin:12px 0 18px}.attendance-cards.compact article{min-height:auto;padding:10px}.attendance-cards.compact span{font-size:.78rem}.attendance-cards.compact strong{font-size:1.25rem}.journal-history{margin-top:28px;padding-top:18px;border-top:1px solid var(--border)}@media(max-width:760px){.journal-fields{grid-template-columns:1fr}.journal-fields label:last-child{grid-column:auto}.attendance-cards.compact{grid-template-columns:repeat(2,minmax(0,1fr))}}.logo-settings{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin:1rem 0}.logo-settings label{display:grid;gap:.55rem;padding:1rem;background:#fff;border:1px solid var(--border);border-radius:12px;font-weight:700}.logo-settings img{width:110px;height:110px;object-fit:contain;margin:auto;background:#f8fafc;border-radius:10px}@media(max-width:720px){.logo-settings{grid-template-columns:1fr}}.grade-structure{display:grid;gap:1rem;margin-top:1rem}.objective-card{padding:1rem;background:#fff;border:1px solid var(--border);border-radius:14px}.objective-card h4{margin:.4rem 0}.kktp-row{display:grid;grid-template-columns:120px minmax(280px,1fr) 130px auto;gap:.75rem;align-items:end;margin:.75rem 0;padding:.8rem;background:#f5f8fd;border-radius:10px}.kktp-row label{display:grid;gap:.35rem}.kktp-row textarea{min-height:70px}@media(max-width:850px){.kktp-row{grid-template-columns:1fr}.kktp-row button{width:100%}}.grade-ledger-panel{display:grid;gap:1rem;margin-top:1rem}.grade-ledger-wrap{max-width:100%;overflow:auto;border:1px solid var(--border);border-radius:14px;background:#fff;max-height:70vh}.grade-ledger{border-collapse:separate;border-spacing:0;min-width:max-content}.grade-ledger th,.grade-ledger td{border-right:1px solid var(--border);border-bottom:1px solid var(--border);text-align:center;min-width:118px;padding:.55rem}.grade-ledger thead th{position:sticky;top:0;z-index:4;vertical-align:top;background:#eaf0ff}.grade-ledger th>small,.grade-ledger th>strong,.grade-ledger th>span{display:block}.grade-ledger th>small{font-size:.68rem;color:#53637c}.grade-ledger th>span{max-width:210px;margin:.3rem auto;font-size:.72rem;font-weight:500;white-space:normal}.grade-ledger th>button{width:28px;height:28px;padding:0;margin-top:.35rem;border-radius:50%;background:#fff;color:#9f1239;border:1px solid #fecdd3}.grade-ledger .summative-column{background:#fff3c4}.grade-ledger .average-column{background:#e1f5e9;font-weight:800}.grade-ledger .sticky-no,.grade-ledger .sticky-name{position:sticky;z-index:3;background:#fff}.grade-ledger .sticky-no{left:0;min-width:48px;width:48px}.grade-ledger .sticky-name{left:48px;min-width:220px;text-align:left;box-shadow:5px 0 8px #14213d12}.grade-ledger thead .sticky-no,.grade-ledger thead .sticky-name{z-index:7;background:#f6c945;color:#081b3a}.grade-ledger td.sticky-name{display:table-cell}.grade-ledger td.sticky-name small{display:block;color:#64748b;margin-top:.2rem}.grade-ledger td input{width:82px;min-width:82px;text-align:center;padding:.55rem}.hidden-grade-columns{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;padding:.75rem;background:#fff8d8;border:1px solid #f3dc85;border-radius:10px}.hidden-grade-columns button{width:auto}.grade-ledger-panel>.section-heading button{width:auto}@media(max-width:600px){.grade-ledger .sticky-name{min-width:145px;max-width:145px}.grade-ledger th>span{max-width:145px}.grade-ledger th,.grade-ledger td{min-width:96px;padding:.45rem}.grade-ledger td.sticky-name strong{white-space:normal;font-size:.78rem}.grade-ledger-panel>.section-heading button{width:100%}}.grade-flow-tabs{align-items:stretch}.grade-flow-tabs button{font-weight:800}.grade-flow-tabs button:last-child:not(.secondary){background:#0a7a46}.summative-settings{display:grid;gap:1rem;margin-top:1rem;padding:1rem;background:#fff;border:1px solid var(--border);border-radius:14px}.summative-settings h3,.summative-settings p{margin:.2rem 0}.summative-settings>button{justify-self:end}.grade-ledger input.grade-red,.grade-value.grade-red,.average-column.grade-red{background:#fee2e2!important;color:#991b1b}.grade-ledger input.grade-yellow,.grade-value.grade-yellow,.average-column.grade-yellow{background:#fef3c7!important;color:#92400e}.grade-ledger input.grade-green,.grade-value.grade-green,.average-column.grade-green{background:#dcfce7!important;color:#166534}.grade-ledger input.grade-blue,.grade-value.grade-blue,.average-column.grade-blue{background:#dbeafe!important;color:#1d4ed8}.grade-value{display:inline-grid;place-items:center;min-width:58px;padding:.45rem;border-radius:7px;font-weight:800}.teacher-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:1rem 0}.teacher-shortcuts button{display:grid;grid-template-columns:auto 1fr;column-gap:.8rem;align-items:center;text-align:left;padding:1rem;border-radius:14px;background:#fff;color:var(--blue-900);border:1px solid var(--border);box-shadow:0 4px 14px #0b285410}.teacher-shortcuts button>span{grid-row:1/3;display:grid;place-items:center;width:48px;height:48px;border-radius:12px;background:var(--yellow);font-size:1.35rem}.teacher-shortcuts button strong{font-size:1.05rem}.teacher-shortcuts button small{color:var(--muted)}.teacher-dashboard-schedule{margin:1rem 0 1.5rem;padding:1rem;background:#fff;border:1px solid var(--border);border-radius:14px}@media(max-width:600px){.teacher-shortcuts{grid-template-columns:1fr}.summative-settings>button{justify-self:stretch;width:100%}}.teacher-dashboard-schedule>.section-heading label{display:grid;gap:.35rem;min-width:180px}.teacher-attendance-legend{display:flex;gap:.9rem;flex-wrap:wrap;margin:.75rem 0}.teacher-attendance-legend span{display:flex;align-items:center;gap:.4rem;font-size:.8rem}.teacher-attendance-legend i{display:block;width:18px;height:18px;border:1px solid #cbd5e1;border-radius:4px}.weekly-grid-wrap{overflow:auto;border:1px solid var(--border);border-radius:12px}.weekly-teacher-grid{border-collapse:separate;border-spacing:0;min-width:520px}.weekly-teacher-grid th,.weekly-teacher-grid td{min-width:58px;padding:.25rem;border-right:1px solid var(--border);border-bottom:1px solid var(--border);text-align:center;height:48px}.weekly-teacher-grid thead th{position:sticky;top:0;z-index:3;background:#f3f6fb;font-size:.7rem}.weekly-teacher-grid .week-column{position:sticky;left:0;z-index:4;min-width:92px;background:#fff8d8;text-align:left}.weekly-teacher-grid thead .week-column{z-index:6}.weekly-teacher-grid .week-column select{width:100%;min-width:82px;padding:.35rem .25rem;border:1px solid #d4b335;border-radius:6px;background:#fff8d8;font-weight:800;color:#25344c}.weekly-teacher-grid .total-column{position:sticky;right:0;z-index:4;min-width:82px;background:#e8f2ff}.weekly-teacher-grid thead .total-column span,.weekly-teacher-grid thead .total-column strong{display:block}.weekly-teacher-grid thead .total-column strong{margin-top:.18rem;font-size:.78rem;color:#0f5da8}.weekly-teacher-grid thead .total-column{z-index:6}.mini-schedule-card{display:grid;place-items:center;align-content:center;min-width:38px;min-height:38px;padding:.16rem;border:1px solid #cbd5e1;border-radius:6px;background:#fff;color:#25344c;line-height:1}.mini-schedule-card strong{font-size:.69rem}.mini-schedule-card small{font-size:.58rem;margin-top:.15rem}.mini-schedule-card.is-unrecorded,.teacher-attendance-legend .is-unrecorded{background:#fff}.mini-schedule-card.is-absent,.teacher-attendance-legend .is-absent{background:#fecaca;border-color:#ef4444;color:#991b1b}.mini-schedule-card.is-late,.teacher-attendance-legend .is-late{background:#d1d5db;border-color:#6b7280;color:#1f2937}.mini-schedule-card.is-present,.teacher-attendance-legend .is-present{background:#bbf7d0;border-color:#22c55e;color:#166534}@media(max-width:600px){.weekly-teacher-grid{min-width:500px}.weekly-teacher-grid th,.weekly-teacher-grid td{min-width:52px}.weekly-teacher-grid .week-column{min-width:82px}.weekly-teacher-grid .total-column{min-width:68px}.mini-schedule-card{min-width:32px;min-height:36px}.teacher-dashboard-schedule>.section-heading label{min-width:0}}.profile-user .profile-photo-control{position:relative;display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border-radius:50%;overflow:hidden;cursor:pointer;background:#ffffff24}.profile-user .profile-photo-control>span,.profile-user .profile-photo-control>img{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;object-fit:cover}.profile-user .profile-photo-control input{display:none}.profile-user .profile-photo-control i{position:absolute;right:0;bottom:0;width:18px;height:18px;border-radius:50%;display:grid;place-items:center;background:#f4c430;color:#123;font-size:10px;font-style:normal}@media(max-width:560px){html{font-size:14px}body{min-width:0}.app-layout{min-height:100dvh}.app-sidebar{width:min(82vw,268px);height:100vh;height:100dvh;padding:.65rem .55rem;overflow:hidden}.sidebar-brand{gap:.55rem;padding:.2rem .3rem .65rem}.brand-mark{width:36px;height:36px;border-radius:9px}.sidebar-brand strong{font-size:1rem}.sidebar-brand small{margin-top:.15rem;font-size:.72rem}.sidebar-close{font-size:1.15rem;padding:.18rem .45rem}.sidebar-user{gap:.55rem;margin:.55rem .15rem;padding:.55rem;border-radius:9px}.profile-user .profile-photo-control,.profile-user .profile-photo-control>span,.profile-user .profile-photo-control>img{width:36px;height:36px}.profile-user .profile-photo-control{flex-basis:36px}.sidebar-user strong{font-size:.8rem}.sidebar-user small{font-size:.68rem;margin-top:.1rem}.sidebar-nav{min-height:0;flex:1 1 auto;gap:.12rem;padding:.1rem 0;overflow-y:auto;overscroll-behavior:contain}.sidebar-nav button,.sidebar-logout{gap:.55rem;min-height:36px;padding:.48rem .58rem;border-radius:8px;font-size:.78rem;line-height:1.15}.sidebar-nav button span,.sidebar-logout span{width:18px;font-size:.95rem}.sidebar-logout{flex:0 0 auto;margin-top:.3rem;padding-top:.55rem;padding-bottom:.5rem;background:#ffffff0a}.app-topbar{min-height:64px;padding:.55rem .7rem;gap:.65rem}.app-topbar h1{font-size:1.08rem;margin:.08rem 0}.app-topbar .eyebrow{font-size:.54rem;letter-spacing:.1em}.menu-toggle{width:36px;height:36px;font-size:1rem;border-radius:8px}.topbar-school span{width:32px;height:32px;border-radius:8px;font-size:.75rem}.app-content{padding:.7rem}.app-content .section-heading{margin-bottom:.55rem}.app-content h2{font-size:1.15rem}.app-content h3{font-size:1rem}.section-heading{gap:.55rem}article{padding:.85rem;border-radius:.75rem}.grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.6rem}button{padding:.62rem .8rem;border-radius:.55rem}input,select{padding:.62rem .7rem;border-radius:.55rem}textarea{padding:.62rem;min-height:5rem}.filters{gap:.6rem;margin:.65rem 0}.tabs{gap:.4rem;margin-top:.8rem}.tabs button{padding:.55rem .7rem}th,td{padding:.55rem}.table-wrap{margin-top:.7rem;border-radius:.7rem}.teacher-shortcuts{gap:.6rem;margin:.65rem 0}.teacher-shortcuts button{padding:.7rem;border-radius:10px}.teacher-shortcuts button>span{width:38px;height:38px;border-radius:9px;font-size:1rem}.teacher-shortcuts button strong{font-size:.9rem}.teacher-dashboard-schedule{margin:.7rem 0 1rem;padding:.7rem;border-radius:10px}.attendance-controls,.teacher-card,.manual-schedule,.schedule-card,.schedule-settings{padding:.7rem;border-radius:10px}.attendance-cards{gap:.5rem}.attendance-cards article{padding:.7rem}.attendance-cards strong{font-size:1.5rem}.modal{padding:1rem;gap:.7rem;border-radius:.8rem;max-height:calc(100dvh - 1rem)}}.honor-total-card{width:100%;margin:1rem 0 1.25rem;padding:1.35rem 1.5rem;background:linear-gradient(135deg,#fff3a6,#f6c945);border:1px solid #e7b91f;border-radius:1rem;box-shadow:0 8px 24px #b88b151f}.honor-total-card .badge{color:var(--blue-900);font-size:.82rem}.honor-total-card h3{margin:.45rem 0 .2rem;color:var(--blue-950);font-size:clamp(2rem,5vw,3rem)}.honor-total-card p{margin:0;color:#4b5870}@media(max-width:560px){.honor-total-card{padding:1rem 1.1rem;margin:.7rem 0 1rem}.honor-total-card h3{font-size:2rem}}.role-dashboard{display:grid;gap:18px;margin:18px 0 26px}.dashboard-panel{background:#fff;border:1px solid #e4e9f1;border-radius:18px;padding:18px;box-shadow:0 8px 24px #0f23410d}.dashboard-panel h2,.dashboard-panel h3{margin-top:0}.stat-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin:14px 0}.stat-card{display:flex;flex-direction:column;gap:5px;text-align:left;border:1px solid #dfe6ef;border-radius:16px;padding:16px;background:linear-gradient(145deg,#fff,#f7f9fc);color:#12233f;min-height:112px}.stat-card:hover{border-color:#1d4f83;transform:translateY(-1px)}button.stat-card{cursor:pointer}.stat-card small{font-weight:700;color:#607089}.stat-card strong{font-size:1.8rem;line-height:1.1}.stat-card span{font-size:.86rem;color:#607089}.attendance-color-grid,.chip-list{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.attendance-chip,.chip-list span{padding:8px 11px;border-radius:999px;background:#eef2f7;font-size:.86rem}.attendance-chip.hadir{background:#dcfce7}.attendance-chip.izin_di_pondok{background:#dbeafe}.attendance-chip.izin_di_rumah{background:#e0e7ff}.attendance-chip.sakit_di_uks{background:#fef3c7}.attendance-chip.sakit_di_rumah{background:#ffedd5}.attendance-chip.alpa_di_rumah{background:#fee2e2}.attendance-chip.bolos{background:#f3e8ff}.dashboard-panel details{margin-top:12px}.dashboard-panel summary{cursor:pointer;font-weight:700;padding:10px 0}@media(max-width:640px){.dashboard-panel{padding:14px}.stat-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-card{min-height:100px;padding:13px}.stat-card strong{font-size:1.5rem}}.schedule-grid.teacher-week-grid{width:100%;min-width:720px;table-layout:fixed}.schedule-grid.teacher-week-grid th,.schedule-grid.teacher-week-grid td{box-sizing:border-box}.schedule-grid.teacher-week-grid thead th{display:table-cell!important;visibility:visible!important;height:auto!important;min-width:0!important}.schedule-grid.teacher-week-grid th:first-child{width:16%;min-width:110px!important}.schedule-grid.teacher-week-grid thead th:not(:first-child),.schedule-grid.teacher-week-grid tbody td{width:21%;min-width:140px!important;text-align:center}.schedule-grid.teacher-week-grid tbody th{text-align:left}.schedule-grid:not(.teacher-week-grid){table-layout:fixed;width:max-content;min-width:100%}.schedule-grid:not(.teacher-week-grid) thead tr:first-child>th:first-child,.schedule-grid:not(.teacher-week-grid) tbody>tr>th{width:260px;min-width:260px;max-width:260px}.schedule-grid:not(.teacher-week-grid) thead tr:nth-child(2)>th,.schedule-grid:not(.teacher-week-grid) tbody>tr>td{width:76px;min-width:76px;max-width:76px;box-sizing:border-box}.schedule-grid:not(.teacher-week-grid) thead tr:first-child>th:not(:first-child){width:304px;min-width:304px;max-width:304px}.schedule-grid:not(.teacher-week-grid) thead tr:first-child>th:first-child,.schedule-grid:not(.teacher-week-grid) tbody>tr>th{width:150px;min-width:150px;max-width:150px;white-space:normal;overflow-wrap:anywhere;word-break:normal;line-height:1.25;height:auto}.schedule-grid:not(.teacher-week-grid) tbody>tr>th{max-height:none}.schedule-grid:not(.teacher-week-grid) thead tr:nth-child(2)>th,.schedule-grid:not(.teacher-week-grid) tbody>tr>td{width:54px;min-width:54px;max-width:54px;padding-left:3px;padding-right:3px}.schedule-grid:not(.teacher-week-grid) thead tr:first-child>th:not(:first-child){width:216px;min-width:216px;max-width:216px}.schedule-grid:not(.teacher-week-grid) tbody>tr>th{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.schedule-grid:not(.teacher-week-grid) thead tr:first-child>th:first-child,.schedule-grid:not(.teacher-week-grid) tbody>tr>th{width:105px;min-width:105px;max-width:105px}.schedule-grid:not(.teacher-week-grid) tbody>tr>th{display:table-cell;white-space:normal;overflow-wrap:anywhere;word-break:normal;line-height:1.15;height:auto;min-height:0;max-height:none;padding:6px 5px;vertical-align:middle}.schedule-grid:not(.teacher-week-grid) tbody>tr,.schedule-grid:not(.teacher-week-grid) tbody>tr>td{height:auto;min-height:0}.subject-attendance-grid thead th>span{display:block}.meeting-edit-button{display:block;width:auto;min-width:38px;margin:.25rem auto 0;padding:.18rem .38rem;border-radius:5px;font-size:.64rem;line-height:1.1;background:#fff;color:var(--blue-900);border:1px solid #b9c9de}.meeting-edit-button:disabled{opacity:.45}.meeting-status-select{min-width:112px;padding:.35rem;font-size:.72rem}.attendance-total-column{position:sticky;right:0;z-index:2;min-width:112px;background:#e8f2ff!important;text-align:center}.subject-attendance-grid thead .attendance-total-column{z-index:4}.grade-ledger tbody td{height:38px;padding:.28rem .4rem}.grade-ledger .sticky-no{min-width:36px!important;width:36px!important;max-width:36px!important;padding-left:.2rem;padding-right:.2rem}.grade-ledger .sticky-name{left:36px;min-width:180px}.grade-ledger td.sticky-name strong{font-size:.82rem;line-height:1.15}.grade-ledger td input{padding:.38rem .45rem}@media(max-width:600px){.grade-ledger tbody td{height:36px;padding:.24rem .32rem}.grade-ledger .sticky-name{left:36px;min-width:130px;max-width:130px}}.grade-assignment-filter{margin:.2rem 0 .45rem}.grade-flow-tabs{margin:0 0 .4rem;gap:.45rem;flex-wrap:wrap}.grade-flow-tabs button{padding:.65rem .85rem;width:auto}.grade-flow-tabs .grade-save-tab{background:#1f5fad}.grade-ledger-panel{margin-top:0;gap:.45rem}.grade-ledger thead th{padding:.25rem .32rem;line-height:1.05}.grade-ledger th>small{font-size:.6rem}.grade-ledger th>strong{font-size:.72rem}.grade-ledger th>span{margin:.15rem auto;font-size:.64rem;line-height:1.08}.grade-ledger th>button{width:22px;height:22px;margin-top:.15rem}@media(max-width:600px){.grade-assignment-filter{margin:.1rem 0 .35rem}.grade-flow-tabs{gap:.3rem;margin-bottom:.3rem}.grade-flow-tabs button{padding:.55rem .6rem;font-size:.78rem}.grade-ledger thead th{padding:.2rem .25rem}.grade-ledger th>span{max-width:125px;font-size:.6rem}}.tp-card{background:#eef5ff;border:2px solid #2563b8}.tp-fields label{color:#174f9c}.tp-fields input,.tp-fields textarea{background:#e4efff;border:2px solid #3b82d0;color:#123f7a}.tp-fields input:focus,.tp-fields textarea:focus{outline:3px solid #93c5fd;border-color:#1d5fab}.kktp-heading{margin-top:.7rem;padding:.55rem .7rem;background:#fff0a8;border:2px solid #e5b700;border-radius:10px;color:#8a6200}.kktp-heading .secondary{background:#ffd83d;border-color:#c99a00;color:#624800}.kktp-row{background:#fff5bd;border:2px solid #e4b900;color:#735400}.kktp-row label{color:#806000}.kktp-row input,.kktp-row textarea{background:#fff9da;border:2px solid #e0b400;color:#604700}.kktp-row input:focus,.kktp-row textarea:focus{outline:3px solid #fde68a;border-color:#b88b00}.kktp-row .secondary{background:#ffd83d;border-color:#c99a00;color:#624800}.grade-column-actions{display:flex;justify-content:center;align-items:center;gap:.25rem;margin-top:.18rem}.grade-column-actions button{display:grid;place-items:center;width:26px;height:26px;padding:0;border-radius:50%;background:#fff;color:#173f77;border:1px solid #9fb7d8;font-size:.76rem;line-height:1}.grade-column-actions button:first-child{color:#8a5d00;border-color:#e4bd37;background:#fff9db}.grade-column-actions button:hover{transform:translateY(-1px);box-shadow:0 2px 5px #102a4330}.sidebar-account-settings{width:100%;display:flex;align-items:center;gap:.75rem;text-align:left;padding:.78rem .85rem;border-radius:10px;background:transparent;color:#d9e5f7;font-weight:650;border:1px solid transparent;margin-top:.35rem}.sidebar-account-settings span{width:22px;text-align:center;font-size:1.12rem;color:#a9c0e3}.sidebar-account-settings:hover{background:#ffffff0d;color:#fff}.sidebar-account-settings.active{background:var(--yellow);color:var(--blue-950)}.sidebar-account-settings.active span{color:var(--blue-950)}.sidebar-logout{margin-top:.15rem}.profile-user .profile-photo-control{cursor:default}.account-settings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;max-width:900px}.account-settings-card{display:grid;align-content:start;gap:1rem;padding:1.25rem;background:#fff;border:1px solid var(--border);border-radius:14px;box-shadow:0 4px 14px #0b285410}.account-settings-card h2{margin:0;color:var(--blue-900)}.account-settings-card label{margin:0}.account-settings-card small{color:var(--muted)}.account-photo-preview{width:112px;height:112px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:var(--yellow);color:var(--blue-950);font-size:2.5rem;font-weight:900}.account-photo-preview img{width:100%;height:100%;object-fit:cover}.account-photo-button{display:inline-flex;justify-content:center;width:max-content;padding:.75rem 1rem;border-radius:.65rem;background:var(--blue-700);color:#fff;cursor:pointer}.account-photo-button input{display:none}@media(max-width:700px){.account-settings{grid-template-columns:1fr}.sidebar-account-settings{padding:.62rem .7rem;font-size:.82rem}.sidebar-account-settings span{width:18px;font-size:.95rem}}.teacher-schedule-filter{display:flex;justify-content:flex-start;margin:0 0 .65rem}.teacher-schedule-filter label{width:min(240px,100%)}@media(max-width:600px){.teacher-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem;margin:.45rem 0 .65rem}.teacher-shortcuts button{grid-template-columns:auto 1fr;column-gap:.45rem;padding:.65rem .55rem;min-width:0}.teacher-shortcuts button>span{width:36px;height:36px;font-size:1rem}.teacher-shortcuts button strong{font-size:.78rem;line-height:1.1}.teacher-shortcuts button small{font-size:.64rem;line-height:1.1}.teacher-dashboard-schedule{margin-top:.6rem}}@media(max-width:600px){.weekly-grid-wrap{overflow-x:hidden}.weekly-teacher-grid{width:100%;min-width:0;table-layout:fixed}.weekly-teacher-grid th,.weekly-teacher-grid td{min-width:0;height:46px;padding:.12rem}.weekly-teacher-grid .week-column{width:62px;min-width:62px;padding:.1rem}.weekly-teacher-grid .total-column{width:54px;min-width:54px;padding:.1rem;font-size:.62rem}.weekly-teacher-grid .week-column select{width:100%;min-width:0;padding:.28rem .1rem;font-size:.61rem}.weekly-teacher-grid thead th{font-size:.58rem;line-height:1.08;white-space:normal}.weekly-teacher-grid thead .total-column strong{font-size:.63rem}.mini-schedule-card{width:100%;min-width:0;min-height:36px;padding:.08rem}.mini-schedule-card strong{font-size:.62rem}.mini-schedule-card small{font-size:.53rem}}.piket-summary-panel{padding:12px}.piket-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.piket-summary-card{display:flex;min-width:0;min-height:88px;flex-direction:column;justify-content:center;gap:5px;padding:12px;border:1px solid #dfe6ef;border-radius:14px;background:linear-gradient(145deg,#fff,#f7f9fc);color:#12233f;text-align:left}button.piket-summary-card{cursor:pointer}.piket-summary-card small{font-size:.75rem;font-weight:800;color:#607089}.piket-summary-card strong{font-size:1.35rem;line-height:1.1}.piket-summary-card span{font-size:.7rem;color:#607089}.piket-attendance-card{background:#1764b0;color:#fff;border-color:#1764b0}.piket-attendance-card small{color:#dbeafe}.piket-present-card{background:#ecfdf5;border-color:#86efac}@media(max-width:600px){.piket-summary-panel{padding:8px}.piket-summary-grid{gap:6px}.piket-summary-card{min-height:76px;padding:8px 6px;border-radius:10px}.piket-summary-card small{font-size:.6rem}.piket-summary-card strong{font-size:.92rem}.piket-summary-card span{font-size:.56rem}}.attendance-session-grid{grid-template-columns:repeat(4,minmax(0,1fr))}@media(max-width:640px){.attendance-session-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin:8px 0}.attendance-session-grid .stat-card{min-width:0;min-height:82px;padding:8px 5px;border-radius:10px;gap:3px}.attendance-session-grid .stat-card small{font-size:.62rem;line-height:1.05}.attendance-session-grid .stat-card strong{font-size:1.15rem}.attendance-session-grid .stat-card span{font-size:.55rem;line-height:1.05}}.attendance-status-buttons button.attendance-chip{border:1px solid transparent;color:#25344c;cursor:pointer;font:inherit}.attendance-status-buttons .attendance-chip.is-disabled{cursor:default;opacity:.85}.attendance-status-buttons button.attendance-chip.is-selected{border-color:#174f86;box-shadow:0 0 0 2px #174f8629;font-weight:800}.selected-status-students{margin:10px 0 16px;padding:12px;border:1px solid #dfe6ef;border-radius:14px;background:#f8fafc}.selected-status-students h3{margin:0 0 8px}.status-student-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 4px;border-bottom:1px solid #e5e7eb}.status-student-row:last-child{border-bottom:0}.status-student-row span{flex:0 0 auto;padding:3px 8px;border-radius:999px;background:#e8f2ff;font-size:.78rem}@media(max-width:600px){.attendance-status-buttons{gap:5px}.attendance-status-buttons .attendance-chip{padding:6px 7px;font-size:.66rem}.selected-status-students{padding:9px}.status-student-row{font-size:.78rem}}.piket-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:10px}.piket-action-card{display:flex;align-items:center;justify-content:center;gap:9px;min-height:66px;padding:11px;background:linear-gradient(145deg,#ffe56b,#f6c52f);border:1px solid #d9a900;color:#3d3100;text-align:center}.piket-action-card span{font-size:1.2rem}.piket-action-card strong{line-height:1.15}.piket-student-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.piket-total-card{background:#eef4ff;border-color:#93b4e5}.piket-present-card{background:#dcfce7;border-color:#74d89a}.piket-home-card{background:#fff0df;border-color:#f2b86f}.piket-balance-note{margin:9px 2px 0;color:#9a3412;font-size:.72rem;line-height:1.35}@media(max-width:600px){.piket-action-grid,.piket-student-grid{gap:6px}.piket-action-card{min-height:58px;padding:7px 5px;font-size:.72rem}.piket-action-card span{font-size:.9rem}.piket-student-grid .piket-summary-card{min-height:72px}.piket-balance-note{font-size:.62rem}}.piket-action-grid .piket-action-card:first-child{background:linear-gradient(145deg,#bae6fd,#7dd3fc);border-color:#38bdf8;color:#0c4a6e}.piket-action-card strong{font-size:1.08rem}.piket-student-grid .piket-summary-card small{font-size:.86rem}.piket-student-grid .piket-summary-card strong{font-size:1.85rem}@media(max-width:600px){.piket-action-card strong{font-size:.86rem}.piket-student-grid .piket-summary-card small{font-size:.68rem}.piket-student-grid .piket-summary-card strong{font-size:1.28rem}}.piket-action-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.piket-action-grid .piket-teacher-attendance-action{background:linear-gradient(145deg,#bae6fd,#7dd3fc);border-color:#38bdf8;color:#0c4a6e}.piket-action-grid .piket-substitute-action{background:linear-gradient(145deg,#dcfce7,#86efac);border-color:#4ade80;color:#14532d}.piket-action-grid .piket-violation-action{background:linear-gradient(145deg,#ffe56b,#f6c52f);border-color:#d9a900;color:#3d3100}.student-violations{display:grid;gap:16px}.violation-entry{padding:18px;background:#fff;border:1px solid #e4e9f1;border-radius:18px;box-shadow:0 8px 24px #0f23410d}.violation-entry h2{margin:0}.violation-entry td{vertical-align:top}.violation-entry td:nth-child(1){width:54px}.violation-entry td:nth-child(2){min-width:260px}.violation-entry td:nth-child(3){min-width:240px}.violation-entry input,.violation-entry select{width:100%}.violation-entry td small{display:block;margin-top:5px;color:#607089}.violation-entry td:nth-child(3) input{margin-top:7px}.link-button{padding:0;background:transparent;color:#174f86;text-align:left}@media(max-width:600px){.piket-action-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.piket-action-card{min-width:0;padding:7px 3px}.piket-action-card strong{font-size:.67rem}.piket-action-card span{display:none}.violation-entry{padding:10px}.violation-entry .table-wrap{overflow:visible;border:0}.violation-entry table,.violation-entry tbody,.violation-entry tr,.violation-entry td{display:block;width:100%!important}.violation-entry thead{display:none}.violation-entry td{border:0;padding:5px 0;min-width:0!important}.violation-entry td:first-child{display:none}.violation-entry td:last-child button{width:100%}}.piket-action-card strong{font-size:1.18rem;line-height:1.18;text-transform:uppercase;text-align:center}@media(max-width:600px){.piket-action-card strong{font-size:.82rem;line-height:1.18}}.recap-date-filters{grid-template-columns:repeat(2,minmax(180px,260px))}.teacher-recap-table{min-width:1050px}.teacher-recap-table th,.teacher-recap-table td{text-align:center}.teacher-recap-table th:first-child,.teacher-recap-table td:first-child,.teacher-recap-table th:nth-child(2),.teacher-recap-table td:nth-child(2){text-align:left}.teacher-recap-table thead small{display:block;margin-top:.2rem;font-weight:500;white-space:nowrap;color:#60716c}@media(max-width:720px){.recap-date-filters{grid-template-columns:1fr 1fr;gap:.5rem}.recap-date-filters input{min-width:0}.teacher-recap-table{font-size:.8rem}}.attendance-matrix-controls{display:grid;grid-template-columns:minmax(120px,180px) minmax(150px,220px) auto;gap:10px;align-items:end;margin-bottom:12px}.month-selector{display:grid;grid-template-columns:repeat(6,minmax(80px,1fr));gap:8px;margin-top:12px}.month-selector button{width:auto;min-height:38px;padding:7px 8px;font-size:13px}.attendance-matrix-wrap{margin-top:16px;overflow:auto;max-width:100%}.student-attendance-matrix{border-collapse:separate;border-spacing:0;width:max-content;min-width:100%;table-layout:fixed}.student-attendance-matrix th,.student-attendance-matrix td{box-sizing:border-box;border-right:1px solid #64748b;border-bottom:1px solid #64748b;min-width:34px;height:32px;padding:4px 3px;text-align:center;background:#fff}.student-attendance-matrix tr:first-child th{border-top:1px solid #64748b}.student-attendance-matrix th:first-child,.student-attendance-matrix td:first-child{border-left:1px solid #64748b}.student-attendance-matrix thead th{background:#eaf0f8;white-space:nowrap}.student-attendance-matrix .no-col{position:sticky;left:0;z-index:3;min-width:38px;width:38px;max-width:38px;padding-left:2px;padding-right:2px;background:#fff}.student-attendance-matrix .name-col{position:sticky;left:38px;z-index:3;min-width:150px;width:150px;max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left;font-size:12px;font-weight:600;background:#fff}.student-attendance-matrix thead .no-col,.student-attendance-matrix thead .name-col{z-index:5;background:#eaf0f8}@media(max-width:700px){.attendance-matrix-controls{grid-template-columns:1fr 1fr}.attendance-matrix-controls button{grid-column:1/-1}.month-selector{grid-template-columns:repeat(3,1fr)}.month-selector button{min-height:36px;padding:6px 4px;font-size:12px}.student-attendance-matrix .name-col{min-width:130px;width:130px;max-width:130px;font-size:11px}}.evaluation-attendance-wrap{margin-top:14px;overflow:auto;max-width:100%}.evaluation-attendance-table{border-collapse:separate;border-spacing:0;width:max-content;min-width:100%;table-layout:fixed}.evaluation-attendance-table th,.evaluation-attendance-table td{box-sizing:border-box;border-right:1px solid #64748b;border-bottom:1px solid #64748b;min-width:42px;height:36px;padding:4px;text-align:center;white-space:nowrap;background:#fff}.evaluation-attendance-table thead th{border-top:1px solid #64748b;background:#eaf0f8}.evaluation-attendance-table th:first-child,.evaluation-attendance-table td:first-child{border-left:1px solid #64748b}.evaluation-attendance-table .evaluation-name{position:sticky;left:0;z-index:3;width:175px;min-width:175px;max-width:175px;overflow:hidden;text-overflow:ellipsis;text-align:left;font-size:12px;font-weight:600;background:#fff}.evaluation-attendance-table thead .evaluation-name{z-index:5;background:#eaf0f8}.evaluation-attendance-table .evaluation-action{min-width:105px;width:105px}.evaluation-attendance-table .evaluation-action button{padding:6px 8px;font-size:11px}.evaluation-attendance-table td.evaluation-sakit{background:#fde047;color:#713f12;font-weight:800}.evaluation-attendance-table td.evaluation-izin{background:#86efac;color:#14532d;font-weight:800}.evaluation-attendance-table td.evaluation-alpa{background:#f87171;color:#7f1d1d;font-weight:800}@media(max-width:700px){.evaluation-attendance-table .evaluation-name{width:130px;min-width:130px;max-width:130px;font-size:10px}.evaluation-attendance-table th,.evaluation-attendance-table td{min-width:36px;height:32px;padding:3px;font-size:10px}}.evaluation-attendance-table th,.evaluation-attendance-table td{min-width:28px;width:28px;max-width:28px;padding:3px 1px;font-size:10px}.evaluation-attendance-table .evaluation-name{min-width:145px;width:145px;max-width:145px;padding:5px 6px;white-space:normal}.evaluation-attendance-table .evaluation-name span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.2}.evaluation-attendance-table th.evaluation-warning,.evaluation-attendance-table td.evaluation-warning{background:#fde047;color:#713f12;font-weight:800}.evaluation-attendance-table th.evaluation-home,.evaluation-attendance-table td.evaluation-home{background:#fca5a5;color:#7f1d1d;font-weight:800}@media(max-width:700px){.evaluation-attendance-table th,.evaluation-attendance-table td{min-width:25px;width:25px;max-width:25px;font-size:9px}.evaluation-attendance-table .evaluation-name{min-width:115px;width:115px;max-width:115px;font-size:10px}}.evaluation-form-lock{border:0;padding:0;margin:0;min-width:0}.evaluation-form-lock:disabled{opacity:.72}.evaluation-sent,.evaluation-editing,.evaluation-unsent{display:inline-block;padding:6px 10px;border-radius:999px;font-weight:700;white-space:nowrap}.evaluation-sent{background:#dcfce7;color:#166534}.evaluation-editing{background:#fef3c7;color:#92400e}.evaluation-unsent{background:#fee2e2;color:#991b1b}.home-student-search{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.home-student-table textarea{min-width:220px;min-height:70px}.home-student-table input[type=number]{min-width:75px;width:75px}.facility-table input[type=number]{min-width:70px;width:80px}.facility-options{display:grid;grid-template-columns:repeat(3,minmax(150px,1fr));gap:12px;margin:16px 0}.facility-options label,.home-student-search label{display:grid;gap:6px;font-weight:700}@media(max-width:700px){.home-student-search{grid-template-columns:1fr}.facility-options{grid-template-columns:1fr 1fr}.home-student-table{min-width:760px}.facility-table{min-width:560px}}.home-student-table,.facility-table{border-collapse:collapse;border:1px solid #94a3b8}.home-student-table th,.home-student-table td,.facility-table th,.facility-table td{border:1px solid #94a3b8;padding:6px;text-align:center}.home-student-table th,.facility-table th{font-size:11px;line-height:1.15}.home-student-table td{font-size:11px;line-height:1.2}.home-student-table td:first-child{width:115px;min-width:115px;max-width:115px;white-space:normal;overflow-wrap:anywhere}.home-student-table td:first-child strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:11px;line-height:1.2}.facility-table td{font-size:12px;padding:5px}.facility-table input[type=number]{width:54px;min-width:54px;height:34px;padding:4px 6px;font-size:12px}.facility-options select{height:38px;padding:5px 8px;font-size:12px}.form-grid input,.form-grid textarea{font-size:12px;padding:7px 9px}.form-grid textarea{min-height:65px}@media(max-width:700px){.home-student-search{grid-template-columns:1fr 1fr;gap:7px;align-items:end}.home-student-search label{font-size:11px;line-height:1.15}.home-student-search input,.home-student-search select{height:38px;min-width:0;padding:5px 7px;font-size:11px}.home-student-table{min-width:620px}.facility-table{min-width:430px}.facility-options{grid-template-columns:1fr 1fr;gap:7px}.facility-options label{font-size:11px}.form-grid{gap:8px}}.piket-date-action{flex-direction:column;gap:3px;background:linear-gradient(145deg,#dcfce7,#86efac);border-color:#4ade80;color:#14532d}.piket-date-action strong{font-size:1.18rem;line-height:1}.piket-date-action small{font-size:.78rem;font-weight:700}.missing-class-list{display:flex;flex-wrap:wrap;align-items:flex-start;gap:8px;margin:10px 0}.missing-class-item{display:grid;gap:5px}.missing-class-item>button{min-width:54px;padding:7px 11px;border:1px solid #d9e1ec;border-radius:999px;background:#eef2f7;color:#34445c}.missing-class-item>button.is-open{background:#123f70;color:#fff;border-color:#123f70}.missing-class-teachers{width:190px;padding:8px;border:1px solid #cbd5e1;border-radius:10px;background:#f8fafc}.missing-class-teachers p{display:grid;gap:2px;margin:0 0 7px;font-size:.78rem}.missing-class-teachers p:last-child{margin-bottom:0}.missing-class-teachers small{color:#64748b}.piket-duty-panel{min-height:112px;background:linear-gradient(145deg,#dcfce7,#86efac);border-color:#4ade80;color:#14532d;display:grid;align-content:center;gap:8px}.piket-duty-title{font-size:1.08rem}.piket-duty-names{display:flex;flex-wrap:wrap;gap:5px 14px}.piket-duty-names span{font-size:.82rem;font-weight:650}@media(max-width:640px){.piket-date-action strong{font-size:.86rem}.piket-date-action small{font-size:.62rem}.missing-class-teachers{width:150px}.piket-duty-panel{min-height:100px;padding:10px}.piket-duty-title{font-size:.88rem}.piket-duty-names{gap:3px 9px}.piket-duty-names span{font-size:.68rem}}.piket-date-action{flex-direction:column;gap:4px;overflow:hidden}.piket-date-action strong{font-size:clamp(1.4rem,4.5vw,1.9rem);line-height:1;white-space:nowrap}.piket-date-action small{font-size:clamp(.78rem,2.5vw,1rem);line-height:1.1;white-space:nowrap}.piket-action-grid .piket-teacher-attendance-action{background:linear-gradient(145deg,#166534,#064e3b);border-color:#064e3b;color:#fff}.piket-present-card span,.piket-home-card span{font-size:.78rem;font-weight:750;white-space:nowrap}.attendance-status-buttons .attendance-chip{display:grid;grid-template-columns:auto auto;align-items:center;column-gap:5px;row-gap:2px}.attendance-status-buttons .attendance-chip small{grid-column:1/-1;font-size:.68rem;font-weight:750;opacity:.85}@media(max-width:640px){.piket-date-action{padding:5px 2px}.piket-date-action strong{font-size:1.35rem}.piket-date-action small{font-size:.72rem}.piket-present-card span,.piket-home-card span{font-size:.65rem}.attendance-status-buttons .attendance-chip{padding:7px 9px;font-size:.8rem}.attendance-status-buttons .attendance-chip small{font-size:.62rem}}.journal-form-lock{border:0;padding:0;margin:0;min-width:0}.journal-form-lock:disabled{opacity:.72}.journal-saved-box{margin-top:14px;padding:14px;display:grid;gap:8px;border:1px solid #86efac;border-radius:14px;background:#dcfce7;color:#166534}.journal-saved-box .actions{margin:2px 0 0}.home-followup-needed,.home-followup-wait{display:inline-block;padding:7px 11px;border-radius:999px;font-weight:800;white-space:nowrap}.home-followup-needed{background:#fee2e2;color:#991b1b;border:1px solid #fca5a5}.home-followup-wait{background:#dcfce7;color:#166534;border:1px solid #86efac}.home-student-table th,.home-student-table td{border:1px solid #cbd5e1;vertical-align:middle}.home-student-table textarea{min-width:230px}.home-followup-rule{margin:14px 0;padding:14px 16px;border:1px solid #f59e0b;border-left:6px solid #f59e0b;border-radius:12px;background:#fffbeb;color:#78350f}.home-followup-rule strong{display:block;margin-bottom:7px}.home-followup-rule ol{margin:0;padding-left:22px;font-weight:700}.home-followup-rule li{margin:4px 0}.monitoring-actions{display:flex;align-items:end;gap:8px;flex-wrap:wrap}.monitoring-actions input{min-width:160px}@media(max-width:640px){.monitoring-actions,.monitoring-actions input,.monitoring-actions button{width:100%}}.public-student-search{width:min(92vw,720px);margin:10px auto 34px;padding:18px;border:1px solid #dbe3ee;border-radius:18px;background:#fff;box-shadow:0 10px 30px #0f274414}.public-student-search h3{margin:0 0 5px;color:#123f70}.public-student-search>p{margin:0 0 12px;color:#64748b}.public-search-row{display:grid;grid-template-columns:1fr auto;gap:8px}.public-search-row input,.public-verify input{width:100%;min-width:0;padding:11px;border:1px solid #cbd5e1;border-radius:10px}.public-search-results{display:grid;gap:7px;margin-top:12px}.public-search-results button{display:grid;text-align:left;gap:3px;padding:10px 12px;background:#f8fafc;color:#172033;border:1px solid #dbe3ee;border-radius:10px}.public-search-results small,.public-verify small{color:#64748b}.public-verify,.public-report{display:grid;gap:10px;margin-top:12px;padding:14px;border:1px solid #dbe3ee;border-radius:12px;background:#f8fafc}.public-verify label{display:grid;gap:6px;font-weight:700}.public-report .table-wrap{max-height:330px;overflow:auto}@media(max-width:640px){.public-student-search{width:calc(100% - 24px);padding:14px}.public-search-row{grid-template-columns:1fr}.public-search-row button{width:100%}}.role-switcher{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:2px 0 10px}.role-switcher button{min-width:0;padding:9px 5px;border:0;border-radius:10px;color:#fff;font-size:.78rem;font-weight:800;line-height:1.1;white-space:normal;box-shadow:0 3px 8px #0f172a1c}.role-switcher .role-color-0{background:#2563eb}.role-switcher .role-color-1{background:#059669}.role-switcher .role-color-2{background:#7c3aed}.role-switcher .role-color-3{background:#ea580c}.role-switcher button.active{outline:3px solid #facc15;outline-offset:1px}@media(max-width:640px){.role-switcher{gap:5px;margin:0 0 8px}.role-switcher button{padding:8px 3px;border-radius:8px;font-size:.65rem}}.homeroom-supervision{margin:0 0 12px;padding:12px;border:1px solid #bfdbfe;border-radius:14px;background:#eff6ff}.homeroom-supervision>div:first-child{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:9px}.homeroom-supervision small{color:#64748b}.homeroom-class-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:6px}.homeroom-class-grid button{padding:8px 3px;border-radius:8px;background:#fff;color:#123f70;border:1px solid #bfdbfe;font-weight:800}.homeroom-class-grid button.active{background:#123f70;color:#fff;outline:2px solid #facc15}.supervision-current{margin:9px 0 0;font-size:.82rem}@media(max-width:640px){.homeroom-supervision{padding:9px;margin-top:0}.homeroom-supervision>div:first-child{display:grid}.homeroom-class-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.homeroom-class-grid button{padding:7px 2px;font-size:.72rem}}.homeroom-only-dashboard,.homeroom-focus-dashboard{display:grid;gap:1rem}.homeroom-chart-card,.homeroom-chart-detail{background:#fff;border:1px solid var(--border);border-radius:18px;padding:1rem;box-shadow:0 5px 18px #0b28540b}.homeroom-bar-chart{display:grid;grid-template-columns:34px 1fr;height:390px;margin-top:1rem}.chart-y-axis{display:flex;flex-direction:column;justify-content:space-between;align-items:flex-end;padding:0 6px 48px 0;color:#526078;font-size:.72rem;border-right:1px solid #8290a5}.chart-bars{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:end;gap:clamp(8px,3vw,28px);padding:0 12px;border-bottom:1px solid #8290a5}.chart-bar-button{height:100%;padding:0;background:transparent!important;color:#10213d!important;border:0;display:grid;grid-template-rows:1fr 36px;align-items:end;position:relative;box-shadow:none!important}.chart-bar-button>i{display:block;width:min(100%,120px);min-height:3px;justify-self:center;border-radius:8px 8px 0 0;transition:height .2s,filter .2s;box-shadow:0 4px 12px #0b285425}.chart-bar-button>strong{position:absolute;bottom:calc(var(--bar-height,0%) + 42px);display:none}.chart-bar-button>span{align-self:center;font-size:.72rem;font-weight:800;line-height:1.1;white-space:normal}.chart-bar-button.blue>i{background:#2478ef}.chart-bar-button.red>i{background:#f23852}.chart-bar-button.yellow>i{background:#ffc533}.chart-bar-button.green>i{background:#27b879}.chart-bar-button.active>i{filter:brightness(.88);outline:3px solid #102f60;outline-offset:3px}.chart-bar-button>strong{display:block;top:auto;bottom:40px;left:50%;transform:translate(-50%);z-index:2;background:#fff;border-radius:999px;padding:2px 6px;font-size:.75rem}.dashboard-detail-list{display:grid;gap:.65rem}.dashboard-detail-list article{padding:.85rem;border:1px solid var(--border);border-radius:12px;background:#f8fafc}.dashboard-detail-list article>div{display:flex;justify-content:space-between;gap:1rem}.dashboard-detail-list small{color:var(--muted)}.dashboard-detail-list ul{margin:.5rem 0 0;padding-left:1.2rem;font-size:.85rem}@media(max-width:600px){.homeroom-chart-card,.homeroom-chart-detail{padding:.7rem}.homeroom-bar-chart{height:300px;grid-template-columns:28px 1fr}.chart-bars{gap:6px;padding:0 5px}.chart-bar-button>i{width:80%}.chart-bar-button>span{font-size:.58rem}.chart-y-axis{font-size:.58rem;padding-right:4px}.homeroom-chart-detail table{font-size:.72rem}.homeroom-chart-detail th,.homeroom-chart-detail td{padding:.38rem}}.weekly-teacher-grid thead th{font-size:clamp(.66rem,1.8vw,.82rem);font-weight:800}.weekly-teacher-grid .week-column{font-size:clamp(.72rem,2vw,.9rem);font-weight:800}.weekly-teacher-grid .week-column select{font-size:clamp(.7rem,1.9vw,.86rem);font-weight:900}.weekly-teacher-grid .total-column{font-size:clamp(.68rem,1.8vw,.82rem)}.weekly-teacher-grid thead .total-column strong{font-size:clamp(.72rem,2vw,.88rem)}.mini-schedule-card strong{font-size:clamp(.72rem,2.1vw,.9rem);font-weight:900}.mini-schedule-card small{font-size:clamp(.64rem,1.8vw,.78rem);font-weight:800}@media(max-width:600px){.weekly-teacher-grid thead th{font-size:.68rem}.weekly-teacher-grid .week-column{font-size:.74rem}.weekly-teacher-grid .week-column select{font-size:.72rem}.weekly-teacher-grid .total-column{font-size:.66rem}.weekly-teacher-grid thead .total-column strong{font-size:.72rem}.mini-schedule-card strong{font-size:.74rem}.mini-schedule-card small{font-size:.65rem}}.student-affairs-dashboard{display:grid;gap:1rem}.student-affairs-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem}.student-affairs-shortcuts button{min-height:68px;display:flex;align-items:center;justify-content:center;gap:.55rem;border:0;border-radius:12px;background:#fff;box-shadow:0 3px 12px #17365d14;color:#10294c;font-weight:800}.student-affairs-shortcuts button span{display:grid;place-items:center;width:32px;height:32px;border-radius:8px;background:#ffd54a;color:#17365d;font-size:1.1rem}.student-affairs-today .table-wrap{margin-top:.4rem}.student-affairs-today td,.student-affairs-today th{vertical-align:middle}.cell-subtext{display:block;margin-top:.2rem;color:#64748b;font-size:.72rem}.followup-done,.followup-pending{white-space:nowrap;border:0;border-radius:8px;padding:.48rem .65rem;font-weight:800}.followup-done{background:#dcfce7;color:#166534}.followup-pending{background:#fff3cd;color:#8a5a00}@media(max-width:600px){.student-affairs-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr));gap:.35rem}.student-affairs-shortcuts button{min-height:58px;padding:.35rem;flex-direction:column;font-size:.68rem;line-height:1.05}.student-affairs-shortcuts button span{width:25px;height:25px;font-size:.85rem}.student-affairs-today table{min-width:760px}}.student-affairs-today-table table{width:100%;min-width:0!important;table-layout:fixed}.student-affairs-today-table th,.student-affairs-today-table td{padding:.42rem .28rem;font-size:.78rem}.student-affairs-today-table th:nth-child(1),.student-affairs-today-table td:nth-child(1){width:7%;text-align:center}.student-affairs-today-table th:nth-child(2),.student-affairs-today-table td:nth-child(2){width:27%}.student-affairs-today-table th:nth-child(3),.student-affairs-today-table td:nth-child(3){width:10%;text-align:center}.student-affairs-today-table th:nth-child(4),.student-affairs-today-table td:nth-child(4){width:25%}.student-affairs-today-table th:nth-child(5),.student-affairs-today-table td:nth-child(5){width:31%}.student-affairs-name strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:normal;overflow-wrap:anywhere;line-height:1.05;font-size:.72rem}.student-affairs-violation{white-space:normal;overflow-wrap:anywhere;line-height:1.08}.student-affairs-action .followup-done,.student-affairs-action .followup-pending{width:100%;white-space:normal;padding:.38rem .25rem;font-size:.68rem;line-height:1.05}@media(max-width:600px){.student-affairs-today .table-wrap{overflow-x:visible}.student-affairs-today-table th,.student-affairs-today-table td{padding:.35rem .18rem;font-size:.68rem}.student-affairs-name strong{font-size:.65rem}}.student-class-summary{margin:.75rem 0 1rem;display:grid;gap:.65rem}.student-total{display:flex;align-items:center;gap:.55rem;padding:.65rem .8rem;border:1px solid #d8e1ee;border-radius:12px;background:#fff}.student-total strong{font-size:1.45rem;color:#123a68}.student-total span{font-size:.82rem;font-weight:700}.student-class-filters{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:.35rem}.student-class-filters button{min-width:0;padding:.42rem .2rem;font-size:.75rem}@media(max-width:600px){.student-class-filters{grid-template-columns:repeat(4,minmax(0,1fr))}.student-class-filters button{font-size:.68rem;padding:.38rem .12rem}}.curriculum-dashboard-recap{display:grid;gap:14px}.week-tab-grid,.day-tab-grid{display:grid;gap:8px}.week-tab-grid,.day-tab-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.week-tab-grid button,.day-tab-grid button{border:1px solid #cbd5e1;background:#fff;border-radius:10px;padding:10px 6px;font-weight:800;color:#17365d}.week-tab-grid button small,.day-tab-grid button small{display:block;font-size:10px;font-weight:600;margin-top:3px;color:#64748b}.week-tab-grid button.active,.day-tab-grid button.active{background:#1f5fae;color:#fff;border-color:#1f5fae}.week-tab-grid button.active small,.day-tab-grid button.active small{color:#eaf2ff}.week-tab-grid button:disabled{opacity:.4}@media(max-width:700px){.week-tab-grid,.day-tab-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.curriculum-dashboard-recap .recap-date-filters{grid-template-columns:1fr 1fr}.curriculum-dashboard-recap .teacher-recap-table th,.curriculum-dashboard-recap .teacher-recap-table td{font-size:12px;padding:8px 5px}}.curriculum-dashboard-recap{gap:7px}.curriculum-dashboard-recap .section-heading{margin-bottom:0}.curriculum-dashboard-recap .section-heading h2{margin-bottom:1px}.curriculum-dashboard-recap .section-heading p{margin:0}.curriculum-dashboard-recap .recap-date-filters{margin:0;gap:8px}.curriculum-dashboard-recap .recap-date-filters label{margin:0}.curriculum-dashboard-recap .recap-date-filters input{margin-top:3px;padding:7px 9px}.curriculum-dashboard-recap .week-tab-grid,.curriculum-dashboard-recap .day-tab-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:5px}.curriculum-dashboard-recap .week-tab-grid button,.curriculum-dashboard-recap .day-tab-grid button{min-width:0;padding:7px 2px;border-radius:8px;font-size:12px}.curriculum-dashboard-recap .week-tab-grid button:nth-child(1){background:#2563eb;color:#fff}.curriculum-dashboard-recap .week-tab-grid button:nth-child(2){background:#059669;color:#fff}.curriculum-dashboard-recap .week-tab-grid button:nth-child(3){background:#7c3aed;color:#fff}.curriculum-dashboard-recap .week-tab-grid button:nth-child(4){background:#ea580c;color:#fff}.curriculum-dashboard-recap .week-tab-grid button:nth-child(5){background:#0891b2;color:#fff}.curriculum-dashboard-recap .week-tab-grid button:nth-child(6){background:#be185d;color:#fff}.curriculum-dashboard-recap .week-tab-grid button small{color:#fff}.curriculum-dashboard-recap .week-tab-grid button.active{outline:3px solid #facc15;outline-offset:1px}.curriculum-dashboard-recap .day-tab-grid button:nth-child(1){background:#2563eb;color:#fff}.curriculum-dashboard-recap .day-tab-grid button:nth-child(2){background:#059669;color:#fff}.curriculum-dashboard-recap .day-tab-grid button:nth-child(3){background:#7c3aed;color:#fff}.curriculum-dashboard-recap .day-tab-grid button:nth-child(4){background:#ea580c;color:#fff}.curriculum-dashboard-recap .day-tab-grid button:nth-child(5){background:#0891b2;color:#fff}.curriculum-dashboard-recap .day-tab-grid button:nth-child(6){background:#be185d;color:#fff}.curriculum-dashboard-recap .day-tab-grid button small{color:#fff}.curriculum-dashboard-recap .day-tab-grid button.active{outline:3px solid #facc15;outline-offset:1px}.teacher-gender-filter{display:flex;gap:6px;margin:0}.teacher-gender-filter button{flex:1;padding:7px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#17365d;font-weight:800}.teacher-gender-filter button.active{background:#173f73;color:#fff;border-color:#173f73}@media(max-width:700px){.curriculum-dashboard-recap .week-tab-grid,.curriculum-dashboard-recap .day-tab-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:3px}.curriculum-dashboard-recap .week-tab-grid button,.curriculum-dashboard-recap .day-tab-grid button{padding:6px 1px;font-size:10px;line-height:1.1}.curriculum-dashboard-recap .week-tab-grid button small,.curriculum-dashboard-recap .day-tab-grid button small{font-size:8px}.curriculum-dashboard-recap .recap-date-filters{gap:5px}}.curriculum-dashboard-recap .teacher-recap-table{table-layout:fixed;width:100%}.curriculum-dashboard-recap .teacher-recap-table th,.curriculum-dashboard-recap .teacher-recap-table td{padding:5px 2px;font-size:10px;text-align:center}.curriculum-dashboard-recap .teacher-recap-table .recap-no{width:5%}.curriculum-dashboard-recap .teacher-recap-table .recap-name{width:31%}.curriculum-dashboard-recap .teacher-recap-table th:nth-child(n+3){width:8%}.curriculum-dashboard-recap .teacher-recap-table .recap-teacher-name{text-align:left;white-space:normal;line-height:1.15;overflow-wrap:break-word}@media(max-width:700px){.curriculum-dashboard-recap .teacher-recap-table th,.curriculum-dashboard-recap .teacher-recap-table td{font-size:9px;padding:4px 1px}.curriculum-dashboard-recap .teacher-recap-table .recap-name{width:30%}}.curriculum-dashboard-recap .table-wrap{overflow-x:hidden}.curriculum-dashboard-recap .teacher-recap-table{width:100%;table-layout:fixed;border-collapse:collapse}.curriculum-dashboard-recap .teacher-recap-table th,.curriculum-dashboard-recap .teacher-recap-table td{border:1px solid #cbd5e1;padding:3px 1px;font-size:8px;line-height:1.05;text-align:center}.curriculum-dashboard-recap .teacher-recap-table .recap-no{width:4%}.curriculum-dashboard-recap .teacher-recap-table .recap-name{width:24%}.curriculum-dashboard-recap .teacher-recap-table th:nth-child(n+3){width:9%}.curriculum-dashboard-recap .teacher-recap-table .recap-teacher-name{width:24%;max-width:24%;white-space:normal;overflow-wrap:anywhere;word-break:normal;text-align:left;line-height:1.05}@media(max-width:700px){.curriculum-dashboard-recap .teacher-recap-table th,.curriculum-dashboard-recap .teacher-recap-table td{font-size:7px;padding:2px 1px}.curriculum-dashboard-recap .teacher-recap-table .recap-no{width:4%}.curriculum-dashboard-recap .teacher-recap-table .recap-name,.curriculum-dashboard-recap .teacher-recap-table .recap-teacher-name{width:23%;max-width:23%}.curriculum-dashboard-recap .teacher-recap-table th:nth-child(n+3){width:9.1%}}.curriculum-dashboard-recap .teacher-recap-table{width:100%!important;min-width:0!important;table-layout:fixed!important}.curriculum-dashboard-recap .teacher-recap-table th,.curriculum-dashboard-recap .teacher-recap-table td{box-sizing:border-box!important;padding:2px 0!important;font-size:7px!important;overflow:hidden}.curriculum-dashboard-recap .teacher-recap-table th:nth-child(1),.curriculum-dashboard-recap .teacher-recap-table td:nth-child(1){width:5%!important}.curriculum-dashboard-recap .teacher-recap-table th:nth-child(2),.curriculum-dashboard-recap .teacher-recap-table td:nth-child(2){width:27%!important;max-width:27%!important}.curriculum-dashboard-recap .teacher-recap-table th:nth-child(n+3),.curriculum-dashboard-recap .teacher-recap-table td:nth-child(n+3){width:8.5%!important;max-width:8.5%!important}.curriculum-dashboard-recap .teacher-recap-table td:nth-child(2){white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;line-height:1.05!important;text-align:left!important}.curriculum-dashboard-recap .teacher-recap-table th:nth-child(n+3),.curriculum-dashboard-recap .teacher-recap-table td:nth-child(n+3){white-space:nowrap!important;text-align:center!important}@media(max-width:700px){.curriculum-dashboard-recap .teacher-recap-table th,.curriculum-dashboard-recap .teacher-recap-table td{font-size:6.5px!important;padding:2px 0!important}.curriculum-dashboard-recap .teacher-recap-table th:nth-child(2),.curriculum-dashboard-recap .teacher-recap-table td:nth-child(2){width:25%!important;max-width:25%!important}.curriculum-dashboard-recap .teacher-recap-table th:nth-child(n+3),.curriculum-dashboard-recap .teacher-recap-table td:nth-child(n+3){width:8.75%!important;max-width:8.75%!important}}.curriculum-dashboard-recap .teacher-recap-table th,.curriculum-dashboard-recap .teacher-recap-table td{font-size:10px!important;line-height:1.2!important;height:auto!important}.curriculum-dashboard-recap .teacher-recap-table td:nth-child(2){white-space:normal!important;overflow-wrap:break-word!important;word-break:normal!important;line-height:1.2!important}@media(max-width:700px){.curriculum-dashboard-recap .teacher-recap-table th,.curriculum-dashboard-recap .teacher-recap-table td{font-size:9px!important;line-height:1.2!important}}.teacher-teaching-recap:not(.curriculum-dashboard-recap) .teacher-recap-table{width:100%;min-width:0;table-layout:fixed;border-collapse:collapse}.teacher-teaching-recap:not(.curriculum-dashboard-recap) .teacher-recap-table th,.teacher-teaching-recap:not(.curriculum-dashboard-recap) .teacher-recap-table td{box-sizing:border-box;padding:5px 2px;font-size:9px;border:1px solid #d7dee8;text-align:center}.teacher-teaching-recap:not(.curriculum-dashboard-recap) .teacher-recap-table th:first-child,.teacher-teaching-recap:not(.curriculum-dashboard-recap) .teacher-recap-table td:first-child{width:28%;white-space:normal;overflow-wrap:break-word;word-break:normal;text-align:left;line-height:1.15}.teacher-teaching-recap:not(.curriculum-dashboard-recap) .teacher-recap-table th:nth-child(n+2){width:10.3%}.teacher-teaching-recap:not(.curriculum-dashboard-recap) .teacher-recap-table thead small{font-size:7px;white-space:normal;line-height:1.05;margin-top:2px;color:inherit}.teacher-teaching-recap:not(.curriculum-dashboard-recap) .monthly-name-head{background:#1d4f91;color:#fff}.teacher-teaching-recap:not(.curriculum-dashboard-recap) .monthly-week-1{background:#2563eb;color:#fff}.teacher-teaching-recap:not(.curriculum-dashboard-recap) .monthly-week-2{background:#059669;color:#fff}.teacher-teaching-recap:not(.curriculum-dashboard-recap) .monthly-week-3{background:#7c3aed;color:#fff}.teacher-teaching-recap:not(.curriculum-dashboard-recap) .monthly-week-4{background:#ea580c;color:#fff}.teacher-teaching-recap:not(.curriculum-dashboard-recap) .monthly-week-5{background:#0891b2;color:#fff}.teacher-teaching-recap:not(.curriculum-dashboard-recap) .monthly-week-6{background:#db8caf;color:#fff}.teacher-teaching-recap:not(.curriculum-dashboard-recap) .monthly-total-head{background:#334155;color:#fff}@media(max-width:700px){.teacher-teaching-recap:not(.curriculum-dashboard-recap) .teacher-recap-table th,.teacher-teaching-recap:not(.curriculum-dashboard-recap) .teacher-recap-table td{font-size:7px;padding:4px 1px}.teacher-teaching-recap:not(.curriculum-dashboard-recap) .teacher-recap-table th:first-child,.teacher-teaching-recap:not(.curriculum-dashboard-recap) .teacher-recap-table td:first-child{width:27%}.teacher-teaching-recap:not(.curriculum-dashboard-recap) .teacher-recap-table th:nth-child(n+2){width:10.4%}.teacher-teaching-recap:not(.curriculum-dashboard-recap) .teacher-recap-table thead small{font-size:5.5px}}.curriculum-shortcut-row{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px!important}.curriculum-shortcut-row button{min-width:0!important;width:100%;padding:8px 3px!important;white-space:nowrap;font-size:clamp(9px,2.2vw,14px);border:1px solid #d5dde8}.curriculum-shortcut-row .filter-all{background:#fff!important;color:#173b63!important}.curriculum-shortcut-row .filter-all.active{outline:3px solid #2563eb}.curriculum-shortcut-row .filter-ustadz{background:#2563eb!important;color:#fff!important}.curriculum-shortcut-row .filter-ustadz.active{outline:3px solid #facc15}.curriculum-shortcut-row .filter-ustadzah{background:#ec8fb3!important;color:#fff!important}.curriculum-shortcut-row .filter-ustadzah.active{outline:3px solid #facc15}.curriculum-shortcut-row .filter-monthly{background:#facc15!important;color:#173b63!important}.teacher-master-wrap{border:0;box-shadow:0 8px 30px #123d7812;background:#fff}.teacher-master-table{min-width:1450px}.teacher-master-table thead th{background:linear-gradient(180deg,#123d78,#0b2854);color:#fff;border-right:1px solid #ffffff20;white-space:nowrap}.teacher-master-table tbody tr:nth-child(2n){background:#f7faff}.teacher-master-table tbody tr:hover{background:#fff8d8}.teacher-master-table td{border-right:1px solid #e7edf6;padding:.75rem}.teacher-no{width:48px;text-align:center;font-weight:900;color:#1552a3}.teacher-name{min-width:190px}.teacher-name strong,.teacher-name small{display:block}.teacher-name small{margin-top:.25rem;color:#64748b;font-size:.7rem}.teacher-tags{display:flex;gap:.3rem;flex-wrap:wrap;min-width:180px}.teacher-tag{display:inline-flex;padding:.28rem .5rem;border-radius:999px;font-size:.7rem;font-weight:850;white-space:nowrap}.teacher-tag.position{background:#dbeafe;color:#1d4ed8}.teacher-tag.task{background:#fef3c7;color:#92400e}.teacher-honor{font-weight:900;color:#087443;white-space:nowrap}.employment-badge{display:inline-flex;padding:.3rem .55rem;border-radius:8px;font-size:.72rem;font-weight:900}.employment-badge.gty{background:#dcfce7;color:#166534}.employment-badge.gtty{background:#ede9fe;color:#6d28d9}.teacher-edit-btn{background:#f6c945;color:#081b3a}.teacher-data-modal{width:min(94vw,900px);max-height:92vh;overflow:auto}.teacher-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem}.form-section-title{margin:1rem 0 .65rem;padding:.55rem .75rem;border-left:5px solid #1552a3;background:#eef5ff;border-radius:8px}.form-section-title.employment{border-color:#7c3aed;background:#f3e8ff}.form-section-title.honor{border-color:#d49b00;background:#fff8d8}.assignment-list{display:grid;gap:.45rem}.assignment-list>div{display:grid;grid-template-columns:auto minmax(150px,1fr) auto auto auto;align-items:center;gap:.6rem;padding:.55rem .7rem;border:1px solid #dbe3ef;border-radius:10px;background:#fff}.assignment-list b{color:#087443}.assignment-list small{color:#64748b}.assignment-add{display:grid;grid-template-columns:130px minmax(220px,1fr) 170px auto;gap:.6rem;align-items:end;margin-top:.75rem;padding:.75rem;background:#f7faff;border:1px dashed #9db4d4;border-radius:12px}.honor-master-card{padding:1rem;background:#fff;border:1px solid #dbe3ef;border-radius:14px;box-shadow:0 5px 18px #123d780d}.honor-master-card form{display:grid;gap:.7rem}.honor-master-grid{align-items:start}.teacher-profile-card{grid-column:1/-1}.locked-employment{margin-top:1rem;padding:1rem;background:#f8fafc;border:1px solid #dbe3ef;border-radius:12px}.locked-employment h3,.locked-employment p{margin:.2rem 0 .7rem}.locked-employment input{background:#eef2f7;color:#475569}.profile-assignment-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.5rem;margin-top:.8rem}.profile-assignment-grid>div{display:grid;gap:.2rem;padding:.7rem;border-radius:10px;background:#fff;border:1px solid #dbe3ef}.profile-assignment-grid span{font-size:.68rem;text-transform:uppercase;color:#64748b;font-weight:900}.profile-assignment-grid b{color:#087443}.muted{color:#64748b}@media(max-width:700px){.teacher-form-grid,.assignment-add{grid-template-columns:1fr 1fr}.assignment-list>div{grid-template-columns:auto 1fr}.assignment-list b,.assignment-list small{grid-column:2}.teacher-data-modal{width:96vw}.teacher-master-table td,.teacher-master-table th{padding:.55rem;font-size:.76rem}}@media(max-width:430px){.teacher-form-grid,.assignment-add{grid-template-columns:1fr}.teacher-data-modal{padding:.8rem}.teacher-master-wrap{border-radius:10px}}.people-action-tabs{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px!important}.people-action-tabs button{min-width:0!important;width:100%;padding:9px 4px!important;font-size:clamp(9px,2.4vw,13px)!important;white-space:normal!important;line-height:1.1!important}.teacher-export-pdf{background:#dc2626!important;color:#fff!important}.teacher-export-excel{background:#15803d!important;color:#fff!important}.teacher-master-table{min-width:1080px!important;table-layout:fixed!important}.teacher-master-table thead th{white-space:normal!important;overflow-wrap:break-word!important;word-break:normal!important;line-height:1.05!important;text-align:center!important;padding:6px 3px!important}.teacher-master-table td{padding:6px 4px!important;font-size:11px!important;line-height:1.15!important;overflow-wrap:break-word!important}.teacher-master-table th:nth-child(1),.teacher-master-table td:nth-child(1){width:34px!important}.teacher-master-table th:nth-child(2),.teacher-master-table td:nth-child(2){width:145px!important;min-width:0!important}.teacher-master-table th:nth-child(3),.teacher-master-table td:nth-child(3){width:105px!important}.teacher-master-table th:nth-child(4),.teacher-master-table td:nth-child(4){width:125px!important}.teacher-master-table th:nth-child(5),.teacher-master-table td:nth-child(5){width:105px!important}.teacher-master-table th:nth-child(6),.teacher-master-table td:nth-child(6){width:58px!important}.teacher-master-table th:nth-child(7),.teacher-master-table td:nth-child(7){width:78px!important}.teacher-master-table th:nth-child(8),.teacher-master-table td:nth-child(8){width:76px!important}.teacher-master-table th:nth-child(9),.teacher-master-table td:nth-child(9){width:105px!important}.teacher-master-table th:nth-child(10),.teacher-master-table td:nth-child(10){width:100px!important}.teacher-master-table th:nth-child(11),.teacher-master-table td:nth-child(11){width:115px!important}.teacher-master-table th:nth-child(12),.teacher-master-table td:nth-child(12){width:55px!important}.teacher-name,.teacher-tags{min-width:0!important}.teacher-tag{white-space:normal!important;line-height:1.05!important}@media(max-width:700px){.teacher-master-table{min-width:940px!important}.teacher-master-table th,.teacher-master-table td{font-size:9px!important;padding:4px 2px!important}.teacher-master-table th:nth-child(2),.teacher-master-table td:nth-child(2){width:120px!important}.teacher-master-table th:nth-child(3),.teacher-master-table td:nth-child(3){width:90px!important}.teacher-master-table th:nth-child(4),.teacher-master-table td:nth-child(4){width:105px!important}.teacher-master-table th:nth-child(5),.teacher-master-table td:nth-child(5){width:90px!important}}@media print{body *{visibility:hidden!important}.teacher-master-wrap,.teacher-master-wrap *{visibility:visible!important}.teacher-master-wrap{position:absolute!important;left:0!important;top:0!important;width:100%!important;box-shadow:none!important}.teacher-master-table{min-width:0!important;width:100%!important;table-layout:auto!important}.teacher-master-table th,.teacher-master-table td{font-size:7px!important;padding:3px 2px!important}.teacher-master-table th:last-child,.teacher-master-table td:last-child{display:none!important}}.teacher-schedule-filter{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:.7rem}.teacher-schedule-filter label{display:flex;align-items:center;gap:.65rem;margin:0;font-weight:850;font-size:1.05rem}.teacher-schedule-filter input[type=month]{width:190px;max-width:52vw;padding:.7rem .75rem;border:1px solid #93b7e7;border-radius:10px;background:#dbeafe;color:#0b2854;font-weight:800}.teacher-schedule-filter>button{width:auto;min-width:145px;padding:.75rem 1rem}.weekly-teacher-grid .week-column{background:#dbeafe;color:#0b2854}.weekly-teacher-grid .week-column select{background:#2563b8;color:#fff;border-color:#174d8f;font-weight:850}.weekly-teacher-grid thead .week-column{background:#dbeafe}@media(max-width:600px){.teacher-schedule-filter{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center}.teacher-schedule-filter label{min-width:0;gap:.4rem;font-size:.9rem}.teacher-schedule-filter input[type=month]{width:150px;max-width:45vw;padding:.6rem .45rem}.teacher-schedule-filter>button{min-width:120px;padding:.65rem .7rem}}.week-select-wrap{display:flex;align-items:center;justify-content:center;gap:.25rem;background:#2563b8;color:#fff;border-radius:10px;padding:.3rem .35rem;line-height:1.05}.week-select-label{display:block;white-space:normal;text-align:center;font-weight:850;font-size:.72rem}.weekly-teacher-grid .week-column .week-select-wrap select{width:38px;min-width:38px;padding:.35rem .15rem;background:#fff;color:#0b2854;border:0;border-radius:7px;font-weight:850}@media(max-width:600px){.week-select-label{font-size:.58rem;line-height:.95;letter-spacing:-.02em}.week-select-wrap{gap:.12rem;padding:.22rem .18rem}.weekly-teacher-grid .week-column .week-select-wrap select{width:34px;min-width:34px;font-size:.72rem;padding:.3rem .08rem}}.student-card-filters,.student-card-classes{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.student-card-list{display:grid;gap:8px}.student-card-row{display:grid;grid-template-columns:52px 1fr auto;align-items:center;gap:10px;padding:10px;border:1px solid #dbe3ee;border-radius:12px;background:#fff}.student-card-row small,.student-card-row em{display:block}.student-photo{width:48px;height:64px;border-radius:6px;overflow:hidden;background:#eef2f7;display:grid;place-items:center;text-align:center;font-size:9px}.student-photo img{width:100%;height:100%;object-fit:cover}.student-card-print{display:none}.print-student-card{width:85.6mm;height:54mm;border:1px solid #173d70;border-radius:3mm;padding:3mm;box-sizing:border-box;break-inside:avoid}.print-student-card header{display:flex;justify-content:space-between;border-bottom:1px solid #173d70;padding-bottom:2mm;font-size:8pt}.print-card-body{display:grid;grid-template-columns:20mm 1fr;gap:3mm;padding-top:2mm;font-size:7pt}.print-card-body img,.photo-placeholder{width:18mm;height:24mm;object-fit:cover;border:1px solid #aaa}.photo-placeholder{display:grid;place-items:center;text-align:center}.print-card-body h3{font-size:9pt;margin:0 0 1mm}.print-card-body p{margin:.5mm 0}.print-student-card footer{text-align:right;font-size:6.5pt}@media print{body *{visibility:hidden}.student-card-print,.student-card-print *{visibility:visible}.student-card-print{display:grid;grid-template-columns:repeat(2,85.6mm);gap:5mm;position:absolute;left:10mm;top:10mm}.app-sidebar,.app-topbar,.role-switcher{display:none!important}}.compact-latest-history .table-wrap{overflow-x:auto}.compact-latest-history table{width:100%;min-width:0;table-layout:fixed;font-size:11px}.compact-latest-history th,.compact-latest-history td{padding:5px 2px;text-align:center;white-space:nowrap}.compact-latest-history th:first-child,.compact-latest-history td:first-child{width:34px}.compact-latest-history th:nth-child(2),.compact-latest-history td:nth-child(2){width:28px}.compact-latest-history th:nth-child(3),.compact-latest-history td:nth-child(3){width:38px}.compact-latest-history th:nth-child(4),.compact-latest-history td:nth-child(4){width:30px}.compact-latest-history th:nth-child(n+5):nth-child(-n+11),.compact-latest-history td:nth-child(n+5):nth-child(-n+11){width:23px}.compact-latest-history th:last-child,.compact-latest-history td:last-child{width:38px}.compact-latest-history .history-date span{display:block;line-height:1.05}.compact-latest-history .history-subject{overflow:hidden;text-overflow:ellipsis;font-weight:700}.compact-latest-history button.small{padding:4px 5px;font-size:10px;min-width:0}.teacher-student-recap{margin-top:18px}.teacher-recap-filters{display:flex;gap:8px;align-items:end;flex-wrap:wrap;margin:8px 0 12px}.teacher-recap-filters label{display:grid;gap:4px;font-size:12px;font-weight:700}.teacher-recap-filters select{min-width:110px;padding:7px 8px}.single-subject-label{display:grid;gap:3px;font-size:12px}.single-subject-label span{font-weight:700}.single-subject-label strong{padding:7px 8px;border:1px solid #d9e0ea;border-radius:8px;background:#f8fafc}.teacher-recap-table-wrap{overflow-x:auto}.teacher-recap-table{border-collapse:collapse;width:max-content;min-width:100%;font-size:11px}.teacher-recap-table th,.teacher-recap-table td{border:1px solid #d9e0ea;padding:5px 3px;text-align:center}.teacher-recap-table .recap-no{width:28px;min-width:28px;max-width:28px}.teacher-recap-table .recap-name{width:92px;min-width:92px;max-width:92px;text-align:left;white-space:normal;overflow-wrap:anywhere;line-height:1.15}.teacher-recap-table .recap-meeting{width:30px;min-width:30px;max-width:30px}.teacher-recap-table .recap-total{width:34px;min-width:34px;max-width:34px}.recap-legend{margin-top:6px;line-height:1.3}@media(max-width:600px){.compact-latest-history h2,.teacher-student-recap h2{font-size:16px}.compact-latest-history table{font-size:9px}.compact-latest-history th,.compact-latest-history td{padding:4px 1px}.compact-latest-history th:first-child,.compact-latest-history td:first-child{width:30px}.compact-latest-history th:nth-child(2),.compact-latest-history td:nth-child(2){width:24px}.compact-latest-history th:nth-child(3),.compact-latest-history td:nth-child(3){width:32px}.compact-latest-history th:nth-child(4),.compact-latest-history td:nth-child(4){width:27px}.compact-latest-history th:nth-child(n+5):nth-child(-n+11),.compact-latest-history td:nth-child(n+5):nth-child(-n+11){width:20px}.compact-latest-history th:last-child,.compact-latest-history td:last-child{width:34px}.compact-latest-history button.small{font-size:9px;padding:3px 2px}.teacher-recap-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.teacher-recap-filters select{width:100%;min-width:0}.teacher-recap-table{font-size:10px}.teacher-recap-table .recap-name{width:82px;min-width:82px;max-width:82px}.teacher-recap-table .recap-meeting{width:27px;min-width:27px;max-width:27px}}.student-status{display:inline-flex;align-items:center;justify-content:center;min-width:24px;padding:3px 6px;border-radius:7px;font-weight:800;line-height:1.15}.student-status-hadir{background:#dcfce7;color:#166534;border:1px solid #86efac}.student-status-izin_di_pondok,.student-status-izin_di_rumah{background:#fef3c7;color:#92400e;border:1px solid #fcd34d}.student-status-sakit_di_uks,.student-status-sakit_di_rumah{background:#fce7f3;color:#9d174d;border:1px solid #f9a8d4}.student-status-alpa_di_rumah{background:#7f1d1d;color:#fff;border:1px solid #450a0a}.student-status-bolos{background:#ef4444;color:#fff;border:1px solid #dc2626}td.student-status{display:table-cell}td.student-status .student-attendance-status-select{font-weight:800;border-width:2px}td.student-status-hadir .student-attendance-status-select{background:#dcfce7;color:#166534;border-color:#86efac}td.student-status-izin_di_pondok .student-attendance-status-select,td.student-status-izin_di_rumah .student-attendance-status-select{background:#fef3c7;color:#92400e;border-color:#fcd34d}td.student-status-sakit_di_uks .student-attendance-status-select,td.student-status-sakit_di_rumah .student-attendance-status-select{background:#fce7f3;color:#9d174d;border-color:#f9a8d4}td.student-status-alpa_di_rumah .student-attendance-status-select{background:#7f1d1d;color:#fff;border-color:#450a0a}td.student-status-bolos .student-attendance-status-select{background:#ef4444;color:#fff;border-color:#dc2626}.mutation-action-row{display:grid;grid-template-columns:1fr 1fr;gap:10px;width:100%;max-width:620px}.mutation-action-row button{width:100%;white-space:normal}@media(max-width:640px){.mutation-action-row{grid-template-columns:1fr 1fr;gap:8px}.mutation-action-row button{font-size:12px;padding:11px 6px}}.teacher-master-table th:nth-child(13),.teacher-master-table td.teacher-institution{min-width:150px;width:180px;max-width:210px;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important;vertical-align:middle}.teacher-institution span{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden;line-height:1.3;max-height:3.9em;white-space:normal;word-break:normal;overflow-wrap:break-word}@media(max-width:900px){.teacher-master-table th:nth-child(13),.teacher-master-table td.teacher-institution{min-width:140px;width:160px;max-width:180px}.teacher-institution span{font-size:11px}}.global-back-button{position:fixed;left:288px;bottom:20px;z-index:80;display:inline-flex;align-items:center;gap:8px;width:auto;min-width:0;padding:10px 14px;border:1px solid rgba(15,47,87,.18);border-radius:999px;background:#fff;color:#0f2f57;box-shadow:0 6px 20px #0f2f572e;font-weight:800;font-size:13px}.global-back-button span:first-child{font-size:20px;line-height:1}.global-back-button:hover{transform:translateY(-1px);box-shadow:0 8px 24px #0f2f573d}@media(max-width:900px){.global-back-button{left:14px;bottom:16px;padding:10px 13px;font-size:12px;box-shadow:0 5px 18px #0f2f5738}}@media print{.global-back-button{display:none!important}}.role-login{min-height:100vh;position:relative;overflow-x:hidden;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding:28px 16px 20px;color:#fff;background:radial-gradient(circle at 50% 22%,#3198f4 0,#0b6bd2 34%,#0752aa 66%,#043b84)}.role-login:before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.14;background-image:linear-gradient(30deg,transparent 24%,#fff 25%,#fff 26%,transparent 27%,transparent 74%,#fff 75%,#fff 76%,transparent 77%);background-size:120px 70px}.role-login:after{content:"";position:absolute;left:-8%;right:-8%;bottom:-110px;height:260px;border:14px solid #ffd51f;border-radius:50%;pointer-events:none}.login-decoration{border-color:#ffd51f!important;opacity:.95}.login-decoration-one{top:-155px;right:-95px}.login-decoration-two{display:none}.login-identity{z-index:2;width:min(100%,760px)}.login-emblem{width:150px;height:150px;border:0;border-radius:0;background:transparent;box-shadow:none}.login-emblem img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 7px 10px #002a6b55)}.login-identity h1{font-size:clamp(3.6rem,10vw,5.7rem);font-weight:900;letter-spacing:.025em;margin:.25rem 0 .1rem;text-shadow:0 5px 14px #00326c66}.login-identity h2{font-size:clamp(1.15rem,4vw,1.8rem);font-weight:900;color:#ffe21f;margin:0}.login-identity p{font-size:clamp(1rem,3vw,1.25rem);color:#fff;margin:.35rem 0 1.15rem}.role-login-card{z-index:2;width:min(100%,710px);gap:14px;padding:28px;border-radius:28px;background:#fffffff4;border:1px solid #fff;box-shadow:0 20px 55px #002e7560}.role-login-card input{height:68px;border-radius:17px;background:#fbfcff;border:2px solid #d8e0ee;font-size:1.05rem}.role-login-card label>span{font-size:1.35rem}.login-submit{min-height:64px;border-radius:18px;background:linear-gradient(180deg,#ffe72a,#ffc800);color:#073572;font-size:1.25rem;font-weight:900;box-shadow:0 8px 20px #dca90055}.role-login-card>small{font-size:.9rem;color:#45638f}.public-student-search{position:relative;z-index:2;width:min(100%,710px);margin:20px auto 22px;padding:20px 24px;border:1px solid #fff;border-radius:22px;background:#fffffff5;box-shadow:0 15px 38px #002e7545}.public-student-search h3{font-size:1.35rem;color:#063e80}.public-search-row input{height:52px;border-radius:12px}.public-search-row button{min-width:92px;background:#0755ad;border-radius:12px}.role-login footer{z-index:2;color:#fff;margin-top:0;padding:0 0 10px}@media(max-width:640px){.role-login{padding:18px 12px 14px}.login-emblem{width:108px;height:108px}.login-identity h1{font-size:3.4rem;margin-top:.05rem}.login-identity h2{font-size:1.12rem}.login-identity p{font-size:.96rem;margin-bottom:.8rem}.role-login-card{padding:18px;border-radius:22px;gap:10px}.role-login-card input{height:56px}.login-submit{min-height:55px}.public-student-search{width:100%;margin:14px auto 18px;padding:16px;border-radius:18px}.public-search-row{grid-template-columns:1fr auto}.public-search-row button{width:auto}}.global-back-button{padding:6px 9px!important;gap:5px!important;font-size:11px!important;bottom:8px!important;opacity:.92}.global-back-button span:first-child{font-size:15px!important}@media(max-width:900px){.global-back-button{left:8px!important;bottom:8px!important;padding:6px 8px!important;font-size:10px!important;box-shadow:0 3px 10px #0f2f5729!important}.global-back-button span:first-child{font-size:14px!important}}.mini-schedule-card.is-substitute{background:#fef3c7;border-color:#f59e0b;color:#92400e}.teacher-attendance-legend .is-substitute{background:#f59e0b}.mini-schedule-card.is-substitute small:last-child{color:#92400e;font-size:.58rem;font-weight:900;text-transform:uppercase}.teacher-shortcuts.teacher-shortcuts-three{grid-template-columns:repeat(3,minmax(0,1fr))}.sleep-panel{padding:1rem;background:#fff;border:1px solid var(--border);border-radius:14px;margin:1rem 0}.sleep-panel select,.sleep-panel input:not([type=checkbox]){width:100%}.sleep-students{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.6rem;max-height:320px;overflow:auto;margin:1rem 0}.sleep-students label{display:flex;align-items:center;gap:.6rem;padding:.5rem;border:1px solid var(--border);border-radius:8px}.sleep-students input{width:auto}.sleep-history{padding:.75rem;border-bottom:1px solid var(--border)}.sleep-panel td button{margin:.2rem}.sleep-panel details{margin:1rem 0}@media(max-width:600px){.teacher-shortcuts-three button{display:flex;flex-direction:column;text-align:center;gap:.3rem}.teacher-shortcuts-three button strong{font-size:.75rem}}.role-login-card label.login-remember{display:flex;align-items:center;gap:10px;position:relative;width:100%;height:auto;min-height:44px;margin:4px 0;padding:8px 0;box-sizing:border-box}.role-login-card label.login-remember>span{position:static;left:auto;top:auto;transform:none;width:auto;min-width:0;flex:1;text-align:left;font-size:14px;line-height:1.5;white-space:normal}.role-login-card label.login-remember>input{appearance:auto;position:static;width:20px!important;height:20px!important;min-width:20px;flex:0 0 20px!important;padding:0!important;margin:0!important;box-shadow:none;accent-color:#1957a6}.teacher-shortcuts-four button{min-width:0!important;padding:10px 5px!important;overflow-wrap:anywhere!important}.teacher-shortcuts-four button strong{font-size:clamp(10px,1.1vw,15px)!important}.teacher-shortcuts-four button small{font-size:10px!important}@media(max-width:600px){.teacher-shortcuts.teacher-shortcuts-four{gap:4px!important}.teacher-shortcuts-four button{padding:8px 2px!important}.teacher-shortcuts-four button strong{font-size:10px!important}.teacher-shortcuts-four button small{font-size:9px!important}}.teacher-shortcuts.teacher-shortcuts-four{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important}.teacher-shortcuts-four button{display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;gap:6px!important;min-width:0!important;min-height:90px!important;padding:12px 4px!important;border:0!important;border-radius:13px!important;text-align:center!important}.teacher-shortcuts-four button:nth-child(1){background:#087df2!important;color:#fff!important}.teacher-shortcuts-four button:nth-child(2){background:#00a76a!important;color:#fff!important}.teacher-shortcuts-four button:nth-child(3){background:#ffcb18!important;color:#14213d!important}.teacher-shortcuts-four button:nth-child(4){background:#f42c50!important;color:#fff!important}.teacher-shortcuts-four button span{display:block!important;font-size:28px!important;line-height:1!important;background:none!important;color:inherit!important}.teacher-shortcuts-four button strong{display:block!important;font-size:clamp(10px,1.3vw,16px)!important;line-height:1.2!important;color:inherit!important}@media(max-width:600px){.teacher-shortcuts-four button{min-height:76px!important;padding:8px 2px!important}.teacher-shortcuts-four button span{font-size:23px!important}.teacher-shortcuts-four button strong{font-size:10px!important}}.teacher-shortcuts-four button{min-height:65px!important;padding:7px 4px!important;gap:3px!important}.teacher-shortcuts-four button span{font-size:23px!important}.teacher-shortcuts-four button strong{font-size:12px!important}.teacher-shortcuts-four button small{display:none!important}@media(max-width:600px){.teacher-shortcuts-four button{min-height:60px!important;padding:6px 2px!important}.teacher-shortcuts-four button span{font-size:21px!important}.teacher-shortcuts-four button strong{font-size:10px!important}}.teacher-shortcuts.teacher-shortcuts-four button{height:62px!important;min-height:62px!important;max-height:62px!important;aspect-ratio:auto!important;box-sizing:border-box!important;padding:4px 3px!important;gap:3px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important}.teacher-shortcuts.teacher-shortcuts-four button span{font-size:20px!important;line-height:1!important}.teacher-shortcuts.teacher-shortcuts-four button strong{font-size:12px!important;line-height:1.15!important;margin:0!important}.teacher-shortcuts.teacher-shortcuts-four button small{display:none!important}
