.app-shell nav{max-height:calc(100vh - 132px);padding-bottom:8px;overflow-y:auto}.app-shell nav button{height:40px;min-height:40px;font-size:13px}.payroll-toolbar{justify-content:flex-start;align-items:center}.payroll-toolbar input,.payroll-toolbar select,.module-filters input,.module-filters select,.module-inline-form input,.module-inline-form select,.transfer-form input,.transfer-form select{color:#304158;background:#fff;border:1px solid #d8e3ef;border-radius:7px;height:40px;padding:0 12px}.payroll-toolbar input,.payroll-toolbar select{min-width:190px}.payroll-toolbar button:disabled,.payroll-detail-actions button:disabled{opacity:.46;cursor:not-allowed}.pay-panel{border:1px solid var(--line);background:#fff;border-radius:10px;padding:0 18px 18px;overflow:hidden;box-shadow:0 3px 12px #5f7fa90b}.pay-panel+.pay-panel{margin-top:15px}.pay-panel>header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;height:58px;margin-bottom:16px;display:flex}.pay-panel>header h2{margin:0;font-size:16px}.pay-panel>header button{border:1px solid var(--line);background:#fff;border-radius:7px;height:36px;padding:0 14px}.teacher-kpis,.payslip-summary,.payroll-bottom-kpis{grid-template-columns:repeat(5,1fr);gap:12px;margin-bottom:15px;display:grid}.teacher-kpis>div,.payslip-summary>div,.payroll-bottom-kpis>div,.student-payroll-hero>.pay-panel~div{border:1px solid var(--line);background:#fff;border-radius:9px;flex-direction:column;justify-content:center;align-items:center;min-height:92px;display:flex}.teacher-kpis span,.payslip-summary span,.payroll-bottom-kpis span,.student-payroll-hero>.pay-panel~div span{color:#7b899d;font-size:12px}.teacher-kpis b,.payslip-summary b,.payroll-bottom-kpis b,.student-payroll-hero>.pay-panel~div b{margin-top:7px;font-size:22px}.purple{color:#7856dc!important}.orange{color:#ec801f!important}.tag-muted{color:#758195;background:#f1f3f6}.module-filters{gap:12px;margin-bottom:14px;display:flex}.module-filters input{min-width:230px}.module-filters select{min-width:170px}.module-inline-form{background:#f7faff;border:1px solid #dbe9fb;border-radius:8px;grid-template-columns:repeat(4,1fr) auto auto;gap:10px;margin-bottom:14px;padding:14px;display:grid}.module-inline-form button{border:1px solid var(--line);background:#fff;border-radius:7px;padding:0 14px}.module-note{margin:0 0 14px}.salary-rule-note{margin-bottom:15px}.salary-rule-layout{grid-template-columns:260px 1fr;gap:15px;display:grid}.salary-rule-layout .pay-panel+.pay-panel{margin-top:0}.campus-picker{flex-direction:column;gap:9px;display:flex}.campus-picker button{justify-content:space-between;align-items:center;display:flex;background:#f8fafc!important;border:1px solid #dfe7f1!important;height:58px!important}.campus-picker button.active{color:#0a68f4;background:#edf5ff!important;border-color:#80b4ff!important}.campus-picker span{color:#8996a8;font-size:11px}.rules-form{grid-template-columns:1fr 1fr 1fr auto auto}.match-example{color:#52657d;background:#f5f9ff;border:1px solid #d5e7ff;border-radius:8px;margin-top:16px;padding:14px 17px}.match-example h3{color:#25405f;margin:0 0 8px;font-size:14px}.match-example p{margin:5px 0}.payroll-middle{grid-template-columns:1.7fr .8fr;gap:15px;margin-bottom:15px;display:grid}.payroll-middle .pay-panel+.pay-panel{margin-top:0}.module-empty{color:#8290a2;background:#fafbfd;border-radius:8px;place-items:center;min-height:120px;display:grid}.changed-students p{border-bottom:1px solid var(--line);justify-content:space-between;margin:0;padding:10px 0;display:flex}.changed-students span{color:#e37d21}.changed-students .info{margin-top:14px}.payroll-footnote{margin-top:15px}.payroll-detail-actions{align-items:center;gap:9px;display:flex}.payslip-summary{grid-template-columns:repeat(4,1fr);margin:0}.payslip-summary>div{background:#f8fbff}.payroll-bottom-kpis{margin-top:15px}.segment-row td{background:#fbfcfe;padding:0 12px 14px!important}.segment-card{color:#6c5c42;background:#fff7e9;border:1px solid #f4d29b;border-radius:7px;align-items:center;gap:15px;padding:11px 14px;display:flex}.segment-card b{margin-right:auto}.segment-card span{font-size:11px}.segment-card i{color:#d97516;margin-right:7px;font-style:normal}.teacher-aware-summary{grid-template-columns:repeat(5,1fr);gap:12px;display:grid}.teacher-aware-summary>div{border:1px solid var(--line);background:#fff;border-radius:9px;flex-direction:column;justify-content:center;align-items:center;height:98px;display:flex}.teacher-aware-summary span{color:#7c899c}.teacher-aware-summary b{margin-top:6px;font-size:24px}.teacher-filter{grid-template-columns:1.5fr 1fr}.teacher-filter input,.teacher-filter select{border:1px solid #dce5f0;border-radius:7px;height:40px;padding:0 12px}.student-payroll-hero{grid-template-columns:1.5fr repeat(3,.7fr);gap:15px;margin-bottom:15px;display:grid}.student-payroll-hero>.pay-panel{margin:0}.student-payroll-hero>.pay-panel>header{margin-bottom:10px}.student-payroll-hero h2{margin:0 0 12px}.student-payroll-hero p{color:#5e6d82;margin:7px 0}.student-payroll-layout{grid-template-columns:1.5fr .75fr;gap:15px;margin-bottom:15px;display:grid}.student-payroll-layout .pay-panel+.pay-panel{margin:0}.transfer-form{flex-direction:column;gap:12px;display:flex}.transfer-form label{flex-direction:column;gap:7px;display:flex}.transfer-form p{color:#758398;line-height:1.7}.transfer-form button{border:0;border-radius:7px;height:40px}.current-teacher-box{background:#f3f8ff;border:1px solid #d5e6ff;border-radius:7px;margin-top:14px;padding:13px}.dashboard-payroll-reminder{z-index:5;background:#fff;border:1px solid #cce0ff;border-radius:12px;width:270px;padding:18px;position:fixed;bottom:22px;right:24px;box-shadow:0 12px 34px #395e8a24}.dashboard-payroll-reminder h3{color:#1f3350;margin:0 0 12px}.dashboard-payroll-reminder p{color:#6b7a90;justify-content:space-between;margin:8px 0;display:flex}.dashboard-payroll-reminder strong{color:#8090a5;margin-top:15px;font-size:12px;display:block}.dashboard-payroll-reminder em{color:#e24c51;margin:5px 0 13px;font-size:23px;font-style:normal;font-weight:800;display:block}.dashboard-payroll-reminder button{color:#fff;background:#1677ff;border:0;border-radius:7px;width:100%;height:38px}.payroll-setting-cards{margin:-4px 24px 24px}.payroll-setting-cards .pay-panel{padding-bottom:14px}.payroll-setting-cards .pay-panel+.pay-panel{margin-top:0}@media (width<=1250px){.payroll-kpis,.teacher-kpis{grid-template-columns:repeat(3,1fr)}.salary-rule-layout,.payroll-middle,.student-payroll-layout{grid-template-columns:1fr}.salary-rule-layout .pay-panel+.pay-panel,.payroll-middle .pay-panel+.pay-panel,.student-payroll-layout .pay-panel+.pay-panel{margin-top:0}.dashboard-payroll-reminder{display:none}}.payroll-screen{min-width:0}.pay-panel{min-width:0;overflow:auto hidden}.payroll-toolbar,.module-filters,.payroll-detail-actions,.segment-card{flex-wrap:wrap}.payroll-toolbar input,.payroll-toolbar select{flex:180px;min-width:160px}.payroll-toolbar button{flex:auto;padding:0 14px}.module-filters input,.module-filters select{flex:180px;min-width:0}.module-inline-form,.teacher-kpis,.payslip-summary,.payroll-bottom-kpis,.teacher-aware-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.student-payroll-hero{grid-template-columns:repeat(2,minmax(0,1fr))}@media (width<=1000px){.module-inline-form,.rules-form,.teacher-kpis,.payslip-summary,.payroll-bottom-kpis,.teacher-aware-summary,.payroll-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.student-payroll-hero{grid-template-columns:1fr}.payroll-setting-cards{margin:0 12px 18px}.segment-card b{width:100%;margin-right:0}}:root{--blue:#1677ff;--text:#10213d;--muted:#71809a;--line:#e4ebf5;--bg:#f6f9fe;--green:#12b76a;--red:#ff4d4f}*{box-sizing:border-box}body{color:var(--text);background:var(--bg);margin:0;font:14px/1.45 -apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif}button,input{font:inherit}.brand{color:#0873f9;align-items:center;gap:10px;display:flex}.brand-mark{color:#ffd43b;clip-path:polygon(50% 0,61% 33%,96% 35%,68% 57%,79% 92%,50% 72%,21% 92%,32% 57%,4% 35%,39% 33%);background:#0b75ff;place-items:center;width:42px;height:42px;display:grid}.brand strong{font-size:23px;line-height:1;display:block}.brand small{margin-top:6px;font-size:11px;font-weight:700;display:block}.login-page{background:radial-gradient(circle at 9%,#fff 0 25%,#0000 44%),linear-gradient(120deg,#fff 0%,#f8fbff 48%,#eaf3ff 100%);min-height:100vh;position:relative;overflow:hidden}.login-page:after{content:"";opacity:.65;border:130px solid #f3f7fd;border-radius:50%;width:850px;height:850px;position:absolute;top:-390px;right:-230px;transform:rotate(-35deg)}.login-brand{z-index:2;position:absolute;top:30px;left:34px}.login-story{z-index:2;width:48%;position:absolute;top:18%;left:7.6%}.story-copy h1{margin:0 0 10px;font-size:25px;line-height:1.8}.story-copy p{color:var(--muted);font-size:15px;line-height:1.8}.mini-dashboard{background:#ffffffdc;border:1px solid #e1e9f3;border-radius:15px;grid-template-columns:1fr 1fr;gap:13px;width:520px;height:232px;margin-top:52px;padding:22px;display:grid;box-shadow:0 14px 34px #6c8db520}.mini-dashboard div{background:linear-gradient(135deg,#fff,#eef5ff);border-radius:11px;flex-direction:column;padding:16px;display:flex}.mini-dashboard div:first-child{grid-row:1/3}.mini-dashboard b{margin-bottom:28px;font-size:15px}.mini-dashboard span{color:#5d6b82;font-size:12px}.mini-dashboard strong{color:var(--blue);margin-top:10px;font-size:24px}.feature-row{justify-content:space-between;width:600px;margin-top:55px;display:flex}.feature-row span{text-align:center;flex-direction:column;width:130px;display:flex}.feature-row i{color:var(--blue);font-size:27px;font-style:normal}.feature-row b{margin:9px 0 4px;font-size:13px}.feature-row small{color:#7d899b}.login-card{z-index:3;text-align:center;background:#fffffff2;border:1px solid #e3ebf5;border-radius:16px;width:430px;padding:65px 50px 48px;position:absolute;top:21%;right:7.5%;box-shadow:0 18px 55px #567aa31f}.login-card h2{margin:0 0 12px;font-size:28px}.login-card>p{color:#8491a5;margin:0 0 40px;font-size:16px}.login-card>label{color:#71809a;text-align:left;border:1px solid #d9e2ee;border-radius:7px;align-items:center;height:54px;margin:0 0 18px;padding:0 17px;display:flex}.login-card input{color:#22324c;background:0 0;border:0;outline:0;flex:1;padding:0 13px}.remember{color:#64738a;text-align:left;justify-content:space-between;margin-bottom:30px;display:flex}.remember label{gap:8px;display:flex}.remember em{color:var(--red);font-style:normal}.login-card>button{color:#fff;cursor:pointer;background:linear-gradient(100deg,#156fff,#19c998);border:0;border-radius:7px;width:100%;height:54px;font-size:17px;font-weight:700}.internal{color:#6c7890;justify-content:center;align-items:center;gap:8px;margin:34px 0 15px;display:flex}.internal:before,.internal:after{content:"";background:#dfe6f0;width:95px;height:1px}.login-card>small{color:#97a2b3}.login-page footer{text-align:center;color:#9ba6b6;z-index:2;width:100%;font-size:12px;position:absolute;bottom:24px}.app-shell{min-width:1180px;min-height:100vh;display:flex}.app-shell aside{z-index:5;border-right:1px solid var(--line);background:#fff;width:195px;height:100vh;padding:23px 10px;position:fixed}.app-shell aside .brand{margin-bottom:27px;margin-left:13px}.app-shell nav{flex-direction:column;gap:5px;display:flex}.app-shell nav button,.collapse{color:#34445e;text-align:left;cursor:pointer;background:#fff;border:0;border-radius:8px;height:46px;padding:0 15px;font-weight:500}.app-shell nav button i{color:#637594;width:30px;font-size:18px;font-style:normal;display:inline-block}.app-shell nav button.active{color:#fff;background:linear-gradient(135deg,#1980ff,#075fed);box-shadow:0 5px 12px #1677ff2d}.app-shell nav button.active i{color:#fff}.collapse{border:1px solid var(--line);color:#8090a5;width:175px;position:absolute;bottom:16px;left:10px}.workspace{width:calc(100% - 195px);margin-left:195px}.workspace>header{border-bottom:1px solid var(--line);background:#fff;justify-content:space-between;align-items:center;height:68px;padding:0 24px;display:flex}.workspace header>div:first-child{align-items:center;gap:20px;display:flex}.workspace h1{margin:0;font-size:23px}.workspace header span{color:#7a8799}.header-actions{align-items:center;gap:14px;display:flex}.header-actions button,.header-actions label{color:#67758a;background:#fff;border:1px solid #dce5f1;border-radius:8px;align-items:center;height:40px;padding:0 14px;display:flex}.header-actions label{color:#a1adbd;width:220px}.header-actions b{font-size:21px;position:relative}.header-actions sup{color:#fff;background:red;border-radius:10px;padding:1px 5px;font-size:9px;position:absolute;top:-6px}.avatar{background:#e7f0ff;border-radius:50%;place-items:center;width:34px;height:34px;font-weight:700;color:#1169ef!important;display:grid!important}.content{max-width:1540px;margin:auto;padding:24px}.stat-grid,.small-grid{grid-template-columns:repeat(4,1fr);gap:16px;display:grid}.stat,.small-stat,.panel{border:1px solid var(--line);background:#fff;border-radius:10px;box-shadow:0 2px 5px #5476a00a}.stat{height:152px;padding:23px 18px;display:flex;position:relative;overflow:hidden}.stat>i,.small-stat>i{color:#fff;border-radius:50%;place-items:center;width:48px;height:48px;margin-right:14px;font-size:22px;font-style:normal;display:grid}.stat>div:nth-child(2){flex-direction:column;display:flex}.stat span,.small-stat span{font-size:15px}.stat strong{margin:8px 0 14px;font-size:27px}.stat small,.small-stat small{color:#7d8999}.stat em{color:var(--red);font-style:normal}.stat.blue{background:linear-gradient(135deg,#fff,#edf5ff)}.stat.red{background:linear-gradient(135deg,#fff,#fff1f1)}.stat.green{background:linear-gradient(135deg,#fff,#edf9f3)}.stat.cyan{background:linear-gradient(135deg,#fff,#edfaff)}.stat.blue>i{background:#3186f8}.stat.red>i{background:#ff6b72}.stat.green>i{background:#45c88b}.stat.cyan>i{background:#39bae8}.stat.blue strong,.stat.cyan strong{color:#0d6fee}.stat.red strong{color:#f04444}.stat.green strong{color:#10a763}.spark{color:var(--blue);letter-spacing:-6px;position:absolute;bottom:23px;right:15px}.small-grid{margin-top:16px}.small-stat{align-items:center;height:108px;padding:20px;display:flex}.small-stat>i{color:var(--blue);background:#edf5ff}.small-stat div{flex-direction:column;display:flex}.small-stat strong{margin:3px 0;font-size:24px}.dashboard-row{grid-template-columns:1.05fr 1.1fr;gap:16px;margin-top:16px;display:grid}.panel{padding:0 14px 12px;overflow:hidden}.panel-title{justify-content:space-between;align-items:center;height:52px;display:flex}.panel-title h2{margin:0;font-size:16px}.panel-title button{border:1px solid var(--line);color:#6d7a8d;background:#fff;border-radius:6px;padding:6px 11px}.legend{color:#66748a;gap:8px;font-size:12px;display:flex}.legend i{border-radius:50%;width:8px;height:8px;margin:5px 0 0 10px}.blue-dot{background:var(--blue)}.red-dot{background:var(--red)}.green-dot{background:var(--green)}table{border-collapse:collapse;width:100%;font-size:12px}th{color:#43516a;background:#f5f8fc;font-weight:500}th,td{text-align:left;white-space:nowrap;border-bottom:1px solid #e5ebf3;padding:10px 12px}tfoot th{color:var(--blue);font-weight:700}.green{color:var(--green)!important}.red{color:var(--red)!important}.chart{justify-content:space-around;align-items:flex-end;height:215px;margin-top:5px;padding:20px 15px 30px;display:flex;position:relative}.y-lines{flex-direction:column;justify-content:space-between;display:flex;position:absolute;inset:10px 0 30px}.y-lines i{border-top:1px dashed #e3eaf3}.bars{z-index:1;justify-content:center;align-items:flex-end;gap:7px;width:13%;height:100%;display:flex;position:relative}.bars span{background:linear-gradient(#2e86ff,#0c67ee);border-radius:3px 3px 0 0;width:18px}.bars span:nth-child(2){background:linear-gradient(#ff777b,#fa4a50)}.bars b{color:#748197;font-size:10px;font-weight:400;position:absolute;bottom:-25px}.bottom-row{grid-template-columns:.8fr 1.2fr}.bottom-row table{font-size:11px}@media (width<=1250px){.header-actions label{display:none}.content{padding:16px}.stat-grid,.small-grid{gap:10px}.stat{padding:18px 12px}.stat>i{width:40px;height:40px}.stat strong{font-size:22px}}html,body{min-width:0;max-width:100%}.app-shell,.workspace,.content,.panel{min-width:0}@media (width<=1200px){.login-story{display:none}.login-card{top:15%;left:50%;right:auto;transform:translate(-50%)}.app-shell:not(.collapsed) aside{width:72px}.app-shell:not(.collapsed) aside .brand>div,.app-shell:not(.collapsed) nav button span{display:none}.app-shell:not(.collapsed) aside .brand{margin-left:5px}.app-shell:not(.collapsed) nav button{text-align:center;padding:0 15px}.app-shell:not(.collapsed) .collapse{width:52px;font-size:0}.app-shell:not(.collapsed) .collapse:after{content:"≫";font-size:20px}.app-shell:not(.collapsed) .workspace{width:calc(100% - 72px);margin-left:72px}.workspace>header{gap:16px}.workspace header>div:first-child>span{display:none}.header-actions{gap:8px;min-width:0}.header-actions>button:first-of-type{white-space:nowrap;max-width:180px;overflow:hidden}.content{width:100%}.stat-grid,.small-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-row,.bottom-row{grid-template-columns:minmax(0,1fr)}}@media (width<=760px){.login-card{width:min(430px,92vw);padding:50px 28px 38px}.workspace>header{height:auto;min-height:68px;padding:10px 14px}.workspace h1{font-size:19px}.header-actions>button:first-of-type{width:42px;padding:0;font-size:0}.header-actions>button:first-of-type:after{content:"⌕";font-size:18px}.user-trigger strong{display:none}.content{padding:12px}.stat-grid,.small-grid{grid-template-columns:1fr}}.content>.panel+.panel,.detail-page>.panel+.panel{margin-top:16px}.panel-title>button,.panel-title>div button{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:7px;padding:7px 12px}.primary{box-shadow:0 4px 10px #1677ff25;color:#fff!important;background:linear-gradient(135deg,#2181ff,#0865f4)!important;border:0!important}.small{padding:6px 11px!important}.link{color:var(--blue);cursor:pointer;background:0 0;border:0;padding:3px 7px}.danger-link{color:var(--red);cursor:pointer;background:0 0;border:0;padding:3px 7px}.muted{color:#96a2b3}.blue-text{color:var(--blue)!important}.tag{border-radius:5px;align-items:center;padding:3px 8px;font-size:11px;display:inline-flex}.tag-green{color:#0d9f61;background:#eaf9f2}.tag-red{color:#ec464c;background:#fff0f0}.tag-orange{color:#ee7c19;background:#fff5e9}.toast{color:#108a56;background:#ecfbf4;border:1px solid #bcefd5;border-radius:7px;margin:12px 0;padding:11px 14px}.info{color:#416189;background:#eef6ff;border:1px solid #cfe3ff;border-radius:7px;padding:11px 14px}.empty{color:#8997aa;flex-direction:column;justify-content:center;align-items:center;height:190px;display:flex}.empty i{color:#a9c8f7;font-size:42px;font-style:normal}.empty b{margin:8px;font-size:15px}.empty span{font-size:12px}.table-scroll{overflow:auto}.table-panel{padding:0}.table-panel table{min-width:980px}.table-panel td{text-overflow:ellipsis;max-width:190px;overflow:hidden}.pagination{justify-content:flex-end;align-items:center;gap:7px;padding:15px;display:flex}.pagination span{color:#6f7c90;margin-right:auto}.pagination button{border:1px solid var(--line);color:#68768b;background:#fff;border-radius:5px;min-width:31px;height:31px}.pagination button.active{background:var(--blue);color:#fff}.quick-row{white-space:nowrap;align-items:center;gap:0;padding:16px 7px 9px;display:flex}.quick-row b{margin-right:10px;font-size:12px}.quick-row b.push{margin-left:auto}.quick-row button{border:1px solid var(--line);color:#5f6e84;cursor:pointer;background:#fff;height:34px;margin-left:-1px;padding:0 14px}.quick-row button.selected{color:var(--blue);background:#edf5ff;border-color:#9dc5ff;position:relative}.filter-panel{padding:0 16px 16px}.filter-grid{grid-template-columns:repeat(4,1fr);gap:13px;padding:10px 7px;display:grid}.field-select,.search-field{align-items:center;gap:8px;display:flex}.field-select>span,.search-field>span{white-space:nowrap;color:#526078}.field-select select,.search-field input,.report-filters input{color:#48566c;background:#fff;border:1px solid #dce5f0;border-radius:6px;outline:none;width:100%;height:38px;padding:0 10px}.search-field{grid-column:span 2}.filter-actions{grid-column:span 2;justify-content:flex-end;gap:10px;display:flex}.filter-actions button{border:1px solid var(--line);background:#fff;border-radius:6px;height:38px;padding:0 20px}.summary-strip{border:1px solid var(--line);background:#fff;border-radius:10px;grid-template-columns:repeat(5,1fr);align-items:center;height:92px;margin:16px 0;display:grid}.summary-strip>div{border-right:1px solid var(--line);flex-direction:column;align-items:center;display:flex}.summary-strip>div:last-child{border:0}.summary-strip b{font-size:20px}.summary-strip span{color:#7c899b;margin-top:5px;font-size:12px}.form-layout{grid-template-columns:1.2fr .8fr;gap:20px;display:grid}.expense-layout{grid-template-columns:1.35fr .75fr}.form-panel{padding:0 22px 22px}.form-panel>.panel-title{height:62px}.form-grid{grid-template-columns:1fr 1fr;gap:18px 20px;display:grid}.form-row{color:#33415a;flex-direction:column;gap:8px;display:flex}.form-row>span{font-weight:500}.form-row em{color:var(--red);margin-right:6px;font-style:normal}.form-row input,.form-row select,.form-row textarea{color:#24344d;background:#fff;border:1px solid #d9e3ef;border-radius:7px;outline:none;height:44px;padding:0 13px}.form-row textarea{resize:vertical;height:84px;padding-top:10px}.form-row small{color:#8794a6}.span-2{grid-column:span 2}.allocation-box{background:#f5f9ff;border:1px solid #cfe2ff;border-radius:8px;padding:16px}.allocation-box>b{color:var(--blue);margin-bottom:16px;display:block}.segmented{height:44px;display:flex}.segmented button{color:#42516a;cursor:pointer;background:#fff;border:1px solid #d9e3ef;flex:1}.segmented button:first-child{border-radius:7px 0 0 7px}.segmented button:last-child{border-radius:0 7px 7px 0}.segmented button.active{color:var(--blue);background:#edf5ff;border-color:#73aaff;font-weight:700}.money-input{border:1px solid #d9e3ef;border-radius:7px;height:44px;display:flex;overflow:hidden}.money-input span{background:#f6f8fb;border-right:1px solid #d9e3ef;place-items:center;width:45px;display:grid}.money-input input{flex:1;border:0!important;border-radius:0!important}.form-actions{border-top:1px solid var(--line);gap:14px;margin-top:23px;padding-top:20px;display:flex}.form-actions button,.sticky-actions button{cursor:pointer;background:#fff;border:1px solid #d9e3ef;border-radius:7px;min-width:150px;height:42px}.preview-panel{margin-bottom:18px}.preview-total{border:1px solid var(--line);border-radius:7px;justify-content:space-between;align-items:center;height:68px;margin:0 0 12px;padding:0 18px;display:flex}.preview-total strong{color:var(--green);font-size:20px}.help-panel{padding:0 20px 18px}.help-panel p,.help-panel li{color:#66768d;line-height:1.9}.help-panel b{color:#25354d}.detail-top{grid-template-columns:.7fr 1.3fr;gap:16px;display:grid}.detail-list{border:1px solid var(--line);border-bottom:0;border-radius:7px;margin:0;overflow:hidden}.detail-list div{border-bottom:1px solid var(--line);display:flex}.detail-list dt{color:#69778c;background:#f8fafc;width:135px;padding:10px 12px}.detail-list dd{margin:0;padding:10px 12px;font-weight:500}.flow-cards{justify-content:center;align-items:center;gap:18px;padding:25px 10px;display:flex}.flow-cards>div{background:#f5f9ff;border:1px solid #9ec4ff;border-radius:9px;flex-direction:column;justify-content:center;align-items:center;width:160px;height:150px;display:flex}.flow-cards>i{color:var(--blue);font-size:36px;font-style:normal}.flow-cards b{color:var(--blue);margin:10px 0;font-size:21px}.flow-cards small{color:#6d7a8d}.flow-cards .green-card{background:#f3fbf7;border-color:#99d9b8}.flow-cards .green-card b{color:var(--green)}.flow-cards .purple-card{background:#faf6ff;border-color:#c9aff8}.flow-cards .purple-card b{color:#7950d9}.refund-form{border:1px solid var(--line);background:#f7faff;border-radius:7px;grid-template-columns:1fr 1fr auto;align-items:end;gap:12px;margin:0 0 15px;padding:15px;display:grid}.refund-form button{border:0;border-radius:7px;height:44px;padding:0 18px}.sticky-actions{background:linear-gradient(#0000,#f6f9fe 25%);justify-content:space-between;padding:15px 0;display:flex;position:sticky;bottom:0}.report-filters{justify-content:flex-end;gap:12px;margin:-62px 0 24px;display:flex}.report-filters>*{width:180px}.report-stats{grid-template-columns:repeat(5,1fr);gap:14px;display:grid}.report-stats .stat{height:135px}.stat.purple{background:linear-gradient(135deg,#fff,#f5f0ff)}.stat.purple>i{background:#7b61e8}.stat.purple strong{color:#7455df}.stat.orange{background:linear-gradient(135deg,#fff,#fff5e9)}.stat.orange>i{background:#ff8b35}.stat.orange strong{color:#f37a20}.health{border-radius:7px;margin:15px 0;padding:12px}.health.positive{color:#128652;background:#effaf4}.health.negative{color:#d84343;background:#fff2f2}.report-charts{grid-template-columns:1fr 1fr 1.4fr;gap:15px;display:grid}.donut-wrap{align-items:center;gap:24px;height:220px;padding:12px;display:flex}.donut{border-radius:50%;flex:none;place-items:center;width:145px;height:145px;display:grid}.donut>span{background:#fff;border-radius:50%;flex-direction:column;justify-content:center;align-items:center;width:85px;height:85px;display:flex}.donut b{font-size:14px}.donut small{color:#8a97a8}.donut-legend{flex:1}.donut-legend div{grid-template-columns:8px 1fr auto auto;align-items:center;gap:6px;margin:12px 0;font-size:11px;display:grid}.donut-legend i{background:var(--blue);border-radius:50%;width:7px;height:7px}.donut-legend span{color:#7c899c}.report-charts .chart{height:190px}.students-page>.student-summary{grid-template-columns:repeat(4,1fr);gap:16px;display:grid}.student-summary .stat{height:120px}.student-toolbar{border:1px solid var(--line);background:#fff;border-radius:9px;grid-template-columns:1.3fr repeat(3,1fr) auto;gap:12px;margin:18px 0;padding:15px;display:grid}.student-toolbar>input,.inline-form input,.inline-form select,.add-setting input{border:1px solid #dce5f0;border-radius:6px;height:38px;padding:0 10px}.student-toolbar .field-select{width:100%}.student-toolbar button{border:0;border-radius:6px;padding:0 18px}.inline-form{margin-bottom:16px;padding:0 15px 15px}.inline-form form{grid-template-columns:1fr 1fr 1fr 1.3fr auto auto;gap:10px;display:grid}.inline-form button{border:1px solid var(--line);background:#fff;border-radius:6px}.student-hero{grid-template-columns:1.45fr .72fr .72fr 1fr;gap:16px;margin-bottom:16px;display:grid}.student-hero>.panel,.student-hero>.stat{height:185px}.profile{align-items:center;height:100%;padding:15px;display:flex}.profile>i{color:#fff;background:linear-gradient(135deg,#8ab6ff,#4d78f5);border-radius:50%;place-items:center;width:92px;height:92px;font-size:36px;font-style:normal;display:grid}.profile h2{margin:0 0 10px;font-size:24px}.profile p{color:#54647b;margin:5px 0}.latest{flex-direction:column;padding:22px;display:flex}.latest span{color:#738198}.latest b{margin:12px 0;font-size:16px}.latest strong{font-size:19px}.latest button{align-self:flex-end;margin-top:17px}.notes{padding:8px 4px 18px}.notes p{color:#627187;border-bottom:1px solid var(--line);padding-bottom:10px}.settings-tabs{border-bottom:1px solid var(--line);gap:38px;height:54px;margin-bottom:16px;display:flex}.settings-tabs button{color:#31415a;cursor:pointer;background:0 0;border:0;font-size:15px}.settings-tabs button.active{color:var(--blue);border-bottom:2px solid var(--blue);font-weight:700}.add-setting{gap:8px;display:flex}.add-setting input{width:220px}.add-setting button{height:38px}.switch{color:#7f8b9d;background:0 0;border:0;align-items:center;gap:6px;display:flex}.switch i{background:#ccd5e0;border-radius:12px;width:34px;height:19px;display:block;position:relative}.switch i:after{content:"";background:#fff;border-radius:50%;width:15px;height:15px;transition:all .2s;position:absolute;top:2px;left:2px}.switch.on{color:var(--green)}.switch.on i{background:var(--blue)}.switch.on i:after{left:17px}.setting-cards{grid-template-columns:repeat(3,1fr);gap:15px;margin-top:16px;display:grid}.chips{flex-wrap:wrap;gap:7px;margin:12px 0;display:flex}.chips span{color:#53637a;background:#f0f5fb;border-radius:5px;padding:5px 9px}@media (width<=1350px){.quick-row{overflow:auto}.filter-grid{grid-template-columns:repeat(3,1fr)}.report-stats{grid-template-columns:repeat(5,1fr)}.report-stats .stat{padding:16px 9px}.report-stats .stat>i{display:none}.student-hero{grid-template-columns:1.2fr 1fr 1fr}.student-hero>.panel:last-child{display:none}.inline-form form{grid-template-columns:repeat(3,1fr)}}.modal-backdrop{z-index:100;background:#10213d66;place-items:center;padding:28px;display:grid;position:fixed;inset:0}.modal-card{background:#fff;border-radius:12px;width:min(860px,92vw);max-height:88vh;overflow:auto;box-shadow:0 24px 70px #10213d40}.modal-card>header{z-index:2;border-bottom:1px solid var(--line);background:#fff;justify-content:space-between;align-items:center;height:58px;padding:0 20px;display:flex;position:sticky;top:0}.modal-card>header h2{margin:0;font-size:17px}.modal-card>header button{cursor:pointer;background:#f3f6fa;border:0;border-radius:7px;width:34px;height:34px;font-size:22px}.modal-body{padding:20px}.compact-modal{width:min(520px,92vw)}.global-search-input{border:1px solid #b8d2f7;border-radius:8px;outline:none;width:100%;height:48px;padding:0 15px;font-size:15px}.search-results h3{color:#7d8ba0;margin:18px 0 7px;font-size:12px}.search-results>button{border:0;border-bottom:1px solid var(--line);text-align:left;cursor:pointer;background:#fff;grid-template-columns:35px 1fr auto;align-items:center;width:100%;min-height:48px;display:grid}.search-results>button:hover{background:#f4f8ff}.search-results>button i{color:var(--blue);font-style:normal}.search-results>button span{flex-direction:column;display:flex}.search-results>button small{color:#8b97a8;margin-top:3px}.search-results>button b{color:var(--blue);font-size:12px}.app-shell.collapsed aside{width:72px}.app-shell.collapsed aside .brand>div,.app-shell.collapsed nav button span{display:none}.app-shell.collapsed .brand{margin-left:5px}.app-shell.collapsed .collapse{width:52px;font-size:20px}.app-shell.collapsed .workspace{width:calc(100% - 72px);margin-left:72px}.app-shell.collapsed nav button{text-align:center;padding:0 15px}.header-popover-wrap{position:relative}.header-popover{z-index:30;border:1px solid var(--line);background:#fff;border-radius:10px;width:280px;padding:12px;position:absolute;top:48px;right:0;box-shadow:0 14px 38px #34587f2b}.header-popover h3{margin:3px 5px 9px}.header-popover>button{border:0;border-bottom:1px solid var(--line);text-align:left;border-radius:0;justify-content:space-between;width:100%;height:auto;min-height:40px}.header-popover>button b{color:var(--blue);font-size:11px}.header-popover p{color:#617187;margin:8px}.user-menu{width:210px}.user-trigger{border:0!important;padding:0!important}.notification-button{font-size:20px;position:relative}.save-indicator{border-radius:10px;padding:3px 8px;font-size:11px}.save-indicator.saved{color:#0b9258;background:#eaf9f2}.save-indicator.saving,.save-indicator.loading{color:#9a6d00;background:#fff5d9}.save-indicator.error{color:#d7373d;background:#fff0f0}.month-picker{gap:7px;width:auto!important}.month-picker input{color:#40516a;border:0;outline:0;width:120px}.auth-loading{background:#f6f9fe;align-content:center;place-items:center;gap:16px;min-height:100vh;display:grid}.report-export{border-radius:7px;height:38px;padding:0 15px}.student-toolbar{grid-template-columns:1.3fr repeat(3,1fr) auto auto}.student-toolbar>button{border:1px solid var(--line);background:#fff;border-radius:6px;min-height:38px}.inline-form form{grid-template-columns:1fr 1fr 1fr 1fr 1.2fr auto auto}.days-input{border:1px solid var(--line);border-radius:6px;width:70px;height:32px;padding:0 8px}.panel-title>div{gap:8px;display:flex}.payroll-toolbar{border:1px solid var(--line);background:#fff;border-radius:10px;justify-content:flex-end;gap:12px;padding:14px 18px;display:flex}.payroll-toolbar label{border:1px solid var(--line);color:#5a6b83;border-radius:7px;align-items:center;min-width:210px;height:40px;padding:0 13px;display:flex}.payroll-toolbar button{border:0;border-radius:7px;height:40px;padding:0 26px;font-weight:600}.success-button{color:#fff;background:#13bd75}.payroll-kpis{grid-template-columns:repeat(6,1fr);gap:12px;margin:15px 0;display:grid}.payroll-kpis>div{border:1px solid var(--line);background:#fff;border-radius:9px;flex-direction:column;justify-content:center;align-items:center;height:88px;display:flex}.payroll-kpis span{color:#7d8ba0}.payroll-kpis b{margin-top:7px;font-size:25px}.blocking-alert{color:#e44545;background:#fff2f2;border:1px solid #ffc5c5;border-radius:8px;margin-bottom:15px;padding:13px 18px;font-weight:600}.payroll-preview .panel .info{margin-top:15px}.allocation-hint{color:#66768d;margin:8px 0 12px;line-height:1.6}.month-multi-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;display:grid}.month-multi-grid button{color:#526078;cursor:pointer;background:#fff;border:1px solid #d7e2ef;border-radius:7px;height:38px}.month-multi-grid button:hover{color:var(--blue);border-color:#8db8f8}.month-multi-grid button.selected{border-color:var(--blue);color:var(--blue);background:#eaf3ff;font-weight:700;box-shadow:inset 0 0 0 1px #1677ff}.selected-month-summary{color:#53637a;margin-top:12px;line-height:1.8;display:block}.flow-cards small{text-align:center;overflow-wrap:anywhere;line-height:1.5}@media (width<=900px){.month-multi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}.header-popover>button span{flex-direction:column;align-items:flex-start;gap:3px;min-width:0;display:flex}.header-popover>button span small{color:#7f8da1;font-size:11px;font-weight:400}.header-popover>button b{flex:none;margin-left:10px}.panel{overflow:auto hidden}.panel-title{gap:12px;min-width:0}.panel-title h2,.panel-title>div,.add-setting,.form-actions{min-width:0}.modal-card>header h2{overflow-wrap:anywhere;min-width:0}.modal-card>header button{flex:none}.sticky-actions{z-index:3;gap:12px}.flow-cards>div{min-width:0}.flow-cards small{max-width:100%;padding:0 8px}.sorting-hint{color:#62738a;background:#f5f9ff;border-radius:7px;margin:0 0 10px;padding:9px 12px;font-size:12px}.settings-sort-table .sort-column{width:132px}.settings-sort-table tbody tr{transition:background-color .15s,opacity .15s}.settings-sort-table tbody tr:has(.drag-handle:hover){background:#f7faff}.settings-sort-table tbody tr.sorting-row-dragging{opacity:.45;background:#eaf3ff}.sort-controls{align-items:center;gap:4px;display:flex}.sort-controls button{color:#607188;cursor:pointer;background:#fff;border:1px solid #dbe5f1;border-radius:6px;place-items:center;width:29px;height:29px;padding:0;display:grid}.sort-controls button:hover:not(:disabled){color:var(--blue);background:#eef5ff;border-color:#8eb9f8}.sort-controls button:disabled{opacity:.3;cursor:not-allowed}.sort-controls .drag-handle{cursor:grab;color:#8291a6;font-size:18px;line-height:1}.sort-controls .drag-handle:active{cursor:grabbing}@media (width<=1350px){.detail-top{grid-template-columns:1fr}.report-charts{grid-template-columns:repeat(2,minmax(0,1fr))}.report-charts>.panel:last-child{grid-column:1/-1}.report-filters{flex-wrap:wrap;margin:0 0 16px}.panel-title{flex-wrap:wrap;height:auto;min-height:52px;padding:8px 0}.panel-title>div,.add-setting{flex-wrap:wrap}.settings-page>.panel>.panel-title{align-items:flex-start}.add-setting input{width:min(220px,100%)}}@media (width<=1120px){.form-layout,.expense-layout{grid-template-columns:1fr}.filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.search-field,.filter-actions{grid-column:span 2}.summary-strip{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:14px;height:auto;padding:12px 0}.summary-strip>div{min-height:52px}.report-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.students-page>.student-summary,.student-toolbar,.student-hero{grid-template-columns:repeat(2,minmax(0,1fr))}.student-hero>.panel:last-child{display:block}.setting-cards{grid-template-columns:1fr}.settings-tabs{white-space:nowrap;gap:24px;overflow-x:auto}.refund-form{grid-template-columns:1fr 1fr}.refund-form button{grid-column:1/-1}.flow-cards{gap:10px}.flow-cards>i{font-size:26px}}@media (width<=820px){.filter-grid,.form-grid,.students-page>.student-summary,.student-toolbar,.student-hero,.report-stats,.report-charts{grid-template-columns:1fr}.search-field,.filter-actions,.span-2,.report-charts>.panel:last-child{grid-column:auto}.summary-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.flow-cards{grid-template-columns:1fr;justify-items:center;display:grid}.flow-cards>i{transform:rotate(90deg)}.flow-cards>div{width:min(280px,100%);height:125px}.refund-form{grid-template-columns:1fr}.form-actions,.sticky-actions{flex-wrap:wrap}.form-actions button,.sticky-actions button{flex:1;min-width:140px}.month-multi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.header-popover{width:min(320px,100vw - 24px);position:fixed;top:66px;right:12px}}.report-filters{border:1px solid var(--line);background:#fff;border-radius:10px;grid-template-columns:180px minmax(160px,220px) minmax(160px,220px) auto;justify-content:end;align-items:center;gap:12px;margin:0 0 16px;padding:14px 16px;display:grid;box-shadow:0 2px 5px #5476a00a}.report-filters>*{width:100%;min-width:0}.report-filters .field-select select{width:100%}@media (width<=1100px){.report-filters{grid-template-columns:repeat(2,minmax(0,1fr));justify-content:stretch}}@media (width<=700px){.report-filters{grid-template-columns:1fr}}
