*{box-sizing:border-box}body{margin:0;background:#e9eff6;color:#172033;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer}.app-shell{min-height:100vh}.login-layout{display:grid;min-height:100vh;place-items:center;padding:48px clamp(24px,6vw,96px)}.session-loading{display:grid;min-height:100vh;place-items:center;padding:24px}.loading-card{display:flex;align-items:center;gap:12px;border:1px solid #d9e2ec;border-radius:8px;background:#fff;padding:18px 20px;color:#405062;box-shadow:0 18px 50px #1720331a}.eyebrow{margin:0 0 10px;color:#126c5d;font-size:13px;font-weight:800;letter-spacing:0;text-transform:uppercase}h1,h2,h3,p{margin-top:0}.status-dot{width:10px;height:10px;flex:0 0 auto;border-radius:50%;background:#0f9f7a}.login-card,.panel,.summary-grid article{border:1px solid #d9e2ec;border-radius:8px;background:#fff}.login-card{width:min(100%,420px);max-width:420px;padding:32px;box-shadow:0 24px 70px #1720331f}.form-heading{margin-bottom:28px}.form-heading h2{margin-bottom:8px;font-size:28px}.form-heading p,.topbar p:last-child,.summary-grid span,.table-heading span{color:#617082}form{display:grid;gap:12px}label,.form-label{color:#2b3645;font-size:14px;font-weight:700}input,select,textarea{width:100%;border:1px solid #cbd6e2;border-radius:6px;padding:0 12px;background:#fbfdff;color:#172033;outline:none}input,select{height:44px}textarea{min-height:76px;padding:10px 12px;resize:vertical}input[type=checkbox]{width:18px;height:18px}input:focus,select:focus,textarea:focus{border-color:#126c5d;box-shadow:0 0 0 3px #126c5d24}.inline-check{display:flex;align-items:center;gap:10px;min-height:34px}.error-message,.danger{color:#b42318}.error-message{margin:4px 0 0;font-size:14px}.primary-button,.secondary-button,.ghost-button,.demo-actions button,.nav-stack button,.row-actions button{min-height:40px;border-radius:6px;font-weight:800}.primary-button{border:0;background:#126c5d;color:#fff}.primary-button:disabled{cursor:wait;opacity:.7}.secondary-button,.ghost-button,.demo-actions button,.row-actions button{border:1px solid #cbd6e2;background:#fff;color:#172033}.ghost-button{padding:0 14px}.demo-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}.workspace{display:grid;min-height:100vh;grid-template-columns:260px minmax(0,1fr);align-items:start}.sidebar{position:sticky;top:0;height:100vh;overflow-y:auto;border-right:1px solid #d9e2ec;background:#fff;padding:20px}.sidebar-brand{display:flex;align-items:center;gap:12px;margin-bottom:28px}.sidebar-brand span{display:grid;width:42px;height:42px;place-items:center;border-radius:8px;background:#126c5d;color:#fff;font-weight:900}.sidebar-logo{width:42px;height:42px;flex:0 0 42px;border:1px solid #d9e2ec;border-radius:8px;background:#fff;object-fit:contain;padding:3px}.sidebar-brand strong,.sidebar-brand small{display:block}.sidebar-brand small{max-width:170px;color:#617082;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nav-stack{display:grid;gap:8px}.nav-stack button{border:0;background:transparent;color:#405062;padding:0 12px;text-align:left}.nav-stack button.active,.nav-stack button:hover{background:#e8f3f0;color:#126c5d}.nav-stack button.disabled{color:#8a97a8}.module-nav-heading{margin:12px 0 4px;border-top:1px solid #edf1f6;padding:14px 12px 4px}.module-nav-heading span,.module-nav-heading small{display:block}.module-nav-heading span{color:#172033;font-weight:900}.module-nav-heading small{margin-top:4px;color:#617082;font-size:12px}.content-shell{min-width:0;padding:0 clamp(18px,3vw,40px) 28px}.topbar,.module-header,.table-heading,.form-actions{display:flex;align-items:center;justify-content:space-between;gap:16px}.topbar{position:sticky;top:0;z-index:20;margin:0 calc(clamp(18px,3vw,40px)*-1) 18px;border-bottom:1px solid #d9e2ec;background:#e9eff6f5;padding:10px clamp(18px,3vw,40px);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.topbar h1{margin-bottom:2px;font-size:24px;line-height:1.15}.topbar .eyebrow{margin-bottom:4px}.topbar p:last-child{margin-bottom:0;font-size:14px}.summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.summary-grid article{min-height:118px;padding:20px}.summary-grid span{display:block;margin-bottom:12px;font-size:14px}.summary-grid strong{font-size:20px}.two-column-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:16px}.sub-panel{min-width:0;border:1px solid #e3eaf2;border-radius:8px;background:#fbfcfe;padding:16px}.table-heading.compact h3,.table-heading.spaced h3{font-size:18px}.table-heading.spaced{margin-top:22px}.compact-list,.document-list{display:grid;gap:10px}.compact-list button,.document-list article{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:12px;border:1px solid #d9e2ec;border-radius:8px;background:#fff;padding:12px 14px;text-align:left}.compact-list button:hover{border-color:#126c5d}.compact-list span,.document-list span{min-width:0}.compact-list strong,.compact-list small,.document-list strong,.document-list small{display:block}.compact-list small,.document-list small{margin-top:4px;color:#617082;font-size:12px}.document-list a{color:#126c5d;font-weight:900}.module-dashboard{display:grid;gap:18px}.module-dashboard-header{display:flex;align-items:flex-end;justify-content:space-between;gap:18px}.module-dashboard-header h2{margin-bottom:8px;font-size:32px}.module-dashboard-header p:last-child{color:#617082}.role-card{min-width:240px;border:1px solid #d9e2ec;border-radius:8px;background:#fff;padding:14px 16px}.role-card span,.role-card strong{display:block}.role-card span{margin-bottom:8px;color:#617082;font-size:13px}.module-card-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.module-card{position:relative;display:grid;min-width:0;min-height:104px;grid-template-columns:68px minmax(0,1fr);align-items:center;gap:16px;border:1px solid #d9e2ec;border-radius:8px;background:#fff;padding:16px;text-align:left;box-shadow:0 12px 28px #17203312;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease;overflow:hidden}.module-card:after{position:absolute;right:0;bottom:0;left:0;height:3px;background:var(--module-accent, #126c5d);content:""}.module-card:hover{border-color:color-mix(in srgb,var(--module-accent, #126c5d) 42%,#d9e2ec);box-shadow:0 16px 34px #1720331c;transform:translateY(-1px)}.module-card.disabled{background:#fbfcfe}.module-card-icon{display:grid;width:68px;height:68px;place-items:center;border-radius:8px;background:var(--module-soft, #e8f3f0);color:var(--module-accent, #126c5d)}.module-card-icon svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.module-card-copy{display:block;min-width:0}.module-card-copy strong,.module-card-copy small{display:block}.module-card-copy strong{max-width:100%;margin:0 0 12px;color:#172033;font-size:15px;line-height:1.25;overflow-wrap:normal;word-break:normal}.module-card-copy small{max-width:100%;color:var(--module-accent, #126c5d);font-size:12px;font-weight:800;overflow-wrap:normal;word-break:normal}.module-status{display:inline-flex;border-radius:999px;padding:4px 9px;font-size:12px;font-weight:900}.module-status.active{background:#e8f3f0;color:#126c5d}.module-status.coming_soon{background:#fff4d8;color:#8a5a00}.placeholder-panel{max-width:760px}.placeholder-panel p{margin-bottom:0;color:#617082;line-height:1.7}.module-header{margin-bottom:16px}.module-header h2{margin-bottom:0;font-size:28px}.module-grid{display:grid;grid-template-columns:360px minmax(0,1fr);gap:18px;align-items:start}.module-grid.student-grid{grid-template-columns:minmax(360px,460px) minmax(0,1fr)}.single-panel-layout{display:grid;gap:18px}.admission-panel{max-width:none}.admission-form-grid{display:grid;grid-template-columns:minmax(0,760px) minmax(300px,360px);gap:22px;align-items:start}.admission-main-fields,.admission-side-panel,.admission-side-card{display:grid;gap:10px}.admission-side-panel{position:sticky;top:18px}.admission-side-card{border:1px solid #dbe5ef;border-radius:8px;padding:14px;background:#fbfdff}.student-photo-uploader{display:grid;gap:10px}.student-photo-preview.large{display:grid;place-items:center;width:150px;aspect-ratio:3 / 4;overflow:hidden;border:1px dashed #b8c6d8;border-radius:8px;background:#f4f8fc;color:#617082;font-weight:800}.student-photo-preview.large img{width:100%;height:100%;object-fit:cover}.student-photo-preview.large.employee-signature-preview{width:220px;max-width:100%;aspect-ratio:11 / 4;background:#fff}.student-photo-preview.large.employee-signature-preview img{object-fit:contain;padding:8px}.module-grid.employee-grid{grid-template-columns:minmax(380px,480px) minmax(0,1fr)}.account-voucher-grid{grid-template-columns:minmax(460px,540px) minmax(0,1fr);gap:18px}.account-voucher-form-panel,.account-voucher-form-panel .entity-form{min-width:0}.class-subject-panel,.class-section-panel{margin-top:18px}.class-subject-panel form{max-width:none}.class-subject-panel select{max-width:460px}.subject-assignment-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.subject-assignment-option{display:flex;min-width:0;align-items:flex-start;gap:10px;border:1px solid #d9e2ec;border-radius:6px;padding:12px;background:#fbfdff;cursor:pointer}.subject-assignment-option:has(input:checked){border-color:#126c5d;background:#eefaf5}.subject-assignment-option input{width:17px;height:17px;margin:2px 0 0;accent-color:#126c5d}.subject-assignment-option span{min-width:0}.subject-assignment-option strong,.subject-assignment-option small{display:block;overflow-wrap:anywhere}.subject-assignment-option small{margin-top:4px;color:#617082;text-transform:capitalize}.inline-add-control{display:grid;grid-template-columns:minmax(0,1fr) 42px;gap:8px;align-items:center}.inline-add-control select{min-width:0}.icon-button{width:42px;min-height:42px;border:1px solid #c8d6e5;border-radius:6px;background:#f8fbff;color:#126c5d;font-size:22px;font-weight:900;line-height:1;cursor:pointer}.icon-button:hover{border-color:#126c5d;background:#eefaf5}.inline-add-panel{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;margin-top:8px}.inline-add-panel input{min-width:0}.subject-chip-list{display:flex;flex-wrap:wrap;gap:5px}.subject-chip-list span{border-radius:999px;padding:3px 8px;background:#e8f3f0;color:#126c5d;font-size:12px;font-weight:800}.subject-chip-list.compact{min-width:150px;max-width:300px}.muted-text{color:#7a8797;font-size:13px}.attendance-panel,.fee-school-filter{margin-bottom:18px}.fee-school-filter>div{display:grid;max-width:420px;gap:8px}.fee-full-width{grid-column:1 / -1}.exam-school-filter{margin-bottom:18px}.exam-school-filter>div{display:grid;max-width:420px;gap:8px}.exam-grid{grid-template-columns:minmax(340px,420px) minmax(0,1fr)}.exam-full-width{grid-column:1 / -1}.exam-subject-band{margin-top:18px;border-top:1px solid #d9e2ec;padding-top:18px}.exam-context-header,.schedule-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:16px}.exam-context-header h3,.schedule-heading h3{margin:0 0 5px}.exam-context-header span,.schedule-heading span{color:#617082;font-size:13px}.exam-subject-grid{display:grid;grid-template-columns:minmax(340px,440px) minmax(0,1fr);align-items:start;gap:18px}.marks-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.marks-grid>div{display:grid;gap:8px}.marks-grid input:disabled{background:#eef3f7;color:#126c5d;font-weight:900}.schedule-filters{display:grid;grid-template-columns:minmax(220px,1fr) minmax(220px,1fr) auto;align-items:end;gap:14px;margin-bottom:18px}.schedule-filters>div{display:grid;gap:8px}.schedule-filters button{min-height:44px;padding:0 18px}.marks-entry-filters{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr)) auto;align-items:end;gap:12px;margin-bottom:18px}.marks-entry-filters>div{display:grid;gap:8px}.marks-entry-filters button{min-height:44px;padding:0 18px}.marks-context{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:16px;border-left:4px solid #126c5d;padding:14px 16px;background:#eefaf5}.marks-context h3{margin:0 0 5px}.marks-context span{color:#526273;font-size:13px}.marks-limits{display:grid;grid-template-columns:repeat(4,auto);gap:8px}.marks-limits span{border:1px solid #c8ddd7;border-radius:6px;padding:7px 10px;background:#fff;white-space:nowrap}.marks-limits strong{margin-left:5px;color:#172033}.marks-summary-grid{margin-bottom:18px}.marks-entry-panel{min-width:0}.marks-entry-table{min-width:1050px}.marks-entry-table input[type=number]{width:105px}.marks-entry-table input[type=text]{min-width:160px}.marks-entry-table .changed-row{background:#fff9e8}.status-badge.pass{background:#e8f3f0;color:#126c5d}.status-badge.fail,.status-badge.absent{background:#fff0ee;color:#b42318}.status-badge.unmarked{background:#eef2f7;color:#526273}.status-badge.incomplete{background:#fff4d8;color:#8a5a00}.notice.info{background:#eef4ff;color:#3156a3}.grade-setup-grid{grid-template-columns:minmax(320px,420px) minmax(0,1fr)}.grade-chip{display:inline-grid;min-width:42px;min-height:30px;place-items:center;border:1px solid #c8ddd7;border-radius:6px;background:#eefaf5;color:#126c5d;font-weight:900}.result-filters{display:grid;grid-template-columns:repeat(3,minmax(170px,1fr)) auto auto;align-items:end;gap:12px;margin-bottom:16px}.result-filters>div,.report-card-filters>div{display:grid;gap:8px}.result-filters button,.report-card-filters button{min-height:44px;padding:0 16px}.publish-result-button{border-color:#3156a3;color:#3156a3}.result-status-line{display:flex;align-items:center;gap:10px;margin-bottom:16px;color:#526273;font-size:13px;font-weight:800}.result-summary-grid{margin-bottom:18px}.result-summary-grid article:nth-child(2) strong{color:#126c5d}.result-summary-grid article:nth-child(3) strong,.result-summary-grid article:nth-child(4) strong{color:#b42318}.result-sheet-panel{min-width:0}.result-table{min-width:1050px}.report-card-filters{display:grid;grid-template-columns:repeat(3,minmax(150px,1fr)) auto minmax(230px,1.2fr) auto;align-items:end;gap:12px;margin-bottom:18px}.printable-report-card{min-width:0}.report-card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;border-bottom:2px solid #172033;padding-bottom:16px}.report-card-header h3{margin:0 0 4px;font-size:24px}.report-card-header span{color:#526273}.report-card-title{display:grid;place-items:center;gap:4px;padding:18px 0;text-align:center}.report-card-title strong{font-size:20px}.report-card-title span{color:#526273}.report-student-details{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;margin:0 0 18px;overflow:hidden;border:1px solid #d9e2ec;border-radius:6px;background:#d9e2ec}.report-student-details div{padding:10px 12px;background:#fff}.report-student-details dt{color:#617082;font-size:12px;font-weight:800}.report-student-details dd{margin:4px 0 0;font-weight:800}.report-subject-table{min-width:760px}.report-result-summary{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:1px;margin-top:18px;overflow:hidden;border:1px solid #c8ddd7;border-radius:6px;background:#c8ddd7}.report-result-summary div{display:grid;gap:5px;padding:11px;background:#eefaf5;text-align:center}.report-result-summary span{color:#526273;font-size:11px;font-weight:800}.report-result-summary strong{color:#126c5d}.report-signatures{display:grid;grid-template-columns:repeat(3,1fr);gap:60px;margin-top:70px;text-align:center}.report-signatures span{border-top:1px solid #405062;padding-top:8px;font-size:12px;font-weight:800}.header-actions{display:flex;gap:10px}.report-school-filter{margin-bottom:18px}.report-school-filter>div{display:grid;max-width:420px;gap:8px}.report-filters{display:grid;grid-template-columns:repeat(4,minmax(145px,1fr)) auto;align-items:end;gap:12px;margin-bottom:18px}.report-filters.fee-report-filters{grid-template-columns:repeat(5,minmax(130px,1fr)) auto}.report-filters>div{display:grid;gap:8px}.report-filters button{min-height:44px;padding:0 16px}.printable-report{min-width:0}.report-document-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px;border-bottom:2px solid #172033;padding-bottom:16px}.report-document-header h3{margin:0 0 5px;font-size:24px}.report-document-header span{color:#617082}.report-document-header>strong{border:1px solid #c8ddd7;border-radius:6px;padding:9px 12px;background:#eefaf5;color:#126c5d;white-space:nowrap}.report-summary-grid{margin-bottom:20px}.report-summary-grid article{min-height:96px;border:1px solid #d9e2ec;border-radius:8px;background:#fbfdff}.fee-report-summary article:nth-child(2) strong{color:#126c5d}.fee-report-summary article:nth-child(3) strong,.fee-report-summary article:nth-child(4) strong{color:#b42318}.report-section-heading{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:24px 0 10px;border-bottom:1px solid #d9e2ec;padding-bottom:9px}.report-section-heading h3{margin:0 0 3px}.report-section-heading span{color:#617082;font-size:13px}.report-table{min-width:920px}.result-report-table{min-width:980px}.printable-schedule{min-width:0}.schedule-heading strong,.schedule-heading span{display:block}.schedule-heading strong{margin:9px 0 4px;color:#126c5d;font-size:18px}.status-badge.draft{background:#eef2f7;color:#405062}.status-badge.published{background:#e8f3f0;color:#126c5d}.status-badge.completed{background:#e9efff;color:#3156a3}.fee-collection-workspace{display:grid;gap:18px}.fee-collection-redesign{color:#172033}.fee-student-hero{display:grid;grid-template-columns:auto minmax(220px,1fr) minmax(0,2.4fr);align-items:center;gap:18px}.fee-student-avatar{display:grid;width:76px;height:76px;place-items:center;border-radius:50%;background:#efe7ff;color:#5b3dad;font-size:24px;font-weight:900}.fee-student-hero h3{margin:3px 0;font-size:24px}.fee-student-hero>div span{color:#617082}.fee-student-hero dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;margin:0;background:#e6edf5}.fee-student-hero dl div{min-width:0;padding:12px;background:#fff}.fee-student-hero dt,.fee-month-detail-card span{color:#617082;font-size:12px;font-weight:800;text-transform:uppercase}.fee-student-hero dd{margin:6px 0 0;overflow-wrap:anywhere;font-weight:900}.fee-dashboard-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.fee-dashboard-cards article{display:grid;min-height:104px;align-content:center;gap:8px;border:1px solid #d9e2ec;border-radius:8px;padding:18px;background:#fff;box-shadow:0 10px 28px #0f172a0a}.fee-dashboard-cards span,.fee-dashboard-cards article>span{color:#526070;font-size:13px;font-weight:800}.fee-dashboard-cards strong{font-size:22px}.monthly-fee-status-panel{overflow:hidden}.fee-status-legend{display:flex;align-items:center;gap:18px;color:#526070;font-size:13px;font-weight:800}.fee-status-legend span{display:inline-flex;align-items:center;gap:7px}.fee-status-legend i{display:inline-block;width:11px;height:11px;border-radius:999px}.fee-status-legend .paid{background:#126c5d}.fee-status-legend .partial{background:#f59e0b}.fee-status-legend .unpaid{background:#e73f5b}.fee-month-strip{display:grid;grid-template-columns:repeat(12,minmax(82px,1fr));gap:10px;overflow-x:auto;padding:4px 0 10px}.fee-month-card{display:grid;position:relative;min-height:118px;place-items:center;gap:8px;border:1px solid #d9e2ec;border-radius:8px;padding:12px;background:#fff;color:#172033;cursor:pointer}.fee-month-card input{position:absolute;top:8px;left:8px;width:16px;height:16px;accent-color:#126c5d}.fee-month-card span{display:grid;width:30px;height:30px;place-items:center;border-radius:999px;font-weight:900}.fee-month-card small{font-weight:900}.fee-month-card.paid span{background:#126c5d;color:#fff}.fee-month-card.paid small{color:#126c5d}.fee-month-card.partial span{background:#f59e0b;color:#fff}.fee-month-card.partial small{color:#8a5a00}.fee-month-card.unpaid span{background:#e73f5b;color:#fff}.fee-month-card.unpaid small{color:#b42318}.fee-month-card.active{border-color:#e73f5b;box-shadow:inset 0 -4px #e73f5b}.fee-month-card.selected{border-color:#126c5d;box-shadow:inset 0 -4px #126c5d,0 12px 26px #126c5d1f}.fee-month-card.disabled{cursor:not-allowed;opacity:.72}.selected-month-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) auto;align-items:center;gap:10px;border-top:1px solid #edf1f6;padding-top:14px}.selected-month-summary span{display:grid;gap:4px;color:#617082;font-size:12px;font-weight:800;text-transform:uppercase}.selected-month-summary strong{color:#172033;font-size:16px}.fee-summary-grid article{border:1px solid #d9e2ec;border-radius:8px;background:#fff}.fee-summary-grid small{display:block;margin-top:8px;color:#b42318;font-weight:800}.fee-collection-grid{display:grid;grid-template-columns:minmax(360px,460px) minmax(0,1fr);align-items:start;gap:18px}.fee-collection-grid.redesigned{grid-template-columns:minmax(420px,.95fr) minmax(420px,1.05fr)}.fee-invoice-panel,.fee-side-stack{min-width:0}.fee-side-stack{display:grid;gap:18px}.student-context{display:flex;justify-content:space-between;gap:12px;border-left:3px solid #126c5d;padding:9px 10px;background:#eefaf5;color:#405062;font-size:13px}.student-context strong{color:#172033}.student-context.polished{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center}.fee-month-detail-card{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;overflow:hidden;border:1px solid #d9e2ec;border-radius:8px;background:#d9e2ec}.fee-month-detail-card div{min-width:0;padding:13px;background:#fbfdff}.fee-month-detail-card strong{display:block;margin-top:6px;color:#172033}.fee-item-table{display:grid;overflow:hidden;border:1px solid #d9e2ec;border-radius:8px}.fee-item-table label{display:grid;grid-template-columns:22px minmax(0,1fr) minmax(88px,auto) minmax(92px,auto);align-items:center;gap:10px;border-bottom:1px solid #edf1f6;padding:11px 12px;background:#fff}.fee-item-table label:last-child{border-bottom:0}.fee-item-table span strong,.fee-item-table span small{display:block}.fee-item-table span small{margin-top:3px;color:#617082}.fee-item-table em{color:#526070;font-size:12px;font-style:normal;font-weight:800;text-transform:capitalize}.fee-item-table b{text-align:right}.fee-item-selector{display:grid;gap:8px}.fee-item-selector label{display:grid;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:10px;border:1px solid #d9e2ec;border-radius:6px;padding:10px;background:#fbfdff;cursor:pointer}.fee-item-selector span strong,.fee-item-selector span small{display:block}.fee-item-selector span small{margin-top:3px;color:#617082;font-weight:500}.fee-item-selector b{color:#126c5d;font-size:13px}.invoice-preview,.receipt-balance{display:flex;justify-content:space-between;gap:16px;border-top:1px solid #d9e2ec;border-bottom:1px solid #d9e2ec;padding:12px 0}.invoice-preview span,.receipt-balance span{color:#617082;font-size:13px}.invoice-preview strong,.receipt-balance strong{display:block;margin-top:5px;color:#172033;font-size:17px}.receipt-invoice-table{margin-top:16px}.invoice-preview.polished{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;overflow:hidden;border:1px solid #d9e2ec;border-radius:8px;padding:0;background:#d9e2ec}.invoice-preview.polished span{padding:12px;background:#fbfdff}.invoice-preview.polished span:last-child strong{color:#e11d48;font-size:20px}.multi-month-payment-box{display:grid;gap:12px;border:1px solid #d9e2ec;border-radius:8px;padding:14px;background:#f8fbff}.multi-month-payment-box>div:first-child{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 14px}.multi-month-payment-box strong{color:#172033}.multi-month-payment-box span{color:#526070;font-weight:800}.fee-form-actions{grid-template-columns:repeat(5,minmax(0,1fr))}.compact-table th,.compact-table td{padding:10px;font-size:13px}.info-strip{margin-top:12px;border:1px solid #bfdbfe;border-radius:6px;padding:10px 12px;background:#eff6ff;color:#1d4ed8;font-size:13px;font-weight:800}.voucher-lines{display:grid;gap:10px}.voucher-line-row{display:grid;grid-template-columns:minmax(170px,1.45fr) minmax(105px,.75fr) minmax(96px,.7fr) auto;align-items:center;gap:10px;min-width:0;border:1px solid #d9e2ec;border-radius:8px;padding:10px;background:#fbfdff}.voucher-line-row select,.voucher-line-row input{min-width:0}.voucher-line-row button{min-height:38px;padding:0 8px;white-space:nowrap}.report-inline-filters{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.report-inline-filters input,.report-inline-filters select{min-width:150px}.report-inline-filters.wide-filters{justify-content:flex-start;margin-bottom:16px}.report-inline-filters.wide-filters input,.report-inline-filters.wide-filters select{flex:1;min-width:170px}.invoice-detail-grid,.receipt-details{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;margin:18px 0;background:#dfe7ef}.invoice-detail-grid div,.receipt-details div{min-width:0;padding:12px;background:#fbfdff}.invoice-detail-grid dt,.receipt-details dt{margin-bottom:6px;color:#617082;font-size:12px;font-weight:800;text-transform:uppercase}.invoice-detail-grid dd,.receipt-details dd{margin:0;overflow-wrap:anywhere;font-weight:800}.payment-form{margin-top:20px}.payment-history{margin-top:22px}.payment-history h4{margin-bottom:10px}.payment-history>button{display:flex;width:100%;min-height:54px;align-items:center;justify-content:space-between;gap:12px;margin-top:8px;border:1px solid #d9e2ec;border-radius:6px;padding:9px 11px;background:#fff;color:#172033;text-align:left}.payment-history span strong,.payment-history span small{display:block}.payment-history span small{margin-top:4px;color:#617082}.compact-select{width:180px}.selected-row{background:#eefaf5}.status-badge.unpaid,.status-badge.overdue{background:#fff0ee;color:#b42318}.status-badge.paid{background:#e8f3f0;color:#126c5d}.receipt-panel{max-width:920px}.receipt-header,.receipt-actions{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.receipt-header h3{margin-bottom:6px;font-size:24px}.receipt-header span{color:#617082;font-weight:800}.receipt-actions button{min-height:40px;padding:0 14px}.attendance-filters{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));align-items:end;gap:12px}.attendance-filters>div{display:grid;gap:8px}.attendance-load-button{min-height:44px;padding:0 18px}.attendance-actions{display:flex;align-items:center;gap:8px}.attendance-actions button{min-height:38px;border:1px solid #cbd6e2;border-radius:6px;padding:0 12px;background:#fff;color:#172033;font-weight:800}.attendance-actions .primary-button{border-color:#126c5d;background:#126c5d;color:#fff}.attendance-status-radios{display:flex;min-width:350px;flex-wrap:wrap;gap:8px}.attendance-status-option{display:inline-flex;align-items:center;gap:6px;min-height:34px;border:1px solid #d9e2ec;border-radius:999px;background:#fbfdff;padding:0 10px;color:#405062;font-size:13px;font-weight:800;cursor:pointer;white-space:nowrap}.attendance-status-option input{width:15px;height:15px;margin:0;accent-color:#126c5d}.attendance-status-option.selected{border-color:#126c5d;background:#eefaf5;color:#126c5d}.attendance-status-option.status-absent.selected{border-color:#b42318;background:#fff0ee;color:#b42318}.attendance-status-option.status-late.selected,.attendance-status-option.status-leave.selected{border-color:#d99a00;background:#fff8df;color:#8a5a00}.attendance-status-option.disabled{cursor:not-allowed;opacity:.65}.monthly-summary-panel{overflow:hidden}.attendance-summary-cards{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));gap:12px;margin:18px 0}.attendance-summary-card{display:grid;grid-template-columns:34px minmax(0,1fr);grid-template-areas:"icon label" "icon value";align-items:center;gap:3px 10px;min-height:82px;border:1px solid #d9e2ec;border-radius:8px;background:#fbfdff;padding:14px}.attendance-summary-card.is-active{border-color:var(--attendance-accent-border);background:var(--attendance-accent-soft)}.attendance-summary-card.is-empty{grid-template-columns:1fr;grid-template-areas:"label";align-content:center}.attendance-summary-card .attendance-icon{grid-area:icon;width:34px;height:34px}.attendance-summary-card span:not(.attendance-icon){grid-area:label;color:#526070;font-size:12px;font-weight:900;text-transform:uppercase}.attendance-summary-card strong{grid-area:value;color:#172033;font-size:24px;line-height:1}.attendance-summary-wrap{border:1px solid #e1e8f0;border-radius:8px;background:#fff}.attendance-summary-table{min-width:840px}.attendance-summary-table thead th{background:#f7fafc}.attendance-summary-table tbody tr:hover{background:#fbfdff}.attendance-summary-table tfoot td{border-top:1px solid #d9e2ec;background:#f7fafc;font-weight:900}.attendance-summary-total-row td:first-child{color:#172033}.attendance-table-heading,.attendance-count-pill{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}.attendance-count-pill{min-width:62px;min-height:30px;justify-content:center;border-radius:999px;background:#eef2f7;color:#526070;padding:6px 9px;font-weight:900}.attendance-total-pill{display:inline-flex;min-width:46px;justify-content:center;border-radius:999px;background:#eef2f7;padding:6px 10px}.attendance-comment-cell{max-width:320px;color:#526070;font-size:13px;line-height:1.45;white-space:normal}.attendance-icon{position:relative;display:inline-block;width:18px;height:18px;flex:0 0 auto;border-radius:50%;background:#eef2f7}.attendance-count-pill .attendance-icon{background:#e2e8f0}.icon-present:before{position:absolute;top:45%;left:50%;width:42%;height:22%;border-bottom:2px solid var(--attendance-icon-color, #6b7786);border-left:2px solid var(--attendance-icon-color, #6b7786);content:"";transform:translate(-50%,-58%) rotate(-45deg)}.icon-absent:before,.icon-absent:after{position:absolute;top:50%;left:50%;width:48%;height:2px;border-radius:999px;background:var(--attendance-icon-color, #6b7786);content:""}.icon-absent:before{transform:translate(-50%,-50%) rotate(45deg)}.icon-absent:after{transform:translate(-50%,-50%) rotate(-45deg)}.icon-late{border:2px solid var(--attendance-icon-color, #6b7786);background:#eef2f7}.icon-late:before{position:absolute;top:25%;left:50%;width:2px;height:28%;border-radius:999px;background:var(--attendance-icon-mark, #526070);content:"";transform:translate(-50%)}.icon-late:after{position:absolute;top:49%;left:50%;width:28%;height:2px;border-radius:999px;background:var(--attendance-icon-mark, #526070);content:""}.icon-leave{border-radius:5px}.icon-leave:before{position:absolute;top:25%;left:22%;width:56%;height:2px;border-radius:999px;background:var(--attendance-icon-color, #6b7786);content:""}.icon-leave:after{position:absolute;top:49%;left:28%;width:44%;height:28%;border-top:2px solid var(--attendance-icon-color, #6b7786);border-bottom:2px solid var(--attendance-icon-color, #6b7786);content:""}.icon-total{background:#eef2f7}.icon-total:before,.icon-total:after{position:absolute;left:27%;width:46%;height:2px;border-radius:999px;background:#526070;content:""}.icon-total:before{top:38%}.icon-total:after{top:58%}.metric-present{--attendance-accent: #126c5d;--attendance-accent-soft: #e8f3f0;--attendance-accent-border: #c7e3dc}.metric-absent{--attendance-accent: #b42318;--attendance-accent-soft: #fff0ee;--attendance-accent-border: #ffd1cc}.metric-late{--attendance-accent: #8a5a00;--attendance-accent-soft: #fff8df;--attendance-accent-border: #f1d27a}.metric-leave{--attendance-accent: #3156a3;--attendance-accent-soft: #edf2ff;--attendance-accent-border: #cddcff}.metric-total{--attendance-accent: #526070;--attendance-accent-soft: #eef2f7;--attendance-accent-border: #d9e2ec}.attendance-summary-card.is-active,.attendance-count-pill.is-active{color:var(--attendance-accent)}.metric-present.is-active .attendance-icon{--attendance-icon-bg: #e8f3f0;--attendance-icon-color: #126c5d}.metric-absent.is-active .attendance-icon{--attendance-icon-bg: #fff0ee;--attendance-icon-color: #b42318}.metric-late.is-active .attendance-icon{--attendance-icon-bg: #fff8df;--attendance-icon-color: #d99a00;--attendance-icon-mark: #8a5a00}.metric-leave.is-active .attendance-icon{--attendance-icon-bg: #edf2ff;--attendance-icon-color: #3156a3}.attendance-summary-card.is-active .attendance-icon,.attendance-count-pill.is-active .attendance-icon{background:var(--attendance-icon-bg, var(--attendance-accent-soft))}.attendance-count-pill.is-active{background:var(--attendance-accent-soft)}.connector-token-panel{display:grid;grid-template-columns:minmax(220px,1fr) minmax(260px,2fr) auto auto;align-items:center;gap:12px;margin-bottom:18px;border:1px solid #e0c878;border-radius:6px;padding:14px;background:#fff9e8}.connector-token-panel p{margin:4px 0 0;color:#6f5b17;font-size:13px}.connector-token-panel code{overflow:auto;border:1px solid #ded3a8;border-radius:4px;padding:10px;background:#fff;color:#172033}.connector-token-panel button,.device-list button,.machine-tabs button,.mapping-form button,.machine-workspace td button{min-height:38px;border:1px solid #cbd6e2;border-radius:6px;padding:0 12px;background:#fff;color:#172033;font-weight:800}.machine-layout{display:grid;grid-template-columns:minmax(340px,430px) minmax(0,1fr);align-items:start;gap:18px}.machine-device-panel,.machine-workspace{min-width:0}.device-list{display:grid;gap:8px;margin-top:18px}.device-list button{display:grid;grid-template-columns:10px minmax(0,1fr) auto;align-items:center;gap:10px;height:auto;padding:12px;text-align:left}.device-list button.active{border-color:#126c5d;background:#eefaf5}.device-list strong,.device-list small{display:block}.device-list small{margin-top:3px;color:#617082}.status-dot.online{background:#16866f}.status-dot.offline{background:#d79b18}.status-dot.inactive{background:#8b98a8}.machine-device-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}.machine-device-header h3{margin-bottom:6px}.machine-device-header p{color:#617082;font-size:13px}.machine-tabs{display:flex;gap:6px;margin-bottom:18px;border-bottom:1px solid #dfe7ef;padding-bottom:10px}.machine-tabs button.active{border-color:#126c5d;background:#126c5d;color:#fff}.machine-overview dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;margin:0 0 18px;background:#dfe7ef}.machine-overview dl div{min-width:0;padding:14px;background:#fff}.machine-overview dt{margin-bottom:5px;color:#617082;font-size:12px;font-weight:800;text-transform:uppercase}.machine-overview dd{margin:0;overflow-wrap:anywhere;font-weight:800}.mapping-form{display:grid;grid-template-columns:1fr 150px minmax(220px,1.5fr) auto;align-items:end;margin-bottom:22px}.machine-workspace h4{margin:22px 0 10px}.empty-state.compact{min-height:90px}.status-badge.processed,.status-badge.success{background:#e8f3f0;color:#126c5d}.status-badge.unmatched,.status-badge.partial{background:#fff4d8;color:#8a5a00}.status-badge.failed{background:#fff0ee;color:#b42318}.result-card{display:grid;gap:8px;margin-top:12px;padding:12px;border:1px solid #d7e3ee;border-radius:8px;background:#f8fbfd}.result-card.compact{min-height:auto}.result-card p{margin:0;color:#42566c;overflow-wrap:anywhere}.checkbox-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.action-row{display:flex;gap:10px}.action-row button{flex:1}.panel{padding:20px}.panel h3{margin-bottom:18px;font-size:18px}.modal-backdrop{position:fixed;z-index:60;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:20px;background:#17203375}.collect-payment-modal{width:min(100%,460px);box-shadow:0 24px 70px #1720333d}.collect-payment-modal .table-heading{margin-bottom:18px}.collect-payment-modal input[readonly]{background:#f4f8fb;color:#172033;font-weight:900}.invoice-details-modal{width:min(100%,940px);max-height:calc(100vh - 40px);overflow-y:auto;box-shadow:0 24px 70px #1720333d}.invoice-details-actions{display:flex;gap:8px}.invoice-details-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:18px}.invoice-details-summary article{border:1px solid #d9e2ec;border-radius:8px;padding:14px;background:#f8fbff}.invoice-details-summary span,.invoice-details-receipts h4{color:#617082;font-size:12px;font-weight:800;text-transform:uppercase}.invoice-details-summary strong{display:block;margin-top:6px;font-size:18px}.invoice-details-receipts{margin-top:18px}.invoice-details-receipts h4{margin-bottom:10px}.entity-form{gap:10px}.form-section-title{margin-top:8px;border-top:1px solid #edf1f6;padding-top:14px;color:#126c5d;font-size:13px;font-weight:900;text-transform:uppercase}.split-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.split-fields>div{display:grid;gap:8px}.field-hint{color:#64748b;display:block;font-size:12px;margin-top:-2px}.field-error{display:block;color:#b42318;font-size:12px;font-weight:800}select[multiple]{min-height:160px;padding:8px}.inline-warning{border:1px solid #f2d28a;border-radius:6px;background:#fff8e6;color:#7a5200;padding:10px 12px;font-size:13px;font-weight:700}.form-actions{margin-top:8px;justify-content:flex-start}.form-actions button{min-width:110px}.notice{margin-bottom:14px;border-radius:6px;padding:12px 14px;font-weight:700}.notice.success{border:1px solid #bfe4d7;background:#eefaf5;color:#126c5d}.notice.danger{border:1px solid #f4c7c3;background:#fff4f2}.table-panel{min-width:0}.table-wrap{overflow-x:auto}.bulk-promotion-field-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.bulk-promotion-field-grid>div{min-width:0}.bulk-promotion-filter-actions{display:flex;justify-content:flex-start;margin-top:-2px}.bulk-promotion-table th:first-child,.bulk-promotion-table td:first-child{width:48px;text-align:center}.bulk-roll-input{width:min(100%,160px)}.muted-row{opacity:.58}table{width:100%;border-collapse:collapse}th,td{border-bottom:1px solid #edf1f6;padding:12px 10px;text-align:left;vertical-align:middle}th{color:#526070;font-size:13px;text-transform:uppercase}td strong,td small{display:block}.student-list-profile{display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:10px;min-width:210px}.student-list-profile strong,.student-list-profile small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.student-list-photo{display:grid;width:42px;height:42px;place-items:center;overflow:hidden;border:1px solid #d9e2ec;border-radius:8px;background:#eefaf5;color:#126c5d;font-size:16px;font-weight:900}.student-list-photo img{width:100%;height:100%;object-fit:cover}.student-detail-panel{overflow:visible}.student-detail-layout{display:grid;grid-template-columns:minmax(220px,.7fr) minmax(300px,1fr);gap:14px}.student-detail-card{border:1px solid #d9e2ec;border-radius:8px;background:#fff;padding:16px}.student-detail-card h3{margin:0 0 12px}.student-detail-card.profile-card{display:grid;align-content:start;justify-items:center;text-align:center}.student-detail-card.profile-card p{margin:0 0 10px;color:#617082;font-weight:800}.student-detail-photo{display:grid;width:150px;height:150px;place-items:center;overflow:hidden;border:1px solid #d9e2ec;border-radius:8px;background:#eefaf5;color:#126c5d;font-size:54px;font-weight:900}.student-detail-photo img{width:100%;height:100%;object-fit:cover}.detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0}.detail-grid div{min-width:0}.detail-grid dt{color:#617082;font-size:12px;font-weight:800;text-transform:uppercase}.detail-grid dd{margin:2px 0 0;overflow-wrap:anywhere;font-weight:800}.employee-detail-signature{display:grid;min-height:96px;place-items:center;border:1px dashed #cbd6e2;border-radius:8px;background:#fbfdff;color:#617082;font-weight:800}.employee-detail-signature img{max-width:100%;max-height:120px;object-fit:contain;padding:10px}.subject-pill-list{display:flex;flex-wrap:wrap;gap:8px}.subject-pill-list span{border-radius:999px;background:#e8f3f0;color:#126c5d;padding:7px 10px;font-size:13px;font-weight:800}.pill{width:fit-content;margin-top:6px;border-radius:999px;background:#e8f3f0;color:#126c5d;padding:3px 8px;font-size:12px}.status-badge{display:inline-block;border-radius:999px;padding:4px 9px;background:#eef2f7;color:#405062;font-size:12px;font-weight:800;text-transform:capitalize}.status-badge.active,.status-badge.verified{background:#e8f3f0;color:#126c5d}.status-badge.pending,.status-badge.inactive{background:#fff4d8;color:#8a5a00}.row-actions{display:flex;gap:8px;white-space:nowrap}.row-actions button{min-height:34px;padding:0 10px}.pagination-bar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:14px;color:#526070;font-size:14px;font-weight:700}.pagination-actions{display:flex;align-items:center;gap:10px}.pagination-actions strong{color:#172033;white-space:nowrap}.pagination-actions button:disabled{cursor:not-allowed;opacity:.55}.danger-text{color:#b42318!important}.teacher-workspace,.teacher-profile-sections{display:grid;gap:16px}.teacher-hero,.teacher-profile-header,.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.teacher-hero h3,.teacher-profile-header h3,.section-heading h3{margin:0}.teacher-hero p:last-child,.teacher-profile-header p{margin:4px 0 0;color:#526070}.module-stats-grid,.teacher-action-grid,.teacher-subject-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.stat-card,.teacher-subject-card{min-height:112px;border:1px solid #d9e2ec;border-radius:8px;background:#fff;padding:18px}.stat-card span,.teacher-subject-card span,.teacher-subject-card small{display:block;color:#526070}.stat-card strong{display:block;margin-top:12px;color:#001333;font-size:22px}.teacher-action-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.teacher-action-grid button{min-height:48px;justify-content:flex-start;border:1px solid #cbd6e2;background:#fff;color:#172033}.teacher-action-grid button:hover{border-color:#147d6c;color:#126c5d}.teacher-subject-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.teacher-subject-card strong{display:block;margin-bottom:10px}.teacher-subject-card small{margin-top:8px;text-transform:capitalize}.teacher-routine-workspace{display:grid;gap:16px}.routine-field-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.routine-note-field{grid-column:span 3}.teacher-routine-list-panel td strong{color:#172033}.teacher-placeholder{align-content:center;justify-items:center;text-align:center}.teacher-placeholder h3,.teacher-placeholder p{margin:0}.teacher-placeholder p:last-child{max-width:440px}.empty-state{display:grid;min-height:180px;place-items:center;border:1px dashed #cbd6e2;border-radius:8px;color:#617082}.settings-school-filter{display:flex;align-items:end}.settings-school-filter>div,.user-school-filter>div{width:min(420px,100%)}.user-school-filter{display:flex;align-items:end}.subscription-plan-filter-panel{grid-template-columns:minmax(260px,1fr) 190px 160px auto auto}.subscription-plan-grid{grid-template-columns:minmax(420px,520px) minmax(0,1fr)}.subscription-feature-list{display:grid;gap:3px}.subscription-feature-list small{margin:0}.school-subscription-filter-panel{grid-template-columns:minmax(200px,1fr) 170px 160px 140px 150px auto auto}.school-subscription-grid{grid-template-columns:minmax(420px,520px) minmax(0,1fr)}.school-subscription-summary article small{display:block;margin-top:6px;color:#6b7684}.school-module-filter-panel{grid-template-columns:minmax(260px,1fr) auto}.school-module-grid{grid-template-columns:minmax(420px,520px) minmax(0,1fr)}.school-module-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 0 10px;font-size:13px;font-weight:700;color:#405062}.school-module-checklist{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 16px}.school-module-check small{display:block;margin-top:2px;color:#8a5a00;font-weight:600}@media(max-width:900px){.school-module-checklist{grid-template-columns:minmax(0,1fr)}}.school-subscription-payment-panel{margin-top:16px}.subscription-warning{margin-bottom:16px}.status-badge.expiring{background:#fff4d8;color:#8a5a00}.status-badge.cancelled{background:#fdecea;color:#b42318}.field-hint{display:block;margin-top:4px;color:#6b7684}.school-filter-panel{display:grid;grid-template-columns:minmax(260px,1fr) 190px auto auto;gap:14px;align-items:end}.school-filter-panel button{min-height:42px;padding:0 16px}.school-form-panel{max-width:1120px}.school-management-form{max-width:none}.school-admin-heading{margin-top:28px;border-top:1px solid #edf1f6;padding-top:22px}.school-row-actions{flex-wrap:wrap}.trial-expired{color:#b42318;font-weight:800}td .trial-expired+small,td small.trial-expired{display:block;margin-top:4px}.user-filter-panel{display:grid;grid-template-columns:minmax(220px,1fr) 190px 160px auto auto;gap:14px;align-items:end}.user-filter-panel button,.password-reset-form button{min-height:42px;padding:0 16px}.password-reset-panel,.user-form-panel{max-width:1120px}.password-reset-form{display:grid;grid-template-columns:repeat(2,minmax(0,280px)) auto;gap:16px;align-items:end}.user-management-form{max-width:none}.user-password-fields{margin-top:20px}.permission-section{margin-top:26px;border-top:1px solid #edf1f6;padding-top:20px}.form-help{margin:0 0 14px;color:#617082}.permission-chip-list{display:flex;flex-wrap:wrap;gap:7px}.permission-chip-list span{border-radius:999px;background:#e8f3f0;color:#126c5d;padding:5px 9px;font-size:12px;font-weight:800;text-transform:capitalize}.permission-chip-list small{color:#617082}.permission-groups{display:grid;gap:18px}.permission-group{display:grid;grid-template-columns:150px minmax(0,1fr);gap:14px;border-bottom:1px solid #edf1f6;padding-bottom:16px}.permission-group>strong{color:#172033}.permission-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.permission-option{display:flex;min-width:0;align-items:flex-start;gap:8px;border:1px solid #d9e2ec;border-radius:6px;background:#fbfdff;padding:9px;cursor:pointer}.permission-option:has(input:checked){border-color:#126c5d;background:#eefaf5}.permission-option input{width:16px;height:16px;flex:0 0 16px;margin:2px 0 0;accent-color:#126c5d}.permission-option span{min-width:0;font-size:13px;text-transform:capitalize;overflow-wrap:anywhere}.role-permission-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.role-permission-item>div:first-child{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:18px}.role-permission-item h3{margin:0}.role-permission-item>div:first-child span{color:#617082;font-size:13px}.settings-panel{max-width:1040px}.settings-section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:24px;border-bottom:1px solid #edf1f6;padding-bottom:18px}.settings-section-heading h3,.settings-section-heading p{margin:0}.settings-section-heading p{margin-top:6px;color:#617082}.profile-settings-grid{display:grid;grid-template-columns:minmax(220px,300px) minmax(0,1fr);gap:32px}.logo-settings{align-content:start;display:grid;gap:14px}.logo-preview{display:grid;width:156px;height:156px;place-items:center;border:1px solid #cbd6e2;border-radius:8px;background:#f8fafc;overflow:hidden}.logo-preview img{width:100%;height:100%;object-fit:contain;padding:8px}.logo-preview span{display:grid;width:72px;height:72px;place-items:center;border-radius:8px;background:#126c5d;color:#fff;font-size:22px;font-weight:900}.logo-settings small,.numbering-grid small{display:block;margin-top:6px;color:#617082}.logo-actions{display:flex;align-items:center;gap:12px}.logo-actions button{min-height:40px;padding:0 14px}.settings-fields-grid,.numbering-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.numbering-grid{margin-top:20px}.cutoff-settings-form{display:grid;grid-template-columns:repeat(2,minmax(0,280px));gap:18px}.cutoff-settings-form .form-actions{grid-column:1 / -1}.print-school-logo{width:58px;height:58px;margin-bottom:10px;object-fit:contain}.dashboard-notices{border-top:1px solid #d9e2ec;padding-top:18px}.portal-workspace{display:grid;gap:18px}.portal-header{display:flex;align-items:flex-end;justify-content:space-between;gap:20px}.portal-header h2{margin-bottom:7px;font-size:30px}.portal-header p:last-child{margin-bottom:0;color:#617082}.portal-student-picker,.portal-student-filter>div{width:min(360px,100%)}.portal-student-picker{display:grid;gap:7px}.portal-student-filter{display:flex;align-items:end}.portal-student-banner{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid #cbd6e2;border-radius:8px;background:#fff}.portal-student-banner>div{min-width:0;border-right:1px solid #e1e8f0;padding:16px 18px}.portal-student-banner>div:last-child{border-right:0}.portal-student-banner span,.portal-student-banner strong,.portal-student-banner small{display:block;overflow-wrap:anywhere}.portal-student-banner span{margin-bottom:6px;color:#617082;font-size:12px;font-weight:800;text-transform:uppercase}.portal-student-banner strong{font-size:17px}.portal-student-banner small{margin-top:4px;color:#617082}.portal-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.portal-summary-grid>button,.portal-summary-grid>article{display:flex;min-width:0;min-height:112px;flex-direction:column;align-items:flex-start;justify-content:space-between;border:1px solid #d9e2ec;border-radius:8px;padding:15px 16px;background:#fff;color:#172033;text-align:left}.portal-summary-grid>button:hover{border-color:#126c5d;background:#f5faf8}.portal-summary-grid span,.portal-summary-grid strong,.portal-summary-grid small{display:block;max-width:100%;overflow-wrap:anywhere}.portal-summary-grid span,.portal-summary-grid small{color:#617082;font-size:12px}.portal-summary-grid strong{font-size:19px}.portal-profile-tabs{display:flex;flex-wrap:wrap;gap:8px;border-bottom:1px solid #d9e2ec;padding:0 0 10px}.portal-profile-tabs button{min-height:40px;border:1px solid #cbd6e2;border-radius:6px;padding:0 14px;background:#fff;color:#172033;font-weight:800}.portal-profile-tabs button.active,.portal-profile-tabs button:hover{border-color:#126c5d;background:#e7f3ef;color:#0d5f52}.portal-profile-panel{max-width:1080px}.portal-profile-shell{display:grid;grid-template-columns:300px minmax(0,1fr);gap:18px;align-items:start}.portal-identity-card{position:sticky;top:18px;display:grid;justify-items:center;gap:10px;text-align:center}.portal-avatar{display:grid;width:96px;height:96px;place-items:center;overflow:hidden;border:1px solid #cbd6e2;border-radius:12px;background:#e7f3ef;color:#126c5d;font-size:42px;font-weight:900}.portal-avatar img{width:100%;height:100%;object-fit:cover}.portal-identity-card h3{margin:4px 0 0;font-size:22px}.portal-identity-card p{margin:0;color:#617082}.portal-mini-list{display:grid;width:100%;gap:0;margin:14px 0 0}.portal-mini-list div{display:flex;justify-content:space-between;gap:12px;border-top:1px solid #e1e8f0;padding:11px 0;text-align:left}.portal-mini-list dt,.portal-mini-list dd{margin:0}.portal-mini-list dt{color:#617082;font-size:12px;font-weight:900;text-transform:uppercase}.portal-mini-list dd{font-weight:900;overflow-wrap:anywhere;text-align:right}.portal-profile-content{display:grid;gap:14px}.portal-profile-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:22px;border-bottom:1px solid #edf1f6;padding-bottom:18px}.portal-profile-heading span:first-child{color:#126c5d;font-size:12px;font-weight:900;text-transform:uppercase}.portal-profile-heading h3{margin:6px 0 4px;font-size:24px}.portal-profile-heading p{margin:0;color:#617082}.portal-profile-heading.compact{margin-bottom:14px;padding-bottom:12px}.portal-profile-heading.compact h3{font-size:20px}.portal-detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;margin:0;background:#dfe7ef}.portal-detail-grid>div{min-width:0;padding:13px 14px;background:#fbfdff}.portal-detail-grid dt{margin-bottom:6px;color:#617082;font-size:12px;font-weight:800;text-transform:uppercase}.portal-detail-grid dd{margin:0;overflow-wrap:anywhere;font-weight:800}.portal-detail-wide{grid-column:span 3}.portal-detail-grid.refined{overflow:hidden;border:1px solid #dfe7ef;border-radius:8px;background:#dfe7ef}.portal-guardian-section{margin-top:26px}.portal-timeline-panel,.portal-behaviour-panel{max-width:1080px}.portal-timeline-list{display:grid;gap:12px}.portal-timeline-item{display:grid;grid-template-columns:18px minmax(0,1fr);gap:14px;position:relative;border:1px solid #d9e2ec;border-radius:8px;padding:14px;background:#fff}.portal-timeline-item:before{position:absolute;top:30px;bottom:-28px;left:22px;width:2px;background:#d9e2ec;content:""}.portal-timeline-item:last-child:before{display:none}.portal-timeline-dot{position:relative;z-index:1;width:14px;height:14px;margin-top:5px;border:3px solid #ffffff;border-radius:999px;background:#126c5d;box-shadow:0 0 0 2px #126c5d}.portal-timeline-item strong,.portal-timeline-item small,.portal-timeline-item p{display:block;overflow-wrap:anywhere}.portal-timeline-item small{margin-top:3px;color:#617082}.portal-timeline-item p{margin:8px 0 0;color:#43546a}.panel-note{margin:-4px 0 16px;color:#617082}.portal-behaviour-hero{display:grid;grid-template-columns:220px minmax(0,1fr);gap:18px;margin-bottom:14px;border:1px solid #d9e2ec;border-radius:8px;padding:18px;background:linear-gradient(135deg,#f0faf6,#fff 70%)}.portal-behaviour-hero div{display:grid;gap:4px}.portal-behaviour-hero span,.portal-behaviour-hero small{color:#617082;font-size:12px;font-weight:900;text-transform:uppercase}.portal-behaviour-hero strong{color:#126c5d;font-size:56px;line-height:1}.portal-behaviour-hero p{margin:0;color:#43546a}.portal-behaviour-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.portal-behaviour-grid article{display:grid;gap:8px;border:1px solid #d9e2ec;border-radius:8px;padding:16px;background:#f8fafc}.portal-behaviour-grid span,.portal-behaviour-grid small{color:#617082;font-size:12px;font-weight:800}.portal-behaviour-grid strong{color:#172033;font-size:22px}.portal-filter-bar{display:grid;grid-template-columns:minmax(220px,320px) auto;align-items:end;gap:14px}.portal-filter-bar.polished{grid-template-columns:minmax(0,1fr) minmax(220px,300px) auto}.portal-filter-bar.polished h3{margin:3px 0 0}.portal-filter-bar>div{display:grid;gap:7px}.portal-filter-bar button{min-height:44px;padding:0 18px}.portal-receipt-list{display:grid;gap:5px}.smart-summary>article{border-left:4px solid #126c5d;box-shadow:0 10px 24px #0f172a0a}.portal-card-list-panel{display:grid;gap:14px}.portal-invoice-list,.portal-result-list{display:grid;gap:12px}.portal-invoice-card,.portal-result-card,.portal-document-card{display:grid;gap:14px;border:1px solid #d9e2ec;border-radius:8px;padding:16px;background:#fff}.portal-card-heading{display:flex;min-width:0;align-items:flex-start;justify-content:space-between;gap:14px}.portal-card-heading strong,.portal-card-heading small{display:block;overflow-wrap:anywhere}.portal-card-heading small{margin-top:4px;color:#617082}.portal-money-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;margin:0;overflow:hidden;border:1px solid #dfe7ef;border-radius:8px;background:#dfe7ef}.portal-money-grid div{min-width:0;padding:12px;background:#f8fafc}.portal-money-grid dt,.portal-money-grid dd{margin:0}.portal-money-grid dt{color:#617082;font-size:12px;font-weight:900;text-transform:uppercase}.portal-money-grid dd{margin-top:5px;font-weight:900;overflow-wrap:anywhere}.portal-receipt-strip{display:flex;flex-wrap:wrap;gap:8px}.portal-receipt-strip span{border:1px solid #d9e2ec;border-radius:999px;padding:7px 10px;background:#f8fafc;color:#43546a;font-size:12px;font-weight:800}.portal-attendance-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.portal-attendance-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;border:1px solid #d9e2ec;border-radius:8px;padding:14px;background:#fff}.portal-attendance-card time{font-weight:900}.portal-attendance-card small,.portal-attendance-card p{grid-column:1 / -1;margin:0;color:#617082}.yearly-attendance-summary{grid-template-columns:repeat(5,minmax(0,1fr))}.portal-yearly-attendance-panel{display:grid;gap:14px}.portal-yearly-attendance-panel .table-heading p{margin:5px 0 0;color:#172033;font-size:13px}.portal-yearly-attendance-panel .table-heading strong{font-weight:900}.portal-attendance-toolbar{display:flex;justify-content:space-between;gap:12px}.portal-attendance-toolbar input{width:min(260px,100%)}.yearly-attendance-wrap{overflow:auto;border:1px solid #d9e2ec;border-radius:8px;background:#fff}.yearly-attendance-table{width:100%;min-width:1120px;border-collapse:collapse;font-size:13px}.yearly-attendance-table th,.yearly-attendance-table td{border-bottom:1px solid #e1e8f0;padding:10px 12px;text-align:center;white-space:nowrap}.yearly-attendance-table thead th{position:sticky;top:0;z-index:1;background:#f8fafc;color:#43546a;font-weight:900}.yearly-attendance-table tbody th{position:sticky;left:0;z-index:1;background:#fff;color:#172033;font-weight:900}.yearly-attendance-table thead th:first-child{left:0;z-index:2}.attendance-code{display:inline-grid;min-width:22px;min-height:22px;place-items:center;border-radius:999px;font-weight:900}.attendance-code.present{color:#0f7a34}.attendance-code.late{color:#9a6500}.attendance-code.absent{color:#d01818}.attendance-code.leave{color:#586474}.portal-result-score{display:grid;grid-template-columns:auto auto minmax(0,1fr);align-items:baseline;gap:10px}.portal-result-score strong{color:#126c5d;font-size:34px}.portal-result-score span{font-size:20px;font-weight:900}.portal-result-score small{color:#617082}.portal-document-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.portal-document-card{align-content:space-between}.portal-document-card strong,.portal-document-card small,.portal-document-card p{display:block;overflow-wrap:anywhere}.portal-document-card small,.portal-document-card p{color:#617082}.portal-document-card p{margin:8px 0 0}.portal-document-card a{color:#126c5d;font-weight:900}.portal-document-icon{display:inline-grid;min-width:44px;min-height:34px;margin-bottom:12px;place-items:center;border-radius:6px;background:#e7f3ef;color:#126c5d;font-size:12px;font-weight:900}.portal-notice-board{display:grid;gap:14px}.portal-notice-item{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,320px);gap:24px;border-top:1px solid #edf1f6;padding-top:18px}.portal-notice-item h3{margin:10px 0 8px}.portal-notice-item p{margin:0;color:#405062;line-height:1.65;white-space:pre-wrap}.portal-notice-item dl{display:grid;align-content:start;gap:10px;margin:0}.portal-notice-item dl>div{border-bottom:1px solid #edf1f6;padding-bottom:8px}.portal-notice-item dt{color:#617082;font-size:12px;font-weight:800;text-transform:uppercase}.portal-notice-item dd{margin:4px 0 0;font-weight:800}.dashboard-notices-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}.dashboard-notices-heading h3,.dashboard-notices-heading .eyebrow{margin-bottom:0}.recent-notice-list{display:grid;border:1px solid #d9e2ec;border-radius:8px;background:#fff}.recent-notice-list button{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:18px;border:0;border-bottom:1px solid #edf1f6;padding:13px 15px;background:transparent;color:#172033;text-align:left}.recent-notice-list button:last-child{border-bottom:0}.recent-notice-list button:hover{background:#f5faf8}.recent-notice-list span,.recent-notice-list strong,.recent-notice-list small{display:block;min-width:0}.recent-notice-list small,.recent-notice-list time{margin-top:4px;color:#617082;font-size:12px}.recent-notice-list time{flex:0 0 auto}.notice-school-picker{display:flex;align-items:end;margin-bottom:18px}.notice-school-picker>*{width:min(420px,100%)}.notice-form-panel{max-width:960px}.notice-form{max-width:none}.notice-audience-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}.notice-audience-option{border:1px solid #d9e2ec;border-radius:6px;padding:10px;background:#fbfdff;cursor:pointer}.notice-audience-option:has(input:checked){border-color:#126c5d;background:#eefaf5}.notice-filter-panel{margin-bottom:18px}.notice-filter-grid{display:grid;grid-template-columns:minmax(220px,1.5fr) repeat(4,minmax(140px,.8fr)) auto;gap:12px;align-items:end}.notice-filter-grid>div{display:grid;gap:7px}.notice-filter-grid button{min-height:44px;padding:0 18px}.notice-table-panel .table-heading p{margin:5px 0 0;color:#617082;font-size:13px}.notice-message-cell{min-width:260px;max-width:420px}.notice-message-cell small{display:-webkit-box;margin-top:6px;color:#617082;line-height:1.45;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}.notice-table-panel td>small+small{margin-top:5px}.status-badge.scheduled{background:#fff4d8;color:#8a5a00}.status-badge.expired,.status-badge.archived{background:#f1f3f6;color:#586474}.danger-action{color:#b42318}.id-card-filters{display:grid;grid-template-columns:repeat(5,minmax(140px,1fr));align-items:end;gap:12px}.id-card-filters>div{display:grid;gap:8px}.id-card-designer{display:grid;gap:18px}.designer-toolbar{display:grid;grid-template-columns:minmax(160px,1fr) minmax(180px,1.2fr) minmax(120px,.7fr) auto auto;align-items:end;gap:12px}.designer-toolbar>div{display:grid;gap:8px}.designer-workspace{display:grid;grid-template-columns:minmax(420px,1fr) minmax(260px,320px);gap:18px;align-items:start}.id-card-canvas-wrap{overflow:auto;border:1px solid #d9e2ec;border-radius:8px;padding:20px;background:#f4f7fb}.id-card-preview-card{position:relative;width:85.6mm;height:54mm;overflow:hidden;border:1px solid #c7d2df;border-radius:6px;background:#fff;box-shadow:0 18px 34px #11182724}.id-card-preview-card:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-top:7mm solid #dbeafe;border-bottom:2mm solid #2563eb}.id-card-preview-card.back:before{border-top-color:#e0f2fe;border-bottom-color:#0f766e}.id-card-preview-element{position:absolute;z-index:1;display:block;overflow:hidden;border:1px dashed transparent;padding:0;background:transparent;line-height:1.15;text-align:left;overflow-wrap:anywhere;word-break:break-word;cursor:pointer}.id-card-preview-element:hover,.id-card-preview-element.selected{border-color:#2563eb;background:#2563eb14}.id-card-preview-element.media{border-color:#cbd5e1;background:#f8fafc;text-align:center}.id-card-preview-element img{width:100%;height:100%;object-fit:cover}.id-card-preview-element.media img{object-fit:contain}.id-card-preview-element .label{color:#64748b;font-weight:800}.signature-preview{display:block;width:100%;border-top:1px solid #475569;padding-top:3px;text-align:center}.element-editor{display:grid;gap:12px;border:1px solid #d9e2ec;border-radius:8px;padding:14px;background:#fff}.element-editor label{display:grid;gap:7px;color:#334155;font-size:13px;font-weight:800}.element-editor label:has(input[type=checkbox]){display:flex;align-items:center;gap:8px}.editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.id-card-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:16px}.id-card-summary-grid article{border:1px solid #d9e2ec;border-radius:8px;padding:14px;background:#fbfdff}.id-card-summary-grid span{display:block;color:#617082;font-size:12px;font-weight:800;text-transform:uppercase}.id-card-summary-grid strong{display:block;margin-top:6px;color:#172033;font-size:24px}.notice.warning{border-color:#f8d978;background:#fff8df;color:#7a4b00}.student-photo-thumb{width:44px;height:54px;border-radius:6px;object-fit:cover}.photo-missing{display:inline-flex;min-width:64px;min-height:30px;align-items:center;justify-content:center;border:1px solid #f4b4a6;border-radius:6px;background:#fff0ee;color:#b42318;font-size:12px;font-weight:800}.photo-readiness-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}.photo-readiness-card{display:grid;grid-template-columns:70px 1fr;gap:12px;align-items:center;border:1px solid #d9e2ec;border-radius:8px;padding:12px;background:#fff}.photo-preview{display:flex;width:70px;height:86px;align-items:center;justify-content:center;border:1px solid #cbd5e1;border-radius:6px;background:#f8fafc;color:#64748b;font-size:12px;font-weight:800}.photo-preview img{width:100%;height:100%;border-radius:6px;object-fit:cover}.banner-preview{width:100%;height:180px;border-radius:8px}.banner-preview img{object-fit:cover}.gallery-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}.gallery-admin-card{display:grid;gap:10px;border:1px solid #d9e2ec;border-radius:8px;padding:12px;background:#fff}.gallery-admin-card strong,.gallery-admin-card small{display:block}.gallery-admin-card small{margin-top:4px;color:#617082}.gallery-preview{display:grid;width:100%;aspect-ratio:16 / 9;place-items:center;overflow:hidden;border:1px solid #cbd5e1;border-radius:8px;background:#e6f4f1;color:#006b5b;font-size:28px;font-weight:900}.gallery-preview img{width:100%;height:100%;object-fit:cover}.person-cell{display:flex;align-items:center;gap:10px}.person-cell img,.person-cell>span{width:42px;height:42px;border:1px solid #cbd5e1;border-radius:8px;background:#e6f4f1;color:#006b5b;display:grid;place-items:center;font-weight:800;object-fit:cover}.photo-readiness-card strong,.photo-readiness-card small{display:block}.photo-readiness-card small{margin-top:4px;color:#617082}.photo-actions{grid-column:1 / -1;display:flex;align-items:center;gap:8px}.photo-actions input[type=file]{display:none}@media(max-width:1280px){.module-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.account-voucher-grid{grid-template-columns:1fr}}@media(max-width:1100px){.routine-field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.routine-note-field{grid-column:span 2}}@media(max-width:1080px){.workspace,.module-grid,.module-grid.student-grid,.module-grid.employee-grid,.student-detail-layout,.admission-form-grid,.account-voucher-grid,.machine-layout,.fee-collection-grid,.exam-grid,.exam-subject-grid,.grade-setup-grid,.subject-assignment-grid,.attendance-summary-cards,.summary-grid,.two-column-grid,.profile-settings-grid,.settings-fields-grid,.numbering-grid,.role-permission-grid,.portal-summary-grid{grid-template-columns:1fr}.user-filter-panel{grid-template-columns:repeat(2,minmax(0,1fr))}.notice-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.detail-grid{grid-template-columns:1fr}.school-filter-panel,.permission-options{grid-template-columns:repeat(2,minmax(0,1fr))}.module-dashboard-header{align-items:flex-start;flex-direction:column}.portal-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fee-student-hero,.fee-collection-grid.redesigned{grid-template-columns:1fr}.fee-dashboard-cards,.fee-student-hero dl,.selected-month-summary,.bulk-promotion-field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.yearly-attendance-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.portal-profile-shell{grid-template-columns:260px minmax(0,1fr)}.portal-document-grid,.portal-behaviour-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sidebar{position:static;height:auto;overflow-y:visible;border-right:0;border-bottom:1px solid #d9e2ec}.nav-stack{grid-template-columns:repeat(5,minmax(0,1fr))}.nav-stack button{text-align:center}.result-filters,.report-card-filters,.report-filters,.report-filters.fee-report-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.voucher-line-row{grid-template-columns:1fr 1fr}.admission-side-panel{position:static}}@media(max-width:860px){.login-layout{padding:32px 20px}.login-card,.panel{padding:18px}.topbar,.module-header,.table-heading,.form-actions{align-items:flex-start;flex-direction:column}.nav-stack{grid-template-columns:1fr 1fr}.module-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.split-fields,.fee-month-detail-card,.invoice-preview.polished,.selected-month-summary,.student-context.polished,.fee-form-actions{grid-template-columns:1fr}.pagination-bar,.pagination-actions{align-items:flex-start;flex-direction:column}.attendance-filters,.voucher-line-row{grid-template-columns:1fr}.report-inline-filters{align-items:stretch;flex-direction:column;width:100%}.inline-add-panel{grid-template-columns:1fr}.marks-grid,.schedule-filters,.marks-entry-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.schedule-filters button,.marks-entry-filters button,.result-filters button,.report-card-filters button,.report-filters button{width:100%}.connector-token-panel,.mapping-form,.machine-overview dl,.invoice-detail-grid,.receipt-details{grid-template-columns:1fr}.machine-device-header,.machine-tabs{align-items:stretch;flex-direction:column}.attendance-actions{width:100%;flex-wrap:wrap}.exam-context-header,.schedule-heading,.marks-context{align-items:stretch;flex-direction:column}.marks-grid,.schedule-filters,.marks-entry-filters,.marks-limits,.result-filters,.report-card-filters,.report-student-details,.report-result-summary{grid-template-columns:1fr}.report-card-header,.report-module-header,.report-document-header,.settings-section-heading,.portal-header,.portal-profile-heading{align-items:stretch;flex-direction:column}.header-actions{width:100%}.header-actions button{flex:1}.report-filters,.report-filters.fee-report-filters{grid-template-columns:1fr}.report-signatures{gap:20px}.form-actions button{width:100%}.cutoff-settings-form,.user-filter-panel,.school-filter-panel,.notice-filter-grid,.password-reset-form,.permission-group,.permission-options,.portal-student-banner,.portal-profile-shell,.portal-detail-grid,.portal-filter-bar,.portal-filter-bar.polished,.portal-money-grid,.portal-attendance-cards,.portal-behaviour-hero,.portal-notice-item,.invoice-details-summary{grid-template-columns:1fr}.portal-identity-card{position:static}.portal-card-heading{align-items:stretch;flex-direction:column}.portal-student-banner>div{border-right:0;border-bottom:1px solid #e1e8f0}.portal-student-banner>div:last-child{border-bottom:0}.portal-detail-wide{grid-column:auto}.notice-audience-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.module-stats-grid,.teacher-action-grid,.teacher-subject-grid{grid-template-columns:1fr}.teacher-hero,.teacher-profile-header,.section-heading,.dashboard-notices-heading,.recent-notice-list button{align-items:flex-start;flex-direction:column}.recent-notice-list time{margin-top:0}}@media(max-width:640px){.routine-field-grid,.routine-note-field{grid-template-columns:1fr;grid-column:span 1}}@media(max-width:560px){.module-card-grid{grid-template-columns:1fr}.module-card{min-height:92px;grid-template-columns:52px minmax(0,1fr);gap:12px;padding:14px}.module-card-icon{width:52px;height:52px}.module-card-icon svg{width:24px;height:24px}.notice-audience-grid,.portal-summary-grid,.fee-dashboard-cards,.fee-student-hero dl{grid-template-columns:1fr}.fee-item-table label{grid-template-columns:22px minmax(0,1fr)}.fee-item-table em,.fee-item-table b{grid-column:2;text-align:left}.bulk-promotion-field-grid,.yearly-attendance-summary,.portal-document-grid,.portal-behaviour-grid,.portal-result-score{grid-template-columns:1fr}.portal-profile-tabs button{flex:1 1 46%}}@media print{@page{size:A4 portrait;margin:8mm}body *{visibility:hidden}.printable-receipt,.printable-receipt *,.printable-schedule,.printable-schedule *,.printable-report-card,.printable-report-card *,.printable-report,.printable-report *{visibility:visible}.printable-receipt,.printable-schedule,.printable-report-card,.printable-report{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;max-width:none;border:0;padding:24px}.receipt-actions,.printable-schedule .status-badge,.report-print-button{display:none}.printable-schedule table{font-size:11px}.printable-report-card{color:#000}.printable-report-card table{font-size:11px}body.printing-report-card{background:#fff}body.printing-report-card .printable-report-card{box-sizing:border-box;width:194mm;min-height:auto;margin:0;padding:0;color:#000;box-shadow:none;page-break-inside:avoid}body.printing-report-card .printable-report-card .table-wrap{overflow:visible}body.printing-report-card .report-card-header{gap:10px;padding-bottom:9px}body.printing-report-card .report-card-header h3{font-size:17px}body.printing-report-card .report-card-header span,body.printing-report-card .report-card-title span{font-size:11px}body.printing-report-card .print-school-logo{width:36px;height:36px}body.printing-report-card .report-card-title{padding:10px 0}body.printing-report-card .report-card-title strong{font-size:16px}body.printing-report-card .report-student-details{grid-template-columns:repeat(3,1fr);margin-bottom:12px;border-radius:4px}body.printing-report-card .report-student-details div{padding:7px 9px}body.printing-report-card .report-student-details dt,body.printing-report-card .report-result-summary span,body.printing-report-card .report-signatures span{font-size:9px}body.printing-report-card .report-student-details dd{margin-top:3px;font-size:12px}body.printing-report-card .report-subject-table{width:100%;min-width:0;table-layout:fixed;font-size:10px}body.printing-report-card .report-subject-table th,body.printing-report-card .report-subject-table td{padding:7px 6px;white-space:normal;word-break:break-word}body.printing-report-card .report-subject-table th:first-child,body.printing-report-card .report-subject-table td:first-child{width:28%}body.printing-report-card .report-result-summary{grid-template-columns:repeat(6,1fr);margin-top:12px;border-radius:4px;page-break-inside:avoid}body.printing-report-card .report-result-summary div{gap:3px;padding:7px 5px}body.printing-report-card .report-result-summary strong{font-size:12px}body.printing-report-card .report-signatures{gap:34px;margin-top:42px;page-break-inside:avoid}body.printing-report-card .status-badge{padding:3px 7px;font-size:9px}.printable-report{color:#000}.printable-report .summary-grid{grid-template-columns:repeat(4,1fr)}.printable-report .summary-grid article{min-height:auto;padding:10px}.printable-report .empty-state{display:none}.printable-report .table-wrap{overflow:visible}.printable-report table{min-width:0;font-size:9px}.printable-report th,.printable-report td{padding:7px 5px}@page invoice-details-history{size:A4 portrait;margin:6mm}body.printing-invoice-details *{visibility:hidden}body.printing-invoice-details,body.printing-invoice-details .app-shell,body.printing-invoice-details .workspace,body.printing-invoice-details .content-shell,body.printing-invoice-details .module-layout{display:block!important;min-height:0!important;height:auto!important;margin:0!important;padding:0!important;gap:0!important;overflow:visible!important;background:#fff!important}body.printing-invoice-details .sidebar,body.printing-invoice-details .topbar,body.printing-invoice-details .module-header,body.printing-invoice-details .collect-payment-modal,body.printing-invoice-details .invoice-details-actions{display:none!important}body.printing-invoice-details .modal-backdrop{position:absolute!important;inset:0 auto auto 0!important;display:block!important;width:100%!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;overflow:visible!important;background:#fff!important;visibility:visible!important}body.printing-invoice-details .invoice-details-modal,body.printing-invoice-details .invoice-details-modal *{visibility:visible!important}body.printing-invoice-details .invoice-details-modal{page:invoice-details-history;position:absolute!important;inset:0 auto auto 0!important;box-sizing:border-box;width:100%!important;max-height:none!important;overflow:visible!important;border:0;box-shadow:none;padding:8mm 10mm;background:#fff;color:#172033;font-size:12px;line-height:1.25;break-after:avoid;page-break-after:avoid}body.printing-invoice-details .invoice-details-modal .table-heading{margin-bottom:10px;padding-bottom:8px;border-bottom:1px solid #d9e2ec}body.printing-invoice-details .invoice-details-summary{gap:8px;margin-bottom:12px;break-inside:avoid;page-break-inside:avoid}body.printing-invoice-details .invoice-details-summary article{padding:10px 12px}body.printing-invoice-details .invoice-details-summary span,body.printing-invoice-details .invoice-details-receipts h4{font-size:10px}body.printing-invoice-details .invoice-details-summary strong{margin-top:5px;font-size:16px}body.printing-invoice-details .invoice-details-table,body.printing-invoice-details .invoice-details-receipts,body.printing-invoice-details .invoice-details-modal .table-wrap{margin:0;overflow:visible;break-before:avoid;break-inside:auto;page-break-before:avoid;page-break-inside:auto}body.printing-invoice-details .invoice-details-receipts h4{margin:12px 0 6px}body.printing-invoice-details .invoice-details-modal .compact-table th,body.printing-invoice-details .invoice-details-modal .compact-table td{padding:7px 8px;font-size:11px;line-height:1.22}body.printing-invoice-details .invoice-details-modal .status-badge{padding:3px 8px;font-size:9px}}
