/*
 * GE Types. One variable per visible declaration, fallbacks equal to control
 * defaults (trap 14). The beam's position is pure arithmetic on --ge-ty-i (the
 * chosen option) and --ge-ty-n (how many), so the script only ever changes one
 * number and the CSS makes it flow.
 */
.ge-ty [hidden] { display: none !important; }

.ge-ty {
  margin-inline: auto;
  max-width: var(--ge-ty-frame, var(--ge-frame-max, 1320px));
  padding-inline: var(--ge-ty-pad-x, 20px);
  padding-block: var(--ge-ty-pad-y, 96px);
}
.ge-ty__panel {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--ge-ty-panel-radius, 32px);
  background:
    radial-gradient(60% 80% at 100% 0%, color-mix(in srgb, var(--ge-ty-sys, var(--ge-green)) var(--ge-ty-wash, 16%), transparent), transparent),
    var(--ge-ty-panel-bg, var(--ge-panel));
  padding: var(--ge-ty-panel-pad, 56px 40px);
}
@media (max-width: 639px) { .ge-ty__panel { padding: var(--ge-ty-panel-pad-sm, 40px 16px); } }

.ge-ty__standfirst { margin: var(--ge-ty-sf-gap, 20px) 0 0; max-width: var(--ge-ty-sf-measure, 56ch); font-size: 17px; line-height: 1.6; color: var(--ge-ty-sf-color, var(--ge-body)); }

/* ---- wide: the table ------------------------------------------------------ */
.ge-ty__wide { position: relative; margin-top: var(--ge-ty-body-gap, 40px); display: none; }
@media (min-width: 900px) { .ge-ty__wide { display: block; } .ge-ty__narrow { display: none; } }

.ge-ty__beam {
  position: absolute; z-index: 0; top: 0; bottom: 0;
  left: calc(var(--ge-ty-label-w, 220px) + (100% - var(--ge-ty-label-w, 220px)) * var(--ge-ty-i, 0) / var(--ge-ty-n, 3));
  width: calc((100% - var(--ge-ty-label-w, 220px)) / var(--ge-ty-n, 3));
  border-radius: var(--ge-ty-beam-radius, 22px);
  background: var(--ge-ty-beam-bg, var(--ge-card));
  box-shadow: var(--ge-ty-beam-shadow, var(--ge-shadow-float));
  transition: left var(--ge-ty-dur, 700ms) var(--ge-ease-out);
}
/* The accent at the top of the beam: the product's colour, a little liquid. */
.ge-ty__beam::before {
  content: ""; position: absolute; left: 18%; right: 18%; top: 0; height: var(--ge-ty-beam-top, 4px);
  border-radius: 0 0 var(--ge-ty-round, 999px) var(--ge-ty-round, 999px); background: var(--ge-ty-sys, var(--ge-green));
}

.ge-ty__wide .ge-ty__table {
  position: relative; z-index: 1; width: 100%; margin: 0;
  border: 0; border-collapse: separate; border-spacing: 0; table-layout: fixed; background: transparent;
}
.ge-ty__table .ge-ty__corner { width: var(--ge-ty-label-w, 220px); border: 0; background: transparent; padding: 0; }
.ge-ty__table th, .ge-ty__table td { border: 0; background: transparent; vertical-align: top; text-align: left; }
.ge-ty__table .ge-ty__head { padding: var(--ge-ty-cell-pad, 20px 24px); padding-top: var(--ge-ty-head-pt, 28px); }
.ge-ty__head .ge-ty__opt {
  display: block; width: 100%; margin: 0; padding: 0; border: 0; background: transparent; cursor: pointer; text-align: left;
  font-family: inherit; font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--ge-ty-opt-color, var(--ge-body));
  transition: color var(--ge-ty-dur, 700ms) var(--ge-ease-out);
}
.ge-ty__head.is-on .ge-ty__opt { color: var(--ge-ty-opt-on, var(--ge-ink)); }
.ge-ty__table tbody .ge-ty__label {
  padding: var(--ge-ty-cell-pad, 20px 24px); padding-left: 0;
  font-family: var(--ge-font-mono); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ge-ty-label-color, var(--ge-body));
  border-top: 1px solid var(--ge-ty-rule, var(--ge-hair));
}
.ge-ty__table tbody .ge-ty__cell {
  padding: var(--ge-ty-cell-pad, 20px 24px);
  font-size: 15px; line-height: 1.55; color: var(--ge-ty-cell-color, var(--ge-body));
  border-top: 1px solid var(--ge-ty-rule, var(--ge-hair));
  transition: color var(--ge-ty-dur, 700ms) var(--ge-ease-out), translate var(--ge-ty-dur, 700ms) var(--ge-ease-out);
}
.ge-ty__table tbody .ge-ty__cell.is-on { color: var(--ge-ty-cell-on, var(--ge-ink)); }
/* rows ripple: each chosen cell settles a beat after the one above it */
.ge-ty[data-flow] .ge-ty__table tbody tr .ge-ty__cell.is-on { animation: ge-ty-ripple var(--ge-ty-dur, 700ms) var(--ge-ease-out) both; }
.ge-ty[data-flow] .ge-ty__table tbody tr:nth-child(2) .ge-ty__cell.is-on { animation-delay: 40ms; }
.ge-ty[data-flow] .ge-ty__table tbody tr:nth-child(3) .ge-ty__cell.is-on { animation-delay: 80ms; }
.ge-ty[data-flow] .ge-ty__table tbody tr:nth-child(4) .ge-ty__cell.is-on { animation-delay: 120ms; }
.ge-ty[data-flow] .ge-ty__table tbody tr:nth-child(5) .ge-ty__cell.is-on { animation-delay: 160ms; }
.ge-ty[data-flow] .ge-ty__table tbody tr:nth-child(n+6) .ge-ty__cell.is-on { animation-delay: 200ms; }
@keyframes ge-ty-ripple { from { opacity: .35; translate: 0 6px; } to { opacity: 1; translate: 0 0; } }

