:root{--font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Helvetica Neue, Helvetica, Arial, sans-serif;--font-size: 15px;--primary-color: #007AFF;--success-color: #34C759;--warning-color: #FF9500;--danger-color: #FF3B30;--background-color: #F5F5F7;--card-background: #FFFFFF;--text-primary: #1D1D1F;--text-secondary: #86868B;--text-tertiary: #aeaeb2;--fs-xs: 11px;--fs-sm: 12px;--fs-base: 13px;--border-color: #E5E5EA;--shadow-sm: 0 2px 8px rgba(0, 0, 0, .04);--shadow-md: 0 4px 16px rgba(0, 0, 0, .08);--shadow-lg: 0 8px 32px rgba(0, 0, 0, .12);--radius-sm: 8px;--radius-md: 12px;--radius-lg: 16px;--video-group-bg: #fafbfc;--video-tips-bg: #fffbeb;--video-tips-title: #92400e;--video-tips-text: #78350f;--surface-1: #f5f5f7;--surface-2: #ffffff;--surface-frost: rgba(255, 255, 255, .92);--surface-hover: rgba(0, 0, 0, .04);--surface-active: rgba(0, 0, 0, .08);--space-1: 4px;--space-2: 8px;--space-3: 12px;--space-4: 16px;--space-5: 24px;--space-6: 32px;--modal-top: clamp(40px, 6vh, 80px);--z-modal: 3000;--z-menu: 3400;--z-toast: 3800;--z-fab: 3900;--z-tour: 4000;--z-loading: 4200;--promote-color: #5b8def;--font-display: var(--font-family);--font-body: var(--font-family);--font-mono: "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;--font-size-sm: 13px;--font-size-xs: 12px;--leading-tight: 1.4;--el-color-primary: var(--primary-color);--el-color-success: var(--success-color);--el-color-warning: var(--warning-color);--el-color-danger: var(--danger-color)}html,body{font-family:var(--font-family);font-size:var(--font-size);color:var(--text-primary);background:var(--background-color);line-height:1.5;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-variant-numeric:tabular-nums;margin:0;padding:0}button,input,select,label,span,pre,div{font-family:inherit;font-size:inherit}*{box-sizing:border-box}button{background:var(--card-background);border:1px solid var(--border-color);border-radius:var(--radius-sm);padding:8px 16px;font-weight:500;cursor:pointer;transition:all .2s cubic-bezier(.4,0,.2,1);color:var(--text-primary);font-size:14px;-webkit-tap-highlight-color:transparent}button:hover:not(:disabled){transform:translateY(-1px);box-shadow:var(--shadow-sm)}button:active:not(:disabled){transform:translateY(0)}button:disabled{opacity:.5;cursor:not-allowed}button.primary{background:var(--primary-color);color:#fff;border-color:var(--primary-color)}button.primary:hover:not(:disabled){box-shadow:0 3px 10px #007aff59}button.success{background:var(--success-color);color:#fff;border-color:var(--success-color)}button.success:hover:not(:disabled){box-shadow:0 3px 10px #34c75959}button.danger{background:var(--danger-color);color:#fff;border-color:var(--danger-color)}input:not([type=checkbox]):not([type=radio]):not([type=range]):not(.el-input__inner):not(.el-textarea__inner):not(.sr-num),select{background:var(--card-background);border:1px solid var(--border-color);border-radius:var(--radius-sm);padding:8px 12px;font-size:14px;color:var(--text-primary);transition:all .2s cubic-bezier(.4,0,.2,1);outline:none;-webkit-tap-highlight-color:transparent;-webkit-appearance:none;-moz-appearance:none;appearance:none}input[type=range]{background:transparent;border:0;border-radius:var(--radius-sm);padding:0;font-size:14px;color:var(--text-primary);transition:all .2s cubic-bezier(.4,0,.2,1);outline:none;cursor:pointer}input:not(.el-input__inner):not(.el-textarea__inner):not(.sr-num):not([type=range]):focus,select:focus{border-color:var(--primary-color);box-shadow:0 0 0 3px #007aff1a}input::placeholder,select::placeholder{color:var(--text-secondary)}@media(hover:none)and (pointer:coarse){button:hover:not(:disabled){background:var(--card-background);border-color:var(--border-color);transform:none;box-shadow:none}button:active:not(:disabled){background:#e5e5ea;transform:scale(.98)}}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:#d1d1d6;border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#aeaeb2}.poi-live{display:inline-flex;align-items:center;vertical-align:middle;margin-right:3px;color:#ff3b30;cursor:pointer}.poi-playback{display:inline-flex;align-items:center;vertical-align:middle;margin-right:3px;cursor:pointer}.poi-label{display:inline-flex;align-items:center;gap:3px;white-space:nowrap}.poi-sep{color:var(--text-secondary, #86868b);margin:0 2px;font-weight:400;-webkit-user-select:none;user-select:none}.poi-mileage{color:var(--text-secondary, #555);font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap}.poi-round-trip{color:var(--primary-color, #007aff);font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:600}.poi-corner{color:var(--success-color, #34c759);font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:600}html[data-theme=dark] .poi-sep{color:#777}html[data-theme=dark] .poi-mileage{color:#aaa}html[data-theme=dark] .poi-round-trip{color:#0a84ff}html[data-theme=dark] .poi-corner{color:#30d158}.device-tooltip.leaflet-tooltip{background:var(--surface-frost);color:var(--text-primary);border:1px solid var(--border-color);border-radius:var(--radius-sm);box-shadow:var(--shadow-md);backdrop-filter:blur(16px) saturate(180%);-webkit-backdrop-filter:blur(16px) saturate(180%);padding:5px 10px;font-weight:600}.device-tooltip.leaflet-tooltip-top:before{left:50%;margin-left:-8px;bottom:auto;margin-bottom:0;top:calc(100% - 1px);border:8px solid transparent;border-top-color:var(--border-color)}.device-tooltip.leaflet-tooltip-top:after{content:"";position:absolute;pointer-events:none;left:50%;margin-left:-7px;top:100%;border:7px solid transparent;border-top-color:var(--surface-frost)}.dev-cluster-root{background:transparent;border:0;overflow:visible;pointer-events:none}.dev-cluster-grid{position:absolute;left:0;bottom:20px;transform:translate(-50%);display:flex;flex-direction:column-reverse;align-items:center;gap:4px}.dev-cluster-row{display:flex;gap:4px}.dev-cluster-label{pointer-events:auto;display:inline-flex;align-items:center;gap:3px;white-space:nowrap;background:var(--surface-frost);color:var(--text-primary);border:1px solid var(--border-color);border-radius:var(--radius-sm);box-shadow:var(--shadow-md);backdrop-filter:blur(16px) saturate(180%);-webkit-backdrop-filter:blur(16px) saturate(180%);padding:5px 10px;font-weight:600;cursor:pointer}.dev-cluster-label:hover{border-color:var(--primary-color)}.device-tooltip--hidden{display:none!important}.tnum{font-variant-numeric:tabular-nums}.dev-popup .leaflet-popup-content-wrapper{background:var(--surface-frost);color:var(--text-primary);border:1px solid var(--border-color);border-radius:var(--radius-md);box-shadow:var(--shadow-lg);backdrop-filter:blur(16px) saturate(180%);-webkit-backdrop-filter:blur(16px) saturate(180%)}.dev-popup .leaflet-popup-content{margin:12px 14px;line-height:1.45}.dev-popup .leaflet-popup-close-button{color:var(--text-secondary);opacity:.7;transition:opacity .15s ease-out}.dev-popup .leaflet-popup-close-button:hover{opacity:1;background:transparent}.endurance-popup .leaflet-popup-content-wrapper{background:var(--surface-frost);color:var(--text-primary);border:1px solid var(--border-color);border-radius:var(--radius-md);box-shadow:var(--shadow-lg);backdrop-filter:blur(16px) saturate(180%);-webkit-backdrop-filter:blur(16px) saturate(180%)}.endurance-popup .leaflet-popup-content{margin:10px 12px;line-height:1.45}.endurance-popup .leaflet-popup-close-button{color:var(--text-secondary);opacity:.7;transition:opacity .15s ease-out}.endurance-popup .leaflet-popup-close-button:hover{opacity:1;background:transparent}.agg-zone-spin{animation:agg-zone-spin 3.5s linear infinite}@keyframes agg-zone-spin{to{stroke-dashoffset:-70px}}.endurance-head{display:flex;align-items:baseline;gap:8px;padding-right:14px;margin-bottom:8px}.endurance-title{font-size:13px;font-weight:600;letter-spacing:.02em;color:var(--text-primary)}.endurance-sub{font-size:11px;color:var(--text-secondary)}.endurance-list{display:flex;flex-direction:column;gap:5px;min-width:168px}.extend-btn{display:flex;align-items:baseline;gap:5px;width:100%;padding:7px 10px;background:color-mix(in srgb,var(--text-primary) 4%,transparent);color:var(--text-primary);border:1px solid var(--border-color);border-radius:var(--radius-sm);cursor:pointer;text-align:left;transition:border-color .15s cubic-bezier(.25,1,.5,1),background .15s cubic-bezier(.25,1,.5,1)}.extend-btn:hover{border-color:color-mix(in srgb,var(--primary-color) 55%,transparent);background:color-mix(in srgb,var(--primary-color) 9%,transparent)}.extend-btn:focus-visible{outline:2px solid color-mix(in srgb,var(--primary-color) 65%,transparent);outline-offset:1px}.extend-btn:active{background:color-mix(in srgb,var(--primary-color) 14%,transparent)}.endurance-km{font-family:var(--font-mono);font-size:15px;font-weight:600;font-variant-numeric:tabular-nums;letter-spacing:.02em}.endurance-unit{font-size:11px;color:var(--text-secondary)}.endurance-go{margin-left:auto;align-self:center;font-size:15px;line-height:1;color:var(--text-secondary);transition:color .15s cubic-bezier(.25,1,.5,1)}.extend-btn:hover .endurance-go{color:var(--primary-color)}@media(prefers-reduced-motion:reduce){.extend-btn,.endurance-go{transition:none}}.dev-head{display:flex;align-items:center;gap:7px;padding-right:14px}.dev-dot{flex:none;width:8px;height:8px;border-radius:50%}.dev-dot--moving{background:var(--primary-color);box-shadow:0 0 0 3px color-mix(in srgb,var(--primary-color) 16%,transparent)}.dev-dot--idle{background:var(--text-secondary);box-shadow:0 0 0 3px color-mix(in srgb,var(--text-secondary) 14%,transparent)}.dev-dot--alarm{background:var(--danger-color);box-shadow:0 0 0 3px color-mix(in srgb,var(--danger-color) 20%,transparent);animation:dev-dot-pulse 1.2s ease-in-out infinite}@keyframes dev-dot-pulse{0%,to{box-shadow:0 0 0 3px color-mix(in srgb,var(--danger-color) 20%,transparent)}50%{box-shadow:0 0 0 6px color-mix(in srgb,var(--danger-color) 8%,transparent)}}.dev-id{font-family:var(--font-mono);font-size:13px;font-weight:600;letter-spacing:.02em}.dev-badge{margin-left:auto;font-size:10px;font-weight:600;letter-spacing:.06em;padding:2px 8px;border-radius:999px;white-space:nowrap}.dev-badge--moving{color:var(--primary-color);background:color-mix(in srgb,var(--primary-color) 12%,transparent)}.dev-badge--idle{color:var(--text-secondary);background:color-mix(in srgb,var(--text-secondary) 12%,transparent)}.dev-badge--alarm{color:var(--danger-color);background:color-mix(in srgb,var(--danger-color) 14%,transparent)}.dev-hero{display:flex;align-items:baseline;gap:6px;margin:10px 0 9px;padding-bottom:9px;border-bottom:1px solid var(--border-color)}.dev-speed{font-size:26px;font-weight:700;line-height:1;letter-spacing:-.01em;font-variant-numeric:tabular-nums}.dev-unit{font-size:11px;font-weight:600;color:var(--text-secondary)}.dev-dir{margin-left:auto;font-size:11px;color:var(--text-secondary);font-variant-numeric:tabular-nums;white-space:nowrap}.dev-row{display:flex;align-items:baseline;gap:12px;padding:2.5px 0}.dev-k{flex:none;font-size:11px;letter-spacing:.02em;color:var(--text-secondary)}.dev-v{margin-left:auto;font-size:12px;text-align:right;font-variant-numeric:tabular-nums}.dev-mono{font-family:var(--font-mono);font-size:11.5px}.dev-chips{display:flex;gap:6px;margin-top:9px;padding-top:9px;border-top:1px solid var(--border-color)}.dev-chip{font-size:10px;font-weight:600;padding:2px 8px;border-radius:999px;font-variant-numeric:tabular-nums;white-space:nowrap}.dev-chip--rt{color:var(--primary-color);background:color-mix(in srgb,var(--primary-color) 10%,transparent)}.dev-chip--corner{color:var(--success-color);background:color-mix(in srgb,var(--success-color) 12%,transparent)}@media(prefers-reduced-motion:reduce){.dev-dot--alarm{animation:none}}.car-ico{position:relative;width:100%;height:100%;display:block;line-height:0}.car-svg{width:100%;height:100%;display:block;overflow:visible;transition:transform .35s cubic-bezier(.22,.61,.36,1)}.compass-ring{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;display:block;pointer-events:none}.car-arrow{position:absolute;left:50%;top:50%;width:20px;height:20px;margin-left:-10px;margin-top:-10px;display:block;overflow:visible;transition:transform .35s cubic-bezier(.22,.61,.36,1)}.hd-hl,.hd-rot{transform-box:view-box;transform-origin:50% 50%;transition:transform .35s cubic-bezier(.22,.61,.36,1);pointer-events:none}.leaflet-marker-pane{will-change:transform}.hd-deg{transform-box:fill-box;transform-origin:center;transition:transform .35s cubic-bezier(.22,.61,.36,1)}.car-ico--moving{color:var(--primary-color, #007aff)}.car-ico--idle{color:var(--text-secondary, #8e8e93)}.car-ico--alarm{color:var(--danger-color, #ff3b30)}.car-ico--offline{color:var(--text-secondary, #8e8e93);opacity:.5}.car-pulse{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:50%;border:2px solid currentColor;pointer-events:none;animation:carPulse 1.5s ease-out infinite;will-change:transform,opacity}@keyframes carPulse{0%{transform:scale(.55);opacity:.9}to{transform:scale(1.7);opacity:0}}@media(prefers-reduced-motion:reduce){.car-pulse{animation:none;opacity:0}.car-svg,.hd-hl,.hd-rot,.hd-deg{transition:none}}html[data-perf=lite] .car-pulse{animation:none;opacity:0;will-change:auto}html[data-perf=lite] .car-svg,html[data-perf=lite] .car-arrow,html[data-perf=lite] .hd-hl,html[data-perf=lite] .hd-rot,html[data-perf=lite] .hd-deg{transition:none}html[data-perf=lite] .leaflet-marker-pane{will-change:auto}html[data-perf=lite] .agg-zone-spin{animation:none}.leaflet-overlay-pane svg path.leaflet-interactive{stroke-linecap:round;stroke-linejoin:round}@keyframes alarmRipple{0%{transform:scale(1);opacity:.95}to{transform:scale(1.2);opacity:0}}@keyframes alarmSweep{0%{--alarm-angle: 0deg;opacity:0}6%{opacity:1}78%{opacity:1}to{--alarm-angle: 360deg;opacity:0}}@keyframes live-pulse{0%,to{opacity:1}50%{opacity:.55}}.main-content{container-type:inline-size;container-name:workbench}@container workbench (max-width: 1024px){.device-rows{padding:var(--space-2)}.action-toolbar{gap:var(--space-2);flex-wrap:wrap}.log-panel-docked{font-size:var(--font-size-sm)}}@container workbench (max-width: 720px){.device-rows-body{gap:var(--space-2)}}.poi-cad-root{background:transparent;border:0}.poi-cad-scl svg{display:block}.poi-cad-text{font-size:var(--fs-xs, 11px);font-weight:500;fill:currentColor;paint-order:stroke;stroke:var(--surface-frost);stroke-width:3px;stroke-linejoin:round;font-variant-numeric:tabular-nums}.poi-cad--stop{color:var(--warning-color)}.poi-cad--acc{color:var(--primary-color)}.poi-cad--acc-drop{color:var(--danger-color)}.poi-cad--acc-restore{color:var(--success-color)}.poi-balloon-tip.leaflet-tooltip{padding:6px 9px;border:1px solid var(--border-color);border-radius:var(--radius-sm, 8px);background:var(--surface-frost);box-shadow:var(--shadow-md);color:var(--text-primary);font-size:var(--fs-xs, 11px);line-height:1.45;white-space:nowrap}.poi-balloon-tip.leaflet-tooltip.leaflet-tooltip-top:before{border-top-color:var(--border-color)}.poi-balloon-tip.leaflet-tooltip.leaflet-tooltip-bottom:before{border-bottom-color:var(--border-color)}.poi-balloon-tip.leaflet-tooltip.leaflet-tooltip-right:before{border-right-color:var(--border-color)}.poi-balloon-tip.leaflet-tooltip.leaflet-tooltip-left:before{border-left-color:var(--border-color)}.poi-pop{display:flex;flex-direction:column;gap:4px}.poi-pop-head{display:flex;align-items:center;gap:6px}.poi-pop-dot{flex:0 0 auto;width:7px;height:7px;border-radius:50%}.poi-pop-dot--stop{background:var(--warning-color)}.poi-pop-dot--acc{background:var(--primary-color)}.poi-pop-dot--acc-drop{background:var(--danger-color)}.poi-pop-dot--acc-restore{background:var(--success-color)}.poi-pop-title{font-weight:600}.poi-pop-time{color:var(--text-secondary);font-variant-numeric:tabular-nums}.poi-pop-sub{margin-top:-2px;color:var(--text-tertiary);font-size:10px;font-variant-numeric:tabular-nums}.poi-pop-detail{display:flex;align-items:center;gap:5px;color:var(--text-secondary)}.poi-pop-plain{gap:6px}.poi-bit{display:inline-flex;align-items:center;justify-content:center;min-width:17px;height:17px;padding:0 3px;border-radius:4px;background:color-mix(in oklab,var(--text-secondary) 12%,transparent);color:var(--text-secondary);font-size:10px;font-weight:600;line-height:1;font-variant-numeric:tabular-nums}.poi-bit--on{background:color-mix(in oklab,var(--success-color) 16%,transparent);color:var(--success-color)}.poi-arrow{flex:0 0 auto;color:var(--text-tertiary)}.poi-tag{display:inline-flex;align-items:center;padding:1px 7px;border:1px solid var(--border-color);border-radius:999px;font-size:10px;line-height:1.5;color:var(--text-secondary);white-space:nowrap}:root[data-theme=dark]{color-scheme:dark;--primary-color: #0a84ff;--success-color: #30d158;--warning-color: #ff9f0a;--danger-color: #ff453a;--el-color-primary: var(--primary-color);--el-color-success: var(--success-color);--el-color-warning: var(--warning-color);--el-color-danger: var(--danger-color);--background-color: #000000;--card-background: rgba(44, 44, 46, .72);--text-primary: #f5f5f7;--text-secondary: #98989d;--text-tertiary: #636366;--border-color: rgba(255, 255, 255, .14);--shadow-sm: 0 2px 8px rgba(0, 0, 0, .45);--shadow-md: 0 4px 16px rgba(0, 0, 0, .55);--shadow-lg: 0 8px 32px rgba(0, 0, 0, .65);--surface-1: rgba(255, 255, 255, .05);--surface-2: rgba(255, 255, 255, .08);--surface-frost: rgba(28, 28, 30, .72);--video-group-bg: rgba(255, 255, 255, .04);--video-tips-bg: rgba(255, 159, 10, .12);--video-tips-title: #ffcc00;--video-tips-text: #ffd666}html[data-theme=dark] body{background:radial-gradient(1000px 620px at 12% -10%,rgba(10,132,255,.22),transparent 60%),radial-gradient(900px 600px at 100% 0%,rgba(191,90,242,.16),transparent 55%),#000!important}html[data-theme=dark] ::-webkit-scrollbar-thumb{background:#3a3a3c!important}html[data-theme=dark] ::-webkit-scrollbar-thumb:hover{background:#48484a!important}html[data-theme=dark] input:not(.el-input__inner):not(.el-textarea__inner):not(.sr-num):not([type=range]):focus,html[data-theme=dark] select:focus{box-shadow:0 0 0 3px #0a84ff3d!important}html[data-theme=dark] .confirm-box,html[data-theme=dark] .dropdown,html[data-theme=dark] .trp-pop,html[data-theme=dark] .row-ctx-menu,html[data-theme=dark] .log-panel,html[data-theme=dark] .log-ctx-menu,html[data-theme=dark] .content,html[data-theme=dark] .pf-box{background:var(--surface-frost)!important;backdrop-filter:blur(24px) saturate(180%)!important;-webkit-backdrop-filter:blur(24px) saturate(180%)!important;color:var(--text-primary)!important}html[data-theme=dark] .log-header,html[data-theme=dark] .log-toolbar,html[data-theme=dark] .log-list,html[data-theme=dark] .frames-control-bar,html[data-theme=dark] .fault-modal-header,html[data-theme=dark] .modal-hd{background:var(--surface-1)!important;color:var(--text-primary)!important;border-bottom-color:var(--border-color)!important}html[data-theme=dark] .config-version{background:var(--surface-1)!important;border-color:var(--border-color)!important}html[data-theme=dark] .cv-label{color:var(--text-secondary)!important}html[data-theme=dark] .cv-value{color:var(--text-primary)!important}html[data-theme=dark] .cv-tip{border-top-color:var(--border-color)!important;color:var(--warning-color)!important}html[data-theme=dark] .loading-hint{color:var(--text-secondary)!important}html[data-theme=dark] .section-title{background:var(--surface-1)!important}html[data-theme=dark] .section-title.clickable:hover{background:var(--surface-2)!important}html[data-theme=dark] .section-body{background:var(--surface-1)!important}html[data-theme=dark] .group-key-input:hover,html[data-theme=dark] .group-key-input:focus{background:var(--card-background)!important}html[data-theme=dark] .group-key-input,html[data-theme=dark] .group-key-display,html[data-theme=dark] .group-desc-input{color:var(--text-primary)!important}html[data-theme=dark] .fault-item{background:var(--surface-1)!important}html[data-theme=dark] .fault-desc{color:var(--text-secondary)!important}html[data-theme=dark] .modal-ft{border-top-color:var(--border-color)!important}html[data-theme=dark] .cancel-btn,html[data-theme=dark] .test-btn{background:var(--card-background)!important}html[data-theme=dark] .test-btn.ok{background:var(--success-color)!important;color:#fff!important;border-color:var(--success-color)!important}html[data-theme=dark] .test-btn.fail{background:var(--danger-color)!important;color:#fff!important;border-color:var(--danger-color)!important}html[data-theme=dark] .empty-hint{color:var(--text-secondary)!important}html[data-theme=dark] .export-btn{background:#ff9f0a1f!important;border-color:#ff9f0a52!important;color:var(--warning-color)!important}html[data-theme=dark] .export-btn:hover{border-color:var(--warning-color)!important}html[data-theme=dark] .import-btn{background:#30d1581f!important;border-color:#30d15852!important;color:var(--success-color)!important}html[data-theme=dark] .import-btn:hover{border-color:var(--success-color)!important}html[data-theme=dark] .modal-close{color:var(--text-secondary)!important}html[data-theme=dark] .cv-value.warn{color:var(--warning-color)!important}html[data-theme=dark] .config-section{border-color:var(--border-color)!important;background:var(--surface-1)!important}html[data-theme=dark] .roadmap-column-title{border-bottom-color:var(--border-color)!important}html[data-theme=dark] .roadmap-column-title.random{color:#c084fc!important}html[data-theme=dark] .group-meta{color:var(--text-secondary)!important}html[data-theme=dark] .roadmap-type.random{background:#c084fc2e!important;color:#c084fc!important}html[data-theme=dark] .roadmap-type.plan{background:#0a84ff2e!important;color:var(--primary-color)!important}html[data-theme=dark] .nested-body{border-left-color:var(--border-color)!important}html[data-theme=dark] .count-badge.gw{background:#0a84ff2e!important;color:var(--primary-color)!important}html[data-theme=dark] .count-badge.dev{background:#30d1582e!important;color:var(--success-color)!important}html[data-theme=dark] .import-overlay{background:#0000008c!important;backdrop-filter:blur(4px)!important;-webkit-backdrop-filter:blur(4px)!important}html[data-theme=dark] .import-card{background:var(--surface-frost)!important;backdrop-filter:blur(24px) saturate(180%)!important;-webkit-backdrop-filter:blur(24px) saturate(180%)!important;border-color:var(--border-color)!important;box-shadow:0 20px 50px #00000080!important}html[data-theme=dark] .import-card-spinner{border-color:#ffffff24!important;border-top-color:var(--primary-color)!important}html[data-theme=dark] .import-card-title{color:var(--text-primary)!important}html[data-theme=dark] .import-step.is-pending{color:var(--text-secondary)!important}html[data-theme=dark] .import-step.is-done{color:var(--success-color)!important}html[data-theme=dark] .import-step.is-active{color:var(--primary-color)!important}html[data-theme=dark] .step-check{color:var(--success-color)!important}html[data-theme=dark] .step-spin{border-color:#ffffff24!important;border-top-color:var(--primary-color)!important}html[data-theme=dark] .step-dot-empty{border-color:#fff3!important}html[data-theme=dark] .step-label{color:inherit!important}html[data-theme=dark] .filter-section{background:var(--surface-1)!important;border-color:var(--border-color)!important}html[data-theme=dark] .frame-panel{border-color:var(--border-color)!important;background:var(--surface-1)!important}html[data-theme=dark] .log-item{background:var(--card-background)!important;border-color:var(--border-color)!important;color:var(--text-primary)!important}html[data-theme=dark] .log-item.alarm{background:#ff453a1a!important;border-left-color:var(--danger-color)!important}html[data-theme=dark] .log-item.status{background:#0a84ff1a!important;border-left-color:var(--primary-color)!important}html[data-theme=dark] .log-item.normal{background:var(--surface-1)!important;border-left-color:var(--text-secondary)!important}html[data-theme=dark] .toggle-btn{background:var(--card-background)!important;border-color:var(--border-color)!important;color:var(--text-primary)!important}html[data-theme=dark] .raw-btn{background:var(--card-background)!important;color:var(--primary-color)!important;border-color:var(--primary-color)!important}html[data-theme=dark] .kv td.key{color:var(--text-primary)!important;border-right-color:var(--border-color)!important}html[data-theme=dark] .kv td.val{color:var(--text-primary)!important}html[data-theme=dark] .parse-summary{background:#ff9f0a24!important;border-color:#ff9f0a52!important;color:var(--warning-color)!important}html[data-theme=dark] .prow.field.hl{background:#ff9f0a29!important}html[data-theme=dark] .prow-hex{color:var(--primary-color)!important}html[data-theme=dark] .pf-title{color:var(--danger-color)!important}html[data-theme=dark] .pf-mask{background:#0000008c!important}html[data-theme=dark] .modal{background:#0009!important}html[data-theme=dark] .raw-title{color:var(--text-primary)!important}html[data-theme=dark] .raw-hex{background:var(--surface-1)!important;border-color:var(--border-color)!important;color:var(--text-primary)!important}html[data-theme=dark] .hex-gap{background:var(--surface-2)!important;color:var(--text-secondary)!important}html[data-theme=dark] .segment-tooltip{background:#2c2c2ef2!important;border:1px solid var(--border-color)!important}html[data-theme=dark] .segment-tooltip .tooltip-name{color:var(--primary-color)!important}html[data-theme=dark] .segment-tooltip .tooltip-desc{color:var(--text-primary)!important}html[data-theme=dark] .actions button.secondary{background:var(--card-background)!important;color:var(--text-primary)!important;border-color:var(--border-color)!important}html[data-theme=dark] .close{color:var(--text-secondary)!important}html[data-theme=dark] .bd{color:var(--text-primary)!important}html[data-theme=dark] .log-item{border-bottom-color:var(--border-color)!important;color:var(--text-primary)!important}html[data-theme=dark] .log-title{color:var(--text-primary)!important}html[data-theme=dark] .log-count{color:var(--text-secondary)!important}html[data-theme=dark] .resize-handle:after,html[data-theme=dark] .resize-handle-bl:after{border-color:#ffffff52!important}html[data-theme=dark] .docked-head{background:var(--surface-1)!important;border-bottom-color:var(--border-color)!important}html[data-theme=dark] .docked-tab{color:var(--text-secondary)!important;border-bottom-color:transparent!important}html[data-theme=dark] .docked-tab:hover{color:var(--text-primary)!important}html[data-theme=dark] .docked-tab.active{color:var(--primary-color)!important;border-bottom-color:var(--primary-color)!important;background:#0a84ff1f!important}html[data-theme=dark] .icon-btn{color:var(--text-secondary)!important}html[data-theme=dark] .icon-btn:hover{color:var(--text-primary)!important;background:var(--surface-1)!important}html[data-theme=dark] .trigger{background:var(--card-background)!important;color:var(--text-primary)!important}html[data-theme=dark] .trigger:hover{border-color:#ffffff47!important}html[data-theme=dark] .trigger-value{color:var(--text-primary)!important}html[data-theme=dark] .trigger-value.placeholder,html[data-theme=dark] .arrow,html[data-theme=dark] .clear-btn{color:var(--text-secondary)!important}html[data-theme=dark] .smart-option:hover,html[data-theme=dark] .smart-option.active{background:var(--surface-1)!important}html[data-theme=dark] .smart-option.selected{color:var(--primary-color)!important}html[data-theme=dark] .search-box input{background:var(--card-background)!important;color:var(--text-primary)!important;border-color:var(--border-color)!important}html[data-theme=dark] .search-box input:focus{border-color:var(--primary-color)!important}html[data-theme=dark] .empty-option{color:var(--text-secondary)!important}html[data-theme=dark] .action-toolbar{background:var(--surface-1)!important;border-color:var(--border-color)!important}html[data-theme=dark] .config-btn{background:#0a84ff24!important}html[data-theme=dark] .add-row-btn{background:#30d15824!important;border-color:var(--success-color)!important;color:var(--success-color)!important}html[data-theme=dark] .add-row-btn:hover{background:#30d15838!important}html[data-theme=dark] .toolbar-group+.toolbar-group,html[data-theme=dark] .toolbar-group+.toolbar-group:last-of-type{border-left-color:var(--border-color)!important}html[data-theme=dark] .interval-label{color:var(--text-secondary)!important}html[data-theme=dark] .tab-bar{gap:8px}html[data-theme=dark] .device-rows-header,html[data-theme=dark] .alarm-panel{background:var(--surface-1)!important;border-color:var(--border-color)!important}html[data-theme=dark] .device-rows-header{border-bottom-color:var(--border-color)!important}html[data-theme=dark] .dr-title{color:var(--text-primary)!important}html[data-theme=dark] .dr-count{color:var(--text-secondary)!important}html[data-theme=dark] .dr-toggle{background:var(--card-background)!important;color:var(--primary-color)!important;border-color:var(--primary-color)!important}html[data-theme=dark] .tab{background:var(--surface-1)!important;color:var(--text-primary)!important}html[data-theme=dark] .tab.active{background:var(--primary-color)!important;color:#fff!important}html[data-theme=dark] .row-ctx-menu{border-color:var(--border-color)!important}html[data-theme=dark] .row-ctx-item:hover{background:var(--surface-2)!important}html[data-theme=dark] .dr-dev-badge.running{background:#30d15824!important;color:var(--success-color)!important}html[data-theme=dark] .dr-dev-badge.idle{background:#ff9f0a24!important;color:var(--warning-color)!important}html[data-theme=dark] .dr-dev-badge.stopped{background:var(--surface-2)!important;color:var(--text-secondary)!important}html[data-theme=dark] .ap-alarm-btn{background:var(--card-background)!important;color:var(--danger-color)!important;border-color:var(--danger-color)!important}html[data-theme=dark] .ap-alarm-btn:hover:not(:disabled){background:#ff453a24!important}html[data-theme=dark] .data-table{color:var(--text-primary)!important}html[data-theme=dark] .data-table td{border-bottom-color:var(--border-color)!important;color:var(--text-primary)!important}html[data-theme=dark] .data-table tbody tr:hover{background:var(--surface-1)!important}html[data-theme=dark] .data-table-container{border-color:var(--border-color)!important}html[data-theme=dark] .fault-modal-title{color:var(--text-primary)!important}html[data-theme=dark] .goto-btn{background:#0a84ff24!important;border-color:#0a84ff52!important;color:var(--primary-color)!important}html[data-theme=dark] .goto-btn:hover{background:#0a84ff38!important}html[data-theme=dark] .alarm-count.link{color:var(--primary-color)!important}html[data-theme=dark] .alarm-count.link:hover{color:var(--text-primary)!important}html[data-theme=dark] .status-dot,html[data-theme=dark] .sgcc-status-dot{background:var(--text-secondary)!important}html[data-theme=dark] .map-toolbar,html[data-theme=dark] .map-side,html[data-theme=dark] .map-container,html[data-theme=dark] .map-search-box,html[data-theme=dark] .map-thresholds,html[data-theme=dark] .map-controls,html[data-theme=dark] .map-route-plan,html[data-theme=dark] .saved-routes-wrap{background:var(--surface-1)!important;border-color:var(--border-color)!important;color:var(--text-primary)!important}html[data-theme=dark] .map-thresholds{background:var(--surface-1)!important;border-color:var(--border-color)!important}html[data-theme=dark] .thr-item,html[data-theme=dark] .thr-label{color:var(--text-secondary)!important}html[data-theme=dark] .scroll-btn,html[data-theme=dark] .toolbar-btn{background:var(--card-background)!important;color:var(--text-primary)!important;border-color:var(--border-color)!important}html[data-theme=dark] .toolbar-btn.active{background:color-mix(in srgb,var(--primary-color) 24%,transparent)!important;color:var(--primary-color)!important;border-color:color-mix(in srgb,var(--primary-color) 55%,transparent)!important}html[data-theme=dark] .plan-btn{background:color-mix(in srgb,var(--primary-color) 20%,transparent)!important;border-color:color-mix(in srgb,var(--primary-color) 55%,transparent)!important;color:var(--primary-color)!important}html[data-theme=dark] .route-btn.in-use{box-shadow:0 0 8px #30d15880!important}html[data-theme=dark] .toolbar-checkbox{color:var(--text-secondary)!important}html[data-theme=dark] .toolbar-checkbox:has(input:checked){color:var(--primary-color)!important;border-color:color-mix(in srgb,var(--primary-color) 55%,transparent)!important;background:color-mix(in srgb,var(--primary-color) 20%,transparent)!important}html[data-theme=dark] .saved-routes-wrap,html[data-theme=dark] .saved-routes-container{background:transparent!important}html[data-theme=dark] .map-search-input{background:var(--card-background)!important;color:var(--text-primary)!important;border-color:var(--border-color)!important}html[data-theme=dark] .map-search-input:focus{border-color:var(--primary-color)!important}html[data-theme=dark] .map-search-clear{color:var(--text-secondary)!important}html[data-theme=dark] .map-search-results{background:var(--surface-frost)!important;border-color:var(--border-color)!important;color:var(--text-primary)!important}html[data-theme=dark] .map-search-results li:hover{background:var(--surface-1)!important}html[data-theme=dark] .route-ctx-menu{background:var(--surface-frost)!important;border-color:var(--border-color)!important;color:var(--text-primary)!important}html[data-theme=dark] .route-ctx-title{border-bottom-color:var(--border-color)!important}html[data-theme=dark] .ms-name{color:var(--text-primary)!important}html[data-theme=dark] .ms-addr{color:var(--text-secondary)!important}html[data-theme=dark] .thr-input{color:var(--text-primary)!important}html[data-theme=dark] .thr-item .col-sep{color:var(--text-secondary)!important}html[data-theme=dark] .measure-panel{background:var(--surface-frost)!important;border-color:var(--border-color)!important;color:var(--text-primary)!important}html[data-theme=dark] .measure-title,html[data-theme=dark] .measure-panel-sub{color:var(--text-secondary)!important}html[data-theme=dark] .measure-act{background:var(--card-background)!important;color:var(--text-primary)!important;border-color:var(--border-color)!important}html[data-theme=dark] .measure-act:hover{background:var(--surface-1)!important}html[data-theme=dark] .measure-act.danger{color:#ff7875!important;border-color:#ff787580!important}html[data-theme=dark] .measure-act.danger:hover{background:#ff4d4f1f!important;border-color:#ff7875!important}html[data-theme=dark] .measure-label{background:transparent!important;color:#4dd0d6!important;border:none!important;box-shadow:none!important;text-shadow:0 0 2px #000,0 0 4px #000,0 1px 2px rgba(0,0,0,.8)!important}html[data-theme=dark] .measure-btn{background:var(--surface-frost)!important;color:var(--text-secondary)!important;border-color:#ffffff40!important}html[data-theme=dark] .measure-btn:hover{color:var(--text-primary)!important}html[data-theme=dark] .measure-btn.active{border-color:#08979c!important;color:#4dd0d6!important;background:#08979c29!important}html[data-theme=dark] .compass-btn{background:var(--surface-frost)!important;color:var(--text-secondary)!important;border-color:#ffffff40!important}html[data-theme=dark] .compass-btn:hover{color:var(--text-primary)!important}html[data-theme=dark] .compass-btn.active{border-color:#08979c!important;color:#4dd0d6!important;background:#08979c29!important}html[data-theme=dark] .poi-mode-btn{background:var(--surface-frost)!important;color:var(--text-secondary)!important;border-color:#ffffff40!important}html[data-theme=dark] .poi-mode-btn:hover{color:var(--text-primary)!important}html[data-theme=dark] .poi-mode-btn.active{border-color:#08979c!important;color:#4dd0d6!important;background:#08979c29!important}html[data-theme=dark] .poi-mode-btn .poi-badge{background:var(--surface-frost);color:#ffffff61}html[data-theme=dark] .poi-mode-btn.has-p .poi-badge-p,html[data-theme=dark] .poi-mode-btn.has-acc .poi-badge-acc{color:#4dd0d6}html[data-theme=dark] .toolbar-btn[data-action=plan]{background:#ff9f0a24!important;border-color:#ff9f0a52!important;color:var(--warning-color)!important}html[data-theme=dark] .threshold-btn,html[data-theme=dark] .plan-mode-btn{background:var(--card-background)!important;color:var(--text-primary)!important;border-color:var(--border-color)!important}html[data-theme=dark] .threshold-btn:hover{background:var(--surface-2)!important}html[data-theme=dark] .route-plan-toolbar,html[data-theme=dark] .route-plan-modes{background:var(--surface-1)!important;border-color:var(--border-color)!important}html[data-theme=dark] .map-search-box{background:var(--surface-1)!important}html[data-theme=dark] .locate-btn{background-color:var(--card-background)!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='%23f5f5f7'%3E%3Crect x='11' y='1' width='2' height='4'/%3E%3Crect x='11' y='19' width='2' height='4'/%3E%3Crect x='1' y='11' width='4' height='2'/%3E%3Crect x='19' y='11' width='4' height='2'/%3E%3Cpath fill-rule='evenodd' d='M12 5a7 7 0 1 0 .01 14.01A7 7 0 0 0 12 5zm0 11a4 4 0 1 1 0-8 4 4 0 0 1 0 8z'/%3E%3Ccircle cx='12' cy='12' r='1.5'/%3E%3C/g%3E%3C/svg%3E")!important;background-size:22px 22px!important;background-position:center!important;background-repeat:no-repeat!important;border-color:#ffffff3d!important}html[data-theme=dark] .locate-btn:hover{border-color:var(--primary-color)!important;box-shadow:0 2px 8px #0a84ff4d!important}html[data-theme=dark] .saved-route-item{background:var(--surface-1)!important;color:var(--text-primary)!important;border-color:var(--border-color)!important}html[data-theme=dark] .saved-route-item:hover{background:var(--surface-2)!important}html[data-theme=dark] .route-ctx-item{color:var(--text-primary)!important;border-radius:4px}html[data-theme=dark] .route-ctx-item:hover{background:var(--surface-1)!important}html[data-theme=dark] .route-ctx-item.danger{color:var(--danger-color)!important}html[data-theme=dark] .route-ctx-item.danger:hover{background:#ff453a24!important}html[data-theme=dark] .route-ctx-title{color:var(--text-secondary)!important}html[data-theme=dark] .device-row,html[data-theme=dark] .device-card,html[data-theme=dark] .device-info{background:var(--card-background)!important;color:var(--text-primary)!important;border-color:var(--border-color)!important}html[data-theme=dark] .device-status-bar{background:var(--surface-1)!important;border-color:var(--border-color)!important}html[data-theme=dark] .device-info-label,html[data-theme=dark] .info-label{color:var(--text-secondary)!important}html[data-theme=dark] .info-value,html[data-theme=dark] .device-info-value{color:var(--text-primary)!important}html[data-theme=dark] input:not([type=checkbox]):not([type=radio]):not([type=range]):not(.el-input__inner):not(.el-textarea__inner):not(.sr-num),html[data-theme=dark] select,html[data-theme=dark] textarea{background:var(--card-background)!important;color:var(--text-primary)!important;border-color:var(--border-color)!important}html[data-theme=dark] input::placeholder,html[data-theme=dark] select::placeholder,html[data-theme=dark] textarea::placeholder{color:var(--text-secondary)!important}html[data-theme=dark] .card,html[data-theme=dark] .panel,html[data-theme=dark] .surface,html[data-theme=dark] .bg-white{background:var(--card-background)!important;color:var(--text-primary)!important}html[data-theme=dark] .text-muted,html[data-theme=dark] .text-secondary{color:var(--text-secondary)!important}html[data-theme=dark] .border,html[data-theme=dark] .divider{border-color:var(--border-color)!important}html[data-theme=dark] .trp-btn,html[data-theme=dark] .trp-icon,html[data-theme=dark] .trp-actions button{background:var(--card-background)!important;color:var(--text-primary)!important;border-color:var(--border-color)!important}html[data-theme=dark] .trp-val.empty{color:var(--text-secondary)!important}html[data-theme=dark] .trp-label,html[data-theme=dark] .trp-val{color:var(--text-primary)!important}html[data-theme=dark] .ant-picker-time-panel-cell-selected .ant-picker-time-panel-cell-inner{color:var(--primary-color)!important}html[data-theme=dark] .loading-overlay,html[data-theme=dark] .progress-overlay{background:#0000008c!important;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}html[data-theme=dark] .loading-content{background:transparent!important;color:var(--text-primary)!important;box-shadow:none!important;border:none!important;padding:0!important}html[data-theme=dark] .progress-container{background:var(--surface-frost)!important;color:var(--text-primary)!important;border:1px solid var(--border-color)!important;box-shadow:none!important;backdrop-filter:blur(24px) saturate(180%)!important;-webkit-backdrop-filter:blur(24px) saturate(180%)!important}html[data-theme=dark] .progress-content{background:var(--surface-frost)!important;color:var(--text-primary)!important;border-color:var(--border-color)!important}html[data-theme=dark] .data-panel,html[data-theme=dark] .frame-viewer{background:transparent!important}html[data-theme=dark] .data-panel-header{background:var(--surface-1)!important;color:var(--text-primary)!important;border-color:var(--border-color)!important}html[data-theme=dark] .mode-panel,html[data-theme=dark] .mode-box{background:var(--card-background)!important;color:var(--text-primary)!important;border-color:var(--border-color)!important}html[data-theme=dark] .mode-box-header{background:var(--surface-1)!important;border-bottom-color:var(--border-color)!important}html[data-theme=dark] .mode-item,html[data-theme=dark] .mode-row{background:var(--surface-1)!important;color:var(--text-primary)!important;border-color:var(--border-color)!important}html[data-theme=dark] .mode-label{color:var(--text-primary)!important}html[data-theme=dark] .mode-desc{color:var(--text-secondary)!important}html[data-theme=dark] .mode-box-tip,html[data-theme=dark] .mode-section-title{color:var(--text-secondary)!important;border-top-color:var(--border-color)!important;border-bottom-color:var(--border-color)!important}html[data-theme=dark] [class*=mask]{background:#0000008c!important}html[data-theme=dark] .copy-toast{background:#2c2c2ef2!important;color:var(--text-primary)!important;border:1px solid var(--border-color)!important}html[data-theme=dark] .leaflet-container{background:#1a1a1a!important}html[data-theme=dark] .leaflet-popup-content-wrapper,html[data-theme=dark] .leaflet-popup-tip{background:var(--surface-frost)!important;color:var(--text-primary)!important;box-shadow:var(--shadow-lg)!important}html[data-theme=dark] .leaflet-popup-content-wrapper{-webkit-backdrop-filter:blur(16px) saturate(180%)!important;backdrop-filter:blur(16px) saturate(180%)!important}html[data-theme=dark] .leaflet-control-container .leaflet-control-attribution{background:#0009!important;color:var(--text-secondary)!important}html[data-theme=dark] .leaflet-control-zoom a,html[data-theme=dark] .leaflet-control-scale-line{background:var(--surface-frost)!important;color:var(--text-primary)!important;border-color:var(--border-color)!important}html[data-theme=dark] .leaflet-control-scale-line{border-top-color:var(--border-color)!important;border-bottom-color:var(--border-color)!important}html[data-theme=dark] .leaflet-control-scale-line:first-child{border-top:none!important}html[data-theme=dark] .fault-cat-tabs{border-bottom-color:var(--border-color)!important}html[data-theme=dark] .fault-cat-tab{background:var(--surface-1)!important;color:var(--text-secondary)!important;border-color:var(--border-color)!important}html[data-theme=dark] .fault-cat-tab.active{background:var(--primary-color)!important;color:#fff!important}html[data-theme=dark] .alarm-modal{border-color:var(--border-color)!important}html[data-theme=dark] .alarm-frame-line1{color:var(--text-primary)!important}html[data-theme=dark] .alarm-frame-line2{color:var(--text-secondary)!important}html[data-theme=dark] .fault-code{color:var(--primary-color)!important}html[data-theme=dark] .fault-desc{color:var(--text-primary)!important}html[data-theme=dark] .gid-protocol-tag{color:#c084fc!important}html[data-theme=dark] .gid-status-ok{background:#30d1581f!important;color:var(--success-color)!important;border-color:#30d15852!important}html[data-theme=dark] .gid-status-error{background:#ff453a1f!important;color:var(--danger-color)!important;border-color:#ff453a52!important}html[data-theme=dark] .gid-panel-header{background:var(--surface-1)!important;border-bottom-color:var(--border-color)!important}html[data-theme=dark] .mode-box-header{border-bottom-color:var(--border-color)!important}html[data-theme=dark] .mode-box-tip{border-top-color:var(--border-color)!important}html[data-theme=dark] .mode-btn-primary{background:var(--primary-color)!important;color:#fff!important;border-color:var(--primary-color)!important}html[data-theme=dark] .mode-btn-secondary{background:var(--card-background)!important;color:var(--text-primary)!important;border-color:var(--border-color)!important}html[data-theme=dark] .mode-btn-secondary:hover{background:var(--surface-1)!important}html[data-theme=dark] .mode-color-success{color:var(--success-color)!important}html[data-theme=dark] .mode-color-warning{color:var(--warning-color)!important}html[data-theme=dark] .mode-color-danger{color:var(--danger-color)!important}html[data-theme=dark] .mode-color-info{color:var(--primary-color)!important}html[data-theme=dark] .mode-section-title{border-bottom-color:var(--border-color)!important}html[data-theme=dark] .data-panel-header{background:var(--surface-1)!important;border-bottom-color:var(--border-color)!important}html[data-theme=dark] .frame-highlight{background:#ff9f0a47!important;outline-color:var(--warning-color)!important}html[data-theme=dark] .frame-flash{background:#ff9f0a80!important}html[data-theme=dark] .table-row,html[data-theme=dark] .table-header{color:var(--text-primary)!important}html[data-theme=dark] .table-header{color:var(--text-secondary)!important}html[data-theme=dark] .amap-input,html[data-theme=dark] .section-body input,html[data-theme=dark] .section-body select{background:var(--card-background)!important;color:var(--text-primary)!important;border-color:var(--border-color)!important}html[data-theme=dark] .hint{color:var(--text-secondary)!important}html[data-theme=dark] .device-info-bar{background:var(--surface-1)!important;border-color:var(--border-color)!important}html[data-theme=dark] .device-name,html[data-theme=dark] .device-id-label{color:var(--text-primary)!important}html[data-theme=dark] .device-status-text{color:var(--text-secondary)!important}html[data-theme=dark] textarea{background:var(--card-background)!important;color:var(--text-primary)!important;border-color:var(--border-color)!important}html[data-theme=dark] textarea::placeholder{color:var(--text-secondary)!important}html[data-theme=dark] .confirm-box{background:var(--surface-frost)!important;color:var(--text-primary)!important;border:1px solid var(--border-color)!important;backdrop-filter:blur(24px) saturate(180%)!important;-webkit-backdrop-filter:blur(24px) saturate(180%)!important;box-shadow:0 20px 60px #00000080!important}html[data-theme=dark] .confirm-title{color:var(--text-primary)!important}html[data-theme=dark] .confirm-msg{color:var(--text-secondary)!important}html[data-theme=dark] .confirm-icon.info-icon{color:var(--primary-color)}html[data-theme=dark] .confirm-icon.danger-icon{color:var(--warning-color)}html[data-theme=dark] .confirm-actions .btn-cancel{background:var(--card-background)!important;color:var(--text-primary)!important;border-color:var(--border-color)!important}html[data-theme=dark] .confirm-actions .btn-cancel:hover{background:var(--surface-2)!important}html[data-theme=dark] .confirm-actions .btn-ok{background:var(--primary-color)!important;color:#fff!important}html[data-theme=dark] .confirm-actions .btn-ok:hover{box-shadow:0 4px 14px #0a84ff59!important}html[data-theme=dark] .confirm-actions .btn-danger{background:var(--danger-color)!important;border-color:var(--danger-color)!important}html[data-theme=dark] .confirm-actions .btn-danger:hover{box-shadow:0 4px 14px #ff453a59!important}html[data-theme=dark] .trp-btn{background:var(--card-background)!important;color:var(--text-primary)!important;border-color:var(--border-color)!important}html[data-theme=dark] .trp-btn:hover,html[data-theme=dark] .trp.active .trp-btn{background:#0a84ff2e!important;border-color:var(--primary-color)!important;color:var(--primary-color)!important}html[data-theme=dark] .trp-input,html[data-theme=dark] .trp-range input{background:var(--card-background)!important;color:var(--text-primary)!important;border-color:var(--border-color)!important}html[data-theme=dark] .trp-input:focus{border-color:var(--primary-color)!important}html[data-theme=dark] .toggle-btn{background:var(--card-background)!important;color:var(--text-primary)!important;border-color:var(--border-color)!important}html[data-theme=dark] .toggle-btn.active,html[data-theme=dark] .toggle-btn:hover{background:var(--primary-color)!important;color:#fff!important;border-color:var(--primary-color)!important}html[data-theme=dark] .smart-select{background:var(--card-background)!important;color:var(--text-primary)!important;border-color:var(--border-color)!important}html[data-theme=dark] .smart-select-dropdown{background:var(--surface-frost)!important;color:var(--text-primary)!important;border-color:var(--border-color)!important}html[data-theme=dark] .smart-select-option:hover{background:var(--surface-1)!important}html[data-theme=dark] .log-list,html[data-theme=dark] .log-item{background:var(--card-background)!important;color:var(--text-primary)!important;border-color:var(--border-color)!important}html[data-theme=dark] .log-filter-bar{background:var(--surface-1)!important;border-color:var(--border-color)!important}html[data-theme=dark] .device-card,html[data-theme=dark] .device-row{background:var(--card-background)!important;color:var(--text-primary)!important;border-color:var(--border-color)!important}html[data-theme=dark] .device-card:hover{background:var(--surface-1)!important}html[data-theme=dark] .device-inline{background:var(--surface-1)!important;border-color:var(--border-color)!important}html[data-theme=dark] .group-card{background:var(--card-background)!important;border-color:var(--border-color)!important}html[data-theme=dark] .group-card-hd{background:var(--surface-1)!important;border-bottom-color:var(--border-color)!important}html[data-theme=dark] .group-card-hd:hover{background:var(--surface-2)!important}html[data-theme=dark] .group-card.expanded .group-card-hd{background:var(--surface-2)!important;border-bottom-color:var(--border-color)!important}html[data-theme=dark] .section-body table{color:var(--text-primary)!important}html[data-theme=dark] .section-body th{background:var(--surface-1)!important;color:var(--text-secondary)!important;border-color:var(--border-color)!important}html[data-theme=dark] .section-body td{border-color:var(--border-color)!important;color:var(--text-primary)!important}html[data-theme=dark] .section-body tr:hover{background:var(--surface-1)!important}html[data-theme=dark] .config-tip{background:#0a84ff1f!important;border-color:#0a84ff52!important;color:var(--text-primary)!important}html[data-theme=dark] .raw-segment{background:var(--card-background)!important;border-color:var(--border-color)!important}html[data-theme=dark] .raw-gap{background:var(--surface-1)!important;border-color:var(--border-color)!important;color:var(--text-secondary)!important}html[data-theme=dark] .qgdw-panel-header{background:var(--surface-1)!important;border-bottom-color:var(--border-color)!important}html[data-theme=dark] .qgdw-box{background:var(--card-background)!important;color:var(--text-primary)!important;border-color:var(--border-color)!important}html[data-theme=dark] .alarm-modal-head{background:var(--surface-1)!important;border-bottom-color:var(--border-color)!important}html[data-theme=dark] .alarm-modal-title{color:var(--text-primary)!important}html[data-theme=dark] .alarm-modal-kind{color:var(--primary-color)!important;background:#0a84ff24!important}html[data-theme=dark] .alarm-modal-body{color:var(--text-primary)!important}html[data-theme=dark] .alarm-modal-hint{color:var(--text-secondary)!important}html[data-theme=dark] .alarm-frame-item{border-bottom-color:var(--border-color)!important}html[data-theme=dark] .alarm-frame-item:hover{background:var(--surface-1)!important}html[data-theme=dark] .alarm-mid{color:var(--primary-color)!important;background:#0a84ff24!important}html[data-theme=dark] .alarm-summary{color:var(--text-primary)!important}html[data-theme=dark] .alarm-frame-hex{color:var(--text-secondary)!important}html[data-theme=dark] .alarm-jump{color:var(--primary-color)!important}html[data-theme=dark] .device-rows-header:hover,html[data-theme=dark] .alarm-panel-header:hover,html[data-theme=dark] .alarm-panel.collapsed .alarm-panel-header:hover{background:var(--surface-2)!important}html[data-theme=dark] .row-ctx-menu{background:var(--surface-frost)!important;backdrop-filter:blur(24px) saturate(180%)!important;-webkit-backdrop-filter:blur(24px) saturate(180%)!important;border-color:var(--border-color)!important;color:var(--text-primary)!important}html[data-theme=dark] .row-ctx-item{color:var(--text-primary)!important}html[data-theme=dark] .row-ctx-item:hover{background:var(--surface-1)!important}html[data-theme=dark] .row-ctx-item.danger:hover{background:#ff453a24!important}html[data-theme=dark] .parse-summary{background:#ff9f0a29!important;border-color:#ff9f0a66!important;color:var(--warning-color)!important}html[data-theme=dark] .proto-tag.jtt808{background:var(--primary-color)!important}html[data-theme=dark] .proto-tag.gid{background:#bf5af2!important}html[data-theme=dark] .proto-tag.qgdw{background:#a855f7!important}html[data-theme=dark] .proto-tag{color:#fff!important}html[data-theme=dark] .ver-tag{background:#0a84ff24!important;border-color:#0a84ff52!important;color:var(--primary-color)!important}html[data-theme=dark] .raw-hex{background:var(--surface-1)!important;color:var(--text-primary)!important}html[data-theme=dark] .prow{border-bottom-color:var(--border-color)!important}html[data-theme=dark] .prow.field{background:var(--surface-1)!important}html[data-theme=dark] .prow.field.hl{background:#ff9f0a2e!important}html[data-theme=dark] .pf-box{background:var(--surface-frost)!important;backdrop-filter:blur(24px) saturate(180%)!important;-webkit-backdrop-filter:blur(24px) saturate(180%)!important;color:var(--text-primary)!important;border:1px solid var(--border-color)!important}html[data-theme=dark] .pf-ok{background:var(--danger-color)!important;color:#fff!important;border-color:var(--danger-color)!important}html[data-theme=dark] .data-table th{background:var(--surface-1)!important;color:var(--text-secondary)!important;border-bottom-color:var(--border-color)!important}html[data-theme=dark] .data-table td{border-bottom-color:var(--border-color)!important}html[data-theme=dark] .data-table tbody tr:hover,html[data-theme=dark] .hex-row td{background:var(--surface-1)!important}html[data-theme=dark] .field-table tr{border-bottom-color:var(--border-color)!important}html[data-theme=dark] .field-table .field-name{color:var(--text-primary)!important}html[data-theme=dark] .field-table .field-val{color:var(--text-secondary)!important}html[data-theme=dark] .field-val.flag{color:var(--primary-color)!important}html[data-theme=dark] .field-val.hex{color:#bf5af2!important}html[data-theme=dark] .parse-btn{color:var(--primary-color)!important;border-color:var(--primary-color)!important}html[data-theme=dark] .parse-btn:hover{background:#0a84ff24!important}html[data-theme=dark] .fields-title{color:var(--text-primary)!important}html[data-theme=dark] .fault-modal-header{background:var(--surface-1)!important;border-bottom-color:var(--border-color)!important}html[data-theme=dark] .fault-list{background:var(--surface-1)!important}html[data-theme=dark] .fault-item{background:var(--surface-1)!important;border-color:var(--border-color)!important}html[data-theme=dark] .fault-item:hover{background:var(--surface-2)!important}html[data-theme=dark] .fault-search input{background:var(--card-background)!important;color:var(--text-primary)!important;border-color:var(--border-color)!important}html[data-theme=dark] .alarm-modal{background:var(--surface-frost)!important;backdrop-filter:blur(24px) saturate(180%)!important;-webkit-backdrop-filter:blur(24px) saturate(180%)!important;border-color:var(--border-color)!important;color:var(--text-primary)!important}html[data-theme=dark] .log-header{background:var(--surface-1)!important;color:var(--text-primary)!important;border-bottom-color:var(--border-color)!important}html[data-theme=dark] .cat-tab{background:var(--surface-1)!important;color:var(--text-secondary)!important;border-color:var(--border-color)!important}html[data-theme=dark] .cat-tab:hover:not(.active){background:var(--surface-2)!important}html[data-theme=dark] .cat-tab.active{background:var(--primary-color)!important;color:#fff!important}html[data-theme=dark] .log-item{background:var(--card-background)!important;border-bottom-color:var(--border-color)!important;color:var(--text-primary)!important}html[data-theme=dark] .log-item:hover{background:var(--surface-1)!important}html[data-theme=dark] .log-source{background:var(--surface-2)!important;color:var(--text-secondary)!important}html[data-theme=dark] .log-item.warn .log-msg{color:var(--warning-color)!important}html[data-theme=dark] .log-item.success .log-msg{color:var(--success-color)!important}html[data-theme=dark] .log-item.error .log-msg{color:var(--danger-color)!important}html[data-theme=dark] .log-ctx-menu{background:var(--surface-frost)!important;backdrop-filter:blur(24px) saturate(180%)!important;-webkit-backdrop-filter:blur(24px) saturate(180%)!important;border-color:var(--border-color)!important;color:var(--text-primary)!important}html[data-theme=dark] .log-ctx-item{color:var(--text-primary)!important}html[data-theme=dark] .log-ctx-item:hover{background:var(--primary-color)!important;color:#fff!important}html[data-theme=dark] .mode-panel{background:var(--surface-frost)!important;backdrop-filter:blur(24px) saturate(180%)!important;-webkit-backdrop-filter:blur(24px) saturate(180%)!important;border-color:var(--border-color)!important;color:var(--text-primary)!important}html[data-theme=dark] .mode-panel-title{color:var(--text-primary)!important}html[data-theme=dark] .mode-panel-sub,html[data-theme=dark] .mode-panel-section,html[data-theme=dark] .mode-panel-loading{color:var(--text-secondary)!important}html[data-theme=dark] .mode-panel-group+.mode-panel-group{border-top-color:var(--border-color)!important}html[data-theme=dark] .mode-panel-grouplabel:hover{background:var(--surface-1)!important}html[data-theme=dark] .mode-panel-cnt,html[data-theme=dark] .mode-panel-collapse{color:var(--text-secondary)!important}html[data-theme=dark] .mode-panel-dev:hover{background:var(--surface-1)!important}html[data-theme=dark] .mode-panel-dev.is-sel{background:#0a84ff24!important}html[data-theme=dark] .mode-panel-running{color:var(--success-color)!important}html[data-theme=dark] .mode-panel-selinfo{color:var(--text-secondary)!important}html[data-theme=dark] .mode-panel-selinfo.warn{color:var(--warning-color)!important}html[data-theme=dark] .mode-panel-selinfo-warn,html[data-theme=dark] .mode-panel-err{color:var(--danger-color)!important}html[data-theme=dark] .cfg-card{background:var(--surface-1)!important;border-color:var(--border-color)!important}html[data-theme=dark] .cfg-card-title{color:var(--primary-color)!important;border-bottom-color:var(--border-color)!important}html[data-theme=dark] .cfg-field label{color:var(--text-primary)!important}html[data-theme=dark] .cfg-unit{color:var(--text-secondary)!important}html[data-theme=dark] .cfg-field>input,html[data-theme=dark] .cfg-range input{background:var(--card-background)!important;color:var(--text-primary)!important;border-color:var(--border-color)!important}html[data-theme=dark] .cfg-field>input:focus,html[data-theme=dark] .cfg-range input:focus{border-color:var(--primary-color)!important}html[data-theme=dark] .cfg-sep{color:var(--text-secondary)!important}html[data-theme=dark] .cfg-check input{accent-color:var(--primary-color)!important}html[data-theme=dark] .mode-panel-go{background:var(--primary-color)!important;color:#fff!important}html[data-theme=dark] .mode-panel-go:hover{background:#0a84ffd9!important}html[data-theme=dark] .mode-panel-cancel{background:var(--card-background)!important;color:var(--text-primary)!important;border-color:var(--border-color)!important}html[data-theme=dark] .mode-panel-cancel:hover{border-color:var(--primary-color)!important;color:var(--primary-color)!important}html[data-theme=dark] .resize-handle:after,html[data-theme=dark] .resize-handle-bl:after{border-color:#ffffff47!important}html[data-theme=dark] .resize-handle:hover:after,html[data-theme=dark] .resize-handle-bl:hover:after{border-color:var(--primary-color)!important}html[data-theme=dark] .progress-spinner{border-color:#ffffff24!important;border-top-color:var(--primary-color)!important;box-shadow:none!important;background:transparent!important}html[data-theme=dark] .loading-text{color:var(--text-primary)!important;text-shadow:none!important}html[data-theme=dark] .progress-text{color:var(--text-primary)!important}html[data-theme=dark] .progress-subtext{color:var(--text-secondary)!important}html[data-theme=dark] .config-btn{background:#0a84ff2e!important;border-color:#0a84ff66!important;color:var(--primary-color)!important}html[data-theme=dark] .config-btn:hover{background:#0a84ff47!important;box-shadow:0 2px 8px #0a84ff40!important}html[data-theme=dark] .hex-segment{color:var(--text-primary)!important}html[data-theme=dark] .hex-segment:hover{filter:brightness(1.15)!important}html[data-theme=dark] .leaflet-popup-content-wrapper{background:var(--surface-frost)!important;color:var(--text-primary)!important;box-shadow:var(--shadow-lg)!important;backdrop-filter:blur(16px) saturate(180%)!important;-webkit-backdrop-filter:blur(16px) saturate(180%)!important}html[data-theme=dark] .leaflet-popup-tip{background:var(--surface-frost)!important;border:none!important}html[data-theme=dark] .leaflet-popup-content{color:var(--text-primary)!important}html[data-theme=dark] .leaflet-control-zoom a{background:var(--surface-frost)!important;color:var(--text-primary)!important;border-color:var(--border-color)!important}html[data-theme=dark] .leaflet-control-zoom a:hover{background:var(--surface-2)!important}html[data-theme=dark] .leaflet-control-scale-line{background:var(--surface-frost)!important;color:var(--text-primary)!important;border-color:var(--border-color)!important}html[data-theme=dark] .leaflet-control-attribution{background:#000000a6!important;color:var(--text-secondary)!important}html[data-theme=dark] .smart-select .trigger{background:var(--card-background)!important;color:var(--text-primary)!important;border-color:var(--border-color)!important}html[data-theme=dark] .smart-select .dropdown{background:var(--surface-frost)!important;color:var(--text-primary)!important;border-color:var(--border-color)!important;backdrop-filter:blur(24px) saturate(180%)!important;-webkit-backdrop-filter:blur(24px) saturate(180%)!important}html[data-theme=dark] .smart-option{color:var(--text-primary)!important}html[data-theme=dark] .smart-option:hover{background:var(--surface-1)!important}html[data-theme=dark] .filter-section{background:var(--surface-1)!important;color:var(--text-primary)!important;border-color:var(--border-color)!important}html[data-theme=dark] .frame-panel{background:var(--surface-1)!important;border-color:var(--border-color)!important}html[data-theme=dark] .filter-label{color:var(--text-secondary)!important}html[data-theme=dark] .filter-input{background:var(--card-background)!important;color:var(--text-primary)!important;border-color:var(--border-color)!important}html[data-theme=dark] .modal-content{color:var(--text-primary)!important;border-color:var(--border-color)!important}html[data-theme=dark] .modal-content.is-loading .modal-hd{background:transparent!important;border-bottom:none!important;padding:10px 14px!important}html[data-theme=dark] .loading-ring{border-color:#ffffff24!important;border-top-color:var(--primary-color)!important}html[data-theme=dark] .loading-text{color:var(--text-secondary)!important}html[data-theme=dark] .modal-hd{background:var(--surface-1)!important;color:var(--text-primary)!important;border-bottom-color:var(--border-color)!important}html[data-theme=dark] .modal-title,html[data-theme=dark] .modal-body{color:var(--text-primary)!important}html[data-theme=dark] .modal-ft{border-top-color:var(--border-color)!important;background:var(--surface-1)!important}html[data-theme=dark] .cancel-btn,html[data-theme=dark] .test-btn{background:var(--card-background)!important;color:var(--text-primary)!important;border-color:var(--border-color)!important}html[data-theme=dark] [style*="background: #fff"],html[data-theme=dark] [style*="background:#fff"],html[data-theme=dark] [style*="background-color: #fff"],html[data-theme=dark] [style*="background-color:#fff"]{background:var(--surface-frost)!important;color:var(--text-primary)!important}html[data-theme=dark] .gray-text,html[data-theme=dark] [class*=empty]{color:var(--text-secondary)!important}html[data-theme=dark] .ant-modal-content{background:var(--surface-frost)!important;color:var(--text-primary)!important;border:1px solid var(--border-color)!important}html[data-theme=dark] .ant-modal-header{background:transparent!important;border-bottom-color:var(--border-color)!important}html[data-theme=dark] .ant-modal-title,html[data-theme=dark] .ant-modal-body{color:var(--text-primary)!important}html[data-theme=dark] .ant-modal-close{color:var(--text-secondary)!important}html[data-theme=dark] .ant-input,html[data-theme=dark] .ant-input-affix-wrapper,html[data-theme=dark] .ant-select-selector{background:var(--card-background)!important;color:var(--text-primary)!important;border-color:var(--border-color)!important}html[data-theme=dark] .ant-table,html[data-theme=dark] .ant-table-thead>tr>th{background:var(--surface-1)!important;color:var(--text-primary)!important;border-bottom-color:var(--border-color)!important}html[data-theme=dark] .ant-table-tbody>tr>td{border-bottom-color:var(--border-color)!important;color:var(--text-primary)!important}html[data-theme=dark] .ant-table-tbody>tr:hover>td{background:var(--surface-1)!important}html[data-theme=dark] *{scrollbar-color:rgba(255,255,255,.28) transparent}html[data-theme=dark] ::selection,html[data-theme=dark] ::-moz-selection{background:#0a84ff7a!important;color:#fff!important}html[data-theme=dark] .status-badge.success{background:#30d15824!important;color:var(--success-color)!important}html[data-theme=dark] .status-badge.warning{background:#ff9f0a24!important;color:var(--warning-color)!important}html[data-theme=dark] .status-badge.danger{background:#ff453a24!important;color:var(--danger-color)!important}html[data-theme=dark] .status-badge.neutral{background:#ffffff14!important;color:var(--text-secondary)!important}html[data-theme=dark] [style*="rgba(0, 0, 0, 0.04)"]:hover,html[data-theme=dark] [style*="rgba(0,0,0,0.04)"]:hover{background:var(--surface-1)!important}html[data-theme=dark] .parse-tree{background:var(--surface-1)!important;border-color:var(--border-color)!important}html[data-theme=dark] .prow-name{color:var(--text-primary)!important}html[data-theme=dark] .prow-name.clickable,html[data-theme=dark] .prow-hex{color:var(--primary-color)!important}html[data-theme=dark] .prow-desc{color:var(--text-secondary)!important}html[data-theme=dark] .config-loading{background:var(--surface-frost)!important;color:var(--text-primary)!important}html[data-theme=dark] .insert-frame-mask{background:#0000008c!important}html[data-theme=dark] .insert-frame-box{background:var(--surface-frost)!important;border:1px solid var(--border-color)!important;box-shadow:0 20px 60px #00000080,0 0 0 1px #ffffff0f!important}html[data-theme=dark] .insert-frame-title{color:var(--text-primary)!important}html[data-theme=dark] .if-label{color:var(--text-secondary)!important}html[data-theme=dark] .if-textarea{background:var(--surface-1)!important;color:var(--text-primary)!important;border-color:var(--border-color)!important}html[data-theme=dark] .if-textarea:focus{border-color:var(--primary-color)!important}html[data-theme=dark] .if-detect-label,html[data-theme=dark] .if-detecting,html[data-theme=dark] .if-empty{color:var(--text-secondary)!important}html[data-theme=dark] .if-info{background:var(--surface-1)!important;border:1px solid var(--border-color)!important}html[data-theme=dark] .if-summary{color:var(--text-primary)!important}html[data-theme=dark] .if-meta-item{background:var(--surface-2)!important;color:var(--text-secondary)!important}html[data-theme=dark] .if-error{background:#ff453a26!important;color:var(--danger-color)!important}html[data-theme=dark] .insert-frame-actions .btn-cancel{background:var(--surface-1)!important;border-color:var(--border-color)!important;color:var(--text-primary)!important}html[data-theme=dark] .insert-frame-actions .btn-cancel:hover{background:var(--surface-2)!important}html[data-theme=dark] .insert-frame-actions .btn-ok{background:var(--primary-color)!important;border-color:var(--primary-color)!important}html[data-theme=dark] .disabled-btn{opacity:.35!important;color:var(--text-tertiary)!important}html[data-theme=dark] .if-proto-group-label{background:var(--surface-2)!important;color:var(--text-secondary)!important}html[data-theme=dark] .if-proto-group-label.jtt808{background:#0a84ff26!important}html[data-theme=dark] .if-proto-group-label.gid{background:#34c75926!important}html[data-theme=dark] .if-proto-group-label.qgdw{background:#af52de26!important}html[data-theme=dark] .if-device-item{background:var(--surface-1)!important;border-color:var(--border-color)!important}html[data-theme=dark] .if-device-item:hover{background:var(--surface-2)!important}html[data-theme=dark] .if-device-item.selected{border-color:var(--primary-color)!important;background:#0a84ff26!important}html[data-theme=dark] .if-device-name{color:var(--text-primary)!important}html[data-theme=dark] .if-proto-mismatch-tag{background:#ff453a33!important;color:var(--danger-color)!important}html[data-theme=dark] .if-template-desc{background:var(--surface-1)!important;border-color:var(--border-color)!important;color:var(--text-secondary)!important}html[data-theme=dark] .if-field-label{color:var(--text-tertiary)!important}html[data-theme=dark] .ant-btn{background:var(--card-background)!important;color:var(--text-primary)!important;border-color:var(--border-color)!important}html[data-theme=dark] .ant-btn-primary{background:var(--primary-color)!important;color:#fff!important;border-color:var(--primary-color)!important}html[data-theme=dark] .ant-btn-default{background:var(--card-background)!important;color:var(--text-primary)!important;border-color:var(--border-color)!important}html[data-theme=dark] .ant-tabs-tab{color:var(--text-secondary)!important}html[data-theme=dark] .ant-tabs-tab-active{color:var(--primary-color)!important}html[data-theme=dark] .ant-tabs-ink-bar{background:var(--primary-color)!important}html[data-theme=dark] .ant-dropdown-menu{background:var(--surface-frost)!important;border-color:var(--border-color)!important;box-shadow:var(--shadow-lg)!important}html[data-theme=dark] .ant-dropdown-menu-item{color:var(--text-primary)!important}html[data-theme=dark] .ant-dropdown-menu-item:hover{background:var(--surface-1)!important;color:var(--text-primary)!important}html[data-theme=dark] .ant-checkbox-inner,html[data-theme=dark] .ant-radio-inner{background:var(--card-background)!important;border-color:var(--border-color)!important}html[data-theme=dark] div[style*="background: white"],html[data-theme=dark] div[style*="background-color: white"]{background:var(--surface-frost)!important;color:var(--text-primary)!important}html[data-theme=dark] .agg-panel{background:var(--surface-frost)!important;backdrop-filter:blur(24px) saturate(180%)!important;-webkit-backdrop-filter:blur(24px) saturate(180%)!important;border-color:var(--border-color)!important;box-shadow:var(--shadow-lg)!important;color:var(--text-primary)!important}html[data-theme=dark] .agg-panel-title{color:var(--primary-color)!important}html[data-theme=dark] .agg-panel-close{color:var(--text-secondary)!important}html[data-theme=dark] .agg-panel-close:hover{background:var(--surface-1)!important;color:var(--text-primary)!important}html[data-theme=dark] .agg-countdown{background:#0a84ff24!important;border-color:#0a84ff52!important}html[data-theme=dark] .agg-cd-label{color:var(--text-secondary)!important}html[data-theme=dark] .agg-cd-time{color:var(--primary-color)!important}html[data-theme=dark] .agg-cd-done .agg-cd-time{color:var(--warning-color)!important}html[data-theme=dark] .agg-cd-reset .agg-cd-time{color:var(--text-secondary)!important}html[data-theme=dark] .agg-duration{background:#30d15824!important;border-color:#30d15852!important}html[data-theme=dark] .agg-dur-label{color:var(--text-secondary)!important}html[data-theme=dark] .agg-dur-time{color:var(--success-color)!important}html[data-theme=dark] .agg-panel-stop-wrap{border-top-color:var(--border-color)!important}html[data-theme=dark] .agg-btn-primary{background:var(--primary-color)!important;color:#fff!important}html[data-theme=dark] .agg-btn-primary:hover{background:color-mix(in srgb,var(--primary-color) 78%,#000)!important}html[data-theme=dark] .agg-btn-mini{background:var(--surface-2)!important;border-color:var(--border-color)!important;color:var(--text-secondary)!important}html[data-theme=dark] .agg-btn-mini:hover{color:var(--danger-color)!important;border-color:color-mix(in srgb,var(--danger-color) 50%,transparent)!important;background:color-mix(in srgb,var(--danger-color) 12%,transparent)!important}html[data-theme=dark] .agg-panel-stopped-label{border-top-color:var(--border-color)!important;color:var(--text-tertiary)!important}html[data-theme=dark] .agg-v{color:var(--text-primary)!important}html[data-theme=dark] .agg-v:hover{background:var(--surface-1)!important}html[data-theme=dark] .agg-v.agg-head{color:var(--text-secondary)!important;border-bottom-color:var(--border-color)!important}html[data-theme=dark] .agg-v.agg-head:hover{background:transparent!important}html[data-theme=dark] .agg-v-id{color:var(--text-primary)!important}html[data-theme=dark] .agg-v-info{color:var(--text-secondary)!important}html[data-theme=dark] .agg-v-phase.planning,html[data-theme=dark] .agg-v-phase.driving{color:var(--text-secondary)!important;border-color:#ffffff24!important;background:#ffffff14!important}html[data-theme=dark] .agg-v-phase.in_zone{color:var(--primary-color)!important;border-color:#0a84ff52!important;background:#0a84ff24!important}html[data-theme=dark] .agg-v-phase.exiting{color:var(--warning-color)!important;border-color:#ff9f0a52!important;background:#ff9f0a24!important}html[data-theme=dark] .agg-v-phase.exited{color:var(--text-secondary)!important;border-color:#ffffff1a!important;background:#ffffff0d!important}html[data-theme=dark] .agg-v-phase.failed{color:var(--danger-color)!important;border-color:#ff453a57!important;background:#ff453a29!important}html[data-theme=dark] .agg-v-phase.stopped{color:var(--text-secondary)!important;border-color:#ffffff29!important;border-style:dashed!important;background:transparent!important}html[data-theme=dark] .map-ctx-menu{background:var(--surface-frost)!important;backdrop-filter:blur(24px) saturate(180%)!important;-webkit-backdrop-filter:blur(24px) saturate(180%)!important;border-color:var(--border-color)!important;box-shadow:var(--shadow-lg)!important;color:var(--text-primary)!important}html[data-theme=dark] .map-ctx-title{color:var(--text-secondary)!important;border-bottom-color:var(--border-color)!important}html[data-theme=dark] .map-ctx-item{color:var(--text-primary)!important}html[data-theme=dark] .map-ctx-item:hover{background:var(--surface-1)!important}html[data-theme=dark] .map-ctx-item.danger{color:var(--danger-color)!important}html[data-theme=dark] .map-ctx-item.danger:hover{background:#ff453a24!important}html[data-theme=dark] .map-ctx-divider{background:var(--border-color)!important}html[data-theme=dark] .zone-radius-tip{background:#0a84ffeb!important;color:#fff!important;box-shadow:0 2px 6px #0006!important}html[data-theme=dark] .leaflet-tile{filter:invert(1) hue-rotate(180deg) brightness(.95) saturate(.85)!important}html[data-theme=dark] .leaflet-container{background:#1a1a1c!important}html[data-theme=dark] .device-marker>div:not(.car-ico){border:2px solid rgba(255,255,255,.7)!important;box-shadow:0 0 8px #0009!important}html[data-theme=dark] .search-result-popup{background:var(--surface-frost)!important;color:var(--text-primary)!important;border-color:var(--border-color)!important;box-shadow:var(--shadow-lg)!important}html[data-theme=dark] .leaflet-control-attribution{background:#0000008c!important;color:var(--text-secondary)!important}html[data-theme=dark] .leaflet-control-attribution a{color:var(--primary-color)!important}html[data-theme=dark] .leaflet-popup-content-wrapper{background:var(--surface-frost)!important;color:var(--text-primary)!important;box-shadow:var(--shadow-lg)!important;backdrop-filter:blur(24px) saturate(180%)!important;-webkit-backdrop-filter:blur(24px) saturate(180%)!important;border:1px solid var(--border-color)!important}html[data-theme=dark] .leaflet-popup-content{color:var(--text-primary)!important;font-size:13px!important;line-height:1.6!important}html[data-theme=dark] .leaflet-popup-tip{background:var(--surface-frost)!important;border:1px solid var(--border-color)!important}html[data-theme=dark] .leaflet-circle-marker{filter:brightness(1.15) saturate(1.2)}html[data-theme=dark] .leaflet-overlay-pane svg path{filter:drop-shadow(0 0 3px rgba(0,0,0,.5))}html[data-perf=lite] .leaflet-overlay-pane svg path{filter:none}html[data-theme=dark] .legend-dot{border-color:var(--text-secondary)!important}html[data-theme=dark] .history-dialog{background:var(--surface-frost)!important;color:var(--text-primary)!important;border:1px solid var(--border-color)!important;backdrop-filter:blur(24px) saturate(180%)!important;-webkit-backdrop-filter:blur(24px) saturate(180%)!important;box-shadow:0 20px 60px #00000080!important}html[data-theme=dark] .history-dialog-title{color:var(--text-primary)!important}html[data-theme=dark] .ht-dialog-num{background:var(--card-background)!important;color:var(--text-primary)!important;border-color:var(--border-color)!important}html[data-theme=dark] .ht-dialog-num:focus{border-color:var(--primary-color)!important;box-shadow:0 0 0 3px #0a84ff40!important}html[data-theme=dark] .ht-unit,html[data-theme=dark] .hd-hint{color:var(--text-secondary)!important}html[data-theme=dark] .hd-btn{background:var(--card-background)!important;color:var(--text-primary)!important;border-color:var(--border-color)!important}html[data-theme=dark] .hd-btn.cancel:hover{background:var(--surface-2)!important}html[data-theme=dark] .hd-btn.ok{background:var(--primary-color)!important;color:#fff!important;border-color:var(--primary-color)!important}html[data-theme=dark] .hd-btn.ok:hover{background:#0a84ffd9!important}html[data-theme=dark] .video-config-group{background:var(--video-group-bg)!important;border-color:var(--border-color)!important}html[data-theme=dark] .video-config-row input[type=text],html[data-theme=dark] .video-config-row input[type=number]{background:var(--card-background)!important;color:var(--text-primary)!important;border-color:var(--border-color)!important}html[data-theme=dark] .video-config-row input:focus{border-color:var(--primary-color)!important;box-shadow:0 0 0 2px #0a84ff40!important}html[data-theme=dark] .refresh-video-btn{background:var(--card-background)!important;color:var(--text-primary)!important;border-color:var(--border-color)!important}html[data-theme=dark] .refresh-video-btn:hover{background:var(--primary-color)!important;color:#fff!important;border-color:var(--primary-color)!important}html[data-theme=dark] .video-config-tips{background:var(--video-tips-bg)!important;border-color:var(--warning-color)!important}html[data-theme=dark] .video-config-tips .tips-title{color:var(--video-tips-title)!important}html[data-theme=dark] .video-config-tips ul{color:var(--video-tips-text)!important}
