:root{--header-h:60px;--sidebar-w:232px;--sidebar-w-collapsed:64px;--c-primary:#409eff;--c-bg:#f5f7fa;--c-header-bg:#1f2d3d;--c-sidebar-bg:#2b3a4b;--c-menu-text:#bfcbd9;--radius:6px;--color-text:#2c3e50;--color-background:#fff;--color-border:#3c3c3c1f}*,:before,:after{box-sizing:border-box;margin:0;font-weight:400}body{color:var(--color-text);background:var(--color-background);text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-size:15px;line-height:1.6;overflow:hidden}html,body,#app{width:100%;height:100%;margin:0;padding:0}a{color:inherit;text-decoration:none}.layout{flex-direction:column;width:100%;height:100%;display:flex;overflow:hidden}.layout-body{flex:1;min-height:0;display:flex}.header{height:var(--header-h);background:var(--c-header-bg);color:#fff;flex-shrink:0;justify-content:space-between;align-items:center;padding:0 16px;display:flex}.header-left{align-items:center;gap:10px;display:flex}.logo{background:var(--c-primary);border-radius:var(--radius);place-items:center;width:30px;height:30px;font-weight:700;display:grid}.title{white-space:nowrap;margin:0;font-size:16px;font-weight:600}.header-right{align-items:center;gap:14px;display:flex}.collapse-btn{cursor:pointer;background:0 0;border:none;flex-direction:column;gap:4px;padding:6px;display:flex}.collapse-btn .bar{background:#fff;border-radius:1px;width:18px;height:2px;transition:transform .25s}.collapse-btn:hover .bar:nth-child(2){transform:translate(3px)}.user{align-items:center;gap:8px;display:flex}.avatar{background:var(--c-primary);color:#fff;border-radius:50%;place-items:center;width:30px;height:30px;font-size:14px;display:grid}.user-name{font-size:14px}.logout-btn{color:#ffb4b4;border-radius:var(--radius);cursor:pointer;background:0 0;border:1px solid #ffb4b444;padding:5px 12px;font-size:13px;transition:all .2s}.logout-btn:hover{color:#fff;background:#f56c6c;border-color:#f56c6c}.sidebar{width:var(--sidebar-w);background:var(--c-sidebar-bg);flex-shrink:0;transition:width .25s;overflow-x:hidden}.sidebar.collapsed{width:var(--sidebar-w-collapsed)}.menu{flex-direction:column;padding-top:8px;display:flex}.menu-item{height:46px;color:var(--c-menu-text);white-space:nowrap;border-left:3px solid #0000;align-items:center;gap:12px;padding:0 20px;font-size:14px;text-decoration:none;transition:background .2s,color .2s,border-color .2s;display:flex}.menu-item .icon{flex-shrink:0}.menu-item:hover{color:#fff;background:#26343f}.menu-item.active{color:#fff;border-left-color:var(--c-primary);background:#26343f}.sidebar.collapsed .menu-item{padding:0 18px}.menu-item.parent{cursor:pointer}.menu-item .arrow{flex-shrink:0;margin-left:auto;transition:transform .25s}.menu-item.parent.open .arrow{transform:rotate(90deg)}.sub-menu{background:#26343f;overflow:hidden}.menu-item.sub{height:40px;color:var(--c-menu-text);border-left:none;padding:0 20px 0 50px;font-size:13px}.menu-item.sub .dot{opacity:.55;background:currentColor;border-radius:50%;flex-shrink:0;width:5px;height:5px}.menu-item.sub:hover{color:#fff;background:#1f2d3a}.menu-item.sub.active{color:#fff}.menu-item.sub.active .dot{background:var(--c-primary);opacity:1}.expand-enter-active,.expand-leave-active{transition:max-height .25s,opacity .2s}.expand-enter-from,.expand-leave-to{opacity:0;max-height:0}.expand-enter-to,.expand-leave-from{opacity:1;max-height:400px}.main{background:var(--c-bg);flex:1;min-width:0;padding:16px;overflow-y:auto}.page{border-radius:var(--radius);background:#fff;min-height:200px;padding:24px}.page h2{margin-top:0}.page p{color:#909399}.fade-enter-active,.fade-leave-active{transition:opacity .18s}.fade-enter-from,.fade-leave-to{opacity:0}.auth-wrap{background:linear-gradient(135deg,#1f2d3d 0%,#2b3a4b 100%);place-items:center;width:100%;height:100%;display:grid}.auth-card{background:#fff;border-radius:12px;flex-direction:column;gap:18px;width:360px;max-width:90vw;padding:36px 32px;display:flex;box-shadow:0 12px 40px #00000040}.auth-brand{justify-content:center;align-items:center;gap:10px;margin-bottom:6px;display:flex}.auth-brand .logo{width:34px;height:34px;font-size:18px}.auth-title{color:var(--c-header-bg);margin:0;font-size:18px;font-weight:700}.auth-field{flex-direction:column;gap:6px;display:flex}.auth-label{color:#5a6a7a;font-size:13px}.auth-input{border-radius:var(--radius);height:42px;color:var(--color-text);background:#fff;border:1px solid #dcdfe6;outline:none;padding:0 12px;font-size:14px;transition:border-color .2s,box-shadow .2s}.auth-input:focus{border-color:var(--c-primary);box-shadow:0 0 0 3px #409eff26}.auth-error{color:#f56c6c;margin:-6px 0 0;font-size:13px}.auth-success{color:#67c23a;margin:-6px 0 0;font-size:13px}.auth-btn{border-radius:var(--radius);background:var(--c-primary);color:#fff;letter-spacing:4px;cursor:pointer;border:none;height:44px;font-size:16px;transition:background .2s,opacity .2s}.auth-btn:hover{background:#66b1ff}.auth-btn:disabled{opacity:.6;cursor:not-allowed}.auth-links{text-align:center;color:#909399;margin:0;font-size:13px}.auth-links a{color:var(--c-primary)}.emp-page{flex-direction:column;gap:16px;display:flex}.emp-query{border:1px solid var(--color-border);border-radius:var(--radius);background:#fff;flex-wrap:wrap;align-items:center;gap:16px 22px;padding:16px;display:flex}.emp-query .field{align-items:center;gap:8px;display:flex}.emp-query .field>label{color:#5a6a7a;white-space:nowrap;font-size:14px}.emp-query .field .tilde{color:#909399}.emp-query .field.btns{gap:10px;margin-left:auto}.emp-query input,.emp-query select,.modal-body input,.modal-body select{height:34px;color:var(--color-text);background:#fff;border:1px solid #dcdfe6;border-radius:4px;outline:none;padding:0 10px;font-size:14px;transition:border-color .2s,box-shadow .2s}.emp-query input:focus,.emp-query select:focus,.modal-body input:focus,.modal-body select:focus{border-color:var(--c-primary);box-shadow:0 0 0 3px #409eff1f}.emp-query .field .date{width:150px}.btn{height:34px;color:var(--color-text);cursor:pointer;background:#fff;border:1px solid #dcdfe6;border-radius:4px;padding:0 16px;font-size:14px;transition:all .2s}.btn:hover{border-color:var(--c-primary);color:var(--c-primary)}.btn.primary{background:var(--c-primary);border-color:var(--c-primary);color:#fff}.btn.primary:hover{color:#fff;background:#66b1ff;border-color:#66b1ff}.btn.danger{color:#fff;background:#f56c6c;border-color:#f56c6c}.btn.danger:hover{color:#fff;background:#f78989;border-color:#f78989}.btn:disabled{opacity:.5;cursor:not-allowed}.emp-toolbar{gap:12px;display:flex}.table-scroll{min-width:0;overflow-x:auto}.table-scroll .emp-table{min-width:max-content}.emp-table{border-collapse:separate;border-spacing:0;border:1px solid var(--color-border);background:#fff;border-radius:10px;width:100%;font-size:14px;overflow:hidden}.emp-table th,.emp-table td{text-align:left;vertical-align:middle;white-space:nowrap;border-bottom:1px solid #eef0f3;padding:10px 12px}.emp-table thead th{color:#303133;letter-spacing:.3px;border-bottom:1px solid var(--color-border);background:linear-gradient(#f7f9fc,#eef1f6);font-weight:600}.emp-table tbody tr{transition:background .15s}.emp-table tbody tr:nth-child(2n){background:#fafbfd}.emp-table tbody tr:hover{background:#ecf5ff}.emp-table tbody tr:last-child td{border-bottom:none}.emp-table .col-check{text-align:center;width:42px}.emp-table .col-op{width:150px}.emp-table .col-avatar{text-align:center;width:60px}.emp-avatar-box{width:40px;height:40px;margin:0 auto;position:relative}.emp-avatar-ph{color:#909399;border:1px solid var(--color-border);background:#f0f2f5;border-radius:50%;place-items:center;font-size:15px;font-weight:600;display:grid;position:absolute;inset:0}.emp-avatar{object-fit:cover;border:1px solid var(--color-border);background:#eee;border-radius:50%;width:40px;height:40px;position:absolute;inset:0}.emp-table .empty{text-align:center;color:#909399;padding:32px 0;font-size:13px}.link{border:1px solid var(--c-primary);height:24px;color:var(--c-primary);cursor:pointer;background:#fff;border-radius:4px;align-items:center;margin-right:8px;padding:0 10px;font-size:12px;transition:all .2s;display:inline-flex}.link:hover{background:var(--c-primary);color:#fff}.link.danger{color:#f56c6c;border-color:#f56c6c;margin-right:0}.link.danger:hover{color:#fff;background:#f56c6c;border-color:#f56c6c}.emp-pager{color:#5a6a7a;justify-content:flex-end;align-items:center;gap:12px;font-size:14px;display:flex}.emp-pager .total{margin-right:auto}.emp-pager button{cursor:pointer;background:#fff;border:1px solid #dcdfe6;border-radius:4px;height:30px;padding:0 12px;transition:all .2s}.emp-pager button:hover:not(:disabled){border-color:var(--c-primary);color:var(--c-primary)}.emp-pager button:disabled{opacity:.5;cursor:not-allowed}.emp-pager .page-no{text-align:center;min-width:56px}.modal-mask{z-index:1000;background:#00000073;place-items:center;display:grid;position:fixed;inset:0}.modal{background:#fff;border-radius:10px;flex-direction:column;width:560px;max-width:92vw;max-height:88vh;display:flex;overflow:hidden;box-shadow:0 16px 48px #00000047}.modal-head{border-bottom:1px solid var(--color-border);justify-content:space-between;align-items:center;padding:16px 20px;display:flex}.modal-head h3{color:var(--c-header-bg);margin:0;font-size:16px}.modal-close{color:#909399;cursor:pointer;background:0 0;border:none;font-size:22px;line-height:1}.modal-close:hover{color:#f56c6c}.modal-body{padding:20px;overflow-y:auto}.modal-foot{border-top:1px solid var(--color-border);justify-content:flex-end;gap:12px;padding:14px 20px;display:flex}.form-grid{grid-template-columns:1fr 1fr;gap:16px;display:grid}.form-item{flex-direction:column;gap:6px;display:flex}.form-item.full{grid-column:1/-1}.form-item>label{color:#5a6a7a;font-size:13px}.form-item>label i{color:#f56c6c;font-style:normal}.form-grid.single{grid-template-columns:1fr}.modal.modal-sm{width:420px}.chart-page{flex-direction:column;gap:16px;display:flex}.chart-head{justify-content:space-between;align-items:center;display:flex}.chart-head h2{margin:0}.chart-state{color:#909399;text-align:center;padding:24px 0}.chart-state.error{color:#f56c6c}.chart-body{flex-wrap:wrap;align-items:center;gap:32px 40px;display:flex}.donut-wrap{flex-shrink:0;width:220px;height:220px;position:relative}.donut{width:220px;height:220px;display:block}.donut-track{fill:none;stroke:#eef0f3;stroke-width:34px}.donut-seg{fill:none;stroke-width:34px;cursor:pointer;transition:stroke-width .2s,opacity .2s}.donut-seg.active{stroke-width:42px}.donut-center{pointer-events:none;flex-direction:column;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.center-value{color:var(--c-header-bg);font-size:30px;font-weight:700;line-height:1.1}.center-name{color:#909399;margin-top:4px;font-size:13px}.legend{flex:1;min-width:240px;margin:0;padding:0;list-style:none}.legend-item{border-radius:var(--radius);cursor:default;grid-template-columns:14px 1fr auto auto;align-items:center;gap:12px;padding:8px 10px;transition:background .15s;display:grid}.legend-item:hover,.legend-item.active{background:#f0f7ff}.legend .swatch{border-radius:3px;width:12px;height:12px}.legend-name{color:var(--color-text);font-size:14px}.legend-value{color:#5a6a7a;font-size:14px}.legend-pct{color:#909399;text-align:right;min-width:52px;font-size:13px}.emp-page{font-size:12px}.emp-page .emp-query{gap:12px 18px;padding:12px}.emp-page .emp-query .field>label{font-size:12px}.emp-page .emp-query input,.emp-page .emp-query select,.emp-page .modal-body input,.emp-page .modal-body select{height:27px;padding:0 8px;font-size:12px}.emp-page .emp-query .field .date{width:122px}.emp-page .btn{height:27px;padding:0 13px;font-size:12px}.emp-page .emp-toolbar{gap:9px}.emp-page .emp-table{font-size:12px}.emp-page .emp-table th,.emp-page .emp-table td{padding:6px 10px}.emp-page .emp-table .col-check{width:34px}.emp-page .emp-table .col-op{width:118px}.emp-page .emp-table .col-avatar{width:54px}.emp-page .emp-avatar-box,.emp-page .emp-avatar{width:28px;height:28px}.emp-page .emp-avatar-ph{font-size:12px}.emp-page .emp-table .empty{padding:25px 0}.emp-page .link{margin-right:9px;font-size:12px}.emp-page .emp-pager{gap:9px;font-size:12px}.emp-page .emp-pager button{height:24px;padding:0 10px}.emp-page .emp-pager .page-no{min-width:45px}.emp-page .modal{width:454px}.emp-page .modal.modal-sm{width:340px}.emp-page .modal-head{padding:12px 16px}.emp-page .modal-head h3{font-size:13px}.emp-page .modal-close{font-size:18px}.emp-page .modal-body{padding:16px}.emp-page .modal-foot{gap:9px;padding:11px 16px}.emp-page .form-grid{gap:13px}.emp-page .form-item{gap:4px}.emp-page .form-item>label{font-size:11px}.emp-fill{box-sizing:border-box;height:100%}.emp-fill .table-scroll{flex:1;min-height:0;overflow:auto}.emp-fill .emp-table{overflow:visible}.emp-fill .emp-table thead th{z-index:2;box-shadow:inset 0 -1px 0 var(--color-border);position:sticky;top:0}.emp-fill .emp-table thead th:first-child{border-top-left-radius:10px}.emp-fill .emp-table thead th:last-child{border-top-right-radius:10px}.emp-fill .emp-table tbody tr:last-child td:first-child{border-bottom-left-radius:10px}.emp-fill .emp-table tbody tr:last-child td:last-child{border-bottom-right-radius:10px}