/* ---- narrow: tabs and cards ---------------------------------------------- */
.ge-ty__narrow { margin-top: var(--ge-ty-body-gap, 40px); }
.ge-ty__tabs {
  position: relative; display: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr);
  padding: var(--ge-ty-track-pad, 4px); border-radius: var(--ge-ty-tab-radius, 999px); background: var(--ge-ty-tab-bg, var(--ge-card));
}
.ge-ty[data-flow] .ge-ty__tabs { display: grid; }
.ge-ty__tabglide {
  position: absolute; z-index: 0; top: var(--ge-ty-track-pad, 4px); bottom: var(--ge-ty-track-pad, 4px);
  left: calc(var(--ge-ty-track-pad, 4px) + (100% - 2 * var(--ge-ty-track-pad, 4px)) * var(--ge-ty-i, 0) / var(--ge-ty-n, 3));
  width: calc((100% - 2 * var(--ge-ty-track-pad, 4px)) / var(--ge-ty-n, 3));
  border-radius: var(--ge-ty-tab-radius, 999px); background: var(--ge-ty-tab-on, var(--ge-dark));
  transition: left var(--ge-ty-dur, 700ms) var(--ge-ease-out);
}
.ge-ty__tabs .ge-ty__tab {
  position: relative; z-index: 1; margin: 0; border: 0; background: transparent; cursor: pointer;
  padding: var(--ge-ty-tab-pad, 10px 8px); border-radius: var(--ge-ty-tab-radius, 999px);
  font-family: inherit; font-size: 13px; font-weight: 600; line-height: 1.25; color: var(--ge-ty-opt-color, var(--ge-body));
  transition: color var(--ge-ty-dur, 700ms) var(--ge-ease-out);
}
.ge-ty__tabs .ge-ty__tab[aria-selected="true"] { color: var(--ge-ty-tab-on-fg, var(--ge-card)); }

.ge-ty__cards { display: grid; gap: var(--ge-ty-cards-gap, 12px); }
.ge-ty[data-flow] .ge-ty__cards { display: grid; grid-template-areas: "card"; margin-top: var(--ge-ty-cards-mt, 16px); }
.ge-ty[data-flow] .ge-ty__card { grid-area: card; }
.ge-ty__card {
  border-radius: var(--ge-ty-card-radius, 22px); padding: var(--ge-ty-card-pad, 24px 20px);
  background: var(--ge-ty-beam-bg, var(--ge-card)); box-shadow: var(--ge-ty-beam-shadow, var(--ge-shadow-float));
  transition: opacity var(--ge-ty-dur, 700ms) var(--ge-ease-out), translate var(--ge-ty-dur, 700ms) var(--ge-ease-out), visibility 0s;
}
.ge-ty[data-flow] .ge-ty__card:not(.is-on) { opacity: 0; translate: 24px 0; visibility: hidden; pointer-events: none; transition-delay: 0s, 0s, var(--ge-ty-dur, 700ms); }
.ge-ty[data-flow] .ge-ty__card.is-on { opacity: 1; translate: 0 0; visibility: visible; }
.ge-ty__mopt { margin: 0 0 var(--ge-ty-mopt-mb, 8px); font-size: 18px; font-weight: 700; color: var(--ge-ty-opt-on, var(--ge-ink)); }
.ge-ty[data-flow] .ge-ty__mopt { display: none; }
.ge-ty__card .ge-ty__dl { margin: 0; }
.ge-ty__dl .ge-ty__mrow { padding: var(--ge-ty-mrow-py, 12px) 0; border-top: 1px solid var(--ge-ty-rule, var(--ge-hair)); }
.ge-ty__dl .ge-ty__mrow:first-child { border-top: 0; }
.ge-ty__dl .ge-ty__mlab { margin: 0; font-family: var(--ge-font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ge-ty-label-color, var(--ge-body)); }
.ge-ty__dl .ge-ty__mval { margin: var(--ge-ty-mval-mt, 4px) 0 0; font-size: 15px; line-height: 1.55; color: var(--ge-ty-cell-on, var(--ge-ink)); }

.ge-ty__foot {
  margin: var(--ge-ty-foot-mt, 28px) 0 0; max-width: var(--ge-ty-foot-measure, 80ch); font-size: 13px; line-height: 1.6;
  color: color-mix(in srgb, var(--ge-ty-foot-color, var(--ge-body)) var(--ge-ty-foot-alpha, 80%), transparent);
}

/* =====================================================================
 * SCENES LAYOUT (layout = scenes, battery page, 27 Nov 2026)
 * Three option tabs, each a wiring drawing plus its facts. With no script:
 * tabs hidden, option 1 shown, the full table open below. The script adds
 * data-flow, which shows the tabs, folds the table behind "Compare all three"
 * and lets the scenes cross-fade.
 * ===================================================================== */
.ge-ty--scenes .ge-ty__opts { display: none; }
.ge-ty--scenes[data-flow] .ge-ty__opts {
  display: grid; grid-template-columns: repeat(var(--ge-ty-n, 3), minmax(0, 1fr)); gap: var(--ge-ty-otab-gap, 12px);
  margin-top: var(--ge-ty-body-gap, 40px);
}
.ge-ty__opts .ge-ty__otab {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: var(--ge-ty-inner-gap, 12px);
  min-width: 0; min-height: var(--ge-ty-otab-minh, 92px); margin: 0; cursor: pointer; text-align: left;
  padding: var(--ge-ty-otab-pad, 16px 20px 18px);
  border: 1px solid var(--ge-ty-otab-line, var(--ge-hair)); border-radius: var(--ge-ty-otab-radius, 20px);
  background: var(--ge-ty-otab-bg, var(--ge-card)); color: var(--ge-ty-otab-fg, var(--ge-ink));
  font-family: inherit; /* trap 45 */
  transition: background-color var(--ge-dur-base, 300ms) var(--ge-ease-out), color var(--ge-dur-base, 300ms) var(--ge-ease-out), translate var(--ge-dur-base, 300ms) var(--ge-ease-out), box-shadow var(--ge-dur-base, 300ms) var(--ge-ease-out);
}
.ge-ty__opts .ge-ty__otab:hover { translate: 0 -2px; box-shadow: var(--ge-ty-beam-shadow, var(--ge-shadow-float)); }
.ge-ty__opts .ge-ty__otab:focus-visible { outline: 2px solid var(--ge-ty-sys-deep, var(--ge-ink)); outline-offset: 3px; }
.ge-ty__opts .ge-ty__otab[aria-selected="true"] {
  background: var(--ge-ty-otab-on-bg, var(--ge-ink)); color: var(--ge-ty-otab-on-fg, var(--ge-card)); border-color: var(--ge-ty-otab-on-bg, var(--ge-ink));
  box-shadow: var(--ge-ty-beam-shadow, var(--ge-shadow-float));
}
/* the system colour runs along the foot of the chosen tab, like charge */
.ge-ty__opts .ge-ty__otab::after {
  content: ""; position: absolute; left: var(--ge-ty-otab-radius, 20px); right: var(--ge-ty-otab-radius, 20px); bottom: -1px; height: var(--ge-ty-beam-top, 4px);
  border-radius: var(--ge-ty-round, 999px); background: var(--ge-ty-sys, var(--ge-green));
  transform: scaleX(0); transform-origin: left center; transition: transform var(--ge-ty-draw-dur, 900ms) var(--ge-ease-out);
}
.ge-ty__opts .ge-ty__otab[aria-selected="true"]::after { transform: scaleX(1); }
.ge-ty__onum { font-family: var(--ge-font-mono); font-size: 12px; font-weight: 500; letter-spacing: .14em; line-height: 1; }
.ge-ty__otab .ge-ty__onum { color: var(--ge-ty-sys-deep, var(--ge-body)); }
.ge-ty__otab[aria-selected="true"] .ge-ty__onum { color: var(--ge-ty-sys, var(--ge-green)); }
.ge-ty__oname { font-size: 17px; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }

