:root{font-family:"Microsoft YaHei UI","Microsoft YaHei","Segoe UI",sans-serif;color:#101525;background:#f2f6ff;font-size:15px;--sidebar:clamp(258px,20.15vw,337px);--blue:#0875ff}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer;border:1px solid #cbd5e6;border-radius:9px;background:linear-gradient(#fff,#f7f9ff);color:#182135;font-weight:600;padding:9px 17px;display:inline-flex;align-items:center;justify-content:center;gap:9px;white-space:nowrap;box-shadow:0 2px 4px #102d6410}button:hover{border-color:#6daaff;background:#edf5ff}button:disabled{opacity:.5;cursor:wait}.primary{color:white;background:linear-gradient(110deg,#238cff,#0061ef);border-color:#0975ff;box-shadow:0 3px 10px #147afa18}.primary:hover{color:white;background:#0764e7}input,select{border:1px solid #cbd5e6;border-radius:8px;padding:10px 12px;color:#26384e;background:white;min-width:0}input:focus,select:focus{outline:2px solid #c4dfff;border-color:#3d96ff}input[type=number]{width:75px}input[type=checkbox]{width:17px;height:17px;accent-color:#0875ff}h1,h2,h3,p{margin:0}h1{font-size:30px;font-weight:750;letter-spacing:.3px}h2{font-size:21px;display:flex;align-items:center;gap:10px}h2 .icon{color:#1682ff}h3{font-size:17px}p{line-height:1.8}.muted{color:#758099;font-size:14px;line-height:1.8}small{font-weight:400;font-size:16px;color:#4d5872}.sprite{position:absolute;width:0;height:0;overflow:hidden}.icon{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.smallIcon{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.brandLogo{width:52px;height:52px;flex-shrink:0}[hidden]{display:none!important}aside{position:fixed;inset:0 auto 0 0;width:var(--sidebar);background:radial-gradient(ellipse at 30% 95%,#18223f,transparent 70%),linear-gradient(130deg,#10192c,#0e1425);color:#f6f8ff;display:flex;flex-direction:column;z-index:10;box-shadow:inset -1px 0 #ffffff10}.brand{display:flex;align-items:center;gap:11px;height:90px;padding:14px 23px;border-bottom:1px solid #ffffff18;white-space:nowrap}.brand strong{font-size:20px;letter-spacing:.1px}.brand p{font-size:14px;color:#b1bbd3;line-height:1.7}nav{display:grid;gap:5px;padding:16px 14px;flex:1 1 auto;min-height:0;overflow-y:auto;align-content:start;scrollbar-width:thin}.brand{flex-shrink:0}.systemStatus{flex-shrink:0;margin-bottom:20px}nav button{justify-content:flex-start;gap:21px;border:1px solid transparent;color:#f4f7ff;background:none;box-shadow:none;border-radius:10px;font-size:21px;line-height:1.5;height:55px;padding:10px 19px;font-weight:500;text-align:left}nav .icon{width:27px;height:27px;stroke-width:1.7}nav button:hover{background:#253655;color:white;border-color:#35517c}nav button.active{background:linear-gradient(110deg,#268fff,#0763f1);border-color:#3291ff;box-shadow:inset 0 1px 2px #ffffff50,0 2px 10px #0068ff25}.systemStatus{margin:auto 14px 40px;padding:14px 18px 16px;border:1px solid #717f9c40;border-radius:13px;background:linear-gradient(115deg,#28324c80,#222a4390);box-shadow:inset 0 1px 4px #b9ceff08}.systemStatus strong{display:flex;align-items:center;gap:10px;font-size:17px;margin-bottom:9px;white-space:nowrap}.systemStatus p{font-size:15px;color:#e0e5f5;line-height:1.9;white-space:nowrap}.dot{display:inline-block;width:13px;height:13px;border-radius:50%;flex-shrink:0;vertical-align:middle}.green{background:#0ac75c}.gray{background:#b5bccb}.red{background:#ff5667}.storageLine{display:flex;align-items:center;gap:15px;margin-top:8px;font-size:15px}.storageTrack{height:14px;background:#535c77;border-radius:14px;overflow:hidden;flex:1}.storageTrack span{display:block;height:100%;width:var(--storage-width,0%);background:linear-gradient(90deg,#19bcb8,#1cd1bb);border-radius:14px}.main{margin-left:var(--sidebar);min-height:100vh;background:radial-gradient(ellipse at 50% 10%,#eef4ff,#f8faff 90%)}.topbar{height:63px;padding:0 24px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #dce4f2;background:linear-gradient(100deg,#f9fbff,#f0f4ff)}.iconButton{position:relative;border:0;background:none;box-shadow:none;padding:7px;color:#4b5670}.iconButton .icon{width:26px;height:26px}.topRight{display:flex;gap:28px;align-items:center}.clock{display:flex;align-items:center;gap:9px;font-size:16px}.clock .icon{width:22px;height:22px;color:#4b5570}.accountButton{border:0;background:none;box-shadow:none;padding:0;gap:13px;font-size:16px}.avatar{display:flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:50%;background:linear-gradient(130deg,#2ea5ff,#0763ed);color:white}.avatar .icon{width:29px;height:29px;stroke-width:2.7}.menuAnchor{position:relative}#notificationCount{position:absolute;right:-1px;top:-1px;min-width:19px;height:19px;border-radius:12px;background:#f1283d;color:white;font-size:11px;line-height:19px;text-align:center;border:1px solid white}.popup{position:absolute;right:0;top:48px;z-index:30;width:285px;border:1px solid #d5dfed;border-radius:10px;padding:16px;background:white;box-shadow:0 9px 30px #17376128;font-size:14px}.popup p{padding:6px 0;color:#52617a}.popup button{margin-top:10px;width:100%}main{padding:18px 24px 40px}.pageHeading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 23px;min-height:73px}.pageHeading p{font-size:16px;color:#535f7c;margin-top:2px}.quickActions{display:flex;align-items:center;gap:13px}.quickActions button{padding:9px 16px;font-size:16px}.quickActions .icon{width:21px;height:21px}#notice{padding:12px 16px;margin:0 0 18px;border:1px solid #bcd9ff;background:#e9f4ff;border-radius:8px;white-space:pre-wrap;color:#305b91;font-size:14px}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:20px}.metric{display:flex;align-items:flex-start;gap:14px;padding:18px 19px 15px;border:1px solid;border-radius:11px;min-height:151px;box-shadow:inset 0 1px 1px #ffffff70}.metric h2{font-size:18px;font-weight:650;margin:1px 0 6px;white-space:nowrap}.metric strong{display:block;font-size:40px;line-height:1.14;font-weight:750;letter-spacing:.1px}.metric p{margin-top:12px;font-size:14px;color:#4b5772;white-space:nowrap}.metric em{font-style:normal;color:#7884a0;padding:0 7px}.metricIcon{height:54px;width:54px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0}.metricIcon svg{width:33px;height:33px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}.employeeMetric{background:linear-gradient(115deg,#f1f9ff,#d5e9ff);border-color:#cae4ff}.employeeMetric strong{color:#0529b1}.employeeMetric .metricIcon{background:#c9e3ff;color:#117cff}.accountMetric{background:linear-gradient(115deg,#faf5ff,#e9e5ff);border-color:#e1d5ff}.accountMetric strong{color:#39118c}.accountMetric .metricIcon{background:#e3d8ff;color:#7433ed}.runningMetric{background:linear-gradient(115deg,#effff9,#d8f8e9);border-color:#bcf0d9}.runningMetric strong{color:#07591e}.runningMetric .metricIcon{background:#c4f2dc;color:#03b659}.errorMetric{background:linear-gradient(115deg,#fff4f6,#fae1e9);border-color:#ffd0dc}.errorMetric strong{color:#ad0015}.errorMetric .metricIcon{background:#ffcdd7;color:#fa465f}.charts{display:grid;grid-template-columns:.8fr 1fr;gap:18px;margin-bottom:19px}.panel{border:1px solid #dce4f3;border-radius:11px;background:linear-gradient(125deg,#ffffffdf,#f9fbffed);padding:15px 18px;box-shadow:0 1px 3px #12386c03}.panelHeading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.panelHeading>span{font-size:15px;color:#505b76}.onlinePanel,.allocationPanel{min-height:209px}.onlineChart{display:flex;align-items:center;gap:30px;padding:13px 14px 0}.donut{width:139px;height:139px;border-radius:50%;background:conic-gradient(#0ac45b var(--online-angle,0deg),#e9eaf0 0deg);display:flex;align-items:center;justify-content:center;flex-shrink:0;transform:rotate(-45deg)}.donut>div{width:99px;height:99px;border-radius:50%;background:#fcfdff;display:flex;flex-direction:column;align-items:center;justify-content:center;transform:rotate(45deg)}.donut strong{font-size:27px;color:#0d1421;line-height:1.4}.donut span{font-size:15px;color:#56627a}.onlineLegend{flex:1;min-width:180px}.onlineLegend>div{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:9px 0;border-bottom:1px solid #edf0f6;white-space:nowrap;font-size:15px}.onlineLegend .dot{margin-right:9px}.onlineLegend small{display:block;margin-top:7px;font-size:11px;color:#8a94a8}.allocationBar{display:flex;height:44px;border-radius:9px;background:#edf1f8;overflow:hidden;margin:43px 0 21px;position:relative;box-shadow:inset 0 1px 3px #223e6f0a}.allocationBar>div{display:flex;align-items:center;justify-content:center;color:white;font-size:15px;overflow:hidden;white-space:nowrap}#allocatedSegment{width:var(--assigned-width,0%);background:linear-gradient(100deg,#2997ff,#0865f0)}#pendingSegment{width:var(--pending-width,0%);background:linear-gradient(90deg,#b28bff,#9967fb)}#allocationEmpty{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#8996ad;font-size:14px}.allocationLegend{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;font-size:13px;border-top:1px solid #edf0f6;padding-top:11px}.allocationLegend span{white-space:nowrap;display:flex;align-items:center;gap:5px}.square{width:13px;height:13px;display:inline-block;border-radius:3px}.square.blue{background:#2184ff}.square.purple{background:#a579ff}.allocationLegend .dot{width:13px;height:13px}.allocationLegend b{font-weight:500}.lowerGrid{display:grid;grid-template-columns:1.15fr 1fr;gap:18px}.monitorPanel,.recentPanel{min-height:285px;padding:13px 9px 11px}.lowerGrid h2{padding-left:9px}.textButton{border:0;background:none;box-shadow:none;color:#0877ff;font-size:15px;padding:3px 6px}.tableScroll{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap;font-size:13px}th{background:#eef2fa;color:#171d2a;font-weight:600;padding:10px 8px}td{padding:10px 8px;border-bottom:1px solid #e8edf6;color:#151c2b}tr:nth-child(even) td{background:#f8faff70}td.details{white-space:normal;min-width:160px;max-width:380px;word-break:break-word}.compactTable{font-size:12px}.compactTable th,.compactTable td{padding:9px 6px}.compactTable td.details{min-width:100px;max-width:210px}.compactTable .rowButton{font-size:11px;padding:3px 10px}.compactTable .moreButton{padding:2px 5px;font-size:16px;border:0;background:none;box-shadow:none;color:#6a7690}.rowButton{padding:5px 12px;font-size:12px;font-weight:500;border-radius:6px}.textGreen{color:#05b74f;font-weight:600}.statusTag,.eventTag{display:inline-block;border-radius:6px;padding:3px 9px;font-size:12px;white-space:nowrap}.statusTag.online{background:#c9f8df;color:#1b9346}.statusTag.offline{background:#edf0f6;color:#7e899d}.eventTag.blue{background:#d9e9ff;color:#004bc7}.eventTag.green{background:#d7f8e5;color:#12804a}.eventTag.purple{background:#e9deff;color:#6931c9}.eventTag.orange{background:#ffecd2;color:#b06916}.eventTag.gray{background:#eaf0f7;color:#52637b}.emptyRow{text-align:center;color:#8b96aa;padding:38px 12px;white-space:normal}.toolbar,.formStrip{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:20px 0}.toolbar input{flex:1;min-width:200px}.formStrip label{display:flex;align-items:center;gap:8px;font-size:13px}td input,td select{max-width:150px;padding:7px;font-size:13px}.rowActions{display:flex;gap:7px}.subtleBadge{padding:5px 10px;background:#e8f3ff;color:#3277bc;border-radius:15px;font-size:12px}.settingsGrid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:20px}.settingsGrid article{border:1px solid #dfe6f1;border-radius:10px;padding:22px;background:#fbfdff}.settingsGrid p{font-size:14px;color:#68758e;margin:12px 0}a{color:#0675ff;text-decoration:none}pre{background:#f2f6fc;border:1px solid #e0e7f2;border-radius:9px;padding:20px;line-height:1.8;white-space:pre-wrap;word-break:break-all;margin-top:12px}dialog{border:1px solid #cbd8ed;border-radius:14px;padding:25px;background:#fcfdff;box-shadow:0 15px 60px #0b264745;max-width:650px;width:90%}dialog::backdrop{background:#071b3d55}dialog p{margin:12px 0}dialog form>input{display:block;width:100%;margin:22px 0}#employeeDetail{line-height:2}#loginShell{min-height:100vh;display:flex;align-items:center;justify-content:center;gap:85px;background:radial-gradient(ellipse at 25% 25%,#eaf4ff,#f3f6fc)}.loginBrand .brandLogo{width:80px;height:80px}.loginBrand h1{margin:20px 0 8px;font-size:31px}.loginBrand p{color:#687994}#login{background:white;border:1px solid #d7e1f1;border-radius:15px;width:420px;padding:35px;box-shadow:0 14px 40px #12357412}#login h2{font-size:25px}#login label{display:block;margin:22px 0;font-size:14px}#login label input{display:block;width:100%;margin-top:9px}#login button{width:100%}#loginNotice{font-size:13px;color:#b42641;white-space:pre-wrap}.collapsed{--sidebar:88px}.collapsed .brand{padding-left:18px}.collapsed .brand>div,.collapsed nav span,.collapsed .systemStatus{display:none}.collapsed nav button{justify-content:center;padding:12px}.collapsed nav .icon{width:26px;height:26px}@media(min-width:1750px){main{max-width:1800px;margin:auto}}@media(max-width:1450px){:root{--sidebar:258px}.brand{padding-left:16px;gap:8px}.brand strong{font-size:17px}.brand p{font-size:12px}.brandLogo{width:45px;height:45px}.pageHeading{flex-wrap:wrap;gap:12px}.quickActions{margin-left:auto}.metric{padding:17px 13px;gap:10px}.metricIcon{width:45px;height:45px}.metric h2{font-size:16px}.metric strong{font-size:35px}.metric p{font-size:12px}.onlineChart{gap:16px;padding-left:3px;padding-right:3px}.onlineLegend>div{gap:10px;font-size:13px}.onlineLegend{min-width:160px}.allocationLegend{font-size:12px}.lowerGrid{grid-template-columns:1fr}.monitorPanel,.recentPanel{min-height:200px}}@media(max-width:1000px){:root{--sidebar:88px}.brand{padding-left:18px}.brand>div,nav span,.systemStatus{display:none}nav button{justify-content:center;padding:12px}nav .icon{width:26px;height:26px}.metrics{grid-template-columns:1fr 1fr}.charts{grid-template-columns:1fr}.clock{font-size:13px}.topRight{gap:10px}.quickActions{flex-wrap:wrap}.pageHeading h1{font-size:25px}.settingsGrid{grid-template-columns:1fr}.loginBrand{display:none}#loginShell{padding:24px}#login{max-width:100%}}
#notice{position:fixed;right:24px;bottom:22px;z-index:80;max-width:600px;margin:0;box-shadow:0 8px 30px #16376122}#notice.error{background:#fff0f2;border-color:#efb2bd;color:#a72f44}.systemStatus:has(#databaseState[data-error]) strong .dot{background:#fb5367}
@media(min-width:1451px){.monitorPanel,.recentPanel{min-height:321px}}
.quickActions button{min-width:145px}.pageHeading>div:first-child{padding-left:10px}.pageHeading h1{font-size:32px}.pageHeading p{font-size:17px}@media(max-width:1000px){.quickActions button{min-width:0}.pageHeading h1{font-size:25px}.pageHeading p{font-size:14px}}
.accountWarehouseHeading{flex-wrap:wrap}.accountPoolSwitch{display:flex;align-items:center;justify-content:center;gap:6px;padding:4px;background:#edf2f9;border:1px solid #dfe6f1;border-radius:11px}.accountPoolSwitch button{padding:8px 13px;border-color:transparent;background:transparent;box-shadow:none;font-size:14px}.accountPoolSwitch button.active{color:white;background:linear-gradient(110deg,#238cff,#0061ef);border-color:#0975ff;box-shadow:0 2px 7px #147afa25}.accountPoolSwitch button span{font-variant-numeric:tabular-nums}.accountWarehouseHeading .subtleBadge{margin-left:0}@media(max-width:850px){.accountWarehouseHeading{justify-content:flex-start}.accountPoolSwitch{order:3;width:100%}.accountPoolSwitch button{flex:1}}
.rememberCredentials{display:flex!important;align-items:center;gap:9px;margin:8px 0 18px!important;cursor:pointer}.rememberCredentials input[type=checkbox]{display:inline-block!important;flex:0 0 auto;width:17px!important;margin:0!important}
.quantityPicker{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;color:#52617a;font-size:14px}.quantityPicker select{min-width:116px}
.employeeManagementActions,.employeeDialogActions{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap}.danger{color:#a52439;border-color:#e4aab4;background:linear-gradient(#fff,#fff3f5)}.danger:hover{color:#921a2d;background:#ffedf0;border-color:#dc8391}.employeeDialog{max-width:760px;max-height:88vh;overflow:auto}.employeeDialog .panelHeading{margin-bottom:12px}.employeeDialog .panelHeading button{margin-left:auto}.employeeDialog .formStrip{justify-content:flex-start}.employeeDialog .formStrip label{display:flex;flex-direction:column;align-items:flex-start;gap:6px}.employeePreviewNames{max-height:260px;overflow:auto;white-space:pre-wrap;word-break:break-word;background:#f2f6fc;border:1px solid #dfe7f2;border-radius:9px;padding:14px}.credentialWarning{color:#9c4b13;background:#fff7e8;border:1px solid #f0d5a7;border-radius:8px;padding:10px 12px;margin:12px 0}.employeeDeletePreview{display:grid;gap:10px;max-height:320px;overflow:auto;margin-top:14px}.employeeDeleteRow{padding:12px;border:1px solid #dce5f1;border-radius:9px;background:#f9fbff}.employeeDeleteRow strong{display:block;margin-bottom:5px}.employeeDeleteRow .blocked{color:#ad2d42}.employeeDeleteAcknowledge{display:flex;align-items:flex-start;gap:9px;margin:16px 0!important}.employeeDeleteAcknowledge input{flex:0 0 auto;margin-top:5px}
#employeeEditForm{display:grid;grid-template-columns:1fr 1fr;gap:12px 16px;margin-top:8px}#employeeEditForm>label{display:grid;gap:6px;color:#52617a;font-size:14px}#employeeEditForm>label input,#employeeEditForm>label select{width:100%}#editEmployeePasswordFields{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:8px 16px}#editEmployeePasswordFields>p{grid-column:1/-1}#editEmployeePasswordFields>label{display:grid;gap:6px;color:#52617a;font-size:14px}#editEmployeePasswordFields input{width:100%}#employeeEditError{grid-column:1/-1;color:#a52439;background:#fff0f2;border-radius:7px;padding:8px 12px}#employeeEditForm .employeeDialogActions{grid-column:1/-1}@media(max-width:620px){#employeeEditForm,#editEmployeePasswordFields{grid-template-columns:1fr}#editEmployeePasswordFields>p,#employeeEditForm .employeeDialogActions{grid-column:1}}
.phoneFileLabel{display:grid;gap:8px;margin:16px 0;color:#52617a}.phoneFileLabel input{width:100%}.customerNumberToolbar,.claimStatsToolbar{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap;margin:14px 0}.customerNumberToolbar>input,.claimStatsToolbar>input{min-width:210px;flex:1}.customerNumberToolbar label,.claimStatsToolbar label{display:flex;flex-direction:column;gap:5px;color:#52617a;font-size:13px}.customerNumberMetrics{margin-top:14px}.customerNumberMetrics .metric{min-height:112px;background:linear-gradient(115deg,#f7fbff,#fff);border-color:#dce6f3;align-items:center}.customerNumberMetrics .metric strong{font-size:32px}.customerPager{display:flex;justify-content:center;align-items:center;gap:15px;padding:12px}.customerPager span{min-width:140px;text-align:center}.claimStatsToolbar input[type=date]{min-width:145px}.customerNumberPhone{font-family:Consolas,"Segoe UI",sans-serif;user-select:text}.statsTotalRow td{font-weight:750;background:#edf4ff}.customerStatsDetail{max-height:75vh;width:min(920px,90vw)}
.dataDeleteToolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:10px 0;padding:10px 12px;border:1px solid #e0e7f1;border-radius:9px;background:#f8faff}.dataDeleteToolbar label{display:inline-flex;align-items:center;gap:7px;margin:0;color:#52617a;white-space:nowrap}.dataDeleteToolbar input[type=checkbox]{margin:0}.dataDeleteToolbar .muted{font-size:13px}.dataDeleteToolbar button{padding:7px 12px}.customerNumberMetrics{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}.rowButton.danger{padding:7px 10px;font-size:13px}
.eventTag.red{background:#ffe4e8;color:#b42338}
