/* ==========================================================================
   EVMaine — site styles
   Palette drawn from Maine: pine, granite, birch, lupine, sunrise
   ========================================================================== */

:root {
  --pine:        #0e3b2e;
  --pine-deep:   #08251d;
  --pine-mid:    #145843;
  --spruce:      #1f7a5c;
  --seafoam:     #3fb98a;
  --lupine:      #6b5bd2;
  --sunrise:     #e87a3c;
  --berry:       #c2456b;

  --granite:     #2a3138;
  --slate:       #5a6570;
  --slate-light: #8b959e;
  --birch:       #f7f5f0;
  --birch-warm:  #efece4;
  --white:       #ffffff;
  --line:        #e2ded4;

  --ok:          #1f7a5c;
  --warn-bg:     #fff5e8;
  --warn-line:   #e8a15c;

  --radius:      14px;
  --radius-sm:   9px;
  --shadow-sm:   0 1px 2px rgba(14,59,46,.06), 0 2px 8px rgba(14,59,46,.05);
  --shadow-md:   0 2px 6px rgba(14,59,46,.07), 0 12px 28px rgba(14,59,46,.09);
  --shadow-lg:   0 4px 12px rgba(14,59,46,.09), 0 24px 56px rgba(14,59,46,.13);

  --wrap:        1180px;
  --sans:        "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono:        ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--granite);
  background: var(--birch);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.02em; color: var(--pine-deep); }
p { margin: 0 0 1em; }
a { color: var(--pine-mid); text-decoration-color: rgba(20,88,67,.3); text-underline-offset: 3px; }
a:hover { color: var(--spruce); text-decoration-color: currentColor; }
ul { margin: 0 0 1em; padding-left: 1.2em; }

:focus-visible { outline: 3px solid var(--lupine); outline-offset: 2px; border-radius: 3px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--pine); color: #fff; padding: .75rem 1.25rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 820px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 500;
  background: rgba(247,245,240,.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 20px; height: 68px; }

.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; flex-shrink: 0; }
.brand-mark { color: var(--spruce); display: flex; }
.brand-text { font-size: 21px; font-weight: 500; letter-spacing: -.03em; color: var(--pine-deep); }
.brand-text strong { font-weight: 800; }

.site-nav { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.site-nav a {
  font-size: 14.5px; font-weight: 500; color: var(--slate);
  text-decoration: none; padding: 7px 11px; border-radius: 8px;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.site-nav a:hover { background: var(--birch-warm); color: var(--pine); }
.site-nav a.active { color: var(--pine); background: rgba(63,185,138,.14); }

.nav-toggle {
  display: none; margin-left: auto; background: none; border: 1px solid var(--line);
  border-radius: 8px; width: 42px; height: 38px; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--granite); border-radius: 2px; }

/* ---------- freshness bar ---------- */
.updated-bar {
  background: var(--pine-deep); color: #cfe3da;
  font-size: 14px; padding: 9px 0; text-align: center;
}
.updated-bar strong { color: var(--seafoam); }
.updated-bar a { color: #fff; }
.updated-bar em { color: #a9c7bb; font-style: normal; }
.updated-dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--seafoam); margin-right: 7px; vertical-align: middle;
  box-shadow: 0 0 0 3px rgba(63,185,138,.22);
}

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(1100px 500px at 12% -10%, rgba(63,185,138,.16), transparent 62%),
    radial-gradient(900px 460px at 92% 6%, rgba(107,91,210,.13), transparent 60%),
    linear-gradient(180deg, var(--white), var(--birch));
  padding: 72px 0 76px;
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center;
}
.eyebrow {
  font-size: 12.5px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: var(--spruce); margin-bottom: 14px;
}
.hero h1 { font-size: clamp(34px, 5vw, 55px); letter-spacing: -.035em; margin-bottom: 20px; }
.grad {
  background: linear-gradient(100deg, var(--spruce), var(--lupine) 92%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { font-size: 19px; color: var(--slate); max-width: 58ch; margin-bottom: 28px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note { font-size: 14px; color: var(--slate-light); margin-top: 16px; margin-bottom: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-size: 16px; font-weight: 600;
  padding: 12px 24px; border-radius: 10px; border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none; transition: transform .12s, box-shadow .15s, background .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--pine); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--pine-mid); color: #fff; box-shadow: var(--shadow-md); }
.btn-ghost { background: var(--white); color: var(--pine); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--spruce); color: var(--pine); background: var(--white); }
.btn-small { font-size: 14px; padding: 8px 14px; background: var(--white); border-color: var(--line); color: var(--granite); }
.btn-small:hover { border-color: var(--spruce); }
.btn-small.btn-primary { color: #fff; border-color: transparent; }

.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 18px; box-shadow: var(--shadow-sm);
}
.stat-num {
  font-size: 32px; font-weight: 800; letter-spacing: -.03em; color: var(--pine);
  line-height: 1.05; font-variant-numeric: tabular-nums;
}
.stat-label { font-size: 13.5px; color: var(--slate); margin-top: 5px; line-height: 1.35; }
.stat-src { font-size: 11.5px; color: var(--slate-light); margin-top: 7px; letter-spacing: .01em; }

/* ---------- sections ---------- */
.section { padding: 76px 0; }
.section-tight { padding: 56px 0; }
.section-alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-title { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 10px; }
.section-sub { font-size: 17.5px; color: var(--slate); max-width: 72ch; margin-bottom: 34px; }
.section-sub.tight { margin-bottom: 20px; }
.sub-head { font-size: 21px; margin: 44px 0 16px; }
.sub-head.first { margin-top: 0; }
.mt { margin-top: 34px; }
.small { font-size: 14px; color: var(--slate); }
.note { color: var(--slate-light); }

/* ---------- quick answers ---------- */
.quick-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 16px; }
.quick-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; box-shadow: var(--shadow-sm);
}
.quick-card summary {
  cursor: pointer; font-weight: 700; font-size: 16.5px; color: var(--pine-deep);
  list-style: none; display: flex; align-items: center; gap: 10px;
}
.quick-card summary::-webkit-details-marker { display: none; }
.quick-card summary::after {
  content: "+"; margin-left: auto; color: var(--slate-light); font-weight: 400; font-size: 20px;
}
.quick-card[open] summary::after { content: "\2212"; }
.quick-card p { margin: 12px 0 0; font-size: 15.5px; color: var(--slate); }
.q-icon { font-size: 18px; }

