:root{font-family:Microsoft YaHei,PingFang SC,Segoe UI,sans-serif;color:#17272b;background:#edf1f3;font-synthesis:none;text-rendering:optimizeLegibility;--bg: #edf1f3;--surface: #ffffff;--surface-muted: #f3f6f7;--border: #cfd8dc;--border-strong: #b8c5ca;--text: #17272b;--muted: #52636a;--primary: #087866;--primary-dark: #075e51;--primary-soft: #e3f4ef;--info: #226b9b;--info-soft: #e5f1f8;--warning: #a96600;--warning-soft: #fff1d2;--danger: #b52f42;--danger-soft: #fce7eb;--accent: #ba572f;--sidebar: #172b2e;--sidebar-soft: #234044;--shadow: 0 6px 18px rgba(26, 43, 48, .1)}*{box-sizing:border-box;letter-spacing:0}html,body,#root{min-width:320px;min-height:100%;margin:0;overflow-x:hidden}body{min-height:100vh;background:var(--bg);font-size:14px;line-height:1.5}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,canvas:focus-visible{outline:3px solid rgba(49,111,152,.24);outline-offset:2px}h1,h2,h3,p{margin-top:0}h1,h2,h3,strong{overflow-wrap:anywhere}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.button,.icon-button,.command-button{border:0;cursor:pointer;transition:background-color .15s ease,border-color .15s ease,color .15s ease,opacity .15s ease}.button:disabled,.icon-button:disabled,.command-button:disabled{cursor:not-allowed;opacity:.48}.button{display:inline-flex;min-height:38px;align-items:center;justify-content:center;gap:8px;padding:8px 15px;border:1px solid transparent;border-radius:6px;font-weight:650;line-height:1.2}.button-primary{color:#fff;background:var(--primary)}.button-primary:hover:not(:disabled){background:var(--primary-dark)}.button-secondary{color:var(--text);border-color:var(--border-strong);background:var(--surface)}.button-secondary:hover:not(:disabled){background:#eef2f0}.button-danger{color:#fff;background:var(--danger)}.button-warning{color:#fff;background:var(--warning)}.button-warning:hover:not(:disabled){background:#8d5600}.button-danger-ghost{color:var(--danger);border-color:#e6b7bc;background:#fffafb}.icon-button{display:inline-grid;width:38px;height:38px;flex:0 0 38px;place-items:center;padding:0;color:#4d5a58;border:1px solid var(--border);border-radius:6px;background:var(--surface)}.icon-button:hover:not(:disabled){color:var(--primary);border-color:#9ebeb5;background:var(--primary-soft)}.icon-button-small{width:30px;height:30px;flex-basis:30px}.icon-button-danger{color:var(--danger)}.action-row,.table-actions{display:flex;align-items:center;gap:8px}input,select,textarea{width:100%;min-height:40px;padding:8px 11px;color:var(--text);border:1px solid var(--border-strong);border-radius:5px;background:#fff}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#929d99}.field-stack,.form-stack{display:flex;flex-direction:column;gap:7px}.form-stack{gap:16px}.field-stack>span{color:#45514e;font-size:13px;font-weight:650}.input-with-icon{position:relative;display:flex;align-items:center}.input-with-icon>svg{position:absolute;left:12px;z-index:1;color:#77827f;pointer-events:none}.input-with-icon input{padding-left:40px;padding-right:40px}.input-with-icon input::-ms-reveal,.input-with-icon input::-ms-clear{display:none}.input-icon-button{position:absolute;right:5px;display:grid;width:32px;height:32px;place-items:center;padding:0;color:#65716e;border:0;background:transparent}.spin{animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.page-loading{display:flex;min-height:260px;align-items:center;justify-content:center;gap:10px;color:var(--muted)}.fullscreen-loading{min-height:100vh}.inline-loading,.inline-error{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:13px}.inline-error,.text-danger{color:var(--danger)}.auth-layout{display:grid;min-height:100vh;grid-template-columns:minmax(380px,44%) 1fr;background:#f7f9f8}.auth-brand-panel{position:relative;display:flex;min-height:100vh;flex-direction:column;justify-content:space-between;overflow:hidden;padding:44px clamp(34px,5vw,76px);color:#eef6f3;background:var(--sidebar)}.auth-brand,.sidebar-brand{display:flex;align-items:center;gap:12px}.brand-mark,.mobile-brand-mark{display:grid;width:44px;height:44px;flex:0 0 44px;place-items:center;color:#fff;border-radius:7px;background:var(--primary)}.auth-brand div,.sidebar-brand div{display:flex;min-width:0;flex-direction:column}.auth-brand strong{font-size:18px}.auth-brand span,.sidebar-brand span{margin-top:2px;color:#aebdb9;font-size:12px}.auth-signal-visual{position:relative;width:min(100%,620px);height:330px;align-self:center;overflow:hidden;border:1px solid rgba(174,203,194,.22);border-radius:7px;background:#263332}.signal-grid{position:absolute;inset:0;opacity:.45;background-image:linear-gradient(rgba(174,203,194,.11) 1px,transparent 1px),linear-gradient(90deg,rgba(174,203,194,.11) 1px,transparent 1px);background-size:34px 34px}.signal-line{position:absolute;left:-10%;width:120%;height:2px;background:#62c5a8;transform-origin:center}.signal-one{top:48%;transform:rotate(-8deg);box-shadow:60px -24px #62c5a885,130px 36px #62c5a86b,210px -54px #62c5a885}.signal-two{top:64%;background:#e18a62;transform:rotate(5deg);box-shadow:86px 24px #e18a626b,180px -30px #e18a627a}.signal-node{position:absolute;width:14px;height:14px;border:3px solid #ffffff;border-radius:50%;background:var(--primary)}.node-one{left:22%;top:37%}.node-two{right:28%;top:52%;background:var(--accent)}.node-three{left:48%;bottom:18%}.auth-capabilities{display:flex;flex-wrap:wrap;gap:10px 20px}.auth-capabilities span{display:flex;align-items:center;gap:8px;color:#c6d3cf;font-size:13px}.auth-form-panel{display:grid;min-height:100vh;place-items:center;padding:36px}.auth-form{display:flex;width:min(100%,420px);flex-direction:column;gap:18px}.auth-form-heading{margin-bottom:10px}.auth-form-heading h1{margin-bottom:9px;font-size:28px;line-height:1.2}.auth-form-heading p{margin-bottom:0;color:var(--muted);line-height:1.7}.mobile-brand-mark{display:none;margin-bottom:22px}.auth-submit{width:100%;min-height:44px;margin-top:4px}.aliyun-captcha-host,.aliyun-captcha-element{width:100%;min-height:0}.aliyun-captcha-sdk-trigger{position:fixed;width:1px;height:1px;overflow:hidden;padding:0;border:0;opacity:0;pointer-events:none}.aliyun-captcha-state{display:flex;align-items:center;justify-content:center;gap:7px;margin:-4px 0 0;color:var(--muted);font-size:12px}.aliyun-captcha-error{margin:-4px 0 0;text-align:center;line-height:1.55}.auth-switch{color:var(--muted);text-align:center;font-size:13px}.auth-switch button{margin-left:7px;padding:0;color:var(--primary);border:0;background:transparent;font-weight:700;cursor:pointer}.auth-forgot-row{display:flex;justify-content:flex-end;margin-top:-8px}.auth-forgot-row button{padding:0;color:var(--primary);border:0;background:transparent;font-size:12px;font-weight:700;cursor:pointer}.app-layout{display:flex;min-height:100vh}.sidebar{position:fixed;z-index:20;display:flex;width:244px;height:100vh;flex-direction:column;color:#edf5f2;background:var(--sidebar)}.sidebar-brand{min-height:74px;padding:15px 16px;border-bottom:1px solid rgba(225,240,235,.1)}.sidebar-brand .brand-mark{width:38px;height:38px;flex-basis:38px}.sidebar-brand strong{font-size:16px}.sidebar-close{display:none;margin-left:auto;color:#c5d3cf;border-color:transparent;background:transparent}.sidebar-nav{display:flex;flex:1;flex-direction:column;gap:3px;padding:22px 12px;overflow-y:auto}.nav-section-label{padding:0 12px 10px;color:#879894;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.sidebar-nav a{display:flex;min-height:43px;align-items:center;gap:11px;padding:0 12px;color:#b7c5c1;border-left:3px solid transparent;border-radius:5px;text-decoration:none;font-size:14px;font-weight:600}.sidebar-nav a:hover{color:#fff;background:var(--sidebar-soft)}.sidebar-nav a.active{color:#fff;border-left-color:#62d2b1;background:#294b4d;font-weight:750}.nav-chevron{margin-left:auto;opacity:0;transform:rotate(180deg)}.sidebar-nav a.active .nav-chevron{opacity:.75}.sidebar-user{display:flex;min-height:72px;align-items:center;gap:10px;padding:12px 13px;border-top:1px solid rgba(225,240,235,.1)}.sidebar-user>div{display:flex;min-width:0;flex:1;flex-direction:column}.sidebar-user strong{overflow:hidden;color:#f5fbf9;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.sidebar-user span:not(.user-avatar){margin-top:3px;color:#93a29e;font-size:11px}.user-avatar{display:inline-grid;width:34px;height:34px;flex:0 0 34px;place-items:center;color:#fff;border-radius:50%;background:#477268;font-size:14px;font-weight:700}.app-main{width:calc(100% - 244px);min-width:0;min-height:100vh;margin-left:244px}.topbar{position:sticky;z-index:10;top:0;display:flex;min-height:74px;align-items:center;justify-content:space-between;gap:18px;padding:12px 30px;border-bottom:1px solid var(--border);background:#fffffff5;backdrop-filter:blur(8px)}.topbar-title,.topbar-title>div{display:flex;align-items:center}.topbar-title{min-width:0;gap:12px}.topbar-title>div{min-width:0;flex-direction:column;align-items:flex-start}.topbar h1{margin:0;color:#253331;font-size:22px;font-weight:750;line-height:1.25}.topbar-title span{margin-top:4px;color:var(--muted);font-size:12px}.mobile-menu{display:none}.connection-state{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:12px;white-space:nowrap}.connection-state>span{width:8px;height:8px;border-radius:50%;background:#98a29f}.connection-connected>span{background:var(--primary);box-shadow:0 0 0 4px #167a671f}.connection-connecting>span{background:var(--warning)}.connection-disconnected>span{background:var(--danger)}.page-content{width:min(100%,1720px);min-width:0;margin:0 auto;padding:26px 30px 48px}.page-actions{display:flex;min-height:45px;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.page-actions h2,.section-heading h2,.group-workspace-heading h2{margin:0;color:#273634;font-size:20px;line-height:1.3}.page-actions p,.section-heading p,.group-workspace-heading p{margin:5px 0 0;color:var(--muted);font-size:13px;line-height:1.5}.page-actions .inline-error{margin-top:6px}.page-section{margin-top:24px;padding:22px;border:1px solid #c8d3d8;border-radius:7px;background:var(--surface)}.section-heading,.group-workspace-heading,.command-panel-header,.table-toolbar,.map-list-heading,.group-list-heading,.waveform-card-header,.waveform-toolbar,.waveform-footer,.ownership-current,.inline-form{display:flex;align-items:center;justify-content:space-between;gap:14px}.section-heading{margin-bottom:18px;padding-bottom:13px;border-bottom:2px solid #e3e9ec}.section-heading>svg{color:var(--primary)}.metric-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.metric-card{display:flex;min-height:96px;align-items:center;gap:13px;padding:16px 17px;border:1px solid #c8d3d8;border-left:4px solid var(--primary);border-radius:6px;background:var(--surface)}.metric-card>svg{color:var(--primary);width:38px;height:38px;padding:8px;border-radius:6px;background:var(--primary-soft)}.metric-card>div{display:flex;min-width:0;flex-direction:column}.metric-card strong{color:#17272b;font-size:29px;font-weight:780;line-height:1.1}.metric-card span{margin-top:6px;color:var(--muted);font-size:13px;font-weight:650}.metric-total{background:#f9fbfc}.metric-online{border-left-color:#158768;background:#f0faf6}.metric-online>svg{color:#08735b;background:#d9f1e7}.metric-live{border-left-color:var(--info);background:#eef6fb}.metric-live>svg{color:var(--info);background:#dbeaf5}.metric-warning{border-left-color:var(--danger);background:#fff2f4}.metric-warning>svg{color:var(--danger);background:#f8dce2}.metric-battery{border-left-color:var(--warning);background:#fff8e9}.metric-battery>svg{color:var(--warning);background:#f8e9c3}.table-panel{overflow:hidden;border:1px solid var(--border);border-radius:6px}.table-toolbar{flex-wrap:wrap;padding:12px;border-bottom:1px solid var(--border);background:var(--surface-muted)}.search-field{display:flex;width:min(100%,330px);min-height:38px;align-items:center;gap:9px;padding:0 11px;color:#74807c;border:1px solid var(--border-strong);border-radius:5px;background:var(--surface)}.search-field input{min-height:36px;padding:0;border:0;outline:0}.admin-search-field{width:min(100%,280px)}.segmented-control{display:flex;overflow:auto;max-width:100%;border:1px solid var(--border-strong);border-radius:5px;background:var(--surface)}.segmented-control button{min-height:36px;padding:0 13px;color:var(--muted);border:0;border-right:1px solid var(--border);background:transparent;cursor:pointer;font-size:12px;white-space:nowrap}.segmented-control button:last-child{border-right:0}.segmented-control button.active{color:var(--primary-dark);background:var(--primary-soft);font-weight:700}.table-scroll{width:100%;overflow-x:auto}.data-table{width:100%;min-width:760px;border-collapse:collapse;font-size:13px}.data-table th,.data-table td{padding:13px 14px;border-bottom:1px solid #e6ebe9;text-align:left;vertical-align:middle}.data-table th{color:#66736f;background:#fbfcfc;font-size:11px;font-weight:750;letter-spacing:.03em;text-transform:uppercase;white-space:nowrap}.data-table tbody tr:last-child td{border-bottom:0}.data-table tbody tr{cursor:pointer}.data-table tbody tr:hover,.data-table tbody tr:focus{background:#f5faf8;outline:0}.data-table td strong{display:block;color:#2f3d3b;font-size:13px}.data-table td small,.cell-subline{display:block;margin-top:3px;color:var(--muted);font-size:11px}.time-cell{color:#596661;white-space:nowrap}.muted-cell{color:var(--muted)}.device-identity-cell,.user-cell,.battery-cell{display:flex;align-items:center;gap:9px}.device-identity-cell>div,.user-cell>div{display:flex;min-width:0;flex-direction:column}.device-identity-cell span:not(.device-dot),.user-cell span:not(.user-avatar){margin-top:3px;color:var(--muted);font-size:11px}.device-dot{width:9px;height:9px;flex:0 0 9px;border-radius:50%;background:var(--primary);box-shadow:0 0 0 4px var(--primary-soft)}.device-dot-stopped{background:#89979b;box-shadow:0 0 0 4px #e8edef}.device-dot-fault{background:var(--danger);box-shadow:0 0 0 4px var(--danger-soft)}.device-dot-warning{background:#c88a12;box-shadow:0 0 0 4px var(--warning-soft)}.battery-cell{color:#64716d;white-space:nowrap}.battery-cell small{color:var(--muted)}.battery-level-icon{display:inline-block;flex:0 0 auto;overflow:visible;vertical-align:middle}.battery-level-low{color:#c73745}.battery-level-medium{color:#c88a12}.battery-level-high{color:#21865f}.battery-level-unknown{color:#87938f}.status-badge{display:inline-flex;min-height:24px;align-items:center;justify-content:center;padding:3px 8px;border:1px solid transparent;border-radius:4px;font-size:11px;font-weight:700;line-height:1.2;white-space:nowrap}.status-success{color:#116b57;border-color:#b8dfd4;background:var(--primary-soft)}.status-warning{color:#8e5a08;border-color:#eed6a2;background:var(--warning-soft)}.status-danger{color:#a33440;border-color:#edc1c6;background:var(--danger-soft)}.status-info{color:#2a6087;border-color:#bed7e7;background:var(--info-soft)}.status-neutral{color:#66736f;border-color:#d9e0dd;background:#f2f5f4}.map-shell{position:relative;min-height:260px;overflow:hidden;border:1px solid var(--border);border-radius:6px;background:#e9eeec}.device-map{width:100%;height:100%}.amap-device-marker{display:grid;width:22px;height:22px;place-items:center;border:3px solid #ffffff;border-radius:50%;background:#226b9b;box-shadow:0 2px 9px #16272d57;cursor:pointer;transition:width .12s ease,height .12s ease,box-shadow .12s ease,opacity .12s ease}.amap-device-marker>span{width:6px;height:6px;border-radius:50%;background:#ffffffe6}.marker-running{background:#087866}.marker-waiting{background:#d18a14}.marker-warning{background:#c88a12}.marker-fault{background:#c83448}.marker-offline{background:#69777e;opacity:.68}.marker-selected{width:28px;height:28px;border-width:4px;border-color:#fff;box-shadow:0 0 0 4px #dc6738,0 4px 14px #16272d6b}.map-control{position:absolute;z-index:500;top:12px;right:12px;box-shadow:0 2px 8px #1a2d2a29}.map-empty-overlay{position:absolute;z-index:600;inset:0;display:grid;place-items:center;background:#f8faf9b8;pointer-events:none}.map-empty-overlay .empty-state{max-width:300px;border:0;background:transparent}.map-error-overlay{background:#fff8f8ed}.map-loading-overlay{display:flex;flex-direction:column;gap:10px;color:var(--muted);font-size:13px;background:#f4f7f8eb}.empty-state{display:flex;min-height:180px;flex-direction:column;align-items:center;justify-content:center;gap:9px;padding:28px 20px;color:var(--muted);text-align:center}.empty-state>svg{color:#8ca39c}.empty-state strong{color:#45514e;font-size:14px}.empty-state p{max-width:360px;margin:0;font-size:12px;line-height:1.6}.modal-backdrop{position:fixed;z-index:1000;inset:0;display:grid;place-items:center;padding:20px;background:#1b27268a}.modal-panel{display:flex;width:min(100%,720px);max-height:min(92vh,900px);flex-direction:column;overflow:hidden;border:1px solid #cfd9d5;border-radius:7px;background:var(--surface);box-shadow:0 20px 70px #131f1d42}.modal-small{width:min(100%,460px)}.modal-large{width:min(100%,1080px)}.modal-fullscreen{width:min(100%,1540px);height:min(94vh,1040px)}.modal-header{display:flex;min-height:72px;align-items:flex-start;justify-content:space-between;gap:14px;padding:18px 21px 14px;border-bottom:1px solid var(--border)}.modal-header h2{margin:0;color:#273634;font-size:19px}.modal-header p{margin:5px 0 0;color:var(--muted);font-size:12px;line-height:1.5}.modal-header-actions{display:flex;flex:0 0 auto;align-items:center;gap:8px}.modal-body{min-height:0;flex:1;overflow:auto;padding:20px 21px}.modal-footer{display:flex;min-height:64px;align-items:center;justify-content:flex-end;gap:9px;padding:12px 21px;border-top:1px solid var(--border);background:#fbfcfc}.confirmation-copy{margin:0;color:#52605c;font-size:13px;line-height:1.75}.generated-password-result{display:flex;flex-direction:column;gap:10px}.generated-password-result>span{color:var(--muted);font-size:12px;font-weight:650}.generated-password-result>div{display:flex;align-items:center;gap:8px}.generated-password-result code{min-width:0;flex:1;padding:12px 14px;color:#1f4038;border:1px solid #b9d6cd;border-radius:5px;background:#eef8f4;font-size:20px;font-weight:750;letter-spacing:0;text-align:center;user-select:all}.generated-password-result p{margin:0;color:var(--danger);font-size:12px;line-height:1.6}.toast-stack{position:fixed;z-index:1200;right:22px;bottom:22px;display:flex;width:min(380px,calc(100vw - 32px));flex-direction:column;gap:8px;pointer-events:none}.toast{display:flex;min-height:48px;align-items:center;gap:9px;padding:10px 11px 10px 13px;color:#2d3a38;border:1px solid var(--border);border-left:4px solid var(--primary);border-radius:6px;background:#fff;box-shadow:var(--shadow);pointer-events:auto;font-size:13px}.toast span{flex:1;line-height:1.5}.toast-success>svg{color:var(--primary)}.toast-error{border-left-color:var(--danger)}.toast-error>svg{color:var(--danger)}.toast-info>svg{color:var(--info)}.device-detail-heading{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:5px}.detail-section{margin-top:14px;padding:20px 18px;border-bottom:1px solid #dce4e7;border-left:4px solid #8ba1aa;background:#f6f8f9}.detail-section:last-child{border-bottom:0}.detail-section>h3{margin:0 0 16px;color:#203238;font-size:17px;font-weight:750}.detail-section-identity{border-left-color:var(--info);background:#f1f7fb}.detail-section-acquisition{border-left-color:var(--primary);background:#f0f8f5}.detail-section-control{border-left-color:var(--warning);background:#fff9eb}.detail-section-history{border-left-color:var(--accent);background:#fff7f3}.detail-section-ownership{border-left-color:#6f7e85;background:#f4f6f7}.detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 22px}.detail-item{display:flex;min-width:0;align-items:flex-start;gap:10px}.detail-item>svg{flex:0 0 18px;margin-top:2px;color:#407c87}.detail-item>div{display:flex;min-width:0;flex-direction:column}.detail-item span{color:#52636a;font-size:12px;font-weight:600}.detail-item strong{margin-top:4px;color:#1e3035;font-size:14px;font-weight:720;line-height:1.45}.fault-band{display:flex;align-items:flex-start;gap:11px;margin:20px 0 0;padding:13px 14px;color:#56635f;border:1px solid var(--border);border-radius:5px;background:#f7f9f8}.fault-band>svg{flex:0 0 19px;color:#83908c}.fault-band div{display:flex;min-width:0;flex:1;flex-direction:column;gap:3px}.fault-band strong{font-size:12px}.fault-band span{font-size:12px;line-height:1.5}.fault-band small{color:inherit;font-size:11px;line-height:1.5;overflow-wrap:anywhere;opacity:.85}.fault-error{color:#9e3743;border-color:#ecc4c9;background:var(--danger-soft)}.fault-error>svg{color:var(--danger)}.fault-warning{color:#806119;border-color:#ead394;background:#fff8df}.fault-warning>svg{color:#b9820f}.fault-event-list{margin-top:6px;gap:7px!important}.fault-event{display:grid;gap:3px;padding:8px 10px;color:#34433f;border:1px solid #d8dfdc;border-left-width:3px;border-radius:4px;background:#fff}.fault-event header{display:flex;align-items:center;justify-content:space-between;gap:12px}.fault-event header b{font-size:11px}.fault-event time{color:#66736f;font-size:11px;font-variant-numeric:tabular-nums}.fault-event-warning{border-left-color:#c18a18;background:#fffaf0}.fault-event-warning header b{color:#956508}.fault-event-error{border-left-color:var(--danger);background:#fff5f6}.fault-event-error header b{color:#a22f40}.fault-clear-button{flex:0 0 auto;align-self:flex-start}.command-panel{padding:0}.command-panel-header{align-items:flex-start;margin-bottom:16px}.command-panel-header h3{margin:0;color:#33423f;font-size:15px}.command-panel-header p{margin:5px 0 0;color:var(--muted);font-size:12px;line-height:1.5}.command-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.command-button{display:flex;min-height:44px;align-items:center;justify-content:flex-start;gap:8px;padding:8px 10px;color:#41504c;border:1px solid var(--border-strong);border-radius:5px;background:#fff;font-size:12px;font-weight:650;text-align:left}.command-button:hover:not(:disabled){border-color:#9fc1b6;background:#f2f8f5}.command-button svg{flex:0 0 18px;color:#5f7e74}.command-positive{color:#126b57;border-color:#b9ddd3;background:#fbfefd}.command-positive svg{color:var(--primary)}.command-danger{color:#a73b47;border-color:#e9bdc2;background:#fffafb}.command-danger svg{color:var(--danger)}.setting-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}.setting-controls label{display:flex;align-items:center;gap:8px}.setting-controls label>span{display:flex;min-width:82px;align-items:center;gap:6px;color:var(--muted);font-size:12px;white-space:nowrap}.setting-controls select{min-width:0;min-height:36px}.command-constraint{margin:10px 0 0;color:var(--warning);font-size:12px;font-weight:650}.batch-result-list{display:grid;gap:12px}.batch-result-section{padding:14px 16px;border:1px solid var(--border);border-left:4px solid var(--info);border-radius:6px;background:#f6fafc}.batch-result-section header{display:flex;align-items:center;gap:8px}.batch-result-section header strong{flex:1;color:var(--text);font-size:14px}.batch-result-section header span{color:var(--muted);font-size:12px;font-weight:700}.batch-result-section p{margin:9px 0 0 26px;color:var(--muted);font-size:12px;line-height:1.7;overflow-wrap:anywhere}.batch-result-section.result-success{border-left-color:var(--primary);background:#f1f9f6}.batch-result-section.result-success svg{color:var(--primary)}.batch-result-section.result-failed{border-left-color:var(--danger);background:#fff5f6}.batch-result-section.result-failed svg{color:var(--danger)}.batch-result-section.result-offline{border-left-color:var(--warning);background:#fff9ed}.batch-result-section.result-offline svg{color:var(--warning)}.batch-command-row{background:#f3f8f6}.batch-name{display:inline-flex;align-items:center;gap:7px;color:var(--text);font-weight:750}.batch-name svg{color:var(--primary)}.batch-command-child{background:#fafcfb}.batch-command-child td:first-child{padding-left:28px}.command-record-table{min-width:980px}.command-cancel-button{min-height:30px;padding:4px 8px;font-size:11px;white-space:nowrap}.ownership-section{padding-bottom:2px}.ownership-section h3{margin-bottom:14px}.ownership-current{justify-content:flex-start;flex-wrap:wrap;color:#56635f;font-size:13px}.inline-form{justify-content:flex-start;flex-wrap:wrap}.inline-form>svg{color:var(--primary)}.inline-form select{width:min(100%,280px)}.ownership-user-picker{display:flex;flex:1 1 580px;max-width:700px;align-items:center;gap:10px}.ownership-user-search{flex:1 1 280px;width:auto}.inline-form .ownership-user-picker select{flex:1 1 230px;width:auto}.history-panel{display:grid;gap:14px}.history-heading-row{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:16px}.history-heading-row h3{margin:0;color:#203238;font-size:17px;font-weight:750}.history-range-toolbar{display:flex;min-width:0;min-height:38px;align-items:center;justify-content:flex-end;gap:12px}.history-range-toolbar label{display:flex;align-items:center;gap:9px;color:#46585e;font-size:13px;font-weight:700}.history-range-toolbar label>span{white-space:nowrap}.history-range-toolbar select{min-width:128px;min-height:36px;border:1px solid #aebdc2;border-radius:5px;background:#fff;color:#203238;font:inherit;font-weight:650}.history-chart-region{position:relative;min-width:0}.history-chart-update-state{position:absolute;z-index:4;inset:0;display:flex;align-items:center;justify-content:center;gap:8px;color:#41545a;border:1px solid rgba(174,189,194,.75);border-radius:6px;background:#fffaf7db;font-size:13px;font-weight:700;backdrop-filter:blur(1px)}.history-chart-update-error{color:var(--danger);background:#fff5f6eb}.history-chart-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.history-chart{min-width:0;overflow:hidden;border:1px solid #cad5da;border-radius:6px;background:#fff}.history-chart header{display:grid;min-height:66px;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 12px;border-bottom:1px solid #dce4e7}.history-chart-icon{display:grid;width:34px;height:34px;place-items:center;border-radius:5px}.history-chart header div{min-width:0}.history-chart h4{margin:0;color:#203238;font-size:15px}.history-chart header>strong{color:#17272b;font-size:16px;white-space:nowrap}.history-chart-canvas{position:relative;min-width:0}.history-chart canvas{display:block;width:100%;min-height:210px;cursor:crosshair}.history-chart-tooltip{position:absolute;z-index:2;display:flex;min-width:128px;pointer-events:none;transform:translate(-50%,calc(-100% - 10px));flex-direction:column;gap:3px;padding:7px 9px;color:#fff;border-radius:5px;background:#1d2c31;box-shadow:0 5px 16px #14232833;text-align:center;white-space:nowrap}.history-chart-tooltip strong{font-size:12px}.history-chart-tooltip span{color:#dce7e9;font-size:10px}.history-chart-battery header{background:#eef8f5}.history-chart-battery .history-chart-icon{color:var(--primary);background:#d8efe8}.history-chart-clock header{background:#fff4ee}.history-chart-clock .history-chart-icon{color:var(--accent);background:#f7dfd3}.history-chart-temperature header{background:#eef7fa}.history-chart-temperature .history-chart-icon{color:#24779a;background:#d9edf3}.history-chart-calibration header{background:#f7f2fa}.history-chart-calibration .history-chart-icon{color:#76508e;background:#eadff0}.map-page-layout{display:grid;min-height:calc(100vh - 126px);grid-template-columns:300px minmax(0,1fr);gap:16px}.map-device-list,.group-list-panel{display:flex;min-height:0;flex-direction:column;overflow:hidden;border:1px solid var(--border);border-radius:7px;background:var(--surface)}.map-list-heading,.group-list-heading{padding:17px 16px 13px;border-bottom:1px solid var(--border)}.map-list-heading h2,.group-list-heading h2{margin:0;color:#33423f;font-size:16px}.map-list-heading span,.group-list-heading span{color:var(--muted);font-size:12px}.map-device-list>.search-field{width:auto;margin:12px}.map-list-scroll{min-height:0;overflow-y:auto}.map-group-section{border-top:1px solid #e5ebe8}.map-group-section:first-child{border-top:0}.map-group-row{display:grid;grid-template-columns:minmax(0,1fr) 34px;align-items:center;background:#fbfcfc}.map-group-section.active>.map-group-row{background:#eaf6f2;box-shadow:inset 3px 0 var(--primary)}.map-group-select{display:flex;min-width:0;min-height:58px;align-items:center;gap:10px;padding:9px 8px 9px 13px;color:#465653;border:0;background:transparent;text-align:left;cursor:pointer}.map-group-select:hover{color:var(--primary-dark)}.map-group-icon{display:grid;width:34px;height:34px;flex:0 0 34px;place-items:center;color:var(--primary);border-radius:5px;background:#dcefe9}.map-group-copy{display:flex;min-width:0;flex:1;flex-direction:column;gap:4px}.map-group-copy strong{overflow:hidden;color:inherit;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.map-group-copy small{overflow:hidden;color:var(--muted);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.map-group-toggle{margin-right:8px}.map-group-devices{border-top:1px solid #e7ecea;background:#fff}.map-group-devices .map-device-row{padding-left:18px}.map-group-devices .map-device-row:last-child{border-bottom:0}.map-group-empty{margin:0;padding:16px 18px;color:var(--muted);font-size:11px;text-align:center}.map-device-row{display:grid;width:100%;grid-template-columns:32px minmax(0,1fr) auto;align-items:start;gap:9px;padding:12px 13px;color:var(--text);border:0;border-bottom:1px solid #e7ecea;background:transparent;text-align:left;cursor:pointer}.map-device-row:hover,.map-device-row.selected{background:#f1f8f5}.map-device-row.selected{box-shadow:inset 3px 0 var(--primary)}.map-device-icon{display:grid;width:32px;height:32px;place-items:center;color:var(--primary);border-radius:5px;background:var(--primary-soft)}.map-device-row>div{display:flex;min-width:0;flex-direction:column;gap:3px}.map-device-row strong{overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.map-device-row>div>span{color:var(--muted);font-size:10px}.map-device-row div>div{display:flex;flex-wrap:wrap;gap:4px;margin-top:3px}.map-device-row small{display:flex;align-items:center;gap:3px;color:var(--muted);font-size:10px;white-space:nowrap}.groups-layout{display:grid;min-height:calc(100vh - 126px);grid-template-columns:272px minmax(0,1fr);gap:18px}.group-list-heading{align-items:flex-start}.group-list-heading>div{display:flex;flex-direction:column;gap:4px}.group-list{display:flex;flex-direction:column;gap:3px;padding:10px;overflow-y:auto}.group-list button{display:flex;min-height:55px;align-items:center;gap:10px;padding:9px 10px;color:#596762;border:1px solid transparent;border-radius:5px;background:transparent;cursor:pointer;text-align:left}.group-list button:hover{background:#f2f7f5}.group-list button.active{color:var(--primary-dark);border-color:#c7e0d8;background:var(--primary-soft)}.group-list button>div{display:flex;min-width:0;flex:1;flex-direction:column;gap:3px}.group-list button strong{overflow:hidden;color:inherit;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.group-list button span{color:var(--muted);font-size:11px}.group-workspace{min-width:0;padding:25px 28px;border:1px solid var(--border);border-radius:7px;background:var(--surface)}.group-workspace-heading{align-items:flex-start;padding-bottom:22px;border-bottom:1px solid var(--border)}.group-workspace-heading>div:first-child{min-width:0}.group-section{padding:22px 0;border-bottom:1px solid #dbe3e6}.group-section:last-child{border-bottom:0}.group-section>.section-heading{margin-bottom:13px}.group-section h3{margin:0;color:#203238;font-size:16px;font-weight:750}.group-available-section{margin:0 -28px;padding:22px 28px;background:#f3f7f9}.group-device-search{width:min(100%,310px);background:#fff}.group-member-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.group-member{display:grid;min-width:0;min-height:66px;grid-template-columns:28px minmax(0,1fr) auto auto;align-items:center;gap:9px;padding:10px 11px;border:1px solid var(--border);border-radius:5px;background:#fff}.group-member.included{border-color:#a9d2c6;border-left:4px solid var(--primary);background:#f0faf6}.group-member-available{border-left:4px solid var(--info)}.member-check{display:grid;width:24px;height:24px;flex:0 0 24px;place-items:center;color:#879691;border:1px solid var(--border-strong);border-radius:4px}.group-member.included .member-check{color:#fff;border-color:var(--primary);background:var(--primary)}.group-member>div{display:flex;min-width:0;flex:1;flex-direction:column;gap:3px}.group-member>div strong{overflow:hidden;color:#1f3136;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.group-member>div span{color:var(--muted);font-size:11px}.group-member-statuses{display:flex;max-width:158px;flex-wrap:wrap;justify-content:flex-end;gap:4px}.group-member-statuses .status-badge{min-height:22px;padding:2px 6px;font-size:10px}.group-member-add{min-height:32px;padding:5px 9px;font-size:12px}.ownership-device-list{display:flex;flex-direction:column;gap:8px}.ownership-device-row{display:grid;min-height:58px;grid-template-columns:22px minmax(0,1fr) minmax(120px,.8fr) auto;align-items:center;gap:10px;padding:9px 10px;border:1px solid var(--border);border-radius:5px}.ownership-device-row>svg{color:var(--primary)}.ownership-device-row>div{display:flex;min-width:0;flex-direction:column;gap:3px}.ownership-device-row>div strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ownership-device-row>div span,.ownership-device-row>span{color:var(--muted);font-size:11px}.user-cell .user-avatar{width:32px;height:32px;flex-basis:32px}.waveform-group-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.waveform-group-choice{display:flex;min-height:76px;align-items:center;gap:11px;padding:12px;color:#4b5b57;border:1px solid var(--border);border-radius:6px;background:#fff;cursor:pointer;text-align:left}.waveform-group-choice:hover,.waveform-group-choice.active{color:var(--primary-dark);border-color:#a9cfc2;background:var(--primary-soft)}.group-choice-icon{display:grid;width:38px;height:38px;flex:0 0 38px;place-items:center;color:var(--primary);border-radius:5px;background:#d8eee7}.waveform-group-choice>div{display:flex;min-width:0;flex:1;flex-direction:column;gap:4px}.waveform-group-choice strong{overflow:hidden;color:inherit;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.waveform-group-choice span:not(.group-choice-icon){color:var(--muted);font-size:11px}.waveform-launch-band{display:flex;min-height:70px;align-items:center;justify-content:space-between;gap:16px;margin-top:18px;padding:14px 16px;border:1px solid #c7e0d8;border-radius:6px;background:#f4fbf8}.waveform-launch-band>div{display:flex;align-items:center;gap:11px}.waveform-launch-band>div>svg{color:var(--primary)}.waveform-launch-band>div>div{display:flex;flex-direction:column;gap:4px}.waveform-launch-band strong{color:#2f5148;font-size:13px}.waveform-launch-band span{color:var(--muted);font-size:12px}.waveform-toolbar{flex-wrap:wrap;justify-content:space-between;margin-bottom:14px;color:var(--muted);font-size:12px}.waveform-toolbar>span{display:flex;align-items:center;gap:7px}.waveform-toolbar-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px}.waveform-header-actions{display:flex;align-items:center;gap:7px}.button-compact{min-height:34px;padding:7px 10px;font-size:12px}.waveform-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}.waveform-card{overflow:hidden;border:1px solid var(--border);border-radius:6px;background:#fff;content-visibility:auto;contain-intrinsic-size:138px}.waveform-card-header{min-height:40px;padding:6px 12px;border-bottom:1px solid var(--border);background:#fbfcfc}.waveform-card-header>div:first-child{display:flex;min-width:0;flex-direction:column;gap:3px}.waveform-card-header strong{overflow:hidden;color:#33423f;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.waveform-card-header span{color:var(--muted);font-size:10px}.waveform-card-meta{display:flex;align-items:center;gap:8px;color:#6d7874;font-size:10px;white-space:nowrap}.waveform-card-meta span+span{padding-left:8px;border-left:1px solid var(--border)}.waveform-warning{display:flex;align-items:baseline;justify-content:flex-end;gap:6px;padding:5px 12px;color:#8c5200;background:#fff8e6;border-bottom:1px solid #efd9a1;font-size:11px;flex-wrap:wrap;overflow-wrap:anywhere}.waveform-warning svg{flex-shrink:0;align-self:center}.waveform-warning strong{white-space:nowrap}.waveform-warning span{min-width:0}.waveform-diagnostics{margin:0 0 12px;font-size:12px}.diagnostic-heading{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.diagnostic-heading>span{color:var(--muted)}.diagnostic-counters{display:flex;flex-wrap:wrap;gap:8px 20px;margin-top:8px}.diagnostic-counters b,.diagnostic-abnormal{color:#a44718;font-variant-numeric:tabular-nums}.diagnostic-abnormal{font-weight:700}.waveform-footer{justify-content:flex-start;flex-wrap:wrap;color:var(--muted);font-size:11px}.waveform-footer>span{display:inline-flex;align-items:center;gap:6px}.waveform-connection{font-weight:700}.waveform-connected{color:var(--primary)}.waveform-connecting{color:var(--warning)}.waveform-disconnected{color:var(--danger)}.account-layout{display:grid;grid-template-columns:minmax(220px,.72fr) minmax(0,1.28fr);gap:18px}.account-summary,.account-password-section{padding:26px;border:1px solid var(--border);border-radius:7px;background:var(--surface)}.account-summary{display:flex;min-height:280px;flex-direction:column;align-items:center;justify-content:center;text-align:center}.account-avatar{display:grid;width:74px;height:74px;place-items:center;color:#fff;border-radius:50%;background:#46796d;font-size:30px;font-weight:750}.account-summary h2{margin:18px 0 5px;color:#30403c;font-size:19px}.account-summary>p{margin-bottom:18px;color:var(--muted);font-size:13px}.account-meta{display:flex;flex-direction:column;gap:9px;color:var(--muted);font-size:12px}.account-meta span{display:flex;align-items:center;gap:7px}.account-password-section .section-heading{align-items:flex-start;padding-bottom:18px;border-bottom:1px solid var(--border)}.account-password-section .section-heading>svg{color:var(--primary)}.password-form{display:grid;width:min(100%,480px);gap:16px;margin-top:22px}.password-form .button{justify-self:start}.table-actions{justify-content:flex-start}.sidebar-scrim{display:none}@media(max-width:1250px){.metric-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.waveform-group-grid,.detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:980px){.sidebar{transform:translate(-100%);transition:transform .18s ease;box-shadow:12px 0 30px #0f1c1933}.sidebar.sidebar-open{transform:translate(0)}.sidebar-close{display:grid}.sidebar-scrim{position:fixed;z-index:19;inset:0;display:block;padding:0;border:0;background:#1b272666}.app-main{width:100%;margin-left:0}.mobile-menu{display:grid}.page-content{padding:22px 22px 40px}.topbar{padding:12px 22px}.groups-layout{grid-template-columns:220px minmax(0,1fr)}.map-page-layout{grid-template-columns:250px minmax(0,1fr)}}@media(max-width:740px){.auth-layout{display:block}.auth-brand-panel{display:none}.auth-form-panel{min-height:100vh;padding:28px 20px}.mobile-brand-mark{display:grid}.topbar{min-height:66px;padding:10px 15px}.topbar h1{font-size:17px}.topbar-title span{display:none}.connection-state{max-width:20px;overflow:hidden;font-size:0}.page-content{padding:18px 14px 32px}.page-actions{align-items:flex-start;flex-direction:column;margin-bottom:17px}.page-actions .action-row{align-self:stretch;flex-wrap:wrap;justify-content:flex-end}.metric-strip{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.metric-card{min-height:78px;padding:12px}.metric-card strong{font-size:22px}.metric-card span{margin-top:4px}.page-section{margin-top:16px;padding:15px}.section-heading{align-items:flex-start;flex-wrap:wrap}.table-toolbar{align-items:stretch;flex-direction:column}.search-field{width:100%}.admin-search-field{flex:1 1 100%}.ownership-user-picker{width:100%;flex-basis:100%;flex-direction:column;align-items:stretch}.ownership-user-search,.inline-form .ownership-user-picker select{width:100%;flex-basis:auto}.segmented-control{width:100%}.segmented-control button{flex:1;padding:0 7px}.map-page-layout{display:flex;min-height:0;flex-direction:column-reverse;gap:12px}.map-page-layout .map-shell{height:56vh!important;min-height:340px}.map-device-list{max-height:360px}.groups-layout{display:flex;min-height:0;flex-direction:column;gap:12px}.group-list-panel{max-height:285px}.group-list{flex-direction:row;overflow-x:auto;overflow-y:hidden}.group-list button{min-width:160px}.group-workspace{padding:16px}.group-workspace-heading{align-items:flex-start;flex-direction:column}.group-member-grid{grid-template-columns:1fr}.group-available-section{margin:0 -16px;padding:20px 16px}.group-available-section .section-heading{align-items:stretch;flex-direction:column}.group-device-search{width:100%}.waveform-group-grid{grid-template-columns:1fr}.waveform-launch-band{align-items:flex-start;flex-direction:column}.waveform-launch-band .button{width:100%}.waveform-grid{grid-template-columns:1fr}.modal-backdrop{padding:8px}.modal-panel{max-height:calc(100vh - 16px)}.modal-fullscreen{height:calc(100vh - 16px)}.modal-header{padding:15px 15px 12px}.modal-header{flex-wrap:wrap}.modal-header>div:first-child{min-width:0;flex:1 1 180px}.modal-header-actions{width:100%;justify-content:flex-end}.waveform-header-actions{flex-wrap:wrap;justify-content:flex-end}.modal-body{padding:15px}.modal-footer{padding:10px 15px}.detail-grid{grid-template-columns:1fr;gap:13px}.detail-section{padding:18px 14px}.fault-band{flex-wrap:wrap}.fault-content{flex-basis:calc(100% - 32px)!important}.fault-clear-button{width:100%;justify-content:center}.fault-event header{align-items:flex-start;flex-direction:column;gap:2px}.history-heading-row{gap:10px}.history-range-toolbar{flex:0 1 auto}.history-range-toolbar label{gap:6px}.history-range-toolbar select{min-width:108px}.history-chart-grid{grid-template-columns:1fr}.command-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.setting-controls{grid-template-columns:1fr}.setting-controls label>span{min-width:88px}.ownership-device-row{grid-template-columns:20px minmax(0,1fr) auto}.ownership-device-row>span{display:none}.ownership-device-row .button{grid-column:2 / 4;justify-self:start}.account-layout{grid-template-columns:1fr}.account-summary{min-height:225px;padding:20px}.account-password-section{padding:19px}}@media(max-width:430px){.metric-strip{grid-template-columns:1fr 1fr}.metric-card{gap:8px}.metric-card>svg{width:34px;height:34px;padding:7px}.metric-card strong{font-size:20px}.metric-card span{font-size:11px}.command-button{min-height:50px;font-size:11px}.button{padding:8px 11px}.waveform-card-meta{display:none}}