/* ---- the stage: scenes stacked in one cell so they cross-fade ------------ */
.ge-ty__stage { display: grid; margin-top: var(--ge-ty-body-gap, 40px); }
.ge-ty--scenes[data-flow] .ge-ty__stage { margin-top: var(--ge-ty-sc-gap, 16px); }
.ge-ty__scene {
  grid-area: 1 / 1; min-width: 0;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--ge-ty-sc-cols-gap, 48px); align-items: center;
  padding: var(--ge-ty-stage-pad, 28px); border-radius: var(--ge-ty-stage-radius, 28px);
  background: var(--ge-ty-stage-bg, var(--ge-card)); box-shadow: var(--ge-ty-beam-shadow, var(--ge-shadow-float));
  transition: opacity var(--ge-ty-dur, 700ms) var(--ge-ease-out), translate var(--ge-ty-dur, 700ms) var(--ge-ease-out), visibility 0s;
}
@media (min-width: 900px) { .ge-ty__scene { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }
.ge-ty--scenes[data-flow] .ge-ty__scene:not(.is-on) { opacity: 0; translate: 0 12px; visibility: hidden; pointer-events: none; transition-delay: 0s, 0s, var(--ge-ty-dur, 700ms); }
.ge-ty--scenes[data-flow] .ge-ty__scene.is-on { opacity: 1; translate: 0 0; visibility: visible; }

.ge-ty__fig { margin: 0; min-width: 0; border-radius: var(--ge-ty-fig-radius, 20px); background: var(--ge-ty-fig-bg, var(--ge-panel)); padding: var(--ge-ty-fig-pad, 16px 16px 0); overflow: hidden; }
.ge-ty__svg { display: block; width: 100%; height: auto; overflow: visible; }
.ge-ty__cap { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--ge-ty-fact-gap, 6px) var(--ge-ty-inner-gap, 12px); padding: var(--ge-ty-cap-pad, 14px 4px 18px); border-top: 1px solid var(--ge-ty-rule, var(--ge-hair)); }
.ge-ty__caplab { font-family: var(--ge-font-mono); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.ge-ty__cap .ge-ty__caplab { color: var(--ge-ty-flab, var(--ge-body)); }
.ge-ty__capval { font-size: 16px; font-weight: 600; line-height: 1.4; }
.ge-ty__cap .ge-ty__capval { color: var(--ge-ty-fval, var(--ge-ink)); }

/* drawing */
.ge-ty__nbox { fill: var(--ge-ty-node-bg, var(--ge-card)); stroke: var(--ge-ty-node-line, var(--ge-hair)); stroke-width: 1.5; }
.ge-ty__node.is-new .ge-ty__nbox { stroke: var(--ge-ty-sys, var(--ge-green)); stroke-width: 2; }
.ge-ty__halo { fill: var(--ge-ty-sys, var(--ge-green)); opacity: var(--ge-ty-halo-alpha, 16%); }
.ge-ty__node.is-ghost .ge-ty__nbox { fill: none; stroke: var(--ge-ty-nlab, var(--ge-body)); stroke-dasharray: 6 7; opacity: var(--ge-ty-ghost-alpha, 45%); }
.ge-ty__node.is-ghost .ge-ty__nlab { text-decoration: line-through; opacity: var(--ge-ty-ghost-alpha, 45%); }
.ge-ty__icon { fill: none; stroke: var(--ge-ty-icon, var(--ge-ink)); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ge-ty__icon .ge-ty__glow { fill: var(--ge-ty-sys, var(--ge-green)); stroke: none; }
.ge-ty__nlab { font-family: inherit; font-size: 14px; font-weight: 600; }
.ge-ty__node .ge-ty__nlab { fill: var(--ge-ty-nlab, var(--ge-body)); }

.ge-ty__track { fill: none; stroke: color-mix(in srgb, var(--ge-ty-wire, var(--ge-muted)) var(--ge-ty-wire-alpha, 30%), transparent); stroke-width: var(--ge-ty-wire-w, 4px); stroke-linecap: round; stroke-linejoin: round; }
.ge-ty__dots { fill: none; stroke-width: var(--ge-ty-dot, 7px); stroke-linecap: round; stroke-dasharray: 0 var(--ge-ty-gap, 10); }
.ge-ty__chev { fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.ge-ty__flow--batt { --ge-ty-fc: var(--ge-ty-sys, var(--ge-green)); }
.ge-ty__flow--solar { --ge-ty-fc: var(--ge-ty-solar, var(--ge-sys-solar)); }
.ge-ty__flow--grid { --ge-ty-fc: var(--ge-ty-gridflow, var(--ge-muted)); }
.ge-ty__dots, .ge-ty__chev { stroke: var(--ge-ty-fc); }
/* Motion only when allowed and the script is running: the wire draws in, then
   the energy runs. Without either, the drawing is static and the chevrons
   carry the direction. */
@media (prefers-reduced-motion: no-preference) {
  .ge-ty--scenes[data-flow] .ge-ty__chev { opacity: 0; }
  .ge-ty--scenes[data-flow] .ge-ty__scene.is-on .ge-ty__track { stroke-dasharray: 100; animation: ge-ty-draw var(--ge-ty-draw-dur, 900ms) var(--ge-ease-out) both; animation-delay: calc(var(--ge-ty-k, 0) * 90ms); }
  .ge-ty--scenes[data-flow] .ge-ty__scene.is-on .ge-ty__dots { animation: ge-ty-fade var(--ge-ty-draw-dur, 900ms) var(--ge-ease-out) both, ge-ty-run var(--ge-ty-flow-dur, 420ms) linear infinite; animation-delay: calc(var(--ge-ty-k, 0) * 90ms + var(--ge-ty-draw-dur, 900ms) * .6), 0s; }
  .ge-ty--scenes[data-flow] .ge-ty__scene.is-on .ge-ty__halo { animation: ge-ty-breathe 2.6s var(--ge-ease-in-out, ease-in-out) infinite; }
  .ge-ty--scenes[data-flow] .ge-ty__scene:not(.is-on) .ge-ty__dots { animation: none; }
}
@keyframes ge-ty-draw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes ge-ty-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes ge-ty-run { to { stroke-dashoffset: calc(var(--ge-ty-gap, 10) * -1); } }
@keyframes ge-ty-breathe { 50% { opacity: .32; } }

/* facts */
.ge-ty__facts { min-width: 0; }
.ge-ty__sname { display: flex; align-items: baseline; gap: var(--ge-ty-inner-gap, 12px); margin: 0 0 var(--ge-ty-sname-mb, 12px); font-size: 24px; font-weight: 700; line-height: 1.2; letter-spacing: -.02em; }
.ge-ty__facts .ge-ty__sname { color: var(--ge-ty-sname, var(--ge-ink)); }
.ge-ty__snum { font-family: var(--ge-font-mono); font-size: 13px; font-weight: 500; letter-spacing: .14em; }
.ge-ty__sname .ge-ty__snum { color: var(--ge-ty-sys-deep, var(--ge-body)); }
.ge-ty__list { margin: 0; }
.ge-ty__list .ge-ty__fact { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--ge-ty-fact-gap, 6px); padding: var(--ge-ty-fact-py, 14px) 0; border-top: 1px solid var(--ge-ty-rule, var(--ge-hair)); }
.ge-ty__flab { font-family: var(--ge-font-mono); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.ge-ty__list .ge-ty__flab { margin: 0; color: var(--ge-ty-flab, var(--ge-body)); }
.ge-ty__fval { font-size: 16px; font-weight: 500; line-height: 1.45; }
.ge-ty__list .ge-ty__fval { display: flex; align-items: center; gap: var(--ge-ty-inner-gap, 12px); margin: 0; color: var(--ge-ty-fval, var(--ge-ink)); }
.ge-ty__mkw { flex: none; display: grid; place-items: center; width: var(--ge-ty-mark, 26px); height: var(--ge-ty-mark, 26px); border-radius: var(--ge-ty-round, 999px); background: color-mix(in srgb, var(--ge-ty-sys, var(--ge-green)) 18%, transparent); color: var(--ge-ty-sys-deep, var(--ge-ink)); }
.ge-ty__mkw .ge-ty__mk { width: var(--ge-ty-mark-icon, 60%); height: var(--ge-ty-mark-icon, 60%); }
.ge-ty__fact[data-mark="yes"] .ge-ty__mkw { background: var(--ge-ty-yes, var(--ge-green)); color: var(--ge-ty-yes-fg, var(--ge-ink)); }
.ge-ty__fact[data-mark="no"] .ge-ty__mkw { background: var(--ge-ty-no, var(--ge-hair)); color: var(--ge-ty-no-fg, var(--ge-body)); }
.ge-ty__fact[data-mark="no"] .ge-ty__fval { color: var(--ge-ty-no-fg, var(--ge-body)); }
@media (min-width: 640px) and (max-width: 899px) { .ge-ty__facts .ge-ty__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--ge-ty-sc-cols-gap, 48px); } }
/* the rows settle one after another when a scene arrives */
@media (prefers-reduced-motion: no-preference) {
  .ge-ty--scenes[data-flow] .ge-ty__scene.is-on .ge-ty__fact { animation: ge-ty-ripple var(--ge-ty-dur, 700ms) var(--ge-ease-out) both; animation-delay: calc(var(--ge-ty-r, 1) * 50ms); }
}

/* compare all three */
.ge-ty--scenes .ge-ty__more { display: none; }
.ge-ty--scenes[data-flow] .ge-ty__more {
  display: inline-flex; align-items: center; gap: var(--ge-ty-inner-gap, 12px); margin: var(--ge-ty-more-mt, 24px) 0 0; cursor: pointer;
  padding: var(--ge-ty-more-pad, 12px 20px); border: 1px solid var(--ge-ty-more-line, var(--ge-hair)); border-radius: var(--ge-ty-round, 999px);
  background: var(--ge-ty-otab-bg, var(--ge-card)); color: var(--ge-ty-more-fg, var(--ge-ink));
  font-family: inherit; /* trap 45 */
}
.ge-ty__more { font-size: 15px; font-weight: 600; line-height: 1.2; }
.ge-ty__more:focus-visible { outline: 2px solid var(--ge-ty-sys-deep, var(--ge-ink)); outline-offset: 3px; }
.ge-ty__more .ge-ty__morei { width: var(--ge-ty-more-icon, 18px); height: var(--ge-ty-more-icon, 18px); transition: rotate var(--ge-dur-base, 300ms) var(--ge-ease-out); }
.ge-ty__more[aria-expanded="true"] .ge-ty__morei { rotate: 180deg; }
.ge-ty__cmp { margin-top: var(--ge-ty-more-mt, 24px); }
.ge-ty__scroll { overflow-x: auto; border-radius: var(--ge-ty-card-radius, 22px); background: var(--ge-ty-beam-bg, var(--ge-card)); }
.ge-ty__scroll .ge-ty__ctable { width: 100%; min-width: 640px; margin: 0; border: 0; border-collapse: collapse; table-layout: fixed; background: transparent; }
.ge-ty__ctable th, .ge-ty__ctable td { border: 0; background: transparent; text-align: left; vertical-align: top; padding: var(--ge-ty-cell-pad, 16px 20px); }
.ge-ty__ctable tbody tr { border-top: 1px solid var(--ge-ty-rule, var(--ge-hair)); }
.ge-ty__ctable .ge-ty__ccorner { width: var(--ge-ty-label-w, 220px); }
.ge-ty__chead { font-size: 15px; font-weight: 700; line-height: 1.35; }
.ge-ty__ctable .ge-ty__chead { color: var(--ge-ty-opt-on, var(--ge-ink)); }
.ge-ty__clabel { font-family: var(--ge-font-mono); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.ge-ty__ctable .ge-ty__clabel { color: var(--ge-ty-label-color, var(--ge-body)); }
.ge-ty__ccell { font-size: 15px; line-height: 1.5; }
.ge-ty__ctable .ge-ty__ccell { color: var(--ge-ty-cell-color, var(--ge-body)); }

/* footnote as a small note */
.ge-ty__note { font-size: 13px; line-height: 1.6; }
.ge-ty--scenes .ge-ty__note {
  display: flex; gap: var(--ge-ty-inner-gap, 12px); align-items: flex-start; max-width: var(--ge-ty-foot-measure, 80ch); margin: var(--ge-ty-foot-mt, 28px) 0 0;
  padding: var(--ge-ty-note-pad, 14px 18px); border-radius: var(--ge-ty-card-radius, 22px); background: var(--ge-ty-note-bg, var(--ge-card));
  color: color-mix(in srgb, var(--ge-ty-foot-color, var(--ge-body)) var(--ge-ty-foot-alpha, 80%), transparent);
}
.ge-ty__notei {
  flex: none; display: grid; place-items: center; width: var(--ge-ty-notei, 22px); height: var(--ge-ty-notei, 22px); border-radius: var(--ge-ty-round, 999px);
  background: color-mix(in srgb, var(--ge-ty-sys, var(--ge-green)) 22%, transparent); color: var(--ge-ty-sys-deep, var(--ge-ink));
}
.ge-ty__notei { font-family: var(--ge-font-mono); font-size: 12px; font-weight: 600; font-style: normal; }

/* phones: numbers in a segmented control, full title on the scene itself */
@media (max-width: 639px) {
  .ge-ty--scenes[data-flow] .ge-ty__opts { gap: var(--ge-ty-track-pad, 4px); padding: var(--ge-ty-track-pad, 4px); border-radius: var(--ge-ty-tab-radius, 999px); background: var(--ge-ty-tab-bg, var(--ge-card)); }
  .ge-ty__opts .ge-ty__otab { min-height: 0; align-items: center; padding: var(--ge-ty-tab-pad, 10px 8px); border: 0; border-radius: var(--ge-ty-tab-radius, 999px); background: transparent; }
  .ge-ty__opts .ge-ty__otab::after { display: none; }
  .ge-ty__opts .ge-ty__otab:hover { translate: none; box-shadow: none; }
  .ge-ty__opts .ge-ty__oname { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .ge-ty__onum { font-size: 14px; }
  .ge-ty__scene { padding: var(--ge-ty-stage-pad-sm, 12px 12px 20px); }
  .ge-ty__fig { padding: var(--ge-ty-fig-pad-sm, 8px 4px 0); }
  .ge-ty__sname { font-size: 20px; }
  .ge-ty__nlab { font-size: 24px; }
  /* the full option title leads the scene on a phone, the tabs only carry numbers */
  .ge-ty__scene { gap: var(--ge-ty-sc-cols-gap, 16px); }
  .ge-ty__scene .ge-ty__facts { display: contents; }
  .ge-ty__scene .ge-ty__sname { order: -1; margin: 0; padding: var(--ge-ty-sname-pad-sm, 8px 8px 0); }
  .ge-ty__scene .ge-ty__list { padding-inline: var(--ge-ty-facts-px-sm, 8px); }
}

@media (prefers-reduced-motion: reduce) {
  .ge-ty *, .ge-ty *::before { animation: none !important; transition: none !important; }
}

/* ================================================= SWITCHER LAYOUT ====
 * Built 1 Dec 2026 (ge-battery-v3, item 03). The approved coded mock's
 * "Three ways to add a battery": a dark band, a roof question as a pill
 * switcher, one wiring diagram (src/Support/Wiring_Diagram.php, ge-wd__*),
 * a white verdict card, four fact tiles and the full table folded in a
 * <details>. Every class is ge-tysw__* or ge-wd__*, new to this file, so
 * no rule of the table or scenes layouts can reach it (checklist 62).
 *
 * Colours: the mock's ink-2 and ink-3 are not tokens. They are the band
 * mixed toward the product tint (--ge-sys-battery-deep) in OKLCH, which
 * lands within a few hundredths of the mock's lightness and chroma; the
 * mock's on-ink greys are the foreground at an alpha. Every fallback below
 * equals its control default (trap 14).
 *
 * Product tint (item 07, 1 Dec): the tint, tag and accent node fall back
 * through the widget's own System colour (--ge-ty-sys-deep / --ge-ty-sys,
 * written inline by Faq_Widget::sys_vars) before battery violet. On the
 * battery page that IS battery violet, so it equals the control default;
 * the solar, hot water and aircon v3 builds also pass the matching globals,
 * so the control and the fallback agree there too. Without this, a site
 * whose kit has no globals (every local Playground) paints battery violet
 * on every product.
 */
.ge-wd [hidden] { display: none !important; }

/* Warm product tints (item 07, 1 Dec): mixing the navy band toward solar's
   or hot water's deep colour IN OKLCH takes the short way round the hue
   wheel, 265 to 86 or 56 through magenta, so the raised surfaces came out
   purple on the solar and hot water pages. OKLab mixes in a straight line
   (no hue path), which keeps them a warm navy. Battery (hue 300, next to the
   navy) and heating (254) stay in OKLCH, exactly as before. The selector
   reads the System colour Faq_Widget::sys_vars() writes inline. */
.ge-ty--switcher[style*="--ge-sys-solar)"],
.ge-ty--switcher[style*="--ge-sys-hotwater)"] {
  --ge-tysw-s1: color-mix(in oklab, var(--ge-tysw-band, var(--ge-ink)), var(--ge-tysw-tint, var(--ge-ty-sys-deep, var(--ge-sys-battery-deep))) var(--ge-tysw-s1-a, 18%));
  --ge-tysw-s2: color-mix(in oklab, var(--ge-tysw-band, var(--ge-ink)), var(--ge-tysw-tint, var(--ge-ty-sys-deep, var(--ge-sys-battery-deep))) var(--ge-tysw-s2-a, 30%));
}

.ge-ty--switcher {
  --ge-tysw-s1: color-mix(in oklch, var(--ge-tysw-band, var(--ge-ink)), var(--ge-tysw-tint, var(--ge-ty-sys-deep, var(--ge-sys-battery-deep))) var(--ge-tysw-s1-a, 18%));
  --ge-tysw-s2: color-mix(in oklch, var(--ge-tysw-band, var(--ge-ink)), var(--ge-tysw-tint, var(--ge-ty-sys-deep, var(--ge-sys-battery-deep))) var(--ge-tysw-s2-a, 30%));
  --ge-tysw-line: color-mix(in srgb, var(--ge-tysw-fg, var(--ge-card)) var(--ge-tysw-line-a, 8%), transparent);
  --ge-tysw-soft: color-mix(in srgb, var(--ge-tysw-fg, var(--ge-card)) var(--ge-tysw-soft-a, 80%), transparent);
  --ge-tysw-mute: color-mix(in srgb, var(--ge-tysw-fg, var(--ge-card)) var(--ge-tysw-mute-a, 56%), transparent);
}

/* ---- the band --------------------------------------------------------- */
.ge-ty__panel.ge-tysw {
  color: var(--ge-tysw-fg, var(--ge-card));
  /* the violet orb top right is a gradient, not a pseudo element: the mock's
     720px circle at right -240 / top -300, fading out at 65% of its corner */
  background:
    radial-gradient(circle at calc(100% - var(--ge-tysw-orb-x, 120px)) var(--ge-tysw-orb-y, 60px),
      color-mix(in srgb, var(--ge-tysw-tint, var(--ge-ty-sys-deep, var(--ge-sys-battery-deep))) var(--ge-tysw-orb-a, 32%), transparent) 0, transparent var(--ge-tysw-orb, 331px)),
    var(--ge-tysw-band, var(--ge-ink));
  border-radius: var(--ge-tysw-radius, 32px);
  padding: var(--ge-tysw-pad, 100px 40px);
}
.ge-tysw .ge-intro__eyebrow { color: var(--ge-tysw-mute); }
.ge-tysw .ge-intro__heading { color: var(--ge-tysw-fg, var(--ge-card)); }
.ge-tysw .ge-intro__heading .ge-hl { color: var(--ge-tysw-accent, var(--ge-green)); }
.ge-tysw .ge-ty__standfirst { color: var(--ge-tysw-soft); max-width: var(--ge-tysw-sf-measure, 50ch); }

/* ---- the question and the pill switcher ------------------------------- */
/* With no script the switcher would be buttons that do nothing, so it shows
   only once types.js has set data-flow. Option 1 and the table are the no
   script page. */
.ge-ty--switcher:not([data-flow]) .ge-tysw__ask { display: none; }
.ge-tysw__q {
  margin: var(--ge-tysw-q-mt, 44px) 0 0;
  font-family: var(--ge-font-mono); font-size: 12px; font-weight: 500; line-height: 1; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ge-tysw-mute);
}
.ge-tysw__seg {
  position: relative; display: inline-grid; grid-template-columns: repeat(var(--ge-tysw-n, 3), auto);
  margin-top: var(--ge-tysw-seg-mt, 14px); padding: var(--ge-tysw-seg-pad, 6px);
  border-radius: var(--ge-tysw-seg-radius, 999px);
  background: var(--ge-tysw-s1); border: var(--ge-tysw-hair, 1px) solid var(--ge-tysw-line);
}
.ge-tysw__thumb {
  position: absolute; z-index: 0; left: 0; top: var(--ge-tysw-seg-pad, 6px); bottom: var(--ge-tysw-seg-pad, 6px);
  width: var(--ge-tysw-tw, 0px); translate: var(--ge-tysw-tx, 0px) var(--ge-tysw-ty, 0px);
  border-radius: var(--ge-tysw-seg-radius, 999px);
  background: var(--ge-tysw-accent, var(--ge-green));
  transition: translate var(--ge-tysw-dur, 500ms) cubic-bezier(.23, 1, .32, 1), width var(--ge-tysw-dur, 500ms) cubic-bezier(.23, 1, .32, 1), height var(--ge-tysw-dur, 500ms) cubic-bezier(.23, 1, .32, 1);
}
.ge-tysw__seg .ge-tysw__tab {
  position: relative; z-index: 1; margin: 0; border: 0; background: none; cursor: pointer; white-space: nowrap;
  font-family: inherit; font-size: 15.68px; font-weight: 700; line-height: 1.2;
  color: var(--ge-tysw-soft);
  min-height: var(--ge-tysw-tab-minh, 40px);
  padding: var(--ge-tysw-tab-pad, 14px 22px);
  border-radius: var(--ge-tysw-seg-radius, 999px);
  transition: color 300ms cubic-bezier(.23, 1, .32, 1);
}
.ge-tysw__seg .ge-tysw__tab[aria-selected="true"] { color: var(--ge-tysw-on-fg, var(--ge-ink)); }
.ge-tysw__seg .ge-tysw__tab:focus-visible,
.ge-tysw__cmp .ge-tysw__sum:focus-visible,
.ge-tysw__info .ge-tysw__panel:focus-visible {
  outline: var(--ge-tysw-ring-w, 3px) solid var(--ge-tysw-accent, var(--ge-green)); outline-offset: 3px;
}

/* ---- the scene: diagram + verdict + tiles ---------------------------- */
.ge-tysw__scene {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: var(--ge-tysw-gap, 28px); margin-top: var(--ge-tysw-scene-mt, 28px);
}
.ge-tysw__fig {
  position: relative; margin: 0;
  border-radius: var(--ge-tysw-card-radius, 24px);
  background: var(--ge-tysw-s1); border: var(--ge-tysw-hair, 1px) solid var(--ge-tysw-line);
  padding: var(--ge-tysw-fig-pad, 24px);
}
.ge-tysw__fig .ge-wd { display: block; width: 100%; height: auto; overflow: visible; }
/* A config with a phone geometry prints two drawings; only one shows. */
.ge-tysw__fig .ge-wd--phone { display: none; }
.ge-tysw__fig .ge-tysw__cap { margin-top: var(--ge-tysw-cap-mt, 12px); font-size: 14.72px; line-height: 1.6; color: var(--ge-tysw-soft); }

.ge-tysw__info { display: flex; flex-direction: column; min-width: 0; }
.ge-tysw__info .ge-tysw__panel { display: flex; flex-direction: column; gap: var(--ge-tysw-info-gap, 14px); border-radius: var(--ge-tysw-card-radius, 24px); }
.ge-tysw__verdict {
  border-radius: var(--ge-tysw-card-radius, 24px);
  padding: var(--ge-tysw-verdict-pad, 26px 26px 24px);
  background: var(--ge-tysw-card, var(--ge-card)); color: var(--ge-tysw-card-fg, var(--ge-ink));
}
.ge-tysw__verdict .ge-tysw__tag { display: block; font-family: var(--ge-font-mono); font-size: 11px; font-weight: 500; line-height: 1; letter-spacing: .16em; text-transform: uppercase; color: var(--ge-tysw-tag, var(--ge-ty-sys-deep, var(--ge-sys-battery-deep))); }
.ge-tysw__verdict .ge-tysw__title {
  margin: var(--ge-tysw-title-m, 10px 0 6px); padding: 0;
  font-family: inherit; font-size: 25.6px; font-weight: 800; line-height: 1.12; letter-spacing: -.03em;
  color: var(--ge-tysw-card-fg, var(--ge-ink));
}
.ge-tysw__verdict .ge-tysw__best { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ge-tysw-best, var(--ge-body)); }
.ge-tysw__badge {
  display: inline-flex; align-items: center; gap: var(--ge-tysw-badge-gap, 8px);
  margin-top: var(--ge-tysw-badge-mt, 16px); padding: var(--ge-tysw-badge-pad, 8px 14px);
  border-radius: var(--ge-tysw-badge-radius, 999px);
  font-size: 15.2px; font-weight: 700; line-height: 1.6;
}
.ge-tysw__badge.is-yes { background: var(--ge-tysw-yes, var(--ge-green)); color: var(--ge-tysw-yes-fg, var(--ge-ink)); }
.ge-tysw__badge.is-no { background: var(--ge-tysw-no, var(--ge-panel)); color: var(--ge-tysw-no-fg, var(--ge-body)); }
.ge-tysw__badge .ge-tysw__bi { flex: none; width: var(--ge-tysw-bi, 16px); height: var(--ge-tysw-bi, 16px); }

.ge-tysw__tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--ge-tysw-info-gap, 14px); margin: 0; }
.ge-tysw__tiles .ge-tysw__tile {
  margin: 0; border-radius: var(--ge-tysw-tile-radius, 20px); padding: var(--ge-tysw-tile-pad, 18px 20px);
  background: var(--ge-tysw-s1); border: var(--ge-tysw-hair, 1px) solid var(--ge-tysw-line);
}
.ge-tysw__tile .ge-tysw__k { display: block; margin: 0 0 var(--ge-tysw-k-mb, 8px); font-family: var(--ge-font-mono); font-size: 11px; font-weight: 500; line-height: 1.2; letter-spacing: .14em; text-transform: uppercase; color: var(--ge-tysw-mute); }
.ge-tysw__tile .ge-tysw__v { margin: 0; font-size: 16.32px; font-weight: 600; line-height: 1.35; color: var(--ge-tysw-fg, var(--ge-card)); }