/* ---------- map ---------- */
.map-toolbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.filter-group { display: flex; gap: 6px; }
.search-group { flex: 1 1 200px; min-width: 180px; }

.chip {
  font: inherit; font-size: 14px; font-weight: 600; padding: 8px 16px;
  border: 1.5px solid var(--line); background: var(--white); color: var(--slate);
  border-radius: 999px; cursor: pointer; transition: all .15s;
}
.chip:hover { border-color: var(--spruce); color: var(--pine); }
.chip-active { background: var(--pine); border-color: var(--pine); color: #fff; }
.chip-active:hover { color: #fff; }

.input, .select {
  font: inherit; font-size: 15px; padding: 9px 12px; width: 100%;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--white); color: var(--granite);
}
.input:focus, .select:focus { border-color: var(--spruce); outline: none; box-shadow: 0 0 0 3px rgba(63,185,138,.18); }
.select { cursor: pointer; }

.map-status {
  font-size: 14px; color: var(--slate); margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px; min-height: 22px;
}
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.dot-live { background: var(--ok); box-shadow: 0 0 0 3px rgba(31,122,92,.18); }
.dot-sample { background: var(--sunrise); box-shadow: 0 0 0 3px rgba(232,122,60,.18); }
.dot-loading { background: var(--slate-light); animation: pulse 1.3s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: .35; } 50% { opacity: 1; } }

.map-layout {
  display: grid; grid-template-columns: 1fr 330px; gap: 0;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-md); background: var(--white);
}
.map-canvas { height: 560px; width: 100%; background: #dde5e0; z-index: 1; }
.map-list { border-left: 1px solid var(--line); display: flex; flex-direction: column; height: 560px; background: var(--white); }
.map-list-head {
  padding: 12px 16px; border-bottom: 1px solid var(--line);
  font-size: 13.5px; font-weight: 600; color: var(--slate);
  display: flex; justify-content: space-between; align-items: center; flex-shrink: 0;
}
.link-btn {
  background: none; border: none; font: inherit; font-size: 13px; font-weight: 600;
  color: var(--pine-mid); cursor: pointer; padding: 0; text-decoration: underline;
  text-underline-offset: 2px;
}
.station-list { list-style: none; margin: 0; padding: 0; overflow-y: auto; flex: 1; }
.station-list li {
  padding: 12px 16px; border-bottom: 1px solid var(--birch-warm); cursor: pointer;
  transition: background .12s;
}
.station-list li:hover { background: var(--birch); }
.st-name { font-weight: 650; font-size: 14.5px; color: var(--pine-deep); line-height: 1.3; }
.st-meta { font-size: 12.5px; color: var(--slate-light); margin-top: 3px; }
.st-tags { display: flex; gap: 5px; margin-top: 6px; flex-wrap: wrap; }
.st-tag {
  font-size: 11px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
  padding: 2px 7px; border-radius: 5px;
}
.tag-dc { background: rgba(107,91,210,.13); color: var(--lupine); }
.tag-l2 { background: rgba(63,185,138,.16); color: var(--pine-mid); }
.list-empty { padding: 28px 16px; text-align: center; color: var(--slate-light); font-size: 14px; }

/* Non-blocking: the map itself still renders underneath. A full-cover
   scrim made a working map look completely dead. */
.map-unavailable {
  position: absolute; left: 50%; transform: translateX(-50%);
  top: 16px; z-index: 400; width: min(420px, calc(100% - 32px));
  pointer-events: none;
}
.mu-inner {
  text-align: left; pointer-events: auto;
  background: var(--white); border: 1px solid var(--warn-line);
  border-left: 4px solid var(--sunrise);
  border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow-lg);
}
.mu-inner h3 { font-size: 16px; margin-bottom: 7px; }
.mu-inner p { font-size: 13.5px; color: var(--slate); margin-bottom: 8px; line-height: 1.5; }
.mu-inner p:last-child { margin-bottom: 0; }
.mu-fix { color: var(--pine-deep) !important; }
.mu-alt a { font-weight: 600; }

