@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--ink:#183e36;--text:#243c35;--muted:#64746b;--paper:#f5f6f0;--line:#dce2d6;--lime:#d6efa6;--white:#fff;--amber:#965919;--red:#a33225}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--text);font:14px 'DM Sans',system-ui,sans-serif}h1,h2,h3,.brand{font-family:Manrope,system-ui,sans-serif}h1{font-size:36px;letter-spacing:-1.5px;line-height:1.2;margin:10px 0 12px}h2{font-size:20px;letter-spacing:-.5px;margin:0 0 12px}h3{font-size:16px;margin:8px 0 10px}p{line-height:1.65}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer}button{border:1px solid var(--line);border-radius:8px;background:white;color:var(--ink);padding:11px 15px;font-weight:600}button:hover{background:#eaf0e2}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #628732;outline-offset:3px}a{color:var(--ink)}.sidebar{position:fixed;inset:0 auto 0 0;width:236px;background:var(--ink);color:white;padding:36px 22px;display:flex;flex-direction:column}.brand{display:flex;gap:9px;align-items:center;font-size:25px;letter-spacing:-1px;font-weight:800;text-decoration:none;color:white}.brand-icon{background:var(--lime);color:var(--ink);width:35px;height:35px;border-radius:10px;font-size:32px;line-height:32px;padding-left:6px;position:relative}.brand-icon span{font:19px system-ui;position:absolute;right:2px;top:-2px}.brand-dot{font:10px system-ui;align-self:flex-start;margin-top:6px}.sidebar-label{font-size:10px;letter-spacing:2px;color:#a7bdb2;margin:55px 14px 18px}nav{display:grid;gap:8px}nav button{display:flex;align-items:center;gap:14px;text-align:left;background:transparent;border:0;color:#bdcec6;font-size:19px;padding:14px}nav button span{font-size:13px}nav button:hover{background:#2b5145}nav button.active{background:var(--lime);color:var(--ink)}.side-bottom{margin-top:auto;padding:20px 10px 0}.side-bottom p{font-size:11px;color:#adc1b7}.local-mark{font-size:12px}.district{display:block;border-top:1px solid #426056;margin-top:25px;padding-top:24px;letter-spacing:1px;font-size:9px;color:#bacebd}.shell{margin-left:236px}.topbar{padding:23px 42px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);font-size:12px}.top-actions{display:flex;align-items:center;gap:15px}.badge{font-size:11px;padding:6px 10px;border-radius:5px;background:#e7eddb;color:#355532;display:inline-block}.text-button{border:0;background:none;padding:7px 0;font-size:12px}main{max-width:1480px;margin:auto;padding:34px 42px 24px;min-height:calc(100vh - 145px)}.eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:700;color:#6b7b5c}.heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:26px}.heading p{margin:0;color:var(--muted)}.primary{background:var(--ink);color:white;border-color:var(--ink)}.primary:hover{background:#315b47}.lime{background:var(--lime);color:var(--ink);border:0}.hero{display:grid;grid-template-columns:1fr 1.12fr;background:#e7eddd;border:1px solid #d9e2ce;border-radius:14px;overflow:hidden;min-height:278px;margin-bottom:22px}.hero-copy{padding:30px}.hero h2{font-size:28px;line-height:1.25;letter-spacing:-1px;max-width:340px;margin:14px 0}.hero p{color:#536650;max-width:330px;font-size:13px}.hero .primary{margin-top:10px}.vehicle-art{position:relative;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse at center,#dce7ca 0%,transparent 70%);min-width:0}.vehicle-art:before{content:'';position:absolute;width:80%;height:70%;background-image:linear-gradient(#afc19a33 1px,transparent 1px),linear-gradient(90deg,#afc19a33 1px,transparent 1px);background-size:24px 24px;transform:perspective(400px) rotateX(36deg) rotateZ(-8deg)}.vehicle-art svg{width:100%;max-width:560px;z-index:1}.art-label{position:absolute;bottom:18px;right:22px;font-size:9px;letter-spacing:1.5px;color:#627353}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:28px}.stat{background:#fff;border:1px solid var(--line);border-radius:10px;padding:20px}.stat .label{color:var(--muted);font-size:12px}.stat strong{font:700 29px Manrope,system-ui;letter-spacing:-1px;display:block;margin-top:12px}.stat small{font-size:11px;color:var(--muted)}.stat .stat-icon{float:right;width:32px;height:32px;border-radius:8px;display:grid;place-items:center;background:#f0f4e8}.grid{display:grid;grid-template-columns:1.22fr 1fr;gap:22px}.card{background:white;border:1px solid var(--line);border-radius:12px;padding:24px;margin-bottom:20px}.card-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:15px}.card-head h2{margin:0}.muted{color:var(--muted)}.small{font-size:12px}.tiny{font-size:10px}.row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;border-top:1px solid #edf0e6}.row strong{display:block;font-size:13px;margin-bottom:5px}.row p{font-size:12px;margin:0;color:var(--muted)}.status{font-size:10px;white-space:nowrap;padding:5px 8px;border-radius:4px;background:#edf2e5;color:#45603c}.status.overdue{background:#fcece3;color:#95491d}.status.soon{background:#f7f1d9;color:#7b641e}.system-row{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.system-button{padding:15px 8px;font-size:11px;background:#f8faf4}.system-button.selected{border-color:#43693e;background:#e7efdb}.system-button span{display:block;font-size:22px;margin-bottom:10px}.note{border-left:3px solid #a7c479;padding:10px 14px;background:#f3f7ed;font-size:12px;line-height:1.6}.warning{border-left-color:#b2572a;background:#fff2e6}.urgent{border-left-color:#b03728;background:#fff0eb}.search{display:flex;gap:10px;margin:20px 0 12px}.search input{flex:1;min-width:0;font-size:18px;text-transform:uppercase;letter-spacing:2px}input,select,textarea{border:1px solid #cbd5c5;border-radius:7px;background:white;color:var(--text);padding:12px;width:100%}label{display:block;font-size:12px;font-weight:600;margin:14px 0 7px}textarea{min-height:85px;resize:vertical}.chips{display:flex;gap:7px;flex-wrap:wrap}.chips button{font:12px ui-monospace,monospace;padding:7px 10px;background:#f1f5e9}.code-head{display:flex;gap:16px;align-items:center;margin-bottom:22px}.code-pill{font:600 25px ui-monospace,monospace;background:#eaf1dc;padding:15px;border-radius:8px}.code-head h2{margin:0}.result-sections{display:grid;grid-template-columns:1fr 1fr;gap:24px}.result-sections ul{padding-left:18px;line-height:1.7;font-size:13px}.section-num{font:12px ui-monospace;color:#83926d}.system-view{display:grid;grid-template-columns:1.4fr 1fr;gap:20px}.schematic{background:#e9efdf;border-radius:10px;position:relative;min-height:340px;display:grid;place-items:center}.schematic svg{width:100%;max-height:380px}.schematic .hotspots{position:absolute;inset:0}.hotspots button{position:absolute;transform:translate(-50%,-50%);width:36px;height:36px;padding:0;background:white;border:2px solid #647e44;border-radius:50%;box-shadow:0 0 0 6px #ffffff70;font-size:12px}.hotspots button.selected{background:var(--ink);color:white;border-color:var(--ink)}.list-system{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.list-system button{font-size:12px}.list-system button.selected{background:var(--ink);color:white}.tools{display:flex;gap:10px;flex-wrap:wrap}.vehicle-select{max-width:250px}.empty{padding:45px 20px;text-align:center}.empty p{color:var(--muted)}.task-actions{display:flex;align-items:center;gap:8px}.task-actions button{font-size:11px;padding:8px 10px}.progress{height:5px;background:#e8ecdf;border-radius:8px;overflow:hidden;margin:14px 0}.progress span{height:100%;display:block;background:#73944b}footer{padding:20px 42px;border-top:1px solid var(--line);font-size:11px;display:flex;justify-content:space-between;align-items:center}dialog{border:0;border-radius:14px;padding:30px;width:min(480px,calc(100% - 30px));color:var(--text);max-height:90vh;overflow:auto}dialog::backdrop{background:#0c2419a6;backdrop-filter:blur(3px)}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.form-error{color:var(--red);font-size:12px}.split{display:grid;grid-template-columns:1fr 1fr;gap:14px}.skip{position:fixed;top:-70px;left:20px;background:white;padding:15px;z-index:10}.skip:focus{top:10px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;padding:13px 22px;border-radius:8px;z-index:20;display:none;max-width:90vw}.guide-step{display:flex;gap:17px;padding:15px 0}.guide-step .number{background:#e7efd9;border-radius:50%;min-width:30px;height:30px;display:grid;place-items:center;font-weight:700}.guide-step p{margin:5px 0}.demo-banner{background:#e8efdc;border:1px solid #d7e1c7;border-radius:8px;padding:12px 16px;margin-bottom:20px;font-size:12px}.issue{color:var(--red)}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@media(min-width:1450px){main{padding-top:45px}.hero{min-height:310px}}@media(max-width:1100px){.sidebar{width:200px;padding:30px 15px}.shell{margin-left:200px}main{padding:28px 25px}.topbar,footer{padding-left:25px;padding-right:25px}.grid{grid-template-columns:1fr 1fr}.hero-copy{padding:24px}.hero h2{font-size:25px}.system-view{grid-template-columns:1fr}.result-sections{gap:18px}}@media(max-width:760px){.sidebar{position:relative;width:100%;padding:18px 20px}.brand{font-size:22px}.brand-icon{width:30px;height:30px;font-size:28px}.sidebar-label,.side-bottom{display:none}nav{display:flex;margin-top:18px;gap:5px;overflow-x:auto}nav button{padding:10px;font-size:16px;gap:6px;white-space:nowrap}nav button span{font-size:11px}.shell{margin:0}.topbar{padding:13px 20px}.topbar>span{display:none}.top-actions{justify-content:space-between;width:100%}main{padding:24px 20px}.heading{align-items:start}.heading h1{font-size:29px}.heading>button{font-size:11px}.hero{grid-template-columns:1fr}.hero-copy{padding:25px}.hero h2{max-width:100%;font-size:27px}.hero p{max-width:100%}.vehicle-art{min-height:215px}.stats{gap:8px}.stat{padding:14px 11px}.stat .stat-icon{display:none}.stat strong{font-size:24px}.stat .label{font-size:10px}.stat small{font-size:9px}.grid,.result-sections{grid-template-columns:1fr}.card{padding:20px}.system-view{grid-template-columns:1fr}.heading .tools{max-width:140px}.row{gap:10px}.task-actions{flex-wrap:wrap;justify-content:flex-end}.code-head{align-items:start}.code-pill{font-size:18px;padding:12px}.code-head h2{font-size:18px}footer{padding:16px 20px;gap:15px;align-items:start}footer .muted{display:none}.schematic{min-height:260px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}@media print{.sidebar,.topbar,footer,button,.demo-banner{display:none!important}.shell{margin:0}main{padding:0}.card{break-inside:avoid}body{background:white}}