/* the swap: the new answer rises in (individual property, so hover can never be fought: playbook) */
@keyframes ge-tysw-in { from { opacity: 0; translate: 0 6px; } }
.ge-ty--switcher[data-flow] .ge-tysw__panel.is-in,
.ge-ty--switcher[data-flow] .ge-tysw__cap.is-in { animation: ge-tysw-in var(--ge-tysw-swap, 300ms) cubic-bezier(.23, 1, .32, 1); }

/* ---- compare all three ------------------------------------------------ */
.ge-tysw__cmp { margin-top: var(--ge-tysw-cmp-mt, 28px); padding-top: var(--ge-tysw-cmp-pt, 20px); border-top: var(--ge-tysw-hair, 1px) solid var(--ge-tysw-line); }
.ge-tysw__cmp .ge-tysw__sum {
  display: inline-flex; align-items: center; gap: var(--ge-tysw-sum-gap, 8px); cursor: pointer; list-style: none;
  min-height: var(--ge-tysw-tab-minh, 40px);
  font-size: 17px; font-weight: 700; line-height: 1.6; color: var(--ge-tysw-accent, var(--ge-green));
}
.ge-tysw__cmp .ge-tysw__sum::-webkit-details-marker { display: none; }
.ge-tysw__cmp .ge-tysw__sum::after { content: "+"; font-size: 19.2px; line-height: 1; }
.ge-tysw__cmp[open] .ge-tysw__sum::after { content: "\2212"; }
.ge-tysw__cmp .ge-tysw__scroll { overflow-x: auto; margin-top: var(--ge-tysw-scroll-mt, 18px); }
.ge-tysw__scroll .ge-tysw__table { width: 100%; min-width: var(--ge-tysw-table-min, 640px); margin: 0; border: 0; border-collapse: collapse; background: transparent; font-size: 15.2px; line-height: 1.6; }
.ge-tysw__table .ge-tysw__th, .ge-tysw__table .ge-tysw__rh, .ge-tysw__table .ge-tysw__td {
  text-align: left; vertical-align: top; background: transparent; border: 0;
  padding: var(--ge-tysw-cell-pad, 12px 14px);
  border-bottom: var(--ge-tysw-hair, 1px) solid var(--ge-tysw-line);
}
.ge-tysw__table .ge-tysw__th { font-size: 15.2px; font-weight: 700; color: var(--ge-tysw-fg, var(--ge-card)); }
.ge-tysw__table .ge-tysw__rh { width: var(--ge-tysw-rh-w, 22%); font-family: var(--ge-font-mono); font-size: 11px; font-weight: 500; line-height: 1.3; letter-spacing: .14em; text-transform: uppercase; color: var(--ge-tysw-mute); }
.ge-tysw__table .ge-tysw__td { font-size: 15.2px; color: var(--ge-tysw-soft); }