.map-legend {
  display: flex; gap: 22px; flex-wrap: wrap; align-items: center;
  margin-top: 14px; font-size: 13.5px; color: var(--slate);
}
.map-legend span { display: flex; align-items: center; gap: 7px; }
.key { width: 13px; height: 13px; border-radius: 50%; border: 2.5px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.18); }
.key-dc { background: var(--lupine); }
.key-l2 { background: var(--seafoam); }
.legend-note { color: var(--slate-light); }

/* leaflet popup */
.leaflet-popup-content-wrapper { border-radius: 10px; box-shadow: var(--shadow-md); }
.leaflet-popup-content { margin: 14px 16px; font-family: var(--sans); font-size: 14px; line-height: 1.5; }
.pop-name { font-weight: 700; font-size: 15px; color: var(--pine-deep); margin-bottom: 4px; }
.pop-addr { color: var(--slate); font-size: 13px; margin-bottom: 8px; }
.pop-row { font-size: 13px; color: var(--granite); margin-bottom: 2px; }
.pop-row b { color: var(--pine-deep); }
.pop-link { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 600; }

.advanced { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 16px; }
.advanced summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--slate); }
.key-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.key-row .input { flex: 1 1 240px; }
code { font-family: var(--mono); font-size: .9em; background: var(--birch-warm); padding: 2px 5px; border-radius: 4px; }

/* ---------- alerts / callouts ---------- */
.alert {
  border-radius: var(--radius); padding: 16px 20px; margin-bottom: 28px;
  font-size: 15.5px; border: 1px solid;
}
.alert-warn { background: var(--warn-bg); border-color: var(--warn-line); color: #7a4416; }
.alert-warn strong { color: #6b3a10; }

.callout {
  background: linear-gradient(135deg, rgba(14,59,46,.04), rgba(107,91,210,.05));
  border: 1px solid var(--line); border-left: 4px solid var(--spruce);
  border-radius: var(--radius); padding: 22px 26px; margin-top: 34px;
}
.callout h4 { font-size: 17px; margin-bottom: 8px; }
.callout p { margin: 0; color: var(--slate); font-size: 15.5px; }

/* ---------- cards ---------- */
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm);
}
.card-title { font-size: 19px; margin-bottom: 6px; }
.card-sub { font-size: 14.5px; color: var(--slate); margin-bottom: 18px; }

/* ---------- rebate finder ---------- */
.finder { margin-bottom: 40px; }
.finder-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--slate); margin-bottom: 6px; }
.finder-result {
  margin-top: 22px; padding: 20px 22px; border-radius: var(--radius-sm);
  background: var(--birch); border: 1px solid var(--line);
}
.fr-amount {
  font-size: 40px; font-weight: 800; letter-spacing: -.035em; color: var(--pine);
  line-height: 1; font-variant-numeric: tabular-nums;
}
.fr-amount.fr-none { font-size: 24px; color: var(--slate); }
.fr-label { font-size: 14px; color: var(--slate); margin-top: 8px; }
.fr-detail { font-size: 14.5px; color: var(--granite); margin-top: 14px; }
.fr-detail ul { margin: 8px 0 0; padding-left: 1.2em; }
.fr-detail li { margin-bottom: 5px; }
.fr-warn {
  margin-top: 14px; padding: 11px 14px; background: var(--warn-bg);
  border: 1px solid var(--warn-line); border-radius: var(--radius-sm);
  font-size: 14px; color: #7a4416;
}

/* ---------- tables ---------- */
.table-scroll { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); }
.data-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.data-table th, .data-table td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--birch-warm); }
.data-table thead th {
  background: var(--birch); font-size: 12.5px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--slate); border-bottom: 1px solid var(--line);
}
.data-table tbody tr:last-child th, .data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody th { font-weight: 650; color: var(--pine-deep); }
.data-table .num { font-variant-numeric: tabular-nums; font-weight: 650; }
.data-table .hl { color: var(--pine); }
.data-table .muted { color: var(--slate-light); font-weight: 400; }
.pill {
  display: inline-block; font-size: 10.5px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .05em; padding: 2px 7px; border-radius: 5px;
  background: rgba(63,185,138,.18); color: var(--pine-mid); vertical-align: middle;
}

