/* Functional rules only (no look): box model, overflow, accessibility, hidden state. Each site's site.css owns every visual choice. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }
img, svg { max-width: 100%; }
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 1rem; top: 1rem; z-index: 99; padding: .5rem 1rem; background: #fff; color: #000; }
.tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; }
.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.prose table { display: block; overflow-x: auto; }
input, select, button, textarea { font: inherit; color: inherit; }
.tool input, .tool select { width: 100%; max-width: 24rem; }
.tool output, .tool .result { display: block; }
.tool .row { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 0 1.5rem; }
.find input { width: 100%; }
[hidden] { display: none !important; }
@media (max-width: 640px) { .hide-sm { display: none; } }

/* EV Parts Index: a quiet reference index. White page, black type, one column, hairline rules, a single lime marker. */
:root { --ink: #111; --mid: #6f6f6f; --hair: #e6e6e6; --lime: #b8f000; }
body { background: #fff; color: var(--ink); font: 17px/1.6 "Hanken Grotesk", system-ui, sans-serif; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.wrap { max-width: 46rem; margin: 0 auto; padding: 0 1.25rem; }
.bar .wrap { display: flex; justify-content: space-between; align-items: center; padding-top: 1.4rem; padding-bottom: 1.4rem; flex-wrap: wrap; gap: .6rem 1.5rem; max-width: 46rem; }
.brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; font-weight: 700; letter-spacing: -.01em; }
.brand svg { width: 1.5rem; height: 1.5rem; }
.nav { display: flex; gap: 1.3rem; flex-wrap: wrap; }
.nav a { text-decoration: none; color: var(--mid); font-size: .95rem; }
.nav a:hover, .nav a[aria-current] { color: var(--ink); box-shadow: inset 0 -.45em 0 var(--lime); }
h1 { font-size: clamp(1.9rem, 4.2vw, 2.6rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.12; margin: 0 0 .8rem; }
h2 { font-size: 1.05rem; font-weight: 700; letter-spacing: -.005em; margin: 0 0 .5rem; }
h2 a { text-decoration: none; }
.intro { padding: 3.5rem 0 1.5rem; }
.sub { color: var(--mid); margin: 0 0 1.4rem; }
.find label { display: block; font-size: .8rem; color: var(--mid); margin-bottom: .3rem; }
.find input { border: 0; border-bottom: 1px solid var(--ink); padding: .5rem 0; background: transparent; font-size: 1.05rem; }
.find input:focus { outline: none; border-bottom: 2px solid var(--ink); }
section { padding: 1.5rem 0; }
.ghead { margin: 1.5rem 0 .4rem; } .ghead p { color: var(--mid); margin: 0; font-size: .95rem; }
.rows { list-style: none; margin: .5rem 0 0; padding: 0; border-top: 1px solid var(--ink); }
.rows a { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "n p" "m p"; gap: 0 1.5rem; padding: .85rem 0; border-bottom: 1px solid var(--hair); text-decoration: none; }
.rows a:hover .r-name { box-shadow: inset 0 -.45em 0 var(--lime); }
.r-name { grid-area: n; font-weight: 600; justify-self: start; } .r-meta { grid-area: m; color: var(--mid); font-size: .85rem; }
.r-price { grid-area: p; text-align: right; align-self: center; font-variant-numeric: tabular-nums; } .r-price b { font-weight: 600; } .r-price small { display: block; color: var(--mid); font-size: .78rem; }
.note-sec .prose p { color: #333; }
.prose h2 { margin-top: 2.2rem; } .prose h3 { font-size: 1rem; margin: 1.6rem 0 .3rem; }
.prose table, table.sales, .data table { font-size: .9rem; margin: 1rem 0; }
th { text-align: left; font-weight: 600; font-size: .8rem; color: var(--mid); border-bottom: 1px solid var(--ink); padding: .5rem .6rem .5rem 0; }
td { padding: .55rem .6rem .55rem 0; border-bottom: 1px solid var(--hair); vertical-align: top; }
code { font-family: ui-monospace, Menlo, monospace; font-size: .88em; background: #f4f4f4; padding: .05rem .3rem; }
.crumbs { color: var(--mid); font-size: .85rem; margin: 0 0 1rem; }
.item { padding: 3rem 0 1rem; }
.answer { font-size: 1.15rem; line-height: 1.5; margin: 0 0 1rem; }
.answer::before { content: ""; display: inline-block; width: .55rem; height: .55rem; background: var(--lime); border-radius: 50%; margin-right: .5rem; vertical-align: middle; }
.buybox { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1rem 2rem; padding: 1.4rem 0; margin: 1.4rem 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.price { display: flex; flex-direction: column; } .p-label { font-size: .8rem; color: var(--mid); } .p-value { font-size: 2.6rem; font-weight: 700; letter-spacing: -.03em; line-height: 1.05; } .p-range { font-size: .95rem; } .p-note { font-size: .8rem; color: var(--mid); }
.cta { margin-left: auto; text-decoration: none; font-weight: 600; border-bottom: 2px solid var(--ink); padding-bottom: .1rem; }
.cta::after { content: " →"; }
.cta:hover { box-shadow: inset 0 -.45em 0 var(--lime); }
.chart { flex-basis: 100%; margin: .4rem 0 0; color: var(--ink); } .chart figcaption { font-size: .78rem; color: var(--mid); }
.specs { margin: 0 0 1.5rem; display: grid; grid-template-columns: 11rem 1fr; } .specs div { display: contents; }
.specs dt, .specs dd { margin: 0; padding: .45rem 0; border-bottom: 1px solid var(--hair); } .specs dt { color: var(--mid); font-size: .9rem; }
.notes-sec, .checks-sec { margin-top: 1.5rem; }
.checks { padding-left: 1.2rem; } .checks li { margin: .45rem 0; }
.related-sec h2, .sales-sec h2 { margin-top: 1rem; }
.guide-list { list-style: none; padding: 0; margin: 0; }
.guide-list a { display: block; padding: .9rem 0; border-bottom: 1px solid var(--hair); text-decoration: none; }
.g-title { display: block; font-weight: 600; } .g-desc { display: block; color: var(--mid); font-size: .92rem; }
.guide { padding: 3rem 0; } .guide .meta { color: var(--mid); font-size: .85rem; margin: -.3rem 0 2rem; }
.sources { font-size: .85rem; color: var(--mid); margin-top: 2.5rem; }
.tool label { display: block; font-size: .85rem; color: var(--mid); margin: 1rem 0 .3rem; }
.tool input, .tool select { border: 1px solid #cfcfcf; background: #fff; padding: .55rem .65rem; }
.tool .tablewrap { margin-top: .5rem; }
.data h3 { font-size: .95rem; margin: 1.5rem 0 .2rem; }
.small, .callout { color: var(--mid); font-size: .82rem; }
.foot { margin-top: 3rem; padding: 2rem 0 3rem; border-top: 1px solid var(--ink); color: var(--mid); font-size: .85rem; } .foot p { margin: .3rem 0; }
@media (max-width: 560px) { .specs { grid-template-columns: 1fr; } .specs dt { border-bottom: 0; padding-bottom: 0; } .cta { margin-left: 0; } }