.ge-tysw .ge-tysw__note { position: relative; margin: var(--ge-tysw-note-mt, 24px) 0 0; max-width: var(--ge-tysw-note-measure, 72ch); font-size: 15.3px; line-height: 1.6; color: var(--ge-tysw-mute); }

/* ---- the diagram (Wiring_Diagram, ge-wd__*) --------------------------- */
.ge-wd__box { fill: var(--ge-tysw-s2); stroke: color-mix(in srgb, var(--ge-tysw-fg, var(--ge-card)) var(--ge-wd-line-a, 12%), transparent); stroke-width: 1; }
.ge-wd__node.is-accent .ge-wd__box { fill: var(--ge-wd-accent, var(--ge-ty-sys-deep, var(--ge-sys-battery-deep))); stroke: var(--ge-wd-accent-line, var(--ge-ty-sys, var(--ge-sys-battery))); }
.ge-wd__lab { fill: var(--ge-tysw-fg, var(--ge-card)); font-family: var(--ge-font-sans); font-size: 13px; font-weight: 600; text-anchor: middle; }
.ge-wd__sub { fill: var(--ge-tysw-mute); font-family: var(--ge-font-mono); font-size: 9.5px; font-weight: 500; letter-spacing: .12em; text-anchor: middle; }
.ge-wd__elab { fill: var(--ge-tysw-soft); font-family: var(--ge-font-mono); font-size: 9.5px; font-weight: 500; letter-spacing: .12em; text-anchor: middle; }
.ge-wd__icon { color: var(--ge-tysw-fg, var(--ge-card)); }
.ge-wd__node { transition: opacity var(--ge-tysw-dur, 500ms) cubic-bezier(.23, 1, .32, 1); }
.ge-wd__node.is-off { opacity: var(--ge-wd-off-a, 25%); }

