:root{color-scheme:light;--accent:#1455aa;--line:#a5ada9;--panel:#ffffff}
body,html{background:#eff3f6!important;color:#142736!important;font-family:system-ui, sans-serif!important;font-size:17px;line-height:1.48}
main,.mast{max-width:820px!important;margin-inline:auto}.mast,.fitPanel,.mast details[open],article,details,section.card,footer,.siteFooter,.outcome,#fitPair>div{background:#ffffff!important;color:#142736!important;border-color:#a5ada9!important;border-radius:6px}
.fitPanel{padding:clamp(14px,3vw,32px)}h1,h2,.fitPanel h1,.fitPanel h2{font-family:system-ui, sans-serif!important;letter-spacing:-.035em;line-height:1.13}h1,.fitPanel h1{font-size:clamp(2rem,6vw,3.3rem)}
.intro{color:white;padding:clamp(18px,4vw,36px);min-height:160px}.fitTable{gap:10px;grid-template-columns:.75fr 1fr 1fr}
a,.fitPanel a,.fitStory strong,.mast b{color:#1455aa!important}small,.fitPanel small{color:#142736!important}button,select,input,textarea,.fitPanel select,.fitPanel input,.fitPanel button{background:#ffffff!important;color:#142736!important;border-color:#a5ada9!important;border-radius:6px!important;font-family:system-ui,sans-serif}
.fitPanel .fitPrimary,button[aria-pressed=true],.fitPanel button[aria-pressed=true]{background:#1455aa!important;color:#fff!important}.fitPrimary{min-height:48px}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid #1455aa;outline-offset:2px}
footer.siteFoot,.discussion,.regionBar,.regionBar label,.menuPanel,.guide,.guideTiles,.disclosure,.result,#metrics>div,.shopFilters,.affiliate,.fitPanel details,.mast details[open] .menuPanel{background:#fff!important;color:#142736!important;border-color:#b9c5cf!important}
body .siteFoot .footBrand b,.discussion a,.infoPage main a,.fitStory strong{color:#1455aa!important}
a.shopTool,a.backList,a.top,.infoPage .mail,a.jump,.communityMore{background:#1455aa!important;color:white!important}
.intro h1,.intro p,.setupLabel,.setupLabel strong,.frontLabel,.frontLabel strong,.coveragePhoto figcaption{color:white!important}
.frontLabel strong{color:#d8ff78!important}
.fitPanel #fitError{color:#982915}input::placeholder,textarea::placeholder{color:#596b78}
.discussion,.regionBar,footer.siteFoot{font-family:system-ui,sans-serif}

#vehicleResult .measurementDetails summary{font-size:1.15rem;font-weight:750;line-height:1.5;color:#173e68;min-height:44px;align-content:center}
#vehicleResult #fitMore{font-size:1.04rem;line-height:1.7;margin:.6em 0 .2em;color:#21384e}
.fitActions{display:grid;justify-items:center;gap:10px;margin:20px auto 0}
#vehicleResult .fitActions a,#results a#learnFit{box-sizing:border-box;display:flex;justify-content:center;align-items:center;text-align:center;width:min(100%,24rem);min-height:48px;padding:10px 16px;border:2px solid #1455aa;border-radius:8px;background:#fff;color:#104a93!important;font-weight:700;line-height:1.4;text-decoration:none}
#vehicleResult a#compareBeforeAfter,#results a#learnFit{background:#1455aa;color:white!important}
#results a#learnFit{margin:18px auto}

#fitMore dl{margin:0 0 1rem}
#fitMore dl>div{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:.2rem .8rem;padding:.6rem 0;border-bottom:1px solid #bcc9d3}
#fitMore dt{flex:1 1 9rem;line-height:1.45}
#fitMore dd{margin:0 0 0 auto;color:#104a93;font-weight:750;font-variant-numeric:tabular-nums;white-space:nowrap}
#fitMore ul{margin:.4rem 0 0;padding-inline-start:1.3em}
#fitMore li+li{margin-top:.25em}

#homeToTop{position:fixed;z-index:5;right:max(12px,env(safe-area-inset-right));bottom:calc(16px + env(safe-area-inset-bottom));width:46px;height:46px;border-radius:50%!important;border:1px solid white;background:#1455aa!important;color:white!important;font:700 25px/1 system-ui;box-shadow:0 2px 8px #172d4038;cursor:pointer}
#homeToTop[hidden]{display:none!important}

:root{--article-title:#193428}
.topic>summary,.guideTiles a,.topicBody li a,#community-preview li a,.jobTools li a,main article h1,main article h2,.infoPage main h1,.infoPage main h2,body:has(.backList) main h1,body:has(.backList) main h2{color:var(--article-title)!important}
a:any-link,a:any-link *,a:any-link:hover,a:any-link:focus-visible{text-decoration-line:none!important}

@font-face{font-family:"Barlow Semi Condensed";src:url("brand/rim-name.woff2") format("woff2");font-weight:600;font-style:normal;font-display:swap}
 .mast>a:has(.rimMark),footer.siteFoot .footBrand:has(.rimMark){display:inline-flex;align-items:flex-end;gap:7px;background:transparent!important;padding:4px 0}
.mast .rimMark,.siteFoot .rimMark{width:52px;height:32px;object-fit:contain;background:transparent;border-radius:0}
.mast .rimName,.siteFoot .rimName{font:italic 800 clamp(20px,4.8vw,26px)/1 "Barlow Semi Condensed",sans-serif;white-space:nowrap;letter-spacing:-.015em;color:#fff!important;-webkit-text-stroke:.4px currentColor;filter:drop-shadow(0 0 .7px #425b78);paint-order:stroke fill;transform:translateY(calc(.12em - 2px))}

.guideExample,#results .offsetGuide:not([hidden]){display:block;width:fit-content;max-width:100%;margin:1rem auto;padding:.65rem 1rem;border:1px solid currentColor;border-radius:8px;text-align:center;font-weight:700}

.sizeComparison{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}
.sizeComparison caption{text-align:left;font-weight:700;padding:.75rem 0}
.sizeComparison th,.sizeComparison td{text-align:left;padding:.55rem .2rem;border-bottom:1px solid #a5ada9}

.wheelMath{margin:1rem 0;padding:.8rem 1rem;border:1px solid #88959e;border-radius:8px}
.wheelMath summary{font-weight:700;cursor:pointer}
.wheelMath dt{font-weight:650;margin-top:.75rem}
.wheelMath dd{margin:.15rem 0;font-variant-numeric:tabular-nums}
.wheelMath p{margin:.8rem 0 0}

.siteFoot .rimName,.mast .rimName{color:#172f50!important;filter:none}
.intro .builds :is(#street,#trail){color:#fff!important}
.intro .builds :is(#street,#trail)[aria-pressed=true]{color:#172000!important}
.resultPreview{margin-inline:auto;text-align:center}
.resultPreview + small{display:block;text-align:center}

/* Keep the fender marker attached to its measured horizontal reference. */
.frontFrame .sceneReferenceLabel{top:25%;left:54%;max-width:44%}
.sceneHead{flex-wrap:wrap}
.sceneHead .fitModes{display:flex;flex:0 0 auto;width:auto;gap:8px}
.sceneHead .fitModes button{flex:0 0 auto;min-width:5rem;min-height:44px;white-space:nowrap;padding-inline:14px}
body[data-screen=result]:is([data-mode=wheel],[data-mode=compare]) #results{
 box-sizing:border-box;width:100%;max-width:54rem;margin:16px auto 28px;padding:clamp(16px,4vw,38px);
 background:white;color:#203349;border:1px solid #ccd5df;border-radius:14px;line-height:1.65
}
body[data-screen=result] #results.wheelSummary{display:block}
#results #resultTitle{margin:1rem 0 .4rem;line-height:1.2}
#results #resultSpecs,#results summary,body[data-mode=wheel] #results #legend{color:#334e63}
#results .outcome{margin:20px 0;padding:14px 18px;background:#f1f5f9;border-radius:9px;color:#1d3248}
#results .outcome :is(h2,p){color:inherit}
#results #chartTitle{margin:24px 0 8px}
#results #diagram{display:block;max-width:100%;height:auto;margin:8px auto 16px}
#results #diagram[hidden],body[data-mode=tire] #results #diagram{display:none}
#results details{margin-block:14px}
#results :is(#roadPhoto,#trailPhoto){margin:20px 0}
#results #coverageRules summary{color:inherit}

.themePicker{box-sizing:border-box;display:flex;gap:4px;justify-content:flex-end;max-width:820px;margin:auto;padding:5px 12px}
.themePicker button{display:inline-flex;align-items:center;gap:8px;min-height:36px;padding:4px 10px;border:0;background:#f5f4f2!important;color:#343739!important;font:600 .82rem/1.3 system-ui,sans-serif;cursor:pointer}
.themeTrack{width:32px;height:18px;box-sizing:border-box;flex:none;border-radius:10px;background:#888e94;position:relative}
.themeTrack::after{content:"";position:absolute;left:2px;top:2px;width:14px;height:14px;border-radius:50%;background:white;box-shadow:0 1px 2px #0004;transition:transform .18s ease}
.themePicker [aria-checked=true] .themeTrack{background:#447bc0}
.themePicker [aria-checked=true] .themeTrack::after{transform:translateX(14px)}
html[data-theme=dark] .themePicker button{background:#293846!important;color:white!important}
@media(prefers-reduced-motion:reduce){.themeTrack::after{transition:none}}
html[data-theme=dark]{color-scheme:dark;--article-title:#d1ece0;--accent:#a9d5ff;--panel:#202b35;--line:#748899}
html[data-theme=dark],html[data-theme=dark] body{background:#121a22!important;color:#edf2f6!important}
html[data-theme=dark] :is(.mast,.fitPanel,article,details,nav,section.card,footer,.siteFooter,.outcome,#fitPair>div,.discussion,.regionBar,.regionBar label,.menuPanel,.guide,.guideTiles,.disclosure,#metrics>div,.shopFilters,.affiliate,#results,.panel,#model,.card,.topicBody,.jobTools li a){background:#202b35!important;color:#edf2f6!important;border-color:#697d8e!important}
html[data-theme=dark] :is(button,input,select,textarea){background:#293846!important;color:#f2f6fa!important;border-color:#8093a3!important}
html[data-theme=dark] :is(input,textarea)::placeholder{color:#bfcbd4}
html[data-theme=dark] :is(a,.fitStory strong,#fitMore dd,.offsetGuide){color:#aad6ff!important}
html[data-theme=dark] :is(.rimName,h1,h2,h3,.fitPanel small,small,summary,#fitMore,#resultSpecs,#legend,#results .outcome p,#results .outcome h2){color:#edf2f6!important}
html[data-theme=dark] :is(.fitPrimary,.articleListToggle,button[aria-pressed=true],a.jump,a.shopTool,a.backList,a.top,.communityMore,.search,.cta,#explore,#learnFit,#compareBeforeAfter,#homeToTop){background:#1657a5!important;color:white!important}
html[data-theme=dark] #vehicleResult .fitActions a:not(#compareBeforeAfter){background:#293846!important;color:#aad6ff!important}
html[data-theme=dark] :is(.sceneReferenceLabel,.previewPair figcaption){background:#202b35;color:#fff}
html[data-theme=dark] #fitError{color:#ffc1ae}
html[data-theme=dark] :focus-visible{outline-color:#a9d5ff}
html[data-theme=light]{color-scheme:only light}
html[data-theme=dark] :is(.infoPage main,.gear a,.topic>summary){background:#202b35!important;color:#edf2f6!important}
html[data-theme=light] :is(.shopTool small,.intro .setupLabel){color:white!important}

.intro{position:relative;padding-top:54px}
.intro > .themePicker{position:absolute;inset:8px 10px auto auto;padding:0}
