/* Power On v2: service pages built around an interactive tool (/services/ev-charger-installation/, and
   /services/electrical-panel-upgrades/ further down).
   Loads after core.css, pages/city.css (split sections, reading text, numbered cards, service rows, compact reviews) and the
   tool's own stylesheet. The tool's markup is master's, byte for byte; this file only frames it:
   - .tp-tool is the band the tool sits in. Inside it the old page's base rules come back, at zero specificity (:where), so
     V2's element styles (headings, buttons, links, lists, focus, colour scheme, body type) never reach the tool and the
     tool's own class rules still win exactly as before.
   - everything else here is scoped to V2 section classes (.tmain > .section, .tp-*), never to the tool's elements. */

/* ---------- the tool band: the old page's tokens and base, for the tool only ---------- */
.tp-tool {
  --bg: #030604; --bg-2: #07100a; --green: #6ccb3f; --green-2: #1c7b36;
  --gold: #ffd222; --gold-2: #c98a11; --white: #f7f8ef; --muted: #b8c3b4;
  --muted-2: #778372; --shadow: 0 28px 80px rgba(0,0,0,.48); --max: 1240px;
  --ease: cubic-bezier(.2,.75,.18,1);
  position: relative;
  color: var(--white);
  background: #020704;
  font-family: "Plus Jakarta Sans", "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: normal;
  font-weight: 400;
  -webkit-font-smoothing: auto;
  text-rendering: auto;
  color-scheme: light;
  -webkit-text-size-adjust: auto;
  text-size-adjust: auto;
  scroll-margin-top: var(--nav-h);
}
:where(.tp-tool) ::before, :where(.tp-tool) ::after { box-sizing: content-box; }
:where(.tp-tool) a { color: inherit; text-decoration: none; }
:where(.tp-tool) :is(img, video, svg) { display: revert; max-width: revert; height: revert; }
:where(.tp-tool) :is(h1, h2, h3, h4) { font-size: revert; line-height: revert; font-weight: revert; letter-spacing: revert; }
:where(.tp-tool) :is(h1, h2, h3) { font-family: "Plus Jakarta Sans", "Manrope", ui-sans-serif, system-ui, sans-serif; }
:where(.tp-tool) :is(ol, figure, blockquote, dl, dd) { margin: revert; }
:where(.tp-tool) ol { padding: revert; list-style: revert; }
:where(.tp-tool) button { font: revert; color: revert; background: revert; border: revert; padding: revert; cursor: revert; }
:where(.tp-tool) :focus, :where(.tp-tool) :focus-visible { outline: revert; outline-offset: revert; }
:where(.tp-tool) ::selection { background: revert; color: revert; }
/* the page-level helpers the tool's markup uses (master's values) */
:where(.tp-tool) .container { width: min(1240px, calc(100vw - 40px)); margin: 0 auto; position: relative; z-index: 2; }
:where(.tp-tool) .section-energy { position: absolute; left: 50%; top: -36px; width: min(760px, 76vw); height: 72px; transform: translateX(-50%); pointer-events: none; opacity: .55; z-index: 1; overflow: visible; }
:where(.tp-tool) .section-energy::before { content: ""; position: absolute; left: 0; right: 0; top: 35px; height: 1px; background: linear-gradient(90deg, transparent, rgba(108, 203, 63, .34), rgba(255, 210, 34, .3), rgba(108, 203, 63, .34), transparent); }
@media (max-width: 760px) { :where(.tp-tool) .container { width: min(100% - 28px, 1240px); } }
/* the frame: the tool's own eyebrow in the V2 eyebrow type, above its own heading (same box as before: nothing moves) */
.tp-tool .charge-intro .kicker { margin-bottom: 14px; color: #D2A23C; font: 500 12px/15px var(--mono); letter-spacing: .14em; text-transform: uppercase; }

/* ---------- hero: the job photo cropped toward the charger; the second contact line under the buttons ---------- */
/* the Tesla Wall Connector sits right of centre, in the upper half of the photo */
.tp-hero-f .wt-img img { object-position: 60% 35%; }
.tp-quick { margin-top: 20px; color: var(--fg-2); font-size: 15px; }
.tp-quick .tlink { margin: 0 2px; }

/* ---------- headings: the h1 and two h2s (recent work, closing) keep the display size; the rest step down one ---------- */
.tmain > .section:not(#work):not(#contact) .sec-head h2, .tmain > .section .csplit-h h2 { font-size: clamp(28px, 2.9vw, 44px); line-height: 1.06; letter-spacing: -0.025em; }
.tmain > .section:not(#work):not(#contact) .sec-head { margin-bottom: clamp(32px, 4vw, 56px); }
.tmain > .section .csplit-h h2 { max-width: 18ch; }

/* ---------- what's included: six numbered items, two across beside the heading ---------- */
.tp-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--gap); margin-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--rule); }
.tp-list li { display: grid; align-content: start; gap: 10px; padding: 24px 0 28px; border-bottom: 1px solid var(--rule); min-width: 0; }
.tp-n { color: var(--accent); font: 500 12px/1 var(--mono); letter-spacing: .14em; }
.tp-list h3 { font-size: 19px; line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; }
.tp-list p { color: var(--fg-2); font-size: 16px; line-height: 1.6; }
@media (max-width: 599px) { .tp-list { grid-template-columns: minmax(0, 1fr); } }