.ge-wd__edge path { fill: none; stroke-linecap: round; }
.ge-wd__edge { --ge-wd-ink: var(--ge-wd-flow, var(--ge-green)); }
.ge-wd__edge--grid { --ge-wd-ink: var(--ge-tysw-mute); }
/* glow: a second, wider stroke under the line, never an SVG filter (playbook) */
.ge-wd__glow { stroke: var(--ge-wd-ink); stroke-width: var(--ge-wd-glow-w, 8px); stroke-opacity: var(--ge-wd-glow-a, 10%); }
/* track: the edge draws itself in, pathLength=100 so one dash fits every edge */
.ge-wd__track { stroke: var(--ge-wd-ink); stroke-width: var(--ge-wd-track-w, 1px); stroke-opacity: var(--ge-wd-track-a, 22%); stroke-dasharray: 100 100; stroke-dashoffset: 100; }
/* dots: spaced from the real length (inline --ge-wd-dot/--ge-wd-gap), flowing from -> to */
.ge-wd__dots { stroke: var(--ge-wd-ink); stroke-width: var(--ge-wd-w, 2.5px); stroke-dasharray: var(--ge-wd-dot, 2) var(--ge-wd-gap, 9); }
.ge-wd__edge .ge-wd__glow, .ge-wd__edge .ge-wd__dots, .ge-wd__elab { opacity: 0; }
.ge-wd__edge.is-on .ge-wd__track { stroke-dashoffset: 0; }
.ge-wd__edge.is-on .ge-wd__glow, .ge-wd__edge.is-on .ge-wd__dots, .ge-wd__edge.is-on .ge-wd__elab { opacity: 1; }
.ge-wd__edge .ge-wd__track { transition: stroke-dashoffset var(--ge-wd-draw, 700ms) cubic-bezier(.23, 1, .32, 1); }
.ge-wd__edge .ge-wd__glow, .ge-wd__edge .ge-wd__dots, .ge-wd__edge .ge-wd__elab { transition: opacity var(--ge-tysw-dur, 500ms) cubic-bezier(.23, 1, .32, 1); }
.ge-wd__edge.is-on .ge-wd__glow, .ge-wd__edge.is-on .ge-wd__dots { transition-delay: calc(var(--ge-wd-draw, 700ms) * .4); }
@keyframes ge-wd-flow { to { stroke-dashoffset: calc(var(--ge-wd-period, 11) * -1); } }
@media (prefers-reduced-motion: no-preference) {
  .ge-wd__edge.is-on .ge-wd__dots { animation: ge-wd-flow var(--ge-wd-speed, 1000ms) linear infinite; }
}
@media (prefers-reduced-motion: reduce) {
  .ge-wd *, .ge-wd *::before { animation: none !important; transition: none !important; }
}

