:root{color:#1f312c;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--brand:#0b5b4f;--heading:#11251f;--muted:#5d6f69;--line:#11251f1a;--line-soft:#11251f14;--shadow-soft:0 18px 40px #1d3a3114;background:radial-gradient(circle at 0 0,#215f481f,#0000 24%),linear-gradient(#f3f7f4,#e7efea 42%,#eef3f0);font-family:Microsoft YaHei UI,PingFang SC,Noto Sans SC,sans-serif;font-weight:400;line-height:1.5}*{box-sizing:border-box}html{scroll-behavior:smooth}body{min-width:320px;min-height:100vh;margin:0}button{font:inherit}#root{min-height:100vh}a{color:inherit}html{scrollbar-gutter:stable both-edges;overflow-y:scroll}.customer-frame .brand-block span,.customer-topbar strong{color:#ffffffc7}.customer-sidebar .brand-mark{background:linear-gradient(135deg,#0f766e,#2563eb)}.customer-logout-btn{text-align:left;cursor:pointer;border:0;width:100%}.customer-scope-pill{color:#0f766e;background:#0f766e14;border:1px solid #0f766e3d;border-radius:999px;align-items:center;min-height:32px;padding:0 12px;font-size:13px;font-weight:700;display:inline-flex}.customer-login-panel{grid-template-columns:minmax(0,1.08fr) minmax(360px,.72fr)}.customer-login-copy h2{max-width:520px}.customer-enterprise-card{background:#ffffffc2;border:1px solid #0f172a1a;border-radius:8px;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:28px;padding:20px;display:grid;box-shadow:0 18px 42px #0f172a1a}.customer-enterprise-card div{background:#f8fafce6;border-radius:8px;align-content:start;gap:6px;min-height:72px;padding:12px;display:grid}.customer-enterprise-card span{color:#64748b;font-size:12px;font-weight:700}.customer-enterprise-card strong{color:#0f172a;overflow-wrap:anywhere;font-size:15px;line-height:1.35}.customer-login-tabs{margin-bottom:4px}.customer-fixed-account{background:#f8fafc;border:1px solid #0f172a1a;border-radius:8px;gap:6px;padding:14px 16px;display:grid}.customer-fixed-account span{color:#64748b;font-size:13px;font-weight:700}.customer-fixed-account strong{color:#0f172a;overflow-wrap:anywhere;font-size:16px}.customer-wechat-login{text-align:center;background:#f8fafc;border:1px solid #0f172a1a;border-radius:8px;justify-items:center;gap:14px;padding:18px;display:grid}.customer-wechat-qr{background:linear-gradient(90deg,#0000 45%,#0f172a1f 45% 55%,#0000 55%),linear-gradient(#0000 45%,#0f172a1f 45% 55%,#0000 55%),#eef2f7;border:8px solid #fff;grid-template-rows:repeat(2,48px);grid-template-columns:repeat(2,48px);gap:12px;padding:18px;display:grid;box-shadow:0 16px 34px #0f172a24}.customer-wechat-qr span{background:#0f172a;border-radius:6px}.customer-forgot-panel{background:#f8fafcc7;border:1px solid #0f172a1a;border-radius:8px;gap:12px;padding:16px;display:grid}.customer-forgot-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.customer-forgot-heading strong{color:#0f172a;font-size:16px}.customer-forgot-grid,.customer-forgot-stack{gap:12px;display:grid}.customer-forgot-grid{grid-template-columns:minmax(0,1fr) auto;align-items:end}.customer-forgot-panel label{gap:8px;display:grid}.customer-forgot-panel label span{color:#64748b;font-size:13px;font-weight:700}.customer-forgot-panel input{color:#172033;background:#fff;border:1px solid #0f172a1f;border-radius:8px;width:100%;min-height:42px;padding:0 12px}.customer-page{gap:18px;display:grid}.customer-page-header{align-items:center}.customer-kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.customer-kpi-card{gap:8px;min-height:104px;display:grid}.customer-kpi-card span{color:#64748b;font-size:13px;font-weight:700}.customer-kpi-card strong{color:#0f172a;font-size:34px;line-height:1}.customer-filter-panel,.customer-history-controls{grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:14px;display:grid}.customer-filter-panel label,.customer-history-controls label,.customer-map-side-panel label{gap:8px;display:grid}.customer-filter-panel span,.customer-history-controls span,.customer-map-side-panel label span{color:#64748b;font-size:13px;font-weight:700}.customer-filter-panel input,.customer-filter-panel select,.customer-history-controls input,.customer-map-side-panel input,.customer-map-side-panel select{color:#172033;background:#fff;border:1px solid #0f172a1f;border-radius:8px;width:100%;min-height:42px;padding:0 12px}.customer-device-table th,.customer-device-table td{white-space:nowrap}.customer-map-layout{grid-template-columns:minmax(0,1fr) 340px;align-items:stretch;gap:18px;display:grid}.customer-map-canvas-panel{min-height:620px;padding:0;overflow:hidden}.customer-map-canvas-panel .amap-shell,.customer-map-canvas-panel .amap-canvas{border-radius:8px;min-height:620px}.customer-map-side-panel{align-content:start;gap:16px;display:grid}.customer-selected-device{border-top:1px solid #0f172a1a;gap:12px;padding-top:12px;display:grid}.customer-selected-device h3{color:#0f172a;margin:0;font-size:18px}.customer-selected-device dl,.customer-history-card dl{grid-template-columns:max-content minmax(0,1fr);gap:8px 12px;margin:0;display:grid}.customer-selected-device dt,.customer-history-card dt{color:#64748b}.customer-selected-device dd,.customer-history-card dd{color:#172033;margin:0;font-weight:700}.customer-history-layout{grid-template-columns:320px minmax(0,1fr);align-items:start;gap:18px;display:grid}.customer-time-presets{flex-wrap:wrap;gap:8px;display:flex}.customer-history-device-panel{position:sticky;top:18px}.customer-history-device-list{gap:10px;max-height:640px;display:grid;overflow:auto}.customer-history-device-list label{background:#fff;border:1px solid #0f172a1a;border-radius:8px;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:10px;padding:12px;display:grid}.customer-history-device-list label.active{background:#2563eb0f;border-color:#2563eb59}.customer-history-device-list span{gap:4px;display:grid}.customer-history-device-list small{color:#64748b;line-height:1.45}.customer-history-main{gap:18px;display:grid}.customer-history-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.customer-history-card{gap:14px;display:grid}.customer-history-card>div:first-child{gap:4px;display:grid}.customer-history-card>div:first-child span{color:#64748b;font-size:13px;font-weight:700}.customer-history-card>div:first-child strong{color:#0f172a;font-size:18px}.customer-history-card svg{background:linear-gradient(#f8fafc,#eef2f7);border-radius:8px;width:100%;height:76px}.customer-history-card path{fill:none;stroke:#2563eb;stroke-width:3px;stroke-linecap:round;stroke-linejoin:round}.customer-history-table th,.customer-history-table td{white-space:nowrap}.customer-access-layout{grid-template-columns:minmax(0,1fr) 360px;align-items:start;gap:18px;display:grid}.customer-access-main{gap:18px;display:grid}.customer-access-section,.customer-access-contact-panel{gap:16px;display:grid}.customer-access-section label,.customer-access-contact-panel label{gap:8px;display:grid}.customer-access-section label span,.customer-access-contact-panel label span{color:#64748b;font-size:13px;font-weight:700}.customer-access-section input,.customer-access-section select,.customer-access-contact-panel input{color:#172033;background:#fff;border:1px solid #0f172a1f;border-radius:8px;width:100%;min-height:42px;padding:0 12px}.customer-access-device-summary{color:#64748b;flex-wrap:wrap;gap:10px;font-size:13px;display:flex}.customer-access-device-summary span{background:#f1f5f9;border-radius:999px;padding:7px 10px}.customer-access-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.customer-access-form-grid.single{grid-template-columns:1fr}.customer-access-interval-field{max-width:260px}.customer-access-location-section{gap:18px}.customer-access-map-block{gap:14px;display:grid}.customer-access-map-block .onboarding-map-canvas{min-height:360px}.customer-download-page .page-header{margin-bottom:28px}.customer-download-page .page-header .eyebrow{color:#00765f;font-size:18px;font-weight:800}.customer-download-page .page-header h2{font-size:46px;line-height:1.1}.customer-download-simple-panel{border-radius:44px;min-height:406px;padding:62px 38px 38px;box-shadow:0 18px 36px #0f48381a}.customer-download-simple-form{grid-template-columns:minmax(320px,.92fr) minmax(360px,1fr);grid-template-areas:"device download""start end";gap:30px 114px;max-width:1068px;display:grid}.customer-download-simple-form label{gap:12px}.customer-download-simple-form label span{color:#66766f;font-size:30px;font-weight:800;line-height:1.15}.customer-download-simple-form select,.customer-download-simple-form input{border-radius:22px;min-height:68px;padding-inline:28px;font-size:28px}.customer-download-device-field{grid-area:device}.customer-download-start-field{grid-area:start}.customer-download-end-field{grid-area:end}.customer-download-main-button{border-radius:60px;grid-area:download;place-self:end start;width:min(446px,100%);min-height:121px;font-size:28px;box-shadow:0 22px 30px #10755b24}.customer-download-time-row{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;display:grid}.customer-download-time-row .secondary-btn{border-radius:34px;min-height:68px;padding-inline:30px;font-size:26px}.customer-wechat-bind-card{background:#f8fafc;border:1px solid #0f172a1a;border-radius:8px;justify-items:center;gap:14px;padding:16px;display:grid}.customer-wechat-bind-qr{background:#eef2f7;border:8px solid #fff;grid-template-rows:repeat(7,16px);grid-template-columns:repeat(7,16px);gap:4px;padding:14px;display:grid;box-shadow:0 16px 34px #0f172a24}.customer-wechat-bind-qr span{background:0 0;border-radius:3px}.customer-wechat-bind-qr span.active{background:#0f172a}@media (width<=1100px){.customer-login-panel,.customer-map-layout,.customer-history-layout,.customer-access-layout{grid-template-columns:1fr}.customer-download-simple-form{grid-template-columns:1fr;grid-template-areas:"device""start""end""download";row-gap:24px}.customer-download-main-button{justify-self:stretch;min-height:76px}.customer-kpi-grid,.customer-history-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-history-device-panel{position:static}}@media (width<=720px){.customer-enterprise-card,.customer-kpi-grid,.customer-filter-panel,.customer-history-controls,.customer-history-card-grid,.customer-login-panel,.customer-forgot-grid,.customer-access-form-grid{grid-template-columns:1fr}.customer-download-page .page-header h2{font-size:34px}.customer-download-simple-panel{border-radius:28px;padding:30px 20px}.customer-download-simple-form label span{font-size:22px}.customer-download-simple-form select,.customer-download-simple-form input{min-height:54px;padding-inline:16px;font-size:18px}.customer-download-time-row{grid-template-columns:1fr}}body{overflow-x:hidden}.app-frame{grid-template-columns:204px 1fr;min-height:100vh;display:grid}.sidebar{color:#eef8f4;background:linear-gradient(#133a34,#0f2a26);border-right:1px solid #ffffff14;flex-direction:column;gap:14px;max-height:100vh;padding:14px 10px;display:flex;overflow-y:auto}.brand-block{border-bottom:1px solid #ffffff14;padding:12px 10px 18px}.brand-block h1,.brand-block span,.topbar strong,.page-header h2,.hero-title,.panel h2,.ai-card h3,.event-item h3{margin:0}.brand-mark{letter-spacing:.18em;text-transform:uppercase;color:#8fd0bb;margin:0 0 10px;font-size:13px}.brand-block h1{font-size:28px}.brand-block span{color:#eef8f4b8;margin-top:8px;line-height:1.6;display:block}.side-nav{gap:18px;display:grid}.side-nav-group{gap:10px;display:grid}.side-nav-title{letter-spacing:.14em;text-transform:uppercase;color:#8fd0bbe0;margin:0;padding:0 8px;font-size:12px;font-weight:700}.side-nav-links{gap:10px;display:grid}.side-nav-subgroup{gap:8px;display:grid}.nav-group-toggle{cursor:pointer;background:0 0;border:0;grid-template-columns:1fr auto;align-items:center;gap:10px;padding:0;display:grid}.side-nav-children{border-left:1px solid #ffffff14;gap:8px;margin-left:14px;padding-left:20px;display:grid}.nav-link,.nav-link-static,.nav-sublink,.nav-button,.back-link{text-decoration:none}.nav-link,.nav-link-static{color:#eef8f4cc;background:#ffffff05;border-radius:14px;padding:11px 12px;transition:background .2s,color .2s;display:block}.nav-link.active,.nav-link:hover{color:#fff;background:#8fd0bb24}.nav-link-static{color:#eef8f4e0}.nav-link-group{align-items:center;width:100%;display:flex}.nav-sublink{color:#eef8f4a8;background:#ffffff04;border-radius:14px;grid-template-columns:10px 1fr;align-items:center;gap:10px;padding:10px 14px;transition:background .2s,color .2s;display:grid}.nav-sublink.active,.nav-sublink:hover{color:#fff;background:#8fd0bb1f}.nav-sublink-marker{background:#8fd0bbb8;border-radius:999px;width:6px;height:6px}.nav-group-arrow{color:#eef8f4cc;text-align:center;min-width:30px;padding-right:8px;font-size:24px;font-weight:700;transition:transform .2s,color .2s}.nav-group-arrow.expanded{color:#eef8f4e6;transform:rotate(180deg)}.sidebar-card{background:#ffffff0f;border:1px solid #ffffff14;border-radius:20px;margin-top:12px;padding:18px}.sidebar-card span,.stat-card span,.table-status,.board-card span,.sensor-card span,.level-tag,.panel-kicker,.eyebrow,.topbar-kicker{letter-spacing:.12em;text-transform:uppercase}.sidebar-card span,.stat-card span{font-size:11px}.sidebar-card strong{margin-top:10px;font-size:22px;display:block}.sidebar-card p{color:#eef8f4b8;margin:10px 0 0;line-height:1.7}.main-shell{min-width:0;padding:6px 6px 12px;overflow-x:hidden}.platform-shell,.panel,.topbar,.page-header,.table-wrap{min-width:0}.topbar,.page-header,.hero-actions,.topbar-actions,.section-grid,.stats-grid,.sensor-grid,.hero-panel,.hero-metrics,.board-grid,.ai-grid,.event-list{display:grid}.topbar{border:1px solid var(--line);box-shadow:var(--shadow-soft);background:#ffffffad;border-radius:24px;grid-template-columns:1fr auto;align-items:center;gap:16px;padding:18px 22px}.topbar-kicker,.eyebrow,.panel-kicker{color:var(--brand);margin:0 0 8px;font-size:12px;font-weight:700}.topbar strong{color:var(--heading);font-size:18px}.topbar-actions{grid-auto-flow:column;gap:12px}.page-back-actions{grid-auto-flow:column;gap:12px;display:grid}.device-tool-entry-group{grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;align-items:stretch;gap:6px;display:grid}.device-tool-entry-stack{gap:6px;display:grid}.device-tool-entry{border:1px solid var(--line-soft);min-width:64px;min-height:74px;color:var(--heading);background:#ffffffeb;border-radius:14px;align-content:center;justify-items:center;gap:3px;padding:6px 5px;text-decoration:none;transition:transform .16s,border-color .16s,box-shadow .16s,background-color .16s;display:grid}.device-tool-entry:hover{border-color:#0b5b4f38;transform:translateY(-1px);box-shadow:0 14px 26px #11251f14}.device-tool-entry.is-emphasized{background:#eff8f5fa}.device-tool-entry-icon{width:28px;height:28px;color:var(--heading);background:#11251f14;border-radius:999px;justify-content:center;align-items:center;display:inline-flex}.device-tool-entry-icon svg{width:16px;height:16px}.device-tool-entry-label{letter-spacing:.04em;font-size:11px;font-weight:700;line-height:1}.device-tool-entry-history .device-tool-entry-icon,.device-tool-entry-dynamic .device-tool-entry-icon,.device-tool-entry-reservation .device-tool-entry-icon,.device-tool-entry-edit .device-tool-entry-icon{color:var(--heading);background:#11251f14}.device-tool-entry-detail{border:1px solid var(--line-soft);min-height:34px;color:var(--heading);background:#ffffffeb;border-radius:999px;justify-content:center;align-items:center;padding:0 12px;font-size:14px;font-weight:700;text-decoration:none;display:inline-flex}.lp-test-actions{justify-content:start;margin-top:18px}.observation-section-grid{align-items:stretch}.observation-realtime-panel{align-content:start;gap:18px;display:grid}.realtime-observation-layout{grid-template-columns:minmax(0,1fr) minmax(180px,.32fr);align-items:stretch;gap:18px;display:grid}.realtime-chart-card,.realtime-voltage-card{border:1px solid var(--line-soft);box-shadow:var(--shadow-soft);background:#ffffffc7;border-radius:22px}.realtime-chart-card{gap:8px;padding:9px;display:grid}.realtime-chart-header{justify-content:space-between;align-items:start;gap:16px;display:flex}.realtime-chart-header strong{color:var(--heading);font-size:18px;display:block}.realtime-chart-header span,.realtime-chart-empty{color:var(--muted)}.observation-chart-meta{gap:8px;display:grid}.observation-chart-head-left{align-items:center;gap:18px;min-width:0;display:flex}.observation-inline-legend{flex-shrink:0;gap:14px}.observation-time-axis-legend{cursor:context-menu}.observation-chart-metrics{color:var(--muted);flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:14px;font-size:18px;font-weight:700;display:flex}.observation-chart-metrics span{align-items:baseline;gap:2px;display:inline-flex}.observation-metric-unit{color:#596e69eb;font-size:22px;font-style:normal;line-height:1}.observation-metric-unit-x{color:#1a8a82}.observation-metric-unit-y{color:#d46a3a}.observation-device-exit-btn{border-radius:999px;min-height:34px;padding:0 16px;font-size:15px;line-height:1}.realtime-chart-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.realtime-chart-summary-card{border:1px solid var(--line-soft);background:#f7faf8c7;border-radius:16px;gap:6px;padding:12px 14px;display:grid}.realtime-chart-summary-card span{color:var(--muted);letter-spacing:.06em;text-transform:uppercase;font-size:12px;font-weight:700}.realtime-chart-summary-card strong{color:var(--heading);font-size:18px}.realtime-chart-legend{flex-wrap:wrap;justify-content:end;gap:10px;font-size:13px;display:flex}.realtime-chart-legend span{align-items:center;gap:6px;display:inline-flex}.legend-dot{border-radius:999px;width:10px;height:10px;display:inline-block}.legend-dot-x{background:#0f766e}.legend-dot-y{background:#c2410c}.legend-dot-time{background:#1f2937}.realtime-chart-svg{width:100%;min-height:176px;overflow:hidden}.realtime-chart-grid{stroke:#11251f1f;stroke-width:2px;stroke-dasharray:8 10}.realtime-chart-grid-vertical{stroke:#11251f33;stroke-width:1.6px;stroke-dasharray:4 10}.realtime-axis{fill:none;stroke-linecap:round}.realtime-axis-x{stroke:#1a8a82f2;stroke-width:2.6px}.realtime-axis-y{stroke:#d46a3af2;stroke-width:2.6px}.realtime-axis-temperature{stroke:#0f172aeb;stroke-width:2.6px}.realtime-time-axis{stroke:#11251f70;stroke-width:2px;stroke-dasharray:none}.realtime-time-label{fill:#16221feb;font-size:11px;font-weight:700}.realtime-time-axis-label-svg{fill:#16221fe0;pointer-events:none;font-size:11px;font-weight:700;line-height:1}.realtime-time-axis-label-date,.realtime-time-axis-label-time{text-anchor:end}.realtime-time-axis-label-date{font-size:12px}.realtime-time-axis-label-time{font-size:13px}.realtime-axis-label{letter-spacing:.01em;font-size:13px;font-weight:700}.realtime-axis-label-x{fill:#1a8a82f2}.realtime-axis-label-y{fill:#d46a3af2}.realtime-axis-label-temperature{fill:#0f172aeb}.realtime-line{fill:none;stroke-width:3px;opacity:.9;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 4px #ffffff38)}.realtime-line-x{stroke:#1a8a82;filter:drop-shadow(0 0 6px #1a8a823d)drop-shadow(0 0 12px #1a8a8214)}.realtime-line-y{stroke:#d46a3a;filter:drop-shadow(0 0 6px #d46a3a38)drop-shadow(0 0 12px #d46a3a14)}.realtime-line-temperature{stroke:#111827;filter:drop-shadow(0 0 4px #0f172a2e)drop-shadow(0 0 10px #0f172a14)}.realtime-point{stroke:#fffffff0;stroke-width:3px}.realtime-point-x{fill:#0f766e}.realtime-point-y{fill:#c2410c}.realtime-point-temperature{fill:#111827;stroke:#ffffffd1;stroke-width:1.4px}.realtime-point-trace{stroke-width:1.5px;opacity:.72}.realtime-voltage-card{background:radial-gradient(circle at 100% 0,#0f766e2e,#0000 38%),#ffffffd1;align-content:center;gap:10px;min-height:220px;padding:22px;display:grid}.realtime-voltage-card span{color:var(--muted);font-weight:700}.realtime-voltage-card strong{color:var(--heading);font-size:clamp(34px,5vw,56px);line-height:1}.realtime-voltage-card p{color:var(--muted);margin:0;line-height:1.6}.realtime-voltage-meta{gap:8px;margin-top:6px;display:grid}.realtime-voltage-meta span{color:var(--heading);background:#0f766e14;border-radius:12px;align-items:center;gap:8px;padding:8px 10px;font-size:13px;font-weight:600;display:inline-flex}.observation-stat-grid,.observation-extension-form,.observation-live-panel{margin-top:18px}.observation-device-selector{gap:16px;margin-top:18px;display:grid}.observation-device-selector-inline{gap:18px;display:grid}.observation-device-selector-toolbar{align-items:start;gap:18px;display:flex}.observation-device-selection-summary{gap:4px;display:grid}.observation-device-selection-summary strong{color:var(--heading);font-size:24px;line-height:1.15}.observation-device-selection-summary span{color:var(--muted);font-size:18px}.observation-device-option-list{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px;display:grid}.observation-device-option-list.compact{grid-template-columns:repeat(4,minmax(240px,1fr));justify-content:start;gap:10px}.observation-device-option{border:1px solid var(--line-soft);box-shadow:var(--shadow-soft);background:#ffffffc7;border-radius:18px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px 16px;display:grid}.observation-device-option.compact{grid-template-columns:18px minmax(0,1fr);align-items:center;min-height:32px;padding:6px 12px}.observation-device-option.is-selected{border-color:#0f766e3d}.observation-device-option.is-focused{background:radial-gradient(circle at 100% 0,#0f766e1f,#0000 42%),#ffffffdb}.observation-device-option-check{grid-template-columns:auto minmax(0,1fr);align-items:start;gap:10px;display:grid}.observation-device-option-body{text-align:left;cursor:pointer;background:0 0;border:0;gap:2px;padding:0;display:grid}.observation-device-option-check input{margin-top:4px}.observation-device-option.compact input{margin-top:0}.observation-device-option-check strong{color:var(--heading);font-size:17px;display:block}.observation-device-option.compact strong{white-space:nowrap;font-size:16px;line-height:1.2}.observation-device-option-check span{color:var(--muted);margin-top:4px;line-height:1.4;display:block}.observation-device-option.compact span{margin-top:0;font-size:12px}.observation-device-option.compact .observation-device-option-body{gap:0}.observation-device-option-meta{flex-wrap:wrap;grid-column:1/-1;gap:8px;display:flex}.observation-device-option-meta span{min-height:28px;color:var(--heading);background:#0f766e14;border-radius:999px;align-items:center;padding:0 10px;font-size:12px;font-weight:700;display:inline-flex}.observation-page-meta{flex-wrap:wrap;gap:10px;margin-top:14px;display:flex}.observation-live-pill,.observation-mode-pill,.observation-window-pill{border-radius:999px;align-items:center;min-height:34px;padding:0 12px;font-size:13px;font-weight:700;display:inline-flex}.observation-live-pill.is-live{color:#0f766e;background:#0f766e24}.observation-live-pill.is-idle{color:#51605a;background:#95a29d2e}.observation-mode-pill{color:var(--heading);background:#0b5b4f14}.observation-window-pill{border:1px solid var(--line-soft);color:var(--muted);background:#ffffffb8}.observation-runtime-card{margin-bottom:20px}.observation-runtime-card .panel-heading h2{font-size:22px;line-height:1.35}.observation-page-header{align-items:end;margin-bottom:18px}.observation-live-workbench{grid-template-columns:minmax(320px,1fr) auto;align-items:start;gap:22px 30px;display:grid}.observation-live-intro{gap:8px;display:grid}.observation-live-intro h2{margin:0;font-size:clamp(34px,4vw,48px);line-height:1.08}.observation-live-inline-controls{flex-wrap:nowrap;justify-content:flex-end;align-items:end;gap:12px;display:flex}.observation-live-actions{align-content:start;justify-items:end;gap:12px;display:grid}.observation-live-inline-controls .primary-btn,.observation-live-inline-controls .ghost-btn{white-space:nowrap}.observation-inline-interval{gap:6px;min-width:168px;display:grid}.observation-inline-interval span{color:var(--muted);font-weight:700}.observation-inline-interval input{border:1px solid var(--line);width:100%;min-height:42px;color:var(--heading);font:inherit;background:#f8faf9f0;border-radius:14px;padding:0 14px}.observation-selection-actions{justify-self:end}.observation-selection-actions .ghost-btn{min-width:92px}.observation-action-feedback{max-width:540px;color:var(--muted);text-align:right;margin:0;font-size:14px;line-height:1.5}.observation-status-strip{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;display:grid}.observation-status-card{border:1px solid var(--line-soft);box-shadow:var(--shadow-soft);background:radial-gradient(circle at 100% 0,#0f766e1f,#0000 42%),#ffffffc7;border-radius:20px;gap:8px;padding:18px 20px;display:grid}.observation-status-card span{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;font-size:12px;font-weight:700}.observation-status-card strong{color:var(--heading);font-size:26px;line-height:1.2}.observation-status-card p{color:var(--muted);margin:0;line-height:1.5}.observation-control-panel{background:#e9f4f1b8;border:1px solid #0f766e24;border-radius:22px;gap:10px;margin-top:18px;padding:16px 18px;display:grid}.observation-live-toolbar{grid-template-columns:minmax(240px,1fr) 160px repeat(3,max-content);align-items:end;gap:12px;margin-top:0;display:grid}.observation-live-toolbar label{gap:6px;display:grid}.observation-live-toolbar span{color:var(--muted);font-weight:700}.observation-live-toolbar input{border:1px solid var(--line);width:100%;min-height:42px;color:var(--heading);font:inherit;background:#f8faf9f0;border-radius:14px;padding:0 14px}.observation-toolbar-hint{color:var(--muted);margin:0;line-height:1.6}.observation-chart-shell{grid-template-columns:minmax(0,1fr) minmax(190px,.26fr);align-items:stretch;gap:18px;margin-top:18px;display:grid}.observation-main-chart .realtime-chart-svg{cursor:crosshair;min-height:220px}.observation-brush-toolbar{justify-content:space-between;align-items:center;gap:12px;display:flex}.observation-brush-toolbar span,.observation-brush-hint{color:var(--muted);font-size:13px}.observation-brush-hint{margin:0}.realtime-chart-brush{fill:#0f766e1f;stroke:#0f766e59;stroke-width:1.5px}.observation-device-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:14px;margin-top:18px;display:grid}.observation-preview-section{gap:14px;margin-top:18px;display:grid}.observation-preview-head{flex-wrap:wrap;justify-content:space-between;align-items:end;gap:16px;display:flex}.observation-preview-head h3{color:var(--heading);margin:4px 0 0;font-size:22px}.observation-preview-head span{color:var(--muted);font-weight:700}.observation-preview-empty{border:1px dashed var(--line);background:#f7faf8d1;border-radius:18px;gap:6px;padding:18px 20px;display:grid}.observation-preview-empty strong{color:var(--heading)}.observation-preview-empty p{color:var(--muted);margin:0;line-height:1.5}.observation-device-card{border:1px solid var(--line-soft);box-shadow:var(--shadow-soft);cursor:pointer;background:#ffffffc7;border-radius:20px;gap:12px;padding:18px 20px;display:grid}.observation-device-card.is-focused{background:radial-gradient(circle at 100% 0,#0f766e1f,#0000 42%),#ffffffe0;border-color:#0f766e3d}.observation-device-card-head{justify-content:space-between;align-items:start;gap:12px;display:flex}.observation-device-card-head strong{color:var(--heading);font-size:16px;display:block}.observation-device-card-head span{color:var(--muted);margin-top:4px;line-height:1.4;display:block}.observation-device-card-head em{color:#0f766e;background:#0f766e1a;border-radius:999px;align-items:center;min-height:28px;padding:0 10px;font-size:12px;font-style:normal;font-weight:700;display:inline-flex}.observation-device-mini-chart{width:100%;height:112px}.observation-device-mini-empty{min-height:112px;color:var(--muted);background:#f0f5f3e6;border-radius:14px;place-items:center;font-weight:700;display:grid}.observation-device-card-meta{gap:8px;display:grid}.observation-device-card-meta span{color:var(--heading);font-size:13px;font-weight:600}.communication-split-panel{margin-top:18px}.observation-settings-panel{background:#f4f8f6d1;margin-top:18px;padding:18px 20px 22px}.observation-settings-disclosure{gap:14px;display:grid}.observation-settings-disclosure summary{cursor:pointer;-webkit-user-select:none;user-select:none;justify-content:space-between;align-items:center;gap:18px;list-style:none;display:flex}.observation-settings-disclosure summary::-webkit-details-marker{display:none}.observation-settings-disclosure summary span{color:var(--muted);font-size:13px;font-weight:700}.observation-settings-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:14px}.observation-settings-card{border:1px solid var(--line-soft);box-shadow:none;background:#ffffffc7;border-radius:20px;padding:20px}.compact-observation-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 14px;margin-top:10px}.communication-frame-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:18px;display:grid}.communication-monitor-grid{grid-template-columns:minmax(220px,.8fr) minmax(0,1.35fr);align-items:stretch;gap:18px;margin-top:18px;display:grid}.communication-monitor-grid.compact.embedded{gap:3px;margin-top:9px}.communication-frame-column{background:linear-gradient(#0e1c19fa,#132723f5);border:1px solid #11251f14;border-radius:20px;gap:10px;padding:14px;display:grid;box-shadow:inset 0 1px #ffffff0a,0 12px 30px #08151338}.communication-monitor-grid.compact.embedded .communication-frame-column{border-radius:7px;gap:2px;padding:1px 2px}.communication-frame-column-send{border-color:#4cc4ac24}.communication-frame-column-receive{border-color:#f09c6624}.communication-frame-column h3{color:#eef8f4;margin:0;font-size:17px}.communication-monitor-grid.compact.embedded .communication-frame-column h3{font-size:8px}.communication-frame-column-head{border-bottom:1px solid #ffffff14;justify-content:space-between;align-items:center;gap:12px;padding:2px 2px 10px;display:flex}.communication-monitor-grid.compact.embedded .communication-frame-column-head{padding:0}.communication-monitor-grid.compact.embedded .communication-frame-column-head span{font-size:8px}.communication-frame-column-head span{color:#eef8f4c2;letter-spacing:.08em;text-transform:uppercase;font-size:12px;font-weight:700}.communication-frame-list{gap:8px;max-height:460px;padding:4px 4px 2px 0;display:grid;overflow:auto}.communication-monitor-rows{grid-template-rows:repeat(3,minmax(70px,auto));gap:8px;display:grid}.communication-monitor-grid.compact.embedded .communication-monitor-rows{grid-template-rows:repeat(3,minmax(11px,auto));gap:0}.comm-frame-empty{background:#ffffff08;border:1px dashed #ffffff1f;border-radius:14px;align-content:center;gap:6px;min-height:160px;padding:16px;display:grid}.comm-frame-empty strong{color:#eef8f4}.comm-frame-empty p{color:#d6e6dfb8;margin:0;line-height:1.5}.comm-frame-row{background:linear-gradient(#ffffff0f,#ffffff08);border:1px solid #ffffff0f;border-radius:14px;gap:6px;padding:10px 12px;display:grid}.comm-frame-row.compact{grid-template-columns:66px minmax(0,1fr);align-items:center;gap:10px;min-height:70px;padding:8px 10px}.communication-monitor-grid.compact.embedded .comm-frame-row.compact{border-radius:4px;grid-template-columns:48px minmax(0,1fr);gap:1px;min-height:11px;padding:0}.communication-monitor-grid.compact.embedded .comm-frame-row.compact time{font-size:11px;line-height:1}.communication-monitor-grid.compact.embedded .comm-frame-row.compact code{border-radius:3px;padding:0 1px;font-size:11px;line-height:1}.comm-frame-row.compact time{color:#bfd7ced1;font-size:11px}.comm-frame-row.compact code{padding:6px 8px;font-size:11px;line-height:1.4}.comm-frame-row.compact.is-send code{border-color:#4cc4ac2e}.comm-frame-row.compact.is-receive code{border-color:#f09c662e}.comm-frame-placeholder-row{background:#ffffff05;border:1px dashed #ffffff14;border-radius:14px;min-height:70px}.communication-monitor-grid.compact.embedded .comm-frame-placeholder-row{border-radius:4px;min-height:11px}.comm-frame-waiting-row{background:#ffffff0a;border:1px dashed #ffffff24;border-radius:14px;grid-template-columns:66px minmax(0,1fr);align-items:center;gap:10px;min-height:70px;padding:8px 10px;display:grid}.communication-monitor-grid.compact.embedded .comm-frame-waiting-row{border-radius:7px;grid-template-columns:48px minmax(0,1fr);gap:3px;min-height:20px;padding:1px 3px}.communication-monitor-grid.compact.embedded .comm-frame-waiting-row time,.communication-monitor-grid.compact.embedded .comm-frame-waiting-row span{font-size:9px}.comm-frame-waiting-row time{color:#bfd7ce99;font-family:Consolas,SFMono-Regular,monospace;font-size:11px}.comm-frame-waiting-row span{color:#d6e6dfc7;font-size:12px}.comm-frame-waiting-row.is-send{border-color:#4cc4ac2e}.comm-frame-waiting-row.is-receive{border-color:#f09c662e}.comm-frame-meta{justify-content:space-between;align-items:center;gap:12px;display:flex}.comm-frame-row time{color:#bfd7cebd;font-family:Consolas,SFMono-Regular,monospace;font-size:12px}.comm-frame-meta span{color:#8fd0bbeb;letter-spacing:.08em;text-transform:uppercase;font-size:11px;font-weight:700}.comm-frame-row code{white-space:pre-wrap;word-break:break-all;color:#f3fcf8;background:#09121094;border:1px solid #8fd0bb1f;border-radius:10px;padding:8px 10px;font-size:12px;line-height:1.55;display:block}.comm-frame-row p{color:#d6e6dfb8;margin:0;font-size:13px;line-height:1.45}.platform-shell{padding-top:2px;overflow-x:clip}.page-header{grid-template-columns:1fr auto;align-items:center;gap:16px;margin-bottom:14px}.page-header h2,.hero-title,.panel h2{color:var(--heading)}.page-header h2{font-size:28px}.hero-panel{grid-template-columns:1.3fr .9fr;gap:24px;margin-bottom:24px}.hero-copy,.panel,.board-card,.login-panel{border:1px solid var(--line);box-shadow:var(--shadow-soft)}.hero-copy,.panel,.board-card{border-radius:28px}.hero-copy,.panel{background:#fdfdfbd1}.hero-copy{background:radial-gradient(circle at 100% 0,#0b5b4f2e,#0000 28%),linear-gradient(135deg,#f5faf7fa,#e8f1ecf5);padding:42px}.hero-title{max-width:12ch;font-size:clamp(34px,4vw,56px);line-height:1.05}.hero-text{max-width:62ch;color:var(--muted);margin-top:18px;font-size:17px;line-height:1.75}.hero-actions{grid-auto-flow:column;justify-content:start;gap:12px;margin-top:28px}.primary-btn,.ghost-btn,.secondary-btn{min-height:46px;font:inherit;cursor:pointer;border:1px solid #0000;border-radius:999px;justify-content:center;align-items:center;padding:0 18px;transition:transform .2s,box-shadow .2s,border-color .2s;display:inline-flex}.primary-btn{color:#fff;background:linear-gradient(135deg,#0b5b4f,#18775d);box-shadow:0 18px 30px #0b5b4f38}.ghost-btn{color:var(--heading);background:#ffffff9e;border-color:#0b5b4f24}.secondary-btn{color:var(--heading);background:#f8faf9eb;border-color:#0b5b4f29}.primary-btn:hover,.ghost-btn:hover,.secondary-btn:hover{transform:translateY(-1px)}.nav-button{min-width:120px}.hero-metrics,.sensor-grid,.stats-grid,.ai-grid{gap:14px}.hero-metrics{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:28px}.hero-metrics article,.sensor-card,.ai-card,.event-item,.module-list li,.stat-card{background:#ffffffb8;border-radius:20px}.hero-metrics article,.sensor-card,.ai-card,.event-item,.module-list li,.stat-card,.heat-row{border:1px solid var(--line-soft);padding:18px}.hero-metrics strong,.sensor-card strong,.stat-card strong{color:var(--heading);display:block}.hero-metrics strong{font-size:28px}.hero-metrics span,.sensor-card p,.ai-card p,.event-item p,.module-list li,.stat-card p,.heat-row em{color:var(--muted)}.hero-board{gap:16px;display:grid}.board-card{background:linear-gradient(#fcfdfcf5,#f1f5f3fa);padding:24px}.board-card-primary{background:linear-gradient(155deg,#123c36,#0f5749)}.board-card span,.sensor-card span,.panel-kicker,.eyebrow,.level-tag,.table-status{font-size:11px;font-weight:700}.board-card strong{color:var(--heading);margin-top:14px;font-size:28px;display:block}.board-card p{color:var(--muted);margin-top:12px;line-height:1.7}.board-card-primary span,.board-card-primary strong,.board-card-primary p{color:#f4fbf8}.board-grid{gap:16px}.section-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:18px}.panel{padding:22px}.panel h2{font-size:24px;line-height:1.15}.sensor-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:24px}.flow-list,.module-list{margin:24px 0 0;padding:0}.flow-list{counter-reset:flow;list-style:none}.flow-list li{border-top:1px solid var(--line-soft);color:var(--heading);padding:18px 18px 18px 72px;line-height:1.7;position:relative}.flow-list li:before{counter-increment:flow;content:counter(flow);width:44px;height:44px;color:var(--brand);background:#0b5b4f14;border-radius:14px;place-items:center;font-weight:700;display:grid;position:absolute;top:15px;left:0}.ai-panel,.table-panel{margin-top:24px}.ai-grid,.stats-grid{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:24px}.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.history-overview-hero{grid-template-columns:1.2fr .8fr;gap:24px;margin-bottom:24px;display:grid}.history-overview-intro,.history-overview-focus{gap:16px;display:grid}.history-overview-intro,.history-device-card,.history-health-item{border:1px solid var(--line);box-shadow:var(--shadow-soft);background:radial-gradient(circle at 100% 0,#0b5b4f1f,#0000 28%),#fdfdfbd1;border-radius:28px;padding:24px}.history-overview-intro h3,.history-device-card strong,.history-health-item strong{color:var(--heading);margin:0}.history-overview-intro h3{max-width:14ch;font-size:clamp(28px,3vw,40px);line-height:1.15}.history-overview-intro p{color:var(--muted);margin:0;line-height:1.7}.history-multi-shell{overflow-anchor:none;gap:24px;display:grid}.history-multi-toolbar,.history-timebar,.history-filter-grid,.history-selected-list,.history-device-picker-grid,.history-chart-stack{display:grid}.history-multi-toolbar{grid-template-columns:1.22fr .94fr .84fr;align-items:start;gap:16px 20px}.history-multi-toolbar-group{gap:12px;min-width:0;display:grid}.history-multi-toolbar-label{color:var(--muted);font-size:15px;font-weight:700}.history-pill-row{flex-wrap:wrap;gap:10px;display:flex}.history-multi-toolbar .history-pill-row{gap:10px}.history-multi-toolbar .data-mode-btn{background:#ffffffeb;border-radius:999px;min-height:34px;padding:0 14px;font-size:14px;font-weight:700}.history-multi-toolbar .data-mode-btn.active{background:linear-gradient(135deg,#0f766e,#18775d)}.history-timebar{background:#ffffffe0;border:1px solid #11251f14;border-radius:24px;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 1.7fr;align-items:stretch;gap:0;overflow:hidden}.history-selected-card strong,.history-device-option strong,.history-multi-chart-card strong{color:var(--heading)}.history-selected-card p,.history-device-option p,.history-multi-chart-card p{color:var(--muted);margin:0;line-height:1.6}.history-selected-card-copy,.history-device-option-copy{gap:8px;min-width:0;display:grid}.history-multi-chart-copy{gap:2px;min-width:0;display:grid}.history-device-chip-row,.history-result-pills,.history-filter-summary{flex-wrap:wrap;gap:8px;display:flex}.history-device-chip,.history-result-pills span,.history-filter-summary span{border:1px solid var(--line-soft);min-height:28px;color:var(--heading);background:#f7faf8e0;border-radius:999px;align-items:center;padding:0 10px;font-size:12px;font-weight:700;display:inline-flex}.history-filter-summary{justify-content:space-between;align-items:center}.history-filter-summary span{color:var(--muted)}.history-filter-summary .secondary-btn{min-height:32px;padding-inline:14px}.history-filter-panel,.history-selected-panel,.history-device-picker,.history-result-panel{overflow-anchor:none;gap:18px;display:grid}.history-timebar-field,.history-timebar-presets{background:#ffffffeb;min-width:0;padding:16px 18px 14px}.history-timebar-field{border-right:1px solid #11251f14;gap:12px;display:grid}.history-timebar-field>span,.history-timebar-presets>span{color:var(--muted);font-size:13px;font-weight:800}.history-timebar-field input{border-radius:18px;min-height:58px;padding:0 22px;font-size:18px}.history-timebar-field-row{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;display:grid}.history-timebar-confirm-btn{border-radius:18px;min-width:82px;min-height:58px;padding:0 18px;font-size:15px;font-weight:700}.history-timebar-confirm-btn:disabled{opacity:.48;cursor:default}.history-timebar-presets{gap:14px;display:grid}.history-timebar-presets .history-pill-row{gap:12px}.history-timebar-presets .data-mode-btn,.history-timebar-presets .ghost-btn{border-radius:999px;min-height:40px;padding:0 24px;font-size:16px;font-weight:700}.history-timebar-presets .ghost-btn{border-width:2px}.history-workspace-notice{background:linear-gradient(#edfaf7f5,#f6fcf9f5);border:1px solid #0f766e2e;border-radius:16px;gap:6px;padding:12px 14px;display:grid}.history-workspace-notice strong{color:#0f766e}.history-workspace-notice p{color:#0f766e;margin:0;line-height:1.6}.history-filter-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.history-selected-header,.history-result-header,.history-selected-actions,.history-device-option,.history-multi-chart-header{justify-content:space-between;gap:14px;display:flex}.history-selected-header,.history-result-header{align-items:end}.history-selected-actions{align-items:center}.history-result-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}.history-result-refresh-btn{min-width:156px;min-height:58px;padding:0 34px;font-size:20px;font-weight:700;box-shadow:0 16px 28px #0b5b4f33}.history-selected-list,.history-chart-stack{overflow-anchor:none;gap:12px}.history-selected-card,.history-device-option,.history-multi-chart-card{border:1px solid var(--line-soft);box-shadow:var(--shadow-soft);background:#ffffffc7;border-radius:20px;padding:16px 18px}.history-selected-card{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:14px;display:grid}.history-result-header{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:14px;display:grid}.history-selected-card-actions{flex-wrap:nowrap;justify-content:flex-end;align-self:start;align-items:center;gap:8px;display:flex}.history-selected-card-actions span{color:var(--muted);font-size:13px;font-weight:700}.history-selected-snapshot{background:#f7faf8eb;border:1px solid #0b5b4f1f;border-radius:16px;gap:8px;min-height:108px;padding:12px;display:grid}.history-selected-snapshot-time{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;min-height:18px;font-size:12px;font-weight:700;overflow:hidden}.history-selected-snapshot-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.history-selected-snapshot-grid span{color:var(--heading);background:#ffffffe6;border-radius:12px;gap:4px;padding:10px 12px;font-size:13px;font-weight:700;display:grid}.history-selected-snapshot-grid em{color:var(--muted);font-size:11px;font-style:normal;font-weight:700}.history-device-picker-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.history-device-group-list{gap:14px;display:grid}.history-device-group{border:1px solid var(--line-soft);box-shadow:var(--shadow-soft);background:linear-gradient(#f7faf8f0,#ffffffe6);border-radius:22px;gap:14px;padding:14px;display:grid}.history-device-group-summary{cursor:pointer;justify-content:space-between;align-items:center;gap:16px;list-style:none;display:flex}.history-device-group-summary::-webkit-details-marker{display:none}.history-device-group-summary strong{color:var(--heading)}.history-device-group-summary p{color:var(--muted);margin:4px 0 0;line-height:1.5}.history-device-group-summary-copy{gap:6px;display:grid}.history-device-group-summary-tags{flex-wrap:wrap;gap:6px;display:flex}.history-device-group-summary-tags span{color:#0f766e;background:#0f766e1a;border-radius:999px;align-items:center;min-height:26px;padding:0 10px;font-size:12px;font-weight:700;display:inline-flex}.history-device-group-summary span{border:1px solid var(--line-soft);min-height:30px;color:var(--heading);background:#ffffffe6;border-radius:999px;align-items:center;padding:0 12px;font-size:12px;font-weight:700;display:inline-flex}.history-device-group-actions{flex-wrap:wrap;gap:8px;display:flex}.history-device-option{cursor:pointer;border-radius:16px;grid-template-columns:22px minmax(0,1fr);align-items:start;gap:8px 12px;min-height:0;padding:10px 12px;display:grid}.history-device-option input{width:17px;height:17px;margin-top:4px}.history-device-meta-grid{grid-column:2/-1;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.history-device-meta-grid span{min-height:58px;color:var(--heading);background:#f7faf8e0;border-radius:10px;align-content:start;gap:2px;padding:6px 9px;font-size:11px;line-height:1.25;display:grid}.history-device-meta-grid em{color:var(--muted);font-size:10px;font-style:normal;font-weight:700}.history-device-option-copy{grid-column:2/-1;gap:4px}.history-device-option strong{font-size:17px;line-height:1.08}.history-device-option p{color:#5d717b;font-size:13px;line-height:1.45}.history-device-option.is-selected{background:radial-gradient(circle at 100% 0,#0f766e1f,#0000 38%),#ffffffdb;border-color:#0f766e3d}.history-multi-chart-card{gap:2px;padding-top:4px;display:grid;position:relative;overflow:hidden}.history-multi-chart-card:before{content:"";pointer-events:none;background:radial-gradient(circle at 0 0,#0f766e14,#0000 30%),radial-gradient(circle at 100% 100%,#d977060f,#0000 34%);position:absolute;inset:0}.history-clean-shell{gap:20px;display:grid}.history-clean-hero{grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);align-items:stretch;gap:18px;display:grid}.history-clean-focus{align-content:center;gap:12px;display:grid}.history-clean-pills{flex-wrap:wrap;gap:10px;display:flex}.history-clean-pills span,.history-clean-summary span{border:1px solid var(--line-soft);min-height:36px;color:var(--heading);background:#f7faf8eb;border-radius:999px;align-items:center;padding:0 14px;font-size:13px;font-weight:700;display:inline-flex}.history-clean-toolbar{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;display:grid}.history-clean-toolbar-group{gap:12px;display:grid}.history-clean-toolbar-label{color:var(--muted);font-size:14px;font-weight:700}.history-clean-pill-row{flex-wrap:wrap;gap:12px;display:flex}.history-clean-actions{flex-wrap:wrap;justify-content:flex-end;gap:12px;display:flex}.history-clean-timebar{grid-template-columns:repeat(2,minmax(0,1fr)) auto;align-items:end;gap:18px;display:grid}.history-clean-timebar-field{gap:10px;display:grid}.history-clean-timebar-field>span{color:var(--muted);font-size:14px;font-weight:700}.history-clean-timebar-field input{min-height:56px}.history-clean-summary{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.history-clean-top-grid{grid-template-columns:minmax(320px,.9fr) minmax(0,1.1fr);align-items:start;gap:20px;display:grid}.history-clean-filter-panel,.history-clean-selected-panel,.history-clean-device-panel,.history-clean-result-panel{gap:16px;display:grid}.history-clean-section-head{gap:6px;display:grid}.history-clean-section-head strong{color:var(--heading);font-size:18px}.history-clean-section-head p{color:var(--muted);margin:0;line-height:1.55}.history-clean-selected-list{gap:12px;display:grid}.history-clean-device-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.history-clean-chart-stack{gap:14px;display:grid}.history-rebuild-page{gap:18px;display:grid}.history-rebuild-hero{box-shadow:none;background:0 0;border:0;padding:0;display:block}.history-rebuild-hero-copy{gap:10px;display:grid}.history-rebuild-hero-copy .eyebrow{color:#0f5d56;font-size:14px;font-weight:800}.history-rebuild-hero-copy h1{color:var(--heading);margin:0;font-size:clamp(26px,3vw,44px);line-height:1.08}.history-single-device-page .history-rebuild-hero{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:16px;display:grid}.history-rebuild-modebar{box-shadow:var(--shadow-soft);background:#ffffffe6;border:1px solid #11251f14;border-radius:30px;grid-template-columns:1.34fr 1fr .9fr;gap:12px 14px;padding:18px 22px 20px;display:grid}.history-rebuild-modebar-group{gap:12px;min-width:0;display:grid}.history-rebuild-modebar-group strong{color:var(--muted);font-size:12px;font-weight:800}.history-rebuild-modebar-row{flex-wrap:nowrap;gap:8px;display:flex}.history-rebuild-modebar .data-mode-btn{white-space:nowrap;background:#fffffff0;border-radius:999px;min-height:34px;padding:0 16px;font-size:13px;font-weight:700}.history-rebuild-modebar .data-mode-btn.active{background:linear-gradient(135deg,#0f766e,#18775d)}.history-rebuild-time-shell,.history-rebuild-timebar,.history-rebuild-grid,.history-rebuild-selected-list,.history-rebuild-device-list,.history-rebuild-chart-stack,.history-rebuild-mini-metrics,.history-rebuild-device-meta{display:grid}.history-rebuild-toolbar-row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.history-rebuild-time-shell{padding:16px 20px 18px}.history-rebuild-time-block{gap:10px;display:grid}.history-rebuild-time-block h2,.history-rebuild-time-presets strong{color:var(--heading);margin:0;font-size:16px;line-height:1.2}.history-rebuild-time-presets strong{z-index:1;background:#fffffff5;justify-self:start;padding-right:10px;text-decoration:none;display:inline-block;position:relative}.history-rebuild-timebar{grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);align-items:start;gap:20px}.history-rebuild-time-inputs{grid-template-columns:repeat(2,minmax(0,.86fr));gap:14px;display:grid}.history-rebuild-time-presets{align-content:start;gap:12px;padding:12px 10px 0;display:grid}.history-rebuild-time-presets .history-rebuild-toolbar-row{flex-wrap:nowrap;gap:8px}.history-rebuild-time-presets .data-mode-btn{white-space:nowrap;padding-inline:14px}.history-rebuild-field{gap:10px;display:grid}.history-rebuild-field>span{color:var(--muted);font-size:13px;font-weight:700}.history-rebuild-time-shell .history-datetime-control input{border-radius:18px;min-height:42px;padding:0 12px;font-size:16px}.history-rebuild-time-shell .history-datetime-control{grid-template-columns:minmax(0,1fr) 74px;gap:10px}.history-datetime-confirm-btn{min-height:40px;color:var(--heading);cursor:pointer;background:#fffffff5;border:1px solid #0b5b4f29;border-radius:12px;padding:0 8px;font-size:12px;font-weight:700}.history-datetime-confirm-btn.standalone{letter-spacing:.02em;background:#fffffffa;border:1px solid #11251f2e;border-radius:18px;min-height:42px;padding:0 10px;font-size:15px;font-weight:800}.history-datetime-confirm-btn:hover{transform:translateY(-1px)}.history-rebuild-grid{grid-template-columns:minmax(300px,.9fr) minmax(300px,1.1fr);gap:18px}.history-rebuild-layout{grid-template-columns:340px minmax(0,1fr);align-items:start;gap:18px;display:grid}.history-single-device-page .history-rebuild-layout,.history-clean-customer-page .history-rebuild-layout{grid-template-columns:minmax(0,1fr)}.history-clean-customer-device-panel{gap:14px;padding:20px 24px 36px;display:grid}.history-clean-customer-device-list{grid-template-columns:repeat(auto-fit,minmax(260px,360px))}.history-clean-customer-device-list .history-rebuild-device-card{min-height:132px}.history-single-device-back-btn{place-self:start end;margin-top:4px}.history-rebuild-filter-bar{gap:14px;padding:20px 24px 18px;display:grid}.history-rebuild-filter-row{grid-template-columns:repeat(4,minmax(0,1fr));align-items:center;gap:14px;display:grid}.history-rebuild-inline-field{grid-template-columns:auto auto;justify-content:start;align-items:center;gap:6px;min-width:0;display:grid}.history-rebuild-inline-field span{color:var(--heading);white-space:nowrap;font-size:14px;font-weight:700}.history-rebuild-inline-field select{border:1px solid var(--line);width:clamp(148px,11vw,172px);min-width:148px;min-height:42px;color:var(--heading);background:#fffffff5;border-radius:14px;padding:0 10px;font-size:13px}.history-rebuild-sidebar,.history-rebuild-main{gap:18px;min-width:0;display:grid}.history-rebuild-selected-list,.history-rebuild-device-list,.history-rebuild-chart-stack,.history-rebuild-mini-metrics,.history-rebuild-device-meta{gap:14px}.history-rebuild-selected-card,.history-rebuild-device-card,.history-rebuild-chart-card{border:1px solid var(--line-soft);box-shadow:var(--shadow-soft);background:#ffffffd1;border-radius:20px}.history-rebuild-selected-card,.history-rebuild-device-card{padding:12px 14px}.history-rebuild-selected-head,.history-rebuild-chart-head,.history-rebuild-device-check{justify-content:space-between;align-items:start;gap:10px;display:flex}.history-rebuild-selected-card strong,.history-rebuild-device-card strong,.history-rebuild-chart-card strong{color:var(--heading);font-size:16px;line-height:1.2}.history-rebuild-selected-card p,.history-rebuild-device-card p,.history-rebuild-chart-card p{color:var(--muted);margin:6px 0 0;line-height:1.55}.history-rebuild-mini-metrics{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:12px}.history-rebuild-mini-metrics span,.history-rebuild-device-meta span{color:var(--heading);font-size:13px;line-height:1.35}.history-rebuild-device-list{grid-template-columns:repeat(3,minmax(0,1fr));max-height:420px;padding-right:4px;overflow-y:auto}.history-rebuild-device-card{cursor:pointer;gap:8px;display:grid}.history-rebuild-device-card.is-selected{background:#eff8f5e0;border-color:#0b5b4f3d}.history-rebuild-device-check{justify-content:start}.history-rebuild-device-check input{margin-top:2px}.history-rebuild-device-meta{gap:4px;display:grid}.history-device-chart-card{background:#ffffffeb;border:1px solid #122e2614;border-radius:24px;padding:10px 16px 2px;position:relative;box-shadow:0 16px 32px #14282214}.history-device-chart-top{gap:0;display:grid}.history-device-chart-title-row{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.history-device-chart-title-meta{flex:auto;align-items:center;gap:18px;min-width:0;display:flex}.history-device-chart-title-row strong{color:var(--heading);white-space:nowrap;font-size:18px;line-height:1.2}.history-device-chart-legend{color:#43545ef5;white-space:nowrap;flex-wrap:nowrap;align-items:center;gap:12px;font-size:13px;font-weight:700;display:flex}.history-device-chart-legend span{align-items:center;gap:6px;display:inline-flex}.history-device-chart-legend i{border-radius:999px;width:12px;height:12px;display:inline-block}.history-device-chart-legend .axis-x{background:#11807b}.history-device-chart-legend .axis-y{background:#d36821}.history-device-chart-legend .axis-temp{background:#1d2433;border:3px solid #1d243329}.history-device-chart-legend .axis-time{background:#55637d;border:3px solid #55637d2e}.history-device-chart-metrics{flex-wrap:nowrap;justify-content:flex-end;align-items:baseline;gap:16px;margin-top:-6px;margin-left:auto;display:flex}.history-device-chart-metrics span{white-space:nowrap;font-weight:800}.history-device-chart-metrics .metric-x{color:#11807b;font-size:22px}.history-device-chart-metrics .metric-y{color:#d36821;font-size:22px}.history-device-chart-metrics .metric-temp{color:#1d2433;font-size:22px}.history-device-chart-metrics .metric-time{color:#4f6077;font-size:14px}.history-device-chart-svg{width:100%;min-height:188px;margin-top:0;overflow:visible}.history-device-chart-actions{justify-content:flex-end;display:flex;position:absolute;bottom:8px;right:28px}.history-device-chart-download-btn{min-height:34px;padding:0 14px;font-size:14px;line-height:1}.history-chart-grid-line{stroke:#43545e24;stroke-width:1.3px;stroke-dasharray:8 12}.history-chart-axis-line{stroke-width:3px;transition:opacity .18s}.history-chart-axis-line.x-axis-line{stroke:#11807b}.history-chart-axis-line.y-axis-line{stroke:#d36821}.history-chart-axis-line.temp-axis-line{stroke:#1d2433}.history-chart-zero-line{stroke:#515e6c70;stroke-width:2px}.history-chart-time-line{stroke:#43545e2e;stroke-width:1.2px;stroke-dasharray:6 12}.history-chart-axis-label{font-size:12px;font-weight:700}.history-chart-axis-label.x-axis-label{fill:#11807b}.history-chart-axis-label.y-axis-label{fill:#d36821}.history-chart-axis-label.temp-axis-label{fill:#1d2433}.history-chart-axis-label.is-muted,.history-chart-axis-line.is-muted{opacity:.28}.history-chart-axis-toggle{cursor:pointer}.history-chart-axis-hit{stroke:#0000;stroke-width:18px}.history-chart-time-label{fill:#314357;font-size:12px;font-weight:700}.history-chart-line{fill:none;stroke-width:3.2px;stroke-linecap:round;stroke-linejoin:round}.history-chart-line-x{stroke:#11807bdb}.history-chart-line-y{stroke:#d36821db}.history-chart-line-temp{stroke:#1d2433eb}.history-chart-point{stroke:#fffffffa;stroke-width:2.4px}.history-chart-point-active{stroke-width:3.2px}.history-chart-point-x{fill:#11807b}.history-chart-point-y{fill:#d36821}.history-chart-point-temp{fill:#1d2433}.history-rebuild-table-wrap{margin-top:18px;overflow-x:auto}.history-rebuild-result-header{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:14px;display:grid}.history-result-download-btn{min-height:40px;padding:0 18px;font-size:15px}.history-rebuild-table-caption{color:var(--muted);text-align:left;margin-bottom:10px}.history-rebuild-table th,.history-rebuild-table td{white-space:nowrap}@media (width<=980px){.history-rebuild-modebar,.history-rebuild-timebar,.history-rebuild-time-shell,.history-rebuild-layout{grid-template-columns:1fr}.history-rebuild-modebar{padding:22px 20px 24px}.history-rebuild-time-inputs{grid-template-columns:1fr}}@media (width<=1280px){.history-clean-hero,.history-clean-top-grid,.history-clean-timebar{grid-template-columns:1fr}.history-clean-summary,.history-clean-actions{justify-content:flex-start}.history-clean-device-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.history-rebuild-hero,.history-rebuild-grid,.history-rebuild-layout{grid-template-columns:1fr}}@media (width<=820px){.history-clean-device-grid{grid-template-columns:1fr}.history-rebuild-filter-row{grid-template-columns:repeat(2,minmax(0,1fr))}.history-rebuild-inline-field{grid-template-columns:1fr;gap:6px}.history-rebuild-device-list,.history-rebuild-mini-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.history-rebuild-result-header{grid-template-columns:1fr;align-items:start}}@media (width<=640px){.history-rebuild-filter-row,.history-rebuild-device-list,.history-rebuild-mini-metrics,.history-single-device-page .history-rebuild-hero{grid-template-columns:1fr}.history-single-device-back-btn{justify-self:start}}.history-sync-line{stroke:#0f766e57;stroke-width:1.5px;stroke-dasharray:6 6}.history-active-point{fill:#fff;stroke-width:3px;pointer-events:none}.history-active-point-x{stroke:#0f766e}.history-active-point-y{stroke:#d97706}.history-active-point-temperature{stroke:#1f2937}.history-chart-svg{cursor:crosshair;margin-top:12px}.history-multi-chart-header{z-index:1;flex-wrap:nowrap;align-items:start;margin-bottom:-30px;position:relative}.history-multi-chart-title-row{white-space:nowrap;flex-wrap:nowrap;align-items:center;gap:12px 18px;display:flex}.history-inline-legend{color:var(--muted);white-space:nowrap;flex-wrap:nowrap;gap:12px;font-size:13px;font-weight:700;display:flex}.history-inline-legend span{align-items:center;gap:8px;display:inline-flex}.history-time-dot{background:#334155;border-radius:999px;width:12px;height:12px;box-shadow:0 0 0 4px #33415524}.history-temperature-dot{background:#111827;border-radius:999px;width:12px;height:12px;box-shadow:0 0 0 4px #0f172a1f}.history-multi-chart-metrics{white-space:nowrap;flex-wrap:nowrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.history-multi-chart-metrics strong,.history-multi-chart-metrics span{color:#526471;white-space:nowrap;align-items:center;font-size:14px;font-weight:700;display:inline-flex}.history-multi-chart-metrics strong{letter-spacing:-.03em;font-size:24px;line-height:1}.history-multi-chart-metrics strong:first-child{color:#1a8a82}.history-multi-chart-metrics strong:nth-child(2){color:#d46a3a}.history-multi-chart-metrics strong:nth-child(3){color:#334155}.history-chart-baseline{stroke:#43545e66;stroke-width:2.4px}.history-merged-table-wrap{overflow-anchor:none;max-height:72vh;overflow:auto}.history-table-syncbar{z-index:4;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#f8faf9f5;border:1px solid #0b5b4f1f;border-radius:16px;flex-wrap:wrap;align-items:center;gap:8px 12px;margin-bottom:10px;padding:12px;display:flex;position:sticky;top:0}.history-table-syncbar span{color:var(--muted);font-size:12px;font-weight:700}.history-table-syncbar strong{background:#ffffffe0;border:1px solid #0b5b4f1f;border-radius:999px;align-items:center;min-height:32px;padding:0 12px;display:inline-flex}.history-table-syncbar .secondary-btn,.history-table-syncbar .ghost-btn{min-height:32px}.history-merged-table-caption{caption-side:top;color:var(--muted);text-align:left;padding-bottom:10px;font-size:13px}.history-merged-table thead th{z-index:2;background:#f8faf9fa;position:sticky;top:0}.history-merged-table th,.history-merged-table td{white-space:nowrap}.history-merged-table tbody tr{cursor:pointer;transition:background .16s}.history-merged-table tbody tr:hover td{background:#0f766e0d}.history-merged-table tbody tr.is-sync-active td{color:var(--heading);background:#0f766e1f;font-weight:700}.history-merged-table th:first-child,.history-merged-table td:first-child{z-index:1;background:#f8faf9fa;position:sticky;left:0;box-shadow:6px 0 10px #11251f0a}.history-merged-table thead th:first-child{z-index:3}.history-merged-table tbody tr.is-sync-active td:first-child{background:#def5effa}.history-device-list,.history-health-list{gap:14px;margin-top:24px;display:grid}.history-device-card{border-radius:22px;padding:18px 20px}.history-device-card-head,.history-device-actions{justify-content:space-between;align-items:center;gap:14px;display:flex}.history-device-card-head p,.history-health-item p{color:var(--muted);margin:6px 0 0;line-height:1.6}.history-device-meta{flex-wrap:wrap;gap:10px;margin-top:14px;display:flex}.history-device-meta span,.history-device-badge{border-radius:999px;align-items:center;min-height:32px;padding:0 12px;font-size:12px;font-weight:700;display:inline-flex}.history-device-meta span{border:1px solid var(--line-soft);color:var(--heading);background:#ffffffc2}.history-device-badge.is-online{color:#0f766e;background:#0f766e1f}.history-device-badge.is-low-power{color:#b45309;background:#c2610b1f}.history-device-actions{justify-content:flex-end;margin-top:16px}.history-health-list{grid-template-columns:repeat(3,minmax(0,1fr))}.history-health-item{border-radius:22px;gap:8px;padding:20px;display:grid}.history-health-item span{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;font-size:12px;font-weight:700}.history-health-item strong{font-size:34px;line-height:1}.history-table-panel{margin-top:24px}.stat-card span{color:var(--muted)}.stat-card strong{margin-top:12px;font-size:34px}.event-list{gap:14px;margin-top:24px}.event-item{grid-template-columns:auto 1fr;align-items:start;gap:14px}.level-tag{border-radius:999px;justify-content:center;align-items:center;min-width:64px;height:32px;display:inline-flex}.module-list{gap:12px;list-style:none;display:grid}.heat-list{gap:12px;margin-top:24px;display:grid}.heat-row{background:#ffffffb8;border-radius:18px;grid-template-columns:1fr auto auto;align-items:center;gap:12px;display:grid}.heat-row strong{color:var(--heading);font-size:28px}.table-wrap{margin-top:18px;overflow:hidden visible}.inclinometer-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:end;gap:16px;display:flex}.data-mode-group{flex-wrap:wrap;gap:10px;display:flex}.data-mode-btn{border:1px solid var(--line);min-height:42px;color:var(--heading);font:inherit;cursor:pointer;background:#ffffffb8;border-radius:999px;padding:0 18px}.data-mode-btn.active{color:#fff;background:linear-gradient(135deg,#0b5b4f,#18775d);border-color:#0000}.unit-select{gap:8px;min-width:140px;display:grid}.unit-select span{color:var(--muted);font-size:13px}.unit-select select,.binding-form select{border:1px solid var(--line);width:100%;min-height:46px;color:var(--heading);font:inherit;background:#f8faf9f0;border-radius:14px;padding:0 14px}.table-row-actions{flex-wrap:wrap;gap:8px;display:flex}.device-list-table td,.device-list-table th{white-space:nowrap;font-size:14px}.device-select-col{text-align:center;width:50px;position:relative}.device-actions-col{text-align:right;width:96px;position:relative;overflow:visible}.device-list-table{table-layout:fixed}.device-list-table-project th:nth-child(2),.device-list-table-project td:nth-child(2),.device-list-table-project th:nth-child(3),.device-list-table-project td:nth-child(3),.device-list-table-project th:nth-child(4),.device-list-table-project td:nth-child(4){width:120px}.device-list-table-project th:nth-child(5),.device-list-table-project td:nth-child(5),.device-list-table-project th:nth-child(6),.device-list-table-project td:nth-child(6),.device-list-table-project th:nth-child(7),.device-list-table-project td:nth-child(7){width:76px}.device-list-table-project th:nth-child(8),.device-list-table-project td:nth-child(8){width:88px}.device-list-table-project th:nth-child(9),.device-list-table-project td:nth-child(9){width:84px}.device-list-table-project th:nth-child(10),.device-list-table-project td:nth-child(10){width:96px}.device-list-table-number th:nth-child(2),.device-list-table-number td:nth-child(2){width:220px}.device-list-table-number th:nth-child(3),.device-list-table-number td:nth-child(3),.device-list-table-number th:nth-child(4),.device-list-table-number td:nth-child(4),.device-list-table-number th:nth-child(5),.device-list-table-number td:nth-child(5),.device-list-table-number th:nth-child(6),.device-list-table-number td:nth-child(6),.device-list-table-number th:nth-child(7),.device-list-table-number td:nth-child(7),.device-list-table-number th:nth-child(8),.device-list-table-number td:nth-child(8),.device-list-table-number th:nth-child(9),.device-list-table-number td:nth-child(9){width:96px}.device-list-table-project.is-hovering-col-2 th:nth-child(2),.device-list-table-project.is-hovering-col-2 td:nth-child(2){width:var(--device-col-2-expanded,300px)}.device-list-table-project.is-hovering-col-3 th:nth-child(3),.device-list-table-project.is-hovering-col-3 td:nth-child(3){width:var(--device-col-3-expanded,180px)}.device-list-table-project.is-hovering-col-4 th:nth-child(4),.device-list-table-project.is-hovering-col-4 td:nth-child(4){width:var(--device-col-4-expanded,180px)}.device-list-table-number.is-hovering-col-2 th:nth-child(2),.device-list-table-number.is-hovering-col-2 td:nth-child(2){width:var(--device-col-2-expanded,300px)}.device-list-table-number.is-hovering-col-3 th:nth-child(3),.device-list-table-number.is-hovering-col-3 td:nth-child(3){width:var(--device-col-3-expanded,320px)}.device-select-trigger{cursor:pointer;background:#ffffffe6;border:3px solid #0b5b4f5c;border-radius:999px;width:20px;height:20px;transition:border-color .2s,background .2s,transform .2s}.device-select-trigger:hover{border-color:#0b5b4fad;transform:scale(1.05)}.device-select-trigger.active{background:radial-gradient(circle,#0b5b4f 0 45%,#0000 46% 100%),#fffffff5;border-color:#0b5b4f}.device-row-selected{z-index:2;background:#0b5b4f0a;position:relative}.device-cell-text{max-width:100%;position:relative;overflow:visible}.device-cell-text>span{text-overflow:ellipsis;white-space:nowrap;max-width:100%;display:block;overflow:hidden}.device-cell-text.align-right>span{margin-left:auto}.device-expand-cell{position:relative;overflow:visible}.device-expand-cell:hover{z-index:3}.device-status-cell{align-items:center;gap:10px;min-width:0;display:flex}.device-status-dot{border-radius:999px;flex:none;width:10px;height:10px}.device-status-dot-normal{background:#1b1b1b}.device-status-dot-warning{background:#c19a09}.device-status-dot-alert{background:#c23333}.device-status-dot-offline{background:#9ca4a0}.device-metric-value{font-weight:600}.device-metric-value-normal{color:#1b1b1b}.device-metric-value-warning{color:#b28600}.device-metric-value-alert{color:#b62b2b}.device-metric-value-offline{color:#9ca4a0}.device-metric-value-stable{color:#2e6f8e}.device-action-popover{z-index:6;background:#fffffff5;border:1px solid #11251f1f;border-radius:18px;gap:8px;width:214px;padding:8px;display:grid;position:absolute;top:8px;right:calc(100% - 12px);transform:none;box-shadow:0 18px 36px #11251f1f}.device-actions-placeholder{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;text-align:right;width:56px;font-size:13px;display:inline-block;overflow:hidden}.device-list-mode-row{margin-top:18px}table{border-collapse:collapse;width:100%}th,td{text-align:left;border-bottom:1px solid var(--line-soft);vertical-align:top;padding:12px 10px}th{color:var(--muted);font-size:13px}td{color:var(--heading);font-size:14px}.table-status{border-radius:999px;justify-content:center;align-items:center;min-width:64px;padding:8px 12px;display:inline-flex}.login-shell{place-items:center;min-height:100vh;padding:24px;display:grid}.login-panel{background:#ffffffe0;border-radius:30px;grid-template-columns:1fr 420px;gap:0;width:min(980px,100%);display:grid;overflow:hidden}.login-copy,.login-form{padding:40px}.login-copy{color:#f2fbf8;background:linear-gradient(145deg,#133a34,#1d594e)}.login-copy p{line-height:1.8}.login-form{align-content:center;gap:16px;display:grid}.login-form label{gap:8px;display:grid}.login-form span{color:var(--muted);font-size:14px}.login-form input,.login-form select{border:1px solid var(--line);width:100%;min-height:46px;color:var(--heading);font:inherit;background:#f8faf9f0;border-radius:14px;padding:0 14px}.split-login-shell{background:radial-gradient(circle at 0 0,#184e4329,#0000 34%),linear-gradient(145deg,#edf5f2 0%,#f7fbf9 56%,#eaf1ee 100%)}.split-login-panel{background:#fbfcfc;border-radius:40px;grid-template-columns:minmax(0,1.36fr) minmax(420px,.64fr);width:min(1468px,100vw - 56px);min-height:min(640px,100vh - 56px);display:grid;overflow:hidden;box-shadow:0 26px 70px #223d3726}.split-login-brand{background:#164f43;place-items:center;min-height:100%;padding:56px;display:grid}.split-login-brand h1{color:#effff9;text-align:center;margin:0;font-size:clamp(42px,4.5vw,76px);font-weight:800;line-height:1.05}.split-login-form{place-self:center;gap:28px;width:min(510px,100% - 72px);padding:0}.split-login-form label{gap:14px}.split-login-form span{color:#40615b;font-size:21px}.split-login-form input,.split-login-form select{color:#05241f;background:#fbfcfc;border-color:#d9e3df;border-radius:20px;min-height:70px;padding:0 22px;font-size:24px}.login-memory-row{justify-content:space-between;align-items:center;gap:16px;margin-top:-8px;display:flex}.login-memory-check{white-space:nowrap;align-items:center;grid-template-columns:none!important;gap:10px!important;display:inline-flex!important}.login-memory-check input{accent-color:#117762;width:18px;min-height:18px;padding:0}.login-memory-check span{color:#31564f;font-size:16px}.login-memory-actions{justify-content:flex-end;gap:10px;display:flex}.login-memory-actions button{color:#0d493f;min-height:34px;font:inherit;cursor:pointer;background:#fbfcfc;border:1px solid #d2e2dd;border-radius:999px;padding:0 12px;font-size:14px}.login-memory-actions button:disabled{cursor:not-allowed;opacity:.42}.split-login-form .login-btn{border-radius:999px;width:100%;min-height:68px;font-size:24px;font-weight:700}.split-login-form .secondary-btn{color:#0d493f;box-shadow:none;background:#fbfcfc;border:1px solid #d2e2dd}.split-login-form .back-link{color:#006253;justify-self:center;font-size:24px;text-decoration:none}@media (width<=920px){.split-login-panel{border-radius:28px;grid-template-columns:1fr;width:min(560px,100vw - 32px);min-height:auto}.split-login-brand{min-height:220px;padding:36px 24px}.split-login-form{width:100%;padding:34px 24px 38px}.login-memory-row{flex-direction:column;align-items:flex-start}}.binding-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 20px;margin-top:24px;display:grid}.binding-panel-compact .panel-heading{gap:8px}.binding-panel-compact{padding:20px 20px 14px}.device-onboarding-page .page-header{margin-bottom:10px}.device-onboarding-page .page-header h2{line-height:1.02}.binding-panel-compact .panel-kicker{margin-bottom:4px}.binding-panel-compact h2{line-height:1.05}.binding-panel-compact .tab-row{gap:8px;margin-top:12px}.binding-panel-compact .tab-btn{min-height:38px;padding:0 14px}.binding-form.binding-form-compact{row-gap:16px;margin-top:14px}.binding-form label{gap:6px;display:grid}.binding-form.binding-form-compact label{gap:4px}.binding-form span,.preview-grid span{color:var(--muted);font-size:18px;font-weight:600;line-height:1.4}.binding-form.binding-form-compact span{line-height:1.2}.binding-form input{border:1px solid var(--line);width:100%;min-height:38px;color:var(--heading);font:inherit;background:#f8faf9f0;border-radius:14px;padding:0 14px}.binding-form.binding-form-compact input{min-height:34px;padding:0 12px}.readonly-form-field{gap:4px;display:grid}.readonly-form-field span{color:var(--muted);font-size:18px;font-weight:600;line-height:1.2}.readonly-form-field strong{border:1px solid var(--line);min-height:34px;color:var(--heading);font:inherit;background:#f1f6f4c7;border-radius:14px;align-items:center;padding:0 12px;font-weight:600;display:flex}.address-location-form{margin-top:18px}.address-location-action{grid-column:1/-1;justify-content:space-between;align-items:center;gap:12px;padding:4px 0;display:flex}.address-location-action span{color:var(--muted);font-size:14px}.address-location-action .primary-btn{min-width:108px}.address-location-summary{border:1px solid var(--line-soft);background:#f1f6f4b8;border-radius:16px;grid-column:1/-1;gap:10px;padding:14px;display:grid}.address-location-summary strong{color:var(--heading)}.address-location-summary p{color:var(--muted);margin:0;line-height:1.6}.form-hint{color:var(--muted);margin:0;font-size:14px;line-height:1.5}.binding-form.binding-form-compact .form-hint{line-height:1.25}.form-hint-error{color:#a63a2f}.login-btn{width:100%;margin-top:8px}.compact{max-width:none;margin-top:14px}.scenario-input-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:24px;display:grid}.scenario-input-card{border:1px solid var(--line-soft);background:#ffffffb8;border-radius:20px;padding:18px}.scenario-input-card h3{color:var(--heading);margin:0}.scenario-input-card p{color:var(--muted);margin:12px 0 0;line-height:1.75}.compact-list{margin-top:14px}.status-box{border:1px solid var(--line-soft);background:#ffffffb8;border-radius:18px;margin-top:24px;padding:18px}.status-box strong{color:var(--heading)}.status-box p{color:var(--muted);margin:10px 0 0}.status-ok{background:#1b825d14;border-color:#1b825d29}.status-error{background:#b1252514;border-color:#b1252529}.preview-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:24px;display:grid}.preview-grid div{border:1px solid var(--line-soft);background:#ffffffb8;border-radius:18px;padding:16px}.preview-grid strong{color:var(--heading);margin-top:8px;display:block}.device-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:20px;display:grid}.device-summary-card{align-content:space-between;gap:12px;min-height:150px;padding:18px 20px;display:grid}.device-summary-main{justify-content:space-between;align-items:baseline;gap:20px;display:flex}.device-summary-main h3{margin:0;font-size:18px;line-height:1.2}.device-summary-main p{color:#4b665f;margin:0;font-size:22px;font-weight:500;line-height:1}.device-summary-subset{gap:8px;display:grid}.device-summary-subset strong{color:var(--heading);margin:0;font-size:16px;display:block}.device-summary-subset span{color:var(--heading);font-size:16px;line-height:1.35}.tab-row{gap:12px;margin-top:20px;display:flex}.tab-btn{border:1px solid var(--line);min-height:42px;color:var(--heading);font:inherit;cursor:pointer;background:#ffffffb8;border-radius:999px;padding:0 16px}.tab-btn.active{color:var(--brand);background:#0b5b4f1f;border-color:#0b5b4f38}.trigger-toolbar{align-items:end;gap:14px;margin-top:20px;display:flex}.trigger-add{gap:8px;min-width:240px;display:grid}.trigger-add span,.trigger-rule-summary{color:var(--muted)}.trigger-add select{border:1px solid var(--line);min-height:46px;color:var(--heading);font:inherit;background:#f8faf9f0;border-radius:14px;padding:0 14px}.dropdown-editor{grid-template-columns:minmax(0,1fr);align-items:center;gap:2px;display:grid}.binding-panel-compact .dropdown-editor{gap:0}.dropdown-editor select{border:1px solid var(--line);width:100%;min-height:44px;color:var(--heading);font:inherit;background:#f8faf9f0;border-radius:12px;padding:0 12px}.binding-panel-compact .dropdown-editor select{min-height:38px;padding:0 12px}.dropdown-action-row{flex-wrap:wrap;gap:8px;margin-top:-18px;display:flex}.binding-panel-compact .dropdown-action-row{gap:6px;margin-top:-12px}.binding-form.binding-form-compact>label:last-child,.binding-form.binding-form-compact>label:nth-last-child(2){margin-bottom:-4px}.mini-outline-btn{border:1px solid var(--line);min-height:42px;color:var(--heading);font:inherit;white-space:nowrap;cursor:pointer;background:#ffffffb8;border-radius:12px;padding:0 12px}.mini-outline-btn.compact{border-radius:10px;min-height:28px;padding:0 8px;font-size:12px;line-height:1}.binding-panel-compact .mini-outline-btn.compact{min-height:24px;padding:0 7px}.mini-outline-btn:disabled{cursor:not-allowed;opacity:.55}.field-hint{color:var(--muted);margin:8px 2px 0;font-size:13px;line-height:1.6}.trigger-rule-list{gap:16px;margin-top:20px;display:grid}.trigger-rule-card{border:1px solid var(--line-soft);background:#ffffffb8;border-radius:20px;padding:18px}.trigger-rule-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.trigger-rule-head strong{color:var(--heading)}.compact-form{margin-top:14px}.trigger-rule-summary{margin:14px 0 0;line-height:1.7}.two-column-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.map-overview-board{border:1px solid var(--line-soft);background:radial-gradient(circle at 20% 18%,#0b5b4f2e,#0000 18%),radial-gradient(circle at 74% 30%,#1d8f6c1f,#0000 22%),radial-gradient(circle at 60% 70%,#e1a6361f,#0000 18%),linear-gradient(#eff6f3fa,#dfece5fa);border-radius:28px;min-height:480px;margin-top:24px;position:relative;overflow:hidden}.map-grid-lines{background-image:linear-gradient(#133a3414 1px,#0000 1px),linear-gradient(90deg,#133a3414 1px,#0000 1px);background-size:64px 64px;position:absolute;inset:0}.map-point{color:#fff;cursor:pointer;z-index:2;background:linear-gradient(135deg,#0b5b4f,#18775d);border:2px solid #fffffff2;border-radius:999px;place-items:center;width:42px;height:42px;margin-top:-21px;margin-left:-21px;font-weight:700;display:grid;position:absolute;box-shadow:0 16px 28px #0b5b4f3d}.map-point.active{background:linear-gradient(135deg,#b96f18,#d48a2e);transform:scale(1.08)}.map-point span{letter-spacing:.08em;font-size:12px}.amap-shell{border:1px solid var(--line-soft);background:#eff6f3fa;border-radius:28px;margin-top:24px;overflow:hidden}.amap-canvas{width:100%;min-height:520px}.fallback-map-shell{position:relative}.fallback-map-canvas{background-color:#e7f1ee;background-image:linear-gradient(90deg,#245b4d0f 1px,#0000 1px),linear-gradient(#245b4d0f 1px,#0000 1px),none;background-position:0 0,0 0,0 0;background-repeat:repeat,repeat,repeat;background-size:48px 48px;background-attachment:scroll,scroll,scroll;background-origin:padding-box,padding-box,padding-box;background-clip:border-box,border-box,border-box;min-height:520px;position:relative;overflow:hidden}.fallback-map-tiles{opacity:.96;position:absolute;inset:0}.fallback-map-tiles img{-webkit-user-select:none;user-select:none;width:256px;max-width:none;height:256px;position:absolute;transform:translateZ(0)}.fallback-map-marker{z-index:2;cursor:pointer;border:3px solid #fffffffa;place-items:center;padding:0;display:grid;position:absolute;transform:translate(-50%,-50%)}.fallback-map-marker.is-selected{transform:translate(-50%,-50%)scale(1.16)}.fallback-map-marker span{color:#143c34;text-overflow:ellipsis;white-space:nowrap;background:#fffffff0;border-radius:999px;max-width:180px;padding:4px 8px;font-size:12px;line-height:1.35;position:absolute;top:calc(100% + 8px);left:50%;overflow:hidden;transform:translate(-50%);box-shadow:0 10px 22px #11251f29}.fallback-map-notice{z-index:3;color:#31564f;background:#ffffffeb;border:1px solid #105b4c29;border-radius:14px;gap:4px;max-width:min(520px,100% - 36px);padding:10px 14px;font-size:12px;display:grid;position:absolute;bottom:18px;left:18px;box-shadow:0 16px 32px #11251f24}.fallback-map-notice strong{color:#0d493f;font-size:13px}.amap-canvas .amap-container,.amap-canvas .amap-maps,.amap-canvas .amap-layers,.amap-canvas canvas,.amap-canvas img{max-width:none!important}.amap-canvas .amap-container,.amap-canvas .amap-maps,.amap-canvas .amap-layers{width:100%!important;height:100%!important}.amap-canvas canvas,.amap-canvas img{display:block}.device-map-marker{border:3px solid #fffffffa;border-radius:999px;width:20px;height:20px;position:relative;box-shadow:0 12px 20px #11251f29,0 0 0 6px #ffffff2e}.device-map-marker:after{content:"";opacity:.14;filter:blur(4px);pointer-events:none;background:currentColor;border-radius:999px;width:34px;height:34px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.device-map-marker.is-selected{transform:scale(1.16);box-shadow:0 0 0 10px #0f766e24,0 16px 28px #11251f38}.device-map-marker-normal{color:#1f9d55;background:#1f9d55}.device-map-marker-warning{color:#d8a319;background:#d8a319}.device-map-marker-alert{color:#d13b3b;background:#d13b3b;box-shadow:0 0 0 8px #d13b3b24,0 14px 22px #11251f33}.device-map-marker-offline{color:#95a29d;background:#95a29d}.back-link{color:var(--brand);text-align:center}.snake-layout{grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);gap:24px;display:grid}.snake-panel,.snake-side-panel{gap:24px;display:grid}.snake-page-actions{align-content:start}.snake-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.snake-board{aspect-ratio:1;border:1px solid var(--line-soft);background:linear-gradient(#f8fbf9f5,#ecf3eff5);border-radius:24px;gap:6px;width:min(100%,560px);padding:12px;display:grid}.snake-cell{background:#0b5b4f0f;border:1px solid #0b5b4f0a;border-radius:8px}.snake-cell-body{background:#0b5b4fb8;border-color:#0b5b4f33}.snake-cell-head{background:#0b5b4f;box-shadow:inset 0 0 0 2px #fff3}.snake-cell-food{background:#c26d2a;border-color:#c26d2a38}.snake-hint{color:var(--muted);margin:0}.snake-control-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.snake-control-btn{min-height:56px}.snake-control-up,.snake-control-down{grid-column:1/-1}.map-workbench-shell{min-height:calc(100vh - 124px)}.map-overview-page{grid-template-rows:auto auto minmax(0,1fr);gap:10px;display:grid}.map-overview-header{background:linear-gradient(#f5f9f7f5,#eff6f3eb),#ffffffb3;align-items:center;padding:8px 10px}.map-overview-header .eyebrow{color:#1d6b5d;margin-bottom:6px}.map-overview-header h2{letter-spacing:.01em;font-size:clamp(24px,3vw,34px);line-height:1.08}.map-overview-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.map-preview-banner{background:radial-gradient(circle at 100% 0,#0f766e1f,#0000 38%),#ffffffd1}.map-summary-card{background:linear-gradient(#fffffffa,#f7faf8f0);border:1px solid #11251f14;border-radius:16px;gap:6px;padding:10px 12px;display:grid;box-shadow:0 18px 36px #11251f0f,inset 0 1px #ffffffd1}.map-summary-card span{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;font-size:11px;font-weight:700}.map-summary-card strong{color:var(--heading);font-variant-numeric:tabular-nums;font-size:clamp(20px,2vw,28px);line-height:1}.map-summary-card p{color:var(--muted);margin:0;font-size:11px;line-height:1.2}.map-workbench{grid-template-columns:minmax(0,1fr) 360px;align-items:stretch;gap:10px;display:grid}.map-overview-workbench{--map-overview-workbench-height:100svh;min-height:var(--map-overview-workbench-height);height:var(--map-overview-workbench-height);max-height:var(--map-overview-workbench-height);grid-template-columns:minmax(0,1fr) 220px;align-items:stretch}.map-workbench-main,.map-workbench-sidebar{height:100%;min-height:0;max-height:100%}.map-workbench-main{grid-template-rows:auto minmax(0,1fr);gap:10px;display:grid}.map-workbench-header{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:16px;display:grid}.map-workbench-header h2{color:var(--heading);margin:0;font-size:34px}.map-overview-main{background:linear-gradient(#fffffff2,#f8fbf9eb);height:100%;padding:8px}.map-overview-main-header{align-items:center;padding:2px 2px 0}.map-overview-main-header h2{font-size:clamp(20px,2.2vw,28px)}.map-workbench-legend{flex-wrap:wrap;justify-content:end;gap:8px;display:flex}.map-legend-item{color:var(--heading);background:#ffffffeb;border:1px solid #11251f14;border-radius:999px;align-items:center;gap:8px;padding:8px 11px;font-size:12px;display:inline-flex}.map-legend-dot{border-radius:999px;flex:none;width:10px;height:10px}.map-legend-dot-normal{background:#1f9d55}.map-legend-dot-warning{background:#d8a319}.map-legend-dot-alert{background:#d13b3b;box-shadow:0 0 0 4px #d13b3b29}.map-legend-dot-offline{background:#95a29d}.map-workbench-canvas{height:100%;min-height:0;position:relative}.map-overview-canvas{border-radius:24px;height:100%;min-height:0;overflow:hidden}.map-workbench-canvas .status-box,.map-workbench-canvas .amap-shell{height:100%;margin-top:0}.map-workbench-canvas .amap-shell,.map-workbench-canvas .amap-canvas,.map-overview-canvas .amap-shell,.map-overview-canvas .amap-canvas{height:100%;min-height:100%}.map-overview-canvas .amap-shell{border:1px solid #11251f14;border-radius:24px;box-shadow:0 22px 48px #11251f14}.onboarding-map-stack{gap:10px;margin-top:18px;display:grid}.onboarding-map-canvas{height:480px;min-height:480px;margin-top:0;overflow:hidden}.onboarding-map-debug{color:var(--muted);background:#ffffffb8;border:1px dashed #11251f2e;border-radius:12px;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:0 0 10px;padding:8px 10px;font-size:12px;line-height:1.35;display:flex}.onboarding-map-debug span{white-space:nowrap}.onboarding-map-canvas .amap-shell{margin-top:0}.onboarding-map-canvas .amap-shell,.onboarding-map-canvas .amap-canvas{height:480px;min-height:480px}.map-workbench-sidebar{align-content:start;gap:10px;display:grid}.map-overview-sidebar{grid-template-rows:minmax(0,1fr) auto;height:100%;max-height:100%;overflow:hidden}.map-sidebar-panel{background:linear-gradient(#fffffff5,#f8fbf9eb);border-radius:14px;padding:8px}.map-overview-sidebar>.map-sidebar-panel:first-child{min-height:0;height:var(--map-overview-workbench-height);max-height:var(--map-overview-workbench-height);overscroll-behavior:contain;overflow-y:auto}.map-debug-panel{min-height:0;padding-top:12px;padding-bottom:12px}.map-debug-details{gap:14px;display:grid}.map-debug-summary{cursor:pointer;justify-content:space-between;align-items:center;gap:14px;list-style:none;display:flex}.map-debug-summary::-webkit-details-marker{display:none}.map-debug-summary strong{color:var(--heading);font-size:14px}.map-debug-source{color:var(--muted);margin:6px 0 0;font-size:11px}.map-debug-badge{min-width:48px;color:var(--muted);background:#11251f0f;border-radius:999px;justify-content:center;align-items:center;padding:6px 10px;font-size:11px;font-weight:700;display:inline-flex}.map-debug-grid{gap:10px;display:grid}.map-debug-card{background:#f7faf8e0;border:1px solid #11251f14;border-radius:18px;gap:6px;padding:12px 14px;display:grid}.map-debug-card span{color:var(--muted);font-size:11px;font-weight:700}.map-debug-card strong{color:var(--heading);font-size:16px;line-height:1.1}.map-debug-card p{color:var(--text);margin:0;font-size:12px}.map-sidebar-controls{gap:2px;margin-top:6px;display:grid}.map-filter-field{gap:3px;display:grid}.map-filter-field span{color:var(--heading);font-size:13px;font-weight:700}.map-filter-field input,.map-filter-field select{box-sizing:border-box;border:1px solid var(--line);width:100%;min-height:30px;color:var(--heading);font:inherit;background:#f8faf9f0;border-radius:9px;padding:0 9px;font-size:13px;box-shadow:inset 0 1px #fffc}.map-sidebar-actions{grid-auto-flow:row;margin-top:6px}.map-sidebar-actions-compact{margin-top:10px}.map-sidebar-actions .nav-button,.map-sidebar-actions .secondary-btn,.map-sidebar-actions .primary-btn{width:100%}.map-selected-info-block{border-top:1px solid #11251f14;gap:4px;margin-top:6px;padding-top:4px;display:grid}.map-selected-info-block-leading{border-top:0;margin-top:0;margin-bottom:4px;padding-top:0}.map-selected-info-heading h2{font-size:16px}.map-selected-info-list{gap:3px;display:grid}.map-selected-info-item{background:#f7faf8e6;border:1px solid #11251f0f;border-radius:9px;gap:2px;padding:4px 6px;display:grid}.map-selected-info-item span{color:var(--muted);letter-spacing:.04em;font-size:11px;font-weight:700}.map-selected-info-item strong{color:var(--heading);word-break:break-word;font-size:12px;line-height:1.35}.map-selected-info-empty{background:#f7faf8b8;border:1px dashed #11251f24;border-radius:9px;padding:5px 7px}.map-selected-info-empty strong{color:var(--heading);font-size:12px;display:block}.map-selected-info-empty p{color:var(--muted);margin:3px 0 0;font-size:11px;line-height:1.4}.map-pending-list{gap:12px;display:grid}.map-device-list,.map-detail-grid{gap:10px;display:grid}.map-detail-grid-compact{grid-template-columns:repeat(2,minmax(0,1fr))}.map-detail-card{border-radius:16px;padding:13px 14px 12px}.map-detail-card h3{margin-bottom:6px;font-size:13px}.map-detail-card p{word-break:break-word;font-size:13px;line-height:1.35}.map-detail-card-wide{grid-column:1/-1}.map-device-list-item{color:var(--heading);text-align:left;cursor:pointer;background:#ffffffe0;border:1px solid #11251f14;border-radius:16px;gap:4px;padding:12px 14px;transition:transform .16s,border-color .16s,box-shadow .16s,background-color .16s;display:grid}.map-device-list-item:hover{border-color:#0b5b4f2e;transform:translateY(-1px);box-shadow:0 14px 24px #11251f14}.map-device-list-item.is-selected{background:radial-gradient(circle at 100% 0,#0f766e1f,#0000 42%),#ffffffeb;border-color:#0b5b4f42}.map-device-list-item strong{font-size:14px}.map-device-list-item span{color:var(--muted);font-size:12px}.map-pending-card{background:#ffffffe0;border:1px solid #11251f14;border-radius:16px;gap:6px;padding:12px 14px;display:grid}.map-pending-card strong{color:var(--heading)}.map-pending-card p,.map-pending-card span{color:var(--muted);margin:0;font-size:12px}.map-selected-tool-panel{margin-top:4px}.map-selected-warning{background:#d8a3191a;border:1px solid #d8a3192e;border-radius:9px;gap:4px;margin-bottom:4px;padding:4px 6px;display:grid}.map-selected-warning span{color:#8a6500;letter-spacing:.04em;font-size:11px;font-weight:700}.map-selected-warning strong{color:#5d4900;word-break:break-word;font-size:12px;line-height:1.35}.map-selected-tool-panel .device-tool-entry-group{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.map-selected-tool-panel .device-tool-entry{border-radius:12px;min-width:0;min-height:50px;padding:5px 4px}.map-selected-tool-panel .device-tool-entry-icon{width:28px;height:28px}.map-selected-tool-panel .device-tool-entry-label{font-size:11px}.map-selected-tool-panel .device-tool-entry-detail{border-radius:10px;min-height:30px;font-size:14px}.map-selected-info-block+.panel-heading{background:linear-gradient(#fffffffa,#f7faf8f0);border:1px solid #11251f0f;border-radius:10px;margin-top:4px;padding:5px 6px 6px}.map-selected-info-block+.panel-heading h2{font-size:20px;line-height:1.1}.map-selected-info-block+.panel-heading .panel-kicker{margin-bottom:4px}.map-selected-info-block+.panel-heading+.map-sidebar-controls{background:#f8faf9e6;border:1px solid #11251f0f;border-radius:10px;margin-top:6px;padding:3px 4px}.map-selected-info-block+.panel-heading+.map-sidebar-controls .map-filter-field{background:#ffffffc7;border:1px solid #11251f0a;border-radius:9px;padding:3px 4px 0}.map-selected-info-block+.panel-heading+.map-sidebar-controls .map-filter-field:last-child{padding-bottom:3px}.map-selected-info-block+.panel-heading+.map-sidebar-controls .map-filter-field input,.map-selected-info-block+.panel-heading+.map-sidebar-controls .map-filter-field select{background:#fffffff5}.map-selected-info-block+.panel-heading+.map-sidebar-controls+.map-sidebar-actions{margin-top:6px;padding:4px 6px 0}.analytics-shell{gap:22px;display:grid}.history-tool-shell{align-content:start;gap:22px;min-height:calc(100vh - 140px);display:grid;overflow-x:hidden}.history-tool-header{grid-template-columns:minmax(220px,330px) minmax(0,1fr);align-items:start;gap:16px;display:grid}.history-tool-header .panel-kicker{display:none}.history-tool-subtitle{color:var(--muted);margin:10px 0 0}.history-tool-controls{grid-template-columns:repeat(2,minmax(0,1fr));justify-content:start;align-items:start;gap:12px 14px;width:100%;min-width:0;max-width:500px;display:grid}.history-refresh-slot{grid-column:2;justify-content:flex-end;min-height:40px;margin-top:-4px;display:flex}.history-refresh-slot .primary-btn{justify-content:center;min-width:112px;min-height:36px;padding-inline:18px}.history-refresh-slot .primary-btn[data-loading=true]{opacity:1}.history-tool-controls .analytics-select:not(.analytics-select-wide){width:100%;min-width:0}.history-chart-card{gap:14px;min-width:0;overflow:hidden}.history-chart-svg{width:100%;height:auto;min-height:214px;display:block;overflow:hidden}.history-chart-card .realtime-chart-header,.history-chart-card .observation-chart-head-left{flex-wrap:wrap}.history-chart-card .realtime-chart-header>*,.history-chart-card .observation-chart-head-left>*{min-width:0}.history-chart-summary{color:var(--muted);flex-wrap:wrap;gap:18px;font-size:14px;display:flex}.history-table-shell{gap:12px;min-width:0;display:grid}.history-table-window{max-height:248px;overflow:hidden auto}.history-table-window table{table-layout:fixed}.history-table-window th,.history-table-window td{vertical-align:middle;white-space:nowrap;padding:4px 8px;font-size:12px;line-height:1.15}.history-table-window th{z-index:1;background:#f8faf9f5;position:sticky;top:0}.history-table-actions{justify-content:flex-end;display:flex}.history-table-actions .primary-btn{min-height:36px;padding-inline:18px}.analytics-header{grid-template-columns:minmax(0,1fr) minmax(260px,420px);align-items:start;gap:20px;display:grid}.analytics-device-meta{border:1px solid var(--line-soft);color:var(--muted);background:#ffffffad;border-radius:20px;gap:10px;padding:18px;display:grid}.analytics-toolbar{flex-wrap:wrap;align-items:end;gap:14px;display:flex}.analytics-toolbar-compact{justify-content:space-between}.analytics-select{gap:6px;min-width:0;display:grid}.analytics-select-wide{min-width:0}.analytics-select span{color:var(--muted);font-size:13px}.analytics-select select,.analytics-select input{box-sizing:border-box;border:1px solid var(--line);width:100%;min-height:40px;color:var(--heading);font:inherit;background:#f8faf9f0;border-radius:12px;padding:0 12px}.history-datetime-control>input{cursor:pointer}.history-datetime-control{grid-template-columns:minmax(0,1fr) 42px;align-items:center;gap:8px;min-width:0;display:grid;position:relative}.history-datetime-picker-btn{width:42px;min-height:40px;color:var(--heading);font:inherit;cursor:pointer;background:#f8faf9eb;border:1px solid #0b5b4f29;border-radius:12px;justify-content:center;align-items:center;padding:0;font-size:12px;display:inline-flex;position:relative}.history-datetime-picker-btn svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.history-datetime-picker-btn{color:#0000;font-size:0}.history-datetime-picker-btn:before{content:"";border:1.8px solid var(--heading);box-sizing:border-box;border-radius:4px;width:18px;height:18px;display:block;position:relative}.history-datetime-picker-btn:after{content:"";background:var(--heading);width:10px;height:2px;box-shadow:0 -6px 0 var(--heading);border-radius:999px;position:absolute}.history-datetime-picker-btn:hover{transform:translateY(-1px)}.history-datetime-panel{z-index:20;background:#fffffffa;border:1px solid #0b5b4f24;border-radius:18px;gap:12px;width:min(280px,100vw - 48px);padding:14px;display:grid;position:absolute;top:calc(100% + 10px);right:0;box-shadow:0 18px 36px #11251f24}.history-datetime-panel-field{gap:6px;display:grid}.history-datetime-panel-field span{color:var(--muted);font-size:12px}.history-datetime-panel-field input,.history-datetime-panel-field select{border:1px solid var(--line);width:100%;min-height:40px;color:var(--heading);font:inherit;box-sizing:border-box;background:#f8faf9f0;border-radius:12px;padding:0 12px}.history-datetime-panel-actions{justify-content:flex-end;gap:10px;display:flex}.history-datetime-panel-actions .ghost-btn,.history-datetime-panel-actions .primary-btn{min-height:38px;padding-inline:16px}.analytics-chart-stack{gap:16px;display:grid}.analytics-sync-hint{color:var(--muted);background:#e6f4efb8;border:1px solid #18775d29;border-radius:14px;flex-wrap:wrap;align-items:center;gap:10px;padding:10px 14px;display:flex}.analytics-sync-hint strong{color:var(--heading)}.analytics-sync-hint span{font-size:14px}.analytics-chart-card{border:1px solid var(--line-soft);background:#ffffffbd;border-radius:22px;gap:14px;padding:20px;display:grid}.analytics-chart-card-empty{align-content:center;min-height:180px}.analytics-chart-header{justify-content:space-between;align-items:start;gap:16px;display:flex}.analytics-chart-header strong{color:var(--heading);font-size:18px;display:block}.analytics-chart-header span{color:var(--muted)}.analytics-chart-stats{color:var(--muted);flex-wrap:wrap;justify-content:end;gap:10px;font-size:13px;display:flex}.analytics-chart-svg{width:100%;height:auto;overflow:visible}.analytics-chart-axis{stroke:#11251f24;stroke-width:2px}.analytics-chart-grid{stroke:#11251f14;stroke-width:1.5px}.analytics-chart-tick-label{fill:#52635beb;font-size:12px}.analytics-chart-labels{color:var(--muted);grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;font-size:12px;display:grid}.analytics-chart-labels span:nth-child(2){text-align:center}.analytics-chart-labels span:last-child{text-align:right}.analytics-chart-empty{color:var(--muted);margin:0;line-height:1.7}.analytics-stat-grid{margin-top:0}@media (width<=980px){.history-multi-toolbar{grid-template-columns:1fr;gap:14px}.map-overview-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.history-timebar,.history-filter-grid,.history-device-picker-grid{grid-template-columns:1fr}.history-timebar{gap:0}.history-timebar-field{border-bottom:1px solid #11251f14;border-right:0}.history-multi-chart-header,.history-selected-card,.history-device-option,.history-device-group-summary{flex-direction:column;align-items:start}.history-multi-chart-metrics,.history-selected-card-actions{justify-content:flex-start}.history-device-meta-grid,.history-selected-snapshot-grid,.map-overview-workbench,.app-frame{grid-template-columns:1fr}.sidebar{gap:16px}.side-nav{grid-template-columns:repeat(6,minmax(0,1fr))}.side-nav-group,.side-nav-links{grid-template-columns:1fr}.sidebar-card{margin-top:0}.map-workbench,.map-workbench-header,.analytics-header,.history-tool-header,.history-tool-controls{grid-template-columns:1fr}.history-tool-controls,.history-tool-controls .analytics-select-wide,.history-tool-controls .analytics-select:not(.analytics-select-wide){width:100%;max-width:none}.map-workbench-legend{justify-content:start}.hero-panel,.section-grid,.stats-grid,.ai-grid,.scenario-input-grid,.binding-form,.two-column-grid,.preview-grid,.device-summary-grid,.login-panel,.snake-layout,.snake-stats,.realtime-observation-layout,.realtime-chart-summary,.observation-status-strip,.observation-live-toolbar,.observation-chart-shell,.observation-settings-grid,.compact-observation-form,.communication-frame-grid,.communication-monitor-grid{grid-template-columns:1fr}.observation-device-option-list.compact{grid-template-columns:repeat(2,minmax(0,1fr))}.observation-live-head,.observation-live-workbench{grid-template-columns:1fr}.observation-live-actions,.observation-selection-actions{justify-self:start;justify-items:start}.observation-live-inline-controls{flex-wrap:wrap;justify-content:flex-start}}@media (width<=760px){.map-overview-stats{grid-template-columns:1fr}.map-overview-header{padding:14px 18px}.map-overview-main{padding:16px}.map-overview-canvas,.map-overview-canvas .amap-shell,.map-overview-canvas .amap-canvas{min-height:560px}.main-shell{padding:14px 10px 24px}.history-overview-hero,.history-health-list,.topbar,.page-header{grid-template-columns:1fr}.topbar-actions,.hero-actions{grid-auto-flow:row}.hero-copy,.panel,.board-card,.login-copy,.login-form{padding:22px}.hero-title,.page-header h2{max-width:none;font-size:30px}.hero-metrics,.sensor-grid,.side-nav,.stats-grid,.section-grid{grid-template-columns:1fr}.history-selected-header,.history-result-header{flex-direction:column;align-items:start}.history-selected-actions{flex-wrap:wrap;justify-content:flex-start}.history-filter-summary{justify-content:flex-start}.history-timebar-presets{align-items:flex-start}.history-filter-summary .secondary-btn{justify-content:center;width:100%}.history-device-group{padding:12px}.history-device-card-head,.history-device-actions,.history-device-meta{justify-content:start;display:grid}.side-nav-links{grid-template-columns:1fr}.device-action-popover{width:228px}.event-item,.heat-row{grid-template-columns:1fr}.map-workbench-shell{min-height:auto}.map-workbench-canvas,.map-workbench-canvas .amap-shell,.map-workbench-canvas .amap-canvas{min-height:520px}.analytics-toolbar-compact,.analytics-chart-header,.analytics-chart-stats{justify-content:start}.map-sidebar-panel{padding:20px}}.status-在线{color:#126a4c;background:#1b825d1f}.status-预警{color:#936d00;background:#c3930e24}.status-告警,.status-紧急{color:#9f2020;background:#b125251f}.status-维护{color:#425263;background:#55606e24}.level-紧急{color:#9f2020;background:#b125251f}.level-告警{color:#ad5700;background:#d8700a1f}.level-预警{color:#936d00;background:#c3930e24}