/* ---------- charger types: the list card beside a job photo ---------- */
.tp-types { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap); margin-top: clamp(32px, 4vw, 48px); align-items: start; }
.tp-card { padding: clamp(24px, 2.4vw, 32px); border: 1px solid var(--rule); background: var(--bg-2); }
.tp-card h3 { font-size: 20px; line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; }
.tp-checks { display: grid; gap: 0; margin-top: 18px; border-top: 1px solid var(--rule); }
.tp-checks li { position: relative; padding: 12px 0 12px 28px; border-bottom: 1px solid var(--rule); color: var(--fg); font-size: 16px; line-height: 1.5; }
.tp-checks li::before { content: ""; position: absolute; left: 2px; top: 18px; width: 12px; height: 7px; border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(-45deg); }
.tp-card > p { margin-top: 18px; color: var(--fg-2); font-size: 15px; line-height: 1.6; }
.tp-fig { margin: 0; min-width: 0; }
.tp-fig .wt-img { aspect-ratio: 4 / 5; width: 100%; }
.tp-fig figcaption { margin-top: 12px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--fg-3); }
.tp-fig figcaption span:first-child { color: var(--fg-2); }
@media (max-width: 699px) { .tp-types { grid-template-columns: minmax(0, 1fr); } .tp-fig .wt-img { aspect-ratio: 4 / 3; } }

