:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#173343;background:#edf1f3}*{box-sizing:border-box}body{margin:0}.app{display:grid;grid-template-columns:310px 1fr;min-height:100svh}aside{background:#112c3b;color:#ecf4f7;padding:28px 24px}.brand{display:flex;gap:12px;align-items:center}.brand b{font-size:21px}.brand span:not(.logo){display:block;font-size:10px;letter-spacing:2px;color:#a2bbc7;margin-top:3px}.logo{font-size:29px;background:#284d5e;width:44px;height:44px;display:grid;place-items:center;border-radius:12px}h1{font-size:35px;line-height:1.14;letter-spacing:-1.5px;margin:38px 0 12px}.intro{color:#b4c8d1;line-height:1.6;font-size:14px}.upload{display:block;border-radius:9px;background:#d2f0e6;color:#12392f;text-align:center;padding:14px;font-weight:650;cursor:pointer;margin-top:26px}.hint{font-size:11px;color:#b4c8d1;text-align:center}.section-title{font-size:11px;letter-spacing:1.7px;display:flex;justify-content:space-between;margin:28px 0 12px;color:#b4c8d1}.drives{display:grid;gap:8px}.drive{border:1px solid #34505e;color:#e9f3f7;text-align:left;padding:13px;background:transparent;border-radius:9px;cursor:pointer;width:100%}.drive.active{background:#e8f2f5;color:#173343;border-color:#e8f2f5}.drive strong{display:block;font-size:14px;margin-bottom:5px}.drive span{font-size:12px;opacity:.8}.storage{font-size:12px;line-height:1.6;color:#b4c8d1;margin-top:22px}#status{font-size:12px;line-height:1.5;color:#d2f0e6}main{padding:28px 30px;min-width:0}header{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:18px}.eyebrow{font-size:10px;letter-spacing:1.7px;color:#536d7c;font-weight:700}h2{font-size:25px;letter-spacing:-.7px;margin:6px 0}header p{font-size:13px;color:#546d7b;margin:0}button{font-family:inherit}button:focus-visible,label:focus-visible,input:focus-visible{outline:3px solid #2ca88b;outline-offset:3px}.fit{padding:10px 13px;background:white;border:1px solid #cfdadd;border-radius:8px;color:#173343;cursor:pointer;white-space:nowrap}.mapwrap{position:relative;border-radius:14px;overflow:hidden;box-shadow:0 3px 15px #17334310}#map{height:56svh;min-height:360px;background:#e4ebee}.legend{position:absolute;bottom:22px;left:50%;transform:translateX(-50%);z-index:500;display:flex;gap:13px;background:#fff;padding:11px 15px;border-radius:9px;font-size:11px;box-shadow:0 2px 12px #17334320;white-space:nowrap}.legend span{display:flex;align-items:center;gap:5px}.legend i{width:9px;height:9px;border-radius:50%}.timeline{background:#fff;border:1px solid #dce4e8;border-radius:13px;padding:18px 22px;margin-top:16px}.reading{display:flex;align-items:center;justify-content:space-between}#speed{font-size:31px;font-variant-numeric:tabular-nums}.unit{font-size:14px;color:#536d7c}.time-detail{text-align:right;font-variant-numeric:tabular-nums}.time-detail b{display:block;font-size:17px}.time-detail span{display:block;font-size:12px;color:#536d7c;margin-top:4px}#scrubber{width:100%;accent-color:#226f75;margin:17px 0 9px}.timeline-foot{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#536d7c}.timeline-foot button{background:#edf3f5;border:0;border-radius:6px;color:#173343;padding:7px 14px;cursor:pointer}.map-options{display:flex;align-items:center;gap:12px;margin:0 0 14px}.map-options button{flex-shrink:0;font-size:12px;padding:9px 12px;border:1px solid #c5d3d9;border-radius:7px;background:white;color:#173343;cursor:pointer}.map-options span,.notes{font-size:11px;color:#536d7c;line-height:1.6}.notes{margin:12px 0 0}.leaflet-popup-content{line-height:1.6;font-family:inherit}.endpoint{background:#173343;color:white;border:2px solid white;width:25px;height:25px;border-radius:50%;display:grid;place-items:center;font-size:11px;font-weight:bold}@media(min-width:1200px){main{padding:30px 42px}#map{height:59svh}}@media(max-width:760px){.app{display:flex;flex-direction:column}aside{padding:18px}h1,.intro,.hint,.storage{display:none}.brand{display:inline-flex}.upload{float:right;display:inline-block;padding:11px;margin:0;font-size:13px}.section-title{margin:20px 0 10px}.drives{display:flex;overflow-x:auto;gap:8px;padding-bottom:4px}.drive{flex:0 0 165px}.drive strong{font-size:12px}.drive span{font-size:11px}#status{clear:both;margin-top:10px}main{padding:16px}header{margin-bottom:12px}h2{font-size:21px}.eyebrow{font-size:9px}.fit{font-size:12px;padding:9px}#map{height:47svh;min-height:320px}.legend{gap:9px;padding:10px;font-size:10px;bottom:20px}.timeline{padding:15px}.map-options{align-items:flex-start}.map-options span{font-size:10px}}
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:16px}.stats>div{background:white;padding:14px;border-radius:10px;border:1px solid #dce4e8}.stats span,.sample-data span{display:block;font-size:11px;color:#536d7c}.stats b{display:block;font-size:20px;margin-top:7px;font-variant-numeric:tabular-nums}.panel{background:white;border:1px solid #dce4e8;border-radius:13px;padding:18px 22px;margin-top:16px}.panel h3{margin:0 0 14px;font-size:17px}.panel p,details{font-size:12px;line-height:1.7;color:#536d7c}.panel button,.play-controls button,.restore{background:#edf3f5;border:1px solid #cbd9df;border-radius:7px;padding:9px 12px;color:#173343;font-size:12px;cursor:pointer}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;font-size:12px;text-align:left;white-space:nowrap}th{font-weight:600;color:#536d7c}td,th{padding:11px 8px;border-bottom:1px solid #e5edf0}td:first-child{white-space:normal;min-width:140px}details{margin-top:16px}summary{cursor:pointer;font-weight:600}.play-controls{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin-top:12px;font-size:12px}.play-controls select{font:inherit;padding:7px;border-radius:6px;border:1px solid #cbd9df;background:#fff;max-width:240px}.sample-data{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:12px;margin:16px 0}.sample-data b{font-size:12px;display:block;margin-top:4px;overflow-wrap:anywhere}#graph{width:100%;height:auto;max-height:230px;touch-action:pan-y;cursor:crosshair}#graph text{font-size:12px;fill:#536d7c}.hint-light{font-size:11px;color:#536d7c;line-height:1.6}button:disabled{opacity:.5;cursor:default}@media(max-width:760px){.stats{grid-template-columns:repeat(2,1fr)}.stats b{font-size:18px}.panel{padding:15px}.play-controls{gap:8px}.legend{max-width:95%;white-space:normal}}

.timeline-foot button{min-height:36px}.play-controls button{min-height:40px}.sensor-detail .sample-data{margin-top:0}

.drive-actions{display:flex;align-items:center;gap:12px;margin-top:16px}.delete-drive{border:1px solid #c99393;border-radius:7px;color:#893a3a;background:white;padding:10px 14px;cursor:pointer}.drive-actions span{font-size:11px;color:#536d7c;line-height:1.5}.undo-delete{margin:6px 0;background:#d2f0e6;color:#12392f;border:0;border-radius:6px;padding:8px 14px;cursor:pointer}

.quality-filter{margin-top:16px;background:#fff;border:1px solid #dce4e8;border-radius:10px;padding:12px 16px;font-size:12px}.quality-filter input{accent-color:#226f75}.quality-filter p{font-size:11px;color:#536d7c;line-height:1.6;margin-bottom:0}.quality-warning{font-size:12px;color:#893a3a;line-height:1.5}.quality-warning:empty{display:none}

.try-demo{width:100%;padding:11px;margin-top:10px;border:1px solid #6d929f;border-radius:8px;color:#e9f3f7;background:transparent;cursor:pointer}.welcome{background:#d2f0e6;border-radius:12px;padding:22px;margin-bottom:20px}.welcome p{font-size:14px;line-height:1.6}.welcome a,.panel a,.beta-footer a{color:#216d72}.panel li{font-size:12px;color:#536d7c;line-height:1.8;margin-bottom:6px}.panel form{display:grid;gap:12px}.panel form label{display:grid;gap:6px;font-size:12px;color:#536d7c}.panel form textarea,.panel form select{font:inherit;padding:10px;border:1px solid #cbd9df;border-radius:7px;width:100%;color:#173343;background:#fff}.panel form button{justify-self:start}.honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.beta-footer{font-size:12px;color:#536d7c;padding:22px 0}.usage-toggle{font-size:12px}[hidden]{display:none!important}@media(max-width:760px){.try-demo{display:inline-block;width:auto;font-size:12px;margin-top:10px;margin-right:8px}.welcome{padding:17px}.welcome h2{font-size:24px}.welcome p{font-size:13px}}

.brand-home{color:inherit;text-decoration:none}.brand-home:focus-visible{outline:3px solid #d2f0e6;outline-offset:5px;border-radius:8px}
