:root {
  color-scheme: light;
  --paper: #fcfbf7;
  --hero-paper: #f7f5eb;
  --ink: #202e28;
  --green: #244d3e;
  --text: #4e5851;
  --muted: #58645c;
  --line: #d8dcd0;
  --orange: #b76635;
  --serif: "STIX Two Text", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "DM Sans", "Avenir Next", "Segoe UI", Arial, sans-serif;
  font-family: var(--sans);
  font-size: 100%;
  line-height: 1.55;
  background: var(--paper);
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box }
body { margin: 0 }
h1, h2, h3, p, dl, dd { margin: 0 }
h1, h2, h3 { text-wrap: balance }
a { color: var(--green); text-underline-offset: .2em }
button, input, select { font: inherit }
button, summary { cursor: pointer }
button { color: inherit }
summary { list-style: none }
summary::-webkit-details-marker { display: none }
a:focus-visible, summary:focus-visible, button:focus-visible, input:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid #aa5b24;
  outline-offset: 4px;
}
[hidden] { display: none !important }
.container { width: min(85.5%, 78rem); margin-inline: auto }
.icon { width: 1.25rem; height: 1.25rem; flex: none }
.skip-link { position: absolute; top: -5rem; left: .7rem; padding: .8rem 1rem; background: white; z-index: 10 }
.skip-link:focus { top: .5rem }
.site-header { background: #fffefa; border-bottom: 1px solid var(--line); position: relative; z-index: 4 }
.header-inner { min-height: 4.65rem; display: flex; align-items: center; gap: 3.6rem }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--green); font: bold 1.92rem/1 var(--serif); letter-spacing: -.065em }
.brand .icon { width: 2.45rem; height: 2.45rem }
.brand span { transform: translateY(.03em) }
.main-nav { display: flex; gap: 1.9rem; align-items: center; height: 4.65rem }
.main-nav > a, .tool-menu > summary { display: flex; align-items: center; min-height: 2.75rem; position: relative; text-decoration: none; font-size: .9rem; line-height: 1.4; font-weight: 600; color: #465149 }
.main-nav > a[aria-current], .tool-menu[data-current] > summary, .main-nav a:hover, .tool-menu > summary:hover { color: var(--green) }
.main-nav > a[aria-current]::after, .tool-menu[data-current] > summary::after { position: absolute; content: ""; background: #b86c40; height: 2px; left: 0; right: 0; bottom: .16rem }
.tool-menu { position: relative }
.tool-menu > summary { gap: .28rem }
.tool-menu > summary .icon { width: .9rem; height: .9rem; stroke-width: 2.3 }
.tool-menu[open] > summary .icon { transform: rotate(180deg) }
.menu-pop { position: absolute; top: calc(100% + .3rem); background: #fffefa; border: 1px solid var(--line); border-radius: .6rem; padding: .35rem; min-width: 14rem; box-shadow: 0 12px 34px #172d1f1c; left: -.9rem }
.menu-pop a { display: flex; align-items: center; gap: .6rem; min-height: 2.85rem; padding: .45rem .65rem; font-size: .91rem; font-weight: 550; text-decoration: none; border-radius: .3rem }
.menu-pop a:hover, .menu-pop a:focus-visible { background: #eff2e9 }
.menu-pop .icon { width: 1.12rem; height: 1.12rem }
.header-units { display: inline-flex; align-items: center; gap: .48rem; margin-left: auto; font-size: .8rem; font-weight: 600; color: #526056; letter-spacing: .02em; white-space: nowrap }
.header-units .icon { width: 1.02rem; height: 1.02rem }
.header-units span { color: #949c90; font-weight: 400 }
.hero { background: var(--hero-paper); border-bottom: 1px solid var(--line); overflow: hidden }
.hero-grid { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; column-gap: 2%; min-height: clamp(25rem,36vw,33rem) }
.hero-copy { position: relative; z-index: 1; padding: 2.65rem 0 2.9rem }
.eyebrow, .category { font-size: .76rem; font-weight: 700; letter-spacing: .125em; text-transform: uppercase; line-height: 1.3 }
.eyebrow { display: flex; align-items: center; gap: .73rem; color: #52644f; margin-bottom: 1.15rem }
.stripes { display: inline-flex; gap: 3px; transform: skewX(-24deg); padding-left: .1rem }
.stripes i { display: block; background: var(--orange); width: 4px; height: 14px }
h1, h2, h3 { font-family: var(--serif) }
.hero h1 { font-size: clamp(3.6rem, 5.65vw, 5.45rem); line-height: .99; font-weight: 600; letter-spacing: -.057em }
.hero h1 em { color: #355d48; font-weight: 500; display: inline-block; padding-right: .045em }
.hero-copy > p { font-size: clamp(1rem, 1.23vw, 1.15rem); line-height: 1.57; max-width: 27rem; color: var(--text); margin: 1.2rem 0 1.45rem }
.primary, .estimate-button { display: inline-flex; gap: .65rem; align-items: center; justify-content: center; min-height: 2.9rem; border: 1px solid var(--green); border-radius: .35rem; color: #fffefa; background: var(--green); font-weight: 650; font-size: .94rem; text-decoration: none; padding: .65rem 1.13rem; transition: background .15s ease, box-shadow .15s ease }
.primary:hover, .estimate-button:hover { background: #183c2e; box-shadow: 0 3px 9px #234f3e1b }
.primary .icon { width: 1.04rem; height: 1.04rem; stroke-width: 2 }
.hero-art { position: relative; margin: 1rem -2.3% 1rem -1.3%; mix-blend-mode: multiply }
.hero-art img { filter: contrast(1.04) brightness(1.1); display: block; width: 100%; height: auto; mask-image: linear-gradient(90deg,transparent,black 4%,black 97%,transparent),linear-gradient(0deg,transparent,black 3%,black 97%,transparent); mask-composite: intersect; -webkit-mask-image: linear-gradient(90deg,transparent,black 4%,black 97%,transparent),linear-gradient(0deg,transparent,black 3%,black 97%,transparent); -webkit-mask-composite: source-in }
.toolbox { padding-block: 2.65rem 3.1rem; scroll-margin-top: 1.4rem }
.section-heading { display: flex; gap: 1.3rem; align-items: center; margin-bottom: 1.3rem }
.section-heading h2, .notes h2 { font-size: clamp(2.05rem, 2.8vw, 2.7rem); line-height: 1.15; letter-spacing: -.047em; font-weight: 600 }
.section-heading .divider { flex: 1; height: 1px; background: var(--line) }
.section-heading > .icon { height: 1rem; width: 1rem; color: #778677 }
.tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.15rem }
.gas { --tone: #365c46; --tile: #e5eddf; --accent-line: #bdceba }
.ownership { --tone: #87552b; --tile: #f7e8ce; --accent-line: #dcc9a9 }
.tires { --tone: #415d73; --tile: #e3ebef; --accent-line: #bccdd8 }
.tool-card { display: flex; flex-direction: column; background: #fffefa; border: 1px solid #d6d9cf; border-radius: .68rem; padding: clamp(1.15rem,1.85vw,1.75rem); text-decoration: none; color: var(--ink); box-shadow: 0 2px 3px #24392704; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease }
.tool-card:hover { transform: translateY(-3px); border-color: var(--tone); box-shadow: 0 5px 16px #2537290d }
.card-top { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.13rem }
.icon-tile { display: inline-grid; place-items: center; width: 3.35rem; height: 3.35rem; background: var(--tile); color: var(--tone); border-radius: .72rem; flex: none }
.icon-tile .icon { width: 2.06rem; height: 2.06rem; stroke-width: 1.7 }
.category { color: var(--tone); font-size: .72rem; letter-spacing: .115em }
.tool-card h3 { font-size: clamp(1.45rem, 2vw, 1.94rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.16; text-wrap: initial }
.tool-card p { margin: .62rem 0 1.45rem; font-size: 1rem; line-height: 1.55; color: var(--text) }
.card-link { margin-top: auto; display: flex; align-items: center; gap: .85rem; font-weight: 650; font-size: .9rem; color: var(--tone) }
.link-rule { height: 1px; width: 1.85rem; background: var(--accent-line); transition: width .15s ease }
.tool-card:hover .link-rule { width: 2.6rem }
.notes { display: grid; grid-template-columns: .78fr 1.6fr; gap: 2rem; border-top: 1px solid var(--line); padding-block: 2.45rem 3.25rem }
.notes-intro > .icon { color: #52684c; width: 1.5rem; height: 1.5rem; margin-bottom: .4rem }
.notes h2 { font-size: 2.1rem }
.notes-intro p { margin-top: .55rem; color: var(--text) }
.note { border-bottom: 1px solid var(--line) }
.note summary { display: flex; align-items: center; justify-content: space-between; gap: .9rem; min-height: 3.35rem; font-weight: 600; font-size: .98rem; padding-block: .8rem }
.note summary:hover { color: #427353 }
.note p { padding-bottom: 1.2rem; color: var(--text); max-width: 63ch }
.plus { flex: none; position: relative; width: .9rem; height: .9rem }
.plus::before, .plus::after { content: ""; position: absolute; top: 45%; left: 0; width: 100%; height: 1.5px; background: var(--green) }
.plus::after { transform: rotate(90deg) }
.note[open] .plus::after { display: none }
.site-footer { border-top: 1px solid var(--line); background: #f2f3eb }
.footer-inner { display: flex; justify-content: space-between; gap: 1.5rem; align-items: center; padding-block: 1.6rem }
.footer-inner .brand { font-size: 1.55rem }
.footer-inner .brand .icon { width: 1.9rem; height: 1.9rem }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 1.45rem }
.footer-inner nav a { text-decoration: none; font-size: .88rem; padding-block: .5rem; color: var(--text) }
.footer-inner nav a:hover { text-decoration: underline }
.interior, .reading { padding-bottom: 3.7rem }
.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem; padding: 1.5rem 0 1.8rem; color: #647167; font-size: .88rem }
.crumbs a { color: #4f6255 }
.interior-heading { display: flex; align-items: center; gap: 1.05rem }
.interior-heading .icon-tile { width: 4.15rem; height: 4.15rem }
.interior-heading .icon { width: 2.55rem; height: 2.55rem }
.interior h1, .reading h1 { font-size: clamp(2.45rem, 4vw, 3.9rem); line-height: 1.09; letter-spacing: -.047em; font-weight: 600 }
.page-lead { font-size: 1.1rem; color: var(--text); margin: 1rem 0 2rem; max-width: 64ch }
.calc-layout { display: grid; grid-template-columns: minmax(0,1.12fr) minmax(0,.88fr); gap: clamp(1.25rem,2.5vw,2.25rem); align-items: start }
.panel { padding: clamp(1.2rem,2.4vw,2.25rem); border-radius: .7rem; border: 1px solid var(--line); background: #fffefa; min-width: 0 }
.panel h2, .calc-guide h2, .editorial h2 { font-size: clamp(1.55rem,2.1vw,2.08rem); line-height: 1.2; letter-spacing: -.035em; font-weight: 600 }
.calc-form > h2 { padding-bottom: 1.15rem; margin-bottom: 1.25rem; border-bottom: 1px solid var(--line) }
.field-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 1rem; row-gap: 1rem }
.field { min-width: 0 }
.calc-form > .field, .calc-form > .field-group, .calc-form > .field-grid { margin-bottom: 1.25rem }
.field label, .field-group legend { display: block; font-weight: 650; font-size: .93rem; margin: 0 0 .42rem; padding: 0 }
.field-group { border: 0; padding: 0; margin: 0; min-width: 0 }
.field-group legend { font-size: 1rem; margin-bottom: .8rem }
.input-wrap { min-height: 2.85rem; border: 1px solid #a6b09f; border-radius: .32rem; display: flex; align-items: center; background: #fff; color: var(--ink) }
.input-wrap:focus-within { border-color: var(--green); outline: 2px solid #80a48d; outline-offset: 1px }
.input-wrap:has(input[aria-invalid="true"]) { border-color: #a53c2c }
.input-wrap input { border: 0; background: transparent; width: 100%; min-width: 0; padding: .62rem .75rem; color: inherit; font-size: 1rem; font-variant-numeric: tabular-nums; border-radius: inherit; line-height: 1.5 }
.input-wrap input:focus-visible { outline: 0 }
.input-unit { font-size: .85rem; white-space: nowrap; color: var(--muted); padding-right: .72rem }
.field-help, .field-error, .form-note { color: var(--muted); font-size: .88rem; line-height: 1.5; margin: .38rem 0 0 }
.field-error { color: #983e2b }
.form-note { margin: -.55rem 0 1.2rem }
.trip-modes { border: 1px solid #c8cfc5; padding: .24rem; background: #f2f3ec; border-radius: .45rem; display: flex; gap: .2rem }
.trip-modes label { display: block; flex: 1; position: relative; text-align: center; cursor: pointer }
.trip-modes input { opacity: 0; position: absolute; inset: 0; margin: 0; width: 100%; cursor: pointer }
.trip-modes span { display: block; padding: .53rem .4rem; border-radius: .23rem; font-size: .92rem; font-weight: 620 }
.trip-modes input:checked + span { color: #fff; background: var(--green) }
.trip-modes input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px }
.form-actions { display: flex; gap: .9rem; flex-wrap: wrap; align-items: center; border-top: 1px solid var(--line); padding-top: 1.2rem; margin-top: 1.5rem }
.reset-button { background: transparent; border: 0; padding: .68rem .4rem; color: var(--green); font-size: .91rem; text-decoration: underline; text-underline-offset: .23em }
.calc-result { background: #edf1e7; border-color: #ccd5c5 }
.calc-result h2 { color: var(--green); font-family: var(--sans); font-size: 1rem; font-weight: 650; letter-spacing: 0 }
.result-value { font: 600 clamp(2.5rem,4.5vw,4.2rem)/1.2 var(--serif); color: var(--green); letter-spacing: -.045em; margin: .3rem 0 1.2rem; overflow-wrap: anywhere; font-variant-numeric: lining-nums tabular-nums }
.result-list > div { border-top: 1px solid #cbd4c5; display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: .6rem 0; font-size: .94rem }
.result-list dd { font-weight: 650; color: var(--green); text-align: right; overflow-wrap: anywhere }
.result-note { color: #4d5f50; font-size: .88rem; line-height: 1.55; margin-top: .9rem }
.tire-table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; font-size: .9rem; text-align: right; margin-bottom: 1rem }
.tire-table caption { text-align: left; font-weight: 650; margin-bottom: .65rem }
.tire-table th, .tire-table td { border-top: 1px solid #cbd4c5; padding: .43rem .15rem; font-weight: 450 }
.tire-table thead th { font-weight: 650 }
.tire-table th:first-child { text-align: left }
.calc-guide, .editorial { max-width: 50rem }
.calc-guide { border-top: 1px solid var(--line); margin: 2.5rem 0 0; padding-top: 2rem }
.calc-guide h3 { margin-top: 1.6rem; font-size: 1.35rem; letter-spacing: -.025em }
.calc-guide p, .editorial p { margin-top: .65rem; color: var(--text); line-height: 1.7 }
.reading { max-width: 51rem }
.reading > .page-lead { padding-bottom: 1.6rem; border-bottom: 1px solid var(--line); max-width: none }
.editorial section + section, .owner-note { margin-top: 1.8rem }
.owner-note { border-left: 3px solid var(--orange); padding: 1.25rem 1.5rem; background: #f5f1e6 }
.owner-note h2 { font-size: 1.4rem }
@media (min-width: 1050px) { .calc-result { position: sticky; top: 1.5rem } }
@media (max-width: 1050px) {
  .container { width: 90% }
  .header-inner { gap: 2.2rem }
  .hero-grid { min-height: 23rem }
  .card-top { gap: .67rem }
  .tool-card p { font-size: .96rem }
  .category { font-size: .71rem }
}
@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr 1fr; gap: .5rem; min-height: 21rem }
  .hero h1 { font-size: clamp(2.8rem,6.5vw,3.7rem) }
  .hero-copy { padding-block: 2rem }
  .tool-grid { grid-template-columns: 1fr }
  .tool-card { display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; padding: 1.25rem }
  .card-top { grid-column: 1 / -1; margin-bottom: .7rem }
  .tool-card h3, .tool-card p, .card-link { grid-column: 1 / -1 }
  .tool-card h3 { font-size: 1.65rem }
  .tool-card p { margin:.45rem 0 1rem; font-size: 1rem }
  .tool-grid { gap: .9rem }
  .toolbox { padding-block: 2rem }
  .calc-layout { grid-template-columns: 1fr }
  .notes { grid-template-columns: 1fr; gap: .7rem; padding-block: 1.8rem 2rem }
  .desktop-break { display: none }
  .notes-intro > .icon { float: left; margin: .43rem .65rem 0 0 }
  .notes-intro p { margin-top: .4rem }
}
@media (max-width: 620px) {
  .container { width: calc(100% - 2.25rem) }
  .header-inner { justify-content: space-between; gap: .7rem; min-height: 4.15rem }
  .brand { font-size: 1.55rem; gap: .32rem }
  .brand .icon { width: 1.9rem; height: 1.9rem }
  .main-nav { gap: .95rem; height: 4.15rem }
  .main-nav > a, .tool-menu > summary { font-size: .86rem }
  .main-nav > a:first-child { display: none }
  .header-units { display: none }
  .menu-pop { left: auto; right: -1.4rem }
  .hero-grid { grid-template-columns: 1fr; gap: 0 }
  .hero-copy { padding: 1.95rem 0 .4rem }
  .eyebrow { margin-bottom: .9rem; font-size: .72rem }
  .hero h1 { font-size: clamp(3.05rem,11.6vw,4.2rem) }
  .hero-copy > p { margin: .85rem 0 1.1rem; max-width: 28rem }
  .hero-art { width: min(100%,31rem); margin: .4rem auto .8rem }
  .section-heading { gap: .8rem; margin-bottom: 1.1rem }
  .section-heading h2 { font-size: 2rem }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: .65rem; padding-block: 1.2rem }
  .crumbs { padding: 1.1rem 0 1.4rem }
  .interior-heading { gap: .68rem; align-items: flex-start }
  .interior-heading .icon-tile { width: 2.9rem; height: 2.9rem; margin-top: .3rem }
  .interior-heading .icon { width: 1.85rem; height: 1.85rem }
  .interior h1, .reading h1 { font-size: clamp(2.05rem,7vw,2.7rem) }
  .page-lead { font-size: 1rem; margin: .8rem 0 1.35rem }
  .field-grid { gap: .9rem .7rem }
  .calc-guide { margin-top: 1.7rem; padding-top: 1.6rem }
  .interior, .reading { padding-bottom: 2rem }
}
@media (max-width: 395px) {
  .field-grid { grid-template-columns: 1fr }
  .tire-table { font-size: .84rem }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important }
}

/* Each optional lookup fills the editable calculator below. */
.trip-lookups { margin: -.45rem 0 1.5rem }
.lookup-choices { display: grid; grid-template-columns: repeat(var(--choices), minmax(0,1fr)); gap: .75rem }
.lookup-toggle {
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: .72rem;
  min-width: 0;
  padding: .8rem .95rem;
  border: 1px solid #cbd3c5;
  border-radius: .55rem;
  background: #fffefa;
  color: var(--ink);
  text-align: left;
}
.lookup-toggle:hover, .lookup-toggle[aria-expanded="true"] { background: #f0f4e9; border-color: #859c85 }
.lookup-icon { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: .48rem; flex: none }
.lookup-icon .icon { width: 1.6rem; height: 1.6rem }
.lookup-icon-route { background: #e2ebef; color: #415f73 }
.lookup-icon-vehicle { background: #e5eddf; color: #365c46 }
.lookup-icon-price { background: #f7e8ce; color: #81512b }
.lookup-label { min-width: 0 }
.lookup-label strong, .lookup-label small { display: block; line-height: 1.4 }
.lookup-label strong { font-size: .97rem; color: var(--green); font-weight: 650 }
.lookup-label small { font-size: .82rem; color: var(--text); margin-top: .1rem }
.lookup-chevron { width: 1rem; height: 1rem; margin-left: auto; color: var(--green) }
.lookup-toggle[aria-expanded="true"] .lookup-chevron { transform: rotate(180deg) }
.lookup-choices > .lookup-body {
  min-width: 0;
  grid-row: 2;
  grid-column: 1 / -1;
  padding: 1.35rem clamp(1.1rem,2vw,2rem);
  border: 1px solid #cbd3c5;
  border-radius: .55rem;
  background: #f7f8f1;
}
.lookup-body form { margin: 0 }
.lookup-body p { max-width: 80ch }
.lookup-body .field-grid, .lookup-content > .field { margin: .95rem 0 }
.lookup-content > .field { max-width: 30rem }
.lookup-body select {
  display: block;
  appearance: none;
  width: 100%;
  min-width: 0;
  min-height: 2.86rem;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.35;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='m3 5 4 4 4-4' fill='none' stroke='%23435849' stroke-width='1.6'/%3E%3C/svg%3E") right .8rem center / .85rem no-repeat;
  border: 1px solid #a6b09f;
  border-radius: .32rem;
  padding: .6rem 2.1rem .6rem .75rem;
  text-overflow: ellipsis;
}
.lookup-body select:focus-visible { outline: 3px solid #aa5b24; outline-offset: 3px }
.lookup-body select:disabled { color: #68736c; background-color: #eff1ea; opacity: 1 }
.lookup-button { padding: .59rem .95rem; min-height: 2.75rem; border-radius: .35rem; border: 1px solid var(--green); background: var(--green); color: #fffefa; font-size: .94rem; font-weight: 650 }
.lookup-button:hover:enabled { background: #173c2e }
.lookup-button:disabled { cursor: default; background: #e1e6da; color: #566351; border-color: #cbd3c5 }
.lookup-body .field-help { margin: .68rem 0 }
.lookup-status:not(:empty) { margin: .75rem 0; padding-left: .7rem; border-left: 2px solid #8ca58b; color: var(--green); font-size: .95rem }
.lookup-status:empty, .source-note:empty { display: none }
.lookup-source:last-child, .lookup-body .field-help:last-child { margin-bottom: 0 }
.source-note { color: var(--green) }
@media (min-width: 900px) {
  .vehicle-lookup .field-grid { grid-template-columns: .62fr 1fr 1.1fr 1.75fr }
}
@media (max-width: 735px) {
  .lookup-choices { grid-template-columns: 1fr; gap: .45rem }
  .lookup-toggle, .lookup-choices > .lookup-body { grid-row: auto }
  .lookup-toggle { padding: .64rem .8rem }
  .lookup-label { display: flex; align-items: baseline; flex-wrap: wrap; gap: .1rem .55rem }
  .lookup-icon { width: 2.15rem; height: 2.15rem }
  .lookup-icon .icon { width: 1.35rem; height: 1.35rem }
  .lookup-choices > .lookup-body { margin-bottom: .3rem }
}

/* mpglogic library, navigation and accessible color themes */
.site-header .header-inner { min-height:4.4rem; gap:clamp(.7rem,3vw,2.6rem) }
.main-nav { gap:clamp(.7rem,2vw,1.6rem) }
.theme-control { margin-left:auto }
.theme-control,.utility-button,.utility-bar button,.privacy-controls button,.directory-controls select { color:var(--green); background:var(--paper); border:1px solid var(--line); border-radius:.4rem; padding:.55rem .8rem; font:600 .88rem/1.3 var(--sans); min-height:2.65rem }
.utility-bar { display:flex; flex-wrap:wrap; align-items:center; gap:.5rem; margin:1rem 0 }
.utility-bar small { color:var(--text) }
.utility-bar input { max-width:100% }
.platform-foot { padding-block:2rem; display:flex; justify-content:space-between; gap:1rem; flex-wrap:wrap }
.platform-foot nav { display:flex; flex-wrap:wrap; gap:.7rem 1.2rem; align-items:center }
.platform-foot [aria-label="Policies"] { width:100%; border-top:1px solid var(--line); padding-top:1rem }
.platform-foot a { font-size:.88rem } .platform-foot .brand { font-size:1.6rem }
.platform-foot small { color:var(--text); margin-right:auto }
.directory-controls { display:flex; flex-wrap:wrap; align-items:end; gap:.8rem; background:var(--hero-paper); padding:1rem; border:1px solid var(--line); border-radius:.55rem }
.directory-controls label { display:grid; gap:.3rem; font-weight:650; font-size:.88rem; min-width:0 }
.directory-controls label:first-child {flex:2 1 15rem}
.directory-controls input,.directory-controls select,.model-select { width:100%; padding:.65rem .75rem; min-height:2.8rem; color:var(--ink); background:var(--paper); border:1px solid #99aa99; border-radius:.32rem; font:inherit }
#match-count { margin:.65rem 0; color:var(--muted); font-size:.9rem }
.directory-group {margin:2rem 0} .directory-group h2,.guide-tiles h2 { margin:0 0 .8rem; font:600 1.85rem/1.2 var(--serif); letter-spacing:-.035em }
.catalog-grid,.guide-tiles { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,17rem),1fr)); gap:.85rem }
.catalog-card { display:block; padding:1.1rem 1.15rem; color:var(--ink); text-decoration:none; background:var(--paper); border:1px solid var(--line); border-radius:.5rem }
.catalog-card:hover,.catalog-card:focus-visible {border-color:var(--green); background:var(--hero-paper)}
.catalog-card h3,.guide-tiles h2 {font-size:1.28rem; line-height:1.25; margin:0 0 .35rem}
.catalog-card p {font-size:.96rem; color:var(--text); line-height:1.52}
.library-page {padding-bottom:3rem} .library-page h1 {font:600 clamp(2.3rem,4vw,3.85rem)/1.08 var(--serif); letter-spacing:-.045em}
.resource-related { margin-top:2rem; padding-top:1.2rem; border-top:1px solid var(--line) }
.resource-related a {display:inline-block; margin:.35rem 1.3rem .35rem 0}
.calc-form input[type="range"] {width:100%; accent-color:var(--green)}
figure[data-wheel-figure] {margin:1rem 0 0; color:var(--green); border-top:1px solid var(--line); padding-top:.9rem}
.model-page .field-error {font-size:.82rem}.model-page .field-grid {margin-bottom:1rem}
.privacy-controls {padding:1rem; border:1px solid var(--line); border-radius:.4rem; margin-top:1.5rem}
.privacy-controls label {display:block; margin:.7rem 0}
.directory-controls select,.model-select {appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23728074' stroke-width='2'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .65rem center;padding-right:2rem}
[data-theme="dark"] {color-scheme:dark;--paper:#18221e;--hero-paper:#202e26;--ink:#f2f1e7;--text:#d0d9ce;--muted:#b1c2b3;--line:#45564b;--green:#b5dbbb;--tile:#304436;--tone:#c1ddc4}
[data-theme="dark"] :is(.site-header,.site-footer,.panel,.tool-card,.lookup-toggle,.lookup-body,.input-wrap,.menu-pop,.lookup-body select,.trip-modes,.owner-note) {background-color:var(--hero-paper); color:var(--ink);border-color:var(--line)}
[data-theme="dark"] :is(.main-nav a,.tool-menu summary,.hero h1 em,.crumbs,.crumbs a,.category,.card-link,.eyebrow,.lookup-label strong,.result-note,.calc-result h2,.field-help) { color:var(--green) }
[data-theme="dark"] :is(.primary,.estimate-button,.lookup-button:not(:disabled),.trip-modes input:checked + span){background:#b5dbbb;color:#132e1e;border-color:#b5dbbb}
[data-theme="dark"] .hero-art {mix-blend-mode:normal}
[data-theme="dark"] :is(.lookup-icon,.icon-tile){color:#253f31}
[data-theme="dark"] .lookup-toggle[aria-expanded="true"],[data-theme="dark"] .menu-pop a:hover {background:#314639}
[data-theme="dark"] .field-error {color:#ffbea8}
[data-theme="dark"] .hero-art img {border-radius:.6rem}
@media(max-width:700px){.site-header .header-inner {flex-wrap:wrap;padding:.65rem 0;gap:.4rem 1rem}.site-header .main-nav{order:3;width:100%;height:auto;justify-content:space-between}.site-header .main-nav > a:first-child{display:flex}.site-header .main-nav > a{min-height:2rem}.directory-controls label{flex:1 1 8rem}.platform-foot{display:grid}.theme-control{min-height:2.5rem}}
.catalog-grid > [data-tool] > .catalog-card {height:100%}
[data-theme="dark"] .primary, [data-theme="dark"] .estimate-button, [data-theme="dark"] .lookup-button:not(:disabled) {background:#284e3c;color:#fffefa;border-color:#91b495;transition:none}
[data-theme="dark"] .primary:hover,[data-theme="dark"] .estimate-button:hover {background:#365b48}
.policy-page {padding-top:2.2rem}
.account-page {padding-bottom:3rem}
.account-page .panel {max-width:32rem}
.account-buttons {display:grid;gap:.65rem;margin:1rem 0}
.account-page .field-help,.account-page #logout {margin-top:1rem}
.account-buttons button:disabled {opacity:.68;cursor:default}
.account-link {white-space:nowrap;text-decoration:none}
