.preview-login-page{min-height:100vh;display:grid;place-items:center;padding:30px 24px;background:radial-gradient(circle at 18% 18%,#e5efff 0,transparent 32%),#f2f5fa;color:#17263d;font-family:DM Sans,Noto Sans SC,sans-serif}.preview-login-shell{display:grid;width:min(1220px,100%);min-height:min(660px,calc(100vh - 60px));grid-template-columns:minmax(0,1.44fr) minmax(400px,1fr);overflow:hidden;border:1px solid #dce5f2;border-radius:18px;background:#fff;box-shadow:0 26px 90px #22416f1f}.preview-login-visual{position:relative;display:flex;flex-direction:column;justify-content:space-between;padding:44px 64px;overflow:hidden;background:linear-gradient(140deg,#f8fbff,#eaf3ff 48%,#dceaff)}.preview-login-motion{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;opacity:.95;pointer-events:none}.preview-login-brand,.preview-login-hero,.preview-login-note{position:relative;z-index:1}.preview-login-brand{display:flex;align-items:center;gap:13px;color:#17345c;font-family:Segoe UI,sans-serif;font-size:19px;font-weight:750}.preview-login-brand img{width:42px;height:42px;object-fit:cover;object-position:top;border-radius:10px;background:#fff;box-shadow:0 0 28px #4599ff38}.preview-login-hero{max-width:560px;margin:auto 0;padding:45px 0}.preview-eyebrow{color:#4778b8;font-size:11px;font-weight:750;letter-spacing:.15em}.preview-login-hero .preview-eyebrow{color:#4778b8;letter-spacing:2px;font-size:11px}.preview-login-hero h1{margin:18px 0;color:#17345c;font-size:clamp(38px,4.4vw,62px);line-height:1.15;letter-spacing:-1.8px}.preview-login-hero p{max-width:410px;color:#5d7390;font-size:15px;line-height:1.9}.preview-login-note{color:#6f86a1;font-size:11px}.preview-login-panel{display:grid;place-items:center;padding:44px 48px;background:#fff}.preview-login-form{width:min(360px,100%)}.preview-login-form h2{margin:8px 0 6px;color:#1b2940;font-size:27px}.preview-login-form>p{margin:0 0 22px;color:#71809a;font-size:13px;line-height:1.6}.preview-field{display:grid;gap:7px;margin:15px 0;color:#42536d;font-size:12px;font-weight:650}.preview-field input{width:100%;height:42px;padding:0 12px;border:1px solid #d8e1ee;border-radius:7px;outline:0;color:#1b2940;background:#fff;font:inherit;font-size:14px}.preview-field input:focus{border-color:#3977f6;box-shadow:0 0 0 3px #3977f61c}.preview-field input::placeholder{color:#a4afc0;font-weight:400}.preview-password{position:relative}.preview-password input{padding-right:56px}.preview-password button{position:absolute;top:0;right:8px;height:42px;padding:0 5px;border:0;color:#71809a;background:transparent;font-size:11px;cursor:pointer}.preview-login-options{display:flex;justify-content:space-between;align-items:center;margin:8px 0 18px;color:#687992;font-size:12px}.preview-login-options label{display:flex;align-items:center;gap:7px}.preview-login-options input{accent-color:#2f6fff}.preview-login-options button,.preview-back{border:0;color:#2f6fff;background:transparent;font:inherit;font-size:12px;cursor:pointer}.preview-submit{width:100%;height:50px;margin-top:5px;border:0;border-radius:8px;color:#fff;background:linear-gradient(135deg,#2f82ff,#6d5cff);box-shadow:0 9px 22px #4977e32b;font-size:14px;font-weight:700;cursor:pointer}.preview-submit:disabled{opacity:.65;cursor:wait}.preview-back{display:block;margin:14px auto 0}.preview-login-foot{display:flex;justify-content:space-between;gap:10px;margin-top:24px;padding-top:15px;border-top:1px solid #e7edf5;color:#8a97aa;font-size:10px}.login-error,.login-success{margin:0 0 12px;font-size:12px;line-height:1.5}.login-error{color:#c34c58}.login-success{color:#148b69}@media(max-width:900px){.preview-login-shell{grid-template-columns:minmax(0,1.1fr) minmax(340px,.9fr)}.preview-login-visual{padding:34px 38px}.preview-login-panel{padding:34px 28px}}@media(max-width:720px){.preview-login-page{padding:18px 14px}.preview-login-shell{grid-template-columns:1fr;min-height:0}.preview-login-visual{min-height:260px;padding:24px}.preview-login-hero{padding:22px 0 8px}.preview-login-hero h1{font-size:32px}.preview-login-hero p{margin-bottom:0;font-size:13px}.preview-login-note{display:none}.preview-login-panel{padding:28px 22px 26px}.preview-login-form h2{font-size:24px}.preview-login-foot{margin-top:18px}}:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Microsoft YaHei,sans-serif;color:#262626;background:#f0f2f5;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:#f0f2f5}button,input,select,textarea{font:inherit}.shell{min-height:100vh;display:grid;grid-template-columns:200px minmax(0,1fr);grid-template-rows:56px minmax(0,1fr);background:#f0f2f5}.platform-header{grid-column:1 / -1;display:flex;align-items:center;gap:20px;height:56px;padding:0 18px;color:#fff;background:#101521}.platform-brand{display:flex;flex:0 0 220px;align-items:center;gap:10px;font-size:17px;line-height:1;font-weight:700;white-space:nowrap}.platform-brand img{width:28px;height:28px;object-fit:contain;border-radius:5px}.top-nav{display:flex;height:100%;align-items:stretch;gap:4px}.top-nav a{display:inline-flex;min-width:104px;align-items:center;justify-content:center;gap:9px;padding:0 15px;border-bottom:2px solid transparent;color:#9eabc2;text-decoration:none;font-size:14px;transition:color .15s,background .15s,border-color .15s}.top-nav a:hover{color:#fff;background:#ffffff0a}.top-nav a.router-link-active{border-color:#4185ff;color:#fff;background:#182238;font-weight:600}.top-nav a span{color:#9db4dc;font-size:15px}.platform-tools{position:relative;display:flex;height:100%;align-items:center;gap:17px}.header-icon,.profile-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:0;border:0;color:#fff;background:transparent;cursor:pointer}.header-icon{width:24px;height:30px}.header-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.profile-button{font-size:13px}.profile-avatar{display:grid;width:25px;height:25px;place-items:center;border-radius:50%;color:#1d4fb8;background:#e2efff;font-weight:700}.profile-avatar svg{display:block;width:25px;height:25px}.profile-menu{position:absolute;z-index:30;top:44px;right:0;display:grid;min-width:130px;padding:5px;border:1px solid #e4e7ed;border-radius:5px;background:#fff;box-shadow:0 4px 15px #17213a20}.profile-menu button{padding:8px 12px;border:0;color:#39465e;background:#fff;text-align:left;cursor:pointer}.profile-menu button:hover{color:#3159e8;background:#f4f6ff}.sidebar{position:relative;min-height:calc(100vh - 56px);padding:10px 7px 45px;border-right:1px solid #e5e7eb;background:#fff}.menu{display:grid;gap:3px}.menu a{display:flex;min-height:44px;align-items:center;gap:10px;padding:10px 14px;border-radius:6px;color:#39465e;text-decoration:none;font-size:14px;transition:color .15s,background .15s}.menu a:hover{color:#3159dc;background:#f4f6ff}.menu a.router-link-active{color:#3159dc;background:#e9edff;font-weight:500}.menu-icon{display:inline-flex;width:17px;justify-content:center;color:#4c5668;line-height:1}.menu-icon svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.menu a.router-link-active .menu-icon{color:#3159e8}.sidebar-collapse{position:absolute;right:0;bottom:0;left:0;height:27px;border:0;border-top:1px solid #e5e7eb;color:#616b7b;background:#fff;font-size:21px;cursor:pointer}.main{min-width:0;min-height:calc(100vh - 56px)}.content{width:100%;padding:0 15px 20px}.page-tabs{display:flex;height:50px;align-items:center;gap:8px;padding:0 17px;background:#f0f2f5}.page-tab{display:inline-flex;height:30px;align-items:center;gap:8px;padding:0 12px;border-radius:4px;color:#33415c;background:#fff;text-decoration:none;font-size:13px}.page-tab.active{color:#fff;background:#3159e8}.tab-close{font-size:16px;line-height:1}.menu-collapsed{grid-template-columns:60px minmax(0,1fr)}.menu-collapsed .menu a{justify-content:center;padding-right:5px;padding-left:5px}.menu-collapsed .menu-label{display:none}.device-page.panel{padding:0 7px;border:0;border-radius:5px;box-shadow:0 1px 3px #1522380a}.device-page{position:relative}.device-page-heading{display:flex;min-height:46px;align-items:center;justify-content:space-between;gap:14px;padding:0 7px;border-bottom:1px solid #edf0f4}.device-page-heading h1{display:flex;align-items:center;gap:8px;margin:0;color:#29384f;font-size:16px;font-weight:500}.heading-icon{color:#3159e8;font-size:17px}.device-page-tools{display:flex;align-items:center;gap:8px}.device-page-tools .button{min-height:31px;padding:4px 10px;color:#39465e}.device-page-tools .button.primary{color:#fff}.tool-symbol{font-size:17px;vertical-align:-1px}.icon-tool{width:27px;height:30px;padding:0;border:0;color:#4e596b;background:transparent;font-size:18px;cursor:pointer}.device-filters{display:flex;align-items:center;justify-content:center;gap:12px;min-height:57px;padding:7px 26px}.filter-field{display:inline-flex;align-items:center;gap:10px;color:#27374f;white-space:nowrap}.device-filters .input{width:min(208px,24vw)}.table-settings{position:absolute;z-index:15;top:61px;right:17px;display:grid;width:326px;max-height:min(420px,70vh);overflow:auto;padding:12px 12px 14px;border:1px solid #e7e9ef;border-radius:5px;color:#3e4756;background:#fff;box-shadow:0 5px 18px #1c243329;font-size:13px}.table-settings-top{display:flex;align-items:center;gap:14px;min-height:28px;padding-bottom:8px;border-bottom:1px solid #eef0f4;white-space:nowrap}.table-settings-top label,.table-settings-row label{display:inline-flex;align-items:center;gap:5px}.table-settings input[type=checkbox]{accent-color:#3159e8}.table-settings-top button{margin-left:auto;padding:0;border:0;color:#3159e8;background:transparent;cursor:pointer}.table-settings-row{display:grid;grid-template-columns:18px 1fr 52px;align-items:center;min-height:34px}.table-settings-row>span{color:#7b8493}.table-settings-row>div{display:flex;justify-content:space-between}.table-settings-row button{width:24px;height:25px;padding:0;border:0;color:#687384;background:transparent;cursor:pointer}.table-settings-row button:disabled{color:#d2d6dd;cursor:default}.table-wrap.device-table-wrap{height:calc(100vh - 270px);min-height:310px;margin:0 0 42px;border:1px solid #eceff3;border-radius:5px}.device-table{width:calc(100% - 2px);min-width:760px;table-layout:fixed}.device-table th,.device-table td{height:49px;padding:11px 12px;text-align:center;border-right:1px solid #eceff3}.device-table th{position:relative;color:#27374f;background:#fafafa;font-weight:500}.device-table td{color:#163963}.device-table tbody tr:nth-child(2n){background:#fafafa}.device-table tbody tr:hover{background:#f2f5ff}.device-table .serial-column{width:112px}.device-table .selection-column{width:40px}.device-table th:nth-child(2),.device-table th:nth-child(3),.device-table th:nth-child(4){width:20%}.device-table .action-column{width:29%}.table-wrap th.action-column,.table-wrap td.action-column{position:sticky;right:0;z-index:3;background:#fff}.table-wrap thead th.action-column{z-index:4;background:#fafafa}.table-wrap tbody tr:nth-child(2n) td.action-column{background:#fafafa}.table-wrap tbody tr:hover td.action-column{background:#f2f5ff}.device-table.compact th,.device-table.compact td{height:36px;padding-top:5px;padding-bottom:5px}.sort-heading{border:0;color:inherit;background:transparent;font:inherit;cursor:pointer}.sort-heading span{margin-left:8px;color:#aaa}.table-actions{display:flex;align-items:center;justify-content:center;gap:9px;white-space:nowrap}.table-actions button{padding:0;border:0;color:#3159e8;background:transparent;cursor:pointer}.table-actions i{color:#c4c8d0;font-style:normal}.table-actions .danger-link{color:#3159e8}.confirm-anchor{position:relative;display:inline-flex;align-items:center}.delete-confirm{position:absolute;right:0;bottom:calc(100% + 8px);z-index:25;width:190px;padding:10px 12px;border:1px solid #f0f0f0;border-radius:4px;color:#434343;background:#fff;box-shadow:0 3px 12px #00000026;font-size:13px;text-align:left;white-space:normal}.delete-confirm:after{position:absolute;right:13px;bottom:-6px;width:10px;height:10px;transform:rotate(45deg);border-right:1px solid #f0f0f0;border-bottom:1px solid #f0f0f0;background:#fff;content:""}.delete-confirm p{margin:0 0 11px;line-height:1.4}.delete-confirm>div{display:flex;justify-content:flex-end;gap:14px}.delete-confirm button{padding:0;border:0;color:#3159e8;background:transparent;cursor:pointer;font-size:12px}.delete-confirm button.confirm-danger{font-weight:600}.delete-confirm-veil{position:fixed;z-index:140;top:0;right:0;bottom:0;left:0;background:transparent}.delete-confirm.delete-confirm-floating{position:fixed;z-index:141;right:auto;bottom:auto}.delete-confirm.delete-confirm-floating.delete-confirm-below:after{top:-6px;right:13px;bottom:auto;transform:rotate(225deg)}.delete-confirm button:disabled{color:#aab1bd;cursor:default}.device-pagination{position:relative;justify-content:flex-end;gap:8px;min-height:40px;margin-top:-44px;padding:0 5px 0 0;color:#526078}.page-control,.page-number{min-width:25px;height:25px;border:0;border-radius:4px;color:#43516b;background:transparent;cursor:pointer}.page-control:disabled{color:#c5cad2;background:#f5f6f8;cursor:default}.page-number.active{color:#fff;background:#3159e8}.page-size{height:25px;padding:0 6px;border:1px solid #d7dce4;border-radius:4px;color:#4f5b70;background:#fff}.page-jump{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}.page-jump input{width:43px;height:25px;border:1px solid #d7dce4;border-radius:4px}.user-table{width:calc(100% - 2px);min-width:980px;table-layout:fixed}.user-table th,.user-table td{overflow:hidden;text-align:center;text-overflow:ellipsis;white-space:nowrap}.device-table.user-table .user-col-serial{width:6%}.device-table.user-table .user-col-username,.device-table.user-table .user-col-nickname{width:11%}.device-table.user-table .user-col-role{width:16%}.device-table.user-table .user-col-email,.device-table.user-table .user-col-phone,.device-table.user-table .user-col-remark,.device-table.user-table .user-col-actions{width:14%}.user-table th{position:relative}.user-table-wrap{height:calc(100vh - 260px)}.user-filters .input{width:210px}.log-filter{gap:8px}.log-filter input{min-width:190px;height:32px;padding:4px 7px;border:1px solid #d9dfe9;border-radius:4px;color:#39465e;background:#fff}.page-title{margin:0 0 18px;color:#1f1f1f;font-size:22px;font-weight:500}.panel{padding:18px;border:1px solid #f0f0f0;border-radius:6px;background:#fff}.toolbar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:16px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;min-width:680px;background:#fff}th,td{text-align:left;border-bottom:1px solid #f0f0f0;padding:11px 10px}th{color:#595959;background:#fafafa;font-weight:500}td{color:#434343}.muted{color:#8c8c8c}.grid{display:grid;gap:14px;grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}.metric{padding:16px;border:1px solid #f0f0f0;border-radius:6px;background:#fff}.metric strong{display:block;margin-top:8px;color:#262626;font-size:24px;font-weight:500}.field{display:grid;gap:7px;margin:16px 0;color:#595959}.field input,.field select,.field textarea{width:100%;min-height:38px;padding:8px 10px;border:1px solid #d9d9d9;border-radius:4px;color:#262626;background:#fff}.actions{display:flex;gap:7px;flex-wrap:wrap}.account-password-form{width:min(75%,900px);margin:0 auto;padding:30px 0 18px}.account-password-field{display:grid;grid-template-columns:150px minmax(0,1fr);align-items:center;gap:12px;margin:0 0 18px;color:#434343}.account-password-field input{width:100%;min-height:40px;padding:8px 11px;border:1px solid #d9d9d9;border-radius:4px;color:#262626;background:#fff}.account-password-field input:focus{outline:0;border-color:#4096ff;box-shadow:0 0 0 2px #1677ff1a}.account-password-actions{display:flex;justify-content:center;gap:12px;margin:24px 0 0 150px}.account-password-actions .button{min-width:86px}.status-dot{display:inline-block;width:8px;height:8px;margin-right:7px;border-radius:50%;background:#52c41a}.button{min-height:32px;padding:5px 12px;border:1px solid #d9d9d9;border-radius:4px;color:#434343;background:#fff;cursor:pointer;transition:color .15s,border-color .15s,background .15s}.button:hover{border-color:#4096ff;color:#1677ff}.button:disabled{opacity:.45;cursor:not-allowed}.button.primary{border-color:#1677ff;color:#fff;background:#1677ff}.button.primary:hover{border-color:#4096ff;background:#4096ff}.button.subtle{background:transparent}.button.danger{color:#cf1322;border-color:#ffccc7;background:#fff}.button.danger:hover{border-color:#ff7875;color:#a8071a}.button.small{min-height:26px;padding:2px 8px;font-size:12px}.button.selected{border-color:#1677ff;color:#1677ff;background:#e6f4ff}.button.full{width:100%;min-height:42px;margin-top:4px}.input{width:min(250px,100%);min-height:34px;padding:6px 10px;border:1px solid #d9d9d9;border-radius:4px;color:#262626;background:#fff}.input.grow{flex:1;min-width:220px}.input:focus,.field input:focus,.field select:focus,.field textarea:focus{outline:0;border-color:#4096ff;box-shadow:0 0 0 2px #1677ff1a}.push-right{margin-left:auto}.page-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}.page-head h2{margin:0 0 6px;color:#262626;font-size:18px;font-weight:500}.page-head p{margin:0}.overview-page{display:grid;gap:18px}.overview-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px}.overview-heading .page-title{margin-bottom:5px;font-size:25px;font-weight:650}.overview-subtitle{margin:0;color:#8491a6;font-size:13px}.overview-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.overview-stat{position:relative;min-width:0;min-height:126px;padding:18px;border:1px solid #252e3f;border-radius:10px;color:#edf3ff;background:#111722;box-shadow:0 8px 22px #08101d0a}.overview-stat-icon{position:absolute;top:16px;right:16px;display:grid;width:34px;height:34px;place-items:center;border-radius:10px;color:#5ca0ff;background:#172640;font-size:16px}.overview-stat-label{margin-bottom:9px;color:#91a0b9;font-size:12px}.overview-stat strong{display:block;color:#f5f8ff;font-size:25px;line-height:1.2;font-weight:650}.overview-stat small{display:block;margin-top:8px;color:#7a8aa5;font-size:11px}.overview-stat .state-good{color:#20c995;font-size:19px}.overview-stat .state-muted{color:#b3bdce;font-size:19px}.overview-device-panel{min-width:0;padding:0;border-color:#e8ebf1;border-radius:10px}.overview-panel-heading{display:flex;min-height:54px;align-items:center;justify-content:space-between;gap:12px;padding:0 18px;border-bottom:1px solid #e9edf3}.overview-panel-heading>div{display:flex;align-items:baseline;gap:12px}.overview-panel-heading h2{margin:0;color:#243149;font-size:15px}.overview-table-wrap{max-height:420px}.overview-table{min-width:600px}.overview-table td:first-child{display:grid;gap:4px}.overview-table td:first-child small{color:#8491a6;font-size:11px}.overview-link{border:0;color:#3975e8;background:transparent;cursor:pointer}.overview-error{margin:0}.eyebrow{margin:0 0 8px;color:#1677ff;font-size:11px;letter-spacing:.16em;font-weight:600}.section-gap{margin-top:18px}.empty{padding:28px 12px;text-align:center;color:#8c8c8c}.pagination{display:flex;justify-content:center;align-items:center;gap:15px;padding-top:16px;color:#8c8c8c;font-size:13px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20;display:grid;place-items:center;padding:20px;background:#00000073}.modal{width:min(520px,100%);max-height:90vh;overflow:auto;padding:22px;border:1px solid #f0f0f0;border-radius:8px;background:#fff;box-shadow:0 6px 20px #0000001a}.modal h2{margin:0 0 15px;color:#262626;font-size:18px;font-weight:500}.modal.wide{width:min(1000px,100%)}.device-editor-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:41;background:#0007}.device-editor-drawer{position:absolute;inset:0 0 0 auto;display:flex;width:60vw;min-width:min(560px,100vw);flex-direction:column;background:#fff;box-shadow:-6px 0 24px #0002}.device-editor-heading{display:flex;min-height:56px;align-items:center;justify-content:space-between;padding:0 20px;border-bottom:1px solid #edf0f4}.device-editor-heading h2{display:flex;align-items:center;gap:8px;margin:0;color:#27374f;font-size:16px;font-weight:500}.device-editor-form{display:flex;flex:1;flex-direction:column;padding:20px 24px 0}.device-editor-field{display:grid;grid-template-columns:120px minmax(0,1fr);align-items:center;gap:12px;margin:0 0 18px;color:#434343}.device-editor-field>span{text-align:right}.device-editor-field .input{width:100%}.model-upload-field{align-items:start}.model-upload-field>span{padding-top:8px}.model-upload-field small{grid-column:2;margin-top:-8px;color:#718096;line-height:1.45}.current-model-row{grid-column:2;display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;padding:8px 10px;border:1px solid #e5eaf2;border-radius:8px;background:#f8faff}.current-model-row>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.current-model-row .text-button{flex:0 0 auto;color:#2455d6}.model-upload-error{margin:0 0 12px 132px}.device-editor-footer{display:flex;justify-content:flex-end;gap:8px;margin:auto -24px 0;padding:10px 24px;border-top:1px solid #edf0f4}.device-editor-footer .button{min-width:68px}@media(max-width:900px){.device-editor-drawer{width:100vw;min-width:0}.device-editor-field{grid-template-columns:90px minmax(0,1fr)}}.user-editor-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:42;background:#0007}.user-editor-drawer{position:absolute;inset:0 0 0 auto;display:flex;width:60vw;min-width:min(720px,100vw);flex-direction:column;background:#fff;box-shadow:-6px 0 24px #0002}.user-editor-form{display:grid;flex:1;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:18px 22px;overflow:auto;padding:24px 24px 0}.user-editor-field{display:grid;grid-template-columns:120px minmax(0,1fr);align-items:center;gap:10px;min-width:0;color:#434343}.user-editor-field>span{text-align:right}.user-editor-field .input{width:100%;min-width:0}.user-editor-field .input:disabled{color:#999;background:#f5f5f5;cursor:not-allowed}.user-editor-remark{grid-column:1 / -1;align-items:start}.user-editor-remark>span{padding-top:9px}.user-editor-remark textarea{resize:vertical}.user-editor-form .device-editor-footer{position:sticky;grid-column:1 / -1;bottom:0;align-self:end}@media(max-width:1100px){.user-editor-drawer{width:100vw;min-width:0}.user-editor-form{grid-template-columns:1fr;gap:14px;padding:18px 16px 0}.user-editor-field{grid-template-columns:90px minmax(0,1fr)}.user-editor-remark{grid-column:auto}.user-editor-form .device-editor-footer{margin-right:-16px;margin-left:-16px}}.log-drawer-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;background:#0007}.log-drawer{position:absolute;inset:0 0 0 auto;display:flex;width:60vw;min-width:min(720px,100vw);flex-direction:column;padding:0 16px 18px;background:#fff;box-shadow:-6px 0 24px #0002}.log-drawer-heading{display:flex;min-height:56px;align-items:center;justify-content:space-between;margin:0 -16px;padding:0 20px;border-bottom:1px solid #edf0f4}.log-drawer-heading h2{display:flex;align-items:center;gap:8px;margin:0;color:#27374f;font-size:16px;font-weight:500}.drawer-close{width:28px;height:28px;border:0;color:#7b8493;background:transparent;font-size:22px;cursor:pointer}.log-drawer-tools{display:flex;height:60px;align-items:center;justify-content:flex-end;gap:8px;border-bottom:1px solid #edf0f4}.log-filter{flex-wrap:nowrap;min-height:57px;margin:0;padding:0 12px;white-space:nowrap}.log-filter input{min-width:120px;width:min(18vw,220px)}.log-table-wrap{flex:1;min-height:0;margin:0 0 4px;border:1px solid #eceff3;border-radius:5px}.log-table-wrap table{min-width:900px;table-layout:fixed}.log-table-wrap th,.log-table-wrap td{height:49px;padding:9px 10px;text-align:center;border-right:1px solid #eceff3;white-space:nowrap}.log-table-wrap th{position:relative;background:#fafafa}.column-resize-handle{position:absolute;top:0;right:-2px;z-index:1;width:5px;height:100%;cursor:col-resize;touch-action:none}.column-resize-handle:hover{background:#3159e855}.log-table-wrap tbody tr:nth-child(2n){background:#fafafa}.log-table-wrap td{overflow:hidden;text-overflow:ellipsis}.log-table-wrap td.log-name-column{text-align:left}.log-name-cell{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.drawer-pagination{justify-content:flex-end;gap:8px;min-height:34px;padding:4px 0 0}@media(max-width:900px){.log-drawer{width:100vw;min-width:0}.log-filter{flex-wrap:wrap;height:auto;padding:12px 0}.log-filter input{width:calc(50% - 16px)}}.error-text{color:#cf1322}.success-text{color:#389e0d}.result-box{overflow:auto;max-height:240px;padding:14px;border-radius:4px;color:#434343;background:#f5f5f5}.payload{display:block;max-width:550px;max-height:70px;overflow:auto;color:#0958d9;white-space:pre-wrap;overflow-wrap:anywhere}.small-value{font-size:16px!important;overflow-wrap:anywhere}@media(max-width:760px){.account-password-form{width:100%;padding:12px 0}.account-password-field{grid-template-columns:1fr;gap:6px;margin-bottom:14px}.account-password-actions{margin-left:0}.shell{grid-template-columns:1fr;grid-template-rows:56px auto minmax(0,1fr)}.platform-header{grid-row:1}.platform-header{gap:8px;padding:0 10px}.platform-brand{flex-basis:auto;font-size:14px}.platform-brand img{width:24px;height:24px}.top-nav{display:none}.platform-tools{gap:8px}.sidebar{grid-row:2;min-height:auto;padding:4px 7px;border-right:0;border-bottom:1px solid #e5e7eb}.sidebar-collapse{display:none}.menu{display:flex;overflow:auto}.menu a{flex:0 0 auto;white-space:nowrap}.main{grid-row:3}.content{padding:16px}.overview-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.overview-stat{min-height:112px;padding:14px}.overview-stat strong{font-size:21px}.overview-heading .page-title{font-size:22px}}@media(max-width:420px){.overview-stats{grid-template-columns:1fr}.overview-stat{min-height:96px}.profile-button>span:last-child{max-width:74px;overflow:hidden;text-overflow:ellipsis}}:root{--bg:#f2f5fa;--panel:#fff;--panel2:#f8faff;--text:#17263d;--muted:#72819a;--line:#e4eaf2;--brand:#2457c5;--brand2:#4778e6;--soft:#eaf0ff;--green:#148b69;--greenbg:#e8f7f1;--amber:#b87311;--amberbg:#fff4df;--red:#c34c58;--shadow:0 12px 32px #1937630e;--radius:14px}body{background:var(--bg);color:var(--text);font-family:DM Sans,Noto Sans SC,-apple-system,BlinkMacSystemFont,Segoe UI,Microsoft YaHei,sans-serif;font-size:14px}.shell{display:block;min-height:100vh;background:var(--bg)}.platform-header{position:sticky;top:0;z-index:15;display:flex;height:66px;align-items:center;gap:18px;padding:0 22px;border-bottom:1px solid var(--line);color:var(--text);background:#fffffff5;box-shadow:0 5px 18px #1f396112}.platform-brand{display:flex;min-width:210px;flex:0 0 auto;align-items:center;gap:11px;color:#174ea6;font-family:Segoe UI,sans-serif;font-size:17px;font-weight:800;letter-spacing:.1px;white-space:nowrap}.platform-brand img{width:34px;height:34px;border-radius:8px;object-fit:cover;object-position:top;background:#fff}.top-nav{display:flex;height:100%;min-width:0;align-items:stretch}.top-nav a,.top-nav button{display:inline-flex;min-width:104px;align-items:center;justify-content:center;gap:8px;padding:0 15px;border:0;border-left:1px solid #e7ecf4;color:#718096;background:transparent;font-size:13px;font-weight:600;text-decoration:none;white-space:nowrap}.top-nav a:hover,.top-nav button:hover,.top-nav a.router-link-active,.top-nav button.active{color:#172033;background:linear-gradient(180deg,#2f6fff1c,#2f6fff08)}.top-nav a.router-link-active,.top-nav button.active{box-shadow:inset 0 -2px #2f6fff}.top-nav span{font-size:16px}.platform-tools{margin-left:auto;gap:12px}.header-icon{color:#718096}.profile-button{color:#40516c}.profile-avatar{width:30px;height:30px;background:#e5efff;color:#174ea6}.sidebar,.page-tabs{display:none!important}.main{width:100%;min-height:calc(100vh - 66px);margin:0 auto}.content{width:min(1500px,100%);margin:0 auto;padding:24px 28px 36px}.data-view{display:grid;min-width:0;gap:18px}.page-top{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin:0 0 2px}.eyebrow{color:var(--brand);font-size:12px;font-weight:700;letter-spacing:.7px}.page-title{margin:5px 0;color:var(--text);font-size:25px;font-weight:700;letter-spacing:-.5px}.sub{color:var(--muted);font-size:13px}.device-page.panel,.overview-device-panel{overflow:visible;border:1px solid var(--line);border-radius:var(--radius);background:var(--panel);box-shadow:var(--shadow)}.device-page-heading{min-height:62px;padding:0 18px;border-bottom:1px solid var(--line)}.device-page-heading h1{display:flex;align-items:center;gap:9px;color:var(--text);font-size:15px;font-weight:700}.device-total{color:var(--muted);font-size:12px;font-weight:500}.device-page-tools{gap:8px}.device-filters{gap:10px;padding:15px 18px;border-bottom:1px solid var(--line)}.filter-field{gap:9px;color:var(--text);font-size:13px}.input,.device-filters .input,.control{min-height:38px;border-color:var(--line);border-radius:9px;background:var(--panel);color:var(--text)}.button{min-height:36px;border-color:var(--line);border-radius:9px;color:#40516c;background:var(--panel)}.button:hover{border-color:var(--brand2);color:var(--brand)}.button.primary{border-color:var(--brand);color:#fff;background:var(--brand)}.icon-tool{width:34px;height:34px;border-radius:9px;color:#61718b;background:var(--panel2)}.table-wrap{border-color:var(--line);border-radius:9px}.device-table th,.log-table-wrap th{color:var(--muted);background:var(--panel2);font-size:11px;letter-spacing:.3px}.device-table td,.device-table th,.log-table-wrap td,.log-table-wrap th{border-color:var(--line)}.device-table tbody tr:hover,.log-table-wrap tbody tr:hover{background:#f8faff}.device-table td{color:#33445f}.device-table th.status-column,.device-table td.status-column{width:112px;min-width:112px;white-space:nowrap}.device-table .status-column .overview-status{max-width:100%;overflow:hidden;text-overflow:ellipsis}.table-actions button,.table-actions .danger-link{color:var(--brand)}.device-pagination{margin-top:0;padding:12px 16px}.page-control,.page-number{width:30px;height:30px;border-radius:8px}.page-number.active{color:var(--brand);background:var(--soft)}.page-size{height:30px;border-color:var(--line);border-radius:8px}.overview-stat strong{color:var(--text)}.overview-device-panel{padding:0}.overview-panel-heading{min-height:58px}.overview-table th{background:var(--panel2)}.log-drawer{border-left:1px solid var(--line)}@media(max-width:900px){.content{padding:20px 18px 30px}.platform-brand{min-width:auto}.top-nav a,.top-nav button{min-width:72px;padding:0 8px;font-size:12px}.overview-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:680px){.platform-header{height:58px;padding:0 12px;gap:8px}.platform-brand{font-size:14px}.platform-brand img{width:28px;height:28px}.top-nav{overflow:auto;scrollbar-width:none}.top-nav::-webkit-scrollbar{display:none}.top-nav a,.top-nav button{min-width:auto;flex:0 0 auto;padding:0 9px;font-size:11px}.top-nav span{display:none}.platform-tools{gap:7px}.header-icon{display:none}.profile-button>span:last-child{max-width:62px;overflow:hidden;text-overflow:ellipsis}.main{min-height:calc(100vh - 58px)}.content{padding:16px 12px 24px}.page-title{font-size:22px}.overview-stats{gap:9px}.overview-stat{min-height:104px;padding:13px}.overview-stat strong{font-size:21px}.device-page-heading{align-items:flex-start;flex-direction:column;padding:12px}.device-page-tools{align-self:flex-end}.device-filters{align-items:stretch;flex-direction:column}.filter-field{display:grid;grid-template-columns:90px minmax(0,1fr)}.filter-field .input{width:100%}.device-pagination{flex-wrap:wrap;justify-content:flex-end}.user-table-wrap,.device-table-wrap{max-height:calc(100vh - 260px)}}@media(max-width:420px){.overview-stats{grid-template-columns:1fr}.platform-brand{gap:6px}.platform-brand img{width:24px;height:24px}.top-nav a,.top-nav button{padding:0 6px}.profile-button{gap:5px}}.overview-page{gap:18px}.overview-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.overview-heading .page-title{margin:5px 0;color:var(--text);font-size:25px;font-weight:700}.overview-subtitle{margin:0;color:var(--muted);font-size:13px}.overview-stats{gap:16px}.overview-stat{min-height:118px;padding:17px 18px;border-color:var(--line);border-radius:var(--radius);color:var(--text);background:var(--panel);box-shadow:var(--shadow)}.overview-stat-icon{color:var(--brand);background:var(--soft)}.overview-stat-label,.overview-stat small{color:var(--muted)}.overview-stat strong{color:var(--text);font-variant-numeric:tabular-nums}.overview-stat .state-good{color:var(--green)}.overview-stat .state-muted{color:var(--muted)}.overview-stat .state-alert{color:var(--amber)}.overview-lower-grid{display:grid;min-width:0;grid-template-columns:minmax(0,1.3fr) minmax(280px,.7fr);align-items:stretch;gap:16px}.overview-device-panel,.overview-activity-panel{min-width:0;overflow:hidden;padding:0;border:1px solid var(--line);border-radius:var(--radius);background:var(--panel);box-shadow:var(--shadow)}.overview-panel-heading{display:flex;min-height:54px;align-items:center;justify-content:space-between;gap:12px;padding:0 18px;border-bottom:1px solid var(--line)}.overview-panel-heading h2{margin:0;color:var(--text);font-size:15px;font-weight:700}.overview-table-wrap{max-height:470px;overflow:auto}.overview-table{width:100%;min-width:580px}.overview-table th{position:sticky;top:0;z-index:1;color:var(--muted);background:var(--panel2);font-size:11px}.overview-table td,.overview-table th{border-color:var(--line)}.overview-table td:first-child{display:table-cell}.overview-table td:first-child strong,.overview-table td:first-child small{display:block}.overview-table td:first-child strong{color:#25334c;font-weight:600}.overview-table td:first-child small{margin-top:4px;color:var(--muted);font-size:11px}.overview-status{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border-radius:99px;font-size:11px;font-weight:650;white-space:nowrap}.overview-status i{width:6px;height:6px;border-radius:50%;background:currentColor}.status-online{color:var(--green);background:var(--greenbg)}.status-offline{color:var(--amber);background:var(--amberbg)}.status-unknown,.status-pending{color:var(--muted);background:#eef1f5}.overview-link{padding:5px 4px;border:0;color:var(--brand);background:transparent;font-size:12px;cursor:pointer;white-space:nowrap}.overview-link:hover{color:var(--brand2)}.overview-activity-list{padding:0 18px}.overview-activity-item{display:flex;min-height:51px;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);font-size:12px}.overview-activity-item:last-child{border-bottom:0}.overview-activity-item>div{display:flex;min-width:0;flex-direction:column;gap:4px}.overview-activity-item span{color:var(--text)}.overview-activity-item strong{overflow:hidden;color:var(--muted);font-size:11px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.overview-activity-item time{flex:0 0 auto;color:var(--muted);font-size:11px}.overview-activity-empty{display:grid;min-height:160px;place-items:center;color:var(--muted);font-size:12px;text-align:center}@media(max-width:900px){.overview-lower-grid{grid-template-columns:minmax(0,1fr)}.overview-activity-empty{min-height:100px}}@media(max-width:420px){.overview-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-stat{min-height:104px;padding:13px}.overview-stat strong{font-size:21px}.overview-stat-icon{top:12px;right:12px;width:30px;height:30px}.overview-table{min-width:520px}}.account-dialog-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:grid;place-items:center;padding:18px;background:#101d3161;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.account-dialog{width:min(480px,100%);overflow:hidden;border:1px solid var(--line);border-radius:16px;background:var(--panel);box-shadow:0 24px 80px #12274838}.account-dialog-heading{display:flex;min-height:78px;align-items:center;justify-content:space-between;gap:12px;padding:14px 22px;border-bottom:1px solid var(--line)}.account-dialog-heading h2{margin:5px 0 0;color:var(--text);font-size:19px;font-weight:700}.account-dialog-heading .eyebrow{font-size:10px}.account-dialog-heading .drawer-close{flex:0 0 auto;border-radius:8px}.account-dialog-form{padding:15px 22px 20px}.account-dialog-field{display:grid;grid-template-columns:92px minmax(0,1fr);align-items:center;gap:12px;margin:13px 0;color:var(--text);font-size:13px}.account-dialog-field input{width:100%;min-width:0;height:40px;padding:0 11px;border:1px solid var(--line);border-radius:8px;outline:0;color:var(--text);background:var(--panel)}.account-dialog-field input:focus{border-color:var(--brand2);box-shadow:0 0 0 3px #3977f61c}.account-dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:20px;padding-top:14px;border-top:1px solid var(--line)}.account-dialog-actions .button{min-width:90px}.account-dialog-actions .button:disabled{opacity:.55;cursor:not-allowed}.account-success-backdrop{z-index:60}@media(max-width:480px){.account-dialog-heading{padding:13px 16px}.account-dialog-form{padding:12px 16px 16px}.account-dialog-field{grid-template-columns:1fr;gap:6px;margin:12px 0}.account-dialog-actions .button{flex:1}}.device-editor-backdrop,.user-editor-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:45;display:grid;place-items:center;padding:20px;background:#101d3166;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.device-editor-dialog{display:flex;width:min(560px,100%);max-height:min(88vh,680px);flex-direction:column;overflow:hidden;border:1px solid var(--line);border-radius:16px;background:var(--panel);box-shadow:0 24px 80px #12274838}.device-editor-dialog .device-editor-heading{min-height:66px;padding:0 22px}.device-editor-dialog .device-editor-form{display:flex;min-height:0;flex:1;flex-direction:column;overflow:auto;padding:18px 22px 0}.device-editor-dialog .device-editor-field{grid-template-columns:96px minmax(0,1fr);margin-bottom:14px}.device-editor-dialog .device-editor-footer{margin:12px -22px 0;padding:13px 22px}.user-editor-dialog{display:flex;width:min(760px,100%);max-height:min(90vh,760px);flex-direction:column;overflow:hidden;border:1px solid var(--line);border-radius:16px;background:var(--panel);box-shadow:0 24px 80px #12274838}.user-editor-dialog .device-editor-heading{min-height:66px;padding:0 22px}.user-editor-dialog .user-editor-form{display:grid;min-height:0;flex:1;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:16px 20px;overflow:auto;padding:20px 22px 0}.user-editor-dialog .user-editor-field{grid-template-columns:104px minmax(0,1fr);gap:9px}.user-editor-dialog .user-editor-remark{grid-column:1/-1}.user-editor-dialog .user-editor-form .device-editor-footer{position:sticky;bottom:0;grid-column:1/-1;margin:6px -22px 0;padding:13px 22px;background:var(--panel)}@media(max-width:700px){.device-editor-backdrop,.user-editor-backdrop{padding:12px}.device-editor-dialog,.user-editor-dialog{max-height:calc(100dvh - 24px);border-radius:13px}.user-editor-dialog .user-editor-form{grid-template-columns:minmax(0,1fr);gap:13px;padding:16px 16px 0}.user-editor-dialog .user-editor-field{grid-template-columns:92px minmax(0,1fr)}.user-editor-dialog .user-editor-remark{grid-column:auto}.user-editor-dialog .user-editor-form .device-editor-footer{margin-right:-16px;margin-left:-16px;padding:12px 16px}}
