html,body,#root{height:100%;margin:0}body{background:#f5f6fa}.page-header{margin-bottom:20px}.sider{height:100vh;position:sticky;top:0}.sider-inner{flex-direction:column;height:100vh;display:flex}.sider-menu{flex:1;overflow:hidden auto}.sider-bottom-menu{border-top:1px solid #ffffff1f;flex-shrink:0;padding:4px 0}.sider-toggle{color:#ffffffd9;cursor:pointer;background:#1d2554;border:0;border-top:1px solid #ffffff1f;flex-shrink:0;align-items:center;gap:10px;width:100%;height:48px;padding:0 24px;font-size:13px;transition:background .15s,color .15s;display:flex}.sider-toggle .anticon{font-size:14px}.sider-toggle:hover{color:#fff;background:#2f3e9e}.sider-toggle:focus-visible{outline-offset:-2px;outline:2px solid #fff}.sider-toggle-collapsed{justify-content:center;padding:0}.sider-logo{white-space:nowrap;align-items:center;height:56px;padding:0 16px;display:flex;overflow:hidden}.sider-logo-collapsed{justify-content:center;padding:0}.menu-drawer .ant-drawer-body{background:#141a3c;padding:0}.app-header{z-index:10;border-bottom:1px solid #e6e8f0;position:sticky;top:0}.app-content{padding:24px}@media (width<=767px){.app-content{padding:16px}}.brand-crest{object-fit:contain;background:#fff;border-radius:6px;flex-shrink:0;padding:2px;display:block}.brand-name{letter-spacing:.1px;font-weight:600;line-height:1.2}.brand-sub{opacity:.65;font-size:11px;line-height:1.3}.sign-in-page{background:linear-gradient(#eef0f9 0%,#f5f6fa 55%);flex-direction:column;justify-content:center;align-items:center;gap:20px;min-height:100%;padding:24px 16px;display:flex}.sign-in-card{width:100%;max-width:380px;box-shadow:0 8px 28px #141a3c14}.sign-in-card .ant-card-body{padding:32px 28px 28px}.sign-in-foot{font-size:12px}.clickable-row{cursor:pointer}.photo-frame{background:#f5f6fa;border:1px dashed #c3c8dc;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:132px;height:160px;display:flex;overflow:hidden}.photo-frame img{object-fit:cover;width:100%;height:100%}.document-row{border:1px solid #e6e8f0;border-radius:8px;padding:10px 12px}.viewer-tools{background:#f1f3f9;border-top:1px solid #e6e8f0;border-bottom:1px solid #e6e8f0;padding:6px 12px}.viewer-zoom{text-align:center;font-variant-numeric:tabular-nums;min-width:52px}.viewer-divider{background:#d5d9e6;width:1px;height:20px;margin:0 6px}.viewer-stage{background:#525659;border-radius:0 0 8px 8px;height:70vh;padding:16px;display:flex;overflow:auto}.viewer-box{flex-shrink:0;margin:auto;position:relative}.viewer-box img{-webkit-user-select:none;user-select:none;background:#fff;max-width:none;position:absolute;top:50%;left:50%;box-shadow:0 2px 12px #00000059}.pdf-frame{background:#525659;border:0;border-radius:0 0 8px 8px;width:100%;height:78vh;display:block}.viewer-error{background:#f6f7fb;border-radius:0 0 8px 8px;justify-content:center;align-items:center;height:78vh;display:flex}.photo-button{cursor:zoom-in;background:0 0;border:0;width:100%;height:100%;padding:0;display:block}.form-columns{grid-template-columns:minmax(0,1fr) 400px;align-items:start;gap:16px;display:grid}.form-side{position:sticky;top:72px}@media (width<=1199px){.form-columns{grid-template-columns:minmax(0,1fr);gap:0}.form-side{position:static}}.fee-box{color:#4a4f6a;background:#eef0fa;border-radius:8px;flex-direction:column;gap:2px;margin-bottom:16px;padding:10px 12px;font-size:13px;display:flex}.fee-amount{color:#2f3e9e;font-size:22px;font-weight:600;line-height:1.2}.record-columns{grid-template-columns:300px minmax(0,1fr);align-items:start;gap:16px;display:grid}.record-side{flex-direction:column;gap:16px;display:flex;position:sticky;top:72px}.record-cards{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:16px;display:grid}@media (width<=1439px){.record-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}.record-summary{border-top:1px solid #e6e8f0;margin-top:16px;padding-top:12px}.form-note{color:#6b7089;font-size:13px}.photo-frame-large{width:180px;height:218px}@media (width<=991px){.record-columns{grid-template-columns:minmax(0,1fr)}.record-side{position:static}.record-cards{grid-template-columns:minmax(0,1fr)}}.form-actions{z-index:5;background:#f5f6fa;border-top:1px solid #e6e8f0;flex-wrap:wrap;align-items:center;gap:8px;padding:12px 0;display:flex;position:sticky;bottom:0}.card-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;display:flex}.card-toolbar-buttons{flex-wrap:wrap;gap:8px;display:flex}.fees-tab{flex-direction:column;gap:16px;display:flex}.fees-columns{grid-template-columns:minmax(0,2fr) minmax(320px,1fr);align-items:start;gap:16px;display:grid}.fees-side{flex-direction:column;gap:16px;display:flex}@media (width<=1100px){.fees-columns{grid-template-columns:minmax(0,1fr)}}.owed-box{background:#f6f7fb;border:1px solid #e6e8f0;border-radius:8px;margin-bottom:16px;padding:12px 16px}.owed-amount{margin:2px 0;font-size:22px;font-weight:600}.office-note{white-space:pre-wrap;background:#fbf8ec;border:1px solid #efe4bd;border-radius:8px;margin-top:12px;padding:10px 12px}.seg-attention{color:#b45309;font-weight:600}.link-cell{font:inherit;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:0}.link-cell:hover>div:first-child,.link-cell:focus-visible>div:first-child{color:#2f3e9e;text-decoration:underline}.serial-cell{color:#8c8c8c;font-variant-numeric:tabular-nums;font-size:12px}.stat-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-bottom:8px;display:grid}.stat-card{background:#fff;border:1px solid #e6e8f0;border-radius:12px;align-items:flex-start;gap:12px;min-width:0;padding:14px 16px;display:flex}.stat-icon{border-radius:10px;flex:none;justify-content:center;align-items:center;width:36px;height:36px;font-size:18px;display:inline-flex}.stat-body{min-width:0}.stat-label{color:#6b7280;font-size:12px}.stat-value{color:#111827;font-variant-numeric:tabular-nums;font-size:24px;font-weight:700;line-height:1.25}.stat-note{color:#8c8c8c;text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.stat-link{font:inherit;color:#b45309;cursor:pointer;background:0 0;border:0;padding:0;font-weight:600}.stat-link:hover,.stat-link:focus-visible{text-decoration:underline}.tone-navy .stat-icon{color:#2f3e9e;background:#eef0fa}.tone-blue .stat-icon{color:#1677ff;background:#e6f4ff}.tone-green .stat-icon{color:#1f7a45;background:#e8f6ee}.tone-amber .stat-icon{color:#b45309;background:#fff4e5}.tone-teal .stat-icon{color:#0e7490;background:#e6f7f7}.tone-purple .stat-icon{color:#6d28d9;background:#f3eefe}@media (width<=1280px){.stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=600px){.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.stat-card{padding:12px}.stat-icon{display:none}}.record-cards.record-cards-two{grid-template-columns:repeat(2,minmax(0,1fr))}@media (width<=991px){.record-cards.record-cards-two{grid-template-columns:minmax(0,1fr)}}.field-list{grid-template-columns:150px minmax(0,1fr);gap:10px 12px;margin:0;display:grid}.field-list-narrow{grid-template-columns:110px minmax(0,1fr)}.field-list dt{color:#6b7089}.field-list dd{overflow-wrap:anywhere;margin:0;font-weight:500}.att-cell{font-variant-numeric:tabular-nums;border-radius:5px;justify-content:center;align-items:center;width:24px;height:22px;font-size:11px;font-weight:600;display:inline-flex}.att-PRESENT{color:#1f7a45;background:#e8f6ee}.att-ABSENT{color:#b42318;background:#fde8e6}.att-LEAVE{color:#0958d9;background:#e6f4ff}.att-LATE{color:#b45309;background:#fff4e5}.att-HALF_DAY{color:#6d28d9;background:#f3eefe}.att-none{color:#b5b9c9;background:#f3f4f8}.att-sunday{background:#f5f6fa}.att-strip{flex-wrap:wrap;gap:2px;display:flex}.att-sheet .ant-table-cell{padding:6px 2px!important}.att-sheet .ant-table-cell.att-name{padding:6px 12px!important}.att-day-head{font:inherit;cursor:pointer;color:inherit;background:0 0;border:0;padding:0;line-height:1.2}.att-day-head small{color:#8c8c8c;font-weight:400;display:block}.att-day-head:hover{color:#2f3e9e}.ds-sheet .ant-table-tbody>tr>td{vertical-align:middle;padding:4px!important}.ds-day-head{flex-direction:column;line-height:1.3;display:flex}.ds-day-head span,.ds-day-head small{color:#8c8c8c;font-size:11.5px;font-weight:400}.ds-sheet .ds-sunday{background:#f5f6fa!important}.ds-class{flex-direction:column;line-height:1.35;display:flex}.ds-class span,.ds-class a{color:#8c8c8c;font-size:11.5px;font-weight:400}.ds-class a{color:#2f3e9e}.ds-class .ds-done{color:#1f7a45}.ds-class .ds-left{color:#b45309;cursor:help}.ds-box{flex-direction:column;gap:4px;display:flex}.ds-paper{width:100%;font:inherit;text-align:left;cursor:pointer;background:#f1f3fd;border:1px solid #d6dcf5;border-radius:6px;flex-direction:column;padding:6px 8px;line-height:1.3;display:flex}.ds-paper:hover{border-color:#2f3e9e}.ds-paper b{color:#1f2a6b;font-weight:600}.ds-paper span,.ds-paper em{color:#5b6178;text-overflow:ellipsis;white-space:nowrap;font-size:11.5px;font-style:normal;overflow:hidden}.ds-empty{cursor:pointer;background:0 0;border:1px dashed #0000;border-radius:6px;width:100%;min-height:38px;display:block}.ds-empty:hover{background:#f7f8fe;border-color:#b9c1ea}.subject-grid{grid-template-columns:28px 1fr 110px 56px 92px;align-items:start;gap:8px;display:grid}.subject-grid .ant-form-item{margin-bottom:8px}.subject-grid-head{color:#8c8c8c;margin-bottom:6px;font-size:12px}.subject-no{color:#8c8c8c;text-align:center;padding-top:5px}.class-tags{flex-wrap:wrap;align-items:center;gap:4px;display:flex}.class-tags .ant-tag{cursor:pointer;margin:0}.kind-cards{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:8px;width:100%;display:grid!important}.kind-card{border:1px solid #e3e6f0;border-radius:8px;padding:10px 12px;align-items:flex-start!important;margin:0!important}.kind-card.ant-radio-wrapper-checked{background:#f4f5fd;border-color:#2f3e9e}.kind-card b{display:block}.kind-card .kind-hint{color:#6b7084;font-size:12px;line-height:1.35;display:block}.ds-tools{background:#f6f7fb;border-radius:8px;margin-bottom:14px;padding:10px 12px}.cds-grid{grid-template-columns:26px 1.3fr 1.1fr 110px 110px 76px 1.2fr 36px;align-items:start;gap:8px;display:grid}.cds-grid .ant-form-item{margin-bottom:8px}.cds-head{color:#8c8c8c;margin-bottom:6px;font-size:12px}.cds-no{color:#8c8c8c;text-align:center;padding-top:5px}.cds-off .ant-select{opacity:.6}.mk-sheet .ant-table-tbody>tr>td{padding:4px 6px!important}.mk-head{flex-direction:column;line-height:1.25;display:flex}.mk-head span{color:#8c8c8c;font-size:11px;font-weight:400}.mk-box{text-align:center;width:72px!important}.mk-typed{background:#fffbe6!important}.mk-absent{font-weight:600;color:#b42318!important;background:#fde8e6!important}.rs-numbers{background:#fafbfd;border-top:1px solid #f0f0f0;border-bottom:1px solid #f0f0f0;padding:14px 20px}.rs-fail{color:#b42318;font-weight:600}.rs-pos{border-radius:13px;justify-content:center;align-items:center;min-width:26px;height:26px;font-weight:600;display:inline-flex}.rs-pos-1{background:#fff1b8}.rs-pos-2{background:#eef0f5}.rs-pos-3{background:#fbe3cf}.row-past>td{opacity:.55}.ds-paper-ready{background:#eefaf2;border-color:#b7e1c5}.qp-file{border:1px solid #e3e6f0;border-radius:8px;padding:10px 12px}.tt-scroll{overflow-x:auto}.tt-grid{border-collapse:collapse;table-layout:fixed;width:100%;min-width:760px}.tt-grid th,.tt-grid td{vertical-align:middle;text-align:center;border:1px solid #e3e6f0;padding:6px}.tt-grid thead th{background:#f5f6fa;font-weight:500}.tt-grid thead th b,.tt-grid thead th small{display:block}.tt-grid thead th small{color:#6b7280;font-size:11.5px}.tt-grid .tt-day{text-align:left;background:#f5f6fa;width:110px;font-weight:600}.tt-grid .tt-break{background:#f0f1f5;width:46px}.tt-break-label{writing-mode:vertical-rl;color:#8a8fa3;font-size:11px;display:inline-block}.tt-box{background:#f1f3fd;border-radius:6px;flex-direction:column;gap:2px;padding:4px 6px;line-height:1.3;display:flex}.tt-box b{color:#1f2a6b;font-weight:600}.tt-box span{color:#5b6178;text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.tt-free{color:#b5b9c9;font-size:12px}.tt-edit{text-align:left;flex-direction:column;gap:4px;min-width:0;display:flex}.tt-edit .ant-select{width:100%}.tt-edit-error .ant-select-selector,.tt-edit-error .ant-select{border-color:#d2402e!important}.tt-edit-msg{-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:11px;line-height:1.25;display:-webkit-box;overflow:hidden}.tt-top-row td,.tt-top-row th{background:#fffbe8!important}.tt-every{color:#8a6d00}.tt-break-row>td{background:#f5f6fa}.tt-side{border-collapse:collapse;table-layout:fixed;width:100%}.tt-side th,.tt-side td{vertical-align:middle;text-align:center;border:1px solid #e3e6f0;padding:5px 6px}.tt-side thead th{z-index:1;background:#f5f6fa;font-weight:500;position:sticky;top:0}.tt-side thead th b,.tt-side thead th small,.tt-side-period b,.tt-side-period small{display:block}.tt-side thead th small,.tt-side-period small{color:#6b7280;font-size:11px}.tt-side .tt-side-day{text-align:left;background:#f5f6fa;width:100px;font-weight:600}.tt-side .tt-side-period{text-align:left;background:#fafbfd;width:110px}.tt-side .tt-side-extra{text-align:left;width:260px}.tt-side tr.tt-side-first>*{border-top:2px solid #c9cee3}.tt-side tr.tt-side-break>td{background:#f0f1f5;height:10px;padding:2px 6px}.tt-side tr.tt-side-break .tt-side-period b{color:#8a8fa3;font-weight:400}.tt-side tr.tt-side-all-free>td:not(.tt-side-period){background:#eefaf2}.tt-free-cell{color:#1f7a45;font-size:12px}.tt-box.is-marked{background:#fdecea;outline:2px solid #d2402e}.tt-teacher-link{font:inherit;color:#2f3e9e;cursor:pointer;background:0 0;border:0;padding:0;font-size:12px}.tt-teacher-link:hover{text-decoration:underline}.tt-no-teacher{color:#b45309;font-size:12px}.tt-free-chip{font:inherit;color:#1f7a45;cursor:pointer;background:#eefaf2;border:1px solid #b7e1c5;border-radius:10px;padding:1px 8px;font-size:12px}.tt-free-chip.is-marked,.tt-marked-chip{color:#b42318;background:#fdecea;border-color:#d2402e}.tt-marked-chip{border:1px solid #d2402e;border-radius:10px;padding:2px 10px;font-size:12.5px}.tt-free-more{color:#6b7280;font-size:12px}.tt-load{align-items:center;gap:8px;display:flex}.tt-load-bar{background:#eef0f6;border-radius:5px;flex:1;height:10px;overflow:hidden}.tt-load-bar span{background:#2f3e9e;border-radius:5px;height:100%;display:block}.tt-load-bar span.is-high,.tt-legend.is-high{background:#d2402e}.tt-load-bar span.is-low,.tt-legend.is-low{background:#52b788}.tt-legend{vertical-align:middle;border-radius:2px;width:10px;height:10px;display:inline-block}.tt-day-count.is-full{color:#b42318;font-weight:600}.tt-day-count.is-none{color:#b5b9c9}.tt-teachers{grid-template-columns:320px minmax(0,1fr);align-items:start;gap:16px;display:grid}.tt-teachers-list{flex-direction:column;max-height:calc(100vh - 150px);display:flex;position:sticky;top:16px}.tt-teachers-list>.ant-card-body{overflow:hidden}.tt-teachers-head{border-bottom:1px solid #eef0f6;flex-direction:column;gap:8px;padding:12px;display:flex}.tt-teachers-scroll{flex:1;min-height:0;padding:4px 0;overflow-y:auto}.tt-teachers-foot{color:#6b7280;border-top:1px solid #eef0f6;padding:8px 12px;font-size:12px}.tt-teacher-row{width:100%;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-left:3px solid #0000;align-items:flex-start;gap:10px;padding:8px 12px;display:flex}.tt-teacher-row:hover:not(:disabled){background:#f5f6fa}.tt-teacher-row.is-on{background:#eef0fb;border-left-color:#2f3e9e}.tt-teacher-row:disabled{cursor:not-allowed;opacity:.55}.tt-teacher-main{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.tt-teacher-name{color:#1f2433;font-weight:600}.tt-teacher-sub{color:#6b7280;text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.tt-teacher-count{color:#5b6178;font-size:12px}.tt-picked-chip{background:#eef0fb;border:1px solid #c9cee3;border-radius:12px;align-items:center;gap:4px;padding:2px 4px 2px 10px;font-size:12.5px;display:inline-flex}.tt-picked-chip button{color:#6b7280;cursor:pointer;background:0 0;border:0;padding:2px 4px;font-size:10px;display:inline-flex}@media (width<=991px){.tt-teachers{grid-template-columns:1fr}.tt-teachers-list{max-height:420px;position:static}}.tt-teachers.is-folded{grid-template-columns:44px minmax(0,1fr)}.tt-teachers-rail{width:44px;height:calc(100vh - 150px);font:inherit;color:#2f3e9e;cursor:pointer;background:#fff;border:1px solid #e3e6f0;border-radius:8px;flex-direction:column;align-items:center;gap:10px;padding:12px 0;display:flex;position:sticky;top:16px}.tt-teachers-rail:hover{background:#eef0fb}.tt-rail-text{writing-mode:vertical-rl;font-size:13px;font-weight:500;transform:rotate(180deg)}.tt-teachers-side .tt-scroll,.tt-compare .tt-scroll{max-height:calc(100vh - 250px);overflow:auto}@media (width<=991px){.tt-teachers.is-folded{grid-template-columns:1fr}.tt-teachers-rail{flex-direction:row;justify-content:center;width:100%;height:auto;position:static}.tt-rail-text{writing-mode:horizontal-tb;transform:none}}
