body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;margin:0}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.mission-control{background:#f8fafc;display:flex;flex-direction:column;height:100%}.mission-control-header{align-items:center;background:#fff;border-bottom:1px solid #e2e8f0;box-shadow:0 1px 3px #0000000d;display:flex;justify-content:space-between;padding:16px 24px}.header-left{align-items:center;display:flex;gap:16px}.header-left h1{color:#1e293b;font-size:24px;font-weight:700;margin:0}.connection-status{align-items:center;background:#f1f5f9;border-radius:20px;color:#64748b;display:flex;font-size:12px;font-weight:500;gap:6px;padding:6px 12px}.status-dot{animation:pulse 2s infinite;border-radius:50%;height:8px;width:8px}.status-dot.connected{background:#22c55e}.status-dot.disconnected{animation:none;background:#ef4444}.header-right{align-items:center;display:flex;gap:16px}.demo-button{background:linear-gradient(135deg,#8b5cf6,#6366f1);border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:13px;font-weight:600;padding:8px 16px;transition:all .2s}.demo-button:hover{box-shadow:0 4px 12px #6366f166;transform:translateY(-1px)}.alert-summary{display:flex;gap:12px}.critical-count,.warning-count{border-radius:6px;font-size:12px;font-weight:600;padding:6px 12px}.critical-count{background:#fef2f2;color:#dc2626}.warning-count{background:#fffbeb;color:#d97706}.mission-control-content{grid-gap:24px;display:grid;gap:24px;grid-template-columns:1fr 1fr;height:calc(100% - 80px);overflow:hidden;padding:24px}.active-risks,.risks-column{display:flex;flex-direction:column;height:100%;overflow:hidden}.active-risks{background:#fff;border-radius:16px;box-shadow:0 4px 20px #00000014}.risks-header{align-items:center;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;padding:20px 24px}.risks-header h2{color:#1e293b;font-size:18px;font-weight:600;margin:0}.risk-count{color:#64748b;font-size:13px}.risks-list{flex:1 1;overflow-y:auto;padding:16px}.risk-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;cursor:pointer;display:flex;margin-bottom:12px;overflow:hidden;transition:all .2s}.risk-card:hover{border-color:#cbd5e1;box-shadow:0 4px 12px #00000014}.risk-card.selected{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f633}.risk-card.critical{border-left:none}.risk-card.critical .severity-bar{background:linear-gradient(180deg,#dc2626,#ef4444)}.risk-card.warning .severity-bar{background:linear-gradient(180deg,#d97706,#f59e0b)}.severity-bar{background:#94a3b8;width:4px}.risk-content{flex:1 1;padding:16px}.risk-header{align-items:center;display:flex;gap:8px;margin-bottom:8px}.risk-icon{font-size:16px}.risk-title{color:#1e293b;flex:1 1;font-weight:600}.risk-time{font-size:12px}.risk-message{color:#475569;font-size:13px;line-height:1.5;margin-bottom:12px}.risk-type-badge{margin-bottom:8px}.type-badge{align-items:center;border-radius:12px;display:inline-flex;font-size:11px;font-weight:600;gap:6px;letter-spacing:.3px;padding:4px 10px;text-transform:uppercase}.type-badge svg{flex-shrink:0}.type-badge.shock{background:linear-gradient(135deg,#fef3c7,#fde68a);border:1px solid #f59e0b;color:#b45309}.risk-card.critical .type-badge.shock,.type-badge.temperature{background:linear-gradient(135deg,#fee2e2,#fecaca);border:1px solid #ef4444;color:#b91c1c}.type-badge.humidity{background:linear-gradient(135deg,#dbeafe,#bfdbfe);border:1px solid #3b82f6;color:#1e40af}.type-badge.battery{background:linear-gradient(135deg,#fef3c7,#fde68a);border:1px solid #f59e0b;color:#b45309}.type-badge.security{background:linear-gradient(135deg,#f3e8ff,#e9d5ff);border:1px solid #8b5cf6;color:#7c3aed}.type-badge.tzone-cloud{background:linear-gradient(135deg,#ecfeff,#cffafe);border:1px solid #06b6d4;color:#0e7490}.type-badge.system{background:linear-gradient(135deg,#fef3c7,#fde68a);border:1px solid #f59e0b;color:#92400e}.type-badge.light-exposure{background:linear-gradient(135deg,#fef9c3,#fef08a);border:1px solid #eab308;color:#a16207}.type-badge.device-risk{background:linear-gradient(135deg,#fce7f3,#fbcfe8);border:1px solid #ec4899;color:#be185d}.suggested-actions{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:8px;margin-bottom:12px;padding:10px 12px}.actions-label{color:#166534;display:block;font-size:11px;font-weight:600;margin-bottom:6px}.actions-list{color:#15803d;font-size:12px;line-height:1.6;margin:0;padding-left:18px}.actions-list li{margin-bottom:2px}.impact-notice{background:#fef3c7;border-left:3px solid #f59e0b;border-radius:6px;color:#b45309;font-size:12px;margin-bottom:12px;padding:8px 10px}.risk-context{display:flex;gap:12px;margin-bottom:12px}.risk-context .context-item{background:#f8fafc;border-radius:4px;color:#64748b;font-size:11px;padding:4px 8px}.risk-actions{display:flex;gap:8px}.action-btn{border-radius:6px;display:inline-flex;font-size:11px;font-weight:500;gap:4px;padding:6px 12px}.action-btn:disabled{opacity:.5}.action-btn svg{flex-shrink:0}.action-btn.analyze{background:#eff6ff;color:#2563eb}.action-btn.analyze:hover{background:#dbeafe}.action-btn.acknowledge{background:#f0fdf4;color:#16a34a}.action-btn.acknowledge:hover{background:#dcfce7}.action-btn.locate{background:#0000;border:1px solid #e2e8f0;color:#0891b2}.action-btn.locate:hover:not(:disabled){background:#ecfeff;border-color:#0891b2}.risk-card.dismissing{animation:dismissCard .4s ease-out forwards;pointer-events:none}@keyframes dismissCard{0%{max-height:200px;opacity:1;transform:translateX(0)}50%{opacity:.5;transform:translateX(20px)}to{border-width:0;margin:0;max-height:0;opacity:0;padding:0;transform:translateX(40px)}}.no-risks{align-items:center;display:flex;flex-direction:column;justify-content:center;padding:60px 20px;text-align:center}.no-risks-icon{font-size:48px;margin-bottom:16px}.no-risks-text{color:#1e293b;font-size:18px;font-weight:600}.no-risks-subtext{color:#64748b;font-size:14px;margin-top:4px}.acknowledged-section{border-top:1px solid #e2e8f0;padding:16px}.acknowledged-header h3{color:#64748b;font-size:14px;margin:0 0 12px}.acknowledged-item{align-items:center;background:#f8fafc;border-radius:8px;display:flex;gap:8px;margin-bottom:6px;padding:8px 12px}.ack-device{color:#475569;flex:1 1;font-weight:500}.ack-condition{color:#94a3b8;font-size:12px}.delete-btn{background:#0000;border:none;cursor:pointer;opacity:.5;padding:4px 8px;transition:opacity .2s}.delete-btn:hover{opacity:1}.agent-copilot,.copilot-column{display:flex;flex-direction:column;height:100%;overflow:hidden}.agent-copilot{background:#fff;border-radius:16px;box-shadow:0 4px 20px #00000014}.copilot-header{align-items:center;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;padding:20px 24px}.copilot-header h2{color:#1e293b;font-size:18px;font-weight:600;margin:0}.mode-badge{background:#f1f5f9;border-radius:12px;color:#64748b;font-size:11px;font-weight:500;padding:4px 10px}.copilot-content{flex:1 1;overflow-y:auto;padding:24px}.copilot-welcome{align-items:center;display:flex;flex-direction:column;justify-content:center;padding:40px 20px;text-align:center}.welcome-icon{font-size:64px;margin-bottom:16px}.copilot-welcome h3{color:#1e293b;font-size:20px;margin:0 0 8px}.copilot-welcome p{color:#64748b;margin-bottom:24px}.welcome-features{display:flex;flex-direction:column;gap:12px}.feature{align-items:center;color:#475569;display:flex;font-size:14px;gap:8px}.feature-icon{font-size:16px}.copilot-analyzing{align-items:center;display:flex;flex-direction:column;justify-content:center;padding:40px 20px;text-align:center}.analyzing-animation{height:100px;margin-bottom:24px;position:relative;width:100px}.pulse-ring{animation:expandPulse 2s ease-out infinite;border:2px solid #3b82f6;border-radius:50%;height:80px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);width:80px}.pulse-ring:nth-child(2){animation-delay:.5s}.pulse-ring:nth-child(3){animation-delay:1s}@keyframes expandPulse{0%{opacity:1;transform:translate(-50%,-50%) scale(.5)}to{opacity:0;transform:translate(-50%,-50%) scale(1.5)}}.analyzing-icon{font-size:40px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}.copilot-analyzing h3{color:#1e293b;margin:0 0 8px}.copilot-analyzing p{color:#64748b;margin-bottom:24px}.analyzing-steps{display:flex;flex-direction:column;gap:8px;text-align:left}.analyzing-steps .step{color:#94a3b8;font-size:13px}.analyzing-steps .step.active{color:#22c55e}.copilot-analysis{display:flex;flex-direction:column;gap:20px}.analysis-header{gap:12px}.agent-avatar,.analysis-header{align-items:center;display:flex}.agent-avatar{background:linear-gradient(135deg,#3b82f6,#1d4ed8);border-radius:12px;font-size:24px;height:48px;justify-content:center;width:48px}.agent-info{flex:1 1}.agent-name{color:#1e293b;display:block;font-weight:600}.response-time{color:#64748b;font-size:12px}.confidence-badge{border-radius:12px;font-size:11px;font-weight:600;padding:4px 10px}.confidence-badge.high{background:#dcfce7;color:#16a34a}.confidence-badge.medium{background:#fef3c7;color:#d97706}.confidence-badge.low{background:#fee2e2;color:#dc2626}.agent-message{background:#f8fafc;border-left:4px solid #3b82f6;border-radius:12px;padding:16px}.agent-message p{color:#1e293b;line-height:1.6;margin:0}.alert-context h4,.analysis-details h4,.suggested-actions h4{color:#64748b;font-size:14px;margin:0 0 12px}.analysis-details p{color:#475569;line-height:1.6;margin:0}.actions-list{display:flex;flex-direction:column;gap:12px}.action-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:16px}.action-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:8px}.action-label{color:#1e293b;font-weight:600}.priority-badge{border-radius:6px;font-size:10px;font-weight:600;padding:4px 8px;text-transform:uppercase}.action-context{color:#64748b;font-size:13px;margin-bottom:12px}.approve-btn{background:linear-gradient(135deg,#22c55e,#16a34a);border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:13px;font-weight:600;padding:10px;transition:all .2s;width:100%}.approve-btn:hover:not(:disabled){box-shadow:0 4px 12px #22c55e66;transform:translateY(-1px)}.approve-btn:disabled{background:#94a3b8;cursor:default}.approve-btn.primary-action{animation:pulse-action 2s infinite;background:linear-gradient(135deg,#3b82f6,#1d4ed8)}.approve-btn.primary-action:hover:not(:disabled){box-shadow:0 4px 12px #3b82f680}@keyframes pulse-action{0%,to{box-shadow:0 0 0 0 #3b82f666}50%{box-shadow:0 0 0 8px #3b82f600}}.copilot-resolved{align-items:center;display:flex;flex-direction:column;justify-content:center;padding:40px 20px;text-align:center}.resolved-icon{font-size:64px;margin-bottom:16px}.copilot-resolved h3{color:#16a34a;font-size:20px;margin:0 0 8px}.copilot-resolved p{color:#64748b;margin-bottom:24px}.resolved-details{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:12px;max-width:300px;padding:16px;width:100%}.resolved-details .detail-item{display:flex;justify-content:space-between;margin-bottom:8px}.resolved-details .detail-item:last-child{margin-bottom:0}.resolved-details .label{color:#64748b;font-size:13px}.resolved-details .value{color:#1e293b;font-size:13px;font-weight:600}.resolved-details .status-resolved{color:#16a34a}.mode-badge.resolved{background:#dcfce7;color:#16a34a}.context-grid{grid-gap:12px;display:grid;gap:12px;grid-template-columns:1fr 1fr}.context-grid .context-item{background:#f8fafc;border-radius:8px;padding:12px}.context-grid .label{color:#94a3b8;display:block;font-size:11px;letter-spacing:.5px;margin-bottom:4px;text-transform:uppercase}.context-grid .value{color:#1e293b;font-weight:600}.context-grid .value.severity-critical{color:#dc2626}.context-grid .value.severity-warning{color:#d97706}@media (max-width:1200px){.mission-control-content{grid-template-columns:1fr}.copilot-column{max-height:50vh}}.system-actions-panel{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:12px;margin-top:16px;padding:16px}.system-actions-panel h4{color:#166534;font-size:14px;margin:0 0 12px}.recommended-actions-list{color:#15803d;font-size:13px;line-height:1.8;margin:0;padding-left:20px}.recommended-actions-list li{margin-bottom:4px}.impact-warning{background:#fef3c7;border-left:3px solid #f59e0b;border-radius:8px;color:#92400e;font-size:13px;margin-top:12px;padding:10px 12px}.impact-warning strong{color:#b45309}.risk-level-badge{border-radius:4px;font-size:10px;font-weight:700;letter-spacing:.5px;margin-left:auto;padding:2px 8px;text-transform:uppercase}.risk-level-badge.critical{background:#fee2e2;border:1px solid #ef4444;color:#b91c1c}.risk-level-badge.warning{background:#fef3c7;border:1px solid #f59e0b;color:#b45309}.risk-level-badge.info{background:#dbeafe;border:1px solid #3b82f6;color:#1e40af}.battery-icon{align-items:center;display:inline-flex}.battery-icon svg{height:18px;width:18px}.battery-warning svg{stroke:#f59e0b}.battery-critical svg{stroke:#ef4444}@keyframes blink-red{0%,to{opacity:1}50%{opacity:.3}}.battery-icon.blink svg,.blink,.blink-critical,.risk-icon.blink-critical .battery-icon svg{animation:blink-red 1s ease-in-out infinite}.type-badge.battery.battery-critical-badge{animation:pulse-badge 2s ease-in-out infinite;background:linear-gradient(135deg,#fee2e2,#fecaca);border:1px solid #ef4444;color:#b91c1c}.rapid-discharge-warning{align-items:center;background:linear-gradient(135deg,#fef2f2,#fee2e2);border:1px solid #fecaca;border-left:3px solid #ef4444;border-radius:6px;color:#b91c1c;display:flex;font-size:12px;font-weight:600;gap:6px;margin-bottom:8px;padding:8px 12px}.risk-card.critical .battery-icon svg{stroke:#ef4444;fill:#fee2e2}.risk-card.warning .battery-icon svg{stroke:#f59e0b;fill:#fef3c7}.risk-message:empty:after,.risk-message:has(>:empty):after{color:#94a3b8;content:"⚠️ Undefined Device Event - Manual Investigation Required";font-style:italic}.leaflet-image-layer,.leaflet-layer,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-pane,.leaflet-pane>canvas,.leaflet-pane>svg,.leaflet-tile,.leaflet-tile-container,.leaflet-zoom-box{left:0;position:absolute;top:0}.leaflet-container{overflow:hidden}.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile{-webkit-user-drag:none;-webkit-user-select:none;user-select:none}.leaflet-tile::selection{background:#0000}.leaflet-safari .leaflet-tile{image-rendering:-webkit-optimize-contrast}.leaflet-safari .leaflet-tile-container{height:1600px;-webkit-transform-origin:0 0;width:1600px}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.leaflet-container .leaflet-overlay-pane svg{max-height:none!important;max-width:none!important}.leaflet-container .leaflet-marker-pane img,.leaflet-container .leaflet-shadow-pane img,.leaflet-container .leaflet-tile,.leaflet-container .leaflet-tile-pane img,.leaflet-container img.leaflet-image-layer{max-height:none!important;max-width:none!important;padding:0;width:auto}.leaflet-container img.leaflet-tile{mix-blend-mode:plus-lighter}.leaflet-container.leaflet-touch-zoom{touch-action:pan-x pan-y}.leaflet-container.leaflet-touch-drag{touch-action:none;touch-action:pinch-zoom}.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom{touch-action:none}.leaflet-container{-webkit-tap-highlight-color:transparent}.leaflet-container a{-webkit-tap-highlight-color:rgba(51,181,229,.4)}.leaflet-tile{filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{box-sizing:border-box;height:0;width:0;z-index:800}.leaflet-overlay-pane svg{-moz-user-select:none}.leaflet-pane{z-index:400}.leaflet-tile-pane{z-index:200}.leaflet-overlay-pane{z-index:400}.leaflet-shadow-pane{z-index:500}.leaflet-marker-pane{z-index:600}.leaflet-tooltip-pane{z-index:650}.leaflet-popup-pane{z-index:700}.leaflet-map-pane canvas{z-index:100}.leaflet-map-pane svg{z-index:200}.leaflet-vml-shape{height:1px;width:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{pointer-events:visiblePainted;pointer-events:auto;position:relative;z-index:800}.leaflet-bottom,.leaflet-top{pointer-events:none;position:absolute;z-index:1000}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{clear:both;float:left}.leaflet-right .leaflet-control{float:right}.leaflet-top .leaflet-control{margin-top:10px}.leaflet-bottom .leaflet-control{margin-bottom:10px}.leaflet-left .leaflet-control{margin-left:10px}.leaflet-right .leaflet-control{margin-right:10px}.leaflet-fade-anim .leaflet-popup{opacity:0;transition:opacity .2s linear}.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-animated{transform-origin:0 0}svg.leaflet-zoom-animated{will-change:transform}.leaflet-zoom-anim .leaflet-zoom-animated{transition:transform .25s cubic-bezier(0,0,.25,1)}.leaflet-pan-anim .leaflet-tile,.leaflet-zoom-anim .leaflet-tile{transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.leaflet-interactive{cursor:pointer}.leaflet-grab{cursor:grab}.leaflet-crosshair,.leaflet-crosshair .leaflet-interactive{cursor:crosshair}.leaflet-control,.leaflet-popup-pane{cursor:auto}.leaflet-dragging .leaflet-grab,.leaflet-dragging .leaflet-grab .leaflet-interactive,.leaflet-dragging .leaflet-marker-draggable{cursor:move;cursor:grabbing}.leaflet-image-layer,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-pane>svg path,.leaflet-tile-container{pointer-events:none}.leaflet-image-layer.leaflet-interactive,.leaflet-marker-icon.leaflet-interactive,.leaflet-pane>svg path.leaflet-interactive,svg.leaflet-image-layer.leaflet-interactive path{pointer-events:visiblePainted;pointer-events:auto}.leaflet-container{background:#ddd;outline-offset:1px}.leaflet-container a{color:#0078a8}.leaflet-zoom-box{background:#ffffff80;border:2px dotted #38f}.leaflet-container{font-family:Helvetica Neue,Arial,Helvetica,sans-serif;font-size:12px;font-size:.75rem;line-height:1.5}.leaflet-bar{border-radius:4px;box-shadow:0 1px 5px #000000a6}.leaflet-bar a{background-color:#fff;border-bottom:1px solid #ccc;color:#000;display:block;height:26px;line-height:26px;text-align:center;text-decoration:none;width:26px}.leaflet-bar a,.leaflet-control-layers-toggle{background-position:50% 50%;background-repeat:no-repeat;display:block}.leaflet-bar a:focus,.leaflet-bar a:hover{background-color:#f4f4f4}.leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.leaflet-bar a:last-child{border-bottom:none;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.leaflet-bar a.leaflet-disabled{background-color:#f4f4f4;color:#bbb;cursor:default}.leaflet-touch .leaflet-bar a{height:30px;line-height:30px;width:30px}.leaflet-touch .leaflet-bar a:first-child{border-top-left-radius:2px;border-top-right-radius:2px}.leaflet-touch .leaflet-bar a:last-child{border-bottom-left-radius:2px;border-bottom-right-radius:2px}.leaflet-control-zoom-in,.leaflet-control-zoom-out{font:700 18px Lucida Console,Monaco,monospace;text-indent:1px}.leaflet-touch .leaflet-control-zoom-in,.leaflet-touch .leaflet-control-zoom-out{font-size:22px}.leaflet-control-layers{background:#fff;border-radius:5px;box-shadow:0 1px 5px #0006}.leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC);height:36px;width:36px}.leaflet-retina .leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3ZXP6D2soBtG42jeI6ZmQTHzAxiTbSJsYLjO9HhP+WOmcuhciVnmHVQcJnp7DFvScowZorad/+V/fVzMdMT2g9Cv9guXGv/7pYOrXh2U+RRR3dSd9JRx6bIFc/ekqHI29JC6pJ5ZEh1yWkhkbcFeSjxgx3L2m1cb1C7bceyxA+CNjT/Ifff+/kDk2u/w/33/IeCMOSaWZ4glosqT3DNnNZQ7Cs58/3Ce5HL78iZH/vKVIaYlqzfdLu8Vi7dnvUbEza5Idt36tquZFldl6N5Z/POLof0XLK61mZCmJSWjVF9tEjUluu74IUXvgttuVIHE7YxSkaYhJZam7yiM9Pv82JYfl9nptxZaxMJE4YSPty+vF0+Y2up9d3wwijfjZbabqm/3bZ9ecKHsiGmRflnn1MW4pjHf9oLufyn2z3y1D6n8g8TZhxyzipLNPnAUpsOiuWimg52psrTZYnOWYNDTMuWBWa0tJb4rgq1UvmutpaYEbZlwU3CLJm/ayYjHW5/h7xWLn9Hh1vepDkyf7dE7MtT5LR4e7yYpHrkhOUpEfssBLq2pPhAqoSWKUkk7EDqkmK6RrCEzqDjhNDWNE+XSMvkJRDWlZTmCW0l0PHQGRZY5t1L83kT0Y3l2SItk5JAWHl2dCOBm+fPu3fo5/3v61RMCO9Jx2EEYYhb0rmNQMX/vm7gqOEJLcXTGw3CAuRNeyaPWwjR8PRqKQ1PDA/dpv+on9Shox52WFnx0KY8onHayrJzm87i5h9xGw/tfkev0jGsQizqezUKjk12hBMKJ4kbCqGPVNXudyyrShovGw5CgxsRICxF6aRmSjlBnHRzg7Gx8fKqEubI2rahQYdR1YgDIRQO7JvQyD52hoIQx0mxa0ODtW2Iozn1le2iIRdzwWewedyZzewidueOGqlsn1MvcnQpuVwLGG3/IR1hIKxCjelIDZ8ldqWz25jWAsnldEnK0Zxro19TGVb2ffIZEsIO89EIEDvKMPrzmBOQcKQ+rroye6NgRRxqR4U8EAkz0CL6uSGOm6KQCdWjvjRiSP1BPalCRS5iQYiEIvxuBMJEWgzSoHADcVMuN7IuqqTeyUPq22qFimFtxDyBBJEwNyt6TM88blFHao/6tWWhuuOM4SAK4EI4QmFHA+SEyWlp4EQoJ13cYGzMu7yszEIBOm2rVmHUNqwAIQabISNMRstmdhNWcFLsSm+0tjJH1MdRxO5Nx0WDMhCtgD6OKgZeljJqJKc9po8juskR9XN0Y1lZ3mWjLR9JCO1jRDMd0fpYC2VnvjBSEFg7wBENc0R9HFlb0xvF1+TBEpF68d+DHR6IOWVv2BECtxo46hOFUBd/APU57WIoEwJhIi2CdpyZX0m93BZicktMj1AS9dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/UEJqxKRpg5LZx6btLPsOaEmdMyxYdlc8LMaJnikDlhclqmPiQnTEpLUIZEwkRagjYkEibQErwhkTAKCLQEbUgkzJQWc/0PstHHcfEdQ+UAAAAASUVORK5CYII=);background-size:26px 26px}.leaflet-touch .leaflet-control-layers-toggle{height:44px;width:44px}.leaflet-control-layers .leaflet-control-layers-list,.leaflet-control-layers-expanded .leaflet-control-layers-toggle{display:none}.leaflet-control-layers-expanded .leaflet-control-layers-list{display:block;position:relative}.leaflet-control-layers-expanded{background:#fff;color:#333;padding:6px 10px 6px 6px}.leaflet-control-layers-scrollbar{overflow-x:hidden;overflow-y:scroll;padding-right:5px}.leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}.leaflet-control-layers label{display:block;font-size:13px;font-size:1.08333em}.leaflet-control-layers-separator{border-top:1px solid #ddd;height:0;margin:5px -10px 5px -6px}.leaflet-default-icon-path{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=)}.leaflet-container .leaflet-control-attribution{background:#fff;background:#fffc;margin:0}.leaflet-control-attribution,.leaflet-control-scale-line{color:#333;line-height:1.4;padding:0 5px}.leaflet-control-attribution a{text-decoration:none}.leaflet-control-attribution a:focus,.leaflet-control-attribution a:hover{text-decoration:underline}.leaflet-attribution-flag{display:inline!important;height:.6669em;vertical-align:initial!important;width:1em}.leaflet-left .leaflet-control-scale{margin-left:5px}.leaflet-bottom .leaflet-control-scale{margin-bottom:5px}.leaflet-control-scale-line{background:#fffc;border:2px solid #777;border-top:none;box-sizing:border-box;line-height:1.1;padding:2px 5px 1px;text-shadow:1px 1px #fff;white-space:nowrap}.leaflet-control-scale-line:not(:first-child){border-bottom:none;border-top:2px solid #777;margin-top:-2px}.leaflet-control-scale-line:not(:first-child):not(:last-child){border-bottom:2px solid #777}.leaflet-touch .leaflet-bar,.leaflet-touch .leaflet-control-attribution,.leaflet-touch .leaflet-control-layers{box-shadow:none}.leaflet-touch .leaflet-bar,.leaflet-touch .leaflet-control-layers{background-clip:padding-box;border:2px solid #0003}.leaflet-popup{margin-bottom:20px;position:absolute;text-align:center}.leaflet-popup-content-wrapper{border-radius:12px;padding:1px;text-align:left}.leaflet-popup-content{font-size:13px;font-size:1.08333em;line-height:1.3;margin:13px 24px 13px 20px;min-height:1px}.leaflet-popup-content p{margin:1.3em 0}.leaflet-popup-tip-container{height:20px;left:50%;margin-left:-20px;margin-top:-1px;overflow:hidden;pointer-events:none;position:absolute;width:40px}.leaflet-popup-tip{height:17px;margin:-10px auto 0;padding:1px;pointer-events:auto;transform:rotate(45deg);width:17px}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:#fff;box-shadow:0 3px 14px #0006;color:#333}.leaflet-container a.leaflet-popup-close-button{background:#0000;border:none;color:#757575;font:16px/24px Tahoma,Verdana,sans-serif;height:24px;position:absolute;right:0;text-align:center;text-decoration:none;top:0;width:24px}.leaflet-container a.leaflet-popup-close-button:focus,.leaflet-container a.leaflet-popup-close-button:hover{color:#585858}.leaflet-popup-scrolled{overflow:auto}.leaflet-oldie .leaflet-popup-content-wrapper{-ms-zoom:1}.leaflet-oldie .leaflet-popup-tip{-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";filter:progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678,M12=0.70710678,M21=-0.70710678,M22=0.70710678);margin:0 auto;width:24px}.leaflet-oldie .leaflet-control-layers,.leaflet-oldie .leaflet-control-zoom,.leaflet-oldie .leaflet-popup-content-wrapper,.leaflet-oldie .leaflet-popup-tip{border:1px solid #999}.leaflet-div-icon{background:#fff;border:1px solid #666}.leaflet-tooltip{background-color:#fff;border:1px solid #fff;border-radius:3px;box-shadow:0 1px 3px #0006;color:#222;padding:6px;pointer-events:none;position:absolute;-webkit-user-select:none;user-select:none;white-space:nowrap}.leaflet-tooltip.leaflet-interactive{cursor:pointer;pointer-events:auto}.leaflet-tooltip-bottom:before,.leaflet-tooltip-left:before,.leaflet-tooltip-right:before,.leaflet-tooltip-top:before{background:#0000;border:6px solid #0000;content:"";pointer-events:none;position:absolute}.leaflet-tooltip-bottom{margin-top:6px}.leaflet-tooltip-top{margin-top:-6px}.leaflet-tooltip-bottom:before,.leaflet-tooltip-top:before{left:50%;margin-left:-6px}.leaflet-tooltip-top:before{border-top-color:#fff;bottom:0;margin-bottom:-12px}.leaflet-tooltip-bottom:before{border-bottom-color:#fff;margin-left:-6px;margin-top:-12px;top:0}.leaflet-tooltip-left{margin-left:-6px}.leaflet-tooltip-right{margin-left:6px}.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{margin-top:-6px;top:50%}.leaflet-tooltip-left:before{border-left-color:#fff;margin-right:-12px;right:0}.leaflet-tooltip-right:before{border-right-color:#fff;left:0;margin-left:-12px}@media print{.leaflet-control{-webkit-print-color-adjust:exact;print-color-adjust:exact}}.leaflet-cluster-anim .leaflet-marker-icon,.leaflet-cluster-anim .leaflet-marker-shadow{transition:transform .3s ease-out,opacity .3s ease-in}.leaflet-cluster-spider-leg{transition:stroke-dashoffset .3s ease-out,stroke-opacity .3s ease-in}.marker-cluster-small{background-color:#b5e28c99}.marker-cluster-small div{background-color:#6ecc3999}.marker-cluster-medium{background-color:#f1d35799}.marker-cluster-medium div{background-color:#f0c20c99}.marker-cluster-large{background-color:#fd9c7399}.marker-cluster-large div{background-color:#f1801799}.leaflet-oldie .marker-cluster-small{background-color:#b5e28c}.leaflet-oldie .marker-cluster-small div{background-color:#6ecc39}.leaflet-oldie .marker-cluster-medium{background-color:#f1d357}.leaflet-oldie .marker-cluster-medium div{background-color:#f0c20c}.leaflet-oldie .marker-cluster-large{background-color:#fd9c73}.leaflet-oldie .marker-cluster-large div{background-color:#f18017}.marker-cluster{background-clip:padding-box;border-radius:20px}.marker-cluster div{border-radius:15px;font:12px Helvetica Neue,Arial,Helvetica,sans-serif;height:30px;margin-left:5px;margin-top:5px;text-align:center;width:30px}.marker-cluster span{line-height:30px}.map-view-container{border-radius:16px;box-shadow:0 4px 24px #00000014;height:calc(100vh - 180px);min-height:500px;overflow:hidden;position:relative;width:100%}.map-container{height:100%;width:100%}.custom-cluster-icon{background:#0000!important}.cluster-icon{transition:transform .2s ease}.custom-cluster-icon:hover .cluster-icon{transform:scale(1.1)}.cluster-alarm>div,.cluster-warning>div{position:relative}@keyframes cluster-pulse{0%,to{box-shadow:0 0 0 0 #ef4444b3,0 2px 8px #0000004d;transform:scale(1)}50%{box-shadow:0 0 0 12px #ef444400,0 2px 8px #0000004d;transform:scale(1.05)}}@keyframes cluster-pulse-slow{0%,to{box-shadow:0 0 0 0 #f59e0b99,0 2px 8px #0000004d;transform:scale(1)}50%{box-shadow:0 0 0 10px #f59e0b00,0 2px 8px #0000004d;transform:scale(1.03)}}.marker-cluster,.marker-cluster div{background:#0000!important}.custom-marker{background:#0000;border:none}.marker-container{align-items:center;display:flex;height:40px;justify-content:center;position:relative;width:40px}.marker-dot{background:var(--marker-color);border-radius:50%;height:40px;opacity:.2;position:absolute;width:40px}.marker-inner{align-items:center;background:#fff;border:3px solid var(--marker-color);border-radius:50%;box-shadow:0 2px 8px #00000026;display:flex;font-size:14px;height:32px;justify-content:center;position:relative;width:32px;z-index:2}.marker-pulse .marker-dot{animation:pulse-risk 1.5s ease-out infinite}.marker-pulse-slow .marker-dot{animation:pulse-warning 2s ease-out infinite}@keyframes pulse-risk{0%{opacity:.4;transform:scale(1)}50%{opacity:.1;transform:scale(1.8)}to{opacity:0;transform:scale(2.2)}}@keyframes pulse-warning{0%{opacity:.3;transform:scale(1)}50%{opacity:.1;transform:scale(1.5)}to{opacity:0;transform:scale(1.8)}}.device-popup .leaflet-popup-content-wrapper{background:#fff;border-radius:12px;box-shadow:0 4px 20px #00000026;padding:0}.device-popup .leaflet-popup-content{margin:0;width:280px!important}.device-popup .leaflet-popup-tip{background:#fff}.leaflet-popup-pane{z-index:10000!important}.popup-content{padding:16px}.popup-location-header{align-items:flex-start;background:linear-gradient(135deg,#fef3c7,#fde68a);border:1px solid #fcd34d;border-radius:8px;display:flex;gap:8px;margin-bottom:12px;padding:10px 12px}.popup-location-header .location-icon{flex-shrink:0;font-size:14px;margin-top:2px}.popup-location-header .location-text{color:#92400e;font-size:13px;font-weight:500;line-height:1.4;word-break:break-word}.popup-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:2px}.popup-name{color:#0f172a;font-size:18px;font-weight:700;letter-spacing:-.3px}.popup-provider{background:#f1f5f9;border-radius:4px;color:#64748b;font-size:11px;padding:2px 6px}.popup-id{color:#94a3b8;font-family:SF Mono,Monaco,Inconsolata,monospace;font-size:10px;font-weight:400;letter-spacing:.3px;margin-bottom:10px}.popup-status{border-radius:8px;display:inline-block;font-size:12px;font-weight:500;margin-bottom:12px;padding:4px 10px}.popup-status.healthy{background:#dcfce7;color:#166534}.popup-status.warning{background:#fef3c7;color:#92400e}.popup-status.risk{background:#fee2e2;color:#991b1b}.popup-status.offline{background:#f1f5f9;color:#475569}.popup-status.provider_error{background:#f3e8ff;color:#7c3aed}.popup-status.stale{background:#e2e8f0;color:#64748b}.popup-status-row{align-items:center;display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}.popup-status-row .popup-status{margin-bottom:0}.motion-badge{align-items:center;border-radius:8px;display:inline-flex;font-size:11px;font-weight:600;gap:4px;padding:4px 10px}.motion-badge.moving{background:linear-gradient(135deg,#dcfce7,#bbf7d0);border:1px solid #86efac;color:#15803d}.motion-badge.stopped{background:linear-gradient(135deg,#f1f5f9,#e2e8f0);border:1px solid #cbd5e1;color:#64748b}.telemetry-item.charging{background:linear-gradient(135deg,#f0fdf4,#dcfce7);border-radius:6px;padding:4px 8px}.telemetry-item.charging .telemetry-value{color:#16a34a;font-weight:600}.popup-telemetry{grid-gap:8px;background:#f8fafc;border-radius:8px;display:grid;gap:8px;grid-template-columns:repeat(2,1fr);margin-bottom:12px;padding:12px}.telemetry-item{align-items:center;display:flex;flex-direction:column;gap:2px}.telemetry-icon{font-size:16px}.telemetry-value{color:#1e293b;font-size:14px;font-weight:600}.telemetry-label{color:#64748b;font-size:10px;text-transform:uppercase}.popup-location{align-items:flex-start;color:#475569;display:flex;font-size:12px;gap:6px;line-height:1.4;margin-bottom:8px}.popup-time-sync{align-items:center;background:#f9fafb;border:1px solid #f3f4f6;border-radius:6px;color:#6b7280;display:flex;font-size:11px;justify-content:space-between;margin-bottom:8px;padding:5px 8px}.popup-time-sync .time-sync-item{align-items:center;display:flex;gap:4px}.popup-time-sync .time-sync-divider{color:#d1d5db}.location-icon{flex-shrink:0}.location-text{word-break:break-word}.popup-time,.popup-updated{color:#94a3b8;font-size:11px;margin-bottom:12px}.popup-updated{background:#f8fafc;border-radius:6px;padding:6px 10px}.popup-updated.fresh{color:#64748b}.popup-updated.warning{background:#fffbeb;color:#f59e0b;font-weight:600}.popup-updated.stale{background:#fef2f2;color:#ef4444;font-weight:600}.popup-action{background:linear-gradient(135deg,#6366f1,#4f46e5);border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:13px;font-weight:500;padding:10px 16px;transition:all .2s;width:100%}.popup-action:hover{box-shadow:0 4px 12px #6366f166;transform:translateY(-1px)}.map-legend{background:#fff;border-radius:12px;bottom:24px;box-shadow:0 2px 12px #0000001a;left:24px;padding:16px;position:absolute;z-index:400}.legend-title{color:#64748b;font-size:11px;font-weight:600;letter-spacing:.5px;margin-bottom:12px;text-transform:uppercase}.legend-item{align-items:center;color:#475569;display:flex;font-size:13px;gap:8px;margin-bottom:6px}.legend-item:last-child{margin-bottom:0}.legend-dot{border-radius:50%;height:12px;width:12px}.legend-dot.healthy{background:#22c55e}.legend-dot.warning{background:#f59e0b}.legend-dot.risk{animation:legend-pulse 1.5s ease-in-out infinite;background:#ef4444}.legend-dot.offline{background:#6b7280}.legend-dot.provider_error{background:#9333ea}.legend-dot.stale{background:#94a3b8}@keyframes legend-pulse{0%,to{opacity:1}50%{opacity:.5}}.map-device-count{background:#fff;border-radius:24px;box-shadow:0 2px 12px #0000001a;color:#475569;font-size:13px;font-weight:500;padding:10px 16px;position:absolute;right:24px;top:24px;z-index:400}.map-device-count-btn{cursor:pointer;transition:background .15s,transform .1s;-webkit-user-select:none;user-select:none}.map-device-count-btn:hover{background:#f8fafc}.map-device-count-btn:active{transform:scale(.95)}.map-container .leaflet-control-zoom{border:none;border-radius:8px;box-shadow:0 2px 8px #0000001a;overflow:hidden}.map-container .leaflet-control-zoom a{background:#fff;border:none;color:#475569;font-size:18px;height:36px;line-height:36px;width:36px}.map-container .leaflet-control-zoom a:hover{background:#f8fafc;color:#1e293b}.map-container .leaflet-control-zoom-in{border-bottom:1px solid #e2e8f0!important}@media (max-width:640px){.map-view-container{border-radius:0;height:calc(100vh - 140px);min-height:400px}.map-legend{bottom:16px;left:16px;padding:12px}.map-device-count{font-size:12px;padding:8px 12px;right:16px;top:16px}.device-popup .leaflet-popup-content{width:260px!important}}.device-hover-tooltip{pointer-events:none}.device-hover-tooltip,.device-hover-tooltip .leaflet-tooltip-content{background:#fff;border:1px solid #e2e8f0;border-radius:6px;box-shadow:0 2px 8px #00000026;color:#1e293b;font-family:Inter,-apple-system,sans-serif;font-size:12px;font-weight:600;padding:4px 10px;white-space:nowrap}.sheet-root{bottom:0;max-width:100%;pointer-events:none;position:fixed;right:0;top:0;width:440px;z-index:2500}.sheet-overlay{display:none}.sheet-content{animation:slideIn .3s ease-out;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fffffff7;bottom:0;box-shadow:-4px 0 24px #0000001f;overflow-y:auto;pointer-events:auto;position:fixed;top:0}.sheet-right{max-width:100%;right:0;width:440px}@keyframes slideIn{0%{opacity:0;transform:translateX(100%)}to{opacity:1;transform:translateX(0)}}.sheet-close{align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:8px;color:#64748b;cursor:pointer;display:flex;font-size:16px;height:32px;justify-content:center;position:absolute;right:16px;top:16px;transition:all .2s;width:32px;z-index:10}.sheet-close:hover{background:#f8fafc;border-color:#cbd5e1;color:#1e293b}.detail-panel{padding:24px}.panel-header{margin-bottom:24px;padding-right:40px}.header-top{justify-content:space-between;margin-bottom:12px}.header-top,.provider-badge{align-items:center;display:flex}.provider-badge{border-radius:20px;color:#fff;font-size:12px;font-weight:500;gap:8px;padding:6px 12px}.provider-logo{font-size:14px}.provider-name{letter-spacing:.5px;text-transform:uppercase}.status-badge{border-radius:20px;padding:6px 12px}.status-badge.healthy{background:#dcfce7;color:#166534}.status-badge.warning{color:#92400e}.status-badge.critical{animation:pulse-critical 1.5s ease-in-out infinite;background:#fee2e2;color:#991b1b}@keyframes pulse-critical{0%,to{opacity:1}50%{opacity:.7}}.shipment-name-title{color:#0f172a;font-size:22px;font-weight:700;letter-spacing:-.3px;margin:0 0 4px}.shipment-id-secondary{color:#94a3b8;font-family:SF Mono,Monaco,Inconsolata,monospace;font-size:11px;font-weight:400;letter-spacing:.3px;margin:0 0 12px}.shipment-id{color:#1e293b;font-family:SF Mono,monospace;font-size:24px;font-weight:700;margin:0 0 12px}.route-info{align-items:center;color:#475569;display:flex;flex-wrap:wrap;font-size:13px;gap:8px}.route-info .arrow{color:#94a3b8}.route-info .destination,.route-info .origin{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.shipment-name{color:#64748b;font-size:14px;margin-top:8px}.section-title{align-items:center;color:#1e293b;display:flex;font-size:14px;font-weight:600;gap:8px;margin:0 0 16px}.section-icon{font-size:16px}.telemetry-section{border-bottom:1px solid #e2e8f0;margin-bottom:24px;padding-bottom:24px}.chart-container{background:#f8fafc;border-radius:12px;margin-bottom:16px;padding:16px 8px 8px}.chart-tooltip{background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 4px 12px #0000001a;padding:10px 14px}.tooltip-time{color:#64748b;font-size:11px;margin:0 0 4px}.tooltip-temp{color:#1e293b;font-size:14px;font-weight:600;margin:0}.tooltip-temp.over-limit{color:#ef4444}.limit-warning{font-size:11px;font-weight:500}.telemetry-grid{grid-gap:12px;display:grid;gap:12px;grid-template-columns:repeat(2,1fr)}.telemetry-grid.cards-1{grid-template-columns:1fr;margin:0 auto;max-width:200px}.telemetry-grid.cards-2,.telemetry-grid.cards-3{grid-template-columns:repeat(2,1fr)}.telemetry-grid.cards-3 .telemetry-card:last-child{grid-column:span 2}.telemetry-grid.cards-4,.telemetry-grid.cards-5{grid-template-columns:repeat(2,1fr)}.telemetry-card{align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:12px;display:flex;flex-direction:column;gap:4px;padding:14px;transition:all .2s}.telemetry-card:hover{border-color:#cbd5e1;box-shadow:0 2px 8px #0000000d}.telemetry-card.clickable{cursor:pointer;-webkit-user-select:none;user-select:none}.telemetry-card.clickable:hover{border-color:#93c5fd;box-shadow:0 2px 8px #00000014}.telemetry-card.metric-active{background:#eff6ff;border-color:#2563eb;box-shadow:0 0 0 1px #2563eb}.telemetry-card.warning{background:#fffbeb;border-color:#fbbf24}.telemetry-card.motion-moving{background:linear-gradient(135deg,#f0fdf4,#dcfce7);border-color:#22c55e}.telemetry-card.motion-moving .telemetry-value{color:#16a34a;font-weight:700}.telemetry-card.motion-stopped{background:linear-gradient(135deg,#f8fafc,#f1f5f9);border-color:#94a3b8}.telemetry-card.motion-stopped .telemetry-value{color:#64748b}.telemetry-card.charging{animation:charging-pulse 2s ease-in-out infinite;background:linear-gradient(135deg,#f0fdf4,#dcfce7);border-color:#22c55e}.telemetry-card.charging .telemetry-value{color:#16a34a}.charging-indicator{animation:charging-flash 1.5s ease-in-out infinite;margin-left:4px}@keyframes charging-pulse{0%,to{box-shadow:0 0 0 0 #22c55e00}50%{box-shadow:0 0 8px 2px #22c55e4d}}@keyframes charging-flash{0%,to{opacity:1}50%{opacity:.5}}.telemetry-card .telemetry-icon{font-size:20px}.telemetry-card .telemetry-value{color:#1e293b;font-size:18px;font-weight:700}.telemetry-card .telemetry-label{color:#64748b;font-size:11px;letter-spacing:.3px;text-transform:uppercase}.telemetry-card .telemetry-subtext{color:#94a3b8;font-size:10px;margin-top:2px}.asset-tracker-info{margin-bottom:20px}.tracker-status-card{align-items:center;background:linear-gradient(135deg,#f0fdf4,#ecfdf5);border:1px solid #bbf7d0;border-radius:12px;display:flex;gap:14px;margin-bottom:16px;padding:16px}.tracker-icon{font-size:28px;line-height:1}.tracker-details{display:flex;flex-direction:column;gap:2px}.tracker-status{color:#166534;font-size:15px;font-weight:600}.tracker-type{color:#64748b;font-size:12px}.location-details{background:#f8fafc;border-radius:10px;margin-bottom:16px;padding:12px 16px}.location-row{align-items:center;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;padding:8px 0}.location-row:last-child{border-bottom:none}.location-label{color:#64748b;font-size:11px;letter-spacing:.3px;text-transform:uppercase}.location-value{color:#1e293b;font-family:SF Mono,Monaco,monospace;font-size:13px}.location-source{background:#dbeafe;border-radius:6px;color:#1e40af;font-size:10px;font-weight:600;padding:3px 8px}.agent-section{border-bottom:1px solid #e2e8f0;margin-bottom:24px;padding-bottom:24px}.agent-loading{align-items:center;background:#f8fafc;border-radius:12px;color:#64748b;display:flex;font-size:14px;gap:12px;padding:20px}.loading-spinner{border:2px solid #e2e8f0;height:20px;width:20px}.agent-brain-box{background:linear-gradient(135deg,#f8fafc,#f1f5f9);border:1px solid #e2e8f0;border-radius:12px;margin-bottom:16px;padding:16px}.brain-header{align-items:center;display:flex;gap:8px;margin-bottom:10px}.brain-icon{font-size:18px}.brain-title{color:#1e293b;flex:1 1;font-size:13px;font-weight:600}.risk-badge{border-radius:12px;font-size:10px;font-weight:700;letter-spacing:.5px;padding:4px 10px;text-transform:uppercase}.risk-badge.critical,.risk-badge.high{background:#fee2e2;color:#991b1b}.risk-badge.medium,.risk-badge.warning{background:#fef3c7;color:#92400e}.risk-badge.low{background:#dcfce7;color:#166534}.brain-text{color:#475569;font-size:14px;line-height:1.6;margin:0}.action-buttons{display:flex;flex-direction:column;gap:10px}.action-btn{align-items:center;border:none;border-radius:10px;cursor:pointer;display:flex;font-size:14px;font-weight:600;gap:8px;justify-content:center;padding:14px 20px;transition:all .2s}.action-btn.primary{background:linear-gradient(135deg,#6366f1,#4f46e5);color:#fff}.action-btn.primary:hover:not(:disabled){box-shadow:0 4px 16px #6366f166;transform:translateY(-1px)}.action-btn.secondary{background:#fff;border:1px solid #e2e8f0;color:#475569}.action-btn.secondary:hover:not(:disabled){background:#f8fafc;border-color:#cbd5e1}.action-btn:disabled{cursor:not-allowed;opacity:.8}.btn-spinner{animation:spin .8s linear infinite;height:16px;width:16px}.action-btn.secondary .btn-spinner{border-color:#6366f1 #0000001a #0000001a}.alert-details{margin-bottom:24px}.alert-info{background:#f8fafc;border-radius:12px;padding:16px}.info-row{align-items:flex-start;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;padding:8px 0}.info-row:last-child{border-bottom:none}.info-row.full{flex-direction:column;gap:6px}.info-label{color:#64748b;font-size:12px;letter-spacing:.3px;text-transform:uppercase}.info-value{color:#1e293b;font-size:14px;font-weight:500}.info-value.message{font-weight:400;line-height:1.5}.info-value.severity-critical{color:#dc2626}.info-value.severity-high{color:#f59e0b}.panel-footer{border-top:1px solid #e2e8f0;padding-top:16px}.last-update{font-size:12px}.last-update,.last-update.fresh{color:#94a3b8}.last-update.warning{color:#f59e0b;font-weight:600}.last-update.stale{color:#ef4444;font-weight:600}.sync-time{color:#cbd5e1;font-weight:400}@media (max-width:480px){.sheet-right{width:100%}.detail-panel{padding:20px 16px}.telemetry-grid{gap:8px;grid-template-columns:repeat(2,1fr)}.route-info{align-items:flex-start;flex-direction:column;gap:4px}.route-info .arrow{margin:-4px 0;transform:rotate(90deg)}}.history-section{border-top:1px solid #e2e8f0;padding:16px 20px}.history-controls{background:#f1f5f9;border-radius:8px;display:flex;gap:6px;margin-top:10px;padding:4px}.history-btn{background:#0000;border:none;border-radius:6px;color:#64748b;cursor:pointer;flex:1 1;font-size:12px;font-weight:600;padding:7px 0;transition:all .15s ease}.history-btn:hover:not(:disabled){background:#e2e8f0;color:#334155}.history-btn.active{background:#3b82f6;box-shadow:0 1px 4px #3b82f659;color:#fff}.history-btn:disabled{cursor:default;opacity:.5}.history-custom{align-items:center;display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.history-date-input{background:#fff;border:1px solid #cbd5e1;border-radius:6px;color:#334155;flex:1 1;font-size:11px;min-width:120px;padding:6px 8px}.history-date-input:focus{border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f626;outline:none}.history-arrow{color:#94a3b8;flex-shrink:0;font-size:14px}.history-go-btn{background:#3b82f6;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:12px;font-weight:600;padding:6px 16px;transition:background .15s}.history-go-btn:hover:not(:disabled){background:#2563eb}.history-go-btn:disabled{cursor:default;opacity:.5}.history-loading{gap:8px}.history-clear-btn,.history-loading{align-items:center;color:#64748b;display:flex;font-size:12px;margin-top:10px}.history-clear-btn{background:#fff;border:1px solid #e2e8f0;border-radius:6px;cursor:pointer;font-weight:500;gap:6px;justify-content:center;padding:7px 14px;transition:all .15s;width:100%}.history-clear-btn:hover{background:#fef2f2;border-color:#fca5a5;color:#dc2626}.history-stepper{align-items:center;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:10px;display:flex;gap:8px;margin:0 20px 4px;padding:12px 8px}.stepper-arrow{align-items:center;background:#fff;border:none;border-radius:8px;box-shadow:0 1px 3px #00000014;color:#334155;cursor:pointer;display:flex;flex-shrink:0;height:40px;justify-content:center;transition:all .12s ease;width:40px}.stepper-arrow:hover:not(:disabled){background:#3b82f6;box-shadow:0 2px 6px #3b82f64d;color:#fff}.stepper-arrow:disabled{box-shadow:none;cursor:default;opacity:.3}.stepper-center{flex:1 1;min-width:0;text-align:center}.stepper-date{color:#0f172a;font-size:14px;font-weight:700;line-height:1.2}.stepper-relative{color:#64748b;font-size:11px;margin-top:1px}.stepper-coords{color:#94a3b8;font-family:SF Mono,Fira Code,monospace;font-size:11px;margin-top:2px}.stepper-counter{color:#3b82f6;font-size:10px;font-weight:600;letter-spacing:.5px;margin-top:3px;text-transform:uppercase}.telemetry-card.historical{background:linear-gradient(135deg,#f8fafc,#f1f5f9);border-color:#93c5fd}.telemetry-card.historical .telemetry-label{color:#3b82f6;font-weight:500}.telemetry-card.historical .telemetry-icon{font-size:20px}.telemetry-card.historical .telemetry-value{font-size:18px}.detail-tabs{border-bottom:1px solid #e2e8f0;display:flex;gap:0;margin:0 -24px;padding:0 24px}.detail-tab{background:none;border:none;border-bottom:2px solid #0000;color:#64748b;cursor:pointer;font-size:13px;font-weight:500;padding:10px 20px;transition:all .15s}.detail-tab:hover{color:#334155}.detail-tab.active{border-bottom-color:#0f172a;color:#0f172a;font-weight:600}.reports-tab{padding:20px 24px}.reports-generate{align-items:flex-start;display:flex;gap:16px;justify-content:space-between}.reports-generate-title{color:#0f172a;font-size:15px;font-weight:600;margin:0 0 12px}.reports-lang-options{display:flex;flex-direction:column;gap:8px}.reports-checkbox{align-items:center;color:#334155;cursor:pointer;display:flex;font-size:13px;gap:8px;-webkit-user-select:none;user-select:none}.reports-checkbox.disabled{cursor:not-allowed;opacity:.4}.reports-checkbox input[type=checkbox]{accent-color:#0f172a;cursor:pointer;height:16px;width:16px}.reports-checkbox.disabled input{cursor:not-allowed}.reports-dropdown-wrap{position:relative}.reports-generate-btn{align-items:center;background:#16a34a;border:none;border-radius:8px;color:#fff;cursor:pointer;display:flex;font-size:14px;font-weight:600;gap:8px;padding:10px 20px;transition:background .15s;white-space:nowrap}.reports-generate-btn:hover{background:#15803d}.reports-dropdown{background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 8px 24px #0000001f;min-width:180px;overflow:hidden;position:absolute;right:0;top:calc(100% + 4px);z-index:10}.reports-dropdown button{background:none;border:none;color:#334155;cursor:pointer;display:block;font-size:13px;padding:10px 16px;text-align:left;width:100%}.reports-dropdown button:hover{background:#f1f5f9}.reports-divider{background:#e2e8f0;height:1px;margin:20px 0}.reports-history-title{color:#64748b;font-size:14px;font-weight:600;letter-spacing:.5px;margin:0 0 14px;text-transform:uppercase}.reports-list{display:flex;flex-direction:column;gap:2px}.reports-row{align-items:center;border-bottom:1px solid #f1f5f9;display:flex;justify-content:space-between;padding:12px 0}.reports-row:last-child{border-bottom:none}.reports-row-info{display:flex;flex-direction:column;gap:2px}.reports-row-label{color:#1e293b;font-size:13px;font-weight:500}.reports-row-units{color:#3b82f6;font-size:12px}.reports-download-btn{align-items:center;background:#fff;border:1px solid #d1d5db;border-radius:6px;color:#475569;cursor:pointer;display:flex;font-size:12px;font-weight:600;gap:6px;padding:6px 14px;transition:all .15s;white-space:nowrap}.reports-download-btn:hover{background:#f8fafc;border-color:#94a3b8}.active-risks-banner{background:#fef2f2;border:1px solid #fca5a5;border-left:4px solid #dc2626;border-radius:8px;margin:0 20px 8px;padding:12px 14px;transition:all .2s ease}.active-risks-banner.clickable{cursor:pointer}.active-risks-banner.clickable:hover{background:#fee2e2;border-color:#f87171;box-shadow:0 2px 8px #dc262626;transform:translateX(-2px)}.active-risks-banner.clickable:active{transform:translateX(0)}.active-risks-header{align-items:center;color:#991b1b;display:flex;font-size:13px;font-weight:700;gap:6px;letter-spacing:.04em;margin-bottom:8px;text-transform:uppercase}.active-risks-header svg{color:#dc2626;flex-shrink:0}.active-risks-header .nav-arrow{margin-left:auto;opacity:0;transform:translateX(-4px);transition:all .2s ease}.active-risks-banner.clickable:hover .nav-arrow{opacity:1;transform:translateX(0)}.risk-cta{border-top:1px dashed #fca5a5;color:#b91c1c;font-size:11px;font-weight:600;letter-spacing:.05em;margin-top:10px;opacity:.7;padding-top:8px;text-align:center;text-transform:uppercase;transition:opacity .2s ease}.active-risks-banner.clickable:hover .risk-cta{opacity:1}.risk-item{background:#fff;border-radius:6px;margin-bottom:4px;padding:8px 10px}.risk-item:last-child{margin-bottom:0}.risk-item.risk-high{border-left:3px solid #dc2626}.risk-item.risk-medium{border-left:3px solid #f59e0b}.risk-main{align-items:center;display:flex;justify-content:space-between}.risk-label{color:#1e293b;font-size:13px;font-weight:600}.risk-value{font-feature-settings:"tnum";color:#dc2626;font-size:15px;font-variant-numeric:tabular-nums;font-weight:700}.risk-time{color:#94a3b8;display:block;font-size:11px;margin-top:2px}.boarding-pass-card{background:#fff;border-left:4px solid #22c55e;border-radius:12px;box-shadow:0 1px 3px #00000014;margin-bottom:12px;overflow:hidden;transition:box-shadow .2s ease,transform .2s ease}.boarding-pass-card:hover{box-shadow:0 4px 12px #0000001f;transform:translateY(-1px)}.boarding-pass-card.border-critical{border-left-color:#ef4444}.boarding-pass-card.border-warning{border-left-color:#f59e0b}.boarding-pass-card.border-healthy{border-left-color:#22c55e}.boarding-pass-card.border-offline{border-left-color:#94a3b8}.boarding-pass-card.border-stale{border-left-color:#6b7280}.boarding-pass-card.border-provider-error{border-left-color:#9333ea}.bp-header{justify-content:space-between;padding:12px 14px 8px}.bp-header,.bp-header-left{align-items:center;display:flex}.bp-header-left{flex:1 1;gap:8px;min-width:0}.bp-provider-icon{flex-shrink:0;font-size:16px}.bp-device-name{color:#1e293b;font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bp-status-badge{align-items:center;border-radius:12px;cursor:default;display:flex;flex-shrink:0;font-size:11px;font-weight:600;gap:4px;letter-spacing:.3px;padding:4px 10px;text-transform:uppercase}.bp-status-badge .status-icon{font-size:12px}.bp-status-badge .status-sublabel{font-size:10px;font-weight:500;opacity:.8;text-transform:none}.bp-status-badge.status-healthy{background:#dcfce7;border:1px solid #bbf7d0;color:#16a34a}.bp-status-badge.status-warning{background:#fef3c7;border:1px solid #fcd34d;color:#d97706}.bp-status-badge.status-critical{animation:pulse-badge 2s ease-in-out infinite;background:#fee2e2;border:1px solid #fca5a5;color:#dc2626}.bp-status-badge.status-provider_error{background:#f3e8ff;border:1px solid #c4b5fd;color:#7c3aed;cursor:pointer}.bp-status-badge.status-provider_error:hover{background:#ede9fe}.bp-status-badge.status-stale{background:#f1f5f9;border:1px solid #cbd5e1;color:#64748b}.bp-status-badge.healthy{background:#dcfce7;color:#16a34a}.bp-status-badge.warning{background:#fef3c7;color:#d97706}.bp-status-badge.critical{animation:pulse-badge 2s ease-in-out infinite;background:#fee2e2;color:#dc2626}.bp-status-badge.offline{background:#f1f5f9;color:#64748b}@keyframes pulse-badge{0%,to{opacity:1}50%{opacity:.7}}.provider-error-banner{background:#fef3c7;border-bottom:1px solid #fcd34d;border-top:1px solid #fcd34d;color:#92400e;font-size:12px;padding:8px 14px}.bp-address{align-items:flex-start;display:flex;gap:8px;padding:0 14px 10px}.bp-address-icon{flex-shrink:0;font-size:14px;margin-top:1px}.bp-address-text{-webkit-line-clamp:2;-webkit-box-orient:vertical;color:#64748b;display:-webkit-box;font-size:12px;line-height:1.4;margin:0;overflow:hidden}.bp-metrics{background:#f8fafc;border-top:1px solid #f1f5f9;justify-content:space-between;padding:10px 14px}.bp-metrics,.bp-metrics-left{align-items:center;display:flex}.bp-metrics-left{flex-wrap:wrap;gap:16px}.bp-metrics-right{flex-shrink:0;margin-left:12px}.bp-metric{color:#374151;font-size:13px;font-weight:600;white-space:nowrap}.bp-metric.muted{color:#6b7280;font-weight:500}.bp-timestamp{color:#94a3b8;font-size:11px;white-space:nowrap}.bp-timestamp.fresh{color:#94a3b8}.bp-timestamp.warning{color:#f59e0b;font-weight:600}.bp-timestamp.stale{color:#ef4444;font-weight:600}.bp-timestamp.unknown{color:#cbd5e1;font-style:italic}.bp-actions{border-top:1px solid #e5e7eb;display:flex}.bp-action-btn{border:none;cursor:pointer;flex:1 1;font-size:13px;font-weight:600;padding:12px 16px;transition:background .15s ease}.bp-action-btn.details-btn{background:#fff;border-right:1px solid #e5e7eb;color:#64748b}.bp-action-btn.details-btn:hover{background:#f8fafc;color:#475569}.bp-action-btn.track-btn{background:#3b82f6;color:#fff}.bp-action-btn.track-btn:hover{background:#2563eb}.bp-action-btn.track-btn.critical{background:#ef4444}.bp-action-btn.track-btn.critical:hover{background:#dc2626}.bp-action-btn.track-btn:disabled{background:#cbd5e1;cursor:not-allowed}@media (max-width:480px){.bp-header{padding:10px 12px 6px}.bp-device-name{font-size:13px}.bp-address{padding:0 12px 8px}.bp-metrics{gap:12px;padding:8px 12px}.bp-metric{font-size:12px}.bp-action-btn{font-size:12px;padding:10px 12px}}.device-portal-grid{grid-gap:12px;display:grid;gap:12px;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));margin-top:12px}@media (max-width:640px){.device-portal-grid{grid-template-columns:1fr}}.chat-input-footer{background:linear-gradient(0deg,#fff 70%,#fff0);bottom:0;left:0;padding:10px 24px 22px;pointer-events:none;position:fixed;right:0;z-index:100}.chat-input-footer>*{pointer-events:auto}.controls-row{gap:12px;justify-content:space-between;margin:0 auto 10px;max-width:900px}.controls-group,.controls-row{align-items:center;display:flex}.controls-group{flex-shrink:0;gap:6px}.ctrl-pill{align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:18px;color:#64748b;cursor:pointer;display:inline-flex;font-size:12.5px;font-weight:500;gap:5px;padding:6px 13px;transition:all .15s ease;white-space:nowrap}.ctrl-pill:hover{background:#f8fafc;border-color:#cbd5e1;color:#334155}.ctrl-pill.ctrl-primary{background:#eff6ff;border-color:#bfdbfe;color:#1d4ed8}.ctrl-pill.ctrl-primary:hover{background:#dbeafe;border-color:#93c5fd}.ctrl-pill.ctrl-risks-active{animation:ctrl-risks-glow 2s ease-in-out infinite;background:#fef2f2;border-color:#ef4444;color:#dc2626}.ctrl-pill.ctrl-risks-active:hover{background:#fee2e2}.ctrl-risks-badge{align-items:center;background:#dc2626;border-radius:8px;color:#fff;display:inline-flex;font-size:10px;font-weight:700;height:16px;justify-content:center;line-height:1;min-width:16px;padding:0 4px}@keyframes ctrl-risks-glow{0%,to{box-shadow:0 0 4px #ef44444d}50%{box-shadow:0 0 14px #ef444480,0 0 4px #ef44444d}}.ctrl-pill.ctrl-provider-active{background:#eff6ff;border-color:#93c5fd;color:#2563eb}.dropdown-chevron{transition:transform .15s ease}.dropdown-chevron.open{transform:rotate(180deg)}.provider-dropdown-wrapper{position:relative}.provider-menu{animation:menuSlideUp .12s ease-out;background:#fff;border:1px solid #e2e8f0;border-radius:10px;bottom:calc(100% + 6px);box-shadow:0 8px 24px #0000001f;min-width:180px;padding:4px;position:absolute;right:0;z-index:200}@keyframes menuSlideUp{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.provider-item{align-items:center;background:#0000;border:none;border-radius:7px;color:#334155;cursor:pointer;display:flex;font-size:13px;font-weight:500;justify-content:space-between;padding:8px 12px;transition:background .1s;width:100%}.provider-item:hover{background:#f1f5f9}.provider-item.active{background:#eff6ff;color:#2563eb}.provider-count{background:#f1f5f9;border-radius:10px;color:#94a3b8;font-size:11px;font-weight:600;padding:1px 7px}.provider-item.active .provider-count{background:#dbeafe;color:#2563eb}.input-bar-container{margin:0 auto;max-width:900px}.input-bar{align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:50px;box-shadow:0 8px 32px #0000001f,0 2px 8px #0000000f;display:flex;gap:12px;padding:8px 8px 8px 20px;transition:all .3s ease}.input-bar:focus-within{border-color:#6366f1;box-shadow:0 8px 32px #6366f126,0 2px 8px #6366f11a}.input-icon-left{align-items:center;display:flex;flex-shrink:0}.sparkle-icon{animation:sparkle-pulse 2s ease-in-out infinite;color:#6366f1}@keyframes sparkle-pulse{0%,to{opacity:.7;transform:scale(1)}50%{opacity:1;transform:scale(1.1)}}.chat-input-field{background:#0000;border:none;color:#1e293b;flex:1 1;font-size:15px;min-width:0;outline:none}.chat-input-field::placeholder,.send-button{color:#94a3b8}.send-button{align-items:center;background:#e2e8f0;border:none;border-radius:50%;cursor:default;display:flex;flex-shrink:0;height:40px;justify-content:center;transition:all .2s ease;width:40px}.send-button.active{background:#6366f1;color:#fff;cursor:pointer}.send-button.active:hover{background:#4f46e5;transform:scale(1.05)}.input-hint{color:#94a3b8;font-size:11px;margin-top:6px;text-align:center}.command-center{display:flex;flex-direction:column;min-height:calc(100vh - 64px)}.hero-section{align-items:center;display:flex;flex:1 1;flex-direction:column;justify-content:center;margin:0 auto;max-width:720px;padding:40px 24px;width:100%}.status-pulse{font-size:15px;font-weight:500;margin-bottom:32px}.status-nominal{color:#16a34a}.status-alert{animation:pulse 2s ease-in-out infinite;color:#dc2626}@keyframes pulse{0%,to{opacity:1}50%{opacity:.7}}.command-form{margin-bottom:24px;width:100%}.command-input-wrapper{position:relative;width:100%}.command-input{background:#fff;border:1px solid #e2e8f0;border-radius:50px;box-shadow:0 4px 24px #0000000f;font-size:16px;outline:none;padding:20px 60px 20px 24px;transition:all .3s ease;width:100%}.command-input:focus{border-color:#6366f1;box-shadow:0 4px 24px #6366f126}.command-input::placeholder{color:#94a3b8}.command-submit{align-items:center;background:linear-gradient(135deg,#6366f1,#4f46e5);border:none;border-radius:50%;color:#fff;cursor:pointer;display:flex;font-size:20px;height:44px;justify-content:center;position:absolute;right:8px;top:50%;transform:translateY(-50%);transition:transform .2s,box-shadow .2s;width:44px}.command-submit:hover:not(:disabled){box-shadow:0 4px 12px #6366f166;transform:translateY(-50%) scale(1.05)}.command-submit:disabled{cursor:not-allowed;opacity:.6}.quick-actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin-bottom:48px}.action-chip{align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:24px;color:#475569;cursor:pointer;display:flex;font-size:14px;font-weight:500;gap:8px;padding:12px 20px;transition:all .2s}.action-chip:hover{background:#f8fafc;border-color:#cbd5e1;transform:translateY(-1px)}.action-chip.has-alerts{background:#fef2f2;border-color:#fecaca}.action-chip.has-alerts.glow-critical{animation:critical-glow 2s ease-in-out infinite;background:#fef2f2;border-color:#ef4444}@keyframes critical-glow{0%,to{box-shadow:0 0 4px #ef44444d}50%{box-shadow:0 0 14px #ef444480,0 0 4px #ef44444d}}.action-chip.has-alerts:hover{background:#fee2e2;border-color:#fca5a5}.action-chip.devices-chip{background:linear-gradient(135deg,#eef2ff,#e0e7ff);border-color:#a5b4fc;color:#4338ca}.action-chip.devices-chip:hover{background:linear-gradient(135deg,#e0e7ff,#c7d2fe);border-color:#818cf8;box-shadow:0 2px 8px #6366f133}.chip-badge{background:#dc2626;border-radius:10px;color:#fff;font-size:11px;font-weight:600;min-width:20px;padding:2px 8px;text-align:center}.stats-row{align-items:center;background:#fff;border-radius:16px;box-shadow:0 1px 3px #0000000d;display:flex;gap:24px;padding:16px 32px}.stat-item{flex-direction:column;gap:4px}.stat-value{font-size:20px}.stat-label{font-size:12px}.stat-divider{background:#e2e8f0;height:32px;width:1px}.status-active{color:#22c55e!important;font-size:16px;text-shadow:0 0 8px #22c55e80}.adaptive-content{flex:1 1;padding:24px}.map-content{max-width:100%;padding:0}.map-content .content-header{margin-bottom:16px;padding:0 24px}.content-container{margin:0 auto;max-width:1400px}.content-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:24px}.content-header h2{color:#1e293b;font-size:24px;font-weight:600;margin:0}.close-content{background:#fff;border:1px solid #e2e8f0;border-radius:8px;color:#64748b;cursor:pointer;font-size:14px;padding:8px 16px;transition:all .2s}.close-content:hover{background:#f8fafc;color:#1e293b}.devices-table{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000000d;overflow:hidden}.devices-table table{border-collapse:collapse;width:100%}.devices-table th{background:#f8fafc;border-bottom:1px solid #e2e8f0;color:#64748b;font-size:12px;font-weight:600;letter-spacing:.5px;padding:16px 20px;text-align:left;text-transform:uppercase}.devices-table td{border-bottom:1px solid #f1f5f9;color:#1e293b;font-size:14px;padding:16px 20px}.devices-table tr:last-child td{border-bottom:none}.devices-table tr:hover td{background:#fafafa}.device-name,.status-badge{font-weight:500}.status-badge{padding:4px 10px}.status-badge.in_transit{background:#dbeafe;color:#1e40af}.status-badge.delayed{background:#fef3c7;color:#92400e}.chat-container{height:calc(100vh - 180px);margin:0 auto;max-width:1400px;padding:0 24px}.chat-container,.chat-messages{display:flex;flex-direction:column}.chat-messages{flex:1 1;gap:16px;overflow-y:auto;padding-right:8px}.chat-messages-with-footer{padding-bottom:160px}.chat-message{border-radius:16px;font-size:15px;line-height:1.5;max-width:80%;padding:16px 20px}.chat-message.user{align-self:flex-end;background:linear-gradient(135deg,#6366f1,#4f46e5);border-bottom-right-radius:4px;color:#fff}.chat-message.assistant{align-self:flex-start;background:#fff;border:1px solid #e2e8f0;border-bottom-left-radius:4px;color:#1e293b;max-width:100%;width:100%}.map-placeholder{align-items:center;background:#fff;border:2px dashed #e2e8f0;border-radius:16px;display:flex;flex-direction:column;justify-content:center;padding:80px;text-align:center}.map-icon{font-size:64px;margin-bottom:16px}.map-placeholder p{color:#1e293b;font-size:18px;font-weight:500;margin:0 0 8px}.map-placeholder span{color:#64748b;font-size:14px}.message-text{margin-bottom:8px}.device-cards-grid,.device-portal-grid{display:flex;flex-direction:column;gap:16px;margin-top:16px;width:100%}.device-card{grid-gap:16px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;display:grid;gap:16px;grid-template-columns:1fr 1fr;padding:20px 24px;transition:all .2s;width:100%}.device-card:hover{border-color:#cbd5e1;box-shadow:0 2px 8px #0000000d}.device-card-header{align-items:center;display:flex;grid-column:1/-1;justify-content:space-between;margin-bottom:8px}.device-card-left,.device-card-right{display:flex;flex-direction:column;gap:6px}.device-provider{color:#6366f1;font-size:10px;font-weight:700;letter-spacing:.5px;margin-right:12px}.device-card-title{align-items:center;display:flex}.device-card-name{color:#1e293b;font-size:16px;font-weight:600}.device-status{border-radius:8px;font-size:11px;font-weight:500;padding:4px 12px}.device-status.in-transit{background:#dbeafe;color:#1e40af}.device-status.active{background:#dcfce7;color:#166534}.device-status.delayed{background:#fef3c7;color:#92400e}.device-card-location{align-items:flex-start;color:#475569;display:flex;font-size:13px;gap:8px;margin-bottom:6px}.device-card-location svg{color:#ef4444;flex-shrink:0;margin-top:2px}.location-text{line-height:1.4}.device-card-street{color:#64748b;font-size:13px;margin-bottom:6px;padding-left:22px}.device-card-destination{color:#64748b;font-size:12px;margin-bottom:10px;padding-left:20px}.device-card-destination .label{color:#10b981}.device-card-stats{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:8px}.device-card-stats .stat{background:#fff;border:1px solid #e2e8f0;border-radius:6px;color:#475569;font-size:12px;padding:4px 8px}.device-card-coords{font-family:monospace;margin-bottom:6px}.device-card-coords,.device-card-time{color:#94a3b8;font-size:11px}@media (max-width:640px){.hero-section{padding:24px 16px}.command-input{font-size:15px;padding:16px 52px 16px 16px}.command-submit{height:40px;right:6px;width:40px}.quick-actions{flex-direction:column;width:100%}.action-chip{justify-content:center;width:100%}.stats-row{justify-content:space-around;width:100%}}.scroll-to-bottom-fab{align-items:center;animation:fadeInUp .2s ease forwards;background:#fff;border:1px solid #e2e8f0;border-radius:50%;bottom:100px;box-shadow:0 2px 8px #0000001f;cursor:pointer;display:flex;height:36px;justify-content:center;left:50%;margin-left:-18px;position:absolute;transition:background .2s ease,box-shadow .2s ease,bottom .2s ease;width:36px;z-index:100}.scroll-to-bottom-fab:hover{background:#f8fafc;bottom:102px;box-shadow:0 4px 12px #00000026}.scroll-to-bottom-fab:active{bottom:100px}.scroll-to-bottom-fab svg{color:#64748b}@keyframes fadeInUp{0%{bottom:90px;opacity:0}to{bottom:100px;opacity:1}}.chat-container{position:relative}.device-view-toggle{background:#f1f5f9;border-radius:10px;display:flex;gap:4px;padding:4px}.device-view-toggle .toggle-btn{align-items:center;background:#0000;border:none;border-radius:8px;color:#64748b;cursor:pointer;display:flex;font-size:13px;font-weight:500;gap:6px;padding:8px 16px;transition:all .2s ease}.device-view-toggle .toggle-btn:hover{color:#0f172a}.device-view-toggle .toggle-btn.active{background:#fff;box-shadow:0 1px 3px #0000001a;color:#0f172a}.status-badge.inventory{background:#fef3c7;color:#92400e}.connections-page{background:#f8fafc;min-height:100vh;padding:0 0 60px}.connections-loading{align-items:center;display:flex;flex-direction:column;gap:16px;justify-content:center;min-height:60vh}.loading-spinner{animation:spin .8s linear infinite;border:3px solid #e5e7eb;border-radius:50%;border-top-color:#6366f1;height:40px;width:40px}@keyframes spin{to{transform:rotate(1turn)}}.connections-header{background:linear-gradient(135deg,#1e293b,#334155);color:#fff;padding:32px 48px}.header-content{margin:0 auto;max-width:1200px}.back-btn{background:#ffffff1a;border:1px solid #fff3;border-radius:8px;color:#fff;cursor:pointer;font-size:14px;margin-bottom:16px;padding:8px 16px;transition:all .2s}.back-btn:hover{background:#fff3}.connections-header h1{font-size:32px;font-weight:700;margin:0 0 8px}.connections-header p{color:#94a3b8;font-size:16px;margin:0}.connections-stats{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(4,1fr);margin:-24px auto 32px;max-width:1200px;padding:0 48px}.stat-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 1px 3px #0000001a;padding:20px;text-align:center}.stat-card.active{background:linear-gradient(180deg,#ecfdf5,#fff);border-color:#10b981}.stat-card.demo{background:linear-gradient(180deg,#fffbeb,#fff);border-color:#f59e0b}.stat-value{color:#1e293b;display:block;font-size:32px;font-weight:700}.stat-card.active .stat-value{color:#10b981}.stat-card.demo .stat-value{color:#f59e0b}.stat-label{color:#64748b;font-size:13px;margin-top:4px}.integrations-grid{grid-gap:24px;display:grid;gap:24px;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));margin:0 auto;max-width:1200px;padding:0 48px}.integration-card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;display:flex;flex-direction:column;overflow:hidden;transition:all .2s}.integration-card:hover{box-shadow:0 4px 12px #00000014;transform:translateY(-2px)}.integration-card.active{border-color:#10b981}.integration-card.demo{border-color:#f59e0b}.integration-header{align-items:center;border-bottom:1px solid #f1f5f9;display:flex;gap:14px;padding:20px}.provider-icon{align-items:center;border-radius:12px;display:flex;font-size:24px;height:48px;justify-content:center;width:48px}.provider-info h3{color:#1e293b;font-size:18px;font-weight:600;margin:0 0 4px}.status-badge{border-radius:12px;display:inline-block;font-size:12px;font-weight:600;padding:3px 8px}.status-badge.active{background:#dcfce7;color:#166534}.status-badge.demo{background:#fef3c7;color:#92400e}.status-badge.inactive{background:#f1f5f9;color:#64748b}.status-badge.warning{background:#fef3c7;color:#b45309}.status-alert{border-radius:8px;font-size:13px;font-weight:500;margin:0 16px;padding:10px 14px}.status-alert.warning{background:#fef3c7;border:1px solid #fcd34d;color:#92400e}.status-alert.error{background:#fee2e2;border:1px solid #fca5a5;color:#991b1b}.integration-body{flex:1 1;padding:20px}.integration-label{color:#6366f1;font-size:14px;font-weight:600;margin-bottom:8px}.integration-description{color:#64748b;font-size:14px;line-height:1.5;margin:0 0 16px}.sensors-section{margin-bottom:16px}.section-label{color:#94a3b8;display:block;font-size:12px;font-weight:600;margin-bottom:8px;text-transform:uppercase}.sensors-list{display:flex;flex-wrap:wrap;gap:6px}.sensor-tag{background:#f1f5f9;border-radius:6px;color:#475569;font-size:12px;font-weight:500;padding:4px 10px}.integration-stats{display:flex;flex-wrap:wrap;gap:12px}.stat-item{align-items:center;color:#64748b;display:flex;font-size:13px;gap:6px}.stat-icon{font-size:14px}.integration-footer{align-items:center;background:#f8fafc;border-top:1px solid #f1f5f9;display:flex;justify-content:space-between;padding:16px 20px}.configure-btn,.sync-btn{align-items:center;border-radius:8px;cursor:pointer;display:flex;font-size:14px;font-weight:600;gap:8px;padding:10px 20px;transition:all .2s}.sync-btn{background:#1e293b;border:none;color:#fff}.sync-btn:hover:not(:disabled){background:#334155}.sync-btn:disabled{background:#94a3b8;cursor:not-allowed}.configure-btn{background:#fff;border:1px solid #e5e7eb;color:#64748b}.configure-btn.active{background:#0891b2;border:1px solid #0891b2;color:#fff;cursor:pointer}.configure-btn.active:hover{background:#0e7490}.configure-btn:disabled{cursor:not-allowed;opacity:.6}.setup-modal-overlay{align-items:center;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0f172a99;display:flex;inset:0;justify-content:center;padding:24px;position:fixed;z-index:1000}.setup-modal{background:#fff;border-radius:16px;box-shadow:0 25px 50px #00000026;max-width:480px;overflow:hidden;width:100%}.setup-modal-header{align-items:flex-start;border-bottom:1px solid #f1f5f9;display:flex;justify-content:space-between;padding:24px 24px 16px}.setup-modal-title{gap:12px}.setup-icon,.setup-modal-title{align-items:center;display:flex}.setup-icon{border-radius:12px;flex-shrink:0;font-size:22px;height:44px;justify-content:center;width:44px}.setup-modal-title h2{color:#0f172a;font-size:18px;font-weight:600;margin:0}.setup-modal-title p{color:#64748b;font-size:13px;margin:4px 0 0}.setup-close-btn{background:none;border:none;color:#94a3b8;cursor:pointer;font-size:20px;line-height:1;padding:4px}.setup-close-btn:hover{color:#475569}.setup-form{padding:20px 24px 24px}.form-group{margin-bottom:16px}.form-group label{color:#374151;display:block;font-size:13px;font-weight:500;margin-bottom:6px}.form-group input{background:#fafafa;border:1px solid #d1d5db;border-radius:8px;box-sizing:border-box;color:#1e293b;font-size:14px;padding:10px 14px;transition:border-color .2s,box-shadow .2s;width:100%}.form-group input:focus{background:#fff;border-color:#0891b2;box-shadow:0 0 0 3px #0891b21a;outline:none}.form-group input::placeholder{color:#9ca3af}.form-hint{color:#64748b;display:block;font-size:12px;margin-top:4px}.setup-form-actions{border-top:1px solid #f1f5f9;display:flex;gap:12px;justify-content:flex-end;margin-top:24px;padding-top:16px}.setup-cancel-btn{background:#fff;border:1px solid #e5e7eb;border-radius:8px;color:#64748b;cursor:pointer;font-size:14px;font-weight:500;padding:10px 20px}.setup-cancel-btn:hover{background:#f8fafc}.setup-submit-btn{align-items:center;background:#0891b2;border:none;border-radius:8px;color:#fff;cursor:pointer;display:flex;font-size:14px;font-weight:600;gap:8px;padding:10px 24px;transition:background .2s}.setup-submit-btn:hover:not(:disabled){background:#0e7490}.setup-submit-btn:disabled{cursor:not-allowed;opacity:.7}.btn-spinner{animation:spin .6s linear infinite;border:2px solid #ffffff4d;border-radius:50%;border-top-color:#fff;height:14px;width:14px}.demo-notice{color:#f59e0b;font-size:12px;font-style:italic}.webhook-info{display:flex;flex-direction:column;gap:4px}.webhook-badge{align-items:center;background:linear-gradient(135deg,#06b6d4,#0891b2);border-radius:8px;color:#fff;display:inline-flex;font-size:12px;font-weight:600;gap:6px;padding:6px 12px}.webhook-url{background:#f1f5f9;border-radius:4px;color:#64748b;font-family:Monaco,Menlo,monospace;font-size:11px;padding:4px 8px}.connections-help{margin:48px auto 0;max-width:1200px;padding:0 48px;text-align:center}.connections-help h3{color:#1e293b;font-size:18px;margin:0 0 8px}.connections-help p{color:#64748b;font-size:14px;margin:0}@media (max-width:768px){.connections-header{padding:24px}.connections-stats{grid-template-columns:repeat(2,1fr);margin:-16px auto 24px;padding:0 24px}.integrations-grid{grid-template-columns:1fr;padding:0 24px}.connections-help{padding:0 24px}}
/*# sourceMappingURL=main.8dd13301.css.map*/