/* ---------- process: four numbered steps in one row on desktop ---------- */
@media (min-width: 1024px) { .tp-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- recent work: master's four job cards as V2 tiles, then the ask ---------- */
.tp-jobs .wt-img { aspect-ratio: 4 / 5; }
.tp-ask { display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; margin-top: clamp(32px, 4vw, 48px); }
.tp-ask p { max-width: 60ch; color: var(--fg-2); }
.tp-ask strong { color: var(--fg); font-weight: 600; }
@media (max-width: 479px) { .tp-ask .btn { flex: 1 1 100%; } }

/* ---------- related services: three rows ---------- */
.tp-related { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tp-related h3.csvc-t, .tp-related p.csvc-d { margin: 0; }
@media (max-width: 899px) { .tp-related { grid-template-columns: minmax(0, 1fr); } }

/* ---------- cities: the index under the service-area words ---------- */
.tp-cities { margin-top: clamp(32px, 4vw, 48px); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 599px) { .tp-cities { grid-template-columns: minmax(0, 1fr); } }

/* ---------- FAQ: master's answers keep their own element (.faq-answer), styled as V2 answers ---------- */
.tp-faq .faq-answer { padding: 0 0 28px; max-width: 64ch; color: var(--fg-2); }

/* ---------- recent work rows (tools/v2/build-projects.cjs fills <!-- v2:service-work:<slug> -->) ---------- */
/* inside the EV page's "Recent EV charger installations": the row's own heading reads as a sub-heading */
.tp-work .swork-h { margin: clamp(8px, 1vw, 16px) 0 clamp(24px, 3vw, 32px); max-width: 30ch; font-size: clamp(22px, 2vw, 28px); line-height: 1.15; letter-spacing: -0.015em; }
.tp-work .swork-all, .tp-swork .swork-all { margin-top: 32px; }
/* the panel page's own "Recent work" section (the services pages' pattern) */
.tp-swork .kw { margin-bottom: 14px; }
.tmain .tp-swork .swork-h { margin-bottom: clamp(32px, 4vw, 56px); max-width: 22ch; font-size: clamp(28px, 2.9vw, 44px); line-height: 1.06; letter-spacing: -0.025em; }
.tp-swork:not(:has(.jobrow)) { display: none; }
/* master's job notes (the EV page's four earlier job cards): their words, beside the photos now in the row above */
.tp-notes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 var(--gap); margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--rule); }
.tp-notes li { display: grid; align-content: start; gap: 8px; padding: 20px 0 24px; border-bottom: 1px solid var(--rule); min-width: 0; }
.tp-notes .label { color: var(--fg-3); }
.tp-notes h3 { font-size: 18px; line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; }
.tp-notes p:not(.label) { color: var(--fg-2); font-size: 15px; line-height: 1.55; }
@media (max-width: 1023px) { .tp-notes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .tp-notes { grid-template-columns: minmax(0, 1fr); } }

/* =====================================================================================================================
   /services/electrical-panel-upgrades/: the panel planner. Its stylesheets (panel-upgrade-planner.css, planner-picture.css,
   planner-review.css) are master's and style the whole old page, not only the planner, so the page loads them BEFORE
   core.css: wherever V2 and the planner style the same element at the same weight, V2 wins. Then:
   - .tp-band is the band the planner sits in. Inside it the planner's page base comes back at zero specificity
     (:where), undoing only what core.css changed, so the planner's own rules win exactly as they did on master.
   - .tp-page (the page's body) takes back the few planner page rules that would otherwise reach the V2 header and
     links (heading typeface, link underline, focus ring, header blur, nav-link type and hover bar).
   - the page's own sections keep master's markup for the chain, situations, capacity / condition, paths, timeline and
     photo story; .tmain rules give them the V2 look (they outrank the planner's single-class rules).
   ===================================================================================================================== */

/* ---------- the planner band: master's tokens and page base, for the planner only ---------- */
.tp-band {
  --bg: #030604; --bg-2: #07100a; --green: #6ccb3f; --green-2: #1c7b36;
  --gold: #ffd222; --gold-2: #c98a11; --white: #f7f8ef; --muted: #b8c3b4; --muted-2: #778372;
  --line: rgba(255,255,255,.1); --line-2: rgba(255,255,255,.14);
  --shadow: 0 28px 80px rgba(0,0,0,.48); --max: 1240px;
  --ease: cubic-bezier(.2,.75,.18,1);
  --flow: linear-gradient(180deg, rgba(108,203,63,.75), rgba(255,210,34,.55));
  position: relative;
  color: var(--white);
  background: #030604;
  font-family: "Plus Jakarta Sans", "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: normal;
  font-weight: 400;
  -webkit-font-smoothing: auto;
  text-rendering: auto;
  color-scheme: light;
  -webkit-text-size-adjust: auto;
  text-size-adjust: auto;
  scroll-margin-top: var(--nav-h);
}
:where(.tp-band) ::before, :where(.tp-band) ::after { box-sizing: content-box; }
:where(.tp-band) a { text-decoration: none; }
:where(.tp-band) :is(img, video, svg) { display: revert; height: revert; }
:where(.tp-band) :is(video, svg) { max-width: revert; }
:where(.tp-band) :is(h1, h2, h3, h4) { font-size: revert; line-height: revert; font-weight: revert; letter-spacing: revert; font-family: "Plus Jakarta Sans", "Manrope", ui-sans-serif, system-ui, sans-serif; }
:where(.tp-band) :is(figure, blockquote, dl, dd) { margin: revert; }
:where(.tp-band) button { font: revert; color: revert; background: revert; border: revert; padding: revert; cursor: revert; }
:where(.tp-band) :focus, :where(.tp-band) :focus-visible { outline: revert; outline-offset: revert; }
:where(.tp-band) ::selection { background: revert; color: revert; }
/* master's <noscript> rule: without scripts the planner's controls stay hidden (its own no-script note shows instead) */
@media (scripting: none) { :where(.tp-band) :is(.pp-top, .pp-interactive) { display: none; } }

