/* MotorAtlas workshop handbook. Functional diagrams remain in their original scale. */
@import url('./theme-tokens.css');
html{scroll-padding-top:20px}body{background:var(--paper);background-image:linear-gradient(#627b6510 1px,transparent 1px),linear-gradient(90deg,#627b6510 1px,transparent 1px);background-size:28px 28px}
.top{position:relative;isolation:isolate;height:142px;padding:0 38px;gap:30px;border:0;border-bottom:4px solid #b28d5c;background:var(--cover);color:#f7f1e2;overflow:hidden;box-shadow:0 4px 0 #e5e0d0,0 7px 0 #cecabc}
.top:before{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,#1b2724 8%,#1b2724ed 34%,#1b272411 100%),url('workshop-cover.jpg') right 49%/900px auto no-repeat;opacity:.85}
.top:after{content:"";position:absolute;inset:8px;pointer-events:none;border:1px solid #d7bc7f26;border-radius:2px}
.brand{color:#fcf8eb;letter-spacing:-.8px;font-size:28px;flex-shrink:0}.brand-mark{color:#e1bd8e;background:transparent;border:1px solid #bfa17675;width:42px;height:44px;box-shadow:inset 0 0 0 4px #1c2825;border-radius:3px}
.edition{font-size:11px;letter-spacing:2.2px;color:#d7b686;border-left:1px solid #c9b28c48;padding-left:26px}.edition b{display:block;margin:7px 0 0;padding:0;border:0;color:#f0ede1;letter-spacing:.3px;font-size:17px;font-weight:400}.top-note{color:#e5dfcd;background:#192722ac;border:1px solid #c9b28c3a;padding:7px 12px;border-radius:4px;font-size:12px}
.shell{grid-template-columns:244px minmax(0,1fr);min-height:calc(100vh - 142px)}
.sidebar{background:linear-gradient(90deg,#15231f 0,#25362e 5px,#1e2d27 11px,#1e2d27 96%,#17251f 100%);color:#f5f1e5;border-right:1px solid #243c2e;box-shadow:5px 0 0 #e0dccd,8px 0 0 #f9f6ee;padding:27px 17px;min-height:calc(100vh - 142px);scrollbar-color:#6c795d #26392e}
.nav-label{color:#b5bba7;font-size:10px;letter-spacing:1.9px}.nav-main{color:#d9ddcf;border-radius:5px;margin-bottom:5px;padding:12px;min-height:46px;text-decoration:none}.nav-main b{color:#b0b6a3;font-family:monospace}.nav-main.active{background:#eddfc3;color:#233329;box-shadow:inset 3px 0 #c39761,0 2px 8px #0002}.nav-main.active b{color:#64705c}.nav-main:hover:not(.active),.calc-nav:hover:not(.active){background:#ffffff10;color:#fff7e7}
.sidebar #calculatorNav{max-height:53vh;scrollbar-color:#778068 #26362e;scrollbar-width:thin;padding-right:3px}.tool-group{border-color:#c7b99125}.tool-group summary{color:#c9ceb9;padding:12px 8px;font-weight:500}.tool-group summary::marker{color:#c29c66}.tool-group .calc-nav{color:#aeb9ac;font-size:13px;padding:9px 11px 9px 20px;min-height:37px;border-radius:3px}.calc-nav.active{background:#33463a;color:#f7e6c3;box-shadow:inset 2px 0 #d6af78}.second{margin-top:28px}
.sidebar-bottom{display:block;color:#d4c5a3;font-size:12px;border-color:#8c734a;padding:13px 10px;margin-top:25px}.sidebar-bottom small{color:#9ba893;font-size:11px}.chevy-sections a{color:#c5cebc;border-color:#c7b99125}.chevy-sections a:hover{background:#ffffff0c;color:#f4ddb5}
main{padding:30px 36px 0;margin:0 auto;min-width:0}.breadcrumb{color:#757c6e;font-size:11px;letter-spacing:.3px;margin-bottom:22px}.breadcrumb a{color:#596e5e}.breadcrumb>span:first-child{color:#b19164}
.page-heading{position:relative;margin-bottom:25px;padding-bottom:21px;border-bottom:1px solid #cfcdbc}.page-heading:after{content:"";position:absolute;left:0;bottom:-2px;width:48px;height:3px;background:#a77e49}.page-heading .eyebrow{display:block;font-size:10px;letter-spacing:2px;color:#8b6a42;margin-bottom:9px}.page-heading h1{font-size:48px;letter-spacing:-.2px;color:#263b2f}.page-heading .muted{font-size:14px;color:#66725f}.page-heading>.pill{background:#ebe7d8;border:1px solid #d7d0bd;font-size:11px;padding:6px 9px;color:#65705b;max-width:240px}
.card{background:var(--page);border:1px solid #d9d7c9;border-radius:9px;box-shadow:0 3px 0 #e8e4d7,0 8px 22px #2a332809;padding:28px}.card-heading .eyebrow{color:#8d6c43;font-size:10px;letter-spacing:1.7px}.card-heading .index{color:#c7baa0;font-size:32px;font-weight:500}.card h2{color:#26392d}.calculator>.muted{color:#697361}.workspace-context{background:#eae9de;border:1px solid #dcdbce;border-radius:6px;color:#5c6956;padding:11px 15px;font-size:12px}.text-button{color:#6e634c}.outline{border:1px solid #cac8b6;color:#3a5741;background:#fffdf6;box-shadow:0 2px 0 #e0ddcd;border-radius:5px}.outline:hover{border-color:#a69573;background:#f9f2e3}.outline:disabled{opacity:.45;cursor:default;transform:none}.primary{background:#314c39;color:#fdf4de;border-radius:5px;box-shadow:0 3px 0 #1c3625}.primary:hover{background:#456248}.pill{background:#f3eedf;border-color:#d6cfbb;color:#6f6d57}
.field label{font-size:13px;color:#42503d;font-weight:600}.input-wrap input,.field select,.library-tools input,.library-tools select,.guide-directory>input,.guide-directory>select,.casting-tools input,.casting-tools select{color:#243c2c;background:#fbfaf3;border:1px solid #cccebc;border-radius:5px;box-shadow:inset 0 1px 3px #394a2510;transition:border-color .18s,box-shadow .18s,background .18s}.input-wrap input:hover,.field select:hover{border-color:#9ca989}.input-wrap input:focus,.field select:focus,.library-tools input:focus,.library-tools select:focus,.guide-directory>input:focus,.guide-directory>select:focus,.casting-tools input:focus,.casting-tools select:focus{background:#fffdf6;outline:2px solid #5a7e5c;outline-offset:2px;box-shadow:0 0 0 5px #63896615}.input-wrap span{color:#7f876d;font-size:12px}.input-note{color:#707a67}.field small{color:#8b6944}.input-wrap input[aria-invalid=true]{border-color:#b33d37;background:#fff4ee}
.result-card{position:relative;isolation:isolate;background:linear-gradient(135deg,#2e4334,#1c2b24);border:1px solid #3d4e38;border-radius:9px;padding-top:25px;box-shadow:0 3px 0 #b4b39c,0 12px 25px #263c2712}.result-card:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background-image:linear-gradient(#b0c79806 1px,transparent 1px),linear-gradient(90deg,#b0c79806 1px,transparent 1px);background-size:20px 20px}.result-card>.eyebrow{color:#c9d0b8;font-size:10px;letter-spacing:2px;margin-bottom:21px}.main-result strong{color:#edc28a;font-weight:500;font-size:68px}.main-result span{color:#cad1b9}.result-label{color:#ccd5be}.result-row{border-color:#9eac7e26;color:#b4c1a7}.result-row b{color:#f4f2df}.result-bottom{background:#14241a80;border-color:#9eac7e26;color:#a5b69b}.result-details{border-color:#9eac7e26}.result-details summary{color:#c3cdae}
.disclosure>summary,.engine-section summary,.prop-group summary,.guide-sources summary,.source-note summary{color:#476047;cursor:pointer}.disclosure>summary::marker,.engine-section summary::marker,.prop-group summary::marker{color:#a67c49}.disclosure[open]>summary,.engine-section[open]>summary{color:#29412e}.disclosure{border-color:#d9d6c6}.understand.disclosure{background:#ececdf70;padding:16px;border:1px solid #dedccd;border-radius:6px}.understand p{color:#66735c}.understand a{color:#456e4b}.formula{border-color:#e0decf}.formula code{color:#576746}.formula span{color:#81765a}.prop-group{background:#f6f4ea;border-color:#d8d6c4;border-radius:6px}.related button{border-color:#d8d6c4;color:#3d563e;background:var(--page);border-radius:7px}.related button small{color:#75816a}.related button:hover{border-color:#a79b7c;box-shadow:0 5px 15px #52643c0e}
.data-subnav{border-color:#d4d1bf;gap:8px}.data-subnav>*{border-radius:5px}.data-subnav [aria-current]{background:#334d38;color:#f8edcf}.data-subnav a{background:#e6e8d9;color:#4b6144}.data-subnav a:hover{background:#d8dfca}.identification{border-radius:7px;background:#efede2;font-size:14px}.library-tools{gap:10px}.library-tools input[type=search]{height:49px;background-color:#fffdf6;font-size:15px}.library-tools select{font-size:13px}.engine-item{background:#fdfbf4;border:1px solid #d9d7c8;border-radius:6px;padding:17px 19px;margin-bottom:9px}.engine-item .eyebrow{color:#7e7d62;font-size:10px;letter-spacing:1px}.engine-item strong{color:#344b35;font-size:17px}.engine-item .summary{font-size:13px;color:#717960;line-height:1.6}.engine-item .summary b{color:#68714f}.engine-item.active{border-color:#6f835d;background:#f0f0df;box-shadow:inset 3px 0 #758650}.engine-item:hover{border-color:#9aa782;background:#f5f4e7}.engine-code{background:#edeee0;border:1px solid #d6dac5;border-radius:6px;color:#465c3f}.engine-detail>.eyebrow{color:#967746}.engine-detail>.muted{color:#67735b;font-size:14px}.engine-detail .specs>div{border-color:#e2e1d1}.specs dt{color:#717a62}.workshop-table thead{background:#e9eddd}.workshop-table th,.workshop-table td{border-color:#dedfce}.workshop-table tr:nth-child(even){background:#f6f6ec}.workshop-notes,.workshop-sources{font-size:14px;line-height:1.75}
.build-intro{background:#e9eadc;border-left:3px solid #b18d56;color:#637058;font-size:14px;padding:15px 18px;border-radius:0 6px 6px 0}.build-intro b{color:#374f36}.guide-link{background:#fdfbf4;border-color:#d7d8c5;color:#3d553a;border-radius:5px;min-height:64px}.guide-link>span{color:#7e8267;font-size:10px}.guide-link.active{background:#314832;border-color:#314832;color:#fdf4da}.guide-link.active>span{color:#dfc497}.guide-link:hover:not(.active){background:#f1f2e3;border-color:#a0ad88}.guide-title>.eyebrow{color:#93734a}.guide-title>p:not(.eyebrow),.guide-steps p,.guide-check p{color:#647057}.guide-tools{background:#eef0e4;border:1px solid #dce0c9;border-radius:6px}.guide-tools ul{color:#667959}.guide-steps>li:before{background:#ede6d2;color:#8c6839;border:1px solid #e0d4b4;border-radius:50%;height:30px}.guide-check{background:#f7f0df;border-color:#e1d6b9;border-left-color:#ac874f;border-radius:0 6px 6px 0}.variant-box{background:#e9eddf}.variant-box select{border-color:#c2ccb1;color:#3e5637;background:#fdfcf3}.variant-box p{color:#607153}.build-visual,.timing-lab{background:#202f28;border:1px solid #526148;border-radius:8px}.timing-controls select{accent-color:#d5ab70}.guide-actions .outline{font-size:13px}.guide-sources a{color:#426443}
.chevy-hero{background:#273c2b}.chevy-number{border-color:#718056;background:#1d2e22}.chevy-number strong{color:#e4bd7d}.casting-table th{background:#e9ebdb;color:#5a6c4d}.casting-table td{border-color:#dedfcd;color:#536648}.casting-table tbody tr:nth-child(even){background:#f6f5e9}.casting-table td:first-child{color:#365232}.casting-table-wrap{border-radius:6px}.source-note{background:#f0eee0;border-color:#d9d5c0}.chevy-explain article{background:#f1f2e5;border-color:#d9dec8}.chevy-explain p{color:#637252}.chevy-profiles .card{box-shadow:none}.chevy-profiles .specs{color:#465b3d}
.ad-slot{border-color:#d0cfb9;background:repeating-linear-gradient(135deg,#ecebdf,#ecebdf 8px,#e5e6d7 8px,#e5e6d7 9px);color:#939680;border-radius:6px}.ad-slot>div{color:#7b836b}.ad-slot>small{color:#8a917c}footer{border-color:#d5d2bf;color:#7d846e;font-size:11px}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #b4884a;outline-offset:4px}.motion-toggle{position:absolute;right:19px;bottom:13px;border:0;background:#192720bd;color:#d6cfb8;font-size:10px;letter-spacing:.3px;padding:4px 8px;border-radius:3px;z-index:1}.motion-toggle:hover{color:#fff5d6}
@media(prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}button,a,summary{transition:background .18s,border-color .18s,color .18s,box-shadow .18s,transform .22s var(--ease)}.outline:hover:not(:disabled),.primary:hover,.related button:hover{transform:translateY(-2px)}button:active{transform:translateY(1px)}.engine-item:hover,.guide-link:hover{transform:translateX(2px)}@supports(interpolate-size:allow-keywords){:root{interpolate-size:allow-keywords}details::details-content{block-size:0;opacity:0;overflow:clip;transition:block-size .28s var(--ease),opacity .24s,content-visibility .28s allow-discrete}details[open]::details-content{block-size:auto;opacity:1}}::view-transition-old(root){animation:page-away .18s ease both}::view-transition-new(root){animation:page-arrive .28s var(--ease) both}}
@keyframes page-away{to{opacity:0;transform:translateY(-4px)}}@keyframes page-arrive{from{opacity:0;transform:translateY(8px)}}
html[data-motion=off]{scroll-behavior:auto}html[data-motion=off] *,html[data-motion=off] *::before,html[data-motion=off] *::after,html[data-motion=off] *::details-content{animation:none!important;transition:none!important}html[data-motion=off]::view-transition-group(root),html[data-motion=off]::view-transition-old(root),html[data-motion=off]::view-transition-new(root){animation:none!important}
@media(min-width:1500px){main{padding:36px 52px 0}.card{padding:32px}.top{padding:0 42px}}
@media(max-width:1150px){.top-note{display:none}.top{height:124px}.shell{grid-template-columns:219px minmax(0,1fr);min-height:calc(100vh - 124px)}.sidebar{min-height:calc(100vh - 124px);padding:25px 12px}main{padding:26px 25px 0}.page-heading h1{font-size:43px}.page-heading{gap:16px}.card{padding:24px}.guide-layout{gap:18px}.edition{font-size:10px}.edition b{font-size:15px}}
@media(max-width:720px){.top{height:115px;padding:0 19px;align-items:flex-start;gap:0;flex-direction:column;justify-content:center}.top:before{background-size:auto,560px auto;background-position:center,right 41%;opacity:.7}.top:after{inset:6px}.brand{font-size:25px;gap:9px}.brand-mark{width:33px;height:35px;font-size:17px}.edition{display:block;border:0;padding:0;margin:9px 0 0 43px;font-size:8px;letter-spacing:1.4px}.edition b{display:none}.motion-toggle{right:12px;bottom:10px;font-size:9px;padding:4px 5px}.shell{display:block}.sidebar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));min-height:0;padding:12px 12px 11px;box-shadow:0 3px 0 #ddd8c5;position:static;gap:4px;border:0}.nav-main{padding:10px 4px;min-height:43px;margin:0;font-size:12px;gap:5px}.nav-main[href="v8.html"]{grid-column:1/-1;justify-content:flex-start;padding-left:11px}.sidebar-bottom{display:none}.sidebar .mobile-tool-label{color:#bcc6ae;padding-top:8px;font-size:11px}body.tools-view #mobileTool{background:#f4f1e3;border-color:#798770;color:#334c34;min-height:44px;font-size:14px;padding:9px 10px;margin-top:0}main{padding:22px 17px 0}.breadcrumb{font-size:10px;margin-bottom:18px}.page-heading{padding-bottom:17px;margin-bottom:21px}.page-heading .eyebrow{font-size:9px;letter-spacing:1.5px}.page-heading h1{font-size:40px;margin-bottom:9px}.page-heading .muted{font-size:13px;line-height:1.7}.page-heading>.pill{max-width:none;font-size:10px}.page-heading .outline{font-size:12px;padding:9px 12px;margin-top:14px}.workspace-context{font-size:11px;padding:12px 14px}.card{padding:22px 19px}.card-heading{margin-bottom:18px}.card h2{font-size:29px}.calculator>.muted{font-size:13px}.fields{gap:18px 12px}.field label{font-size:12px}.input-wrap input{font-size:18px;height:48px}.input-wrap span{font-size:11px;right:10px}.input-note{font-size:11px}.main-result strong{font-size:64px}.result-card{padding:23px 23px 0}.result-bottom{padding:14px 23px;margin-left:-23px;margin-right:-23px}.data-subnav{font-size:12px;gap:6px}.data-subnav>*{padding:9px 10px}.identification{padding:14px 15px;font-size:13px}.library-tools{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.library-tools input[type=search]{font-size:13px}.library-tools select{font-size:12px;padding:8px}.library-layout{grid-template-columns:1fr;gap:20px}.engine-item{padding:15px 17px}.engine-item strong{font-size:16px}.engine-detail{scroll-margin-top:18px}.engine-detail h2{font-size:30px}.guide-detail{padding:22px 18px}.guide-title h2{font-size:30px}.guide-directory{gap:8px}.guide-link{padding:11px;font-size:12px}.guide-link>b{font-size:12px}.guide-link>span{font-size:9px}.guide-steps p{font-size:15px}.guide-steps h3{font-size:16px}.chevy-card{padding:20px 15px}.chevy-card h2{font-size:29px}.casting-table tr{border-color:#d9d9c7}.casting-table td:before{color:#7b8469}.casting-table td{background:transparent}.casting-pages .outline{font-size:12px}footer{font-size:10px}.build-intro{font-size:13px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after,*::details-content{animation:none!important;transition:none!important}::view-transition-old(root),::view-transition-new(root){animation:none!important}}

/* Chapter tabs and bound working sheets. */
.page-heading[data-chapter]{padding-left:63px;min-height:83px}
.page-heading[data-chapter]:before{content:attr(data-chapter);position:absolute;left:0;top:0;width:44px;height:58px;padding-top:5px;text-align:center;font:500 32px/1.35 'Barlow Condensed',sans-serif;color:#f8ebcd;background:#3f563d;border-top:3px solid #b18c54;clip-path:polygon(0 0,100% 0,100% 100%,50% 86%,0 100%)}
.page-heading[data-chapter]:after{left:63px;width:72px;height:2px}
.chapter-number{flex:0 0 25px!important;color:#9eac91;font:12px/1.4 monospace;letter-spacing:1px}
.nav-main.active .chapter-number{color:#88703f}
.nav-main.active{border-radius:3px 0 0 3px;box-shadow:inset 3px 0 #c39761,3px 3px 0 #0f1e1933}
.card{position:relative;border-radius:3px 9px 9px 3px;border-left:3px solid #c1ac84;background:linear-gradient(90deg,#e9e4d430,transparent 22px),var(--page);box-shadow:0 3px 0 -1px #fffdf4,0 4px 0 #d9d4c1,0 7px 0 -2px #f8f5e8,0 8px 0 -1px #d7d2be,0 14px 24px #2a332808}
.card:after{content:"";position:absolute;right:0;bottom:0;width:20px;height:20px;background:linear-gradient(135deg,transparent 49%,#d8d0b9 50%,#f7f3e5 56%);border-radius:0 0 8px 0;pointer-events:none}
.card-heading{padding-bottom:17px;border-bottom:1px solid #dedaca}
.card-heading .index{display:flex;align-items:center;flex-direction:column;gap:2px;font-size:29px;color:#9f8e6d;border:1px solid #d8ceb9;padding:5px 8px;border-radius:2px;min-width:43px}
.card-heading .index:before{content:"ARK";font:9px/1.2 'DM Sans',sans-serif;letter-spacing:1.8px;color:#7c765e}
.calculator>.muted{margin-bottom:21px}
.engine-detail:before{content:"MOTORREGISTER / DATAARK";display:block;border-bottom:1px solid #ddd7c4;padding-bottom:11px;margin-bottom:18px;font-size:9px;letter-spacing:1.9px;color:#8a7753}
.guide-title{position:relative;border-bottom-style:double;border-bottom-width:3px}
.guide-title h2{max-width:30ch}
.engine-section summary,.guide-detail>.disclosure>summary{padding:7px 0;min-height:36px}
.result-card>.eyebrow{position:relative;padding-bottom:15px;margin-bottom:16px}
.result-card>.eyebrow:after{content:"";position:absolute;left:0;right:0;bottom:0;height:5px;background:repeating-linear-gradient(90deg,#c4b58660 0 1px,transparent 1px 10px)}
.result-card{border-top:3px solid #b99a64}
.library-tools{grid-template-columns:minmax(200px,1.3fr) minmax(0,2fr);align-items:start}
.library-tools .search-label{grid-column:auto}
.library-filters{min-width:0;border:0;margin:0;padding:0}
.library-filters>summary{display:none}
.filter-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.library-tools input[type=search]{height:49px}
.library-filters select{height:40px;font-size:12px}
.library-note{font-size:12px;color:#6b745e;line-height:1.7;margin:12px 0 18px}
.library-note summary{font-size:12px;color:#647154;cursor:pointer;min-height:30px;padding:5px 0}
.library-note p{margin:12px 0 0;max-width:85ch}
.library-note ul{padding-left:20px;max-width:85ch}
.library-note li{margin:8px 0}
.filter-count{display:inline-block;font-size:10px;margin-left:7px;color:#eef0db;background:#4f6443;min-width:19px;padding:1px 5px;border-radius:10px;text-align:center}
.field input,.field select,.library-tools input,.library-tools select{scroll-margin-top:20px}
@media(min-width:721px){.library-filters::details-content{block-size:auto!important;opacity:1!important;content-visibility:visible!important}.engine-item .summary{font-size:12px}.top{height:126px}.shell{min-height:calc(100vh - 126px)}.sidebar{min-height:calc(100vh - 126px)}}
@media(min-width:1250px){.filter-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){
  .top{height:72px;padding:0 15px;box-shadow:0 3px 0 #e1dac5}
  .top:before{background-size:auto,480px auto;background-position:center,right 45%}
  .brand{font-size:23px;gap:8px}.brand-mark{height:31px;width:30px;font-size:16px}
  .edition{margin:5px 0 0 38px;font-size:7px;letter-spacing:1.1px}
  .motion-toggle{right:11px;bottom:11px;min-height:28px;font-size:9px;padding:5px 7px}
  .sidebar{padding:7px 10px 9px;gap:5px;align-items:center}
  .nav-main{font-size:12px;min-height:41px;padding:8px 4px;gap:5px}
  .chapter-number{font-size:9px;flex-basis:16px!important;letter-spacing:0}
  .nav-main.active{border-radius:3px;box-shadow:inset 0 -2px #b58c51}
  body.tools-view .mobile-tool-label{display:none}
  body.tools-view #mobileTool{height:43px;min-height:43px;margin:0;font-size:14px}
  main{padding:14px 14px 0}
  .breadcrumb{display:none}
  .page-heading[data-chapter]{display:flex;align-items:center;gap:10px;min-height:49px;padding:0 0 12px 43px;margin-bottom:14px}
  .page-heading[data-chapter]:before{width:31px;height:42px;font-size:23px;padding-top:3px;border-top-width:2px}
  .page-heading[data-chapter]:after{left:43px;width:46px}
  .page-heading .eyebrow{display:none}
  .page-heading h1{font-size:31px;margin-bottom:5px;line-height:1.05}
  .page-heading .muted{font-size:12px;line-height:1.5}
  .page-heading>.pill{font-size:9px;padding:4px 7px;margin:0;max-width:106px;flex-shrink:0}
  #calculatorView .page-heading .muted{display:none}
  #calculatorView .page-heading>div{flex:1}
  #calculatorView .page-heading h1{margin:0}
  .page-heading .outline{margin:0;font-size:11px;padding:9px 10px;min-height:39px;max-width:125px}
  #libraryView .page-heading>.pill,#buildingView .page-heading>.pill{display:none}
  #libraryView .page-heading .muted{display:none}
  .workspace-context{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 2px;margin-bottom:11px;min-height:30px;font-size:11px;background:transparent;border:0}
  .workspace-context .text-button{font-size:10px;margin:0;white-space:normal;text-align:right;min-height:26px}
  .card{padding:19px 17px;border-left-width:2px}
  .card-heading{margin-bottom:12px;padding-bottom:10px;align-items:center;gap:10px}
  .card-heading .eyebrow{display:block;line-height:1.2;margin-bottom:5px;font-size:9px;letter-spacing:1.1px}
  .card h2{font-size:29px}
  .card-heading .index{font-size:24px;min-width:35px;padding:4px 6px}
  .card-heading .index:before{font-size:7px}
  .calculator>.muted{font-size:12px;line-height:1.55;margin-bottom:17px}
  .fields{gap:14px 12px}
  .field label{font-size:12px;margin-bottom:6px}
  .input-wrap input{height:45px}
  .field small:empty{display:none}
  .input-note{font-size:11px;margin:16px 0}
  .disclosure{padding:13px 0;margin-top:12px}
  .formula-disclosure{padding-bottom:0}
  .result-card{padding:20px 21px 0}
  .result-card>.eyebrow{padding-bottom:13px;font-size:9px;margin-bottom:14px}
  .main-result strong{font-size:58px}
  .result-bottom{margin-left:-21px;margin-right:-21px;padding-left:21px;padding-right:21px}
  .data-subnav{margin-bottom:15px;padding-bottom:10px;font-size:11px;gap:5px}
  .data-subnav>*{padding:8px 9px;min-height:35px}
  .library-tools{grid-template-columns:minmax(0,1fr);gap:9px}
  .library-tools .search-label{grid-column:1}
  .library-tools input[type=search]{height:47px;font-size:14px}
  .library-filters{grid-column:1;background:#ececdf;border:1px solid #d6d8c2;border-radius:5px;padding:0 11px}
  .library-filters>summary{display:flex;align-items:center;justify-content:space-between;cursor:pointer;font-size:12px;color:#465b3a;min-height:40px;list-style:none}
  .library-filters>summary::-webkit-details-marker{display:none}
  .library-filters>summary:after{content:"+";font-size:18px;font-weight:400}
  .library-filters[open]>summary:after{content:"−"}
  .filter-fields{padding:1px 0 12px;gap:8px}
  .library-filters select{min-height:43px;height:auto;background:#fffdf4;font-size:12px}
  .library-note{margin:8px 0 16px;font-size:12px}
  .library-note summary{font-size:11px;min-height:32px;padding:7px 0}
  #matchCount{font-size:10px;letter-spacing:1.4px;margin-bottom:12px}
  .engine-item{padding:13px 15px;margin-bottom:8px}
  .engine-item .summary{font-size:12px}
  .engine-detail:before{font-size:8px;margin-bottom:14px}
  .build-intro{display:block;padding:9px 12px;margin-bottom:15px;font-size:12px}.build-intro summary{min-height:24px}
  .guide-directory>input,.guide-directory>select{font-size:12px;min-height:43px;padding:9px}
  .guide-directory>.eyebrow{font-size:10px}
  .guide-detail{padding:20px 17px}
  .guide-title{padding-bottom:17px;margin-bottom:17px}
  .guide-title>p:not(.eyebrow){font-size:14px;line-height:1.65}
  .chevy-card{padding:20px 15px}
  .chevy-card>.muted{font-size:13px}
  .ad-slot.leaderboard{margin-top:26px}
}
@media(max-width:360px){.nav-main{font-size:11px;gap:3px}.chapter-number{flex-basis:14px!important}.motion-toggle{font-size:8px;right:8px;bottom:8px}.page-heading .outline{font-size:10px;max-width:113px}.workspace-context{gap:8px}.workspace-context .text-button{max-width:114px}}

.build-intro>summary{cursor:pointer;color:#435939;font-weight:600;font-size:12px}.build-intro>p{margin:12px 0 0}.build-intro>summary::marker{color:#9b7745}

/* A quiet tool directory; a calculation starts with an explicit choice. */
.tool-picker{display:grid;grid-template-columns:minmax(180px,.8fr) minmax(220px,1.2fr);gap:16px;padding:18px 20px;margin:0 0 25px;border:1px solid #c9cebc;border-left:3px solid #a58757;border-radius:5px;background:#eaeade}
.tool-picker label{display:block;min-width:0}
.tool-picker label>span{display:block;font-size:11px;font-weight:600;letter-spacing:.4px;color:#526147;margin-bottom:7px}
.tool-picker select{display:block;width:100%;min-width:0;min-height:46px;padding:10px 12px;font-size:15px;color:#2b4433;background:#fffef7;border:1px solid #bbc3aa;border-radius:4px}
.tool-home-heading{display:flex;justify-content:space-between;align-items:start;gap:14px;margin:0 0 19px}
.tool-home-heading h2{font-size:30px;margin-bottom:8px;color:#30442e}
.tool-home-heading p{font-size:13px;margin:0;line-height:1.6}
.tool-home-heading .pill{flex-shrink:0;margin-top:5px}
.tool-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.tool-shortcut{position:relative;display:flex;flex-direction:column;text-align:left;min-width:0;min-height:150px;padding:22px 43px 22px 22px;border:1px solid #d0d3c1;border-radius:5px;background:#fffdf4;color:#2c432e;box-shadow:0 3px 0 #e3e1d1;transition:border-color .16s,background .16s,transform .16s}
.tool-shortcut:hover{background:#f5f2e4;border-color:#89986d;transform:translateY(-2px)}
.tool-shortcut .eyebrow{font-size:9px;letter-spacing:1.1px;color:#7b714e;margin:0 0 9px}
.tool-shortcut strong{font-family:'Barlow Condensed',sans-serif;font-size:27px;font-weight:600;line-height:1.15;margin-bottom:9px}
.shortcut-note{font-size:12px;line-height:1.6;color:#68745e;max-width:320px}
.shortcut-arrow{position:absolute;top:23px;right:19px;font-size:20px;color:#a18450}
#toolHomeContext{margin:22px 0 0;font-size:12px;border-top:1px solid #d3d6c4;padding-top:14px}
.sidebar #calculatorNav{max-height:none;overflow:visible;padding-right:0}
.sidebar #calculatorNav .calc-nav{display:flex;width:100%;min-height:42px;white-space:normal;color:#c4ccb9;font-size:13px;padding:11px 12px}
.sidebar #calculatorNav .calc-nav:hover:not(.active){background:#344738;color:#fff4dc}
.sidebar #calculatorNav .calc-nav.active{color:#f7e6c3}
.sidebar #calculatorNav .tool-overview{margin-bottom:12px;padding-bottom:14px;border-bottom:1px solid #c7b99130;border-radius:0}
.tool-overview span{margin-left:auto;color:#bda071}
@media(max-width:1100px){.tool-picker{padding:15px;gap:12px}.tool-shortcut{padding-left:18px}.tool-home-heading .pill{font-size:10px}}
@media(max-width:720px){
  .tool-picker{grid-template-columns:1fr;gap:11px;padding:13px;margin-bottom:20px}
  .tool-picker label>span{font-size:11px;margin-bottom:5px}
  .tool-picker select{min-height:44px;font-size:16px;padding:9px 10px}
  .tool-home-heading{margin-bottom:13px;gap:10px}.tool-home-heading h2{font-size:25px;margin-bottom:6px}.tool-home-heading p{font-size:12px}.tool-home-heading .pill{font-size:9px;padding:3px 6px}
  .tool-shortcuts{grid-template-columns:1fr;gap:10px}
  .tool-shortcut{min-height:0;padding:15px 35px 16px 16px}.tool-shortcut strong{font-size:24px;margin-bottom:5px}.tool-shortcut .eyebrow{font-size:8px;margin-bottom:6px}.shortcut-note{font-size:12px;max-width:none}.shortcut-arrow{top:16px;right:14px;font-size:18px}
  body.tools-view .sidebar #calculatorNav{display:none}
}
@media(prefers-reduced-motion:reduce){.tool-shortcut{transition:none}.tool-shortcut:hover{transform:none}}
html[data-motion=off] .tool-shortcut{transition:none}html[data-motion=off] .tool-shortcut:hover{transform:none}

.field-mode{grid-column:1/-1}

/* Keep the full library name readable in both navigation layouts. */
.library-nav{white-space:normal}
.library-nav>span:not(.chapter-number){min-width:0;line-height:1.2}
@media(max-width:720px){.library-nav .chapter-number{display:none}.library-nav>span:not(.chapter-number){flex:1}}

.interactive-model-link{display:inline-flex;padding:12px 16px;margin:6px 0 18px;border:1px solid var(--line,#c8c4b4);background:var(--ink,#253b31);color:#f7f1de;border-radius:4px;font-weight:700;text-decoration:none}.interactive-model-link:hover{background:#3f5847}.model-tag{font-size:.7rem;padding:2px 5px;border-radius:3px;background:#273c31;color:#fff}.data-subnav{flex-wrap:wrap}
