:root{color-scheme:dark;--bg:#10161a;--panel:#182125;--border:#324044;--muted:#aab9b7;--ink:#edf5f1;--mint:#75efb5;--dark:#10291e;font:16px/1.5 "IBM Plex Sans Thai","Noto Sans Thai","Leelawadee UI",Tahoma,system-ui,sans-serif}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;background:var(--bg);color:var(--ink)}.shell{max-width:1180px;margin:auto;padding:0 32px 56px}header{display:flex;align-items:center;gap:16px;padding:22px 0;border-bottom:1px solid var(--border)}.brand{display:flex;align-items:center;gap:11px;font-family:Inter,Arial,sans-serif;font-size:21px;letter-spacing:-.7px}.brand b{color:var(--mint)}.mark{display:grid;place-items:center;width:33px;height:33px;background:var(--mint);color:#12311f;font:bold 36px/1 Arial;border-radius:9px}.linkstate{margin-left:auto;color:var(--muted);font-size:.9rem}button,.pick,select,input{font:inherit}button,.pick{border:1px solid transparent;border-radius:8px;background:var(--mint);color:var(--dark);font-weight:650;padding:8px 15px;cursor:pointer}button:hover,.pick:hover{filter:brightness(1.08)}button:focus-visible,summary:focus-visible,select:focus-visible,input:focus-visible,.pick:focus-within,.filebox:focus-within{outline:2px solid #9effd3;outline-offset:3px}button:disabled{opacity:.45;cursor:default}.ghost,nav button,.switch button,.option{background:transparent;border-color:var(--border);color:var(--ink)}button.textbtn{background:none;border:0;color:var(--mint);padding:4px;font-size:.875rem}nav{display:flex;gap:6px;overflow-x:auto;padding:16px 0 2px}nav button{border-color:transparent;color:var(--muted);white-space:nowrap}nav button[aria-current=page]{background:#25372f;color:var(--mint)}.heading,.cardhead,.footline,.actions,.switch,.editor{display:flex;align-items:center;gap:12px}.heading{justify-content:space-between;flex-wrap:wrap;margin:19px 0 16px}.cardhead,.footline{justify-content:space-between;gap:10px}.cardhead{flex-wrap:wrap}.footline{flex-wrap:wrap}.id,.pill{font: .85rem/1.4 "IBM Plex Mono",monospace;color:#b7d4c9;padding:6px 10px;border:1px solid var(--border);border-radius:7px}.heading h1{font-size:clamp(1.8rem,4vw,2.7rem);line-height:1.25;margin:0}h2{font-size:1.13rem;margin:0;font-weight:650}.page{display:grid;gap:14px}.dashboard{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:14px}.card,dialog{background:var(--panel);border:1px solid var(--border);border-radius:14px;padding:20px}.signal{background:linear-gradient(123deg,#1b3028,#172124 82%)}.big{display:flex;align-items:baseline;gap:12px;margin:12px 0 8px}.big strong{font:600 clamp(2.9rem,8vw,5.5rem)/1.15 "IBM Plex Mono",ui-monospace,monospace;letter-spacing:-.06em}.big span,.sub,small,.footline,.metrics>div,dt,.empty{color:var(--muted)}.sub,small,.footline,.empty{font-size:.875rem}.sub{margin:8px 0 0}.switch{display:inline-flex;padding:3px;border:1px solid var(--border);border-radius:8px;gap:0}.switch button{font-size:.9rem;border:0;border-radius:5px;padding:3px 11px;color:var(--muted);font-weight:550}.switch button.on{background:#32493f;color:#a0ffd2}.switch.small{margin:12px 0 0}.lamps{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));padding:8px 0 14px;gap:4px}.lamp{position:relative;text-align:center;font: .82rem/1.4 ui-monospace,monospace;color:var(--muted)}.lamp i{display:block;width:clamp(12px,2vw,20px);height:clamp(12px,2vw,20px);margin:0 auto 10px;border-radius:50%;background:var(--c);opacity:.46}.lamp.current i{opacity:1;box-shadow:0 0 12px var(--c)}.lamp.current:after{content:"";position:absolute;top:calc(clamp(12px,2vw,20px) + 2px);left:50%;transform:translateX(-50%);border:4px solid transparent;border-top:0;border-bottom:5px solid var(--ink)}.lamps.warning .current i{animation:shift 1s step-end infinite}@keyframes shift{50%{opacity:.18}}@media(prefers-reduced-motion:reduce){.lamps.warning .current i{animation:none;outline:3px double var(--ink)}}.footline{border-top:1px solid var(--border);padding-top:8px}.mixture dl{margin:9px 0}.mixture dl>div{display:flex;align-items:center;justify-content:space-between;padding:8px 0;border-bottom:1px solid var(--border)}dt small{display:inline-block;margin-left:7px}dd,.metrics strong,.sensor b{font:600 1.15rem/1.5 ui-monospace,monospace;color:var(--ink)}dd{margin:0}.plot canvas,#mapChart{display:block;width:100%;height:clamp(185px,24vw,290px);margin-top:8px}.sensors,.metrics,.filegrid,.tripform{display:grid;gap:10px}.sensors{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:12px}.sensor{display:flex;flex-direction:column;text-align:left;padding:10px 12px;background:#141c1f;border:1px solid var(--border);border-radius:8px;color:var(--muted);font-weight:500}.metrics{grid-template-columns:repeat(auto-fit,minmax(130px,1fr));margin:14px 0}.metrics strong{display:block;font-size:1.3rem}label{display:grid;gap:4px;color:var(--muted)}input,select{padding:7px 10px;border:1px solid var(--border);border-radius:6px;background:#11191b;color:var(--ink);max-width:100%;min-width:0}select{appearance:none;padding-right:30px;background:#11191b linear-gradient(45deg,transparent 50%,#aab9b7 51%) calc(100% - 15px) center/5px 5px no-repeat}dialog{width:min(430px,calc(100% - 28px));color:var(--ink);box-shadow:0 15px 70px #0009}dialog::backdrop{background:#071114bb}.option{display:grid;text-align:left;gap:4px;width:100%;margin:10px 0}.pick,.filebox{position:relative;overflow:hidden}.pick input,.filebox input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.pick{display:inline-block}.filegrid,.tripform{grid-template-columns:repeat(auto-fit,minmax(120px,1fr));margin:15px 0}.filebox{padding:12px;border:1px dashed #55786b;border-radius:8px;color:var(--ink)}.filebox span{color:var(--mint);overflow-wrap:anywhere;font-size:.9rem}.scroll{overflow:auto;max-height:430px}.scroll table{border-collapse:collapse;width:100%;font-size:.9rem}.scroll td,.scroll th{border-bottom:1px solid var(--border);padding:7px;text-align:left}.mapgrid td,.mapgrid th{text-align:right;white-space:nowrap}.mapgrid button{background:#253a32;color:var(--ink);border:1px solid transparent;font: .87rem ui-monospace,monospace;padding:6px 9px;min-width:44px}.mapgrid .sel{border-color:white}.mapgrid .cursor{background:#4dB58b;color:#09241b}.editor,.actions{flex-wrap:wrap;margin-top:12px}.editor{align-items:end}.editor input{width:130px}.item{display:flex;align-items:center;gap:8px;justify-content:space-between;border-bottom:1px solid var(--border);padding:12px 0;flex-wrap:wrap}.item span{overflow-wrap:anywhere}.item small{display:block}.item button{padding:4px 9px}.item .actions{margin:0;gap:6px}.tripform label{font-size:.9rem}progress{width:100%;accent-color:var(--mint)}summary{cursor:pointer}.card p{max-width:82ch}#toast{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);background:#ddf7e9;color:#12291d;max-width:min(580px,92vw);width:max-content;padding:10px 16px;border-radius:10px;z-index:5;box-shadow:0 7px 24px #0009}#editFields{display:grid;gap:10px;margin:16px 0}.muted{color:var(--muted)}@media(max-width:720px){.shell{padding:0 12px 30px}header{padding:13px 0;gap:9px}.dashboard{grid-template-columns:1fr}.card{padding:15px}.sensors{grid-template-columns:repeat(2,minmax(0,1fr))}nav{gap:0;padding-top:10px}nav button{font-size:.91rem;padding:7px 9px}.heading{margin:12px 0}.brand{font-size:19px}.metrics{grid-template-columns:repeat(auto-fit,minmax(100px,1fr))}}@media(max-width:370px){.brand{font-size:16px}.linkstate{font-size:.76rem}header button{padding:6px 9px}}

.mapgrid .cursor:before{content:"▴";margin-right:3px}.scroll small{display:block}a{color:var(--mint)}

:root{--mint:#ff6769;--dark:#240e0f;--bg:#100f13;--panel:#201e24;--border:#423d46}
:root[data-theme=ice]{--mint:#79cfff;--dark:#092331;--bg:#0c141c;--panel:#17232f;--border:#354557}
:root[data-theme=green]{--mint:#75efb5;--dark:#10291e;--bg:#10161a;--panel:#182125;--border:#324044}
:root[data-font=compact] h1,:root[data-font=compact] h2,:root[data-font=compact] .brand{font-family:"Barlow Condensed","Arial Narrow",Tahoma,sans-serif;font-weight:900;letter-spacing:-.045em}
:root[data-font=mono]{font-family:"IBM Plex Mono",ui-monospace,monospace}
.brandlogo{width:48px;height:48px;object-fit:contain;border-radius:10px}header{gap:8px}.signal{background:linear-gradient(125deg,color-mix(in srgb,var(--mint) 12%,var(--panel)),var(--panel) 82%)}
nav button[aria-current=page],.switch button.on{color:var(--mint);background:color-mix(in srgb,var(--mint) 14%,var(--panel))}
.shell:has(#map:not([hidden])){max-width:1600px}.mapgrid{min-width:max-content}.mapgrid td,.mapgrid th{padding:1px!important;border:1px solid var(--border)}.mapgrid th{background:var(--panel);padding:5px!important;position:sticky;top:0;z-index:1}.mapgrid th:first-child{left:0}.mapgrid button{width:100%;border-radius:0;background:var(--cell,#293032)}.mapgrid .cursor{outline:2px solid #fff;outline-offset:-2px;background:var(--mint);color:var(--dark)}.mapgrid .cursor:before{content:"✚";font-weight:900}#mapChart{height:clamp(260px,38vw,490px);touch-action:none}#liveChart.rotatable{touch-action:none}
@media(max-width:500px){header{flex-wrap:wrap}.brandlogo{width:33px;height:33px}.brand{gap:5px}.brand span{font-size:15px}header button{padding:6px 9px}}

.mapgrid .traceLine:not(.cursor){box-shadow:inset 0 -2px 0 var(--mint)}
@font-face{font-family:LocalVision;src:local("FC Vision")}html[data-font=vision],html[data-font=vision] :is(input,button,select,h1,h2,summary){font-family:UserVision,LocalVision,Tahoma,system-ui,sans-serif}nav{overflow-x:auto}nav button{white-space:nowrap}#tree{width:100%;min-height:6rem}#maptable{max-height:65vh;overflow:auto}.mapgrid button{font-variant-numeric:tabular-nums;font-size:.85rem;min-width:3.3rem;padding:.32rem}.mapgrid thead th{z-index:2}.mapgrid tbody th{left:0}.introOverlay{position:fixed;inset:0;background:#09090b;z-index:1000}.introOverlay iframe{width:100%;height:100%;border:0}.introOverlay button{position:absolute;right:1rem;top:1rem}#guide details{padding:.8rem 0;border-bottom:1px solid var(--border)}#guide summary{cursor:pointer;font-weight:bold}input[type=checkbox]{width:auto}#atPreview{max-height:22rem}
@font-face{font-family:GaugeThai;src:url(thai.ttf) format("truetype");font-weight:400;font-display:swap}@font-face{font-family:GaugeThai;src:url(thai-bold.ttf) format("truetype");font-weight:700;font-display:swap}
:root{font-family:GaugeThai,system-ui,sans-serif}html[data-font=modern],html[data-font=modern] :is(button,input,select,h1,h2,h3,summary,output,.brand,.id,.lamp,.big strong,.sub,.mapgrid){font-family:GaugeThai,system-ui,sans-serif;font-variant-numeric:tabular-nums}html[data-font=vision],html[data-font=vision] :is(input,button,select,h1,h2,summary){font-family:UserVision,LocalVision,GaugeThai,system-ui,sans-serif}
.lamps{gap:3px}.lamp i{width:100%;height:18px;border-radius:2px;opacity:.22;background:linear-gradient(145deg,var(--c),color-mix(in srgb,var(--c) 55%,#1c2530));background-color:var(--c)}.lamp.lit i{opacity:.84}.lamp.current i{opacity:1;outline:2px solid white}.lamp.current:after{top:19px}.scopeChoices,#brushBar{display:flex;flex-wrap:wrap;gap:.6rem}.scopeChoices label,#brushBar label{padding:.4rem .65rem;border:1px solid var(--border);border-radius:6px}.scopeChoices label{display:inline-flex;align-items:center;gap:.45rem;color:var(--ink)}#scopePlots{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr));gap:12px}#scopePlots .card{min-width:0;margin:0}#scopePlots canvas{width:100%;height:200px}#brushBar{margin:12px 0}#mapChart{touch-action:none}#mapChart.painting{cursor:crosshair}

@font-face{font-family:pick0;src:url(modern.ttf)}html[data-font="modern"]{--chosen:pick0,GaugeThai,sans-serif}
@font-face{font-family:pick1;src:url(face1.ttf)}html[data-font="face1"]{--chosen:pick1,LoopThai,sans-serif}
@font-face{font-family:pick2;src:url(face2.ttf)}html[data-font="face2"]{--chosen:pick2,SerifThai,sans-serif}
@font-face{font-family:pick3;src:url(face3.ttf)}html[data-font="face3"]{--chosen:pick3,GaugeThai,sans-serif}
@font-face{font-family:pick4;src:url(face4.ttf)}html[data-font="face4"]{--chosen:pick4,LoopThai,sans-serif}
@font-face{font-family:pick5;src:url(face5.ttf)}html[data-font="face5"]{--chosen:pick5,SerifThai,sans-serif}
@font-face{font-family:"Open Sans Condensed";src:url(face6.ttf) format("truetype");font-weight:700;font-display:swap}html[data-font="face6"]{--chosen:"Open Sans Condensed",GaugeThai,sans-serif}
@font-face{font-family:pick7;src:url(face7.ttf)}html[data-font="face7"]{--chosen:pick7,LoopThai,sans-serif}
@font-face{font-family:pick8;src:url(face8.ttf)}html[data-font="face8"]{--chosen:pick8,SerifThai,sans-serif}
@font-face{font-family:pick9;src:url(face9.ttf)}html[data-font="face9"]{--chosen:pick9,GaugeThai,sans-serif}
@font-face{font-family:LoopThai;src:url(LoopThai.ttf)}
@font-face{font-family:SerifThai;src:url(SerifThai.ttf)}
@font-face{font-family:LocalFC0;src:local("FC Vision Compressed")}html[data-font="fc0"]{--chosen:LocalFC0,GaugeThai,sans-serif}
@font-face{font-family:LocalFC1;src:local("FC Vision Condensed")}html[data-font="fc1"]{--chosen:LocalFC1,GaugeThai,sans-serif}
@font-face{font-family:LocalFC2;src:local("FC Vision Expanded")}html[data-font="fc2"]{--chosen:LocalFC2,GaugeThai,sans-serif}
@font-face{font-family:LocalFC3;src:local("FC Vision ExtraExpanded")}html[data-font="fc3"]{--chosen:LocalFC3,GaugeThai,sans-serif}
@font-face{font-family:LocalFC4;src:local("FC Vision Wide")}html[data-font="fc4"]{--chosen:LocalFC4,GaugeThai,sans-serif}
@font-face{font-family:LocalFC5;src:local("FC Vision")}html[data-font="vision"]{--chosen:LocalFC5,GaugeThai,sans-serif}
html[data-font] body,html[data-font] body :is(input,button,select,summary,h1,h2,h3,strong,.brand,.sub,.id,.big strong,.mapgrid,.lamp,output,dd,.sensor b,.dialFace text){font-family:var(--chosen,GaugeThai),system-ui,sans-serif}
.shell:has(#scope:not([hidden])){max-width:1680px}#combined{width:100%;height:clamp(320px,53vh,680px);display:block}#scopePlots{grid-template-columns:repeat(auto-fit,minmax(min(100%,560px),1fr))}#scopePlots canvas{height:clamp(260px,32vh,420px)}.master th,.master td{padding:.55rem .85rem;font-variant-numeric:tabular-nums}.master td:not(:first-child){text-align:right}
.bootScreen{position:fixed;inset:0;z-index:1100;overflow:hidden;isolation:isolate;display:grid;place-items:center;background:radial-gradient(ellipse at 50% 46%,#28141b 0,#101017 39%,#080b10 72%);color:#f2f2f6}
.bootScreen:before{position:absolute;content:"";inset:0;z-index:-1;background-image:linear-gradient(90deg,#9dabbe10 1px,transparent 1px),linear-gradient(#9dabbe10 1px,transparent 1px);background-size:36px 36px;mask-image:radial-gradient(ellipse,#000,transparent 75%)}
.bootStage{width:min(70vw,320px);text-align:center;animation:bootReveal .55s ease-out both}
.bootCore{position:relative;width:144px;height:144px;display:grid;place-items:center;margin:0 auto 26px}.bootCore img{width:82px;height:82px;border-radius:21%;box-shadow:0 0 40px #ff284631}
.bootOrbit,.bootOrbit:after{position:absolute;inset:0;border-radius:50%;content:""}.bootOrbit{background:repeating-conic-gradient(from 45deg,#d75260 0 1deg,transparent 1deg 9deg);mask-image:radial-gradient(transparent 65%,black 66%,black 69%,transparent 70%);animation:telemetry 12s linear infinite}
.bootCore:after{content:"";position:absolute;inset:8px;border-radius:50%;border:1px solid #6a495256;border-top-color:#fd6072;border-left-color:#fd6072;animation:telemetry 3s ease-in-out infinite}
html[data-font] .bootStage h1{font-family:var(--chosen,GaugeThai),system-ui,sans-serif;font-size:clamp(25px,5vw,36px);font-weight:450;letter-spacing:-.055em;margin:0 0 26px}.bootStage h1 strong{color:#fff;font:inherit;font-weight:760}
.bootTrack{height:2px;background:#2d2d38}.bootTrack i{display:block;width:100%;height:100%;background:linear-gradient(90deg,#a52038,#ff6979,#fff);box-shadow:0 0 12px #fe3e6a66;transform-origin:left;transform:scaleX(0)}
.bootMeter{display:flex;align-items:center;justify-content:space-between;margin-top:10px;color:#b4aeb6;font-size:12px}.bootMeter output{font-variant-numeric:tabular-nums}
html[data-font] .bootSkip{position:absolute;bottom:env(safe-area-inset-bottom,0px);left:env(safe-area-inset-left,0px);padding:13px 17px;min-height:44px;font:500 13px var(--chosen,GaugeThai),system-ui,sans-serif;letter-spacing:.04em;color:#c5c3cb;background:transparent;border:0;border-radius:0;box-shadow:none}.bootSkip:focus:not(:focus-visible){outline:none}.bootSkip:focus-visible{outline:0;text-decoration:underline}
@keyframes telemetry{to{transform:rotate(360deg)}}@keyframes bootReveal{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.bootStage,.bootOrbit,.bootCore:after{animation:none}}
.shell:has(#home:not([hidden])),.shell:has(#live:not([hidden])){max-width:1400px}
.shell:has(#home:not([hidden])) nav{display:none}
.launchGrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:12px 0 28px}
.launchTile{position:relative;isolation:isolate;overflow:hidden;min-width:0;display:flex;align-items:flex-start;justify-content:flex-end;flex-direction:column;text-align:left;aspect-ratio:1.32;padding:clamp(16px,2vw,30px);border:1px solid #393c48;border-radius:14px;background:linear-gradient(145deg,#21232c,#14161d 85%);color:#f4f4f7;transition:transform .16s,border-color .16s}
.launchTile:hover,.launchTile:focus-visible{transform:translateY(-2px);border-color:var(--mint)}.tileIcon{display:grid;place-items:center;width:44px;height:44px;border-radius:11px;background:#ffffff08;color:#d2d7e2;margin-bottom:auto}.tileIcon svg{width:29px;height:29px}
.tile-live{background:radial-gradient(ellipse at 105% 0%,#ba3b4c60,transparent 65%),linear-gradient(145deg,#40212a,#20181f);border-color:#ad5265}.tile-live .tileIcon{color:#ff94a3;background:#fb536520}.tile-scope .tileIcon{color:#63dfd3}.tile-map .tileIcon{color:#b19cff}.tile-trip .tileIcon{color:#f6c16c}
.tileName{display:block;font-weight:780;font-size:clamp(19px,2.2vw,31px);line-height:1.15;letter-spacing:-.035em;margin:10px 0 4px}.tileDesc{font-size:.88rem;color:#c4c6cf;font-weight:400;white-space:normal}
.instrumentGrid{display:grid;grid-template-columns:1fr 1.18fr 1fr;align-items:stretch;gap:12px}.instrument{min-width:0;position:relative;border:1px solid #343944;border-radius:16px;padding:18px 6px 0;background:radial-gradient(ellipse at 50% 100%,#20232c,#10131a 76%);text-align:center}.instrument h2{margin:0;font-size:.96rem;color:var(--tone);letter-spacing:.12em;text-transform:uppercase}.dialFace{position:relative;max-width:390px;margin:auto}.dialFace svg{display:block;width:100%;height:auto}.dialFace svg path{fill:none}.dialFace .dialTrack{stroke:#2e3440;stroke-width:4}.dialFace .dialArc{stroke:var(--tone);stroke-width:5}.dialFace .major{stroke:#b7c1d1;stroke-width:2}.dialFace .minor{stroke:#596471;stroke-width:1.4}.dialFace text{fill:#bfc6d2;font:10px system-ui,sans-serif;text-anchor:middle;dominant-baseline:middle}.dialFace .needle{fill:var(--tone)}.hub{fill:var(--tone);stroke:#303746;stroke-width:3}.dialNumber{position:absolute;top:62%;width:100%;pointer-events:none}.dialNumber strong,.dialNumber small{display:block;line-height:1.2}.dialNumber strong{font-size:clamp(22px,3.6vw,55px);font-variant-numeric:tabular-nums;color:#f9faff;letter-spacing:-.06em}.dialNumber small{color:#bfc8d5;font-size:.78rem}
.sensorBank{margin:22px 0}.sensorBank h2{font-size:1.15rem}.sensorBank .sensors{grid-template-columns:repeat(auto-fit,minmax(min(100%,156px),1fr))}.sensorBank .sensor{border:1px solid #363944;border-left:3px solid var(--tileTone);border-radius:7px;padding:12px;background:#191b23;gap:5px;color:#cdd2dd}.sensorBank .sensor b{color:var(--tileTone);font-variant-numeric:tabular-nums}
@media(max-width:720px){.launchGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.launchTile{aspect-ratio:1.35;padding:14px}.tileIcon{width:34px;height:34px}.tileIcon svg{width:24px;height:24px}.tileDesc{font-size:.8rem}.instrumentGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.meter-rpm{grid-column:1/-1;grid-row:1}.meter-rpm .dialFace{max-width:280px}.meter-rpm .dialNumber strong{font-size:39px}.instrument{padding-top:10px}.sensorBank .sensors{grid-template-columns:repeat(2,minmax(0,1fr))}.dialNumber small{font-size:.66rem}}
@media(prefers-reduced-motion:reduce){.launchTile{transition:none}}
.launchTile{aspect-ratio:1}.shell:has(#home:not([hidden])){max-width:1150px}
.connectHub #homeStatus{font-size:.9rem;color:var(--muted)}.connectHub #homeStatus.online{color:#71e8b5}.connectHub p{margin:4px 0 14px;font-variant-numeric:tabular-nums}.hardwareList{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.hardwareList button{display:grid;gap:3px;background:#202530;color:var(--ink);border:1px solid var(--border);text-align:left}.hardwareList small{font-size:.8rem;font-weight:400;color:#b6c7d1}.hardwareList button:focus-visible{outline:2px solid var(--mint)}#verifyResult{overflow-wrap:anywhere}@media(max-width:560px){.hardwareList{grid-template-columns:1fr}.hardwareList button{display:flex;align-items:center;justify-content:space-between}}

/* AutoPulse workspace */
:root {
  --bg: #0c0d14;
  --panel: #181a24;
  --border: #343644;
  --ink: #f2f2fa;
  --muted: #b0b2c2;
  --mint: #b3a1ff;
  --dark: #201436;
  --well: #101119;
  --radius: 13px;
}
:root[data-theme=red] {
  --bg: #100c0f;
  --panel: #19161b;
  --well: #100e12;
  --border: #403138;
  --muted: #c1b6bd;
  --mint: #ff4448;
  --dark: #15070a;
  --laser: #ff2133;
}
:root[data-theme=ice] { --well: #0d151e }
:root[data-theme=green] { --well: #0d1617 }
body {
  min-height: 100vh;
  background: radial-gradient(ellipse at 74% 0%,color-mix(in srgb,var(--mint) 6%,var(--bg)),transparent 55%),var(--bg);
}
.shell, .shell:has(.page:not([hidden])) { max-width: 1560px; padding: 0 clamp(14px,2.8vw,44px) 50px }
header { min-height: 70px; gap: 12px; padding: 12px 0; border-color: var(--border) }
.brand { gap: 10px; font-size: 21px; line-height: 1.15; letter-spacing: -.045em }
.brandlogo { height: 40px; width: 40px; border-radius: 10px; object-fit: cover }
.brand span { font-weight: 600 }
.brand b { color: var(--ink); font-weight: 850 }
header button, .pick, .editor button, .actions button { min-height: 40px }
.linkstate, .id, #homeStatus, .featureSource {
  display: inline-flex; align-items: center; gap: 7px; font-size: .82rem; font-weight: 550;
  color: var(--muted); background: var(--well); border: 1px solid var(--border); border-radius: 7px;
  padding: 4px 9px; line-height: 1.5; font-variant-numeric: tabular-nums;
}
.linkstate::before {
  content: ''; width: 7px; height: 7px; flex: none; border-radius: 50%; background: #9495a6;
}
.linkstate[data-connection=online]::before { background: #64e9b0 }
.linkstate[data-connection=demo]::before { background: #ffcb72 }
.linkstate[data-connection=linking]::before { background: #8fbdff }
#homeStatus.online { color: #7bf1bb }
.workspaceNav, .shell:has(#home:not([hidden])) .workspaceNav { display: flex }
.workspaceNav button {
  display: inline-flex; align-items: center; gap: 10px; text-align: left; border-radius: 8px;
  font-size: .93rem; font-weight: 550; color: var(--muted); min-height: 42px; padding: 8px 11px;
}
.workspaceNav button:hover { background: var(--panel); color: var(--ink) }
.workspaceNav button[aria-current=page] {
  color: var(--mint); background: color-mix(in srgb,var(--mint) 12%,var(--well));
  border-color: color-mix(in srgb,var(--mint) 32%,var(--border));
}
.navIcon, .hardwareIcon, .viewReset svg { width: 19px; height: 19px; flex: none }
.heading { gap: 12px; margin: 25px 0 18px }
.heading h1 { font-size: clamp(1.75rem,3vw,2.45rem); font-weight: 750; letter-spacing: -.045em }
.heading .id { max-width: 100%; overflow-wrap: anywhere }
.page { min-width: 0; gap: 15px }
.card, dialog {
  min-width: 0; border-radius: var(--radius); background: var(--panel);
  box-shadow: 0 8px 26px rgb(0 0 0 / .12);
}
h2 { letter-spacing: -.025em; line-height: 1.45 }
button, .pick, select, input { border-radius: 7px }
input, select { background-color: var(--well); border-color: var(--border); min-height: 38px }
select { padding-right: 35px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1.5 5 5 5-5' stroke='%23b9b9cd' fill='none' stroke-width='1.5'/%3E%3C/svg%3E"); background-position: right 12px center; background-size: 11px 7px }
:where(button,summary,select,input,a):focus-visible { outline: 2px solid var(--mint); outline-offset: 3px }
.ghost { background: var(--well) }
.switch { background: var(--well); border-color: var(--border); gap: 2px }
.switch button { min-height: 32px }
.switch button.on { color: var(--mint); background: color-mix(in srgb,var(--mint) 17%,var(--well)) }

#home { grid-template-columns: minmax(0,1.35fr) minmax(265px,.85fr); gap: 16px }
.surfaceFeature {
  min-width: 0; overflow: hidden; position: relative; isolation: isolate; display: grid; align-content: space-between;
  padding: clamp(15px,1.8vw,25px); border-radius: var(--radius);
  border: 1px solid color-mix(in srgb,var(--mint) 38%,var(--border));
  background: radial-gradient(ellipse at 82% 27%,#7361cb38,transparent 66%),linear-gradient(130deg,#232131 0%,#161722 75%);
}
.surfaceFeature::before {
  content: ''; z-index: -1; position: absolute; inset: 0 0 0 27%; opacity: .42; pointer-events: none;
  background-image: linear-gradient(#a59bde18 1px,transparent 1px),linear-gradient(90deg,#a59bde18 1px,transparent 1px);
  background-size: 24px 24px; mask-image: linear-gradient(110deg,transparent,#000 45%,#000a);
}
.featureHeader { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; justify-content: space-between }
.featureHeader h2 { font-size: clamp(1.15rem,2vw,1.48rem); font-weight: 710 }
.featureSource { color: #c9bfef; background: #242131; border-color: #464055; font-size: .78rem }
.featureStage { display: grid; grid-template-columns: minmax(99px,.62fr) minmax(0,1.38fr); align-items: center; gap: 4px; min-height: 150px }
.featureControls { position: relative; z-index: 1 }
.featureAxes { color: var(--ink); font-size: clamp(1.22rem,2.25vw,2rem); font-weight: 720; line-height: 1.15; letter-spacing: -.055em; white-space: nowrap }
.featureControls p { color: #c8bedc; font-size: .85rem; font-variant-numeric: tabular-nums; margin: 4px 0 15px }

:root[data-theme=red] header { position: relative }
:root[data-theme=red] header::after {
  content: ""; position: absolute; pointer-events: none; left: 0; bottom: -1px;
  width: min(68%,390px); height: 1px;
  background: linear-gradient(90deg,var(--laser),#ff4237 30%,transparent);
  filter: drop-shadow(0 0 4px #ff162e88);
}
:root[data-theme=red] .brand b { color: var(--mint) }
:root[data-theme=red] .surfaceFeature {
  border-color: #7e303b;
  background: radial-gradient(ellipse at 90% 16%,#a814242b,transparent 62%),linear-gradient(125deg,#24161d,#161218 68%);
}
:root[data-theme=red] .surfaceFeature::before {
  background-image: linear-gradient(#ff495222 1px,transparent 1px),linear-gradient(90deg,#ff495222 1px,transparent 1px);
}
:root[data-theme=red] .surfaceFeature::after {
  content: ""; position: absolute; pointer-events: none; top: 0; right: 7%;
  width: 42%; height: 1px; background: linear-gradient(90deg,transparent,var(--laser) 44%,#ff8a77 76%,transparent);
  filter: drop-shadow(0 1px 4px var(--laser));
}
:root[data-theme=red] .surfaceFeature .featureSource { color: #ffb6b2; background: #2b181d; border-color: #593039 }
:root[data-theme=red] .featureControls p { color: var(--muted) }
:root[data-theme=red] :is(#openConnect,#openSurface,#editDialog button[value=ok],.pick) {
  color: var(--dark); border-color: var(--laser);
  background: linear-gradient(108deg,#ff4b3d,var(--laser) 85%);
  box-shadow: inset 0 1px 0 #ffc1ad73, 0 0 12px #ff142b29;
}
:root[data-theme=red] .workspaceNav button[aria-current=page] {
  color: var(--mint); border-color: #93313c;
  background: linear-gradient(100deg,#30161b,#1b1216);
  box-shadow: inset 3px 0 var(--laser);
}
:root[data-theme=red] .switch button.on {
  background: #2e161d; color: var(--mint); box-shadow: inset 0 -2px var(--laser);
}
:root[data-theme=red] .tile-live { --tile-accent: var(--mint) }
:root[data-theme=red] dialog {
  border-color: #664049;
  background: linear-gradient(90deg,transparent,var(--laser),transparent) top center / 72% 1px no-repeat,var(--panel);
}
:root[data-theme=red] dialog::backdrop { background: #09070bd1 }
:root[data-theme=red] :is(.shell,dialog) :is(button,select,input,summary,a):focus-visible,
:root[data-theme=red] :is(.pick,.filebox):focus-within { outline: 2px solid var(--mint); outline-offset: 3px }
:root[data-theme=red] .bootCore::after { border-top-color: var(--laser); border-left-color: var(--laser) }
:root[data-theme=red] .bootTrack i { background: linear-gradient(90deg,#8e1021,var(--laser) 78%,#ffd5c9); box-shadow: 0 0 10px #ff122f85 }
#openSurface { white-space: nowrap; min-height: 38px; padding: 6px 13px }
#homeSurface { width: 100%; height: clamp(140px,14.2vw,218px); display: block; min-width: 0 }
.quickReadings { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin: 8px 0 0; padding-top: 13px; border-top: 1px solid #ffffff1e }
.quickReadings div { padding-left: 13px; border-left: 1px solid #ffffff20 }
.quickReadings div:first-child { border: 0; padding: 0 }
.quickReadings dt { color: #bdbbcf; font-size: .78rem; letter-spacing: .045em }
.quickReadings dt small { font-size: inherit; color: inherit }
.quickReadings dd { color: #faf8ff; font-size: 1.15rem; line-height: 1.4; font-variant-numeric: tabular-nums }
.connectHub { padding: clamp(14px,1.65vw,23px); display: flex; flex-direction: column; justify-content: center }
.connectHub .cardhead h2 { font-size: 1.15rem }
.connectHub #homeIdentity { color: var(--muted); font-size: .875rem; margin: 3px 0 12px; overflow-wrap: anywhere }
.hardwareList { grid-template-columns: 1fr; gap: 6px }
.hardwareList button {
  display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 7px; padding: 8px 10px; min-height: 44px;
  background: var(--well); border-color: var(--border); border-radius: 8px;
}
.hardwareList button:hover { border-color: var(--mint) }
.hardwareIcon { justify-self: center; color: var(--mint); width: 18px; height: 18px }
.hardwareList button span { font-size: .95rem; font-weight: 620 }
.hardwareList small { color: var(--muted); font-size: .77rem }
.toolShelf { grid-column: 1/-1; min-width: 0 }
.toolShelf h2 { margin: 3px 0 11px }
.launchGrid { gap: 12px; margin: 0 }
.launchTile {
  --tile-accent: #aab4dc; aspect-ratio: 1.2; border: 1px solid var(--border); border-radius: var(--radius);
  padding: clamp(14px,1.75vw,22px); background: linear-gradient(145deg,color-mix(in srgb,var(--tile-accent) 7%,var(--panel)),var(--panel) 78%);
}
.launchTile:hover, .launchTile:focus-visible { border-color: var(--tile-accent); background-color: var(--well) }
.tile-live { --tile-accent: #ff8aa3 } .tile-scope { --tile-accent: #6cddca } .tile-map { --tile-accent: #b59aff }
.tile-trip { --tile-accent: #f5be79 } .tile-files { --tile-accent: #83baff } .tile-connect { --tile-accent: #77cedd }
.tile-settings { --tile-accent: #b2afcc } .tile-download { --tile-accent: #a2d492 }
.launchTile .tileIcon { color: var(--tile-accent); background: color-mix(in srgb,var(--tile-accent) 10%,var(--well)); border: 1px solid color-mix(in srgb,var(--tile-accent) 22%,var(--border)); height: 40px; width: 40px; border-radius: 10px }
.tileIcon svg { width: 23px; height: 23px }
.tileName { font-size: clamp(1.05rem,2vw,1.42rem); margin: 10px 0 3px; color: var(--ink) }
.tileDesc { color: var(--muted); font-size: .87rem; line-height: 1.35 }

.instrumentGrid { gap: 10px }
.instrument { border-color: var(--border); border-radius: var(--radius); background: radial-gradient(ellipse at 50% 95%,color-mix(in srgb,var(--tone) 7%,var(--panel)),var(--well) 78%); overflow: hidden }
.sensorBank { margin: 2px 0 }
.sensorBank .sensor { background: var(--panel); border-color: var(--border); border-left-color: var(--tileTone) }
.plotToolbar, .surfaceLegend { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px }
.plotToolbar { margin: 14px 0 10px; justify-content: space-between }
.viewReset { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 5px 10px; color: var(--muted); font-size: .88rem }
.viewReset svg { width: 15px; height: 15px }
.signalStage, #mapChart {
  border: 1px solid var(--border); border-radius: 9px;
  background: radial-gradient(ellipse at 60% 28%,#24243466,transparent 85%),var(--well);
}
.signalStage { padding: 4px clamp(4px,1.8vw,18px); min-width: 0 }
#liveChart, #mapChart { max-width: 100%; min-width: 0; display: block }
#liveChart { margin: 0 }
#liveChart.rotatable, #mapChart { height: clamp(300px,45vw,520px); touch-action: none; cursor: grab }
#liveChart.rotatable:active, #mapChart:active { cursor: grabbing }
#mapChart.painting { cursor: crosshair }
.surfaceLegend { margin-top: 12px; font-size: .85rem; color: var(--muted) }
.measuredKey, .estimatedKey { display: inline-flex; align-items: center; gap: 6px }
.measuredKey::before { content: ''; width: 7px; height: 7px; background: #fff; border-radius: 50%; box-shadow: 0 0 0 2px #454959 }
.estimatedKey::before { content: ''; width: 23px; height: 6px; border-radius: 2px; background: linear-gradient(90deg,#376cee,#23d8bb,#9de83d,#ffad32,#fb5744) }
#surfaceCoverage { margin-left: auto; color: var(--ink); font-size: .85rem; font-variant-numeric: tabular-nums }
.scopeChoices label, #brushBar label { background: var(--well); border-radius: 7px }
.scopeChoices input, input[type=range], input[type=checkbox] { accent-color: var(--mint) }
input[type=checkbox] { min-height: auto }
.scroll { max-width: 100%; border-radius: 6px }
.master th { color: var(--muted); background: var(--well) }
.filebox { background: var(--well); border-color: var(--border) }
#boot { background-color: var(--bg) }
@media(min-width:980px) {
  main { display: grid; grid-template-columns: 174px minmax(0,1fr); column-gap: clamp(18px,2.2vw,34px); align-items: start }
  main>.heading, main>.page { grid-column: 2 }
  .workspaceNav { grid-column: 1; grid-row: 1/span 3; flex-direction: column; gap: 5px; padding: 22px 12px 0 0; border-right: 1px solid var(--border); position: sticky; top: 0; overflow: visible; align-self: start }
  .workspaceNav button { width: 100% }
  .workspaceNav [data-page=settings] { margin-top: 14px }
}
@media(max-width:979px) {
  .workspaceNav { gap: 4px; padding: 9px 0; border-bottom: 1px solid var(--border); scrollbar-width: thin }
  .workspaceNav button { gap: 6px; min-height: 37px; padding: 6px 10px }
  .workspaceNav .navIcon { width: 16px; height: 16px }
}
@media(max-width:720px) {
  .shell, .shell:has(.page:not([hidden])) { padding: 0 12px 36px }
  header { gap: 7px; min-height: 59px; padding: 8px 0 }
  header button { min-height: 36px }
  .brandlogo { width: 31px; height: 31px; border-radius: 7px }
  .brand { gap: 7px }
  .brand span { font-size: 17px }
  .linkstate { max-width: 45vw; font-size: .77rem; padding: 3px 6px; overflow-wrap: anywhere }
  .heading { margin: 15px 0 12px }
  #home { grid-template-columns: minmax(0,1fr); gap: 12px }
  .connectHub { grid-row: 1 }
  .featureStage { min-height: 132px; grid-template-columns: minmax(102px,.75fr) minmax(0,1.25fr) }
  #homeSurface { height: clamp(128px,30vw,192px) }
  .quickReadings { padding-top: 9px; margin-top: 5px }
  .launchGrid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px }
  .launchTile { aspect-ratio: 1 }
  .tileDesc { font-size: .84rem }
  .surfaceLegend { gap: 7px 10px }
  #surfaceCoverage { margin-left: 0 }
  .card.plot { padding: 13px }
  .hardwareList button { grid-template-columns: 26px 1fr auto }
}
@media(max-width:395px) {
  header { gap: 5px }
  header .brand span { font-size: 15px }
  .brandlogo { width: 26px; height: 26px }
  header button { font-size: .85rem; padding: 5px 8px }
  .featureAxes { font-size: 1.25rem }
  .cardhead select { max-width: 100% }
}
.plotHeading { display: flex; flex-wrap: wrap; align-items: center; gap: 7px }
#plotDemo { color: #f2cd85; background: #2d2519; border-color: #544631 }
@media(max-width:979px) {
  .workspaceNav { scrollbar-width: none }
  .workspaceNav::-webkit-scrollbar { display: none }
}
@media(max-width:355px) {
  header {
    display: grid; grid-template: "brand theme connect" auto "status status status" auto / minmax(0,1fr) auto auto;
  }
  .brand { grid-area: brand }
  #appearance { grid-area: theme }
  #openConnect { grid-area: connect }
  .linkstate { grid-area: status; justify-self: start; max-width: 100%; margin: 0; padding: 0; border: 0; background: transparent }
  .hardwareList button { grid-template-columns: 19px max-content minmax(0,1fr); gap: 6px }
  .hardwareList small { justify-self: end; text-align: right }
}

.mapZoomTools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 12px 0 8px;
}
.mapZoomLabel { margin-right: 3px; color: var(--muted); font-size: .87rem }
.mapZoomSteps {
  display: inline-flex;
  align-items: stretch;
  background: var(--well);
  border-radius: 8px;
  border: 1px solid var(--border);
}
.mapZoomSteps button, #mapFit {
  min-width: 44px;
  min-height: 42px;
  padding: 4px 10px;
  color: var(--ink);
  background: transparent;
  touch-action: manipulation;
}
.mapZoomSteps button { border: 0; border-radius: 7px; font-size: 1.18rem; line-height: 1 }
#mapZoomPercent {
  min-width: 55px;
  border-inline: 1px solid var(--border);
  border-radius: 0;
  font-size: .94rem;
  font-variant-numeric: tabular-nums;
}
#mapFit { display: inline-flex; align-items: center; gap: 7px; font-size: .92rem }
#mapFit svg { width: 16px; height: 16px }
#mapFit[aria-pressed=true] { color: var(--mint); border-color: var(--mint); background: var(--well) }
#maptable {
  min-width: 0;
  touch-action: pan-x pan-y;
  overflow-anchor: none;
  max-height: 65vh;
  max-height: 65dvh;
}
#maptable .mapgrid { width: max-content; min-width: 0 }
#maptable .mapgrid tbody th { top: auto }
#maptable .mapgrid thead th:first-child { z-index: 3 }
#maptable .mapgrid .cursor { position: relative }
#maptable .mapgrid .cursor::before { position: absolute; left: .08em; top: 0; margin: 0; font-size: .7em }
#mapPages:empty { display: none }
.mapWorld { position: relative; overflow-anchor: none }
.mapWorld canvas { display: block; position: sticky; left: 0; top: 0; cursor: crosshair }

@media (orientation: landscape) and (max-height: 550px) {
  #maptable { max-height: calc(100vh - 64px); max-height: calc(100dvh - 64px) }
}

.chipTraces{position:absolute;inset:0;width:100%;height:100%;max-width:none;pointer-events:none;fill:none;stroke:#761728;stroke-width:1}
.chipTraces circle{fill:#fa586b;stroke:none}
.chipTraces .tracePulse{stroke:#ff4356;stroke-width:2;stroke-dasharray:25 245;animation:chipFlow 1.65s ease-in-out infinite}
@keyframes chipFlow{from{stroke-dashoffset:95;opacity:.12}55%{opacity:.98}to{stroke-dashoffset:-210;opacity:.15}}
.bootScreen .bootStage{position:relative;width:auto}
.bootScreen .bootCore{width:clamp(70px,24vmin,136px);height:clamp(70px,24vmin,136px);margin:0 auto}.bootScreen .bootCore:after{display:none}
.bootScreen .bootCore img{width:93%;height:93%;border:1px solid #ff4258;box-shadow:0 0 36px #fa29465c}
.bootScreen .bootStage h1{position:absolute;left:50%;transform:translateX(-50%);white-space:nowrap;font-size:23px;margin:12px 0}
.bootScreen.ignition .bootStage{animation:chipExit .72s cubic-bezier(.42,0,.8,.4) both}
.bootScreen.ignition .chipTraces{transition:opacity .6s;opacity:0}
@keyframes chipExit{to{transform:scale(3);opacity:0}}
@media(prefers-reduced-motion:reduce){.chipTraces .tracePulse{animation:none}.bootScreen.ignition .bootStage{animation:none;opacity:0;transition:opacity .3s}}
.atPlots{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(270px,100%),1fr));gap:16px;margin:16px 0}
.atPlots>div{min-width:0;background:var(--well);border:1px solid var(--border);border-radius:10px;padding:12px}
.atPlots canvas{display:block;width:100%;height:clamp(160px,40vh,340px)}#atTerrain{touch-action:none}
@media(orientation:landscape) and (max-height:550px){.shell{padding-left:max(14px,env(safe-area-inset-left));padding-right:max(14px,env(safe-area-inset-right))}header{min-height:44px;padding-block:4px}.workspaceNav{padding-block:4px}.launchTile{aspect-ratio:1.65}}

.rangeTools{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin:6px 0}
.rangeTools label{display:flex;align-items:center;gap:6px;font-size:.85rem}
.rangeTools input{width:4.4rem}.rangeTools output{font-variant-numeric:tabular-nums;color:var(--muted)}
#rangeMode[aria-pressed=true]{border-color:var(--mint);color:var(--mint)}
#maptable.selectRange{touch-action:none;user-select:none;-webkit-user-select:none;cursor:crosshair}
#maptable .mapgrid .inRange{box-shadow:inset 0 0 0 1px #ffb9c5;background:linear-gradient(#ff41604f,#ff41604f),var(--cell)}
#maptable .mapgrid button{line-height:1.25}

.accountIcon{display:grid;place-items:center;flex:none;width:38px;height:38px;color:var(--ink);border:1px solid var(--border);border-radius:8px}
.accountLink{display:inline-block;margin-top:.5rem}
.accountScreen{min-height:100vh;display:grid;place-items:center;padding:20px;background:radial-gradient(ellipse at top,#361018,transparent 65%),var(--bg)}
.accountCard{width:min(100%,410px);padding:clamp(20px,4vw,34px)}
.accountCard .brand{margin-bottom:20px}.accountCard h1{margin:.7rem 0;font-size:1.8rem}
.accountCard .authAction{display:block;text-align:center;background:var(--mint);color:var(--dark);font-weight:bold;border-radius:8px;padding:11px;text-decoration:none}
.accountFooter{display:flex;justify-content:space-between;margin-top:18px;font-size:.88rem}

dialog.tunerIntro{inset:0;position:fixed;margin:0;padding:0;border:0;max-width:none;max-height:none;width:100vw;width:100dvw;height:100vh;height:100dvh;border-radius:0;box-shadow:none;overflow:hidden;background:#050505;color:#fff;z-index:1200;isolation:isolate}
.tunerIntro::backdrop{background:#050505}
.tunerIntro canvas{display:block;width:100%;height:100%}
.tunerPreview{min-height:100svh;display:grid;place-items:center;background:#100c0f;text-align:center}
.tunerPreview main{padding:1.2rem}.tunerPreview h1{font:italic 700 clamp(2rem,6vw,4rem) 'Open Sans Condensed',system-ui;margin:0 0 1rem}


.developer-brand{display:flex;align-items:center;gap:14px;margin-bottom:18px}
.developer-brand img{width:60px;height:60px;border-radius:14px}
.developer-brand h2,.developer-brand p{margin:0}
.developer-brand p,.about-console li span,.developer-contacts small{color:var(--muted)}
.developer-card h3,.about-console h3{margin:1rem 0 .65rem}
.developer-contacts{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:10px}
.developer-contacts a{display:grid;gap:2px;min-width:0;padding:12px 14px;border:1px solid var(--border);border-radius:9px;background:var(--bg);color:var(--ink);text-decoration:none;overflow-wrap:anywhere}
.developer-contacts a strong{color:var(--mint)}
.developer-contacts a:hover,.developer-contacts a:focus-visible{border-color:var(--mint)}
.about-console p{max-width:76ch}
.about-console ul{padding:0;list-style:none}
.about-console li{display:grid;gap:2px;padding:9px 0;border-bottom:1px solid var(--border)}

/* Trip recorder speedometer */
.trip-dial {
  margin: 0;
  padding: 12px clamp(10px, 3vw, 22px) 9px;
  color: #f8f6f7;
  border: 1px solid #39333a;
  border-radius: 15px;
  background: radial-gradient(ellipse at 50% 80%, #24171e, transparent 68%),
              linear-gradient(135deg, #1d1c22, #101015 80%);
}
.trip-dial-meta, .trip-distance-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.trip-dial-meta {
  color: #ddd8dc;
  font-size: .875rem;
  padding-bottom: 8px;
  border-bottom: 1px solid #393239;
}
#tripSpeedSource { display: inline-flex; align-items: center; gap: 8px; }
#tripSpeedSource::before { content: ""; width: 16px; height: 3px; background: #ff4057; }
#tripSpeedHint { color: #bdb4ba; }
.trip-dial-face { position: relative; max-width: 385px; margin: 0 auto; }
.trip-dial-face svg { display: block; width: 100%; height: auto; }
.trip-dial-track, .trip-dial-fill { fill: none; stroke-width: 13px; }
.trip-dial-track { stroke: #35343c; }
.trip-dial-fill { stroke: #ff384f; }
.trip-dial[data-signal="ready"] .trip-dial-fill { transition: stroke-dashoffset 240ms ease-out; }
.trip-dial-ticks { fill: none; stroke: #a9a4ac; stroke-width: 1.8; }
.trip-dial-scale { fill: #c0b9c1; font: 600 13px system-ui, sans-serif; text-anchor: middle; }
.trip-dial-reading {
  position: absolute; inset: 39% 12% 6%; display: flex;
  flex-direction: column; align-items: center; justify-content: center;
  line-height: 1.12; pointer-events: none;
}
#tripSpeedLabel { color: #c6c1c6; font-size: .9375rem; }
#tripSpeed {
  color: #fff; font: italic 700 clamp(3.15rem, 13vw, 5rem)/1.06 "Open Sans Condensed", system-ui, sans-serif;
  font-variant-numeric: tabular-nums; letter-spacing: -.035em; padding-right: .08em;
}
.trip-dial-unit { color: #ff6476; font: 700 .9rem/1.2 system-ui, sans-serif; letter-spacing: .12em; }
.trip-distance-row { margin: 14px 0 2px; color: var(--muted); }
.trip-distance-row strong { color: var(--ink); font-variant-numeric: tabular-nums; }
@media (min-width: 720px) {
  .trip-instruments { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; gap: clamp(20px, 4vw, 55px); margin-block: 14px; }
  .trip-instruments .tripform { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trip-instruments .tripform label:last-child { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  .trip-dial[data-signal="ready"] .trip-dial-fill { transition: none; }
}