/* ---------- the planner page rules that would reach the V2 frame ---------- */
:where(.tp-page) :is(h1, h2, h3, h4) { font-family: inherit; }
:where(.tp-page) a { text-decoration: revert; }
:where(.tp-page) :is(a, button, summary):focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
:where(.tp-page) :is(a, button, summary):not(.dd-subx, .sl-x, .sv-b, .sv-pb, .tpill button, .social a):focus-visible { border-radius: 0; }
.tp-page :is(.dd-subx, .sl-x, .sv-b):focus-visible { border-radius: 50%; }
.tp-page .sv-pb:focus-visible { border-radius: 999px; }
.tp-page .nav { -webkit-backdrop-filter: none; backdrop-filter: none; }
.tp-page .nav-links { color: inherit; font-size: inherit; font-weight: inherit; }
.tp-page .nav-links a { position: static; transition: none; }
.tp-page .nav-links a::after { content: none; }
/* the planner's scroll reveals stay inside its band; the page's own rows are always shown */
.tmain > .section .reveal { opacity: 1; transform: none; transition: none; }

/* ---------- hero: the finished Palm Springs panel; master's three ways in under the two calls ---------- */
.tp-phero .tp-hero-f .wt-img img { object-position: 50% 40%; }
.tp-phero .tp-hero-f picture { display: block; width: 100%; height: 100%; }
.tp-ways { display: grid; gap: 6px; margin-top: 24px; color: var(--fg-2); font-size: 15px; line-height: 1.6; }
.tp-ways .tlink { margin: 0 2px; }
.tp-ways .tp-quick { margin-top: 0; }
.tmain .hero-direct { display: inline; gap: 0; color: inherit; font-size: inherit; }
.tmain .hero-direct a { display: inline; min-height: 0; color: var(--fg); font-size: inherit; font-weight: inherit; white-space: nowrap; }
.tmain .hero-direct a:hover { text-decoration: none; }
.tp-cred-line { margin-top: 20px; color: var(--fg-3); }
/* master's conduit, from the hero into the planner band */
.tmain .conduit { top: 100%; bottom: auto; height: 72px; }
@media (max-width: 760px) { .tmain .conduit { height: 56px; } }

/* ---------- figures beside the reading text (the chain, the timeline) ---------- */
.tmain .tp-story-f, .tmain .tp-process-f { margin-top: clamp(32px, 4vw, 48px); max-width: 420px; }
.tmain .tp-story-f figcaption, .tmain .tp-process-f figcaption { display: grid; gap: 6px; }
.tp-figc { color: var(--fg-2); font-size: 15px; line-height: 1.55; letter-spacing: 0; text-transform: none; }