/* ---- tablet and phone ------------------------------------------------- */
@media (max-width: 980px) {
  .ge-tysw__scene { grid-template-columns: minmax(0, 1fr); }
  .ge-tysw__seg { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; border-radius: var(--ge-tysw-seg-radius-v, 24px); }
  .ge-tysw__thumb { left: var(--ge-tysw-seg-pad, 6px); right: var(--ge-tysw-seg-pad, 6px); top: 0; bottom: auto; width: auto; height: var(--ge-tysw-th, 0px); border-radius: var(--ge-tysw-tab-radius-v, 18px); }
  .ge-tysw__seg .ge-tysw__tab { text-align: left; white-space: normal; border-radius: var(--ge-tysw-tab-radius-v, 18px); }
}
@media (max-width: 520px) {
  .ge-ty__panel.ge-tysw { margin-inline: calc(var(--ge-tysw-out, 12px) * -1); }
  .ge-tysw__tiles { grid-template-columns: minmax(0, 1fr); }
  .ge-tysw__fig { padding: var(--ge-tysw-fig-pad-sm, 14px 10px); }
  .ge-wd__lab { font-size: 16px; }
  /* Phone drawing (Wiring_Diagram phone geometry, readability fix 1 Dec):
     about 1.05 screen px per unit at 390, so 15 units reads about 15.7px. */
  .ge-tysw__fig .ge-wd--wide { display: none; }
  .ge-tysw__fig .ge-wd--phone { display: block; }
  .ge-wd--phone .ge-wd__lab { font-size: var(--ge-wd-lab-sm, 15px); }
  .ge-wd__node.has-sub .ge-wd__lab { translate: 0 6.5px; }
  .ge-wd__sub, .ge-wd__elab { display: none; }
}
