@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap";:root{font-family:Inter,sans-serif;color:#243047;background:#f3f6fc;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;background:#f3f6fc}button,input{font:inherit}button{cursor:pointer}.app-shell{max-width:1600px;margin:auto;padding:32px 30px}.topbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:26px}.eyebrow{display:flex;align-items:center;gap:8px;color:#6878d9;font-size:11px;font-weight:800;letter-spacing:1.5px}.eyebrow-dot{width:8px;height:8px;border-radius:50%;background:#22c58b;box-shadow:0 0 0 4px #d9f8ed}.topbar h1{font-size:30px;font-weight:800;letter-spacing:-1px;margin:10px 0 5px;color:#202d48}.topbar p{color:#8791a6;font-size:13px;margin:0}.refresh-btn{border:none;background:#fff;color:#5264d9;padding:12px 18px;border-radius:12px;display:flex;align-items:center;gap:9px;font-weight:700;box-shadow:0 4px 15px #293e7410}.refresh-btn:hover{background:#eef0ff}.refresh-btn:disabled{opacity:.6;cursor:not-allowed}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.stats{display:grid;grid-template-columns:1fr;margin-bottom:24px}.stat-card{border-radius:18px;padding:23px 26px}.outstanding-card{display:flex;align-items:center;gap:20px;color:#fff;background:linear-gradient(115deg,#5969e9,#8765e9);box-shadow:0 10px 25px #6570d932}.stat-icon{width:57px;height:57px;border-radius:16px;display:grid;place-items:center;background:#ffffff25;border:1px solid #ffffff35}.stat-content{display:flex;flex-direction:column;gap:5px}.stat-content span{font-size:13px;color:#e3e5ff}.stat-content strong{font-size:27px;font-weight:800;letter-spacing:-.5px}.stat-content small{font-size:11px;color:#e0e2ff}.content-card{background:#fff;border-radius:20px;padding:25px;box-shadow:0 5px 25px #263e7010;border:1px solid #edf0f7}.table-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.table-toolbar h2{font-size:19px;margin:0 0 7px;color:#293651}.table-toolbar p{margin:0;font-size:12px;color:#929caf}.search{width:320px;max-width:100%;height:44px;padding:0 13px;display:flex;align-items:center;gap:10px;background:#f7f8fc;border:1px solid #e8ebf4;border-radius:11px;color:#8290aa}.search:focus-within{border-color:#8491f1;box-shadow:0 0 0 3px #8792f11c}.search input{width:100%;min-width:0;border:none;outline:none;background:transparent;font-size:12px;color:#34405b}.clear-search{border:none;background:transparent;color:#929caf;display:flex}.result-info{font-size:12px;color:#8791a6;margin-bottom:12px}.notice,.error-banner{padding:12px 15px;border-radius:10px;display:flex;align-items:center;gap:10px;margin-bottom:15px;font-size:12px}.notice{background:#e9faf3;color:#169c70}.error-banner{background:#fff0ef;color:#d34e4e}.error-banner button{margin-left:auto;border:none;background:#fbdcda;padding:7px 12px;border-radius:7px;color:#b83e3e}.table-wrap{overflow-x:auto;border-radius:13px;border:1px solid #e9edf5}table{width:100%;border-collapse:separate;border-spacing:0;min-width:1150px;font-size:12px}thead th{padding:15px 12px;text-align:left;white-space:nowrap;font-size:11px;font-weight:800;color:#fff;border-right:1px solid #ffffff25}.th-name{background:#5369d9}.th-class{background:#7181df}.th-amount{background:#269caa}.th-manual{background:#d68b32}.th-paid{background:#239c79}.th-wa{background:#1b9e70}.th-unpaid{background:#df6873}.th-normal{background:#7867c8}.th-phone{background:#3f83bb}tbody td{padding:13px 12px;border-bottom:1px solid #edf0f5;color:#526078;white-space:nowrap}tbody tr:nth-child(2n){background:#fafbfe}tbody tr:hover{background:#f0f4ff}tbody tr:last-child td{border-bottom:none}.name{font-weight:700;color:#34425f}.money{font-weight:700;color:#3f8a8b}.unpaid{color:#e16b72}.normal-name{color:#7465b6}.class-badge{background:#edf0ff;color:#5969ca;padding:5px 9px;border-radius:7px;font-weight:700;font-size:11px}.editable-view{display:flex;align-items:center;justify-content:space-between;gap:7px;min-width:85px}.cell-value{font-weight:600;color:#42506a;overflow-wrap:anywhere}.icon-btn{display:grid;place-items:center;width:29px;height:29px;border:none;border-radius:8px;background:#eef0ff;color:#5b6be0;flex-shrink:0}.icon-btn:hover{background:#dce1ff}.edit-box{display:flex;flex-wrap:wrap;align-items:center;gap:5px;min-width:110px}.edit-box input{width:90px;min-width:0;padding:8px;border:1px solid #8c98ef;border-radius:7px;outline:none;font-size:12px;color:#34405b}.save-btn,.cancel-btn{display:grid;place-items:center;width:29px;height:29px;border:none;border-radius:7px;color:#fff}.save-btn{background:#20a879}.cancel-btn{background:#e56b75}.save-btn:disabled,.cancel-btn:disabled{opacity:.5}.edit-error{flex-basis:100%;white-space:normal;color:#dc4e4e;font-size:10px}.wa-link{display:inline-flex;align-items:center;justify-content:center;gap:6px;text-decoration:none;background:#e4f9ef;color:#149b66;padding:8px 11px;border-radius:8px;font-size:10px;font-weight:800;transition:.2s}.wa-link:hover{background:#c9f2df;transform:translateY(-1px)}.loading{min-height:200px;display:flex;justify-content:center;align-items:center;gap:12px;color:#8490a6;font-size:13px}.loader{width:23px;height:23px;border:3px solid #e4e8f5;border-top-color:#6576e7;border-radius:50%;animation:spin .8s linear infinite}.empty{padding:45px 15px;text-align:center;color:#9ba5b6;font-size:13px}.footnote{display:flex;align-items:center;gap:8px;padding-top:18px;margin-top:15px;border-top:1px solid #edf0f5;font-size:11px;color:#8994a8}.footnote-dot{width:7px;height:7px;background:#22b887;border-radius:50%}footer{text-align:center;color:#a1aabc;font-size:11px;padding:25px 10px 10px}.mobile-list{display:none}@media(max-width:760px){.app-shell{padding:19px 13px}.topbar{align-items:flex-start;margin-bottom:19px}.topbar h1{font-size:23px}.topbar p{font-size:11px;line-height:1.5}.refresh-btn{padding:10px;font-size:0;border-radius:10px}.refresh-btn svg{width:19px;height:19px}.stats{margin-bottom:17px}.stat-card{padding:17px;border-radius:15px}.stat-icon{width:48px;height:48px;border-radius:13px}.stat-content strong{font-size:22px;overflow-wrap:anywhere}.content-card{padding:15px 12px;border-radius:16px}.table-toolbar{display:flex;flex-direction:column;align-items:stretch;gap:15px;margin-bottom:16px}.table-toolbar h2{font-size:17px}.table-toolbar p{font-size:11px;line-height:1.5}.search{width:100%;height:45px}.table-wrap{display:none}.mobile-list{display:flex;flex-direction:column;gap:14px}.student-card{border:1px solid #e9edf6;border-radius:15px;padding:15px;background:#fff;box-shadow:0 4px 12px #293e7008;min-width:0}.student-heading{display:flex;align-items:center;gap:11px;padding-bottom:13px;border-bottom:1px solid #edf0f6}.student-avatar{width:43px;height:43px;flex-shrink:0;border-radius:13px;background:linear-gradient(135deg,#6477e9,#9b77e9);color:#fff;display:grid;place-items:center}.student-identity{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}.student-identity strong{color:#34415d;font-size:13px;overflow-wrap:anywhere}.student-identity span{display:flex;align-items:center;gap:4px;color:#6979d7;font-size:11px;font-weight:700}.student-number{font-size:10px;color:#a3aabd}.student-finance{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:13px}.finance-item{padding:11px;border-radius:10px;background:#f5f7fc;min-width:0}.finance-item>span{display:block;color:#8993a7;font-size:10px;margin-bottom:7px}.finance-item>strong{display:block;color:#394761;font-size:12px;overflow-wrap:anywhere}.manual-item{background:#fff5e8}.manual-item .cell-value{color:#cb862e}.paid-item{background:#eaf9f2}.paid-item .cell-value{color:#20976c}.unpaid-item{background:#fff0f0}.unpaid-item>strong{color:#d85d69}.finance-item .editable-view{min-width:0}.finance-item .icon-btn{width:26px;height:26px}.finance-item .edit-box input{width:100%;flex:1}.student-extra{margin-top:14px;padding:11px 12px;background:#f7f7ff;border-radius:10px}.extra-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px dashed #e4e5f2;min-width:0}.extra-row:last-child{border-bottom:none}.extra-row>span{color:#9295b1;font-size:10px;flex-shrink:0}.extra-row>strong{color:#6965ac;font-size:11px;text-align:right;overflow-wrap:anywhere}.extra-row .editable-view{min-width:0;justify-content:flex-end}.extra-row .cell-value{font-size:11px;overflow-wrap:anywhere;text-align:right}.extra-row .edit-box input{width:100px}.student-actions{margin-top:13px}.mobile-wa{width:100%;min-height:43px;font-size:12px;border-radius:10px}.no-wa{display:block;text-align:center;color:#a3aabd;font-size:10px;padding:10px}.result-info{margin-bottom:12px}.footnote{font-size:10px;line-height:1.6;align-items:flex-start}footer{font-size:10px;line-height:1.6}}@media(max-width:380px){.app-shell{padding:14px 9px}.content-card{padding:12px 9px}.stat-content strong{font-size:19px}.student-card{padding:12px}.finance-item{padding:9px}}.stats.stats-compact{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}.stats-compact .stat-card{flex:1;min-width:0;margin:0}.compact-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-shrink:0}.compact-search{width:230px;height:38px;min-height:38px;padding:0 10px}.compact-search input{min-width:0;font-size:13px}.compact-refresh{height:38px;min-height:38px;padding:0 12px;font-size:12px;gap:6px;white-space:nowrap;border-radius:9px}.table-wrap{position:relative;max-height:65vh;overflow:auto;isolation:isolate}.table-wrap table{width:100%;border-collapse:separate;border-spacing:0}.table-wrap thead th{position:sticky;top:0;z-index:10;background:#f8fafc}@media(max-width:700px){.stats.stats-compact{flex-direction:column;align-items:stretch;gap:10px}.stats-compact .stat-card,.compact-toolbar{width:100%}.compact-search{flex:1;width:auto}.compact-refresh{flex-shrink:0}.table-wrap{max-height:65vh}}table thead th{color:#334155!important;background:#e2e8f0!important;font-weight:700;position:sticky;top:0;z-index:10}.search-area{width:100%;margin:0 0 14px}.search-area .compact-search{width:100%;max-width:420px;min-height:42px}.edit-box select{min-width:100px;width:110px;height:38px;padding:6px 12px;font-size:16px;font-weight:700;color:#1f2937;background-color:#fff;border:1px solid #cbd5e1;border-radius:8px;cursor:pointer;outline:none}.edit-box select:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1f}.edit-box select option{min-height:35px;padding:10px;font-size:16px;font-weight:600;color:#1f2937;background:#fff}@media(max-width:768px){.paid-item .edit-box select{width:130px;min-width:130px;height:42px;font-size:17px}}