/* ---------- the whole system: master's path drawing under the heading (wide screens, as on master), then the chain ---------- */
.tmain .csplit-stick .hero-art { justify-self: auto; max-width: 260px; margin-top: clamp(32px, 4vw, 48px); }
.tmain .hero-art stop { stop-color: var(--accent); }
.tmain .hero-art g[stroke="#6ccb3f"] { fill: var(--bg-2); stroke: var(--accent); }
.tmain .hero-art g[fill="#ffd222"] { fill: var(--accent); }
.tmain .hero-art g[stroke^="rgba"] { fill: none; stroke: var(--rule); }
.tmain .hero-art text { fill: var(--fg); font-family: var(--mono); font-weight: 500; }
.tmain .hero-art g[font-size="12.5"] text { fill: var(--fg-2); font-family: var(--font); font-weight: 400; }
.tmain .hero-art text[font-size="11.5"] { fill: var(--fg-3); }
.tmain .chain { margin-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--rule); }
.tmain .chain-node { grid-template-columns: 28px minmax(0, 1fr); gap: 0 20px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.tmain .chain-node::before { left: 13.5px; top: 50px; bottom: -22px; width: 1px; background: var(--rule); }
.tmain .chain-dot { width: 28px; height: 28px; border: 1px solid var(--accent); background: var(--bg-2); box-shadow: none; }
.tmain .chain-node:last-child .chain-dot { border-color: var(--accent); background: var(--accent); box-shadow: none; animation: none; }
.tmain .chain-node h3 { margin-bottom: 6px; font-size: 19px; line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; }
.tmain .chain-node p { color: var(--fg-2); font-size: 16px; line-height: 1.6; }
.tmain .chain-taps li { min-height: 30px; padding: 0 12px; border: 1px solid var(--rule); border-radius: 0; background: none; color: var(--fg); font: 500 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.tmain .story-pull { margin-top: clamp(28px, 3vw, 40px); padding-left: 20px; max-width: 62ch; border-left: 2px solid var(--accent); color: var(--fg-2); font-size: 17px; line-height: 1.7; }
.tmain .story-pull strong { color: var(--fg); font-weight: 600; }

/* ---------- situations: four numbered rows, then the equipment note ---------- */
.tmain .scen-list { margin-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--rule); }
.tmain .scen { grid-template-columns: 48px minmax(0, 1fr); gap: 12px 20px; padding: 28px 0; border-bottom: 1px solid var(--rule); }
.tmain .scen-num { padding-top: 5px; color: var(--accent); font: 500 12px/1.5 var(--mono); letter-spacing: .14em; }
.tmain .scen h3 { margin-bottom: 10px; font-size: clamp(20px, 1.8vw, 24px); line-height: 1.2; font-weight: 600; letter-spacing: -0.015em; }
.tmain .scen p { color: var(--fg-2); font-size: 16px; line-height: 1.65; }
.tmain .scen-tags { grid-column: 2; justify-content: flex-start; padding-top: 0; }
.tmain .scen-tags li { min-height: 30px; padding: 0 12px; border: 1px solid var(--rule); border-radius: 0; background: none; color: var(--fg-2); font: 500 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.tmain .equipment-note { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: clamp(40px, 5vw, 56px); padding: clamp(24px, 2.4vw, 32px); border: 1px solid var(--rule); border-left: 2px solid var(--accent); background: var(--bg-2); }
.tmain .equipment-note h3 { margin-bottom: 4px; color: var(--fg); font-size: 20px; line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; }
.tmain .equipment-note p { margin-top: 12px; color: var(--fg-2); font-size: 16px; line-height: 1.65; }
.tmain .equipment-note p a { color: var(--fg); }
.tmain .equipment-note ul { gap: 0; border-top: 1px solid var(--rule); }
.tmain .equipment-note li { display: block; position: relative; padding: 12px 0 12px 28px; border-bottom: 1px solid var(--rule); color: var(--fg); font-size: 16px; line-height: 1.5; }
.tmain .equipment-note li::before { content: ""; position: absolute; left: 2px; top: 18px; display: block; min-width: 0; width: 12px; height: 7px; margin: 0; border: 0; border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); border-radius: 0; background: none; transform: rotate(-45deg); }
@media (max-width: 599px) {
  .tmain .scen { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .tmain .scen-num { padding-top: 0; }
  .tmain .scen-tags { grid-column: 1; }
}

/* ---------- capacity and condition: two cards joined by "and", then the three myths ---------- */
.tmain .split-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-top: clamp(32px, 4vw, 48px); border: 1px solid var(--rule); }
.tmain .question-card, .tmain .question-card.is-condition { padding: clamp(24px, 2.4vw, 32px); border: 0; border-radius: 0; background: var(--bg); }
.tmain .question-card.is-condition { border-left: 1px solid var(--rule); }
.tmain .question-card .q-label, .tmain .question-card.is-condition .q-label { margin-bottom: 14px; color: var(--accent); font: 500 12px/1.5 var(--mono); letter-spacing: .14em; }
.tmain .question-card h3 { margin-bottom: 10px; font-size: 20px; line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; }
.tmain .question-card p { color: var(--fg-2); font-size: 16px; line-height: 1.6; }
.tmain .question-card ul { gap: 0; margin-top: 18px; border-top: 1px solid var(--rule); }
.tmain .question-card li { display: block; position: relative; padding: 10px 0 10px 20px; border-bottom: 1px solid var(--rule); color: var(--fg); font-size: 15px; line-height: 1.5; }
.tmain .question-card li::before, .tmain .question-card.is-condition li::before { position: absolute; left: 2px; top: 18px; width: 6px; height: 6px; margin: 0; border-radius: 0; background: var(--accent); }
.tmain .split-and { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; margin: 0; border: 1px solid var(--rule); background: var(--bg-2); color: var(--fg-2); font: 500 11px/1 var(--mono); letter-spacing: .1em; }
.tmain .myth-row { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: clamp(28px, 3vw, 40px); border-top: 1px solid var(--rule); }
.tmain .myth-row li { padding: 18px 0; border: 0; border-bottom: 1px solid var(--rule); border-radius: 0; background: none; color: var(--fg-2); font-size: 16px; line-height: 1.6; }
.tmain .myth-row li strong { margin-bottom: 4px; color: var(--fg); font-size: 17px; font-weight: 600; }
@media (max-width: 699px) {
  .tmain .split-2 { grid-template-columns: minmax(0, 1fr); }
  .tmain .question-card.is-condition { border-left: 0; border-top: 1px solid var(--rule); }
  .tmain .split-and { position: relative; left: auto; top: auto; transform: none; margin: -20px auto; }
}

/* ---------- possible paths: master's bus bar and its seven equal taps, in the V2 line and accent ---------- */
.tmain .pathway { max-width: none; margin-top: clamp(8px, 1vw, 16px); }
.tmain .pathway-root { border: 1px solid var(--accent); border-radius: 0; background: var(--bg-2); box-shadow: none; }
.tmain .pathway-root strong { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.tmain .pathway-root span { color: var(--fg-2); font-size: 15px; }
.tmain .pathway-root::after, .tmain .pathway-leaves::before, .tmain .path-leaf::before { background: var(--accent); }
.tmain .path-leaf::after { border: 1px solid var(--accent); border-radius: 0; background: var(--bg); }
.tmain .path-leaf h3 { font-size: 17px; line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; }
.tmain .path-leaf p { color: var(--fg-2); font-size: 14.5px; line-height: 1.55; }
.tmain .path-foot { color: var(--fg); font-size: clamp(19px, 1.6vw, 22px); font-weight: 500; letter-spacing: -0.01em; }
.tmain .path-foot span { color: var(--fg-2); font-size: 16px; font-weight: 400; }

/* ---------- how it works: four numbered rows, then the finished breaker layout ---------- */
.tmain .timeline { margin-top: 0; border-top: 1px solid var(--rule); }
.tmain .tl-step, .tmain .tl-step:last-child { grid-template-columns: 48px minmax(0, 1fr); gap: 0 20px; padding: 24px 0; border-bottom: 1px solid var(--rule); }
.tmain .tl-step::before { display: none; }
.tmain .tl-num { display: block; width: auto; height: auto; padding-top: 4px; border: 0; border-radius: 0; background: none; box-shadow: none; color: var(--accent); font: 500 12px/1.5 var(--mono); letter-spacing: .14em; }
.tmain .tl-step h3 { margin: 0 0 8px; font-size: 19px; line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; }
.tmain .tl-step p { max-width: 62ch; color: var(--fg-2); font-size: 16px; line-height: 1.6; }

/* ---------- progress photos: before, prep, completed (master's photo story) ---------- */
.tmain .film { gap: clamp(32px, 4vw, 48px) var(--gap); }
.tmain .film-label { margin-bottom: 16px; color: var(--fg-2); font: 500 12px/1.5 var(--mono); letter-spacing: .14em; }
.tmain .film-label span { color: var(--accent); }
.tmain .film-label::after { background: var(--rule); }
.tmain .film-shot { overflow: visible; border: 0; border-radius: 0; background: none; box-shadow: none; }
.tmain .film-shot img { aspect-ratio: 4 / 5; background: var(--bg-2); }
.tmain .film-shot figcaption { gap: 6px; padding: 14px 0 0; }
.tmain .film-shot figcaption strong { font-size: 17px; line-height: 1.3; font-weight: 600; }
.tmain .film-shot figcaption p { color: var(--fg-2); font-size: 15px; line-height: 1.55; }
.tmain .work-label { min-height: 0; padding: 0; border: 0; border-radius: 0; background: none; color: var(--fg-3); font: 500 12px/1.5 var(--mono); letter-spacing: .14em; text-transform: uppercase; white-space: normal; }
/* a shot whose photo is already elsewhere on the page: its words, on a card */
.tmain .film-shot-t { align-self: start; padding: 20px; border: 1px solid var(--rule); border-top: 2px solid var(--accent); background: var(--bg-2); }
.tmain .film-shot-t figcaption { padding: 0; }
.tmain .film-note { padding-left: 18px; border-left: 2px solid var(--accent); color: var(--fg-2); font-size: 16px; line-height: 1.65; }

/* ---------- FAQ: the planner page's FAQ rules give way to the V2 FAQ ---------- */
.tmain .tp-faq details.faq-item, .tmain .tp-faq details.faq-item[open] { overflow: visible; border: 0; border-bottom: 1px solid var(--rule); border-radius: 0; background: none; transition: none; }
.tmain .tp-faq details.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; padding: 18px 0;
  font-size: clamp(19px, 1.6vw, 23px); line-height: 1.3; font-weight: 500; letter-spacing: -0.01em; -webkit-user-select: auto; user-select: auto; }
.tmain .tp-faq details.faq-item summary::after, .tmain .tp-faq details.faq-item[open] summary::after { content: ""; color: var(--accent); font-size: 0; }
.tmain .tp-faq .faq-answer { font-size: inherit; line-height: inherit; }

/* ---------- owner, Nov 16: under the EV and solar tools, a way on to the panel upgrade planner ---------- */
.tp-xlink { position: relative; border-top: 1px solid rgba(255,255,255,.1); background: #020704 linear-gradient(90deg, rgba(108,203,63,.08), rgba(255,210,34,.04) 60%, transparent); color: #f7f8ef; font-family: "Plus Jakarta Sans", "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; }
.tp-xlink-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "k a" "t a" "s a"; align-items: center; gap: 4px 32px; padding-top: 26px; padding-bottom: 26px; }
.tp-xlink-k { grid-area: k; margin: 0; font: 800 11px/1.3 "Plus Jakarta Sans", "Manrope", ui-sans-serif, system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #6ccb3f; }
.tp-xlink-t { grid-area: t; margin: 0; font-size: clamp(18px, 1.8vw, 22px); font-weight: 800; letter-spacing: -.01em; color: #f7f8ef; }
.tp-xlink-s { grid-area: s; margin: 0; max-width: 70ch; font-size: 14px; line-height: 1.55; color: #b8c3b4; }
.tp-xlink-a { grid-area: a; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 14px; color: #111307; background: linear-gradient(135deg, #ffe75c, #ffc20f 48%, #d88905); font-weight: 850; font-size: 14px; text-decoration: none; white-space: nowrap; transition: transform .2s; }
.tp-xlink-a:hover { transform: translateY(-2px); }
@media (max-width: 760px) {
  .tp-xlink-in { grid-template-columns: minmax(0, 1fr); grid-template-areas: "k" "t" "s" "a"; }
  .tp-xlink-a { justify-content: center; margin-top: 10px; white-space: normal; }
}
@media (prefers-reduced-motion: reduce) { .tp-xlink-a { transition: none; } }