/* ---------- steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; }
.steps li { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.steps li:last-child { border-bottom: none; }
.step-n {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  background: var(--pine); color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px;
}
.steps h4 { font-size: 16.5px; margin-bottom: 4px; }
.steps p { margin: 0; font-size: 15px; color: var(--slate); }

/* ---------- tools ---------- */
.tools-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; align-items: start; }
.tool .field-row { margin-bottom: 13px; }
.tool .field-row label {
  display: flex; justify-content: space-between; align-items: baseline; gap: 8px;
  font-size: 13.5px; font-weight: 600; color: var(--slate); margin-bottom: 5px;
}
.range-out { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--pine); font-size: 14px; }
.range { width: 100%; accent-color: var(--spruce); height: 22px; cursor: pointer; }
.checkbox-row { display: flex; align-items: center; gap: 9px; }
.checkbox-row input { width: 17px; height: 17px; accent-color: var(--spruce); cursor: pointer; flex-shrink: 0; }
.checkbox-row label { margin: 0 !important; display: block !important; cursor: pointer; }

.tool-result {
  margin-top: 18px; padding: 18px; border-radius: var(--radius-sm);
  background: var(--birch); border: 1px solid var(--line);
}
.res-big {
  font-size: 34px; font-weight: 800; letter-spacing: -.03em; color: var(--pine);
  line-height: 1.05; font-variant-numeric: tabular-nums;
}
.res-big.neg { color: var(--berry); }
.res-cap { font-size: 13.5px; color: var(--slate); margin-top: 6px; }
.res-rows { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.res-row {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 14px; padding: 3px 0; color: var(--slate);
}
.res-row b { color: var(--pine-deep); font-variant-numeric: tabular-nums; font-weight: 650; }

.range-bar {
  height: 10px; background: var(--birch-warm); border-radius: 999px;
  overflow: hidden; margin-top: 12px; border: 1px solid var(--line);
}
.range-bar-fill {
  height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--seafoam), var(--spruce));
  transition: width .3s ease;
}

/* ---------- winter split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.rich-list { list-style: none; padding: 0; margin: 0; }
.rich-list li {
  position: relative; padding-left: 26px; margin-bottom: 14px;
  font-size: 15.5px; color: var(--slate);
}
.rich-list li::before {
  content: "→"; position: absolute; left: 0; top: 0; color: var(--spruce); font-weight: 700;
}
.rich-list.check li::before { content: "✓"; color: var(--spruce); }
.rich-list strong { color: var(--pine-deep); }

/* ---------- levels ---------- */
.level-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.level-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm);
}
.level-featured { border-color: var(--spruce); box-shadow: var(--shadow-md); position: relative; }
.level-featured::before {
  content: "Most owners"; position: absolute; top: -11px; left: 24px;
  background: var(--spruce); color: #fff; font-size: 11px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px;
}
.level-tag {
  font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--spruce); margin-bottom: 8px;
}
.level-card h4 { font-size: 18px; margin-bottom: 6px; }
.level-speed {
  font-size: 15px; font-weight: 700; color: var(--lupine); margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}
.level-card p { font-size: 14.5px; color: var(--slate); margin-bottom: 10px; }
.level-fit { font-size: 13.5px !important; color: var(--slate-light) !important; margin-bottom: 0 !important; }
.level-fit strong { color: var(--slate); }

/* ---------- types ---------- */
.type-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.type-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.type-card h4 { font-size: 22px; margin-bottom: 2px; color: var(--pine); }
.type-sub { font-size: 13px; font-weight: 600; color: var(--slate-light); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.type-card p:last-child { font-size: 14.5px; color: var(--slate); margin-bottom: 0; }

/* ---------- policy ---------- */
.policy-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: 18px; }
.policy-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.policy-badge {
  align-self: flex-start; font-size: 11px; font-weight: 800; letter-spacing: .07em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 999px; margin-bottom: 12px;
}
.badge-good { background: rgba(63,185,138,.17); color: var(--pine-mid); }
.badge-neutral { background: rgba(107,91,210,.13); color: var(--lupine); }
.badge-none { background: rgba(194,69,107,.12); color: var(--berry); }
.policy-card h3 { font-size: 18px; margin-bottom: 8px; }
.policy-card p { font-size: 15px; color: var(--slate); flex: 1; }
.card-link { font-size: 14px; font-weight: 600; text-decoration: none; margin-top: 6px; }
.card-link:hover { text-decoration: underline; }

