/* WattVela · light energy workspace. */
.menu-toggle .menu-icon { display: inline-block; position: relative; width: 22px; height: 18px; flex: 0 0 22px; font-size: 0; background: linear-gradient(currentColor,currentColor) center / 100% 2px no-repeat; }
.menu-toggle .menu-icon::before, .menu-toggle .menu-icon::after { content: ''; position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; transition: transform .15s; }
.menu-toggle .menu-icon::before { top: 0; }
.menu-toggle .menu-icon::after { bottom: 0; }
.menu-toggle[aria-expanded="true"] { color: #174cff; }
.menu-toggle[aria-expanded="true"] .menu-icon { background: none; }
.menu-toggle[aria-expanded="true"] .menu-icon::before { top: 8px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon::after { bottom: 8px; transform: rotate(-45deg); }
.solutions-panel .audience-group > summary { cursor: pointer; color: #123e7b; padding: 12px 0; font-size: 16px; font-weight: 650; }
.solutions-panel .audience-group > summary:is(:hover,:focus-visible) { color: #174cff; }
.contact-options { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; margin: 35px 0; }
.contact-options article { border-top: 2px solid #174cff; padding-top: 22px; }
.contact-options h2 { font-size: 22px; line-height: 1.3; }
.contact-options p { line-height: 1.65; }
.contact-options a { display: inline-block; padding: 12px 0; font-weight: 650; }
.contact-address { padding-top: 28px; border-top: 1px solid #d6e0f0; }
@media(max-width:780px){.contact-options{grid-template-columns:1fr;gap:24px;}}
/* Interaction feedback preserves the restored layout and avoids colour crossfades. */
main a:not(.primary-link):is(:hover,:focus-visible,:active), .site-header .brand:is(:hover,:focus-visible,:active) { color: #174cff; }
.tools a:is(:hover,:focus-visible,:active) { border-color: #174cff; background: #eef4ff; }
.tools a:is(:hover,:focus-visible,:active) strong, .tools a:is(:hover,:focus-visible,:active) b { color: #174cff; }
.tools a:is(:hover,:focus-visible,:active) b { text-decoration: underline; text-underline-offset: 4px; }
.service-tool-link:is(:hover,:focus-visible,:active) { border-color: #174cff; background: #eef4ff; }
.service-tool-link:is(:hover,:focus-visible,:active) strong { color: #174cff; }
.card-link:is(:hover,:focus-visible,:active), .secondary-link:is(:hover,:focus-visible,:active) { color: #174cff; text-decoration: underline; text-underline-offset: 4px; }
.site-footer a:not(.footer-start):is(:hover,:focus-visible,:active) { color: #9bdcff; text-decoration: underline; text-underline-offset: 4px; }
.save-controls button:not(:disabled):is(:hover,:focus-visible,:active), #privacy-clear:is(:hover,:focus-visible,:active) { background: #174cff; color: white; border-color: #174cff; }
input:is(:hover,:focus-visible), select:is(:hover,:focus-visible) { border-color: #174cff; }
#privacy-settings { position: fixed; left: 16px; bottom: 16px; z-index: 60; width: 44px; height: 44px; padding: 8px; display: grid; place-items: center; background: #092951; color: white; border: 1px solid white; border-radius: 8px; box-shadow: 0 2px 12px #09295130; }
#privacy-settings:is(:hover,:focus-visible) { color: #111b2b; background: #fff; border-color: #174cff; }
#privacy-dialog { max-width: min(520px,calc(100% - 32px)); max-height: calc(100dvh - 40px); overflow: auto; padding: 28px; border: 1px solid #aabedc; border-radius: 12px; color: #102955; background: #fff; }
#privacy-dialog::backdrop { background: #09295199; }
#privacy-dialog p { line-height: 1.65; }
#privacy-dialog form { margin-top: 16px; }
.route-back { display: inline-flex; align-items: center; gap: 12px; color: #174cff; background: transparent; border: 0; padding: 8px 0; margin-top: 26px; min-height: 44px; font-size: 14px; font-weight: 650; text-decoration: none; }
.route-back > span:first-child { font-size: 25px; }
.route-back:hover { text-decoration: underline; }
main:has(#contact-page:not([hidden])) #route-back { margin-top: 8px; }
#contact-page { margin-top: 6px; padding-top: 8px; }
.site-header .brand-copy { display: flex; flex-direction: column; gap: 1px; }
.site-header .brand-copy strong { display: block; font-weight: 780; line-height: 1.05; }
.site-header .brand-copy small { font-size: 10px; font-weight: 500; letter-spacing: 0; line-height: 1.2; color: #27415f; max-width: 165px; }
/* One inherited animation keeps the wordmark, symbol and header rule in phase. */
@property --brand-spectrum {
  syntax: '<color>';
  inherits: true;
  initial-value: #174cff;
}
.site-header { --brand-spectrum: #174cff; animation: brand-spectrum 18s ease-in-out infinite; }
.site-header::after { content: ''; position: absolute; inset: auto 0 0; height: 2px; background: var(--brand-spectrum); pointer-events: none; }
.site-header .brand-mark { color: #174cff; }
.site-header .brand-copy strong { color: var(--brand-spectrum); }
@keyframes brand-spectrum {
  0%, 100% { --brand-spectrum: #174cff; }
  35% { --brand-spectrum: #7138b8; }
  70% { --brand-spectrum: #007e82; }
}
@media (prefers-reduced-motion: reduce) { .site-header { animation: none; } }
@media (forced-colors: active) { .site-header::after { background: CanvasText; } .site-header .brand-mark, .site-header .brand-copy strong { color: LinkText; } }
@media(max-width:360px) { .site-header .brand-copy small { max-width: 120px; font-size: 9px; } }
:root {
  color-scheme: light;
  --paper: #f4f7fc;
  --surface: #ffffff;
  --ink: #102955;
  --muted: #50627c;
  --line: #d6e0f0;
  --accent: #174cff;
  --surface-blue: #edf3ff;
  --blue: #eaf7fc;
  --focus: #006f9a;
  --radius: 24px;
  --shadow: 0 18px 50px #163f8509;
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  font-synthesis: none;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
.header-controls { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.active-tool-heading { font-size: clamp(32px, 5vw, 48px); margin-top: 36px; margin-bottom: 0; }
.currency-control { grid-column: 1; margin-top: 16px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.currency-control label { margin: 0; font-size: 12px; }
.currency-control select { margin: 0; padding: 9px; width: 100px; min-height: 44px; }
.currency-control small { flex-basis: 100%; font-size: 11px; }
.language-label { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); }
#language { width: 116px; min-height: 44px; margin: 0; padding: 9px 10px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background: white; font-size: 12px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 30px; padding-top: 23px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.hero-proof span::before { content: '✓'; color: var(--accent); padding-right: 7px; }
.energy-path { stroke-dasharray: 7 11; animation: energy-flow 3s linear infinite; }
@keyframes energy-flow { to { stroke-dashoffset: -72; } }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body { margin: 0; min-width: 280px; }
a { color: inherit; text-underline-offset: 5px; }
button, input, select, textarea { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button, summary, select { cursor: pointer; }
button:disabled { cursor: default; }
svg { max-width: 100%; }
img { max-width: 100%; display: block; }
::selection { background: #c9e8ff; color: #103076; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; }
.skip { position: fixed; top: -100px; left: 20px; z-index: 100; padding: 13px 20px; background: white; border: 2px solid var(--accent); border-radius: 8px; }
.skip:focus { top: 12px; }
header, main, footer { max-width: 1240px; margin-inline: auto; padding-inline: 42px; }
header, .site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 96px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 26px; letter-spacing: -.065em; font-weight: 780; text-decoration: none; flex: 0 0 auto; }
.brand img, .brand-mark { width: 36px; height: 36px; border-radius: 10px; }
.brand span { font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a, header > a:last-child:not(.brand) { font-size: 13px; font-weight: 620; text-decoration: none; padding-block: 12px; }
.nav-links a:hover { color: var(--focus); }
.nav-links .nav-cta { padding: 12px 18px; border: 1px solid var(--accent); border-radius: 9px; background: var(--accent); color: white; }
.menu-toggle { display: none; min-height: 44px; padding: 10px 15px; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--ink); }
main { padding-bottom: 48px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--ink); }
h1 { font-size: clamp(42px, 5.4vw, 73px); line-height: 1.045; letter-spacing: -.065em; font-weight: 620; margin-bottom: 26px; }
h2 { font-size: clamp(25px, 3vw, 38px); line-height: 1.14; letter-spacing: -.045em; font-weight: 620; margin-bottom: 18px; }
h3 { font-size: 22px; letter-spacing: -.035em; font-weight: 640; line-height: 1.25; margin-bottom: 12px; }
p { line-height: 1.7; color: var(--muted); }
small { display: block; font-size: 12px; line-height: 1.7; color: var(--muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 750; line-height: 1.6; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #087cc1; flex: 0 0 auto; }
.hero { max-width: none; display: grid; grid-template-columns: 1.05fr 1fr; gap: 54px; align-items: center; padding-block: 72px 76px; }
.hero-copy { max-width: 610px; }
.hero .eyebrow { margin-bottom: 25px; }
.hero-copy > p, .hero > p { max-width: 510px; font-size: 17px; }
.hero-copy > p:last-child { margin-bottom: 0; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.button, .primary-link, button[type="submit"] { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 50px; padding: 14px 22px; border: 1px solid var(--accent); border-radius: 10px; background: var(--accent); color: white; font-size: 14px; font-weight: 650; line-height: 1.4; text-decoration: none; box-shadow: 0 4px 0 #174cff18; transition: background .18s, transform .18s; }
.button:hover, .primary-link:hover, button[type="submit"]:hover { background: #103bd1; transform: translateY(-1px); }
.button.secondary, .secondary-link { background: transparent; color: var(--ink); box-shadow: none; }
.text-link { display: inline-flex; align-items: center; gap: 15px; font-size: 13px; font-weight: 650; text-decoration: none; padding-block: 12px; }
.hero-note { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; padding-top: 22px; color: var(--muted); font-size: 11px; }
.hero-note span { display: inline-flex; align-items: center; gap: 7px; }
.hero-visual { position: relative; isolation: isolate; min-height: 365px; display: flex; align-items: center; justify-content: center; border: 1px solid #cbdcf4; border-radius: 36px 10px 36px 10px; padding: 28px; overflow: hidden; background: linear-gradient(145deg, #eef4ff 0%, #e6f6ff 100%); }
.hero-visual::before { content: ""; z-index: -1; position: absolute; inset: 0; background-image: linear-gradient(#174cff0a 1px, transparent 1px), linear-gradient(90deg, #174cff0a 1px, transparent 1px); background-size: 26px 26px; mask-image: linear-gradient(145deg, #000, transparent 85%); }
.hero-visual::after { content: ""; width: 360px; height: 360px; position: absolute; z-index: -1; border: 1px solid #174cff18; border-radius: 50%; box-shadow: 0 0 0 32px #ffffff30, 0 0 0 64px #ffffff25; }
.energy-diagram { width: 100%; overflow: visible; }
.energy-node { fill: #ffffffed; stroke: #bdd2ed; stroke-width: 1; }
.diagram-label { fill: #4b668b; font-family: "Segoe UI", system-ui, sans-serif; font-size: 10px; }
.diagram-value { fill: var(--ink); font-family: "Segoe UI", system-ui, sans-serif; font-weight: 650; font-size: 19px; }
.diagram-caption { position: absolute; bottom: 19px; left: 26px; right: 26px; color: #46678b; font-size: 10px; letter-spacing: .04em; }
.diagram-badge { position: absolute; top: 21px; right: 22px; display: inline-flex; gap: 7px; align-items: center; border: 1px solid #afc7ec; border-radius: 99px; padding: 6px 10px; background: #ffffffad; color: #23578c; font-size: 10px; font-weight: 650; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; margin-block: 22px 25px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading .eyebrow { margin-bottom: 12px; }
.section-heading > p { max-width: 370px; margin-bottom: 1px; font-size: 14px; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 65px; }
.service-card { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 27px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.service-card:nth-child(2) { background: #eef6ff; }
.service-card:nth-child(3) { background: #f1f4ff; }
.service-number { color: #516c91; font-size: 11px; font-weight: 650; font-variant-numeric: tabular-nums; }
.service-icon { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid #c8d7ef; border-radius: 13px; color: var(--accent); background: #f0f5ff; margin-block: 25px 21px; }
.service-icon svg { width: 23px; height: 23px; stroke-width: 1.5; }
.service-card h2, .service-card h3 { font-size: 24px; line-height: 1.2; margin-bottom: 12px; }
.service-card p { font-size: 13px; margin-bottom: 20px; }
.service-meta { display: inline-flex; border: 1px solid #b7ccef; border-radius: 99px; padding: 4px 9px; font-size: 10px; color: #2c5c93; font-weight: 650; margin-bottom: 16px; }
.card-link { margin-top: auto; display: inline-flex; align-items: center; justify-content: space-between; width: 100%; gap: 16px; padding-top: 18px; border-top: 1px solid #d5e1f1; text-decoration: none; font-size: 13px; font-weight: 670; }
.card-link:hover { color: var(--focus); }
.service-description { margin: 0 0 20px; max-width: 760px; }
.service-head { max-width: 860px; padding-block: 48px 30px; }
.service-head h1 { font-size: clamp(36px, 5.2vw, 60px); margin-top: 20px; }
.service-intro { font-size: 17px; max-width: 710px; }
.service-links { display: grid; gap: 14px; margin-block: 20px 38px; }
.service-links h2 { font-size: 25px; margin-bottom: 5px; }
.service-tool-link { display: flex; justify-content: space-between; align-items: center; gap: 25px; padding: 24px 26px; border: 1px solid var(--line); border-radius: 16px; background: white; text-decoration: none; transition: border-color .18s, background .18s; }
.service-tool-link:hover { border-color: var(--accent); background: #f0f5ff; }
.service-tool-link strong { display: block; color: var(--ink); font-size: 19px; line-height: 1.35; }
.service-tool-link span { display: block; color: var(--muted); font-size: 13px; line-height: 1.65; margin-top: 5px; }
.service-inputs { padding: 29px; border: 1px solid #c8d9f1; border-radius: 20px; background: #edf4ff; margin-block: 20px 40px; }
.service-inputs h2 { font-size: 25px; }
.service-inputs ul { padding-left: 20px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.service-inputs li { padding-left: 5px; margin-bottom: 9px; }
.service-note { padding-top: 18px; margin-top: 22px; border-top: 1px solid #c2d4ee; font-size: 13px; }
.tools { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-bottom: 52px; }
.tools a { display: flex; flex-direction: column; gap: 16px; min-width: 0; padding: 25px; border: 1px solid var(--line); border-radius: 18px; text-decoration: none; background: white; transition: transform .18s, border-color .18s, box-shadow .18s; }
.tools a:hover { transform: translateY(-3px); border-color: #699af0; box-shadow: var(--shadow); }
.tools a[aria-current="page"] { border: 2px solid var(--accent); background: var(--surface-blue); }
.tools a > span { font-size: 12px; line-height: 1.65; color: var(--muted); }
.tools a > span:first-child { font-size: 10px; text-transform: uppercase; letter-spacing: .09em; color: #365f96; }
.tools strong { font-size: 20px; line-height: 1.25; font-weight: 630; letter-spacing: -.025em; }
.tool-switcher, #tool-switcher { display: grid; grid-template-columns: minmax(190px, 1fr) auto; align-items: end; column-gap: 32px; margin-block: 35px 25px; }
.tool-switcher > label, #tool-switcher > label { grid-column: 1; font-size: 11px; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); }
.tool-switcher > select, #tool-switcher > select { grid-column: 1; max-width: 370px; margin: 8px 0 0; background: white; }
.save-controls { grid-column: 2; grid-row: 2; display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.save-controls button { min-height: 43px; margin: 0; padding: 10px 14px; background: white; color: var(--ink); border: 1px solid var(--line); border-radius: 8px; font-size: 12px; font-weight: 620; }
.save-controls button:first-child { border-color: #a8c4ef; background: #edf4ff; }
.save-controls button:hover { border-color: var(--accent); }
#save-status { grid-column: 1 / -1; min-height: 18px; margin: 10px 0 0; font-size: 11px; }
.workspace { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 24px; align-items: start; margin-bottom: 45px; }
.workspace form, .workspace .result { min-width: 0; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.workspace form h2, .workspace .result h2 { font-size: 27px; }
.workspace form > p, .workspace .result > p { font-size: 13px; }
.workspace form > .eyebrow { margin-bottom: 14px; }
.workspace .result { position: sticky; top: 26px; background: var(--surface-blue); border-color: #c4d6f5; }
#investment .result { background: #eaf5ff; border-color: #c3dceb; }
#backup .result { background: #eef2ff; border-color: #ccd7f0; }
.workspace .result > .eyebrow { margin-bottom: 20px; }
.workspace .result > h2 { margin-bottom: 22px; }
.workspace .result small { padding-top: 16px; border-top: 1px solid #bdcfee; }
label { display: block; margin-top: 21px; margin-bottom: 7px; color: var(--ink); font-size: 13px; line-height: 1.5; font-weight: 650; }
input, select, textarea { display: block; width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #aabedc; border-radius: 9px; background: #f8faff; color: var(--ink); font-size: 16px; font-variant-numeric: tabular-nums; line-height: 1.5; transition: border-color .15s, background .15s; }
input:hover, select:hover { border-color: #6788b7; }
input:focus, select:focus { background: white; border-color: var(--accent); }
input + small { margin-top: 7px; font-size: 11px; }
button { min-height: 44px; padding: 12px 18px; border: 1px solid var(--accent); border-radius: 9px; color: white; background: var(--accent); }
button[type="submit"] { width: 100%; margin-top: 26px; }
.amount { font-size: clamp(38px, 5vw, 62px); line-height: 1.1; font-weight: 600; letter-spacing: -.065em; color: var(--ink); font-variant-numeric: tabular-nums; margin-block: 28px 18px; }
#output > p, #investment-output > p, #backup-output > p { font-size: 14px; }
#output > .amount { font-size: clamp(38px, 5vw, 62px); }
#investment-output > p:first-child, #backup-output > p:first-child { color: var(--ink); font-size: 25px; line-height: 1.35; letter-spacing: -.035em; font-weight: 620; }
.details { padding: 31px 0; margin: 25px 0; border-bottom: 1px solid var(--line); }
.details h2 { font-size: 25px; }
.details p { max-width: 820px; font-size: 14px; }
.method-band, .price-band { display: grid; grid-template-columns: 1fr 1.25fr; gap: 50px; border-block: 1px solid var(--line); padding-block: 40px; margin-block: 48px; }
.method-band h2, .price-band h2 { font-size: 31px; }
.price-band { background: #edf4ff; padding: 35px; border: 1px solid #cddbf1; border-radius: 22px; }
.price-split { display: flex; align-items: center; gap: 28px; font-variant-numeric: tabular-nums; }
.price-split strong { display: block; font-size: 47px; letter-spacing: -.06em; font-weight: 600; color: var(--accent); }
.price-split span { font-size: 12px; color: var(--muted); }
footer, .site-footer { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px 55px; padding-block: 35px 30px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
footer .brand { font-size: 24px; margin-bottom: 13px; }
.footer-links { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 14px 25px; justify-content: flex-end; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 20px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 11px; }
#offline-status { font-size: 11px; max-width: 600px; margin-bottom: 0; }
@media (max-width: 1000px) {
  .tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  header, main, footer { padding-inline: 28px; }
  .hero { gap: 30px; padding-top: 50px; }
  h1 { font-size: 58px; }
  .hero-visual { padding: 20px; min-height: 340px; }
  .nav-links { gap: 18px; }
  .service-card { padding: 23px; }
  .service-card h2, .service-card h3 { font-size: 22px; }
}
@media (max-width: 780px) {
  header, .site-header { min-height: 78px; }
  .hero { grid-template-columns: 1fr; gap: 35px; padding-block: 45px 48px; }
  .hero-copy { max-width: 650px; }
  h1 { font-size: clamp(43px, 8vw, 64px); max-width: 620px; }
  .hero-copy > p { max-width: 560px; }
  .hero-visual { min-height: 310px; max-width: 620px; }
  .service-grid { grid-template-columns: 1fr; gap: 15px; margin-bottom: 45px; }
  .service-card { padding: 25px; }
  .service-icon { margin-block: 18px; }
  .service-card p { max-width: 520px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 17px; }
  .section-heading > p { max-width: 530px; }
  .tools { grid-template-columns: 1fr; gap: 12px; }
  .tools a { gap: 10px; }
  .workspace { grid-template-columns: 1fr; gap: 20px; }
  .workspace .result { position: static; }
  .method-band, .price-band { grid-template-columns: 1fr; gap: 20px; }
  .nav-links { gap: 15px; }
  .nav-links a { font-size: 12px; }
  .nav-links .nav-cta { padding: 10px 12px; }
  footer, .site-footer { grid-template-columns: 1fr; gap: 24px; }
  .footer-links { justify-content: flex-start; }
}
@media (max-width: 560px) {
  .service-links { grid-template-columns: minmax(0, 1fr); }
  .service-tool-link { flex-direction: column; align-items: flex-start; gap: 0; overflow-wrap: anywhere; }
  header, main, footer { padding-inline: 20px; }
  header, .site-header { gap: 12px; }
  .brand { font-size: 24px; }
  .brand img, .brand-mark { width: 32px; height: 32px; }
  .nav-links { gap: 13px; }
  .nav-links a { font-size: 11px; }
  .nav-links .nav-cta { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; }
  .site-header:has(.menu-toggle) { position: relative; }
  .site-header:has(.menu-toggle) .nav-links { position: absolute; top: calc(100% - 1px); left: 20px; right: 20px; z-index: 20; display: flex; align-items: stretch; flex-direction: column; gap: 0; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: 0 15px 30px #173f8518; }
  .site-header:has(.menu-toggle[aria-expanded="false"]) .nav-links { display: none; }
  .site-header:has(.menu-toggle) .nav-links a { padding: 13px; font-size: 14px; }
  .hero { padding-top: 35px; gap: 28px; }
  .hero .eyebrow { font-size: 10px; margin-bottom: 20px; }
  h1 { font-size: clamp(39px, 10vw, 54px); line-height: 1.07; margin-bottom: 21px; }
  .hero-copy > p { font-size: 15px; }
  .hero-actions { margin-top: 23px; gap: 10px; }
  .hero-visual { min-height: 270px; padding: 17px; border-radius: 24px 8px 24px 8px; }
  .diagram-caption { left: 18px; right: 18px; bottom: 15px; font-size: 9px; }
  .diagram-badge { top: 15px; right: 15px; font-size: 9px; }
  .tool-switcher, #tool-switcher { grid-template-columns: 1fr; gap: 0; margin-top: 26px; }
  .tool-switcher > select, #tool-switcher > select { max-width: none; }
  .save-controls { grid-column: 1; grid-row: auto; justify-content: flex-start; margin-top: 12px; gap: 7px; }
  .save-controls button { font-size: 11px; padding: 10px 12px; }
  .workspace form, .workspace .result { padding: 25px; border-radius: 20px; }
  .workspace form h2, .workspace .result h2 { font-size: 25px; }
  .price-band { padding: 26px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition: none !important; }
  .tools a:hover, .button:hover, .primary-link:hover, button[type="submit"]:hover { transform: none; }
}
@media (max-width: 560px) {
  #language { width: 84px; padding-inline: 6px; font-size: 11px; }
  .header-controls { gap: 8px; min-width: 0; }
  .menu-toggle { width: 44px; padding: 10px; font-size: 0; justify-content: center; }
  .menu-toggle span { font-size: 18px; }
}
@media (max-width: 360px) {
  .brand { font-size: 20px; gap: 8px; }
  .brand img { width: 28px; height: 28px; }
}
@media (forced-colors: active) {
  .hero-visual, .service-card, .result { border: 1px solid CanvasText; }
  .eyebrow::before { background: CanvasText; }
}

/* Editorial energy directory: clear home routes and a useful closing action. */
.site-header { position: relative; z-index: 30; }
.nav-links > a:not(.nav-cta), .solutions-menu summary { color: #111b2b; }
.nav-links > a:not(.nav-cta):is(:hover,:focus-visible), .solutions-menu summary:is(:hover,:focus-visible), .solutions-menu[open] summary, .tools-menu > summary:is(:hover,:focus-visible,:active), .tools-menu[open] > summary { color: #174cff; }
.solutions-menu summary { cursor: pointer; padding: 12px 4px; font-size: 13px; font-weight: 650; }
.solutions-panel { position: absolute; z-index: 40; top: 100%; left: 42px; right: 42px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 28px 32px; background: #fff; border-top: 3px solid #174cff; box-shadow: 0 18px 35px #09295120; border-radius: 0 0 12px 12px; }
.solutions-panel h2 { color: #123e7b; font-size: 16px; margin: 0 0 12px; }
.solutions-panel a { display: block; padding: 12px 0; color: #111b2b; font-size: 14px; text-decoration: none; }
.solutions-panel a:is(:hover,:focus-visible) { color: #174cff; text-decoration: underline; }
@media(max-width:560px) { .solutions-menu summary { padding: 13px; font-size: 14px; } .solutions-panel { position: static; grid-template-columns: 1fr; gap: 18px; padding: 18px; box-shadow: none; border-radius: 0; } }
.button:not(.secondary), .primary-link, button[type="submit"], .nav-links .nav-cta { border-color: #fff; outline: 1px solid var(--accent); transition: box-shadow .18s; }
.button:not(.secondary):is(:hover,:focus-visible,:active), .primary-link:is(:hover,:focus-visible,:active), button[type="submit"]:is(:hover,:focus-visible,:active), .nav-links .nav-cta:is(:hover,:focus-visible,:active) { background: #fff; color: #111b2b; transform: none; }
.button:not(.secondary):focus-visible, .primary-link:focus-visible, button[type="submit"]:focus-visible, .nav-links .nav-cta:focus-visible { outline: 3px solid #123e7b; outline-offset: 4px; }
.site-footer { max-width: none; grid-template-columns: 1fr 1.8fr; gap: 48px; margin-top: 48px; padding: 58px max(42px,calc((100% - 1156px)/2)) 24px; background: #092951; border-top: 3px solid #5ca5ff; color: #e1ecfa; }
.footer-intro .brand { display: flex; justify-content: space-between; max-width: 260px; font-size: 35px; color: #fff; }
.footer-intro > p { font-size: 17px; line-height: 1.65; margin: 18px 0; color: #e1ecfa; }
.footer-intro #offline-status { font-size: 12px; }
.footer-start { display: inline-flex; gap: 20px; align-items: center; padding: 13px 18px; border: 1px solid #fff; border-radius: 6px; color: #fff; font-weight: 650; text-decoration: none; }
.footer-start:is(:hover,:focus-visible,:active) { background: #fff; color: #111b2b; }
.site-footer a:focus-visible { outline: 3px solid #9bdcff; outline-offset: 4px; }
.footer-directory { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 26px; }
.footer-directory h2 { margin: 4px 0 16px; font-size: 14px; line-height: 1.5; color: #fff; }
.footer-directory a { display: block; width: fit-content; padding: 9px 0; font-size: 13px; line-height: 1.5; text-decoration: none; color: #e1ecfa; }
.footer-directory a:hover, .footer-bottom a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer .footer-bottom { margin-top: 8px; border-color: #527297; align-items: center; line-height: 1.6; }
.footer-bottom a { color: #fff; text-decoration: none; padding-block: 10px; }

@media(max-width: 900px) { .site-footer { grid-template-columns: 1fr; gap: 30px; } }
@media(max-width: 560px) { .site-footer { padding: 34px 20px 24px; margin-top: 30px; } .footer-directory { grid-template-columns: 1fr 1fr; gap: 24px 18px; } .footer-directory > div:last-child { grid-column: 1 / -1; } .site-footer .footer-bottom { align-items: flex-start; } }

/* Mobile navigation keeps language and exploration together. */
.site-header { position: relative; }
.header-controls { min-width: 0; gap: 16px; }
.header-contact { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 44px; padding: 11px 18px; border: 1px solid #174cff; border-radius: 6px; background: #174cff; color: white; font-size: 14px; font-weight: 500; line-height: 1; text-decoration: none; }
.header-contact:is(:hover, :focus-visible) { background: white; color: #111b2b; }
.menu-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 12px; width: auto; min-height: 44px; padding: 10px 15px; border: 1px solid #c5d5e8; border-radius: 6px; background: white; color: #111b2b; font-size: 17px; font-weight: 400; }
.menu-toggle:hover { color: #174cff; border-color: #174cff; }
.site-header:has(.menu-toggle) .nav-links { position: absolute; top: calc(100% - 1px); right: 42px; left: auto; z-index: 45; display: flex; flex-direction: column; align-items: stretch; gap: 0; width: min(440px, calc(100vw - 40px)); max-height: calc(100vh - 120px); max-height: calc(100dvh - 120px); overflow-y: auto; overscroll-behavior: contain; padding: 20px 24px 24px; border: 1px solid #ccd9e9; border-top: 3px solid #174cff; border-radius: 0 0 10px 10px; background: white; box-shadow: 0 20px 40px #09295122; }
.site-header:has(.menu-toggle[aria-expanded="false"]) .nav-links { display: none; }
.nav-links > details > summary { padding: 12px 0; font-size: 17px; font-weight: 500; line-height: 1.9; }
.solutions-panel { position: static; display: grid; grid-template-columns: 1fr; gap: 16px; padding: 8px 0 16px 14px; border: 0; border-left: 2px solid #c9ddf4; border-radius: 0; box-shadow: none; }
.solutions-panel h2 { font-size: 13px; font-weight: 650; line-height: 1.5; margin: 4px 0 6px; }
.solutions-panel a { padding: 8px 0; font-size: 14px; font-weight: 500; line-height: 1.65; }
.site-header:has(.menu-toggle) .nav-links .nav-cta { display: inline-flex; align-items: center; justify-content: space-between; align-self: flex-start; gap: 32px; min-height: 44px; margin: 13px 0 24px; padding: 12px 18px; font-size: 14px; font-weight: 500; }
.menu-utility { border-top: 1px solid #d6e0f0; padding-top: 15px; }
.language-summary { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 7px 0; color: #111b2b; font-size: 16px; font-weight: 700; line-height: 1.2; cursor: pointer; list-style: none; }
.language-summary::-webkit-details-marker { display: none; }
.language-summary::after { content: ""; display: block; flex: 0 0 8px; width: 8px; height: 8px; margin: -4px 4px 0 auto; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); box-sizing: border-box; }
#language-menu[open] .language-summary::after { transform: rotate(225deg); margin-top: 4px; }
.language-summary:is(:hover, :focus-visible) { color: #174cff; }
@media(min-width:981px){
 #language-menu #language{appearance:none;padding-right:44px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath d='m5 7 5 5 5-5' fill='none' stroke='%23174cff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;}
 #language-menu #language:is(:hover,:focus-visible,:active){border-color:#174cff;background-color:#edf3ff;box-shadow:0 0 0 2px #174cff33,0 0 12px #174cff44;outline-offset:3px;}
 .language-summary::after{transition:border-color .15s ease,filter .15s ease;}
 .language-summary:is(:hover,:focus-visible,:active)::after{border-color:#174cff;filter:drop-shadow(0 0 3px #174cff) drop-shadow(0 0 6px #174cff88);}
 #language-menu[open]>.language-summary::after{border-color:#174cff;filter:drop-shadow(0 0 3px #174cff88);}
}
#language-flag { display: inline-flex; align-items: center; font-size: 20px; line-height: 1; }
#language-flag { width: 24px; height: 16px; font-size: 0; border: 1px solid #ccd6e3; border-radius: 2px; background: #fff; background-size: 100% 100%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'%3E%3Cpath fill='%23012169' d='M0 0h60v40H0z'/%3E%3Cpath stroke='%23fff' stroke-width='8' d='m0 0 60 40M60 0 0 40'/%3E%3Cpath stroke='%23c8102e' stroke-width='3' d='m0 0 60 40M60 0 0 40'/%3E%3Cpath stroke='%23fff' stroke-width='12' d='M30 0v40M0 20h60'/%3E%3Cpath stroke='%23c8102e' stroke-width='7' d='M30 0v40M0 20h60'/%3E%3C/svg%3E"); }
html[lang="da"] #language-flag { background-image: linear-gradient(90deg, transparent 31%, white 31% 42%, transparent 42%), linear-gradient(transparent 43%, white 43% 58%, transparent 58%); background-color: #c60c30; }
html[lang="es"] #language-flag { background-image: linear-gradient(#aa151b 25%, #f1bf00 25% 75%, #aa151b 75%); }
html[lang="de"] #language-flag { background-image: linear-gradient(#111 33.33%, #d00 33.33% 66.66%, #ffce00 66.66%); }
html[lang="it"] #language-flag { background-image: linear-gradient(90deg, #009246 33.33%, #fff 33.33% 66.66%, #ce2b37 66.66%); }
#language-menu > label { margin-top: 8px; font-size: 12px; font-weight: 500; }
#language-menu #language { width: 100%; max-width: none; margin: 0 0 15px; padding: 11px 12px; font-size: 14px; }
.explore-menu { margin-top: 14px; padding: 20px 22px; border: 1px solid #d3e0ef; border-radius: 4px; background: #edf4fc; }
.explore-menu h2 { margin: 0 0 13px; color: #496583; font-size: 13px; font-weight: 500; line-height: 1.5; }
.site-header:has(.menu-toggle) .explore-menu a { display: block; width: fit-content; padding: 6px 0; color: #102955; font-size: 15px; font-weight: 700; line-height: 1.9; text-decoration: none; }
.site-header:has(.menu-toggle) .explore-menu a:is(:hover, :focus-visible) { color: #174cff; text-decoration: underline; }
@media (max-width: 1000px) { .site-header:has(.menu-toggle) .nav-links { right: 28px; } }
@media (max-width: 560px) {
  .site-header { min-height: 82px; gap: 10px; }
  .site-header .brand { min-width: 0; max-width: calc(100% - 132px); gap: 8px; font-size: 20px; }
  .site-header .brand img { width: 28px; height: 28px; flex: 0 0 auto; }
  .site-header .brand-copy { min-width: 0; gap: 1px; }
  .site-header .brand-copy strong { display: block; line-height: 1.05; }
  .site-header .brand-copy small { max-width: 108px; font-size: 9px; line-height: 1.2; }
  .header-controls { gap: 8px; margin-left: auto; }
  .header-contact { min-height: 44px; padding: 10px 11px; gap: 7px; font-size: 12px; }
  .menu-toggle { width: 44px; min-width: 44px; padding: 10px; font-size: 0; }
  .menu-toggle span { font-size: 18px; }
  .site-header:has(.menu-toggle) .nav-links { right: 20px; left: 20px; width: auto; max-height: calc(100vh - 106px); max-height: calc(100dvh - 106px); padding: 16px 20px 20px; }
  .nav-links > details > summary { padding: 10px 0; font-size: 16px; font-weight: 500; line-height: 1.9; }
  .site-header:has(.menu-toggle) .solutions-panel a { padding: 7px 0; font-size: 14px; }
  .site-header:has(.menu-toggle) .nav-links .nav-cta { font-size: 14px; padding: 12px 17px; }
  .language-summary { font-size: 16px; }
  .explore-menu { padding: 18px; }
}

/* Desktop retains the visible navigation and broad service directories. */
@media (min-width: 901px) {
  .site-header .header-controls { display: none; }
  .site-header:has(.menu-toggle) .nav-links,
  .site-header:has(.menu-toggle[aria-expanded="false"]) .nav-links {
    position: static; display: flex; flex-direction: row; align-items: center;
    gap: 26px; width: auto; max-height: none; overflow: visible; padding: 0;
    border: 0; border-radius: 0; background: transparent; box-shadow: none;
  }
  .nav-links > details { position: static; }
  .nav-links > details > summary { padding: 22px 0; font-size: 17px; line-height: 1.9; }
  .nav-links > details > .solutions-panel {
    position: absolute; left: 42px; right: 42px; top: calc(100% - 1px);
    display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px;
    padding: 30px; border: 1px solid #ccd9e9; border-top: 3px solid #174cff;
    border-radius: 0 0 8px 8px; background: white; box-shadow: 0 20px 40px #09295122;
    max-height: calc(100dvh - 125px); overflow-y: auto; z-index: 45;
  }
  .site-header:has(.menu-toggle) .nav-links .nav-cta { align-self: center; margin: 0; white-space: nowrap; }
  .menu-utility { position: relative; flex: 0 0 110px; width: 110px; border: 0; padding: 0; }
  .language-summary { gap: 8px; padding: 12px 0; font-size: 14px; min-height: 44px; }
  .language-summary::after { margin-left: 4px; }
  #language-menu[open] { position: absolute; right: 0; top: -22px; }
  #language-menu[open] > label,
  #language-menu[open] > #language,
  #language-menu[open] > .explore-menu { position: relative; z-index: 47; }
  #language-menu[open]::before {
    content: ""; position: absolute; top: 46px; right: -20px; bottom: -20px;
    width: 300px; background: white; border: 1px solid #ccd9e9;
    border-top: 3px solid #174cff; border-radius: 0 0 8px 8px;
    box-shadow: 0 20px 40px #09295122; z-index: 46;
  }
  #language-menu[open] { width: 260px; margin-left: 0; }
  #language-menu[open] > .language-summary { justify-content: flex-end; }
  #language-menu[open] > label { margin-top: 22px; }
  #language-menu #language { margin-bottom: 0; }
  #language-menu .explore-menu { margin-top: 18px; padding: 18px; }
  .menu-utility > .explore-menu { display: none; }
}
@media (min-width: 901px) and (max-width: 1050px) {
  .site-header:has(.menu-toggle) .nav-links { gap: 18px; }
  .nav-links > details > summary { font-size: 15px; }
  .nav-links > details > .solutions-panel { left: 28px; right: 28px; }
}

/* Retained functional return-to-top control. */
#back-to-top { position: fixed; right: 24px; bottom: 24px; z-index: 60; width: 46px; height: 46px; min-height: 46px; padding: 0; border: 1px solid #fff; border-radius: 0; background: #174cff; color: #fff; outline: 1px solid #174cff; box-shadow: 0 4px 16px #0929511c; }
#back-to-top span { display: block; font-size: 16px; line-height: 1; }
#back-to-top:is(:hover, :active) { background: #fff; color: #111b2b; }
#back-to-top:focus-visible { outline: 3px solid #123e7b; outline-offset: 4px; }
@media(max-width:560px){#back-to-top{right:16px;bottom:16px;width:44px;height:44px;min-height:44px}.site-footer .footer-bottom{padding-right:54px}}

/* One shared colour clock keeps the wordmark and two electric rules in phase. */
@property --wv-flow{syntax:'<percentage>';inherits:true;initial-value:140%}
:root{--wv-header-offset:96px;--brand-spectrum:#174cff;animation:brand-spectrum 18s ease-in-out infinite,wv-electric-flow 6s linear infinite;scroll-padding-top:calc(var(--wv-header-offset) + 18px)}
.site-header:has(.menu-toggle){position:sticky;top:0;z-index:50;background:#f4f7fcf5;backdrop-filter:blur(12px);--brand-spectrum:inherit;animation:none}
.site-footer{position:relative;--brand-spectrum:inherit;border-top:0}
.site-header::after,.site-footer::before{content:'';position:absolute;left:0;right:0;height:4px;pointer-events:none;background-color:var(--brand-spectrum);background-image:linear-gradient(90deg,transparent 0%,transparent 42%,#ffffffa6 49%,#ffffffd9 50%,#ffffffa6 51%,transparent 58%,transparent 100%);background-size:240% 100%;background-position:var(--wv-flow) 0;background-repeat:no-repeat;box-shadow:0 0 6px #174cff26;animation:none}
.site-header::after{top:auto;bottom:0}
.site-footer::before{top:0;bottom:auto}
@keyframes wv-electric-flow{from{--wv-flow:140%}to{--wv-flow:-140%}}
.workspace .result{top:calc(var(--wv-header-offset) + 18px)}
@media(max-width:900px){:root{--wv-header-offset:82px}}
@media(prefers-reduced-motion:reduce){:root{animation:none;--brand-spectrum:#174cff}.site-header::after,.site-footer::before{animation:none;background-image:none;box-shadow:none}}
@media(forced-colors:active){:root{animation:none}.site-header:has(.menu-toggle){background:Canvas;color:CanvasText;backdrop-filter:none}.site-header::after,.site-footer::before{animation:none;background:CanvasText;box-shadow:none}.site-header .brand-mark,.site-header .brand-copy strong{color:LinkText}}
/* Electric light crosses the letter shapes on the same inherited clock as both rules. */
@supports (background-clip:text) or (-webkit-background-clip:text){
 .site-header .brand-copy strong{background-image:linear-gradient(90deg,var(--brand-spectrum) 0%,var(--brand-spectrum) 40%,#59bdff 47%,#eefbff 50%,#59bdff 53%,var(--brand-spectrum) 60%,var(--brand-spectrum) 100%);background-size:240% 100%;background-position:var(--wv-flow) 0;background-repeat:no-repeat;background-clip:text;-webkit-background-clip:text;color:transparent;-webkit-text-fill-color:transparent;-webkit-text-stroke:.18px var(--brand-spectrum)}
}
@media(prefers-reduced-motion:reduce){.site-header .brand-copy strong{background-image:none;color:var(--brand-spectrum);-webkit-text-fill-color:currentColor;-webkit-text-stroke:0}}
@media(forced-colors:active){.site-header .brand-copy strong{background:none;color:LinkText;-webkit-text-fill-color:LinkText;-webkit-text-stroke:0}}

/* Only the lightning silhouette receives light; its rings and battery casing stay fixed. */
.wv-bolt-electric{width:49px;height:86px;pointer-events:none;background-color:var(--brand-spectrum);background-image:linear-gradient(90deg,var(--brand-spectrum) 0%,var(--brand-spectrum) 40%,#59bdff 47%,#eefbff 50%,#59bdff 53%,var(--brand-spectrum) 60%,var(--brand-spectrum) 100%);background-size:240% 100%;background-position:var(--wv-flow) 0;background-repeat:no-repeat}
.wv-bolt-overlay{pointer-events:none}
@media(prefers-reduced-motion:reduce){.wv-bolt-overlay{display:none}}
@media(forced-colors:active){.wv-bolt-overlay{display:none}.wv-bolt-base{fill:CanvasText}}


/* R18: original fine-wave geometry; one quiet packet visits each tool in order. */
#tools.tools>a{position:relative;isolation:isolate;overflow:hidden}
#tools.tools>a>*{position:relative;z-index:1}
#tools.tools>a::before{content:'';position:absolute;z-index:0;left:-35%;top:50%;width:170%;height:190px;background:url('./tools-wave.svg?v=wave18') center/100% 100% no-repeat;pointer-events:none;opacity:0;transform:translate3d(-34%,-50%,0);animation:wv-tool-wave 13.5s linear infinite both}
#tools.tools>a:nth-child(2)::before{animation-delay:4.5s}
#tools.tools>a:nth-child(3)::before{animation-delay:9s}
@keyframes wv-tool-wave{0%{opacity:0;transform:translate3d(-34%,-50%,0)}5%{opacity:.2}12%{opacity:.34}23%{opacity:.28}30%{opacity:0;transform:translate3d(34%,-50%,0)}33.333%,100%{opacity:0;transform:translate3d(34%,-50%,0)}}
@media(prefers-reduced-motion:reduce){#tools.tools>a::before{animation:none;display:none}}
@media(forced-colors:active){#tools.tools>a::before{display:none}}

/* R19: live original curve geometry; retained R18 SVG is no longer displayed. */
#tools.tools>a::before{display:none;animation:none}
#tools.tools>a>canvas.wv-tool-wave{position:absolute;inset:0;width:100%;height:100%;z-index:0;pointer-events:none}
@media(prefers-reduced-motion:reduce),(forced-colors:active){#tools.tools>a>canvas.wv-tool-wave{display:none}}

#ev-charge details > summary {
  min-height: 44px;
  padding: 12px 0;
  color: #123e7b;
  font-size: 16px;
  font-weight: 650;
}
#ev-charge details > summary:is(:hover, :focus-visible) { color: var(--accent); }
#ev-spot { margin-top: 20px; border-top: 1px solid var(--line); }
#ev-diesel { grid-column: 1 / -1; min-width: 0; }

/* EV charging plan: reuse the existing form, controls and type scale. */
#ev-planner, #ev-comparison { grid-column: 1 / -1; min-width: 0; }
#ev-planner form { max-width: 820px; margin-inline: auto; }
.ev-comparison-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.9fr); gap: 24px; margin-top: 18px; }
.ev-comparison-grid .result { position: static; }
#evp-output dl { margin-top: 24px; }
#evp-output dt { margin-top: 14px; font-size: 13px; color: var(--ink); }
#evp-output dd { margin: 4px 0; font-size: 20px; color: var(--ink); font-weight: 600; }
#evp-output p { font-size: 13px; }
/* Tool selector: clear inset chevron, matching the existing blue controls. */
#tool-switcher > #active-tool {
 appearance: none; padding-right: 52px; max-width: 350px;
 background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22'%3E%3Cpath d='m5 8 6 6 6-6' fill='none' stroke='%23174cff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
 background-repeat: no-repeat; background-position: right 20px center;
}
#tool-switcher > #active-tool:is(:hover,:focus-visible) {
 border-color: #174cff; box-shadow: 0 0 0 3px #174cff26;
 background-color: #edf3ff;
 background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22'%3E%3Cpath d='m5 8 6 6 6-6' fill='none' stroke='%23003bff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
#tool-switcher .currency-control #currency {
 appearance: none; width: 112px; padding-right: 40px;
 background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 22 22'%3E%3Cpath d='m5 8 6 6 6-6' fill='none' stroke='%23174cff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
 background-repeat: no-repeat; background-position: right 12px center;
}
#tool-switcher .currency-control #currency:is(:hover,:focus-visible) {
 border-color: #174cff; box-shadow: 0 0 0 3px #174cff26; background-color: #edf3ff;
 background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 22 22'%3E%3Cpath d='m5 8 6 6 6-6' fill='none' stroke='%23003bff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
@media(max-width:760px) { .ev-comparison-grid { grid-template-columns: minmax(0,1fr); } }
/* New price selectors and all EV/helper selects reuse the corrected inset chevrons. */
#evp-basis, #evp-network, #evp-area, #evp-settlement, #ev-area, #ev-time-a, #ev-time-b, #evd-fuel, #evf-station, #invh-source, #invh-usage, #bh-what, #bh-net, #evp-soc-cap, #evp-soc-from, #evp-soc-to {
 appearance:none;padding-right:48px;background-repeat:no-repeat;background-position:right 16px center;
 background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22'%3E%3Cpath d='m5 8 6 6 6-6' fill='none' stroke='%23174cff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
:is(#evp-basis,#evp-network,#evp-area,#evp-settlement,#ev-area,#ev-time-a,#ev-time-b,#evd-fuel,#evf-station,#invh-source,#invh-usage,#bh-what,#bh-net,#evp-soc-cap,#evp-soc-from,#evp-soc-to):is(:hover,:focus-visible) {
 border-color:#174cff;box-shadow:0 0 0 3px #174cff26;background-color:#edf3ff;
 background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22'%3E%3Cpath d='m5 8 6 6 6-6' fill='none' stroke='%23003bff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
#evp-contract p {font-size:13px;}
#inv-helper, #peak-shaving-helper, #beregn-helper, #backup-helper, #ev-subscription { grid-column: 1 / -1; min-width: 0; }
:is(#inv-helper, #peak-shaving-helper, #beregn-helper, #backup-helper, #ev-sub-details) {
 background: #f3f7ff; border: 1.5px solid #bfd5fb; border-radius: 14px; padding: 4px 18px;
 transition: border-color .18s, background-color .18s;
}
:is(#inv-helper, #peak-shaving-helper, #beregn-helper, #backup-helper, #ev-sub-details):is(:hover, [open]) {
 border-color: #174cff; background: #eef4ff;
}
:is(#inv-helper, #peak-shaving-helper, #beregn-helper, #backup-helper, #ev-sub-details) > summary {
 min-height: 44px; padding: 10px 0; color: #123e7b; font-size: 16px; font-weight: 650; cursor: pointer;
}
:is(#inv-helper, #peak-shaving-helper, #beregn-helper, #backup-helper, #ev-sub-details) > summary:is(:hover, :focus-visible) { color: var(--accent); }
:is(#inv-helper, #peak-shaving-helper, #beregn-helper, #backup-helper, #ev-sub-details)[open] { padding-bottom: 18px; }
:is(#inv-helper, #peak-shaving-helper, #beregn-helper, #backup-helper, #ev-subscription) form, #bkh-box { max-width: 820px; margin-inline: auto; margin-top: 12px; }
:is(#invh-output, #psh-output, #bh-output, #evs-output) dl { margin-top: 24px; }
:is(#invh-output, #psh-output, #bh-output, #evs-output) dt { margin-top: 14px; font-size: 13px; color: var(--ink); }
:is(#invh-output, #psh-output, #bh-output, #evs-output) dd { margin: 4px 0; font-size: 20px; color: var(--ink); font-weight: 600; }
.tool-helper-hint {
 display: block; font-size: 12px; line-height: 1.45; font-weight: 600;
 color: #123e7b; background: #eef4ff; border: 1px solid #d2e2fd; border-radius: 8px; padding: 6px 10px;
}
.bkh-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px; margin: 14px 0; }
label.bkh-check { display: flex; align-items: center; gap: 10px; margin: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-weight: 500; cursor: pointer; }
label.bkh-check input[type="checkbox"] { width: 20px; height: 20px; min-height: 20px; margin: 0; padding: 0; flex: 0 0 20px; accent-color: var(--accent); }
#bkh-total { margin: 12px 0; font-size: 16px; font-weight: 650; color: #123e7b; }
#evp-soc-helper { margin: 10px 0 14px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: #f8fbff; }
#evp-soc-helper > summary { min-height: 38px; padding: 6px 0; color: #123e7b; font-size: 14px; font-weight: 650; }
#evp-soc-result { margin: 12px 0 8px; font-size: 15px; font-weight: 650; color: #123e7b; }

/* TOTAL-43: næste skridt efter et resultat (75 % / 25 %) */
.wv-next { margin-top: 20px; padding: 20px 20px 16px; border: 1px solid #bfd5fb; border-left: 4px solid var(--accent); border-radius: 14px; background: #fff; color: var(--ink); text-align: left; }
.wv-next[hidden] { display: none; }
.wv-next .wv-next-lead { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #1740c8; }
.wv-next .wv-next-model { margin: 0 0 14px; font-size: 14px; line-height: 1.5; }
.wv-next .wv-next-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
.wv-next .wv-next-mail { flex: 1 1 260px; min-height: 50px; text-align: center; white-space: normal; }
.wv-next .wv-next-mail:is(:hover,:focus-visible) { color: #fff; text-decoration: none; }
.wv-next .wv-next-copy { flex: 1 1 200px; min-height: 50px; padding: 12px 18px; border: 1px solid var(--accent); border-radius: 10px; background: #fff; color: #1740c8; font: inherit; font-size: 14px; font-weight: 650; line-height: 1.4; cursor: pointer; }
.wv-next .wv-next-copy:hover { background: #f3f7ff; }
.wv-next .wv-next-copy:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.wv-next .wv-next-status { margin: 10px 0 0; font-size: 13px; font-weight: 600; color: #0b6b3a; }
.wv-next .wv-next-status:empty { display: none; }
.wv-next .wv-next-note { display: block; margin-top: 8px; padding-top: 10px; border-top: 1px solid #d6e0f0; font-size: 12px; color: #3d5275; }
/* TOTAL-43: reservér plads til elbil-planlæggeren, indtil ev-plan.js har bygget den (mindre layoutskift på /elbil-opladning/) */
#ev-planner:empty { min-height: 840px; }
@media (min-width: 700px) { #ev-planner:empty { min-height: 800px; } }

/* TOTAL-44: forside – hero A, 75/25/0-kort, tre trin, udvalgte beregnere, hvem står bag */
.hero h1#home-title{font-size:clamp(34px,4.2vw,50px);line-height:1.08;letter-spacing:-.045em}
.hero h1#home-title .hero-line{display:block}
.hero-share{flex-direction:column}
.share-card{position:relative;background:#fff;border:1px solid #c4d6f5;border-radius:20px;padding:28px;width:100%;max-width:380px;text-align:center;box-shadow:var(--shadow)}
.share-card .price-split{justify-content:center;margin:14px 0}
.share-title{font-weight:650;color:var(--ink);margin:0}
.share-zero{margin:6px 0 0;font-size:14px;color:var(--muted)}
.share-zero strong{color:var(--accent);font-size:20px}
.steps{margin:10px 0 56px}
.steps h2{font-size:clamp(25px,3vw,31px);margin:12px 0 24px}
.step-list{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.step-list li{background:#fff;border:1px solid var(--line);border-radius:18px;padding:24px}
.step-list h3{font-size:19px;margin:12px 0 8px}
.step-list p{font-size:14px;margin:0}
.step-num{display:inline-grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--accent);color:#fff;font-weight:700}
.tools.tools-r44{grid-template-columns:repeat(2,minmax(0,1fr))}
.tools-r44 .tool-featured{padding:32px;border:2px solid #c4d6f5}
.tools-r44 .tool-featured strong{font-size:24px}
.tools-r44 .tool-featured > span:nth-of-type(2){font-size:14px}
.tools-r44 .tool-featured b{display:inline-flex;align-self:flex-start;background:var(--accent);color:#fff;padding:12px 18px;border-radius:10px}
.tools-r44 .tool-featured:is(:hover,:focus-visible,:active) b{color:#fff}
.tools-more-title{grid-column:1/-1;font-size:18px;margin:14px 0 0}
.tools-r44 .tool-compact{padding:18px 22px;gap:8px}
.tools-r44 .tool-compact strong{font-size:17px}
.about{background:#fff;border:1px solid var(--line);border-radius:22px;padding:32px;margin-bottom:56px;max-width:900px}
.about h2{font-size:clamp(24px,2.6vw,28px);margin:12px 0 14px}
.about p{max-width:680px}
.about p:last-child{margin-bottom:0}
.pro-overview{margin-top:8px}
#privacy-contact{font-size:14px}
@media (max-width:760px){.step-list,.tools.tools-r44{grid-template-columns:1fr}.about{padding:24px}.tools-r44 .tool-featured{padding:24px}.tools-r44 .tool-featured strong{font-size:21px}}
@media (forced-colors:active){.share-card,.step-list li,.about{border:1px solid CanvasText}}

/* TOTAL-44 trin 2: tre ligeværdige målgrupper under hero + teknisk grundlag */
.audience-overview .service-card{display:flex;flex-direction:column}
.audience-overview .group-cta{margin-top:auto;align-self:flex-start;text-align:center}
.audience-overview .service-card .card-link:last-of-type{margin-bottom:18px}
.engineering{display:grid;grid-template-columns:1fr 1fr;gap:44px;align-items:center;margin:0 0 56px}
.engineering h2{font-size:clamp(25px,3vw,34px);margin:12px 0 14px}
.engineering .method-visual{min-height:330px}
@media (max-width:860px){.engineering{grid-template-columns:1fr;gap:26px}}
.research-note{font-size:14px;margin:18px 0 0}
.about .card-link + .card-link{margin-left:18px}
.hero-pro{margin:18px 0 0;font-size:14px;color:var(--ink)}
.hero-pro a{font-weight:650}

/* TOTAL-45: Solceller og batteri + Tarif- og effekttjek */
.tool-intro{font-size:14px;color:var(--muted);margin:-4px 0 14px}
.csv-status{font-size:13px;margin:6px 0 12px;color:var(--ink)}
.csv-status:empty{display:none}
.tool-assumptions{margin:8px 0 16px;border:1px solid var(--line);border-radius:12px;padding:10px 14px;background:#fff}
.tool-assumptions summary,.tool-sources summary{cursor:pointer;font-weight:600;color:var(--ink)}
.tool-assumptions[open] summary{margin-bottom:10px}
.tool-sources{margin-top:12px;font-size:13px}
.tool-sources ul{padding-left:18px;margin:8px 0 0}
.tool-sources li{margin-bottom:6px}
#solceller input[type=file],#tarif-tjek input[type=file]{display:block;max-width:100%;margin:4px 0 2px;font:inherit;font-size:14px}
.tt-top{border-collapse:collapse;width:100%;margin:14px 0;font-size:14px;font-variant-numeric:tabular-nums}
.tt-top caption{text-align:left;font-weight:600;margin-bottom:6px;color:var(--ink)}
.tt-top th,.tt-top td{border-bottom:1px solid var(--line);padding:6px 8px;text-align:left}
.tt-top td:last-child,.tt-top th:last-child{text-align:right}

/* TOTAL-46 */
:is(#sb-output, #tt-output) dl { margin-top: 24px; }
:is(#sb-output, #tt-output) dt { margin-top: 14px; font-size: 13px; color: var(--ink); }
:is(#sb-output, #tt-output) dd { margin: 4px 0; font-size: 20px; color: var(--ink); font-weight: 600; }
.tool-badge { font-size: 13px; color: var(--muted); margin: -2px 0 10px; }
.tool-badge strong { color: var(--accent); }
.tool-assumptions > summary, .tool-sources > summary { min-height: 44px; display: flex; align-items: center; }
.wv-next-choice { border: 0; padding: 0; margin: 4px 0 12px; }
.wv-next-choice legend { font-weight: 600; color: var(--ink); padding: 0; margin-bottom: 4px; }
.wv-next-choice label { display: flex; align-items: center; gap: 10px; min-height: 44px; margin: 0; font-weight: 500; cursor: pointer; }
.wv-next-choice input { width: 20px; height: 20px; min-height: 0; margin: 0; flex: 0 0 auto; accent-color: var(--accent); }
.wv-close { margin-top: 16px; }
.wv-close-text { font-size: 15px; }
.wv-close-text a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; padding: 10px 0; }
.wv-year { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: #fff; margin-bottom: 12px; }
.wv-year-line { margin: 0 0 10px; font-weight: 600; color: var(--ink); }
.wv-year-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.wv-year-steps li { display: grid; grid-template-columns: 6.5em 1fr auto; align-items: center; gap: 10px; font-size: 14px; }
.wv-year-bar { height: 10px; border-radius: 5px; background: var(--line); position: relative; overflow: hidden; }
.wv-year-bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w, 2%); background: var(--accent); border-radius: 5px; }
.wv-year-steps strong { font-variant-numeric: tabular-nums; color: var(--ink); }
.wv-year .tool-sources { margin-top: 8px; }
/* TOTAL-46: reserver plads til hjælperne, indtil ev-extras.js har indsat dem (mindre CLS, samme design) */
@media (max-width: 780px) {
  #investment:not(:has(> #inv-helper))::before { content: ""; height: 160px; }
  #beregn:not(:has(> #beregn-helper))::before, #backup:not(:has(> #backup-helper))::before { content: ""; height: 70px; }
}

/* TOTAL-51: ALLE dropdowns (select) på hele sitet bruger den samme blå, lodret centrerede pil og samme feedback ved hover, tryk og fokus
   som de eksisterende blå dropdowns (#active-tool, #currency, elbil-felterne). Sidehovedets sprogvælger (#language) er undtaget:
   på desktop er den uændret fra r49, og på mobil har den sin egen r50-stil. */
select:not([multiple]):not([size]):not(#language) {
 appearance: none; -webkit-appearance: none; padding-right: 48px; background-repeat: no-repeat; background-position: right 16px center; background-size: 22px 22px;
 background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22'%3E%3Cpath d='m5 8 6 6 6-6' fill='none' stroke='%23174cff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
 transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
select:not([multiple]):not([size]):not(#language):not(:disabled):is(:hover, :focus-visible, :active) {
 border-color: #174cff; box-shadow: 0 0 0 3px #174cff26; background-color: #edf3ff;
 background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22'%3E%3Cpath d='m5 8 6 6 6-6' fill='none' stroke='%23003bff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
select:not([multiple]):not([size]):not(#language):focus-visible { outline: 3px solid #174cff; outline-offset: 2px; }
select:not([multiple]):not([size]):not(#language):disabled { cursor: not-allowed; opacity: .6; }
select:not([multiple]):not([size]):not(#language)::-ms-expand { display: none; }

/* r52-module-contact: modulsider (body.wvm-page) har ingen menu – vis "Lad os tale sammen" i sidehovedet også på desktop.
   Forside og SEO-sider er uændrede (der ligger kontakt i menuen). */
@media (min-width: 901px) {
  .wvm-page .site-header .header-controls { display: flex; }
}