.library-controls{display:grid;grid-template-columns:1fr 260px;gap:20px}.library-controls label{margin-top:0}.library-controls input{height:45px}.library-controls select{height:45px}.email-layout{max-width:680px;margin:0 auto}.email-layout .card{padding:32px}.account-symbol{font-size:30px;background:#e7efdb;width:58px;height:58px;display:grid;place-items:center;border-radius:14px;margin-bottom:22px}@media(max-width:760px){.library-controls{grid-template-columns:1fr}.top-actions{gap:8px}#account-button{font-size:11px}.email-layout .card{padding:24px}.library-controls+.note{font-size:11px}}
.vehicle-history{border:1px solid var(--line);border-radius:12px;background:#f7f9f2;padding:22px;margin:16px 0 24px}.vin-value{font:600 20px ui-monospace,monospace;letter-spacing:1.2px;overflow-wrap:anywhere}.report-box{border-top:1px solid var(--line);margin-top:20px;padding-top:18px}.button-link{display:inline-block;border:1px solid var(--line);border-radius:8px;background:white;padding:11px 15px;font-weight:600;text-decoration:none}.vehicle-history .tools{display:flex;flex-wrap:wrap;gap:10px}.history-pdf{width:100%;height:65vh;border:1px solid var(--line);border-radius:8px}button:disabled{opacity:.5;cursor:not-allowed}@media(max-width:760px){.vehicle-history{padding:16px}.vin-value{font-size:17px}.vehicle-history .card-head{align-items:flex-start}.vehicle-history .tools>*{max-width:100%}}
.history-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:18px 0}.history-summary .label{display:block;font-size:10px;letter-spacing:1px;color:var(--muted);margin-bottom:8px}.history-summary strong{display:block;overflow-wrap:anywhere}.history-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}.history-facts>div{background:white;border:1px solid var(--line);border-radius:9px;padding:15px}.history-facts p{white-space:pre-wrap;overflow-wrap:anywhere}.vehicle-history .card-head{flex-wrap:wrap;gap:12px}@media(max-width:760px){.history-summary,.history-facts{grid-template-columns:1fr}.card-head>.tools{flex-wrap:wrap;gap:8px}.history-pdf{height:55vh}}