/* ---------- faq ---------- */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer; padding: 18px 40px 18px 0; font-weight: 650; font-size: 17px;
  color: var(--pine-deep); list-style: none; position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 6px; top: 15px;
  font-size: 24px; font-weight: 300; color: var(--slate-light); transition: transform .2s;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item summary:hover { color: var(--spruce); }
.faq-item div { padding: 0 20px 20px 0; }
.faq-item p { font-size: 15.5px; color: var(--slate); margin: 0; }

/* ---------- resources ---------- */
.res-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.res-col h3 { font-size: 17px; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 2px solid var(--spruce); display: inline-block; }
.res-list { list-style: none; padding: 0; margin: 0; }
.res-list li { padding: 11px 0; border-bottom: 1px solid var(--line); }
.res-list li:last-child { border-bottom: none; }
.res-list a { font-weight: 600; font-size: 15.5px; text-decoration: none; }
.res-list a:hover { text-decoration: underline; }
.res-list span { display: block; font-size: 13.5px; color: var(--slate-light); margin-top: 2px; }

/* ---------- footer ---------- */
.site-footer { background: var(--pine-deep); color: #a9c7bb; padding: 48px 0 40px; margin-top: 0; }
.footer-inner { display: grid; grid-template-columns: 260px 1fr; gap: 44px; }
.footer-brand .brand-text { color: #fff; font-size: 22px; }
.footer-brand p { font-size: 14px; margin-top: 8px; color: #7fa899; }
.footer-note p { font-size: 13.5px; line-height: 1.6; margin-bottom: 10px; }
.footer-note strong { color: #cfe3da; }
.footer-meta { color: #6b917f; font-size: 12.5px; line-height: 1.55; margin: 0; }

/* ---------- footer legal bar ---------- */
.footer-legal {
  margin-top: 34px; padding-top: 22px;
  border-top: 1px solid rgba(169,199,186,.18);
}
.footer-legal-inner {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 20px; flex-wrap: wrap;
}
.footer-copy { font-size: 13.5px; color: #a9c7bb; margin: 0; }
.footer-copy a {
  color: #fff; font-weight: 600; text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.35); padding-bottom: 1px;
}
.footer-copy a:hover { color: var(--seafoam); border-bottom-color: var(--seafoam); }
.footer-legal .footer-meta { text-align: right; max-width: 480px; }

/* ---------- to top ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 400;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--white); color: var(--pine); font-size: 19px; cursor: pointer;
  box-shadow: var(--shadow-md); opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .25s; transform: translateY(8px);
}
.to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.to-top:hover { background: var(--pine); color: #fff; }

/* ==========================================================================
   PLUG FILTER (Chargeway-inspired: colour tells you what fits your car)
   ========================================================================== */

.plug-bar {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 12px 16px; margin-bottom: 14px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.section-alt .plug-bar { background: var(--birch); }
.plug-bar-label { font-size: 13.5px; font-weight: 600; color: var(--slate); }
.plug-bar .filter-group { flex-wrap: wrap; }

.plug-chip {
  font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer;
  padding: 7px 14px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--white); color: var(--slate);
  display: inline-flex; align-items: baseline; gap: 6px; transition: all .15s;
}
.plug-chip small { font-size: 11px; font-weight: 500; opacity: .75; }
.plug-chip:hover { border-color: var(--slate-light); }

/* Chargeway's North American mapping: green J1772/CCS, blue CHAdeMO, red NACS */
.plug-c-nacs.plug-active    { background: rgba(194,69,107,.14); border-color: var(--berry); color: #8e2f4c; }
.plug-c-ccs.plug-active,
.plug-c-j1772.plug-active   { background: rgba(63,185,138,.16); border-color: var(--spruce); color: var(--pine-mid); }
.plug-c-chademo.plug-active { background: rgba(107,91,210,.14); border-color: var(--lupine); color: #4a3ea8; }
.plug-chip.plug-active      { background: var(--pine); border-color: var(--pine); color: #fff; }
.plug-c-nacs.plug-active, .plug-c-ccs.plug-active,
.plug-c-j1772.plug-active, .plug-c-chademo.plug-active { color: inherit; }

.dot-ocm { background: var(--lupine); box-shadow: 0 0 0 3px rgba(107,91,210,.18); }

/* source chain in the advanced panel */
.source-chain { margin: 14px 0 18px; }
.source-step {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--slate);
}
.source-step:last-child { border-bottom: none; }
.source-step strong { color: var(--pine-deep); }
.source-n {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  background: var(--birch-warm); color: var(--pine); font-size: 12.5px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* ==========================================================================
   VEHICLE BROWSER
   ========================================================================== */

.veh-controls { margin-bottom: 24px; }
.veh-filter-row {
  display: flex; gap: 26px; flex-wrap: wrap;
  padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 16px;
}
.veh-filter-group { display: flex; flex-direction: column; gap: 7px; }
.veh-filter-label {
  font-size: 11.5px; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: var(--slate-light);
}
.veh-filter-group .filter-group { flex-wrap: wrap; }
.veh-filter-group .chip { font-size: 13.5px; padding: 6px 13px; }

.veh-tune-row { display: flex; gap: 26px; flex-wrap: wrap; align-items: flex-end; }
.veh-tune { display: flex; flex-direction: column; gap: 5px; min-width: 190px; }
.veh-tune label {
  display: flex; justify-content: space-between; align-items: baseline; gap: 8px;
  font-size: 13.5px; font-weight: 600; color: var(--slate);
}
.veh-check { flex-direction: row; align-items: center; min-width: 0; }
.veh-check label { font-weight: 500; font-size: 14px; }
.veh-count {
  margin-left: auto; font-size: 14px; font-weight: 700; color: var(--pine);
  font-variant-numeric: tabular-nums; padding-bottom: 4px;
}

.veh-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 18px;
}
.veh-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.section-alt .veh-card { background: var(--birch); }

.veh-head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; margin-bottom: 14px; }
.veh-name { font-size: 16.5px; margin: 0 0 3px; line-height: 1.25; }
.veh-sub { font-size: 12.5px; color: var(--slate-light); }
.veh-plug {
  flex-shrink: 0; font-size: 11px; font-weight: 800; letter-spacing: .04em;
  padding: 3px 9px; border-radius: 999px; white-space: nowrap;
}
.plug-nacs    { background: rgba(194,69,107,.13); color: #8e2f4c; }
.plug-ccs     { background: rgba(63,185,138,.17); color: var(--pine-mid); }
.plug-chademo { background: rgba(107,91,210,.14); color: #4a3ea8; }

.veh-ranges {
  display: flex; align-items: center; gap: 10px;
  background: var(--birch); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 12px 14px; margin-bottom: 14px;
}
.section-alt .veh-ranges { background: var(--white); }
.veh-range-item { display: flex; flex-direction: column; }
.veh-range-num {
  font-size: 24px; font-weight: 800; letter-spacing: -.03em; line-height: 1;
  color: var(--slate); font-variant-numeric: tabular-nums;
}
.veh-winter .veh-range-num { color: var(--pine); }
.veh-range-lbl { font-size: 11px; color: var(--slate-light); margin-top: 3px; white-space: nowrap; }
.veh-range-arrow { color: var(--slate-light); font-size: 16px; }
.veh-loss {
  margin-left: auto; font-size: 13px; font-weight: 700; color: var(--berry);
  font-variant-numeric: tabular-nums;
}

.veh-specs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 7px 14px; margin-bottom: 12px;
}
.veh-spec { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
.veh-spec span { color: var(--slate-light); }
.veh-spec b { color: var(--pine-deep); font-variant-numeric: tabular-nums; font-weight: 650; }

.veh-rebate {
  font-size: 12.5px; font-weight: 600; padding: 8px 11px;
  border-radius: var(--radius-sm); margin-top: auto;
}
.veh-rebate-yes { background: rgba(63,185,138,.12); color: var(--pine-mid); }
.veh-rebate-no  { background: rgba(138,71,24,.09); color: #8a4718; }

.veh-note {
  font-size: 13px; color: var(--slate); margin: 10px 0 0;
  padding-top: 10px; border-top: 1px solid var(--line); line-height: 1.5;
}

/* ==========================================================================
   CHARGING SECTION
   ========================================================================== */

.tool-wide { margin-bottom: 34px; }

/* charger presets */
.preset-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px; margin-bottom: 22px;
}
.preset {
  font: inherit; text-align: left; cursor: pointer;
  padding: 11px 13px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line); background: var(--white);
  font-size: 14.5px; font-weight: 700; color: var(--pine-deep);
  display: flex; flex-direction: column; gap: 2px; transition: all .15s;
}
.preset span {
  font-size: 11.5px; font-weight: 500; color: var(--slate-light); letter-spacing: .01em;
}
.preset:hover { border-color: var(--spruce); }
.preset-active { border-color: var(--spruce); background: rgba(63,185,138,.09); }
.preset-active span { color: var(--slate); }

.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
.calc-output .tool-result { margin-top: 0; }

/* charging curve */
.split-wide { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split-wide p { font-size: 15.5px; color: var(--slate); }
.cold-note {
  background: rgba(107,91,210,.07); border-left: 3px solid var(--lupine);
  padding: 12px 16px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.cold-note strong { color: var(--pine-deep); }
.curve-figure { margin: 0; }
.curve-figure svg {
  width: 100%; height: auto; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 10px;
}
.curve-figure figcaption {
  font-size: 13px; color: var(--slate-light); margin-top: 10px; text-align: center;
}

/* info alert */
.alert-info {
  background: rgba(63,185,138,.09); border-color: var(--spruce); color: var(--pine-deep);
  margin: 28px 0;
}
.alert-info strong { color: var(--pine); }

/* practical guide cards */
.guide-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px; margin-top: 34px;
}
.guide-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm);
}
.section-alt .guide-card { background: var(--birch); }
.guide-card h4 { font-size: 17.5px; margin-bottom: 14px; }
.guide-lead { font-size: 15px; color: var(--slate); margin-bottom: 14px; }
.guide-card .rich-list li { font-size: 14.5px; margin-bottom: 12px; }

.numbered-list { margin: 0; padding-left: 1.3em; }
.numbered-list li { font-size: 14.5px; color: var(--slate); margin-bottom: 9px; padding-left: 4px; }
.numbered-list li::marker { color: var(--spruce); font-weight: 700; }

/* ==========================================================================
   UTILITIES SECTION
   ========================================================================== */

.lookup-row { display: flex; gap: 10px; align-items: flex-start; }
.lookup-field { position: relative; flex: 1; }

.suggest-list {
  position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 60;
  list-style: none; margin: 0; padding: 4px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-md);
  max-height: 240px; overflow-y: auto;
}
.suggest-list li {
  padding: 8px 12px; font-size: 15px; cursor: pointer; border-radius: 6px;
}
.suggest-list li:hover, .suggest-list li.sug-active {
  background: rgba(63,185,138,.14); color: var(--pine-deep);
}

.lookup-result { margin-top: 20px; }
.lookup-result:empty { display: none; }
.lookup-empty {
  padding: 18px 20px; background: var(--birch-warm); border: 1px solid var(--line);
  border-radius: var(--radius-sm); font-size: 15px; color: var(--slate);
}
.section-alt .lookup-empty { background: var(--birch); }

.lookup-head {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
  flex-wrap: wrap; padding-bottom: 14px; border-bottom: 2px solid var(--spruce);
  margin-bottom: 6px;
}
.lookup-town { font-size: 26px; font-weight: 800; letter-spacing: -.03em; color: var(--pine-deep); line-height: 1.1; }
.lookup-county { font-size: 13.5px; color: var(--slate-light); margin-top: 2px; }
.lookup-util {
  font-size: 16px; font-weight: 700; color: var(--pine); text-align: right;
  max-width: 340px; line-height: 1.3;
}

/* rate anatomy */
.anatomy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.anatomy-card {
  background: var(--birch); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
}
.anatomy-tag {
  font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--slate-light); margin-bottom: 6px;
}
.anatomy-card h4 { font-size: 22px; margin-bottom: 10px; color: var(--pine); }
.anatomy-card p { font-size: 15px; color: var(--slate); }
.anatomy-figs { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.anatomy-figs .fig {
  display: block; font-size: 24px; font-weight: 800; color: var(--pine-deep);
  letter-spacing: -.02em; font-variant-numeric: tabular-nums;
}
.anatomy-figs small { font-size: 12.5px; color: var(--slate-light); }

/* TOU timeline */
.tou-switch { flex-wrap: wrap; margin-bottom: 22px; }
.timeline-wrap { margin-bottom: 22px; }
.timeline-title { font-size: 15px; font-weight: 700; color: var(--pine-deep); margin-bottom: 10px; }

.timeline {
  display: flex; width: 100%; height: 72px;
  border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line);
}
.tl-block {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; overflow: hidden; padding: 4px 2px; min-width: 0;
  border-right: 1px solid rgba(255,255,255,.6);
}
.tl-block:last-child { border-right: none; }
.tl-label {
  font-size: 12px; font-weight: 700; letter-spacing: .01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%;
}
.tl-hours { font-size: 10.5px; opacity: .75; white-space: nowrap; }

.tl-on       { background: rgba(194,69,107,.22); color: #8e2f4c; }
.tl-shoulder { background: rgba(232,122,60,.22); color: #8a4718; }
.tl-off      { background: rgba(63,185,138,.24); color: #145843; }
.tl-flat     { background: rgba(107,91,210,.18); color: #4a3ea8; }

.timeline-axis { position: relative; height: 20px; margin-top: 4px; }
.timeline-axis span {
  position: absolute; transform: translateX(-50%);
  font-size: 11px; color: var(--slate-light); font-variant-numeric: tabular-nums;
}
.timeline-axis span:first-child { transform: translateX(0); }
.timeline-axis span:last-child { transform: translateX(-100%); }

.timeline-legend {
  display: flex; gap: 18px; flex-wrap: wrap; margin-top: 12px;
  font-size: 13px; color: var(--slate);
}
.timeline-legend span { display: flex; align-items: center; gap: 6px; }
.key-on { background: rgba(194,69,107,.6); }
.key-shoulder { background: rgba(232,122,60,.6); }
.key-off { background: rgba(63,185,138,.7); }
.key-flat { background: rgba(107,91,210,.5); }

.tou-detail { border-top: 1px solid var(--line); padding-top: 18px; }
.tou-detail-head { font-size: 16px; margin-bottom: 12px; }
.tou-detail p { margin-bottom: 10px; }

.rate-chips { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.rate-chip {
  padding: 12px 18px; border-radius: var(--radius-sm); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 2px; min-width: 108px;
}
.rate-chip-val { font-size: 21px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.rate-chip-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; opacity: .8; }
.rate-on       { background: rgba(194,69,107,.09); border-color: rgba(194,69,107,.3); color: #8e2f4c; }
.rate-shoulder { background: rgba(232,122,60,.09); border-color: rgba(232,122,60,.3); color: #8a4718; }
.rate-off      { background: rgba(63,185,138,.11); border-color: rgba(63,185,138,.36); color: #145843; }

.tou-tip { margin: 22px 0 0; }

/* ---------- rate provenance ---------- */
.src-badge {
  display: inline-block; font-size: 9.5px; font-weight: 800;
  letter-spacing: .05em; text-transform: uppercase;
  padding: 2px 6px; border-radius: 4px; margin-left: 6px;
  vertical-align: middle; cursor: help; white-space: nowrap;
}
.src-tariff    { background: rgba(63,185,138,.20); color: var(--pine-mid); }
.src-regulator { background: rgba(63,185,138,.20); color: var(--pine-mid); }
.src-reported  { background: rgba(232,122,60,.18); color: #8a4718; }
.src-estimate  { background: rgba(194,69,107,.14); color: #8e2f4c; }

.rate-headline {
  background: linear-gradient(135deg, rgba(14,59,46,.05), rgba(63,185,138,.07));
  border: 1px solid var(--line); border-left: 4px solid var(--spruce);
  border-radius: var(--radius-sm); padding: 16px 18px; margin: 16px 0 4px;
}
.rate-headline-main { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.rate-headline-num {
  font-size: 34px; font-weight: 800; letter-spacing: -.03em;
  color: var(--pine); line-height: 1; font-variant-numeric: tabular-nums;
}
.rate-headline-lbl { font-size: 14px; color: var(--slate); font-weight: 600; }
.rate-headline-note { font-size: 13.5px; color: var(--slate); margin: 10px 0 0; line-height: 1.55; }
.rate-provenance { line-height: 1.55; margin-top: 10px; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .map-layout { grid-template-columns: 1fr; }
  .map-list { border-left: none; border-top: 1px solid var(--line); height: 300px; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .res-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-legal-inner { flex-direction: column; gap: 12px; }
  .footer-legal .footer-meta { text-align: left; max-width: none; }
  .split-wide { grid-template-columns: 1fr; gap: 28px; }
  .calc-grid { grid-template-columns: 1fr; gap: 20px; }
  .anatomy-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .site-nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    flex-direction: column; padding: 10px 16px; gap: 2px; box-shadow: var(--shadow-md);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 11px 12px; font-size: 16px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .section { padding: 52px 0; }
  .hero { padding: 48px 0 54px; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat-card { padding: 15px 13px; }
  .stat-num { font-size: 25px; }
  .stat-label { font-size: 12.5px; }
  .card { padding: 20px 18px; }
  .map-canvas { height: 420px; }
  .btn { width: 100%; }
  .hero-cta { flex-direction: column; }
  .fr-amount { font-size: 34px; }
  .res-big { font-size: 29px; }

  .preset-row { grid-template-columns: 1fr 1fr; }
  .veh-grid { grid-template-columns: 1fr; }
  .veh-filter-row { gap: 16px; }
  .veh-tune-row { gap: 16px; }
  .veh-tune { min-width: 0; width: 100%; }
  .veh-count { margin-left: 0; }
  .plug-bar { flex-direction: column; align-items: flex-start; gap: 9px; }
  .plug-chip small { display: none; }
  .veh-range-num { font-size: 21px; }
  .lookup-row { flex-direction: column; }
  .lookup-row .btn { width: 100%; }
  .lookup-util { text-align: left; max-width: none; }
  .lookup-town { font-size: 22px; }
  .timeline { height: 88px; }
  .tl-label { font-size: 10.5px; }
  .tl-hours { font-size: 9.5px; }
  .rate-chip { flex: 1 1 100px; min-width: 92px; padding: 10px 12px; }
  .rate-chip-val { font-size: 18px; }
  .anatomy-figs { gap: 16px; }
  .anatomy-figs .fig { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

@media print {
  .site-header, .to-top, .map-layout, .map-toolbar, .updated-bar, .advanced { display: none !important; }
  body { background: #fff; font-size: 12pt; }
  .section { padding: 20px 0; page-break-inside: avoid; }
  details { display: block; }
  details > div, details > p { display: block !important; }
}
