:root{color-scheme:dark;--bg:#0a0d13;--panel:#131a24;--line:#26303e;--text:#f2f5fa;--muted:#9ba9bc;--blue:#48a8ff;--cyan:#75d7ff}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 75% 0,#172638 0,transparent 380px),var(--bg);color:var(--text);font:15px -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;padding:env(safe-area-inset-top) 18px calc(92px + env(safe-area-inset-bottom));-webkit-tap-highlight-color:transparent}main{max-width:760px;margin:auto}header{display:flex;align-items:center;justify-content:space-between;padding:22px 0 20px}.brand{font-size:20px;letter-spacing:1.6px;font-weight:400;display:flex;align-items:center;gap:4px}.brand b{font-weight:750}.brand i{width:7px;height:20px;transform:skew(-22deg);background:#66ccff;display:inline-block}.brand i+i{background:#1769c6;margin-right:8px}.eyebrow{font-size:10px;font-weight:650;letter-spacing:2px;color:var(--muted)}header .eyebrow{margin-top:5px;font-size:9px}h1,h2,h3,p{margin:0}h1{font-size:34px;font-weight:650;letter-spacing:-1.6px}h2{font-size:21px;font-weight:650;letter-spacing:-.5px}h3{font-size:15px;font-weight:650;margin-bottom:12px}p{line-height:1.5}.pagehead{margin:14px 0 24px}.pagehead h1{margin:7px 0}.pagehead p,.hero p{color:var(--muted)}.hero{position:relative;overflow:hidden;border-radius:20px;background:radial-gradient(ellipse at 55% 60%,#294967 0,#172535 48%,#101722 78%);border:1px solid #334354;min-height:258px;padding:22px 20px 14px}.hero-copy{position:relative;z-index:1}.hero h1{font-size:32px;margin:6px 0}.car{display:block;width:100%;max-height:210px;margin:-8px 0 -7px;filter:drop-shadow(0 12px 12px #02070c)}.hero-bottom{display:flex;justify-content:space-between;align-items:center;color:#b1c2d3;font-size:9px;font-weight:650;letter-spacing:1.3px}.dot{display:inline-block;width:6px;height:6px;background:#67c7ff;border-radius:50%;margin-right:5px}.sectionhead{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:25px 0 12px}.sectionhead.compact{margin:0 0 12px}.sectionhead h3{margin:0}.card{background:linear-gradient(145deg,#17202d,#111721 70%);border:1px solid var(--line);border-radius:16px;padding:17px;margin:12px 0}.card.empty{color:var(--muted);padding:25px 17px;text-align:center}.metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.metric{background:#101620;border:1px solid #26303d;border-radius:12px;padding:12px;min-width:0}.metric small{display:block;color:var(--muted);font-size:11px;line-height:1.4}.metric strong{display:block;font-size:clamp(20px,5.3vw,30px);letter-spacing:-.9px;line-height:1.2;font-variant-numeric:tabular-nums;margin:5px 0 0;overflow-wrap:anywhere}.metric em{font-size:11px;font-style:normal;color:var(--muted);font-weight:500;letter-spacing:0}.actions{display:flex;gap:9px;align-items:center;margin:12px 0}.actions>*{flex:1;min-width:0}button,input,select{font:inherit}button{border:none;cursor:pointer;min-height:44px;border-radius:10px;font-weight:650;color:var(--text);background:#263344;padding:11px 12px}button:disabled{opacity:.5;cursor:default}.primary{background:linear-gradient(115deg,#1577d9,#2456a5);color:white;border:1px solid #468ee3;box-shadow:0 5px 20px #0e4d8c25}.secondary{background:#1b2533;border:1px solid #344256}.link{background:none;color:#80bdff;padding:0;min-height:30px;font-size:13px}.iconbtn{background:#1a2534;border:1px solid #334254;font-size:20px;width:44px}.muted,.hint{color:var(--muted)}.hint{font-size:12px;line-height:1.5;margin:9px 0}.card p+p{margin-top:10px}select,input:not([type=range]):not([type=file]){background:#0d141e;border:1px solid #344153;border-radius:9px;color:var(--text);padding:11px;max-width:100%;min-width:0}select{font-size:13px}.form input{width:100%;margin-top:5px}.form label{font-size:12px;color:var(--muted)}.form{display:grid;gap:10px}.form button{width:100%}#sensor{width:100%;margin-bottom:10px}canvas{width:100%;height:220px;display:block}#trend{height:150px}#route{height:235px;background:radial-gradient(ellipse,#192b40,#0e1621);border-radius:10px}.instrument{text-align:center}.dial{max-width:265px;margin:15px auto 0;position:relative}.dial svg{width:100%;display:block}.dialval{position:absolute;inset:30% 0 0}.dialval strong{display:block;font-size:59px;font-weight:600;letter-spacing:-3px;line-height:1}.dialval span{color:var(--muted);font-size:12px}.time{display:flex;justify-content:space-between;font-size:12px;color:#b9c9dc;margin-top:16px;font-variant-numeric:tabular-nums}input[type=range]{width:100%;accent-color:var(--blue);height:30px;margin:4px 0}.instrument .actions #reset,.instrument .actions select{flex:0 0 auto}.legend{display:flex;gap:8px;flex-wrap:wrap;font-size:10px;color:var(--muted);margin:10px 0}.legend i{display:inline-block;width:8px;height:8px;border-radius:2px;margin-right:3px}.triprow{display:flex;align-items:center;justify-content:space-between;gap:10px}.triprow button{background:none;text-align:left;flex:1;padding:0;min-width:0}.triprow strong{display:block;overflow-wrap:anywhere;font-size:15px}.triprow .muted{font-size:12px;margin-top:5px;display:block}.triprow .trash{flex:0 0 44px;text-align:center;color:#ff9e9e;background:#2c2029}.tripstats{display:flex;flex-wrap:wrap;gap:14px;margin-top:13px;color:#c1d0e0;font-size:12px}.pill{font-size:10px;text-transform:uppercase;letter-spacing:.7px;padding:5px 8px;border-radius:5px;background:#23364b;color:#b2d8ff;white-space:nowrap}.pill.missing{background:#262a32;color:#a6afbd}.diagtop{display:flex;align-items:center;justify-content:space-between;gap:7px;margin-bottom:9px}.diagtop h3{margin:0}.signalrow{border-top:1px solid #2a3442;padding:10px 0 0;margin-top:10px}.signalrow button{background:none;padding:0;text-align:left;min-height:32px;font-size:13px;color:#a6d2ff;width:100%;overflow-wrap:anywhere}.signalrow small{color:var(--muted);font-size:11px;display:block}.logrow{margin-top:12px;border-top:1px solid #293341;padding-top:12px;display:flex;justify-content:space-between;gap:8px}.logrow button{background:#2c2029;color:#ff9e9e;font-size:12px;min-height:36px}.logrow p{font-size:12px;color:var(--muted);overflow-wrap:anywhere}#notice:not(:empty){border:1px solid #34516e;background:#15273b;border-radius:10px;padding:12px;margin:0 0 12px;font-size:13px;overflow-wrap:anywhere}#prefs button{margin-top:10px;width:100%}footer{text-align:center;color:#637286;font-size:10px;letter-spacing:2px;padding:24px}nav{position:fixed;z-index:10;bottom:0;left:0;right:0;display:flex;justify-content:center;gap:0;background:#101620ed;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border-top:1px solid #2b3543;padding:6px 6px calc(8px + env(safe-area-inset-bottom))}nav button{flex:1;max-width:152px;display:flex;flex-direction:column;align-items:center;gap:4px;background:none;border-radius:7px;padding:7px 1px;color:#94a3b6;font-size:10px;font-weight:550;min-height:48px}nav button svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}nav button.active{color:#65b5ff;background:#172a40}button:focus-visible,select:focus-visible,input:focus-visible{outline:2px solid #8bc7ff;outline-offset:2px}[hidden]{display:none!important}@media(min-width:650px){.hero{padding:28px 30px}.car{max-height:270px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}body{padding-left:24px;padding-right:24px}}