/* Expanded vehicle-system learning guide */
.system-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin:22px 0}.system-detail-grid .card{min-width:0}.system-detail-grid li{margin:12px 0;line-height:1.6}.system-parts{margin:0}.system-parts>div{padding:15px 0;border-bottom:1px solid #e4e7eb}.system-parts dt{font-weight:700}.system-parts dd{margin:7px 0 0;line-height:1.6;color:#546176}.system-flow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;padding-left:24px}.system-flow li{padding:15px;background:#f3f6fa;border-radius:10px;line-height:1.5}.list-system{flex-wrap:wrap;gap:8px;margin-bottom:24px}.system-detail-grid button:focus-visible,.list-system button:focus-visible{outline:3px solid #225ee8;outline-offset:3px}@media(max-width:760px){.system-detail-grid{grid-template-columns:1fr}.system-flow{grid-template-columns:repeat(2,minmax(0,1fr))}.system-view{grid-template-columns:1fr}.list-system button{min-height:44px}.system-detail-grid .chips{flex-wrap:wrap}}

/* Progressive learning, diagrams and vehicle profiles */
.system-detail-grid details>summary,.glossary>summary{font-size:1.15rem;font-weight:700;cursor:pointer;min-height:44px}.system-detail-grid details[open]>summary{margin-bottom:18px}.component-diagram{margin:24px 0;background:#f8faff;border:1px solid #d5e1f1;border-radius:14px;padding:16px}.component-diagram svg{display:block;width:100%;height:auto;min-width:290px}.component-diagram figcaption{font-size:.875rem;line-height:1.6;color:#465b72}.component-diagram summary{cursor:pointer;padding:12px 0}.glossary dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.glossary dt{font-weight:700}.glossary dd{margin:6px 0;line-height:1.6}dfn{font-style:normal;text-decoration:underline dotted;text-underline-offset:4px;cursor:help}dfn:focus-visible{outline:2px solid #225ee8;outline-offset:3px}fieldset{border:1px solid #d5e1f1;border-radius:10px;margin:20px 0;padding:14px}legend{padding:0 5px;font-weight:600}@media(max-width:600px){.glossary dl{grid-template-columns:1fr}.component-diagram{padding:8px;margin-inline:0;overflow-x:auto}.system-detail-grid details>summary{font-size:1.05rem}}

dfn{position:relative}.term-hint{display:none;position:absolute;left:0;bottom:1.7em;z-index:5;width:260px;max-width:70vw;padding:12px;background:#17324d;color:#fff;border-radius:8px;font:normal 14px/1.5 system-ui;box-shadow:0 4px 16px #0003;white-space:normal}dfn:hover .term-hint,dfn:focus .term-hint{display:block}

/* Focused entry points, with secondary tools progressively disclosed. */
.start-actions{display:grid;grid-template-columns:1.25fr 1fr;gap:22px}.start-actions .card{padding:30px}.start-actions h2{font-size:28px;margin-top:16px}.start-primary{background:#e7eddd}.start-actions p{max-width:450px}.start-actions button{margin:10px 0}.nav-more{margin-top:16px;border-top:1px solid #426056;padding-top:16px}.nav-more summary{color:#bdcec6;padding:12px 14px;font-size:13px}.nav-more button{width:100%;margin-top:6px}.nav-more:has(button.active){border-color:var(--lime)}summary{cursor:pointer;font-weight:600;line-height:1.6;min-height:34px}summary:focus-visible{outline:3px solid #628732;outline-offset:4px}.context-options,.history-disclosure{border-top:1px solid var(--line);padding:16px 0;margin-top:14px}.context-options[open] summary,.history-disclosure[open] summary{margin-bottom:16px}.garage-tools{position:relative}.garage-tools[open] .tools{max-width:420px;flex-wrap:wrap;margin-top:12px}.library-controls{display:block}.library-filters{margin-top:18px}.filter-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}.tools{flex-wrap:wrap}details.card>summary{font-size:16px}details.card[open]>summary{margin-bottom:18px}.top-actions{flex-wrap:wrap}nav button span{font-size:14px}
@media(max-width:720px){.start-actions{grid-template-columns:1fr;gap:0}.start-actions .card{padding:22px}.start-actions h2{font-size:24px}.filter-grid{grid-template-columns:1fr}.nav-more{margin:0;padding:0;border:0}.nav-more summary{padding:10px}.nav-more[open]{grid-column:1/-1}.garage-tools[open] .tools{width:100%}.card-head{flex-wrap:wrap}.heading h1{font-size:29px}.top-actions{gap:10px}}

/* A single visual anchor, balanced with the two main actions. */
.home-vehicle{display:grid;grid-template-columns:minmax(250px,.85fr) minmax(0,1.15fr);align-items:center;gap:22px;background:#e7eddd;border:1px solid #d5dfca;border-radius:16px;padding:26px 30px;margin-bottom:22px;overflow:hidden}.home-vehicle-copy h2{font-size:30px;line-height:1.2;margin:14px 0;max-width:350px}.home-vehicle-copy>p{max-width:385px;color:#526650}.home-vehicle-copy .tiny{margin-bottom:0}.home-vehicle-art{position:relative;min-width:0;background:radial-gradient(ellipse,#d4e3bd 0%,transparent 72%)}.vehicle-drawing svg{width:100%;max-height:235px;display:block}.home-system-links{display:flex;justify-content:center;gap:9px;flex-wrap:wrap}.home-system-links button{border-color:#c6d2ba;background:#ffffffbd;font-size:12px;padding:8px 14px;min-height:40px}.home-vehicle~.start-actions .start-primary{background:white}.home-vehicle~.start-actions h2{font-size:23px;margin-top:12px}.home-vehicle~.start-actions .card{padding:24px}.home-vehicle~.start-actions .tiny{margin-bottom:0}
@media(max-width:760px){.home-vehicle{grid-template-columns:1fr;padding:22px;gap:8px}.home-vehicle-copy h2{font-size:26px}.home-vehicle-art{max-width:500px;width:100%;margin:auto}.vehicle-drawing svg{max-height:185px}.home-system-links button{min-height:44px}.start-actions{grid-template-columns:1fr;gap:0}}

.underside-schematic{min-height:0;aspect-ratio:2/1}.underside-schematic svg{width:100%;height:100%;max-height:none}.underside-svg{display:block;width:100%;height:auto}.demo-active .sidebar,.demo-active .topbar,.demo-active footer{display:none}.demo-active .shell{margin-left:0}.demo-active main{max-width:1080px;padding:32px 28px}.demo-active .demo-banner{display:none}.demo-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.demo-header h1{font-size:32px}.demo-header p{color:var(--muted)}.demo-stepper{list-style:none;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;padding:0;margin:22px 0}.demo-stepper button{height:100%;width:100%;text-align:left;font-size:12px;background:transparent;padding:14px 10px}.demo-stepper button>span{display:block;border-radius:50%;background:#e3ead9;width:28px;height:28px;text-align:center;line-height:28px;margin-bottom:9px}.demo-stepper [aria-current]{background:var(--ink);color:white;border-color:var(--ink)}.demo-stepper [aria-current]>span{background:var(--lime);color:var(--ink)}.demo-panel{padding:32px;min-height:330px}.demo-panel h2{font-size:27px;margin:16px 0}.demo-panel p,.demo-panel li{font-size:15px;line-height:1.75}.demo-panel .underside-svg{max-width:720px;margin:auto}.demo-controls{display:flex;justify-content:space-between;align-items:center;gap:14px}.demo-code{font:700 38px ui-monospace,monospace;color:var(--ink);margin:25px 0}.demo-warning-icon{width:68px;height:68px;border:3px solid #9b631d;border-radius:20px;color:#9b631d;font:bold 46px system-ui;text-align:center;margin:24px 0}.demo-panel:focus{outline:none}@media(max-width:650px){.demo-active main{padding:20px 16px}.demo-header h1{font-size:25px}.demo-stepper{gap:5px}.demo-stepper button{font-size:10px;padding:9px 5px}.demo-panel{padding:22px}.demo-panel h2{font-size:23px}.demo-controls button{padding:12px}.demo-panel .row{flex-wrap:wrap}.hotspots button{width:28px;height:28px;box-shadow:0 0 0 3px #ffffff70}}

.home-symptoms{position:relative;margin-bottom:22px}.symptom-shortcuts{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:12px}.symptom-shortcuts button{font-size:12px;min-height:44px}.home-symptoms .card{margin-bottom:0}.home-symptoms h3{margin-top:20px}.home-symptoms .note.urgent{margin-top:20px}@media(max-width:600px){.symptom-shortcuts{display:grid;grid-template-columns:1fr}.symptom-shortcuts button{text-align:left}}

.system-tabs{display:flex;gap:8px;border-bottom:1px solid var(--line);padding-bottom:12px;margin-bottom:22px;flex-wrap:wrap}.system-tabs [role="tab"]{min-height:44px;padding:12px 20px}.system-tabs [aria-selected="true"]{background:var(--ink);border-color:var(--ink);color:white}#systems-panel:focus-visible{outline:3px solid #628732;outline-offset:5px}@media(max-width:600px){.system-tabs{display:grid;grid-template-columns:1fr 1fr}.system-tabs [role="tab"]{padding:12px 10px;font-size:12px}}

.lookup-vehicle{background:#f5f8ef;border:1px solid var(--line);padding:18px;border-radius:10px;margin-bottom:24px}.lookup-vehicle h3{margin-top:0}.next-checks{padding:20px;margin:24px 0;border:1px solid #d6e2c8;border-radius:10px;background:#f5f8ef}.documented-details,.source-variants{border-top:1px solid var(--line);padding:18px 0;margin-top:16px}.source-variants select{max-width:100%}.task-actions{flex-wrap:wrap}.lookup-vehicle .small{margin-bottom:4px}#code-result{min-width:0}.code-head h2{overflow-wrap:anywhere}@media(max-width:760px){.lookup-vehicle{padding:14px}.next-checks{padding:16px}.task-actions{justify-content:flex-start}.row:has([data-calendar]){flex-wrap:wrap}.search button{padding:10px}.code-head{flex-wrap:wrap}}
/* Lookup is the primary journey on every screen size. */
.lookup-primary{max-width:850px;margin:0 auto 22px;padding:28px}.lookup-primary .search{display:flex;gap:12px}.lookup-primary #code{font-size:clamp(24px,4vw,36px);letter-spacing:.06em;min-width:0;flex:1;text-transform:uppercase}.lookup-primary .search button{white-space:nowrap;font-size:17px}.vehicle-summary{margin-bottom:24px}.context-options{margin-top:10px}.context-options summary{cursor:pointer;color:#315b4b}.demo-actions{display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin-top:18px}.result-card{max-width:850px;margin:0 auto 22px}.supporting-tools{max-width:850px;margin:auto}.code-head{align-items:center;flex-wrap:wrap}.evidence-status{border-bottom:1px solid #d5dfd2;padding-bottom:12px;margin-bottom:20px}.documented-details,.source-variants,.result-education{margin-top:20px}.top-actions .badge{display:none}button:disabled{opacity:.65;cursor:wait}summary:focus-visible,button:focus-visible,a:focus-visible{outline:3px solid #496caf;outline-offset:4px}input,select{max-width:100%}@media(max-width:600px){.lookup-primary{padding:18px}.lookup-primary .search{flex-direction:column}.lookup-primary .search button{width:100%}.topbar{gap:8px}.heading h1{font-size:30px}.code-head h2{font-size:23px}.split{grid-template-columns:1fr}main{padding:20px 14px}.row{flex-wrap:wrap}.task-actions{flex-wrap:wrap}nav{flex-wrap:wrap}.sidebar nav>button[data-page="diagnostics"]{font-weight:800}}

/* A practical, scoped path from a code to a service conversation. */
.service-visit{max-width:850px;margin:0 auto 22px;background:#f9fbf5}.service-visit h2{font-size:25px;margin-top:10px}.service-visit textarea{display:block;width:100%;resize:vertical;min-height:110px;border:1px solid var(--line);border-radius:8px;padding:12px;background:white;color:var(--text)}.service-visit select,.service-visit input{width:100%;min-height:44px}.service-visit #visit-urgency{margin:14px 0 22px}.service-visit #visit-urgency p{margin:6px 0 0}.mechanic-questions{padding-left:22px}.mechanic-questions li,.next-checks li,.scan-checklist li{line-height:1.65;margin-bottom:10px}.scan-checklist{margin:18px 0 24px}.evidence-pills{display:flex;flex-wrap:wrap;gap:8px}.scope-detail{margin-top:14px}.scope-detail summary,.scan-checklist summary{cursor:pointer;font-weight:600}.meaning-section .eyebrow,.next-checks .eyebrow{display:block;margin-bottom:8px}.meaning-copy{font-size:17px;line-height:1.75}.context-options[open]{background:#f5f8ef;border:1px solid var(--line);border-radius:10px;padding:16px}.service-visit .primary{margin-top:8px}@media(max-width:600px){.service-visit{padding:18px}.service-visit h2{font-size:22px}.service-visit .primary{width:100%}.evidence-pills{align-items:flex-start;flex-direction:column}.evidence-pills .badge{line-height:1.5;white-space:normal}.meaning-copy{font-size:16px}}

.diy-research{background:#edf4e4;border:1px solid #d3dfc5;border-radius:12px;padding:22px;margin:24px 0}.diy-research h3{font-size:22px}.research-actions{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0}.research-actions a{display:inline-flex;align-items:center;min-height:46px;padding:12px 18px;border-radius:8px;background:var(--ink);color:white;text-decoration:none;font-weight:700}.research-actions a:hover{background:#315b47}.diy-research details{margin-top:18px}.diy-research summary,.mechanic-help summary{cursor:pointer;font-weight:600}.mechanic-help{margin:22px 0}.service-visit[hidden]{display:none}@media(max-width:600px){.diy-research{padding:16px}.research-actions{flex-direction:column}.research-actions a{justify-content:center;width:100%}}

/* Small help controls with one dismissible explanation, including inside dialogs. */
.field-label{display:flex;align-items:center;gap:3px;margin-top:14px}.field-label label{margin:0}.term-help-button{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;min-width:26px;padding:0;margin:0 2px;border:0;border-radius:50%;background:transparent;color:#526b60;vertical-align:middle;font:700 11px/1 system-ui;cursor:help}.term-help-button span{display:grid;place-items:center;width:16px;height:16px;border:1px solid #819b8d;border-radius:50%;background:#f0f5e9}.term-help-button:hover,.term-help-button[aria-expanded="true"]{background:#dcebc9;color:#173e34}.term-popover{position:fixed;inset:auto;margin:0;width:min(300px,calc(100vw - 24px));max-height:calc(100vh - 24px);overflow:auto;padding:16px 18px;border:1px solid #527461;border-radius:12px;background:#193f35;color:#fff;box-shadow:0 8px 28px #12332733;font:14px/1.6 'DM Sans',system-ui;z-index:10000;white-space:normal;text-align:left}.term-popover strong{display:block;color:#e0f3b9;font-size:14px}.term-popover p{margin:6px 0 0;line-height:1.6}.term-popover[hidden]{display:none}.explained-term{font-style:normal}.term-popover::backdrop{background:transparent;pointer-events:none}@media(pointer:coarse){.term-help-button{width:34px;height:34px;min-width:34px}.term-help-button span{width:18px;height:18px;font-size:12px}}

.guided-chat{border:2px solid #52745b}.guided-chat .chips{display:flex;flex-wrap:wrap;gap:10px}.guided-chat .chips button{min-height:44px}.lookup-primary #code{font-size:1.3rem}.context-options{margin-top:20px}

/* One focused task at a time; hidden panels leave the keyboard and reading order. */
.journey-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:24px 0}.journey-steps button{min-height:48px;text-align:left}.journey-steps button[aria-current="step"]{background:#244e40;color:#fff;border-color:#244e40}.journey-steps span{font-weight:800}.journey-continue{margin:20px 0 30px}.journey-secondary{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.demo-story{padding:16px 20px;background:#edf3e4;border-left:4px solid #52745b;margin:16px 0}.demo-story p{margin-bottom:0}.journey-link{display:inline-block;padding:12px 18px;border-radius:8px;background:#244e40;color:#fff;text-decoration:none}.next-step-plan{border:2px solid #52745b}#journey-title{scroll-margin-top:24px}#journey-title:focus,#chat-title:focus{outline:2px solid #52745b;outline-offset:5px}
#journey[data-step="1"] .diy-research,#journey[data-step="1"] .next-checks,#journey[data-step="1"] .documented-details,#journey[data-step="1"] .source-variants,#journey[data-step="1"] .result-education,#journey[data-step="1"] .service-visit,#journey[data-step="1"] .next-step-plan{display:none}
#journey[data-step="2"] #code-result,#journey[data-step="2"] .journey-continue,#journey[data-step="2"] .service-visit:not(.guided-chat),#journey[data-step="2"] .next-step-plan{display:none}
#journey[data-step="3"] .guided-chat,#journey[data-step="3"] .journey-continue,#journey[data-step="3"] .meaning-section{display:none}
#journey[data-step="3"]{display:flex;flex-direction:column}#journey[data-step="3"] #journey-controls{order:0}#journey[data-step="3"] .next-step-plan{order:1}#journey[data-step="3"] #code-result{order:2}#journey[data-step="3"] .service-visit{order:3}
[hidden]{display:none!important}button,a{touch-action:manipulation}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #52745b;outline-offset:3px}
@media(max-width:600px){.journey-steps{gap:6px}.journey-steps button{padding:10px 7px;font-size:.82rem}.guided-chat .chips{display:grid;grid-template-columns:1fr}.journey-link{max-width:100%;box-sizing:border-box}.demo-story{padding:12px}.search{flex-wrap:wrap}.search input{min-width:0;width:100%}.search button{min-height:44px}}

/* Small-screen layout: keep controls and long source labels within the viewport. */
main,.shell,.card,.search,.vehicle-summary{min-width:0} .research-actions a,.documented-details a{overflow-wrap:anywhere} dialog{max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto} @media(max-width:600px){.research-actions{display:flex;flex-wrap:wrap;gap:10px}.research-actions a{max-width:100%;box-sizing:border-box}.split{grid-template-columns:1fr}.task-actions{flex-wrap:wrap}.brand{white-space:nowrap}}

.brand{font-size:21px;gap:8px;letter-spacing:-.7px}.brand-icon{flex-shrink:0}@media(min-width:761px) and (max-width:1100px){.brand{font-size:18px}.brand-icon{width:30px;height:30px}}@media(max-width:760px){.sidebar>nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}.sidebar>nav>.nav-more{grid-column:1/-1}.sidebar>nav button{min-height:44px}.sidebar>nav .nav-more[open]{display:block}.sidebar>nav .nav-more button{white-space:normal}.brand{font-size:22px}}

.research-library{margin:24px 0}.resource-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:12px 0 24px}.resource-item{min-width:0;border:1px solid #cad8cf;border-radius:14px;padding:18px;background:#fafcf9}.resource-item summary{cursor:pointer;line-height:1.5}.resource-item summary strong{display:block;margin-top:7px}.resource-item .eyebrow{font-size:.68rem}.resource-item h4{margin:10px 0;line-height:1.4}.resource-item p{line-height:1.65}.video-slot iframe{width:100%;aspect-ratio:16/9;border:0;border-radius:9px;display:block}.video-slot button{width:100%;min-height:70px}.outside-research{margin-top:18px}.research-library input,.research-library select{width:100%;box-sizing:border-box}#resource-heading{scroll-margin-top:24px}@media(max-width:800px){.resource-grid{grid-template-columns:1fr}.resource-item{padding:15px}}

.resource-pagination{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:.75rem;margin:1rem 0 1.5rem}.resource-pagination button{width:auto;min-width:5.5rem}.resource-pagination [role="status"]{font-size:.85rem;text-align:center}.resource-pagination button:disabled{opacity:.5;cursor:default}

.resource-shortcuts{display:flex;flex-wrap:wrap;gap:.6rem;margin:1rem 0}.resource-shortcuts button{min-height:44px;white-space:normal}

/* Supporting garage and warning-light tools */
.garage-summary{padding:18px 0;border-bottom:1px solid #d8e0d3;margin-bottom:18px}.garage-stats{display:flex;flex-wrap:wrap;gap:12px;margin:14px 0}.garage-stats span{padding:10px 14px;background:#edf3e7;border-radius:10px}.garage-stats strong{font-size:1.25rem}.owner-records{margin-top:30px;border-top:1px solid #d8e0d3;padding-top:18px}.owner-record{padding:14px 0;border-bottom:1px solid #d8e0d3;overflow-wrap:anywhere}.owner-record summary{cursor:pointer;line-height:1.6}.record-notes{white-space:pre-wrap}.recall-panel{margin:18px 0;padding:14px;border:1px solid #c9d6c4;border-radius:12px}.recall-panel summary{font-weight:700;cursor:pointer}.warning-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:20px 0}.warning-card{border:1px solid #d2ddcb;border-radius:14px;padding:16px;overflow-wrap:anywhere}.warning-card summary{cursor:pointer;display:flex;flex-direction:column;gap:8px;list-style:revert}.warning-symbol{display:block;color:#936000;width:64px;height:64px}.warning-symbol svg{width:100%;height:100%}.warning-red{color:#a53625}.warning-card[open]{grid-column:span 2}.warning-card[hidden]{display:none}#vin-decode-result:empty{display:none}#vin-decode-result{margin:12px 0;overflow-wrap:anywhere}button:disabled{cursor:not-allowed;opacity:.6}@media(max-width:1000px){.warning-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:550px){.warning-grid{grid-template-columns:1fr}.warning-card[open]{grid-column:auto}.garage-stats{flex-direction:column}.owner-records .card-head{align-items:flex-start;flex-direction:column;gap:10px}}

/* Keep the explanation and its evidence together, with clear navigation on phones. */
.meaning-section{margin:22px 0;padding:24px;border:1px solid #d3dfca;border-radius:14px;background:#f5f8ef}.meaning-section h3{margin:0 0 12px;font-size:24px;letter-spacing:-.5px}.meaning-section .meaning-copy{max-width:66ch;margin:16px 0;font-size:18px;line-height:1.75}.summary-status{display:inline-block;padding:6px 10px;border-radius:6px;background:#e3ecd8;color:#254a3a;font-size:12px;line-height:1.5;font-weight:600}.explanation-sources{border-top:1px solid #d3dfca;padding-top:16px;margin-top:18px}.explanation-sources summary{cursor:pointer;font-weight:700;min-height:32px;line-height:1.6}.explanation-sources ul{padding-left:20px}.explanation-sources li{margin:16px 0}.explanation-sources a{font-weight:600;overflow-wrap:anywhere}.explanation-sources li p{margin:5px 0}.journey-steps button{display:flex;align-items:center;gap:10px;line-height:1.4;border-radius:10px}.journey-steps button>span{display:grid;place-items:center;flex-shrink:0;width:28px;height:28px;border-radius:50%;background:#e8eee2;color:#254a3a}.journey-steps button[aria-current="step"]>span{background:#e1edc9;color:#183d31}.journey-steps button:not([aria-current="step"]):hover{background:#f1f5eb}.code-head h2{line-height:1.35;letter-spacing:-.5px}.reference-summary{line-height:1.7}.journey-continue{min-height:48px}.explanation-sources summary:focus-visible{outline:3px solid #496caf;outline-offset:4px}
@media(max-width:600px){.meaning-section{padding:18px;margin:18px 0}.meaning-section h3{font-size:22px}.meaning-section .meaning-copy{font-size:17px;line-height:1.7}.journey-steps{gap:6px}.journey-steps button{flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:8px;padding:12px 9px;min-height:88px;font-size:13px}.summary-status{font-size:11px}.journey-continue{width:100%}.explanation-sources summary{min-height:44px}.explanation-sources a{line-height:1.7}}

#journey-controls{scroll-margin-top:20px}

/* Make every step clearly available and retain code/vehicle context throughout. */
.journey-context{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:20px 0 0;padding:12px 0;border-bottom:1px solid var(--line);font-size:13px;color:#52675d}.journey-context>div{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.journey-code{font:700 16px ui-monospace,monospace;letter-spacing:.04em;color:#244e40;background:#e7efdd;border:1px solid #cbd9bf;border-radius:6px;padding:6px 10px}.journey-progress{white-space:nowrap;font-size:12px;font-weight:600}.journey-steps{margin-top:16px}.journey-steps button{color:#294d3e;background:#fff;border:1px solid #b9c9bb;opacity:1}.journey-steps button[aria-current="step"]{color:#fff;background:#244e40;border-color:#244e40}.result-actions,.plan-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.result-actions button,.plan-actions button{min-height:48px}.result-actions .secondary{background:transparent;color:#244e40;border-color:#a8bca8}.journey-continue>p{margin:10px 0}.next-step-plan .plan-actions{margin:20px 0}.plan-actions button{white-space:normal}.journey-context+nav{margin-bottom:20px}
@media(max-width:600px){.journey-context{align-items:flex-start}.journey-context>div{gap:8px}.journey-context>div>span:last-child{font-size:12px;line-height:1.5}.journey-progress{padding-top:7px}.result-actions,.plan-actions{display:grid;grid-template-columns:1fr}.result-actions button,.plan-actions button{width:100%;font-size:15px}.journey-steps button:not([aria-current="step"]){color:#294d3e;background:#fff}}
