*{box-sizing:border-box}:root{--bg:#0b1118;--panel:#121b25;--line:#263545;--text:#edf3f8;--muted:#8e9dac;--blue:#2c8fe5;--green:#39c985;--red:#df5b62}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,system-ui,-apple-system,Segoe UI,Arial,sans-serif}.shell{min-height:100vh}.side{position:fixed;inset:0 auto 0 0;width:224px;padding:24px 14px;border-right:1px solid #1f2b38;background:#0e161f}.brand{padding:0 12px 26px;font-size:19px;font-weight:800;letter-spacing:.12em}.brand small{display:block;margin-top:5px;color:var(--muted);font-size:10px;letter-spacing:.16em}.nav{display:grid;gap:6px}.nav button{display:flex;align-items:center;gap:12px;padding:12px 13px;border-radius:10px;color:#aebbc8;text-decoration:none;font-weight:600}.nav button:hover{background:#182532;color:#fff}.nav svg{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:1.8}.main{max-width:1400px;margin-left:224px;padding:30px 34px 60px}.top{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:22px}.top h1{margin:0 0 4px;font-size:25px}.muted,.eyebrow{color:var(--muted)}.eyebrow{font-size:11px;font-weight:700;letter-spacing:.13em;text-transform:uppercase}.card{margin-top:14px;padding:20px;border:1px solid var(--line);border-radius:14px;background:var(--panel)}.actions,.statusrow{display:flex;gap:9px;flex-wrap:wrap}.pill{padding:8px 11px;border:1px solid #293b4d;border-radius:9px;background:#17232f;font-size:12px}button,select,input{padding:11px 14px;border:1px solid #34485c;border-radius:9px;background:#1a2734;color:#fff;font:inherit}button{border-color:transparent;background:var(--blue);font-weight:700;cursor:pointer}.ghost{border-color:#34485c;background:#1a2734}.red{background:var(--red)}.ok{color:var(--green)}.bad{color:var(--red)}a{color:#65b7ff}table{width:100%;border-collapse:collapse}td,th{padding:12px 9px;border-bottom:1px solid #263442;text-align:left}.settingsgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.sectiontitle{margin:4px 0 14px;font-size:16px}.apconfig .nav button[href="/firmware-update"]{display:none}
:root{--font-ui:Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;--font-size-body:14px;--line-height-body:1.5}html{font-family:var(--font-ui);font-size:var(--font-size-body)}body{font-family:inherit;font-size:1rem;line-height:var(--line-height-body);-webkit-font-smoothing:antialiased}button,select,input,textarea{font-family:inherit;font-size:inherit;line-height:1.35}.top h1{line-height:1.2}.card h2,.card h3{line-height:1.25}.nav button{font-size:14px;line-height:1.3}.sectiontitle{font-size:17px;line-height:1.3}
@media(max-width:720px){.side{position:fixed;z-index:30;inset:auto 0 0;width:auto;height:68px;padding:6px;border:0;border-top:1px solid #263441;background:#0e1720ee;backdrop-filter:blur(12px)}.brand{display:none}.nav{grid-template-columns:repeat(4,1fr)}.apconfig .nav{grid-template-columns:repeat(3,1fr)}.nav button{display:grid;justify-items:center;gap:2px;padding:7px 2px;font-size:9px}.nav svg{width:20px;height:20px}.main{margin:0;padding:20px 12px 90px}.top h1{font-size:21px}.settingsgrid{grid-template-columns:1fr}table{font-size:12px}td,th{padding:9px 4px}}
.wizard{width:min(860px,100%);margin:0 auto}.wizardSteps{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:0 0 14px}.wizardStep{display:flex;align-items:center;gap:9px;padding:11px 13px;border:1px solid var(--line);border-radius:11px;background:#111b25;color:var(--muted);font-size:12px;font-weight:750}.wizardStep b{display:grid;place-items:center;flex:0 0 25px;height:25px;border-radius:50%;background:#263746;color:#9eafbd}.wizardStep.active{border-color:#2c79b5;background:#11283a;color:#dff1ff}.wizardStep.active b{background:#258ee8;color:#fff}.wizardCard{padding:clamp(20px,5vw,38px);text-align:center}.wizardTitle{margin:8px auto 12px;max-width:700px;font-size:clamp(25px,5vw,40px);line-height:1.12}.wizardIntro{max-width:660px;margin:0 auto;color:var(--muted);font-size:15px;line-height:1.6}.obdScene{position:relative;width:min(390px,92%);height:230px;margin:24px auto 18px;border:1px solid #2c4052;border-radius:22px;background:radial-gradient(circle at 50% 45%,#1b3042,#0d1720 68%);overflow:hidden}.obdScene svg{width:100%;height:100%}.obdPort{filter:drop-shadow(0 8px 9px #0008)}.obdDongle{animation:obdInsert 2.6s ease-in-out infinite;filter:drop-shadow(0 8px 8px #0009)}.obdPulse{transform-origin:center;animation:obdPulse 1.3s ease-out infinite}.obdCable{stroke-dasharray:8 7;animation:obdCable 1s linear infinite}.wizardInstruction{display:flex;align-items:flex-start;gap:11px;max-width:620px;margin:0 auto 20px;padding:14px 16px;border:1px solid #355069;border-radius:12px;background:#152536;text-align:left;line-height:1.5}.wizardInstruction b{color:#75c5ff}.wizardConnect{min-width:min(330px,100%);min-height:56px;font-size:17px}.wizardScreen[hidden]{display:none}.wizardSpinner{width:55px;height:55px;margin:28px auto;border:5px solid #273b4d;border-top-color:#258ee8;border-radius:50%;animation:wizardSpin .8s linear infinite}.ecuOk{display:grid;place-items:center;width:76px;height:76px;margin:17px auto;border-radius:50%;background:#143b2b;border:2px solid #39c985;color:#6ce2a8;font-size:40px;font-weight:900}.ecuBad{background:#3d1a21;border-color:#ef6b73;color:#ff9ba1}.ecuDetails{width:min(650px,100%);margin:22px auto 0;text-align:left;border:1px solid var(--line);border-radius:13px;overflow:hidden}.ecuRow{display:grid;grid-template-columns:170px minmax(0,1fr);gap:12px;padding:11px 14px;border-bottom:1px solid var(--line)}.ecuRow:last-child{border-bottom:0}.ecuRow span{color:var(--muted)}.ecuRow b{overflow-wrap:anywhere}.wizardActions{display:flex;justify-content:center;gap:9px;flex-wrap:wrap;margin-top:22px}@keyframes obdInsert{0%,15%{transform:translateY(-30px)}48%,72%{transform:translateY(10px)}100%{transform:translateY(-30px)}}@keyframes obdPulse{0%{opacity:.8;transform:scale(.65)}100%{opacity:0;transform:scale(1.5)}}@keyframes obdCable{to{stroke-dashoffset:-15}}@keyframes wizardSpin{to{transform:rotate(360deg)}}@media(max-width:600px){.wizardSteps{grid-template-columns:1fr}.wizardStep:not(.active){display:none}.obdScene{height:205px}.ecuRow{grid-template-columns:1fr;gap:3px}}
@media(max-width:480px){.wizard{width:100%}.wizardSteps{margin-bottom:8px}.wizardStep{padding:8px 10px;font-size:11px}.wizardStep b{flex-basis:22px;height:22px}.wizardCard{margin-top:8px;padding:14px 12px;border-radius:11px}.wizardTitle{margin:5px auto 8px;font-size:22px;line-height:1.16}.wizardIntro{font-size:13px;line-height:1.42}.obdScene{width:min(310px,96%);height:148px;margin:13px auto 11px;border-radius:15px}.wizardInstruction{gap:8px;margin-bottom:13px;padding:10px 11px;font-size:12px;line-height:1.38}.wizardConnect{width:100%;min-width:0;min-height:46px;padding:10px 14px;font-size:15px}.wizardSpinner{width:42px;height:42px;margin:18px auto;border-width:4px}.ecuOk{width:58px;height:58px;margin:10px auto;font-size:31px}.ecuDetails{margin-top:13px;font-size:12px}.ecuRow{padding:8px 10px}.wizardActions{margin-top:14px}.wizardActions button{width:100%;min-height:44px}.eyebrow{font-size:9px}}
.wizard{font-family:var(--font-ui);font-size:15px;line-height:1.5}.wizardTitle{font-size:clamp(24px,4vw,34px);font-weight:800;line-height:1.16;letter-spacing:-.015em}.wizardIntro{font-size:15px;line-height:1.55}.wizardInstruction,.ecuDetails,.softwareOption,.programDisclaimer,.customerFlashProgress{font-size:14px;line-height:1.5}.wizardBackButton{min-width:170px}.wizardStep{line-height:1.3}.wizardStep.reachable{cursor:pointer}.wizardStep.reachable:hover{border-color:#3e6685;color:#dff1ff}.customerNavigationLocked .wizardBackButton{display:none!important}@media(max-width:480px){.wizard{font-size:13px}.wizardTitle{font-size:22px}.wizardIntro,.wizardInstruction,.ecuDetails,.softwareOption,.programDisclaimer,.customerFlashProgress{font-size:13px}.wizardBackButton{width:100%;min-width:0;min-height:44px}}
.displayInstruction{align-items:center}.phoneDisplayAnimation{flex:0 0 74px;width:74px;height:66px;margin:-3px 0}.phoneScreen{animation:phoneScreenOn 1.8s ease-in-out infinite}.phoneSun{transform-origin:50px 39px;animation:phoneSunPulse 1.25s ease-in-out infinite}.displayInstruction strong{color:#ffd56b}.customerNavigationLocked .side{pointer-events:none;opacity:.42;filter:grayscale(.7)}.customerNavigationLocked .nav button{cursor:not-allowed}.customerNavigationLocked.recoverySettingsAllowed .side{pointer-events:auto}.customerNavigationLocked.recoverySettingsAllowed .side a{pointer-events:none}.customerNavigationLocked.recoverySettingsAllowed .side a[href="/settings"]{pointer-events:auto}.wizardOptionsActions{display:flex;justify-content:center;gap:9px;flex-wrap:wrap;margin-top:22px}.serverCheck{width:min(650px,100%);margin:18px auto 0;padding:18px;border:1px solid #31516b;border-radius:13px;background:#122536;text-align:left}.serverCheck[hidden],.softwareOptions[hidden]{display:none}.serverCheckHead{display:flex;align-items:center;gap:15px}.serverMiniSpinner{flex:0 0 38px;width:38px;height:38px;border:4px solid #31495c;border-top-color:#48aaf3;border-radius:50%;animation:wizardSpin .75s linear infinite}.serverCheck.done .serverMiniSpinner{display:none}.serverCheck h3{margin:0 0 4px}.serverCheck p{margin:0;color:var(--muted);line-height:1.45}.softwareOptions{width:min(760px,100%);margin:14px auto 0;display:grid;gap:12px;text-align:left}.softwareOption{padding:18px;border:1px solid var(--line);border-radius:13px;background:#151f29}.softwareOption h3{margin:0 0 6px;font-size:17px}.softwareOption p{margin:4px 0;color:var(--muted);line-height:1.45}.softwareOption button{margin-top:10px}.softwareOption.disabled{opacity:.62}.softwareOption.tuningMissing{border-color:#a43f49;background:#401b22;box-shadow:inset 0 0 0 1px #742b34}.softwareOption.tuningMissing h3{color:#ff9ca4}.softwareOption.tuningMissing p{color:#ffd0d4}.softwareWarning{padding:14px;border:1px solid #8b632d;border-radius:11px;background:#382816;color:#ffd49b;line-height:1.5}.passwordRow{display:flex;gap:8px;margin-top:10px}.passwordRow input{min-width:0;flex:1}.tuningList{display:grid;grid-template-columns:repeat(auto-fit,minmax(245px,1fr));gap:10px;margin-top:12px}.tuningItem{display:flex;min-width:0;flex-direction:column;align-items:stretch;justify-content:space-between;gap:12px;padding:14px;border:1px solid #30465a;border-radius:11px;background:#192936}.tuningItem b{font-size:14px}.tuningItem small{display:block;margin-top:5px;color:var(--muted);overflow-wrap:anywhere}.tuningItem button{width:100%;margin-top:auto}.selectionMessage{padding:14px;border:1px solid #28734f;border-radius:11px;background:#123324;color:#7be6ae;font-weight:750}.customerFlashProgress{width:min(760px,100%);margin:14px auto;padding:17px;border:1px solid #36536a;border-radius:13px;background:#122230;text-align:left}.customerFlashProgress[hidden]{display:none}.customerProgressTrack{height:12px;margin:12px 0 8px;border-radius:999px;background:#263846;overflow:hidden}.customerProgressBar{width:0;height:100%;background:linear-gradient(90deg,#258ee8,#52c7ff);transition:width .25s}.customerFlashProgress.bad{border-color:#a43f49;background:#401b22}.customerFlashProgress.ok{border-color:#28734f;background:#123324}@media(max-width:600px){.passwordRow{align-items:stretch;flex-direction:column}.tuningList{grid-template-columns:1fr}}@keyframes phoneScreenOn{50%{fill:#245f85;filter:drop-shadow(0 0 8px #48b8ff)}}@keyframes phoneSunPulse{50%{transform:scale(1.22);filter:drop-shadow(0 0 8px #ffd45d)}}
@media(max-width:480px){.displayInstruction{display:grid;grid-template-columns:auto 58px minmax(0,1fr)}.phoneDisplayAnimation{width:58px;height:54px}.displayInstruction>span{align-self:start}}.programVisuals{display:grid;grid-template-columns:1fr 1fr;gap:12px;width:min(700px,100%);margin:20px auto}.programVisual{display:flex;flex-direction:column;align-items:center;padding:14px;border:1px solid #30485b;border-radius:13px;background:#122230}.programVisual svg{width:180px;max-width:100%;height:105px}.programVisual b{font-size:15px}.programVisual span{margin-top:4px;color:var(--muted);font-size:12px}.ignitionKey{transform-origin:89px 51px;animation:ignitionTurn 2.2s ease-in-out infinite}.ignitionHalo{fill:none;stroke:#258ee8;stroke-width:4;animation:ignitionGlow 1.3s ease-out infinite}.chargePulse{animation:chargeGlow 1.15s ease-in-out infinite}.programDisclaimer{width:min(700px,100%);margin:0 auto;text-align:left}.programDisclaimer h3{margin:0 0 8px;font-size:15px}.disclaimerScroll{height:155px;overflow-y:auto;padding:14px;border:1px solid #3b4f61;border-radius:11px;background:#0c151d;color:#b8c5cf;font-size:12px;line-height:1.55;overscroll-behavior:contain}.disclaimerScroll p{margin:0 0 12px}.programAccept{display:flex;align-items:flex-start;gap:10px;margin-top:12px;padding:12px;border:1px solid #365069;border-radius:10px;background:#142536;font-size:13px;line-height:1.4}.programAccept input{flex:0 0 auto;width:19px;height:19px;margin:0}.programStartButton{width:min(420px,100%);min-height:55px;margin-top:16px;font-size:16px}.programStartButton:disabled{cursor:not-allowed;opacity:.45}.programProgressHead{display:flex;align-items:center;gap:12px}.customerFlashProgress.ok #programBusySpinner,.customerFlashProgress.bad #programBusySpinner{display:none}.customerFlashProgress.ok .customerProgressBar{background:#39c985}.customerFlashProgress.bad .customerProgressBar{background:#df5b62}@keyframes ignitionTurn{0%,18%,100%{transform:rotate(-28deg)}45%,72%{transform:rotate(25deg)}}@keyframes ignitionGlow{0%{opacity:.8;transform:scale(.72)}100%{opacity:0;transform:scale(1.25)}}@keyframes chargeGlow{50%{filter:drop-shadow(0 0 9px #45db91);opacity:.55}}
.programProgressHead{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;text-align:center}.programProgressHead>b{display:block;font-size:15px}#programScreen.programmingActive>.wizardTitle,#programScreen.programmingActive>.wizardIntro,#programScreen.programmingActive>.programVisuals,#programScreen.programmingActive>.programDisclaimer,#programScreen.programmingActive>#programStartButton{display:none!important}#programScreen.programmingActive{padding-top:18px}#programScreen.programmingActive>.eyebrow{margin-bottom:12px}#programScreen.programmingActive>.customerFlashProgress{margin-top:0}.customerStageAnimation{width:100%;height:126px;margin:-2px 0 12px;border:1px solid #2d4960;border-radius:12px;background:radial-gradient(circle at 50% 50%,#17364d 0,#0a151e 68%);overflow:hidden}.customerStageAnimation svg{display:block;width:100%;height:100%}.stageGraphic{display:none;fill:none;stroke:#66c4ff;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}.stage-download .stageDownload,.stage-verify .stageVerify,.stage-flash .stageFlash,.stage-ignition .stageIgnition,.stage-dtc .stageDtc,.stage-report .stageReport,.stage-success .stageSuccess,.stage-error .stageError{display:block}.stageGraphic text{fill:#d9f2ff;stroke:none;font:800 17px ui-monospace,Consolas,monospace;text-anchor:middle}.dataRail{stroke-dasharray:9 9;animation:stageRail .7s linear infinite}.dataPacket{fill:#4ad6ff;stroke:#bcefff;filter:drop-shadow(0 0 7px #40caff);animation:stagePacket 1.7s ease-in-out infinite}.dataPacket.p2{animation-delay:.55s}.dataPacket.p3{animation-delay:1.1s}.verifyScan{stroke:#50ebaa;filter:drop-shadow(0 0 7px #50ebaa);animation:verifyScan 1.35s ease-in-out infinite}.verifyShield{fill:#143b2d;stroke:#48d995}.verifyTick{stroke:#8effc2;stroke-dasharray:50;animation:stageDraw 1.4s ease-in-out infinite}.flashChip{fill:#152d3e;stroke:#55c4ff;animation:chipGlow .85s ease-in-out infinite}.flashTrace{stroke-dasharray:12 9;animation:stageRail .55s linear infinite}.flashNode{fill:#fff;filter:drop-shadow(0 0 8px #49ccff);animation:nodePulse .7s ease-in-out infinite}.flashNode.n2{animation-delay:.35s}.ignitionStageRing{stroke:#318fd7;stroke-dasharray:14 8;animation:stageRotate 2.1s linear infinite;transform-origin:180px 63px}.ignitionStageKey{fill:#70caff;stroke:#b9e6ff;animation:stageKey 2s ease-in-out infinite;transform-origin:180px 63px}.stageIgnition text{font-size:13px}.dtcCode{fill:#ff8790!important;font-size:15px!important;text-anchor:start!important;animation:dtcFade 1.7s ease-in-out infinite}.dtcCode.d2{animation-delay:.35s}.dtcSweep{stroke:#ffcf62;stroke-width:8;animation:dtcSweep 1.7s ease-in-out infinite}.dtcArrow{stroke-dasharray:10 8;animation:stageRail .6s linear infinite}.dtcTick{stroke:#65e5a6;stroke-dasharray:70;animation:stageDraw 1.3s ease-in-out infinite}.mailBody{fill:#15334a;stroke:#75cfff;animation:mailPulse 1.4s ease-in-out infinite}.mailFly{stroke:#65e5a6;stroke-dasharray:45;animation:mailFly 1.35s ease-out infinite}.mailSignal{stroke-dasharray:10 8;animation:stageRail .7s linear infinite}.mailSignal.s1{animation-direction:reverse}.successStageRing{fill:#123d2b;stroke:#4cdd96;animation:successRing 1.25s ease-out infinite}.successStageTick{stroke:#91ffc7;stroke-width:8;stroke-dasharray:100;animation:stageDraw 1.15s ease-in-out infinite}.errorStageTriangle{fill:#4a1c24;stroke:#ff6874;animation:errorShake .45s ease-in-out infinite}.stageError path:last-child{stroke:#ffd9dc;stroke-width:8}@keyframes stageRail{to{stroke-dashoffset:-42}}@keyframes stagePacket{0%{opacity:0;transform:translateX(0)}15%{opacity:1}85%{opacity:1}100%{opacity:0;transform:translateX(108px)}}@keyframes verifyScan{0%,100%{transform:translateY(5px);opacity:.4}50%{transform:translateY(82px);opacity:1}}@keyframes stageDraw{0%{stroke-dashoffset:100}55%,100%{stroke-dashoffset:0}}@keyframes chipGlow{50%{filter:drop-shadow(0 0 12px #43c5ff);stroke:#c1efff}}@keyframes nodePulse{50%{transform:scale(1.7)}}@keyframes stageRotate{to{transform:rotate(360deg)}}@keyframes stageKey{0%,20%,100%{transform:rotate(-25deg)}48%,75%{transform:rotate(28deg)}}@keyframes dtcFade{0%,25%{opacity:1}75%,100%{opacity:.08;transform:translateX(45px)}}@keyframes dtcSweep{0%,15%{transform:translateY(-43px)}75%,100%{transform:translateY(0)}}@keyframes mailPulse{50%{filter:drop-shadow(0 0 12px #43c5ff);transform:translateY(-4px)}}@keyframes mailFly{0%{stroke-dashoffset:45;transform:translateY(22px);opacity:0}35%{opacity:1}100%{stroke-dashoffset:0;transform:translateY(-8px);opacity:0}}@keyframes successRing{0%{opacity:.35;transform:scale(.7);transform-origin:180px 63px}70%,100%{opacity:1;transform:scale(1);transform-origin:180px 63px}}@keyframes errorShake{25%{transform:translateX(-5px)}75%{transform:translateX(5px)}}@media(max-width:480px){.customerStageAnimation{height:96px}.customerStageAnimation svg{transform:scale(1.12)}.programProgressHead>b{font-size:13px}}@media(prefers-reduced-motion:reduce){.customerStageAnimation *{animation:none!important}}
.finishScreen{position:relative;overflow:hidden;min-height:480px;display:flex;flex-direction:column;align-items:center;justify-content:center}.finishScreen[hidden]{display:none}.finishCheck{display:grid;place-items:center;width:94px;height:94px;margin:10px auto 20px;border:3px solid #43d493;border-radius:50%;background:#143b2b;color:#70e8b2;font-size:52px;font-weight:900;box-shadow:0 0 32px #39c98555;animation:finishCheckIn .65s cubic-bezier(.2,.9,.25,1.25)}.finishStatus{width:min(560px,100%);margin:20px auto 4px;padding:14px;border:1px solid #28734f;border-radius:11px;background:#123324;color:#8aefb9;font-size:13px}.finishStatus.bad{border-color:#a43f49;background:#401b22;color:#ffd0d4}.finishBurst{position:absolute;inset:0;pointer-events:none}.finishBurst i{position:absolute;left:50%;top:39%;width:8px;height:18px;border-radius:3px;background:#4ab5ff;animation:finishBurst 1.5s ease-out infinite}.finishBurst i:nth-child(2){background:#45d991;animation-delay:.12s;transform:rotate(60deg)}.finishBurst i:nth-child(3){background:#ffd15c;animation-delay:.24s;transform:rotate(120deg)}.finishBurst i:nth-child(4){background:#f06c7b;animation-delay:.36s;transform:rotate(180deg)}.finishBurst i:nth-child(5){background:#a88cff;animation-delay:.48s;transform:rotate(240deg)}.finishBurst i:nth-child(6){background:#56d7df;animation-delay:.6s;transform:rotate(300deg)}@keyframes finishCheckIn{from{opacity:0;transform:scale(.35) rotate(-25deg)}to{opacity:1;transform:scale(1) rotate(0)}}@keyframes finishBurst{0%{opacity:1;translate:-50% 0}100%{opacity:0;translate:calc(-50% + 150px) -150px;rotate:180deg}}
@media(max-width:480px){.serverCheck{margin-top:12px;padding:12px}.serverCheckHead{gap:10px}.serverMiniSpinner{flex-basis:30px;width:30px;height:30px;border-width:3px}.serverCheck h3{font-size:14px}.serverCheck p{font-size:11px}.softwareOptions{margin-top:10px;gap:8px}.softwareOption{padding:12px;border-radius:10px}.softwareOption h3{font-size:15px}.softwareOption p,.softwareWarning{font-size:12px;line-height:1.4}.softwareWarning{padding:11px}.softwareOption button,.passwordRow button,.passwordRow input{width:100%;min-height:43px;padding:9px 11px;font-size:13px}.tuningList{gap:8px;margin-top:8px}.tuningItem{gap:8px;padding:10px}.tuningItem b{font-size:13px}.tuningItem small{font-size:10px}.selectionMessage{padding:11px;font-size:12px}.wizardOptionsActions{margin-top:14px}.wizardOptionsActions button{width:100%;min-height:44px}.programVisuals{grid-template-columns:1fr;gap:8px;margin:12px auto}.programVisual{padding:8px}.programVisual svg{height:72px}.programVisual b{font-size:13px}.programVisual span{font-size:10px}.disclaimerScroll{height:125px;padding:10px;font-size:11px}.programAccept{padding:10px;font-size:12px}.programStartButton{min-height:46px;margin-top:12px;font-size:14px}.customerFlashProgress{padding:12px}.programProgressHead{font-size:12px}.finishScreen{min-height:390px}.finishCheck{width:72px;height:72px;margin-bottom:14px;font-size:40px}.finishStatus{margin-top:14px;padding:11px;font-size:12px}}
 .controllerChoices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;max-width:960px;margin:22px auto}.controllerChoice{position:relative;isolation:isolate;display:grid;grid-template-columns:72px minmax(0,1fr);gap:15px;align-items:center;min-height:112px;padding:14px 17px;overflow:hidden;border:1px solid #36536a;border-radius:16px;background:linear-gradient(145deg,#1a3041,#12212d);color:#edf7ff;text-align:left;box-shadow:0 12px 30px #0003,inset 0 1px #ffffff0d;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.controllerChoice::after{content:"";position:absolute;z-index:-1;right:-34px;bottom:-54px;width:130px;height:130px;border-radius:50%;background:#319be817;filter:blur(2px)}.controllerChoice:hover:not(:disabled){transform:translateY(-2px);border-color:#4baef3;box-shadow:0 17px 38px #0005,0 0 0 1px #319be82b}.controllerChoice:active:not(:disabled){transform:translateY(0)}.controllerChoice .controllerIcon{display:grid;place-items:center;width:68px;height:68px;border:1px solid #397298;border-radius:16px;background:linear-gradient(145deg,#1c4b69,#153347);color:#83d3ff;box-shadow:inset 0 1px #ffffff18,0 8px 18px #0003}.controllerChoice svg{width:52px;height:52px;overflow:visible;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.controllerChoice b{font-size:14px;line-height:1.3}.controllerChoice.engine{border-color:#4c5764;background:linear-gradient(145deg,#27323b,#171f27)}.controllerChoice.engine::after{background:#a9bbc515}.controllerChoice.engine .controllerIcon{border-color:#65737e;background:linear-gradient(145deg,#43525e,#293640);color:#d1e1eb}.controllerChoice.online{border-color:#32715a;background:linear-gradient(145deg,#173b31,#122820)}.controllerChoice.online::after{background:#42dc9b1d}.controllerChoice.online .controllerIcon{border-color:#3d8a69;background:linear-gradient(145deg,#236247,#193f31);color:#79efb4}.controllerChoice.online:hover:not(:disabled){border-color:#54d49b;box-shadow:0 17px 38px #0005,0 0 0 1px #42d9962b}.controllerChoice:disabled{opacity:.38;filter:saturate(.45);cursor:not-allowed}.controllerChoice:disabled:hover{transform:none}.controllerChoice.checking:disabled{opacity:1;filter:none;border-color:#4baef3;cursor:wait}.controllerChoice.checking .controllerIcon svg{display:none}.controllerChoice.checking .controllerIcon::after{content:"";width:30px;height:30px;border:4px solid #ffffff35;border-top-color:#8bd9ff;border-radius:50%;animation:wizardSpin .72s linear infinite}.controllerChoice.checking b{color:#bde8ff}@media(max-width:900px){.controllerChoices{grid-template-columns:1fr;max-width:560px}.controllerChoice{min-height:92px;grid-template-columns:62px 1fr}.controllerChoice .controllerIcon{width:58px;height:58px;border-radius:14px}.controllerChoice svg{width:44px;height:44px}}@media(max-width:480px){.controllerChoices{gap:9px;margin-top:16px}.controllerChoice{min-height:78px;padding:10px 12px;grid-template-columns:54px 1fr;gap:11px;border-radius:13px}.controllerChoice .controllerIcon{width:50px;height:50px;border-radius:12px}.controllerChoice svg{width:39px;height:39px}.controllerChoice b{font-size:13px}}
/* Embed adaptations only: original device rules above are confined to this document. */
html,body{min-width:0;overflow-x:hidden}.demo-shell{position:relative;min-height:0}.side{position:absolute;inset:0 auto 0 0}.main{min-width:0;padding-bottom:26px}.nav button{width:100%;text-align:left;border:0;background:transparent}.nav button[aria-current=page]{background:#11283a;color:#dff1ff;box-shadow:inset 3px 0 #2c8fe5}.demo-label{display:inline-block;padding:6px 9px;border:1px solid #355069;border-radius:7px;font-size:10px;font-weight:700;letter-spacing:.08em;color:#8bccff;white-space:nowrap}.top{gap:15px}.top h1{font-size:25px}.demo-small{font-size:12px;line-height:1.55;color:#8e9dac}.demo-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:22px 0 0;color:#8e9dac;font-size:11px}.demo-footer button{font-size:11px}.demo-announcement{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}[hidden]{display:none!important}.main .eyebrow{display:block}.controllerChoices{grid-template-columns:1fr 1fr}.wizardIntro,.wizardInstruction,.programDisclaimer,.softwareOption{overflow-wrap:anywhere}.wizardInstruction{margin-bottom:12px}.wizardCard{padding:26px}.obdScene{height:205px;margin-top:20px}.stageGraphic text{font-family:system-ui,Arial,sans-serif}.customerProgressTrack{margin-top:20px}.customerFlashProgress{margin-bottom:0}button:focus-visible,a:focus-visible,input:focus-visible,.disclaimerScroll:focus-visible{outline:3px solid #8bccff;outline-offset:3px}.programProgressHead{margin-top:15px}.auxiliary h2{font-size:22px}.auxiliary p{line-height:1.6}.auxiliary{min-width:0}
@media(max-width:1050px){.side{width:184px;padding-inline:10px}.main{margin-left:184px;padding:22px 20px 24px}.brand{font-size:16px;padding-inline:7px}.brand small{font-size:8px}.nav button{font-size:12px}.controllerChoices{grid-template-columns:1fr}.controllerChoice{min-height:84px}.top h1{font-size:22px}}
@media(max-width:720px){.demo-shell{display:flex;flex-direction:column}.main{order:0;margin-left:0;padding:20px 12px 22px}.side{order:1;position:relative;inset:auto;width:100%;height:68px;padding:6px;border:0;border-top:1px solid #263441}.side .nav{height:100%}.nav button{display:grid;align-content:center;justify-items:center;gap:3px;text-align:center;padding:7px 2px;font-size:9px}.main .top h1{font-size:21px}.demo-label{font-size:8px;padding:5px 7px}.wizardCard{padding:20px}.programVisuals{grid-template-columns:1fr 1fr}.controllerChoice b{font-size:13px}.demo-footer{font-size:10px}.demo-footer button{width:100%}}
@media(max-width:480px){.wizardCard{padding:14px 12px}.wizardTitle{font-size:22px}.programVisuals{grid-template-columns:1fr}.obdScene{height:148px}.controllerChoices{gap:9px}.controllerChoice{min-height:78px}.wizardInstruction{padding:10px 11px}.wizardIntro{font-size:13px}.top{align-items:center}.demo-label{max-width:108px;text-align:center;white-space:normal}.main .settingsgrid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
/* Fixed phone viewport: scroll the device screen, keep its menu at the bottom. */
html{scrollbar-width:thin;scrollbar-color:#34485c #0b1118;overscroll-behavior-y:contain}
@media(max-width:720px){.demo-shell{display:block}.main{padding-bottom:90px}.side{position:fixed;z-index:30;inset:auto 0 0;width:100%;height:68px;background:#0e1720f5;backdrop-filter:blur(12px)}}
html{scrollbar-width:none}html::-webkit-scrollbar{width:0;height:0}

.demo-display-scrollbar{position:fixed;z-index:35;top:12px;right:3px;bottom:80px;width:10px;border-radius:10px;background:#2b4256;cursor:pointer;touch-action:none;user-select:none}.demo-display-scroll-thumb{position:absolute;top:0;left:0;width:100%;height:36px;border-radius:10px;background:#78ceff;box-shadow:0 0 5px #49baff33}
.demo-display-scroll-thumb{cursor:grab}.demo-display-scrollbar.is-dragging,.demo-display-scrollbar.is-dragging .demo-display-scroll-thumb{cursor:grabbing}.demo-display-scrollbar:focus-visible{outline:2px solid #bcefff;outline-offset:1px}

/* Current ECU-Programmer interface: firmware 1.3.09. */
:root{--bg:#0b1118;--panel:#121b25;--line:#263545;--text:#edf3f8;--muted:#8e9dac;--blue:#2c8fe5;--green:#39c985;--red:#df5b62}
.top{align-items:flex-end;gap:12px}
.top>div{min-width:0}
.top h1{font-size:25px;line-height:1.2;overflow-wrap:anywhere}
.firmwareVersion{flex:0 0 auto;color:var(--muted);font-size:12px;line-height:1.4;white-space:nowrap}
.demo-footer{justify-content:center}
.demo-footer button{font-size:12px;min-height:40px}
.controllerChoices{grid-template-columns:repeat(2,minmax(0,1fr));max-width:680px}
.controllerChoice{min-width:0}
.controllerChoice b{overflow-wrap:anywhere}
.wizardIntro,.wizardInstruction,.ecuDetails,.softwareOption,.programDisclaimer,.customerFlashProgress{line-height:1.5}
.ecuDetails{background:#121b25}
.ecuRow{min-width:0}
.ecuRow span{color:var(--muted)}
.ecuRow b{min-width:0;color:var(--text);font-weight:700;overflow-wrap:anywhere}
.serverCheckBox{width:min(650px,100%);margin:18px auto 0;padding:16px;border:1px solid #31516b;border-radius:13px;background:#122536;text-align:left}
.serverCheckBox>div:first-child{display:flex;align-items:center;gap:12px}
.serverCheckBox .serverMiniSpinner{flex-basis:28px;width:28px;height:28px;border-width:3px}
.serverCheckBox p{margin:0;color:var(--muted);line-height:1.5}
#serverCheckText{min-width:0;color:#dff1ff;font-size:13px;line-height:1.5}
.serverCheckTrack{height:6px;margin-top:13px;border-radius:999px;background:#263846;overflow:hidden}
#serverCheckBar{width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#258ee8,#52c7ff);transition:width .25s ease}
.softwareLibrary{display:grid;gap:14px;width:min(760px,100%);margin:18px auto 0;text-align:left}
.softwareLibraryHead{display:grid;grid-template-columns:minmax(0,1fr);gap:5px;align-items:center;padding:16px 18px;border:1px solid #31516b;border-radius:14px;background:linear-gradient(135deg,#142b3c,#101d28)}
.softwareVehicleLabel{color:#8e9dac;font-size:10px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
#softwareVehicle{display:block;min-width:0;margin:0;color:#edf3f8;font-size:16px;font-weight:750;line-height:1.4;overflow-wrap:anywhere}
#softwareEcuId{display:block;min-width:0;color:#8e9dac;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.softwareOption{position:relative;min-width:0;overflow:hidden;padding:0;border:1px solid var(--line);border-radius:13px;background:#111c26}
.softwareOption::before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:#3b9fe8}
.softwareOption.tuningCard::before{background:#e6b94e}
.softwareOption.updateCard::before{background:#55d699}
.softwareOptionBody{min-width:0;padding:18px 19px}
.softwareOptionTop{display:flex;align-items:center;gap:10px;min-width:0}
.softwareOptionTop h3,.softwareOptionTitle{min-width:0;margin:0;color:#edf3f8;font-size:17px;font-weight:750;line-height:1.3;overflow-wrap:anywhere}
.softwareOption p,.softwareOptionDescription{margin:10px 0 0;color:#8e9dac;font-size:14px;line-height:1.5}
.softwareTypeIcon{display:inline-grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border:1px solid #36546c;border-radius:10px;background:#142a3b;color:#70c8ff}
.softwareTypeIcon svg{display:block;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.tuningCard .softwareTypeIcon,.softwareTypeIcon.tuning{border-color:#785b28;background:#352916;color:#ffd166}
.updateCard .softwareTypeIcon,.softwareTypeIcon.update{border-color:#386c54;background:#153126;color:#67dda3}
.datasetList{display:grid;gap:10px;margin-top:14px}
.datasetRow{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;align-items:center;min-width:0;padding:13px 14px;border:1px solid #2d4355;border-radius:11px;background:#172631}
.datasetRow.offline{border-color:#2f6c51;background:#142b22}
.datasetInfo{min-width:0}
.datasetTitle{display:flex;align-items:center;gap:8px;min-width:0;color:#edf3f8;font-size:14px;font-weight:750;line-height:1.45}
.datasetTitle>b,.datasetTitle>span{min-width:0;overflow-wrap:anywhere}
.datasetSubtitle{margin:4px 0 0;color:#a6b9ad;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.offlineBadge{display:inline-flex;align-items:center;gap:6px;flex:0 0 auto;margin-top:9px;padding:6px 9px;border:1px solid #435565;border-radius:999px;color:#9aaab7;font-size:10px;font-weight:800;line-height:1.3;letter-spacing:.03em;text-transform:uppercase}
.offlineBadge.ready{border-color:#317553;background:#153426;color:#73e6a8}
.offlineBadge i{flex:0 0 7px;width:7px;height:7px;border-radius:50%;background:currentColor}
.datasetActions,.datasetRow>.datasetActions:last-child{display:flex;align-items:stretch;justify-content:flex-end;gap:7px;flex-wrap:wrap;min-width:0;width:100%}
.datasetRow .datasetProgramButton{flex:1 1 150px;min-width:0;min-height:44px;margin:0;padding:10px 12px;border:1px solid #3477aa;border-radius:9px;background:#1c6398;color:#eef8ff;font-size:13px;font-weight:750;line-height:1.4;text-align:center;overflow-wrap:anywhere}
.datasetRow .datasetProgramButton.offline{border-color:#397858;background:#194c37;color:#92efbb}
.datasetRow .datasetProgramButton.online{border-color:#3477aa;background:#1c6398;color:#eef8ff}
.datasetRow .datasetProgramButton:hover:not(:disabled){filter:brightness(1.14)}
.datasetRow .datasetProgramButton:disabled{cursor:not-allowed;opacity:.5}
.datasetRow .datasetInfoButton{display:inline-grid;place-items:center;flex:0 0 30px;width:30px;min-width:30px;height:30px;min-height:30px;margin:0;padding:0;border:1px solid #4d8fbc;border-radius:50%;background:#173a51;color:#7dccff;font-size:17px;font-weight:900;line-height:1}
.datasetRow .datasetInfoButton:hover{background:#205471;color:#fff}
dialog.tuningInfoDialog{position:fixed;width:min(620px,calc(100% - 28px));max-width:none;max-height:calc(100dvh - 32px);margin:auto;padding:22px;border:1px solid #3e6580;border-radius:16px;background:#101e29;color:#edf3f8;box-shadow:0 24px 80px #000b;overflow:auto}
dialog.tuningInfoDialog::backdrop{background:rgba(2,8,14,.82);backdrop-filter:blur(5px)}
.tuningInfoHead{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}
.tuningInfoHead>div{min-width:0}
.tuningInfoDialog h2,.tuningInfoDialog h3{margin:4px 0 0;font-size:20px;line-height:1.3;overflow-wrap:anywhere}
.tuningInfoHead button{display:grid;place-items:center;flex:0 0 34px;width:34px;min-width:34px;min-height:34px;margin:0;padding:0;border:1px solid #365069;background:#142536;color:#bce3ff;font-size:22px;line-height:1}
.tuningInfoText{margin:0;padding:15px;border:1px solid #2c4659;border-radius:11px;background:#0b151d;color:#dbe9f2;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.55}
.tuningInfoText p{margin:0 0 12px}
.tuningInfoText p:last-child{margin-bottom:0}
.programVisuals{grid-template-columns:repeat(auto-fit,minmax(min(190px,100%),1fr));width:min(860px,100%)}
.programVisual{min-width:0}
.programVisual b,.programVisual span{max-width:100%;overflow-wrap:anywhere}
@media(max-width:720px){
  .nav,.apconfig .nav{grid-template-columns:repeat(5,minmax(0,1fr));gap:2px}
  .nav button{min-width:0;font-size:9px;line-height:1.3;overflow-wrap:anywhere}
  .firmwareVersion{font-size:11px}
  .main{padding-right:16px}
  .controllerChoices{grid-template-columns:repeat(2,minmax(0,1fr))}
  .softwareLibraryHead{padding:12px}
  .softwareOptionTop{align-items:center}
}
@media(max-width:480px){
  .top{gap:8px;align-items:flex-end;margin-bottom:18px}
  .main .top h1{font-size:21px}
  .firmwareVersion{padding-bottom:4px;font-size:10px}
  .controllerChoices{gap:9px;margin-top:16px}
  .controllerChoice{display:flex;flex-direction:column;justify-content:center;gap:10px;min-height:140px;padding:12px 9px;text-align:center}
  .controllerChoice .controllerIcon{flex:0 0 50px;width:50px;height:50px}
  .controllerChoice b{font-size:12px;line-height:1.4}
  .ecuDetails{font-size:13px}
  .serverCheckBox{margin-top:12px;padding:12px}
  #serverCheckText{font-size:12px}
  .softwareLibrary{gap:9px;margin-top:14px}
  #softwareVehicle{font-size:14px}
  #softwareEcuId{font-size:11px}
  .softwareOption{border-radius:10px}
  .softwareOptionBody{padding:13px 12px}
  .softwareOptionTop h3,.softwareOptionTitle{font-size:15px}
  .softwareOption p,.softwareOptionDescription{font-size:13px}
  .softwareTypeIcon{flex-basis:32px;width:32px;height:32px;border-radius:8px}
  .softwareTypeIcon svg{width:20px;height:20px}
  .datasetList{gap:8px;margin-top:11px}
  .datasetRow{gap:10px;padding:10px}
  .datasetTitle{font-size:13px}
  .datasetSubtitle{font-size:12px}
  .offlineBadge{align-self:flex-start;padding:5px 7px;font-size:9px}
  .datasetActions,.datasetRow>.datasetActions:last-child{align-items:stretch;flex-direction:column;flex-wrap:nowrap}
  .datasetRow .datasetProgramButton{flex:0 0 auto;width:100%;min-width:0;font-size:13px}
  .datasetRow .datasetInfoButton{width:30px;min-width:30px;min-height:30px;padding:0;font-size:17px}
  dialog.tuningInfoDialog{padding:16px}
  .tuningInfoDialog h2,.tuningInfoDialog h3{font-size:18px}
  .tuningInfoText{padding:12px;font-size:13px}
  .programVisuals{grid-template-columns:1fr;gap:8px;margin:12px auto}
  .programVisual svg{height:72px}
  .programVisual b{font-size:13px}
  .programVisual span{font-size:11px}
}
.serverMiniSpinner{display:block;flex:0 0 28px;width:28px;height:28px;border:3px solid #31495c;border-top-color:#48aaf3;border-radius:50%;animation:wizardSpin .75s linear infinite}
.datasetTitleLine{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}.datasetTitleLine .datasetTitle{flex:1;overflow-wrap:anywhere}.datasetSubtitle{display:block}

.offlineBadge.ready::before{content:"";flex:0 0 6px;width:6px;height:6px;border-radius:50%;background:currentColor}

@media(max-width:720px){.nav button[data-nav="firmware-update"] span{font-size:8px;letter-spacing:-.02em;white-space:nowrap}}
.programProgressHead{font-variant-numeric:tabular-nums}
