/* Emberbreak: the place to finish a wildfire retrofit.
   Charcoal wordmark and type on warm off-white; burnt orange for the main
   action and the numbered callouts that follow one opening from the house
   drawing to the scope, the packing list, and the project record. Status
   colours (ready green, review blue, hold brown, error red) mean only status.
   Studio renders of every part; engineering drawings for dimensions.
   Read docs/DESIGN-GUARDRAILS.md before changing anything here;
   `npm run check:design` fails the build on the banned patterns. */

@font-face { font-family: 'Barlow'; src: url('../fonts/barlow-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('../fonts/barlow-latin-400-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('../fonts/barlow-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('../fonts/barlow-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('../fonts/barlow-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow Semi Condensed'; src: url('../fonts/barlow-semi-condensed-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow Semi Condensed'; src: url('../fonts/barlow-semi-condensed-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('../fonts/barlow-condensed-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --ink: #2b2926;
  --ink-2: #4a4641;
  --gray: #6a645c;
  --line: #e4dfd7;
  --line-2: #cfc8bd;
  --paper: #faf8f5;
  --panel: #f2efea;
  --panel-2: #e8e3db;
  --white: #fff;
  --char: #2b2926;
  --char-2: #46423d;
  --house-slate: #222a33;
  --house-slate-mid: #3a4550;
  --house-cloud: #cbd2da;
  --ember: #b8491c;
  --ember-dk: #9a3a12;
  --ember-wash: #fbeee6;
  --ember-ink: #8f3a13;
  --ember-line: #f0cdb9;
  --ember-lt: #ea7a3b;
  --ok: #2e6b4c;
  --ok-wash: #e4efe8;
  --blue: #2b5b87;
  --blue-wash: #e7eef6;
  --brown: #7a5636;
  --alert: #b42318;
  --alert-wash: #fcebe9;
  --sans: 'Barlow', 'Helvetica Neue', Arial, sans-serif;
  --semi: 'Barlow Semi Condensed', 'Barlow', 'Arial Narrow', sans-serif;
  --cond: 'Barlow Condensed', 'Barlow Semi Condensed', 'Arial Narrow', sans-serif;
  --r-sm: 4px;
  --r: 8px;
  --r-lg: 12px;
  --wrap: 1320px;
  --gut: clamp(16px, 3vw, 36px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 1rem; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--ember); text-decoration-thickness: 1.5px; text-underline-offset: .18em; }
a:hover { color: var(--ember-dk); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ember-dk); outline-offset: 2px; }
.family-bar :focus-visible, .footer :focus-visible { outline-color: var(--ember-lt); }
main:focus { outline: none; }
p { margin: 0 0 .8em; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 700; color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ember); color: #fff; padding: .6rem 1rem; z-index: 50; font-weight: 600; border-radius: var(--r-sm); }
.skip:focus { top: 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut); }
.narrow { max-width: 780px; }
.narrow-wide { max-width: 1000px; }
.muted { color: var(--gray); }
.fine { font-size: .875rem; line-height: 1.45; color: var(--gray); }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.stack > * + * { margin-top: .2rem; }
[hidden] { display: none !important; }

/* ---------------------------------------------------------------- type */
.h-hero { font-family: var(--semi); font-weight: 700; font-size: clamp(2.2rem, 1.55rem + 2.5vw, 3.45rem); line-height: 1.04; letter-spacing: -.012em; max-width: 15em; }
.h-xl { font-family: var(--semi); font-weight: 700; font-size: clamp(1.85rem, 1.45rem + 1.4vw, 2.45rem); line-height: 1.08; letter-spacing: -.008em; }
.h-lg { font-family: var(--semi); font-weight: 700; font-size: clamp(1.45rem, 1.2rem + .85vw, 1.9rem); line-height: 1.12; }
.h-md { font-family: var(--semi); font-size: 1.25rem; font-weight: 700; line-height: 1.2; }
.h-sub { font-size: 1rem; font-weight: 700; margin: 1.5rem 0 .45rem; }
.lede { font-size: 1.125rem; line-height: 1.5; color: var(--ink-2); max-width: 38em; }
.label { font-size: .9rem; font-weight: 600; color: var(--gray); }

/* ---------------------------------------------------------------- header */
.utility { background: var(--panel); color: var(--ink-2); font-size: .84rem; border-bottom: 1px solid var(--line); }
.utility-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .15rem 1.5rem; min-height: 32px; padding-top: .3rem; padding-bottom: .3rem; }
.utility p { margin: 0; }
.utility a { color: var(--ink); text-decoration: none; }
.utility a:hover { text-decoration: underline; color: var(--ink); }
.utility .mode { color: var(--ember-ink); font-weight: 600; }
.utility-links { display: none; gap: 1.3rem; }
@media (min-width: 760px) { .utility-links { display: flex; } }
.masthead { background: var(--paper); border-bottom: 1px solid var(--line); }
.masthead-row { display: flex; align-items: center; gap: 1.5rem; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--ink); flex: none; }
.brand:hover { color: var(--ink); }
.logo-mark { width: 30px; height: 30px; flex: none; }
.lm-top { fill: var(--char); }
.lm-low { fill: var(--ember); }
.brand-name { font-family: var(--semi); font-weight: 700; font-size: 1.55rem; white-space: nowrap; letter-spacing: -.01em; color: var(--char); }
.mainnav { display: none; gap: .2rem; align-items: center; }
.mainnav a { display: flex; align-items: center; height: 72px; padding: 0 .6rem; color: var(--ink); font-weight: 600; font-size: .98rem; text-decoration: none; white-space: nowrap; border-bottom: 3px solid transparent; border-top: 3px solid transparent; }
.mainnav a:hover { color: var(--ink); border-bottom-color: var(--line-2); }
.mainnav a[aria-current] { border-bottom-color: var(--ember); }
.masthead-actions { display: flex; align-items: center; gap: .6rem; margin-left: auto; }
.mh-link { display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .6rem; border-radius: var(--r-sm); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; line-height: 1.15; }
.mh-link:hover { background: var(--panel); color: var(--ink); }
.mh-link svg { width: 24px; height: 24px; color: var(--ink-2); flex: none; }
.mh-link small { display: block; font-weight: 500; color: var(--gray); font-size: .78rem; }
.mh-cart { display: none; }
.masthead .mh-cta { display: none; white-space: nowrap; }
@media (min-width: 560px) { .masthead .mh-cta { display: inline-flex; } }
.cart-icon { position: relative; display: inline-flex; }
.count { position: absolute; top: -7px; right: -9px; display: inline-grid; place-items: center; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--ember); color: #fff; font-size: .72rem; font-weight: 700; line-height: 1; }
.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; min-height: 44px; padding: 0 .9rem; display: flex; align-items: center; gap: .55rem; border: 1.5px solid var(--line-2); border-radius: var(--r-sm); font-weight: 600; position: relative; background: var(--white); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary .count { position: static; }
.menu-sheet { position: absolute; right: 0; top: 52px; z-index: 30; width: min(90vw, 360px); background: var(--white); border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; display: grid; box-shadow: 0 18px 40px -18px rgba(43, 41, 38, .5); }
.menu-sheet a { padding: .85rem 1rem; text-decoration: none; color: var(--ink); font-weight: 600; border-top: 1px solid var(--line); }
.menu-sheet .menu-cta { background: var(--ember); color: #fff; border-top: 0; }
.menu-sheet form { padding: .8rem; }
@media (min-width: 1120px) {
  .mainnav, .mh-cart, .mh-cta { display: flex; }
  .menu { display: none; }
}
@media (min-width: 1120px) and (max-width: 1260px) { .masthead-row { gap: 1rem; } .mainnav a { padding: 0 .45rem; } .mh-cart small { display: none; } }
.search-form { display: flex; width: 100%; }
.search-form input { flex: 1; min-height: 46px; border: 1.5px solid var(--line-2); border-right: 0; border-radius: var(--r-sm) 0 0 var(--r-sm); padding: .5rem .85rem; font: inherit; font-size: 1rem; background: #fff; }
.search-form input:focus { border-color: var(--ember-dk); outline: 2px solid var(--ember-dk); outline-offset: 0; box-shadow: 0 0 0 4px var(--ember-wash); }
.search-form button { border: 0; background: var(--char); color: #fff; font: inherit; font-weight: 600; padding: 0 1.2rem; cursor: pointer; border-radius: 0 var(--r-sm) var(--r-sm) 0; display: inline-flex; align-items: center; gap: .4rem; }
.search-form button:hover { background: var(--char-2); }
.search-form button svg { width: 18px; height: 18px; }
.ops-label { font-size: .95rem; color: var(--gray); border-left: 1px solid var(--line); padding-left: 1rem; }
.flash { display: flex; gap: .6rem; align-items: flex-start; margin: 1rem 0 0; padding: .8rem 1rem; border: 1px solid var(--line); border-left: 4px solid var(--gray); background: var(--panel); border-radius: var(--r-sm); }
.flash-error { border-color: #f1c2bd; border-left-color: var(--alert); background: var(--alert-wash); }
.flash-ok { border-color: #bcd9c6; border-left-color: var(--ok); background: var(--ok-wash); }
.flash-ok::before { content: ''; flex: none; width: 12px; height: 7px; margin: .45rem .15rem 0; border: solid var(--ok); border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg); }
.plain-error { max-width: 36rem; margin: 4rem auto; padding: 0 1.2rem; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .65rem 1.35rem;
  background: var(--char); color: #fff;
  border: 1.5px solid var(--char); border-radius: var(--r-sm);
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.1;
  text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--char-2); border-color: var(--char-2); color: #fff; }
.btn-buy, .btn-main { background: var(--ember); border-color: var(--ember); color: #fff; }
.btn-buy:hover, .btn-main:hover { background: var(--ember-dk); border-color: var(--ember-dk); color: #fff; }
.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--panel); color: var(--ink); border-color: var(--ink-2); }
.btn-ink { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-2); border-color: var(--ink-2); }
.btn-sm { min-height: 40px; padding: .45rem .95rem; font-size: .94rem; }
.btn-block { width: 100%; }
.btn-static { cursor: default; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.link-static { text-decoration: underline; text-decoration-color: var(--ember); color: var(--ink); }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--ink); text-decoration: underline; text-decoration-color: var(--ember); cursor: pointer; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.more { font-weight: 600; text-decoration: none; }
.more:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- panels and marks */
.sheet { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.band { padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(40px, 5vw, 72px); }
.band-gray { background: var(--panel); }
.band-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: .4rem 2rem; margin-bottom: 1.4rem; }
.band-head p { margin: .35rem 0 0; color: var(--gray); max-width: 44em; }

/* ---------------------------------------------------------------- home: hero */
.hero { background: var(--paper); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-grid { display: grid; gap: 20px 48px; padding-top: clamp(28px, 4vw, 60px); padding-bottom: clamp(24px, 3vw, 44px); }
@media (min-width: 1040px) { .hero-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; } }
.hero-for { font-family: var(--semi); font-weight: 600; font-size: 1.06rem; color: var(--ink-2); margin: 0 0 .7rem; }
.hero-copy .h-hero { font-size: clamp(2.35rem, 1.5rem + 3vw, 3.9rem); line-height: 1.02; margin-bottom: 1.1rem; }
.hero-copy .h-hero span { display: block; }
.hero-copy .lede { margin-bottom: 1.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0; }
.hero-shop { margin: 1rem 0 0; color: var(--ink-2); }
.zipform { display: flex; flex-wrap: wrap; gap: .6rem; align-items: flex-end; margin-bottom: 1.1rem; }
.zipform .field { margin: 0; }
.zipform input { width: 10rem; font-size: 1.2rem; font-weight: 600; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.zipform .fine { flex-basis: 100%; margin: 0; }

/* The house and its numbered openings */
.house { margin: 0; }
.house-art { position: relative; }
.house-art img { display: block; width: 100%; height: auto; }
.house-art .spots { position: absolute; inset: 0; width: 100%; height: 100%; }
.house figcaption { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; font-size: .86rem; color: var(--gray); margin-top: .35rem; }
.house figcaption span { display: inline-flex; align-items: center; gap: .4rem; }
.key-on::before, .key-off::before { content: ''; width: 12px; height: 12px; border-radius: 50%; flex: none; }
.key-on::before { background: var(--ember); }
.key-off::before { background: var(--white); box-shadow: inset 0 0 0 2px var(--char); }
.spot .ring { fill: var(--ember); stroke: #fff; stroke-width: 3; }
.spot text { font-family: var(--cond); font-weight: 700; font-size: 36px; fill: #fff; }
.spot .halo { fill: #fff; opacity: .55; }
.spot-off .ring { fill: #fff; stroke: var(--char); stroke-width: 3; }
.spot-off text { fill: var(--char); font-size: 28px; }
.spot-off .halo { opacity: .35; }

/* The opening number: the brand's one loud mark */
.opn { display: inline-grid; place-items: center; flex: none; min-width: 28px; height: 28px; padding: 0 6px; border-radius: 14px; background: var(--ember); color: #fff; font-family: var(--cond); font-weight: 700; font-size: 1rem; line-height: 1; font-variant-numeric: tabular-nums; }
.opn-muted { min-width: 24px; height: 24px; padding: 0 5px; background: var(--white); color: var(--char); box-shadow: inset 0 0 0 2px var(--char); font-size: .9rem; }
.line-openings { display: inline-flex; gap: 3px; margin-right: .45rem; vertical-align: -6px; }
.line-openings .opn { width: 22px; height: 22px; font-size: .82rem; }

/* The sample scope */
.sample-band { background: var(--panel); border-bottom: 1px solid var(--line); }
.scope { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); }
.scope-head { display: grid; gap: 1rem 2rem; padding: clamp(18px, 2.6vw, 28px); border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .scope-head { grid-template-columns: minmax(0, 1fr) auto; align-items: end; } }
.scope-where { margin: .35rem 0 0; color: var(--gray); }
.scope-stats { display: grid; grid-template-columns: repeat(3, minmax(0, auto)); gap: 6px; margin: 0; }
.scope-stats div { padding: .55rem .85rem; background: var(--panel); border-radius: var(--r-sm); min-width: 7.5rem; }
.scope-stats dt { font-size: .8rem; color: var(--gray); font-weight: 600; }
.scope-stats dd { margin: 0; font-family: var(--semi); font-size: 1.5rem; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.15; }
.scope-tbd { display: block; font-family: var(--sans); font-size: .9rem; font-weight: 600; color: var(--ink-2); line-height: 1.3; max-width: 9rem; }
@media (max-width: 560px) { .scope-stats { grid-template-columns: 1fr 1fr; } .scope-stats div:last-child { grid-column: 1 / -1; } }
.scope-list { list-style: none; margin: 0; padding: 0; }
.scope-row { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: .35rem .9rem; padding: 1rem clamp(18px, 2.6vw, 28px); border-top: 1px solid var(--line); align-items: start; }
.scope-row:first-child { border-top: 0; }
.scope-row .opn { grid-row: span 3; margin-top: 2px; }
.scope-what strong { display: block; font-size: 1.04rem; }
.scope-what span { color: var(--gray); font-size: .94rem; }
.scope-part p { margin: 0; }
.scope-part .fine { margin-top: .15rem; }
.scope-qty { font-variant-numeric: tabular-nums; }
.scope-row .tag { justify-self: start; }
.scope-part p + p { margin-top: .1rem; }
.scope-measure { background: var(--ember-wash); }
.scope-measure .scope-part b { color: var(--ember-ink); }
.scope-todo { margin: .2rem 0 0; padding-left: 1.1rem; color: var(--ink-2); font-size: .94rem; }
.scope-todo li + li { margin-top: .15rem; }
@media (min-width: 900px) {
  .scope-row { grid-template-columns: 34px minmax(0, 1fr) minmax(0, 1.25fr) 9.5rem; align-items: center; }
  .scope-row .opn { grid-row: auto; }
  .scope-row .tag { justify-self: end; }
}
.scope-foot { display: grid; gap: 1rem 2.5rem; padding: clamp(18px, 2.6vw, 28px); border-top: 1px solid var(--line); }
@media (min-width: 900px) { .scope-foot { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: end; } }
.scope-foot .h-sub { margin-top: 0; }
.next-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.next-list li { padding-left: 1rem; border-left: 2px solid var(--line-2); color: var(--ink-2); }
.next-list b { color: var(--ink); }
.scope-actions { display: grid; gap: .6rem; }
.scope-actions .btn { width: 100%; }
.scope-actions .zipform { margin: 0; }
.scope-outside { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; margin: 0; padding: .9rem clamp(18px, 2.6vw, 28px); border-top: 1px solid var(--line); background: var(--paper); font-size: .92rem; color: var(--gray); border-radius: 0 0 var(--r-lg) var(--r-lg); }
.scope-outside > span:first-child { font-weight: 600; color: var(--ink-2); }
.out-item { display: inline-flex; align-items: center; gap: .4rem; color: var(--ink-2); }

/* Two ways in */
.doors { display: grid; gap: 16px; }
@media (min-width: 820px) { .doors { grid-template-columns: 1fr 1fr; } }
.door { display: grid; gap: .5rem; align-content: start; padding: clamp(18px, 2.4vw, 28px); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); color: var(--ink); text-decoration: none; }
.door:hover { border-color: var(--char-2); color: var(--ink); }
.door-icon svg { width: 34px; height: 34px; color: var(--char); }
.door-title { font-family: var(--semi); font-size: 1.35rem; font-weight: 700; line-height: 1.15; margin: 0; }
.door-text { color: var(--ink-2); }
.door-go { margin-top: .4rem; font-weight: 700; color: var(--ember-dk); text-decoration: underline; text-underline-offset: 3px; }
.door:hover .door-go { color: var(--ink); }
.start-shop { margin: 1.4rem 0 0; color: var(--ink-2); }

/* Coverage and local help */
.local-grid { gap: 16px; }
@media (min-width: 900px) { .two-col.local-grid, .local-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.local-card { padding: clamp(18px, 2.4vw, 26px); }
.local-card .h-md { margin-bottom: .4rem; }
.cov-form { display: flex; flex-wrap: wrap; gap: .6rem; align-items: flex-end; margin: .4rem 0 1rem; }
.cov-form .field { margin: 0; }
.cov-form input { width: 8.5rem; font-variant-numeric: tabular-nums; }
.coverage { padding: .9rem 1rem; border-radius: var(--r); background: var(--paper); border-left: 4px solid var(--blue); }
.coverage.cov-open { border-left-color: var(--ok); }
.coverage p { margin: 0 0 .6rem; }
.cov-line { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .6rem; }
.inline-form { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.inline-form input { flex: 1 1 12rem; }

/* Landing pages */
.lead-band { background: var(--paper); border-bottom: 1px solid var(--line); }
.lead-grid { display: grid; gap: 20px 48px; padding-top: clamp(24px, 3.5vw, 48px); padding-bottom: clamp(20px, 3vw, 36px); }
@media (min-width: 1040px) { .lead-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; } }
.lead-copy .lede { margin: .6rem 0 1.3rem; }
.paths { display: grid; gap: 16px; }
@media (min-width: 900px) { .paths { grid-template-columns: 1fr 1fr; } }
.path { padding: clamp(18px, 2.4vw, 28px); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); }
.path .h-md { margin-bottom: .4rem; }
.path > p { color: var(--ink-2); }
.measure-fig { margin: 0; background: var(--white); border-radius: var(--r); padding: 1rem; }
.dept-band { border-top: 1px solid var(--line); }
.dept-row p { margin: 0; color: var(--ink-2); }

/* Projects index */
.feature-project { display: grid; gap: 1rem 1.6rem; align-items: center; padding: clamp(18px, 2.4vw, 26px); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); color: var(--ink); text-decoration: none; margin-bottom: 1.2rem; }
@media (min-width: 820px) { .feature-project { grid-template-columns: 120px minmax(0, 1fr) auto; } }
.feature-project:hover { border-color: var(--char-2); color: var(--ink); }
.fp-fig { width: 120px; height: 90px; display: grid; place-items: center; background: var(--panel); border-radius: var(--r); overflow: hidden; }
.fp-fig img, .fp-fig svg { max-width: 100%; max-height: 100%; }
.fp-body { display: grid; gap: .3rem; }
.project-rows { list-style: none; margin: 0; padding: 0; }
.project-rows li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: .6rem 1rem; align-items: center; padding: 1rem 0; border-top: 1px solid var(--line); }
.project-rows li > .btn { grid-column: 2; justify-self: start; }
@media (min-width: 760px) { .project-rows li { grid-template-columns: 48px minmax(0, 1fr) auto; } .project-rows li > .btn { grid-column: auto; } }
.project-rows p { margin: .2rem 0 0; color: var(--gray); }
.project-rows .pl-thumb { display: grid; place-items: center; width: 48px; height: 48px; background: var(--white); border-radius: var(--r-sm); overflow: hidden; }

/* The record */
.record-teaser { display: grid; gap: 24px 56px; }
@media (min-width: 960px) { .record-teaser { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; } }
.record-teaser p { color: var(--ink-2); max-width: 36em; }
.record-teaser .h-lg { margin-bottom: .6rem; }
.rt-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rt-points li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: .8rem; padding: .9rem 1rem; background: var(--white); border-radius: var(--r); }
.rt-points svg { width: 28px; height: 28px; color: var(--char); }
.rt-points strong { display: block; }
.rt-points span { color: var(--ink-2); font-size: .95rem; }
.sample-note { display: inline-block; margin: 0 0 1rem; padding: .45rem .8rem; background: var(--ember-wash); color: var(--ember-ink); border: 1px solid var(--ember-line); border-radius: var(--r-sm); font-size: .92rem; font-weight: 600; }
.record-page { display: grid; gap: 18px; padding-bottom: clamp(48px, 6vw, 80px); }
.record-block { padding: clamp(18px, 2.4vw, 28px); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); }
.record-block > .h-md { margin-bottom: .8rem; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: .1rem 1rem; padding: .6rem 0; border-top: 1px solid var(--line); }
.timeline li:first-child { border-top: 0; }
.timeline time { grid-row: span 2; font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink-2); }
.timeline span { color: var(--gray); font-size: .94rem; }
.record-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.record-table th, .record-table td { text-align: left; padding: .65rem .5rem; border-top: 1px solid var(--line); vertical-align: top; }
.record-table thead th { border-top: 0; font-size: .84rem; color: var(--gray); font-weight: 600; }
.record-table td:first-child { white-space: nowrap; }
.record-table td:first-child .opn { margin-right: .4rem; }
.record-table .fine { display: block; }
.record-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.doc-line { display: block; }
@media (max-width: 720px) {
  .record-table thead { display: none; }
  .record-table tr { display: grid; grid-template-columns: 1fr auto; padding: .6rem 0; border-top: 1px solid var(--line); }
  .record-table td { border: 0; padding: .2rem 0; }
  .record-table td:first-child { grid-column: 1 / -1; }
  .record-table td:nth-child(4) { grid-column: 1 / -1; }
}
.record-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px; margin: 0 0 .6rem; }
.record-facts div { padding: .6rem .8rem; background: var(--panel); border-radius: var(--r-sm); }
.record-facts dt { font-size: .8rem; color: var(--gray); font-weight: 600; }
.record-facts dd { margin: 0; font-weight: 600; }
.photo-grid { list-style: none; margin: 0 0 .6rem; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.photo-grid li { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pg-head { grid-column: 1 / -1; display: flex; align-items: center; gap: .5rem; margin: 0; font-weight: 600; }
.photo-grid figure { margin: 0; background: var(--panel); border-radius: var(--r); overflow: hidden; }
.photo-grid img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.photo-grid .pg-after img { object-fit: contain; background: var(--white); }
.photo-grid figcaption { font-size: .82rem; font-weight: 600; color: var(--ink-2); padding: .3rem .55rem; }
.record-cta { padding: 1.3rem; background: var(--panel); border: 0; }
.rec-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.rec-list-tight { grid-template-columns: 1fr; gap: 10px; margin-bottom: .8rem; }
.rec-line { padding: 1rem 1.1rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.record-block .rec-line, .local-card .rec-line { background: var(--paper); }
.rec-top { display: flex; flex-wrap: wrap; gap: .4rem .7rem; align-items: center; margin: 0 0 .3rem; font-size: .86rem; }
.rec-title { margin: 0 0 .5rem; font-weight: 700; font-size: 1.04rem; }
.rec-facts { margin: 0; display: grid; gap: .3rem; font-size: .92rem; }
.rec-facts div { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: .6rem; }
.rec-facts dt { color: var(--gray); }
.rec-facts dd { margin: 0; }
@media (max-width: 520px) { .rec-facts div { grid-template-columns: 1fr; gap: 0; } }

/* Offer status and the demo box */
.offer { margin: .9rem 0 1rem; padding: 1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.offer > p { margin: 0 0 .7rem; }
.offer-status { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.offer-quote .btn, .offer-preview .btn { margin-top: .2rem; }
.demo-box { margin: 0 0 1rem; padding: .9rem 1rem; border: 1.5px dashed var(--line-2); border-radius: var(--r); background: var(--panel); }
.demo-box h2 { font-size: 1rem; font-weight: 700; margin: 0 0 .2rem; }
.demo-box .fine { margin: 0 0 .6rem; }
.demo-add { margin-top: .3rem; }
.demo-add .linkish { font-size: .88rem; color: var(--gray); }
.report-note { padding: 1rem 1.2rem; margin: 0 0 18px; }
.report-note summary { font-weight: 700; cursor: pointer; }
.report-note p { white-space: pre-wrap; }

/* Vent finder band */
.finder-band { display: grid; gap: 20px; }
@media (min-width: 1000px) { .finder-band { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; } }
.finder, .measure-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.finder-head, .measure-head { padding: 1rem 1.2rem .9rem; border-bottom: 1px solid var(--line); }
.finder-head h2, .measure-head h2 { font-family: var(--semi); font-size: 1.35rem; }
.finder-head p, .measure-head p { margin: .15rem 0 0; color: var(--gray); font-size: .93rem; }
.finder-body { padding: 1.1rem 1.2rem 1.2rem; }
.finder-body .field { margin-bottom: .9rem; }
.finder-measure { display: grid; gap: .8rem 1.1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .finder-measure { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.finder-measure .field { margin: 0; }
.finder-measure .input-unit { max-width: none; }
.finder-go { margin-top: 1rem; }
.finder-result { margin: 0 1.2rem 1.2rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.finder-hit { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: .3rem 1rem; align-items: center; }
.finder-hit .hit-fig { grid-row: span 3; background: var(--panel); border-radius: var(--r-sm); aspect-ratio: 4 / 3; }
.finder-hit .hit-fig img, .finder-hit .hit-fig svg { display: block; width: 100%; height: 100%; object-fit: contain; }
.finder-hit .hit-name { font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.finder-hit .hit-why { font-size: .93rem; color: var(--gray); margin: 0; }
.finder-hit .hit-buy { display: flex; flex-wrap: wrap; gap: .5rem; align-items: baseline; }
.finder-hit .hit-price { font-size: 1.2rem; }
.finder-verdict { display: flex; gap: .55rem; align-items: baseline; font-weight: 700; margin: 0 0 .7rem; }
.finder-verdict::before { content: ''; width: 11px; height: 11px; border-radius: 50%; background: var(--char-2); flex: none; transform: translateY(1px); }
.finder-verdict.no::before { background: var(--alert); }
.finder-next { margin: -.3rem 0 .9rem; color: var(--ink-2); }
.finder-miss p { margin: 0 0 .6rem; }
.finder-add { display: flex; flex-wrap: wrap; gap: .6rem 1rem; align-items: center; margin-top: .9rem; }
.measure-card figure { margin: 0; padding: 1rem 1.2rem .4rem; background: var(--white); }
.measure-steps { margin: 0; padding: .2rem 1.2rem 1.2rem 2.6rem; display: grid; gap: .5rem; color: var(--ink-2); }
.measure-steps li::marker { font-weight: 700; color: var(--char-2); }

/* Kits */
.kits { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.kit { display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--white); }
.kit-fig { position: relative; display: grid; grid-template-columns: 1fr 1fr; background: var(--panel); aspect-ratio: 16 / 9; }
.kit-fig img { width: 100%; height: 100%; object-fit: contain; }
.kit-fig .plus { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--white); border: 1px solid var(--line-2); font-weight: 700; color: var(--gray); }
.kit-body { padding: 1rem 1.1rem 1.15rem; display: grid; gap: .5rem; align-content: start; }
.kit-body h3 { font-family: var(--semi); font-size: 1.2rem; }
.kit-body p { margin: 0; color: var(--gray); font-size: .93rem; }
.kit-items { list-style: none; margin: 0; padding: .55rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: .2rem; font-size: .92rem; }
.kit-items b { font-variant-numeric: tabular-nums; margin-right: .25rem; }
.kit-buy { display: grid; gap: .7rem; margin-top: .2rem; }
.kit-buy form .btn { width: 100%; }
.kit-buy .price-lg { font-size: 1.45rem; }

/* Price */
.price-lg { font-family: var(--semi); font-weight: 700; font-size: 1.6rem; font-variant-numeric: tabular-nums; line-height: 1.1; }

/* Parts table */
.catalog-wrap { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--white); }
.catalog { width: 100%; border-collapse: collapse; font-size: .96rem; }
.catalog th, .catalog td { text-align: left; vertical-align: middle; padding: .6rem .85rem; border-bottom: 1px solid var(--line); }
.catalog tbody tr:last-child > * { border-bottom: 0; }
.catalog thead th { font-size: .82rem; font-weight: 600; color: var(--gray); background: var(--white); border-bottom: 1px solid var(--line-2); }
.catalog .cat-row th { background: var(--panel); font-family: var(--semi); font-size: 1.05rem; font-weight: 700; padding-top: .55rem; padding-bottom: .55rem; }
.catalog .cat-row a { font-family: var(--sans); font-size: .9rem; font-weight: 600; margin-left: .8rem; }
.catalog .thumb { width: 108px; padding: .35rem .6rem; }
.catalog .thumb img, .catalog .thumb svg { display: block; width: 88px; height: 66px; object-fit: contain; background: var(--panel); border-radius: var(--r-sm); }
.catalog .c-part a { font-weight: 700; color: var(--ink); text-decoration: none; }
.catalog .c-part a:hover { color: var(--char); text-decoration: underline; }
.catalog .item-no { display: block; font-size: .8rem; color: var(--gray); font-weight: 400; }
.catalog .c-fits { color: var(--ink-2); }
.catalog .c-pack { color: var(--gray); white-space: nowrap; }
.catalog .c-price, .catalog thead .num { white-space: nowrap; text-align: right; }
.catalog .c-price b { font-family: var(--semi); font-size: 1.2rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.catalog .c-price small { display: block; font-size: .76rem; color: var(--gray); }
.catalog .c-add { width: 1%; white-space: nowrap; }
.catalog form { display: flex; gap: .35rem; justify-content: flex-end; align-items: center; }
.catalog td input { width: 3.2rem; min-height: 38px; text-align: center; padding: .2rem; }
.catalog .btn { min-height: 38px; padding: .3rem .85rem; font-size: .9rem; }
.catalog .na { font-size: .86rem; color: var(--gray); }
@media (max-width: 820px) {
  .catalog thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .catalog, .catalog tbody { display: block; }
  .catalog tbody tr { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; gap: .25rem .8rem; padding: .8rem; border-bottom: 1px solid var(--line); }
  .catalog tbody tr > * { border: 0; padding: 0; }
  .catalog tbody tr.cat-row { display: block; padding: 0; background: var(--panel); }
  .catalog tbody tr.cat-row th { display: block; padding: .6rem .8rem; }
  .catalog .thumb { grid-row: span 3; width: auto; }
  .catalog .thumb img, .catalog .thumb svg { width: 84px; height: 63px; }
  .catalog .c-part { grid-column: 2; }
  .catalog .c-price { grid-column: 3; grid-row: 1; text-align: right; }
  .catalog .c-fits { grid-column: 2 / 4; font-size: .92rem; }
  .catalog .c-pack { display: none; }
  .catalog .c-add { grid-column: 2 / 4; width: auto; }
  .catalog form { justify-content: flex-start; }
}

/* Insurer paperwork */
.two-col { display: grid; gap: 24px 56px; }
@media (min-width: 1000px) { .two-col { grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); } }
.recog { width: 100%; border-collapse: collapse; font-size: .95rem; background: var(--white); }
.recog th, .recog td { text-align: left; vertical-align: top; padding: .75rem .85rem .75rem 0; border-bottom: 1px solid var(--line); }
.recog thead th { font-size: .82rem; font-weight: 600; color: var(--gray); border-bottom: 1px solid var(--line-2); }
.recog tbody th { font-weight: 700; }
.recog .not-named { color: var(--gray); }
@media (max-width: 700px) {
  .recog thead { display: none; }
  .recog, .recog tbody { display: block; }
  .recog tr { display: grid; padding: .75rem 0; border-bottom: 1px solid var(--line); }
  .recog th, .recog td { border: 0; padding: .1rem 0; }
  .recog td::before { display: block; font-size: .82rem; color: var(--gray); font-weight: 600; margin-top: .3rem; }
  .recog td:nth-of-type(1)::before { content: 'California Safer from Wildfires'; }
  .recog td:nth-of-type(2)::before { content: 'IBHS Wildfire Prepared Home'; }
}
.notice { border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: var(--r-sm); padding: 1rem 1.2rem; background: var(--white); }
.notice .when { font-weight: 700; font-size: .9rem; color: var(--gray); margin-bottom: .2rem; }
.notice p:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------- engineering drawings */
.dw { display: block; width: 100%; height: auto; overflow: visible; }
.dw text { font-family: var(--sans); }
.dw .k { stroke: #2b3133; stroke-width: 1.5; fill: none; stroke-linejoin: round; }
.dw .heavy { stroke-width: 2.2; }
.dw .thin { stroke: #2b3133; stroke-width: .75; fill: none; }
.dw .hair { stroke: #8f9896; stroke-width: .6; fill: none; }
.dw .center { stroke: #8f9896; stroke-width: .6; fill: none; stroke-dasharray: 14 3 3 3; }
.mesh-line { stroke: #7d8786; stroke-width: .45; fill: none; }
.hatch-line { stroke: #a2aaa8; stroke-width: .6; }
.gravel { fill: #8f8a7c; }
.siding-line { stroke: #d7dcda; stroke-width: .8; }
.shingle-line { stroke: #8f9896; stroke-width: .6; fill: none; }
.dw .wall, .dw .wallface, .dw .gable, .dw .trim-face, .dw .sill, .dw .trim, .dw .fascia { fill: #fbfcfc; stroke: #2b3133; stroke-width: 1.2; }
.dw .roof { fill: #b7bebc; stroke: #2b3133; stroke-width: 1.3; }
.dw .roof-edge { fill: none; stroke: #2b3133; stroke-width: 1.8; }
.dw .gutter, .dw .downspout { fill: #d9dedc; stroke: #2b3133; stroke-width: 1; }
.dw .eave-vent, .dw .vent, .dw .screw { fill: #fff; stroke: #2b3133; stroke-width: 1.1; }
.dw .stem { fill: #dfe3e1; stroke: #2b3133; stroke-width: 1.2; }
.dw .door { fill: #cfd5d3; stroke: #2b3133; stroke-width: 1.2; }
.dw .glass { fill: #dde6ea; stroke: #2b3133; stroke-width: 1; }
.dw .garage-door { fill: #f1f3f2; stroke: #2b3133; stroke-width: 1.3; }
.dw .seal-gap { fill: #2b3133; }
.dw .picket { fill: #d3bc95; stroke: #2b3133; stroke-width: .9; }
.dw .shrub { fill: #a4b38c; stroke: #2b3133; stroke-width: 1; }
.dw .z0-band { fill: #ddd6c4; }
.dw .ground { stroke: #2b3133; stroke-width: 1.6; }
.dw .dim { stroke: #3d6f8e; stroke-width: .8; fill: none; }
.dw .dim.ext { stroke-width: .6; }
.dw .arrow { fill: #3d6f8e; }
.dw .dimtxt { fill: #234e69; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.dw .dimbg { fill: #fff; }
.dw .note { fill: #4b5452; font-size: 13.5px; font-weight: 500; }
.dw .note-strong { fill: #1f2324; font-size: 14.5px; font-weight: 700; }
.dw .lbl { fill: #1f2324; font-size: 13px; }
.dw .leader { stroke: #1f2324; stroke-width: 1.1; fill: none; }
.dw .leader-dot { fill: #1f2324; }
.dw .kn-ring { fill: var(--ember); stroke: none; }
.dw .kn-num { fill: #fff; font-family: var(--cond); font-size: 15px; font-weight: 700; }
.dw .wind-line { fill: none; stroke: #7b8482; stroke-width: 1.1; stroke-dasharray: 6 5; }
.dw .part { fill: #e9edec; stroke: #2b3133; stroke-width: 1.5; }
.dw .part-inner { fill: #cfd6d4; stroke: #2b3133; stroke-width: .9; }
.dw .cut { fill: none; stroke: #2b3133; stroke-width: 1; stroke-dasharray: 5 4; }
.dw .wallcut { fill: #e3e7e5; stroke: #2b3133; stroke-width: 1.2; }
.dw .duct { fill: #d3d9d7; stroke: #2b3133; stroke-width: 1.2; }
.dw .flap { stroke: #2b3133; stroke-width: 2.6; fill: none; }
.dw .gutter-section { fill: none; stroke: #2b3133; stroke-width: 2.4; stroke-linejoin: round; }
.dw .guard { stroke: #2b3133; stroke-width: 3.4; fill: none; }
.dw .roof-line { stroke: #2b3133; stroke-width: 2.2; fill: none; }
.dw .door-panel { fill: #e9edec; stroke: #2b3133; stroke-width: 1.2; }
.dw .door-panel.wood { fill: #d3bc95; }
.dw .retainer { fill: #c2c9c7; stroke: #2b3133; stroke-width: 1.2; }
.dw .slot { fill: #fff; stroke: #2b3133; stroke-width: 1.1; }
.dw .seal { fill: none; stroke: #2b3133; stroke-width: 3.2; stroke-linecap: round; }
.dw .stop { fill: #2b3133; }
.dw .hole { fill: #343b3d; }
.dw .ghost { fill: none; stroke: #7b8482; stroke-width: 1.1; stroke-dasharray: 6 5; }
.dw .tape { stroke: var(--ember); stroke-width: 7; fill: none; stroke-linecap: round; }
.dw .tape-end { fill: #1f2324; }
.dw .gap-line { stroke: #2b3133; stroke-width: 3; }
.dw .titlebar { fill: none; stroke: #c6cdca; stroke-width: .8; }
.dw .title-txt { fill: #59625f; font-size: 12px; font-weight: 500; }
.dw-glyph .part, .dw-glyph .garage-door, .dw-glyph .wallface { stroke-width: 1.8; }
.dw-sheet { background: #fff; }
.dw .title-strong { fill: #1f2324; font-size: 15px; font-weight: 700; }
.dw .view-lbl { fill: #59625f; font-size: 13px; font-weight: 600; }
.dw .detail-bg { fill: #f4f6f5; }
.dw .detail-ring { fill: none; stroke: #2b3133; stroke-width: 1.4; }
.dw .wire { stroke: #6f7977; stroke-width: 2.2; }
.dw .mesh-side { stroke: #6f7977; stroke-width: 2; stroke-dasharray: 2 3; fill: none; }
.dw .break { fill: none; stroke: #2b3133; stroke-width: 1.2; }
.dw .gapfill { fill: #fff; }
.dw .cap { fill: #e9edec; stroke: none; }
.dw .seal-solid { fill: #2f3436; stroke: #1f2324; stroke-width: 1; }
.dw .seal-flat { fill: #3a4042; stroke: #1f2324; stroke-width: 1; }
.dw .stop-profile { fill: none; stroke: #8c9593; stroke-width: 9; stroke-linejoin: miter; }
.dw .flap-silicone { fill: none; stroke: #59626a; stroke-width: 7; stroke-linecap: round; }
.dw .door-edge { stroke: #2b3133; stroke-width: 3; }

/* ---------------------------------------------------------------- status labels */
.tag { display: inline-flex; align-items: center; gap: .35rem; padding: .2rem .6rem; border-radius: 99px; font-size: .82rem; font-weight: 700; line-height: 1.35; white-space: nowrap; background: var(--panel-2); color: var(--ink); }
.tag-ready { background: var(--ok-wash); color: var(--ok); }
.tag-waiting { background: var(--ember-wash); color: var(--ember-ink); box-shadow: inset 0 0 0 1px var(--ember-line); }
.tag-review { background: var(--blue-wash); color: var(--blue); }
.tag-hold { background: #edecea; color: var(--brown); }
.tag-advice { background: var(--panel-2); color: var(--ink-2); }
.tag-ordered { background: var(--ink); color: #fff; }
.tag-installer { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.tag-concept { background: var(--panel-2); color: var(--ink-2); font-weight: 600; }
.tag::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .85; }
.tag-ordered::before, .tag-installer::before, .tag-concept::before { display: none; }

/* ---------------------------------------------------------------- product page */
.pdp { padding-top: 1rem; padding-bottom: clamp(40px, 5vw, 72px); }
.pdp-top { display: grid; gap: 24px 48px; }
@media (min-width: 1000px) { .pdp-top { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; } .buybox { position: sticky; top: 16px; } }
.crumbs { font-size: .9rem; color: var(--gray); margin: 0 0 .9rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.crumbs a { color: var(--gray); }
.crumbs span[aria-hidden] { color: var(--line-2); }
.gallery { display: grid; gap: 10px; }
.gallery-main { background: var(--panel); border-radius: var(--r-lg); overflow: hidden; }
.gallery-main figure { margin: 0; display: none; aspect-ratio: 4 / 3; }
.gallery-main figure.on { display: block; }
.gallery-main figure img { display: block; width: 100%; height: 100%; object-fit: contain; }
.gallery-main figure .dw { width: 100%; height: 100%; padding: clamp(8px, 1.5vw, 20px); background: var(--white); }
.gallery-main figure .dw-sheet { padding: 0; }
.gallery-main figcaption { position: absolute; }
.gallery-thumbs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.gallery-thumbs a { display: grid; grid-template-rows: 56px auto; width: 96px; border: 1.5px solid var(--line); border-radius: var(--r-sm); overflow: hidden; text-decoration: none; color: var(--ink-2); font-size: .76rem; font-weight: 600; text-align: center; background: var(--white); }
.gallery-thumbs a > span:first-child { background: var(--panel); display: grid; place-items: center; overflow: hidden; }
.gallery-thumbs img, .gallery-thumbs svg { width: 100%; height: 56px; object-fit: contain; }
.gallery-thumbs a > span:last-child { padding: .2rem .3rem .3rem; }
.gallery-thumbs a[aria-current], .gallery-thumbs a:hover { border-color: var(--char-2); color: var(--char); }
.buybox { border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(16px, 2.4vw, 28px); background: var(--white); }
.buybox h1 { margin-bottom: .35rem; }
.item-line { font-size: .9rem; color: var(--gray); margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .3rem 1rem; align-items: center; }
.buybox .short { color: var(--ink-2); }
.buy-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem .8rem; margin: 1.1rem 0 .3rem; }
.buy-price .price-lg { font-size: 2.2rem; }
.stock { display: flex; gap: .5rem; align-items: baseline; margin: .3rem 0 0; font-size: .95rem; }
.stock::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--char-2); flex: none; transform: translateY(-1px); }
.stock.out::before { background: var(--alert); }
.ship { font-size: .9rem; color: var(--gray); margin: .25rem 0 1rem; }
.buy-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .6rem; align-items: stretch; }
.stepper { display: inline-flex; align-items: stretch; border: 1.5px solid var(--line-2); border-radius: var(--r-sm); overflow: hidden; }
.stepper button { width: 40px; border: 0; background: var(--panel); font: inherit; font-size: 1.2rem; font-weight: 600; cursor: pointer; color: var(--ink); }
.stepper button:hover { background: var(--panel-2); }
.stepper input { width: 3.2rem !important; min-height: 46px; border: 0 !important; border-radius: 0 !important; text-align: center; font-weight: 700; padding: 0; }
.buy-alt { margin: .8rem 0 0; font-size: .95rem; display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.assure { list-style: none; margin: 1.2rem 0 0; padding: 1rem 0 0; border-top: 1px solid var(--line); display: grid; gap: .55rem; font-size: .92rem; color: var(--ink-2); }
.assure li { display: grid; grid-template-columns: 24px 1fr; gap: .5rem; }
.assure svg { width: 20px; height: 20px; color: var(--char-2); margin-top: 1px; }
.pdp-nav { position: sticky; top: 0; z-index: 5; display: flex; gap: .2rem; overflow-x: auto; margin: clamp(28px, 4vw, 48px) 0 0; border-bottom: 1px solid var(--line); background: var(--white); }
.pdp-nav a { flex: none; padding: .85rem .9rem; color: var(--ink-2); font-weight: 600; text-decoration: none; border-bottom: 3px solid transparent; }
.pdp-nav a:hover { color: var(--char); border-bottom-color: var(--line-2); }
.pdp-sections { display: grid; gap: 0 48px; }
@media (min-width: 1000px) { .pdp-sections { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.pdp-section { padding: 1.8rem 0 .4rem; scroll-margin-top: 56px; }
.pdp-section h2 { font-family: var(--semi); font-size: 1.4rem; margin-bottom: .7rem; }
.fit-callout { display: grid; gap: .2rem; padding: 1rem 1.1rem; border-radius: var(--r); background: var(--panel); color: var(--ink); border-left: 4px solid var(--ember); margin: 0 0 1rem; }
.fit-callout strong { font-size: 1.05rem; }
.spec { width: 100%; border-collapse: collapse; margin: 0 0 1rem; font-size: .96rem; }
.spec th, .spec td { text-align: left; vertical-align: top; padding: .6rem .8rem; border-bottom: 1px solid var(--line); }
.spec tr:nth-child(odd) > * { background: var(--panel); }
.spec th { color: var(--gray); font-weight: 500; width: 42%; }
.spec td { font-weight: 600; }
.docs { list-style: none; margin: 0 0 1rem; padding: 0; border-top: 1px solid var(--line); }
.docs li { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line); font-size: .96rem; }
.side-card { margin-top: 1.8rem; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--white); }
.side-card h2 { font-family: var(--semi); font-size: 1.2rem; padding: .9rem 1.1rem; border-bottom: 1px solid var(--line); background: var(--panel); }
.side-card figure { margin: 0; padding: 1rem; }
.side-card p { padding: 0 1.1rem; }
.fitcheck { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--white); }
.fitcheck-body { padding: 1rem 1.1rem 1.1rem; }
.fit-result { margin: 0 0 1rem; padding: .75rem .9rem; font-weight: 600; border-radius: var(--r-sm); }
.fit-yes { background: var(--ok-wash); border-left: 4px solid var(--ok); color: var(--ok); }
.fit-no { background: var(--alert-wash); border-left: 4px solid var(--alert); color: #7d1a12; }
.fit-unsure { background: var(--ember-wash); border-left: 4px solid var(--ember); color: var(--ember-ink); }
.ask-person { margin-top: 1rem; padding-top: .9rem; border-top: 1px solid var(--line); }
.ask-person summary { list-style: none; display: inline-block; }
.ask-person summary::-webkit-details-marker { display: none; }
.ask-person form { margin-top: .9rem; }
.pairs { margin-top: clamp(28px, 4vw, 48px); padding-top: clamp(24px, 3vw, 36px); border-top: 1px solid var(--line); }

/* ---------------------------------------------------------------- shop listing */
.shop-head { padding-top: 1rem; padding-bottom: 1.2rem; }
.shop-head .lede { color: var(--gray); font-size: 1.05rem; }
.shop-layout { display: grid; gap: 24px 36px; padding-bottom: clamp(40px, 5vw, 72px); }
@media (min-width: 960px) { .shop-layout { grid-template-columns: 250px minmax(0, 1fr); align-items: start; } }
.filters > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: .5rem; min-height: 44px; padding: .5rem .9rem; margin-bottom: .6rem; border: 1.5px solid var(--line-2); border-radius: var(--r-sm); font-weight: 700; }
.filters > summary::-webkit-details-marker { display: none; }
.filters > summary::after { content: ''; width: 8px; height: 8px; margin-left: auto; border: solid var(--ink-2); border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-2px); }
.filters[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
@media (min-width: 960px) { .filters > summary { display: none; } }
.facets { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
.facet { padding: .9rem 1rem; border-bottom: 1px solid var(--line); }
.facet:last-child { border-bottom: 0; }
.facet h2 { font-size: .95rem; margin-bottom: .45rem; }
.facet ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.facet a { display: flex; justify-content: space-between; gap: .6rem; padding: .3rem .45rem; margin: 0 -.45rem; border-radius: var(--r-sm); color: var(--ink-2); text-decoration: none; font-size: .94rem; }
.facet a:hover { background: var(--panel); color: var(--ink); }
.facet a[aria-current] { background: var(--ember-wash); color: var(--ember-ink); font-weight: 700; }
.facet a span { color: var(--gray); font-size: .85rem; font-variant-numeric: tabular-nums; }
.facet .clear { display: inline-block; margin-top: .4rem; font-size: .88rem; }
.results-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .6rem 1rem; padding-bottom: .9rem; margin-bottom: 1rem; border-bottom: 1px solid var(--line); }
.results-bar p { margin: 0; font-weight: 600; }
.sort-form { display: flex; gap: .5rem; align-items: center; }
.sort-form label { font-size: .9rem; color: var(--gray); }
.sort-form select { width: auto; min-height: 40px; padding: .3rem 2rem .3rem .6rem; }
.chips-active { display: flex; flex-wrap: wrap; gap: .4rem; margin: -.3rem 0 1rem; }
.chips-active a { display: inline-flex; gap: .4rem; align-items: center; padding: .25rem .65rem; border-radius: 99px; background: var(--panel-2); color: var(--ink); text-decoration: none; font-size: .86rem; font-weight: 600; }
.chips-active a::after { content: '×'; color: var(--gray); font-weight: 700; }
.grid-products { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.pcard { display: grid; grid-template-rows: auto 1fr; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; color: var(--ink); }
.pcard:hover { border-color: var(--char-2); color: var(--ink); }
.pcard:hover .pcard-name { color: var(--char); text-decoration: underline; }
.pcard-fig { aspect-ratio: 4 / 3; display: flex; background: var(--panel); }
.pcard-fig img, .pcard-fig svg { width: 100%; height: 100%; object-fit: contain; }
.pcard-fig svg { padding: 18px; }
.pcard-body { padding: .85rem .95rem 1rem; display: grid; gap: .25rem; align-content: start; }
.pcard-name { font-weight: 700; line-height: 1.25; }
.pcard-fit { font-size: .9rem; color: var(--gray); }
.pcard-price { margin-top: .35rem; display: flex; justify-content: space-between; gap: .5rem; align-items: baseline; }
.pcard-price > b { font-family: var(--semi); font-size: 1.3rem; font-weight: 700; }
.part-photo { display: block; width: 100%; height: 100%; object-fit: contain; }
.empty-results { padding: 2rem 1.2rem; border: 1px dashed var(--line-2); border-radius: var(--r); text-align: center; color: var(--gray); }

/* ---------------------------------------------------------------- plan */
.plan-wrap { padding-top: clamp(20px, 3vw, 32px); padding-bottom: clamp(48px, 6vw, 80px); }
.plan-sheet { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--white); }
.plan-head { display: grid; gap: 1rem 2.5rem; padding: 1.4rem 1.5rem; }
@media (min-width: 900px) { .plan-head { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: end; } }
.plan-head .h-xl { margin-top: .2rem; }
.plan-summary { font-size: 1.1rem; line-height: 1.45; margin: .6rem 0 0; max-width: 36em; color: var(--ink-2); }
.plan-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; }
.plan-stats div { padding: .65rem .85rem; background: var(--panel); border-radius: var(--r-sm); }
.plan-stats dt { font-size: .82rem; color: var(--gray); font-weight: 600; }
.plan-stats dd { margin: 0; font-family: var(--semi); font-size: 1.7rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.plan-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1.4rem; padding: .75rem 1.5rem; border-top: 1px solid var(--line); background: var(--panel); font-size: .94rem; }
.plan-meta p { margin: 0; }
.plan-links { display: flex; flex-wrap: wrap; gap: .3rem 1.3rem; }
.plan-links a { font-weight: 600; }
.plan-list { display: grid; gap: 16px; margin-top: 16px; }
.plan-foot { margin-top: 1.8rem; max-width: 40em; }
.pp { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; scroll-margin-top: 16px; }
.pp-head { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .8rem; padding: .8rem 1.2rem; border-bottom: 1px solid var(--line); }
.pp-head :is(h2, h3) { font-family: var(--semi); font-size: 1.32rem; font-weight: 700; margin-right: auto; }
.pp-thumb { display: grid; place-items: center; width: 56px; height: 42px; flex: none; background: var(--panel); border-radius: var(--r-sm); overflow: hidden; }
.pp-thumb img { width: 100%; height: 100%; object-fit: contain; }
.pp-thumb .dw-glyph { width: 36px; height: 36px; }
.pp-grid { display: grid; }
.pp-col { padding: 1rem 1.2rem 1.15rem; }
.pp-col + .pp-col { border-top: 1px solid var(--line); }
.pp-col :is(h3, h4) { font-size: .95rem; font-weight: 700; margin-bottom: .45rem; }
.pp-col :is(h3, h4) .fine { font-weight: 500; margin-left: .25rem; }
@media (min-width: 900px) {
  .pp-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, .9fr); }
  .pp-col + .pp-col { border-top: 0; border-left: 1px solid var(--line); }
}
.pp-next { background: var(--panel); }
.pp-item + .pp-item { margin-top: .7rem; padding-top: .7rem; border-top: 1px dashed var(--line-2); }
.pp-item-label { font-weight: 700; margin: 0 0 .3rem; font-size: .96rem; }
.facts { margin: 0; display: grid; gap: .2rem; font-size: .95rem; }
.facts div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .8rem; }
.facts dt { color: var(--gray); }
.facts dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.pp-photos-note { font-size: .88rem; color: var(--gray); margin: .5rem 0 0; }
.pp-note { border-left: 3px solid var(--char-2); padding-left: .7rem; margin: .6rem 0 0; }
.pp-total { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: .4rem; margin-bottom: .7rem; border-bottom: 1px solid var(--line-2); }
.pp-total span { color: var(--gray); font-size: .92rem; }
.pp-total strong { font-family: var(--semi); font-size: 1.6rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.pp-next form + a, .pp-next .btn + a, .pp-next .btn + .link-static, .pp-next form + .link-static { display: inline-block; margin-top: .75rem; }
.pp-next p { margin-bottom: .5rem; }
.pp-edit { margin: -8px 0 0; text-align: right; font-size: .88rem; }
.pp-edit a { color: var(--gray); }
.advice { margin: 0; padding-left: 1.1rem; }
.advice li { margin-bottom: .35rem; }
.parts { width: 100%; border-collapse: collapse; font-size: .95rem; }
.parts th { text-align: left; font-size: .8rem; font-weight: 600; color: var(--gray); padding: 0 .5rem .3rem 0; border-bottom: 1px solid var(--line-2); }
.parts td { padding: .55rem .5rem .55rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.parts .qty { font-family: var(--semi); font-size: 1.15rem; font-weight: 700; font-variant-numeric: tabular-nums; width: 2.4rem; }
.parts .num { white-space: nowrap; padding-right: 0; font-weight: 600; }
.parts a { font-weight: 600; }
.parts .basis { display: block; font-size: .84rem; color: var(--gray); margin-top: .1rem; line-height: 1.35; }
.parts .warn { color: var(--alert); }
.parts tfoot th, .parts tfoot td { border-bottom: 0; padding-top: .5rem; font-weight: 700; font-size: .95rem; color: var(--ink); }
.parts-muted .qty, .parts-muted a { color: var(--gray); }
.ask { border-top: 1px solid var(--line); background: var(--ember-wash); }
.ask-form { padding: 1.15rem 1.2rem; }
.ask-form + .ask-form { border-top: 1px solid var(--ember-line); }
.ask-item { font-weight: 700; margin-bottom: .5rem; }
.ask-from { font-size: .88rem; color: var(--gray); margin-bottom: .15rem; }
.ask-msg { font-weight: 600; }
.ask-prompt { display: grid; gap: 1rem 2rem; margin-bottom: 1rem; }
@media (min-width: 820px) { .ask-prompt { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }
.ask-text .ask-title { font-family: var(--semi); font-size: 1.18rem; font-weight: 700; margin-bottom: .25rem; }
.ask-fig { margin: 0; background: var(--white); border: 1px solid var(--ember-line); border-radius: var(--r); padding: .6rem; }
.ask-sample { padding: 1.15rem 1.2rem; }
.ask-sample .ask-prompt { margin-bottom: 0; }
.sample-inputs { display: flex; gap: .7rem; flex-wrap: wrap; }
.sample-input { display: inline-flex; align-items: baseline; gap: .4rem; border: 1.5px solid var(--line-2); border-radius: var(--r-sm); background: var(--white); padding: .4rem .7rem; font-variant-numeric: tabular-nums; }
.sample-input span { font-size: .82rem; color: var(--gray); }
.sample-input b { font-size: 1.1rem; }

/* ---------------------------------------------------------------- forms */
.field { display: grid; gap: .3rem; margin: 0 0 1.05rem; border: 0; padding: 0; min-width: 0; }
.field > label, .field legend { font-weight: 600; font-size: .96rem; padding: 0; }
.field-choice legend { margin-bottom: .45rem; }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=date], input[type=number], input[type=search], input:not([type]), select, textarea {
  font: inherit; color: var(--ink); background: var(--white);
  border: 1.5px solid var(--line-2); border-radius: var(--r-sm);
  min-height: 46px; padding: .55rem .75rem; width: 100%;
}
input:hover, select:hover, textarea:hover { border-color: var(--gray); }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--ember-dk); outline-offset: 0; border-color: var(--ember-dk); box-shadow: 0 0 0 4px var(--ember-wash); }
.input-unit { display: flex; align-items: stretch; max-width: 15rem; }
.input-unit input { font-variant-numeric: tabular-nums; font-size: 1.08rem; font-weight: 600; border-radius: var(--r-sm) 0 0 var(--r-sm); }
.input-unit.no-unit input { border-radius: var(--r-sm); }
.input-unit .unit { display: grid; place-items: center; padding: 0 .85rem; border: 1.5px solid var(--line-2); border-left: 0; border-radius: 0 var(--r-sm) var(--r-sm) 0; background: var(--panel); font-size: .92rem; font-weight: 600; color: var(--ink-2); }
.hint { font-size: .87rem; color: var(--gray); margin: 0; }
.err { font-size: .92rem; color: var(--alert); font-weight: 600; margin: 0; }
.has-err input { border-color: var(--alert); }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .45rem .9rem; border: 1.5px solid var(--line-2); border-radius: var(--r-sm); background: var(--white); font-size: .97rem; font-weight: 500; }
.chip span::before { content: ''; width: 16px; height: 16px; border: 1.5px solid var(--gray); border-radius: 50%; background: var(--white); flex: none; }
.chip input:checked + span { border-color: var(--ember); background: var(--ember-wash); color: var(--ember-ink); font-weight: 600; }
.chip input:checked + span::before { border-color: var(--char-2); background: var(--char-2); box-shadow: inset 0 0 0 3px var(--white); }
.chip input[type=checkbox] + span::before { border-radius: 3px; }
.chip input:focus-visible + span { outline: 3px solid var(--char-2); outline-offset: 2px; }
.chip:hover span { border-color: var(--gray); }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .97rem; }
.check input { width: 22px; height: 22px; margin: .1rem 0 0; accent-color: var(--char-2); flex: none; }
.two-up { display: grid; align-items: start; gap: 0 1rem; }
@media (min-width: 520px) { .two-up { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------------------------------------------------------------- assessment */
.wizard { padding-top: clamp(18px, 3vw, 30px); padding-bottom: clamp(48px, 6vw, 80px); }
.progress { margin: 0 0 1rem; }
.progress-bar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; margin-bottom: .5rem; }
.progress-bar span { height: 6px; border-radius: 3px; background: var(--panel-2); }
.progress-bar span.done { background: var(--char-2); }
.progress-bar span.now { background: var(--ember); }
.progress p { margin: 0; font-size: .94rem; font-weight: 600; color: var(--ink-2); }
.step-sheet { padding: clamp(18px, 3vw, 36px); border-radius: var(--r-lg); }
.step-sheet .h-xl { margin-bottom: .5rem; }
.step-sheet .lede { margin-bottom: 1.4rem; color: var(--gray); font-size: 1.08rem; }
.step-actions { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; align-items: center; margin-top: 1.4rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.step-actions .save-note { font-size: .94rem; margin: 0 0 0 auto; }
.zip-input { max-width: 11rem; font-size: 1.45rem !important; font-weight: 700; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.tiles { display: grid; gap: 10px; margin: 0; padding: 0; border: 0; }
@media (min-width: 700px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tile { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: .15rem .9rem; padding: .9rem 2.9rem .9rem .9rem; border: 1.5px solid var(--line-2); border-radius: var(--r); background: var(--white); cursor: pointer; }
.tile:hover { border-color: var(--gray); }
.tile input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.tile .glyph { grid-row: span 3; background: var(--panel); border-radius: var(--r-sm); display: grid; place-items: center; overflow: hidden; }
.tile .glyph svg { width: 54px; height: 54px; }
.tile .glyph img { width: 64px; height: 64px; object-fit: contain; }
.tile .t-name { font-weight: 700; font-size: 1.08rem; }
.tile .t-short { font-size: .93rem; color: var(--gray); }
.tile .t-check { position: absolute; top: .9rem; right: .9rem; width: 24px; height: 24px; border: 1.5px solid var(--gray); border-radius: 4px; background: var(--white); display: grid; place-items: center; }
.tile input:checked ~ .t-check { background: var(--char-2); border-color: var(--char-2); }
.tile input:checked ~ .t-check::after { content: ''; width: 11px; height: 6px; border: solid #fff; border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg) translate(1px, -1px); }
.tile:has(input:checked) { border-color: var(--ember); background: var(--ember-wash); }
.tile:has(input:focus-visible) { outline: 3px solid var(--char-2); outline-offset: 2px; }
.item-block { border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); padding: 1rem 1.1rem .2rem; margin-bottom: 12px; }
.item-head { display: flex; align-items: center; gap: .8rem; margin-bottom: .8rem; }
.item-head h2 { margin-right: auto; }
.item-grid { display: grid; gap: 0 1.5rem; }
@media (min-width: 860px) { .item-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .item-grid .field-choice { grid-column: 1 / -1; } }
.proj-why { display: grid; gap: 1rem 2rem; margin-bottom: 1.3rem; }
@media (min-width: 860px) { .proj-why { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; } }
.proj-why figure { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: .6rem; }
.proj-label { margin-bottom: .4rem; }
.still { margin-top: .5rem; }
.photo-list { display: flex; flex-wrap: wrap; gap: 10px; margin: .5rem 0 1rem; padding: 0; list-style: none; }
.photo-list li { position: relative; }
.photo-list img { width: 120px; height: 90px; object-fit: cover; border: 1px solid var(--line-2); border-radius: var(--r-sm); display: block; background: var(--panel); }
.photo-list form { position: absolute; right: 4px; top: 4px; }
.photo-list button { background: var(--ink); color: #fff; border: 0; border-radius: 3px; font-size: .76rem; padding: .2rem .45rem; cursor: pointer; }
.photo-pick { position: relative; display: block; }
.photo-pick input { position: absolute; top: 6px; left: 6px; width: 20px; height: 20px; accent-color: var(--char-2); }
.upload-row { display: grid; gap: .5rem; margin-bottom: 1.4rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--line); }
input[type=file] { font: inherit; font-size: .95rem; max-width: 100%; }
input[type=file]::file-selector-button { font: inherit; font-weight: 600; border: 1.5px solid var(--line-2); border-radius: var(--r-sm); background: var(--white); padding: .5rem .9rem; margin-right: .8rem; cursor: pointer; }
.review-list { margin: 0; padding: 0; list-style: none; }
.review-list > li { border-top: 1px solid var(--line); padding: .9rem 0; }
.review-list > li:first-child { border-top: 0; padding-top: 0; }
.review-list h3 { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; font-size: 1.12rem; margin-bottom: .45rem; }
.review-list .facts { max-width: 40rem; }

/* ---------------------------------------------------------------- cart, orders, content */
.cart { display: grid; gap: 24px 36px; padding-top: clamp(16px, 2vw, 24px); padding-bottom: clamp(48px, 6vw, 80px); }
@media (min-width: 980px) { .cart { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; } .summary { position: sticky; top: 16px; } }
.cart-lines { width: 100%; border-collapse: collapse; }
.cart-lines th { text-align: left; font-size: .82rem; font-weight: 600; color: var(--gray); padding: 0 .6rem .4rem 0; border-bottom: 1px solid var(--line-2); }
.cart-lines td { padding: .9rem .6rem .9rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.cart-lines .c-thumb { width: 96px; }
.cart-lines .c-thumb img, .cart-lines .c-thumb svg { display: block; width: 84px; height: 63px; object-fit: contain; background: var(--panel); border-radius: var(--r-sm); }
.cart-lines td a { font-weight: 700; color: var(--ink); text-decoration: none; }
.cart-lines td a:hover { color: var(--char); text-decoration: underline; }
.cart-lines .from { display: block; font-size: .86rem; color: var(--gray); margin-top: .15rem; }
.cart-lines .each { display: block; font-size: .86rem; color: var(--gray); }
.cart-lines form { display: inline-flex; gap: .5rem; align-items: center; margin: .5rem .7rem 0 0; }
.cart-lines td input { width: 4rem; min-height: 38px; padding: .3rem .4rem; text-align: center; }
.cart-lines .num { font-weight: 700; font-variant-numeric: tabular-nums; }
.summary { padding: 1.2rem 1.3rem 1.4rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); }
.summary h2 { margin-bottom: .8rem; }
.summary dl { margin: 0 0 1rem; display: grid; gap: .45rem; }
.summary dl div { display: flex; justify-content: space-between; gap: 1rem; }
.summary dt { color: var(--gray); }
.summary dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 600; }
.summary .total { border-top: 1px solid var(--line-2); padding-top: .6rem; margin-top: .25rem; }
.summary .total dt, .summary .total dd { color: var(--ink); font-weight: 700; font-size: 1.2rem; }
.summary .btn { width: 100%; }
.secure { display: flex; gap: .45rem; align-items: center; justify-content: center; margin-top: .7rem; font-size: .86rem; color: var(--gray); }
.secure svg { width: 16px; height: 16px; }
.empty { padding-top: 1.5rem; padding-bottom: 3rem; }
.page-head { padding-top: clamp(20px, 3vw, 40px); padding-bottom: clamp(12px, 2vw, 22px); }
.page-head .lede { margin-top: .7rem; color: var(--gray); }
.content-grid { display: grid; gap: 28px 56px; padding-bottom: clamp(48px, 6vw, 80px); }
@media (min-width: 980px) { .content-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); } }
.aside-sheet { padding: 1.3rem; align-self: start; background: var(--panel); border: 0; border-radius: var(--r-lg); }
.aside-sheet .h-md { margin-bottom: .5rem; }
.prose { max-width: 42em; }
.prose h2 { font-family: var(--semi); font-size: 1.5rem; margin: 2rem 0 .5rem; line-height: 1.15; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.12rem; margin: 1.4rem 0 .35rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .4rem; }
.section, .section-tight { padding-top: clamp(28px, 4vw, 48px); padding-bottom: clamp(28px, 4vw, 48px); }
.error-page { padding-top: clamp(40px, 6vw, 90px); padding-bottom: clamp(40px, 6vw, 90px); }
.error-page .code { font-weight: 700; margin-bottom: .4rem; color: var(--gray); }
.content-single { padding-bottom: clamp(48px, 6vw, 80px); }
.shop-layout-wide { padding-bottom: clamp(40px, 5vw, 72px); }
.delivery-result { margin-top: 1rem; padding: 1rem 1.1rem; border-radius: var(--r); }
.delivery-result.yes { background: var(--ok-wash); color: var(--ok); }
.delivery-result.no { background: var(--panel); color: var(--ink-2); }
.delivery-result p:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------- record (print) */
.record { padding: clamp(18px, 3vw, 36px); margin: clamp(18px, 3vw, 30px) 0 clamp(48px, 6vw, 80px); border: 1px solid var(--line); border-radius: var(--r-lg); }
.record-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: flex-start; margin-bottom: 1rem; }
.record-section { border-top: 1px solid var(--line-2); padding: 1.1rem 0; }
.record-section h2, .record-section h3 { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; font-family: var(--semi); font-size: 1.3rem; margin-bottom: .5rem; }
.record-cols :is(h3, h4) { display: block; font-family: var(--sans); font-size: 1rem; margin-bottom: .4rem; }
.record-cols { display: grid; gap: 1rem 2rem; }
@media (min-width: 860px) { .record-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.record .recog-line { font-size: .95rem; margin: .2rem 0; }
.photo-pair { display: flex; gap: 8px; flex-wrap: wrap; }
.photo-pair figure { margin: 0; }
.photo-pair img { width: 160px; height: 120px; object-fit: cover; border: 1px solid var(--line-2); border-radius: var(--r-sm); display: block; }
.photo-pair figcaption { font-size: .82rem; color: var(--gray); }
.disclaimer { font-size: .88rem; color: var(--gray); border-top: 1px solid var(--line); padding-top: .8rem; margin-top: .8rem; }
.brief-project { padding: 1.1rem; margin-bottom: 12px; }
@media print {
  body { font-size: 11pt; }
  .utility, .masthead, .footer, .no-print, .skip { display: none !important; }
  .record { border: 0; margin: 0; padding: 0; }
  a { text-decoration: none; color: inherit; }
}

/* ---------------------------------------------------------------- footer */
.footer { background: var(--char); color: #ece7df; padding-top: clamp(32px, 4vw, 52px); padding-bottom: clamp(24px, 3vw, 36px); font-size: .95rem; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; color: #fff; }
.footer-grid { display: grid; gap: 1.6rem 2.5rem; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.4fr); } }
.footer-col { display: grid; gap: .45rem; align-content: start; }
.footer-col h2 { font-size: 1rem; margin-bottom: .2rem; color: #fff; }
.footer-fine p { color: #d6cfc4; font-size: .92rem; margin: 0 0 .5rem; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; margin-top: 1.8rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .18); font-size: .88rem; color: #bdb5a9; }
.footer-base p { margin: 0; }

/* ---------------------------------------------------------------- programs by place */
.area-head { background: var(--panel); border-bottom: 1px solid var(--line); }
.area-head-grid { display: grid; gap: 1.2rem 48px; padding-top: clamp(20px, 3vw, 40px); padding-bottom: clamp(22px, 3vw, 36px); }
@media (min-width: 960px) { .area-head-grid { grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); align-items: start; } }
.area-head h1 { margin-bottom: .6rem; }
.area-head .lede { color: var(--ink-2); margin-bottom: 1.1rem; }
.area-lookup { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.1rem 1.2rem; display: grid; gap: .9rem; align-content: start; }
.area-lookup .zipform { margin: 0; }
.area-lookup .btn { justify-self: start; }
.area-lookup form p { margin: .4rem 0 0; }
.area-mine { display: flex; gap: .45rem; align-items: center; margin: 0; font-weight: 700; color: var(--char); }
.area-mine svg { width: 20px; height: 20px; }
.area-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; max-width: 720px; }
@media (min-width: 640px) { .area-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.area-stats div { padding: .6rem .8rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm); }
.area-stats dt { font-size: .8rem; color: var(--gray); font-weight: 600; line-height: 1.25; }
.area-stats dd { margin: .1rem 0 0; font-family: var(--semi); font-size: 1.6rem; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.area-stats dd a { color: var(--ink); text-decoration: none; }
.area-stats dd a:hover { color: var(--char); text-decoration: underline; }
.county-pick { display: grid; gap: .3rem; }
.county-pick label { font-weight: 600; font-size: .96rem; }
.county-pick-row { display: flex; gap: .5rem; }
.county-pick-row select { flex: 1; min-width: 0; }
.area-layout { display: grid; gap: 8px 48px; padding-bottom: clamp(40px, 5vw, 72px); }
@media (min-width: 1000px) { .area-layout { grid-template-columns: minmax(0, 1fr) 340px; } }
.area-side .side-card:first-child { margin-top: clamp(24px, 3vw, 40px); }
.area-side .side-card .btn { margin: 0 1.1rem 1.1rem; }
.prog-group { padding-top: clamp(24px, 3vw, 40px); scroll-margin-top: 12px; }
.prog-group-head { margin-bottom: 1rem; }
.prog-group-head p { margin: .3rem 0 0; color: var(--gray); max-width: 44em; }
.prog-list { display: grid; gap: 12px; }
.prog { border: 1px solid var(--line); border-radius: var(--r); padding: 1rem 1.2rem 1.05rem; background: var(--white); scroll-margin-top: 12px; }
.prog:target { border-color: var(--char-2); box-shadow: inset 4px 0 0 var(--char-2); }
.prog-top { display: flex; flex-wrap: wrap; gap: .4rem .7rem; align-items: center; margin: 0 0 .35rem; font-size: .86rem; }
.prog-kind { font-weight: 700; color: var(--char); }
.prog-status { display: inline-flex; padding: .1rem .55rem; border-radius: 99px; background: var(--panel-2); color: var(--ink-2); font-weight: 600; font-size: .8rem; }
.prog-status.st-open, .prog-status.st-in_effect { background: var(--ok-wash); color: var(--ok); }
.prog-status.st-pending, .prog-status.st-seasonal, .prog-status.st-waitlist { background: var(--blue-wash); color: var(--blue); }
.prog-status.st-closed, .prog-status.st-passed { background: #edecea; color: var(--brown); }
.prog-title { font-family: var(--semi); font-size: 1.28rem; font-weight: 700; line-height: 1.2; }
.prog-where { margin: .15rem 0 .55rem; font-size: .92rem; color: var(--gray); }
.prog-sum { margin-bottom: .55rem; max-width: 52em; }
.prog-benefit { font-weight: 600; padding-left: .75rem; border-left: 3px solid var(--char-2); max-width: 52em; }
.prog-first, .prog-first-sm { display: inline-block; background: var(--ember-wash); color: var(--ember-ink); box-shadow: inset 0 0 0 1px var(--ember-line); border-radius: var(--r-sm); font-weight: 700; }
.prog-first { padding: .4rem .7rem; margin: 0 0 .7rem; font-size: .94rem; }
.prog-first-sm { padding: .05rem .45rem; font-size: .8rem; margin-top: .2rem; justify-self: start; }
.prog-facts { margin: .2rem 0 .7rem; display: grid; gap: .3rem; font-size: .94rem; border-top: 1px solid var(--line); padding-top: .6rem; }
.prog-facts div { display: grid; gap: 0 1rem; }
@media (min-width: 640px) { .prog-facts div { grid-template-columns: 8.5rem minmax(0, 1fr); } }
.prog-facts dt { color: var(--gray); font-weight: 600; }
.prog-facts dd { margin: 0; }
.prog-foot { display: flex; flex-wrap: wrap; gap: .3rem 1rem; align-items: baseline; margin: 0; font-size: .92rem; }
.prog-foot a { font-weight: 600; }
.checked-note { margin-top: 1.6rem; max-width: 44em; }
.state-tier { padding-top: clamp(16px, 2vw, 28px); }
.state-tier h2 { margin-bottom: .8rem; }
.state-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.state-grid a { display: grid; gap: .15rem; height: 100%; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--ink); background: var(--white); }
.state-grid a:hover { border-color: var(--char-2); }
.state-grid a:hover strong { color: var(--char); text-decoration: underline; }
.state-grid strong { font-family: var(--semi); font-size: 1.15rem; }
.state-links { list-style: none; margin: .6rem 0 0; padding: 0; columns: 2 10rem; column-gap: 2rem; }
.state-links li { padding: .2rem 0; break-inside: avoid; }
.local-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.local-list li { display: grid; gap: .1rem 1.4rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 640px) { .local-list li { grid-template-columns: 13rem minmax(0, 1fr); } }
.local-list span { color: var(--ink-2); font-size: .95rem; }
.agency-list { list-style: none; margin: .6rem 0 0; padding: 0; display: grid; gap: .5rem; }
.agency-list li { display: grid; }
.counts-list, .doc-list, .prog-lines { list-style: none; margin: 0; padding: .4rem 1.1rem .9rem; display: grid; gap: 0; }
.counts-list li, .prog-lines li { display: grid; gap: .1rem; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.counts-list li:last-child, .prog-lines li:last-child { border-bottom: 0; }
.counts-list a { font-weight: 700; }
.counts-for { font-size: .9rem; color: var(--ink-2); }
.doc-list li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: .6rem; padding: .5rem 0; }
.doc-list svg { width: 22px; height: 22px; color: var(--char-2); margin-top: 1px; }
.doc-list strong { display: block; font-weight: 600; }
.prog-line .prog-kind { font-size: .82rem; }
.prog-line a { font-weight: 700; }
.prog-line .tag { justify-self: start; white-space: normal; margin: .15rem 0; }
.pcard-counts { display: flex; gap: .4rem; align-items: baseline; font-size: .86rem; font-weight: 600; color: var(--ok); }
.pcard-counts::before { content: ''; flex: none; width: 9px; height: 5px; border: solid currentColor; border-width: 0 0 2px 2px; transform: rotate(-45deg) translateY(-2px); }
.area-box h2 { font-size: 1.1rem; }
.inline-zip { display: flex; gap: .5rem; padding: 0 1.1rem 1.1rem; }
.inline-zip input { width: 9rem; }
.prog-filter-note { margin: -.4rem 0 1rem; }
.facet-programs .fine a { font-weight: 600; }
.facet h2 .fine { font-weight: 500; }
.plan-programs { margin-top: 16px; padding: 1rem 1.3rem 1.1rem; }
.plan-programs-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1.4rem; align-items: baseline; margin-bottom: .5rem; }
.plan-programs .prog-first { margin-top: .2rem; }
.plan-prog-lines { padding: 0; }
.paperwork-grid { padding-top: .5rem; }
.paper-list { list-style: none; margin: 0 0 1rem; padding: 0; border-top: 1px solid var(--line); }
.paper-row { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: .8rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.paper-row.muted { opacity: .72; }
.paper-icon svg { width: 26px; height: 26px; color: var(--char-2); margin-top: 2px; }
.paper-title { display: flex; flex-wrap: wrap; gap: .3rem .7rem; align-items: center; margin: 0 0 .2rem; }
.paper-title a { font-family: var(--semi); font-size: 1.2rem; font-weight: 700; }
.paper-body .fine { margin: 0; }
.paper-needs { margin: .35rem 0 0; font-size: .92rem; color: var(--ember-ink); }
.doc-program { border: 1px solid var(--line); border-left: 4px solid var(--char-2); border-radius: var(--r-sm); padding: .7rem 1rem; margin-bottom: 1rem; }
.doc-program p { margin: 0; }
.doc-program .fine { word-break: break-all; }
.doc-fill { display: flex; flex-wrap: wrap; gap: .3rem 1rem; align-items: flex-end; padding: .9rem 1rem .2rem; margin-bottom: 1rem; background: var(--panel); border-radius: var(--r); }
.doc-fill .field { margin-bottom: .8rem; }
.doc-fill .btn { margin-bottom: .8rem; }
.letter { max-width: 44em; padding: .5rem 0 1rem; }
.letter p { margin-bottom: 1rem; }
.letter-list { margin: 0 0 1rem; padding-left: 1.3rem; display: grid; gap: .5rem; }
.letter-list .fine { display: block; }
.blank-line { display: inline-block; min-width: 16rem; border-bottom: 1px solid var(--ink-2); height: 1.1em; vertical-align: baseline; }
.blank-line.short { min-width: 7rem; }
.doc-table { width: 100%; margin-bottom: .8rem; }
.doc-table th, .doc-table td { text-align: left; vertical-align: top; }
.doc-table .num { text-align: right; white-space: nowrap; }
.doc-table tr.blank td { height: 2.1rem; }
.doc-fields th { width: 12rem; }
.doc-project { margin-bottom: 1.2rem; }
.doc-project h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.doc-total { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-top: 1px solid var(--line); margin: 0; }
.checklist { list-style: none; margin: 0 0 .8rem; padding: 0; display: grid; gap: .45rem; }
.checklist li { display: flex; gap: .6rem; align-items: baseline; flex-wrap: wrap; }
.box { display: inline-grid; place-items: center; width: 1.05rem; height: 1.05rem; border: 1.5px solid var(--ink-2); border-radius: 2px; font-size: .8rem; font-weight: 700; flex: none; vertical-align: -2px; }
.checklist li.have .box { background: var(--ok-wash); border-color: var(--ok); color: var(--ok); }
.doc-table td.st-done { color: var(--ok); font-weight: 700; }
.doc-table td.st-absent, .doc-table td.st-unknown { color: var(--gray); }
.cert-table th[scope=row] { white-space: nowrap; }
@media print {
  .doc-program { border-left-width: 2px; }
  .record-section { break-inside: avoid-page; }
  .doc-table tr { break-inside: avoid; }
}
.prog-more { margin: 0 0 .7rem; }
.prog-more > summary { cursor: pointer; font-weight: 600; color: var(--char-2); font-size: .94rem; display: inline-flex; gap: .4rem; align-items: center; list-style: none; }
.prog-more > summary::-webkit-details-marker { display: none; }
.prog-more > summary::after { content: ''; width: 7px; height: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-2px); }
.prog-more[open] > summary::after { transform: rotate(-135deg) translateY(-1px); }
.prog-more .prog-facts { margin-top: .5rem; }
@media print { .prog-more > summary { display: none; } .prog-more:not([open]) > .prog-facts { display: grid; } }
.paper-prog { margin: 0 0 .15rem; font-weight: 600; font-size: .95rem; }
@media print {
  .doc-insurer_review_request .record-top, .doc-insurer_review_request .doc-program { display: none; }
}
.doc-table { border-collapse: collapse; font-size: .94rem; }
.doc-table th, .doc-table td { padding: .55rem .7rem .55rem 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.doc-table thead th { font-size: .82rem; font-weight: 600; color: var(--gray); border-bottom: 1px solid var(--line-2); }
.doc-table tbody th { font-weight: 700; }
.doc-fields th { color: var(--gray); font-weight: 600; }
.cert-table th[scope=row] { width: 15%; }
.cert-table td:nth-child(2) { width: 38%; }
.cert-table td:nth-child(3) { width: 20%; }
.footer-legal { display: flex; gap: 1.2rem; }
.legal h2 { margin-top: 1.6rem; }
.legal-draft { margin-top: 1rem; border-left-color: var(--brown); }
mark.decide { background: var(--ember-wash); color: var(--ember-ink); box-shadow: inset 0 0 0 1px var(--ember-line); border-radius: 2px; padding: 0 .25rem; }
.seller-line { margin-top: .6rem; }
.doc-fill-note { flex-basis: 100%; margin: -.3rem 0 .8rem; }

#by-size + .shop-layout { margin-top: clamp(24px, 3vw, 40px); }
.pp-item-label .opn, .ask-item .opn { width: 24px; height: 24px; font-size: .88rem; margin-right: .45rem; vertical-align: 1px; }
@media (max-width: 520px) { .timeline li { grid-template-columns: 1fr; } .timeline time { grid-row: auto; font-size: .9rem; } }
.kit-bar { display: grid; gap: .8rem 1.5rem; align-items: center; padding: 1rem clamp(18px, 2.4vw, 24px); background: var(--ember-wash); border-top: 1px solid var(--ember-line); border-bottom: 1px solid var(--ember-line); }
@media (min-width: 820px) { .kit-bar { grid-template-columns: minmax(0, 1fr) auto; } }
.kit-bar p { margin: 0; }
.kit-bar-sum { margin-left: .4rem; padding-left: .55rem; border-left: 1px solid rgba(255, 255, 255, .5); }
/* Whole house */
.start-form .field-chips, .start-form fieldset { margin-bottom: .9rem; }
.start-form .zipform { margin-bottom: 0; }
.cov-rows { list-style: none; margin: 0 0 .7rem; padding: 0; display: grid; gap: .2rem; }
.cov-rows li { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); padding: .25rem 0; }
.fp-house { width: 160px; height: 100px; background: var(--paper); }
.fp-house img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 45%; }
@media (min-width: 820px) { .feature-project { grid-template-columns: 160px minmax(0, 1fr) auto; } }
.start-form + .fine { margin-top: .8rem; }

/* ------------------------------------------------------------ location chip */
.loc-chip { display: inline-flex; align-items: center; gap: .45rem; }
.loc-chip svg { width: 15px; height: 15px; color: var(--ember); flex: none; }
.utility .loc-chip a { font-weight: 600; }
.utility .loc-change { color: var(--gray); font-weight: 500; text-decoration: underline; text-decoration-color: var(--line-2); }
.utility .loc-none .fine { color: var(--gray); font-size: .8rem; }
@media (max-width: 560px) { .utility .loc-none .fine { display: none; } }

/* ------------------------------------------------------------ house key */
.house-key { list-style: none; margin: .6rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; }
.house-key li { display: inline-flex; align-items: center; gap: .4rem; font-size: .92rem; font-weight: 600; color: var(--ink-2); }
.house-key .opn { min-width: 22px; height: 22px; font-size: .85rem; padding: 0 4px; }
.house figcaption { display: block; }

/* ------------------------------------------------------------ project chooser */
.chooser-band { background: var(--white); border-bottom: 1px solid var(--line); }
.chooser-band .h-md { margin: 0 0 .9rem; }
.chooser { margin: 0; }
.ch-set { border: 0; margin: 0; padding: 0; min-width: 0; }
.ch-legend { font-family: var(--semi); font-weight: 700; font-size: 1.25rem; margin-bottom: .8rem; padding: 0; }
.ch-tiles { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); }
.chooser-compact .ch-tiles { grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr)); }
.ch-tile { position: relative; display: block; cursor: pointer; }
.ch-tile input { position: absolute; top: 14px; right: 14px; width: 20px; height: 20px; margin: 0; accent-color: var(--ember); }
.ch-body { display: grid; gap: .25rem; align-content: start; height: 100%; padding: .9rem 2.6rem .9rem .9rem; background: var(--paper); border: 1.5px solid var(--line-2); border-radius: var(--r); }
.ch-tile:hover .ch-body { border-color: var(--char-2); }
.ch-tile input:checked + .ch-body { background: var(--white); border-color: var(--ember); box-shadow: inset 0 0 0 1px var(--ember); }
.ch-tile input:focus-visible + .ch-body { outline: 2px solid var(--ember-dk); outline-offset: 2px; }
.ch-no { display: inline-grid; place-items: center; justify-self: start; min-width: 28px; height: 28px; padding: 0 7px; border-radius: 14px; background: var(--ember); color: #fff; font-family: var(--cond); font-weight: 700; font-size: 1rem; line-height: 1; }
.ch-no-all { background: var(--char); }
.ch-name { font-weight: 700; line-height: 1.25; }
.ch-short { color: var(--gray); font-size: .9rem; line-height: 1.4; }
.ch-whole .ch-body { background: var(--panel); }
.chooser-compact .ch-whole { grid-column: span 2; }
@media (max-width: 520px) { .chooser-compact .ch-whole { grid-column: 1 / -1; } }
.ch-go { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-top: 1rem; }
.ch-go-full { align-items: flex-end; }
.ch-go-full .field { margin: 0; }
.ch-go-full input { width: 10rem; font-size: 1.1rem; font-weight: 600; font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------ programs band */
.pb-grid { display: grid; gap: 24px 48px; }
@media (min-width: 980px) { .pb-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: start; } }
.pb-copy > p { color: var(--ink-2); max-width: 40em; }
.elig-key { list-style: none; margin: 1rem 0 1.4rem; padding: 0; display: grid; gap: .55rem; }
.elig-key li { display: grid; grid-template-columns: 14.4rem minmax(0, 1fr); gap: .6rem; align-items: start; font-size: .94rem; color: var(--ink-2); }
.elig-key .tag { justify-self: start; white-space: normal; }
@media (max-width: 560px) { .elig-key li { grid-template-columns: 1fr; gap: .2rem; } }
.pb-list .h-sub { margin-top: 0; }
.pb-count { font-size: 1.05rem; }
.pb-count strong { font-family: var(--semi); font-size: 1.6rem; }
.prog-elig { margin: .5rem 0; padding: .55rem .75rem; border-radius: var(--r-sm); background: var(--panel); font-size: .94rem; }
.prog-elig-apply_first { background: var(--ember-wash); }
.prog-elig-closed { background: #edecea; }
.prog-top .tag { white-space: normal; }

/* ------------------------------------------------------------ the kit sheet */
.kit-sheet { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); }
.ks-head { display: grid; gap: 1rem 2rem; padding: clamp(18px, 2.6vw, 28px); border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .ks-head { grid-template-columns: minmax(0, 1fr) auto; align-items: end; } }
.ks-where { margin: .35rem 0 0; color: var(--gray); max-width: 46em; }
.ks-stats { display: grid; grid-template-columns: repeat(3, minmax(0, auto)); gap: 6px; margin: 0; }
.ks-stats div { padding: .55rem .85rem; background: var(--panel); border-radius: var(--r-sm); min-width: 6.5rem; }
.ks-stats dt { font-size: .8rem; color: var(--gray); font-weight: 600; }
.ks-stats dd { margin: 0; font-family: var(--semi); font-size: 1.45rem; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.15; }
.ks-list { list-style: none; margin: 0; padding: 0; }
.ks-proj { padding: 1rem clamp(18px, 2.6vw, 28px) 1.1rem; border-top: 1px solid var(--line); }
.ks-proj:first-child { border-top: 0; }
.ks-proj-head { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .7rem; }
.ks-no { display: inline-grid; place-items: center; min-width: 28px; height: 28px; padding: 0 7px; border-radius: 14px; background: var(--ember); color: #fff; font-family: var(--cond); font-weight: 700; font-size: 1rem; line-height: 1; }
.ks-name { font-family: var(--semi); font-size: 1.2rem; font-weight: 700; margin: 0; }
.ks-sub { margin-left: auto; font-family: var(--semi); font-weight: 700; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.ks-lines { width: 100%; border-collapse: collapse; margin-top: .7rem; font-size: .95rem; }
.ks-lines th { text-align: left; font-size: .78rem; font-weight: 600; color: var(--gray); padding: 0 .5rem .3rem 0; border-bottom: 1px solid var(--line); }
.ks-lines td { padding: .5rem .5rem .5rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.ks-lines tr:last-child td { border-bottom: 0; }
.ks-at { width: 1%; white-space: nowrap; }
.ks-at .opn { min-width: 26px; height: 24px; font-size: .9rem; margin-right: 3px; }
.ks-qty { width: 3rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.ks-part a { font-weight: 600; }
.ks-basis, .ks-hw { display: block; color: var(--gray); font-size: .86rem; margin-top: .1rem; }
.ks-hw { color: var(--ink-2); }
th.ks-price, td.ks-price { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; padding-right: 0; }
.ks-muted td { color: var(--ink-2); }
.ks-open, .ks-work { list-style: none; margin: .7rem 0 0; padding: 0; display: grid; gap: .45rem; }
.ks-open li, .ks-work li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .3rem .7rem; align-items: start; font-size: .94rem; color: var(--ink-2); }
.ks-work li { grid-template-columns: auto minmax(0, 1fr) auto; padding: .6rem .7rem; background: var(--paper); border: 1px dashed var(--line-2); border-radius: var(--r); }
.ks-work .tag { align-self: start; }
@media (max-width: 640px) { .ks-work li { grid-template-columns: auto minmax(0, 1fr); } .ks-work .tag { grid-column: 2; justify-self: start; } }
.ks-open b, .ks-work b { color: var(--ink); }
.ks-advice li { grid-template-columns: 1fr; }
.ks-elig { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin: .6rem 0 0; font-size: .9rem; color: var(--ink-2); }
.ks-elig .tag { margin-right: .3rem; }
.ks-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .8rem; }
.ks-actions form { margin: 0; }
.ks-btn-sum { font-variant-numeric: tabular-nums; opacity: .9; margin-left: .3rem; }
.ks-foot { display: grid; gap: 1rem 2.5rem; padding: clamp(18px, 2.6vw, 28px); border-top: 1px solid var(--line); background: var(--paper); border-radius: 0 0 var(--r-lg) var(--r-lg); }
@media (min-width: 900px) { .ks-foot { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); } .ks-buy { grid-column: 1 / -1; } }
.ks-total { margin: 0; display: grid; gap: .1rem; }
.ks-total div { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; border-bottom: 1px solid var(--line); }
.ks-total dt { font-weight: 600; }
.ks-total dt .fine { display: block; font-weight: 400; }
.ks-total dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.ks-grand { border-bottom: 0 !important; padding-top: .6rem !important; }
.ks-grand dt, .ks-grand dd { font-family: var(--semi); font-size: 1.3rem; font-weight: 700; }
.ks-grand dd .fine { font-family: var(--sans); font-size: .9rem; font-weight: 500; }
.ks-notes p { margin: 0 0 .55rem; color: var(--ink-2); }
.ks-buy { display: flex; flex-wrap: wrap; gap: .6rem 1rem; align-items: center; }
.ks-buy form, .ks-buy p { margin: 0; }
.plan-kit { margin: 1.2rem 0; }

/* ------------------------------------------------------------ parts by project */
.pbp { padding: 1.4rem 0; border-top: 1px solid var(--line); }
.pbp:first-of-type { border-top: 0; padding-top: 0; }
.pbp-head { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .8rem; margin-bottom: .9rem; }
.pbp-head .h-md { margin: 0; }
.pbp-head .fine { margin: 0; }
.pbp-head .more { margin-left: auto; }
.pbp-local { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 1.5rem; padding: 1rem 1.1rem; background: var(--white); border: 1px dashed var(--line-2); border-radius: var(--r); }
.pbp-local p { margin: 0; max-width: 52em; color: var(--ink-2); }

/* ------------------------------------------------------------ paperwork */
.pw-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.pw-list li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: .8rem; padding: 1rem 1.1rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); color: var(--ink-2); font-size: .95rem; }
.pw-list strong { display: block; color: var(--ink); font-size: 1.02rem; }
.pw-list .fine { display: block; margin-bottom: .2rem; }
.pw-icon svg { width: 30px; height: 30px; color: var(--char); }

/* ------------------------------------------------------------ product page additions */
.unsure-route { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: .6rem; margin: 1rem 0 0; padding: .7rem .8rem; border-radius: var(--r-sm); background: var(--panel); font-size: .93rem; color: var(--ink-2); }
.unsure-route svg { width: 20px; height: 20px; color: var(--char); }
.unsure-on { background: var(--ember-wash); box-shadow: inset 0 0 0 1px var(--ember-line); }
.buy-returns { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: .55rem; margin: .9rem 0 0; font-size: .9rem; color: var(--ink-2); }
.buy-returns svg { width: 18px; height: 18px; color: var(--char); margin-top: 2px; }

/* ------------------------------------------------------------ cart, orders, returns */
.ship-plan { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: .55rem; margin: .9rem 0; font-size: .92rem; color: var(--ink-2); }
.ship-plan svg { width: 18px; height: 18px; color: var(--char); margin-top: 2px; }
.return-block { margin-top: 1.4rem; padding-top: .2rem; border-top: 1px solid var(--line); }
.returns-rules { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; gap: 12px; }
.returns-rules li { padding: .9rem 1.1rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.returns-rules .h-sub { margin: 0 0 .25rem; }
.returns-rules p { margin: 0; color: var(--ink-2); }
.delivery-result.quoted { border-left: 4px solid var(--blue); background: var(--blue-wash); padding: .8rem 1rem; border-radius: var(--r-sm); }
.pdf-chip { display: inline-grid; grid-template-columns: 22px auto; gap: 0 .4rem; align-items: center; padding: .5rem .7rem; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--white); text-decoration: none; color: var(--ink); font-weight: 600; font-size: .9rem; }
.pdf-chip svg { width: 22px; height: 22px; grid-row: span 2; }
.pdf-chip .fine { font-weight: 400; }

/* ------------------------------------------------------------ report intake */
.findings { border: 0; padding: 0; margin: 0 0 1rem; }
.finding-row { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); gap: .5rem; margin-top: .5rem; }
@media (max-width: 520px) { .finding-row { grid-template-columns: 1fr; } }
.next-steps { margin: 0 0 1rem; padding-left: 1.2rem; display: grid; gap: .55rem; color: var(--ink-2); }
.next-steps strong { color: var(--ink); }

.state-chips { list-style: none; margin: .8rem 0; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.state-chips a { display: inline-block; padding: .35rem .75rem; border: 1px solid var(--line-2); border-radius: 99px; background: var(--white); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .92rem; }
.state-chips a:hover { border-color: var(--char-2); }
.paperwork-band { border-top: 1px solid var(--line); }

/* ------------------------------------------------------------ Ridgewell Home family bar */
/* The house's bar, shared with apps/ridgewell-radon: slate, cloud text, the
   current business in white. */
.family-bar { background: var(--house-slate); color: var(--house-cloud); font-size: .82rem; }
.family-row { display: flex; flex-wrap: wrap; align-items: center; gap: .1rem 0; min-height: 32px; padding-top: .3rem; padding-bottom: .3rem; }
.family-bar a { color: var(--house-cloud); text-decoration: none; padding: .2rem .7rem; border-left: 1px solid var(--house-slate-mid); line-height: 1.2; }
.family-row > a:first-child { padding-left: 0; border-left: 0; }
.family-bar a:hover { color: #fff; text-decoration: underline; }
.family-bar a[aria-current] { color: #fff; font-weight: 700; }
.family-right { margin-left: auto; display: flex; }
.family-right a:first-child { border-left: 0; }
@media (max-width: 560px) { .family-right { margin-left: 0; width: 100%; } .family-right a:first-child { padding-left: 0; } }

.brand-text { display: inline-flex; flex-direction: column; line-height: 1; }
.brand-house { font-size: .74rem; font-weight: 600; color: var(--gray); margin-top: .22rem; letter-spacing: .01em; }
