:root{color:#242424;background:#f3f2f1;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}html,body,#root{height:100%}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100%;overflow:auto}button,input{font:inherit}button{cursor:pointer}.app-shell{display:grid;grid-template-columns:312px minmax(0,1fr);height:100dvh;overflow:hidden;background:#f3f2f1}.fleet-sidebar{display:flex;flex-direction:column;gap:20px;height:100dvh;min-height:0;padding:22px 18px;overflow:hidden;color:#fff;background:#201f1e;border-right:1px solid rgba(50,49,48,.28)}.sidebar-title{display:flex;align-items:center;gap:12px;min-height:56px}.sidebar-title p,.sidebar-title strong{display:block;margin:0}.sidebar-title p{color:#c8c6c4;font-size:.78rem;font-weight:700;text-transform:uppercase}.brand-mark{width:36px;height:36px;padding:7px;border:1px solid rgba(0,120,212,.35);border-radius:8px;object-fit:contain;background:#fff}.scenario-list{display:grid;gap:14px;min-height:0;overflow:auto;padding-right:4px}.scenario-group{display:grid;gap:8px}.scenario-group h2{margin:0;color:#fff;font-size:.95rem}.scenario-trigger{display:grid;grid-template-columns:1fr;gap:12px;width:100%;min-height:72px;padding:10px 12px;border:1px solid rgba(255,255,255,.14);border-radius:8px;color:#fff;text-align:left;background:#ffffff0e}.scenario-trigger:hover,.scenario-trigger[aria-expanded=true]{border-color:#0078d4c2;background:#0078d433}.scenario-label{display:flex;align-items:center;min-width:0;gap:10px}.scenario-label strong,.scenario-label small{display:block}.scenario-label small{margin-top:2px;color:#c8c6c4;font-size:.74rem}.accordion-icon{width:10px;height:10px;border-right:2px solid #c8c6c4;border-bottom:2px solid #c8c6c4;transform:rotate(-45deg);transition:transform .16s ease}.scenario-trigger[aria-expanded=true] .accordion-icon{transform:rotate(45deg)}.scenario-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;width:100%}.scenario-counts span{display:inline-grid;min-width:0;min-height:24px;place-items:center;border-radius:6px;color:#1b1a19;font-size:.66rem;font-weight:800;white-space:nowrap}.count-normal{background:#bad80a}.count-warning{background:#ffb900}.count-critical{color:#fff;background:#d13438}.device-list{display:grid;gap:6px;max-height:min(52vh,520px);overflow:auto}.device-row{display:grid;grid-template-columns:12px minmax(0,1fr);align-items:center;gap:10px;width:100%;min-height:46px;padding:8px 10px;border:1px solid rgba(255,255,255,.12);border-radius:8px;color:#fff;text-align:left;background:#ffffff09}.device-row:hover,.device-row.is-selected{border-color:#0078d4d1;background:#0078d438}.device-row strong,.device-row small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.device-row small{color:#c8c6c4;font-size:.74rem}.status-dot,.alert-dot{width:10px;height:10px;border-radius:50%}.status-normal{background:#107c10}.status-anomaly_detected{background:#ffb900}.status-alarm_active,.alert-threshold{background:#d13438}.alert-anomaly{background:#ffb900}.alert-combined{background:#5c2d91}.dashboard-shell{display:grid;grid-template-rows:auto minmax(184px,264px) minmax(0,1fr);gap:16px;min-width:0;height:100dvh;min-height:0;overflow:auto;padding:24px}.dashboard-header,.status-alerts,.timeline-panel{border:1px solid #edebe9;border-radius:8px;background:#fff}.dashboard-header{display:flex;align-items:center;justify-content:space-between;height:auto;min-height:0;padding:22px 24px}.dashboard-kicker{margin:0 0 4px;color:#605e5c;font-size:.78rem;font-weight:800;text-transform:uppercase}h1,h2,p{margin-top:0}h1{margin-bottom:0;color:#201f1e;font-size:2rem;line-height:1.05}.source-note{display:grid;gap:2px;color:#605e5c;text-align:right}.source-note strong{color:#201f1e;font-size:1.35rem;font-weight:850}.source-note span{font-size:.92rem}.source-note a,.docs-back-link{color:#0078d4;font-weight:800;text-decoration:none}.source-note a:hover,.docs-back-link:hover{color:#005a9e;text-decoration:underline}.status-alerts{display:grid;grid-template-columns:minmax(220px,.72fr) minmax(0,1.28fr);gap:14px;min-height:0;padding:14px}.status-card{display:grid;align-content:center;height:100%;min-height:0;padding:22px;border-radius:8px}.status-card p{margin-bottom:8px;color:#201f1ead;font-weight:800;text-transform:uppercase}.status-card strong{color:#201f1e;font-size:clamp(1.8rem,4vw,3.2rem);line-height:1}.status-card span{margin-top:12px;color:#201f1eb8;font-weight:700}.tone-normal{background:#dff6dd}.tone-warning{background:#fff4ce}.tone-critical{background:#fde7e9}.alert-card{display:grid;grid-template-rows:26px minmax(0,1fr);min-width:0;min-height:0;padding:14px 16px;border-radius:8px;background:#faf9f8}.section-heading,.timeline-header{display:flex;align-items:center;justify-content:space-between;gap:16px}.section-heading h2,.timeline-header h2{margin:0;color:#201f1e;font-size:1rem;line-height:1.1}.section-heading span{display:inline-grid;min-width:30px;min-height:28px;place-items:center;border-radius:999px;color:#fff;font-weight:850;background:#0078d4}.alert-list{display:grid;align-content:start;grid-auto-rows:46px;gap:6px;min-height:0;margin-top:8px;overflow:hidden}.alert-row{display:grid;grid-template-columns:12px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:0;padding:7px 12px;border:1px solid #edebe9;border-radius:8px;background:#fff}.alert-row strong,.alert-row small{display:block;line-height:1.08}.alert-row small,.alert-row>span:last-child,.no-alerts,.timeline-header p{margin:0;color:#605e5c;font-size:.84rem}.timeline-panel{display:grid;grid-template-rows:auto minmax(220px,1fr);gap:12px;min-height:0;overflow:auto;overscroll-behavior:contain;padding:16px 20px}.playback-controls{display:grid;grid-template-columns:auto auto auto minmax(240px,340px);align-items:center;gap:10px}.playback-controls button{min-width:72px;min-height:38px;border:1px solid #c8c6c4;border-radius:8px;color:#201f1e;font-weight:800;background:#fff}.playback-controls button:first-child{color:#fff;border-color:#0078d4;background:#0078d4}.playback-controls button[aria-pressed=true]{color:#fff;border-color:#005a9e;background:#005a9e}.playback-controls label{display:grid;gap:4px;color:#605e5c;font-size:.78rem;font-weight:800;text-transform:uppercase}.playback-controls input{width:100%;accent-color:#0078d4}.chart-frame{height:100%;min-height:220px;overflow:hidden;border:1px solid #edebe9;border-radius:8px;background:linear-gradient(180deg,#fff,#faf9f8)}.chart-frame svg{display:block;width:100%;height:100%;min-height:0}.chart-clip{transition:width .12s linear}.grid-lines line{stroke:#edebe9;stroke-width:1}.chart-area{fill:#0078d414}.chart-path{fill:none;stroke:#201f1e;stroke-linecap:round;stroke-linejoin:round;stroke-width:4}.event-marker line{stroke:#d1343852;stroke-dasharray:5 5}.event-marker circle,.current-marker{fill:#d13438;stroke:#fff;stroke-width:3}.current-marker{transition:cx .12s linear,cy .12s linear}.event-marker text,.axis-label{fill:#605e5c;font-weight:750}.event-marker text{paint-order:stroke;stroke:#ffffffe6;stroke-linejoin:round;stroke-width:5px;font-size:13px}.axis-label{font-size:18px}.empty-state{display:grid;min-height:100vh;place-items:center;text-align:center}.docs-shell{min-height:100dvh;padding:32px;background:#f3f2f1}.docs-page{display:grid;gap:18px;width:min(1120px,100%);margin:0 auto}.docs-hero,.docs-section,.docs-note{border:1px solid #edebe9;border-radius:8px;background:#fff}.docs-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:28px 32px}.docs-section,.docs-note{padding:24px 28px}.docs-section h2,.docs-note strong{display:block;margin:0 0 12px;color:#201f1e;font-size:1.12rem;line-height:1.2}.docs-section p,.docs-note p{max-width:76ch;margin-bottom:0;color:#323130;line-height:1.62}.docs-section p+p,.docs-section pre+p{margin-top:14px}.docs-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.docs-definition-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0 0}.docs-definition-list div{min-width:0;padding:14px 16px;border:1px solid #edebe9;border-radius:8px;background:#faf9f8}.docs-definition-list dt{margin-bottom:5px;color:#201f1e;font-weight:850}.docs-definition-list dd{margin:0;color:#605e5c;line-height:1.45}.docs-section pre{overflow:auto;margin:14px 0 0;padding:16px;border:1px solid #edebe9;border-radius:8px;color:#f3f2f1;background:#201f1e;line-height:1.5}.docs-table{width:100%;margin-top:14px;border-collapse:collapse;overflow:hidden;border:1px solid #edebe9;border-radius:8px}.docs-table th,.docs-table td{padding:12px 14px;border-bottom:1px solid #edebe9;color:#323130;text-align:left}.docs-table th{color:#201f1e;background:#faf9f8}.docs-table tr:last-child td{border-bottom:0}.docs-note{border-color:#0078d43d;background:#eff6fc}@media (max-width: 1040px){body{overflow:auto}.app-shell{grid-template-columns:1fr;height:auto;min-height:100dvh;overflow:visible}.fleet-sidebar{height:auto;min-height:auto;overflow:visible}.dashboard-shell{grid-template-rows:auto auto auto;height:auto;overflow:visible}.device-list{max-height:320px}.status-alerts,.timeline-panel{min-height:auto}.chart-frame{height:340px}.docs-grid,.docs-definition-list{grid-template-columns:1fr}}@media (max-width: 760px){.dashboard-shell,.docs-shell{padding:14px}.docs-hero{align-items:flex-start;flex-direction:column;padding:22px}.docs-section,.docs-note{padding:20px}.dashboard-header,.timeline-header{align-items:flex-start;flex-direction:column}.section-heading{align-items:center;justify-content:flex-start;gap:10px}.alert-card{grid-template-rows:auto minmax(72px,auto)}.alert-list{grid-auto-rows:auto;overflow:visible}.timeline-panel{gap:14px;padding:16px}.timeline-header{gap:14px}.dashboard-header{height:auto;min-height:132px}.source-note{text-align:left}.status-alerts,.scenario-list,.playback-controls{grid-template-columns:1fr}.playback-controls,.playback-controls button{width:100%}.chart-frame{height:330px}.status-card{min-height:132px}}
