/* Solar Feasibility — extracted from solar-feasibility/index.html (was inline <style>).
   Loaded after styles.css so solar-specific rules still override globals. */
/* ═══════════════════════════════════════════════════════
   SOLAR FEASIBILITY: FULL REDESIGN
   Dark tool aesthetic: deep navy, solar amber accent
═══════════════════════════════════════════════════════ */

/* ── Tool hero ── */
.sf-hero {
  background: linear-gradient(160deg, #060d14 0%, #0d1f35 45%, #111827 100%);
  border-bottom: 1px solid rgba(245,158,11,.15);
  padding: calc(var(--nav-h, 60px) + 1.5rem) 2rem 2.5rem;
  position: relative;
  overflow: hidden;
}
.sf-hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(245,158,11,.06) 0%, transparent 65%);
  pointer-events: none;
}
.sf-hero-inner {
  max-width: 1000px;
  margin: 0 auto;
}
.sf-hero-eyebrow {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.sf-hero-badge {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(245,158,11,.12);
  color: #fbbf24;
  border: 1px solid rgba(245,158,11,.25);
  border-radius: 100px;
  padding: .3rem .85rem;
}
.sf-hero-badge.free {
  background: rgba(52,211,153,.1);
  color: #34d399;
  border-color: rgba(52,211,153,.25);
}
.sf-hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #fff;
  line-height: 1.15;
  margin: 0 0 .75rem;
  letter-spacing: -.02em;
}
.sf-hero h1 em {
  color: #fbbf24;
  font-style: normal;
}
.sf-hero-sub {
  font-size: .88rem;
  color: rgba(255,255,255,.42);
  line-height: 1.65;
  max-width: 620px;
  margin: 0;
}
.sf-hero-perks {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.25rem;
}
.sf-perk {
  font-size: .72rem;
  color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 8px;
  padding: .3rem .7rem;
  display: flex;
  align-items: center;
  gap: .3rem;
}

/* ── Main tool layout ── */
.sf-tool-wrap {
  background: #0b1520;
  min-height: 60vh;
  padding: 2.5rem 1.5rem 5rem;
}
.sf-tool-inner {
  max-width: 1000px;
  margin: 0 auto;
}

/* ── Input card ── */
.sf-card {
  background: #111e2e;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 40px rgba(0,0,0,.4);
}

/* ── Field layout ── */
.sf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
@media(max-width:580px){ .sf-row { grid-template-columns: 1fr; } }
.sf-row.full, .sf-group.full { grid-column: 1 / -1; }

.sf-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.sf-label {
  font-size: .75rem;
  font-weight: 600;
  color: rgba(255,255,255,.45);
  letter-spacing: .03em;
  text-transform: uppercase;
}
.sf-req { color: #f87171; }
.sf-input, .sf-select {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 9px;
  color: #fff;
  font-size: .9rem;
  font-family: 'Outfit', sans-serif;
  padding: .7rem 1rem;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  width: 100%;
  box-sizing: border-box;
}
.sf-input:focus, .sf-select:focus {
  border-color: rgba(245,158,11,.5);
  box-shadow: 0 0 0 3px rgba(245,158,11,.08);
}
.sf-input::placeholder { color: rgba(255,255,255,.22); }
.sf-select option { background: #1a2a3a; color: #fff; }
.sf-error {
  font-size: .72rem;
  color: #f87171;
  display: none;
  margin-top: .1rem;
}

/* ── Radio group ── */
.sf-radio-group {
  display: flex;
  gap: .6rem;
  margin-top: .1rem;
}
.sf-radio {
  flex: 1;
  display: flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 9px;
  padding: .65rem .9rem;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.sf-radio:has(input:checked) {
  background: rgba(245,158,11,.1);
  border-color: rgba(245,158,11,.35);
}
.sf-radio input { accent-color: #fbbf24; cursor: pointer; }
.sf-radio label { font-size: .83rem; color: rgba(255,255,255,.7); cursor: pointer; }
.sf-radio:has(input:checked) label { color: #fbbf24; font-weight: 600; }

/* ── Alt / advanced toggles ── */
.sf-alt-toggle, .sf-adv-toggle {
  background: none;
  border: 1px dashed rgba(255,255,255,.15);
  border-radius: 8px;
  color: rgba(255,255,255,.35);
  font-size: .76rem;
  padding: .5rem 1rem;
  cursor: pointer;
  transition: color .15s, border-color .15s;
  font-family: 'Outfit', sans-serif;
  width: 100%;
  margin-top: .25rem;
}
.sf-alt-toggle:hover, .sf-adv-toggle:hover {
  color: rgba(255,255,255,.65);
  border-color: rgba(255,255,255,.3);
}
.sf-alt-fields, .sf-adv-fields {
  display: none;
  margin-top: 1rem;
}
.sf-alt-fields.open, .sf-adv-fields.open { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media(max-width:580px){ .sf-alt-fields.open,.sf-adv-fields.open { grid-template-columns:1fr; } }

/* ── Divider ── */
.sf-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,.07);
  margin: 1.5rem 0;
}

/* ── Submit button ── */
.btn-solar-calc {
  width: 100%;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, #d97706, #f59e0b);
  color: #0a0f1a;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  border: none;
  border-radius: 11px;
  cursor: pointer;
  letter-spacing: .01em;
  transition: opacity .15s, transform .1s;
  margin-top: 1.25rem;
  box-shadow: 0 4px 20px rgba(245,158,11,.3);
}
.btn-solar-calc:hover { opacity: .92; transform: translateY(-1px); }
.btn-solar-calc:active { transform: translateY(0); }
.btn-solar-calc:disabled { opacity: .45; cursor: not-allowed; transform: none; }

/* ── Loading state ── */
.sf-loading {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  padding: 2rem;
  text-align: center;
}
.sf-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(255,255,255,.1);
  border-top-color: #f59e0b;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Error box ── */
.sf-err-box {
  background: rgba(239,68,68,.1);
  border: 1px solid rgba(239,68,68,.25);
  border-radius: 10px;
  color: #fca5a5;
  font-size: .84rem;
  padding: .9rem 1.1rem;
  display: none;
  margin-top: 1rem;
}

/* ── Address autocomplete (dark-theme overrides) ── */
.addr-wrap { position: relative; }
.addr-suggestions {
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: #1a2a3a;
  border: 1px solid rgba(255,255,255,.15);
  border-top: none;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
  z-index: 200;
  max-height: 280px;
  overflow-y: auto;
  display: none;
}
.addr-suggestions.open { display: block; }
.addr-suggestion {
  padding: .7rem 1rem;
  font-size: .84rem;
  cursor: pointer;
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: background .15s;
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.addr-suggestion:hover { background: rgba(255,255,255,.08); }
.addr-suggestion:last-child { border-bottom: none; }
.addr-suggestion.highlighted { background: rgba(255,255,255,.08); }
.addr-main { color: rgba(255,255,255,.95); font-weight: 600; }
.addr-secondary { font-size: .74rem; color: rgba(255,255,255,.50); }

/* ═══════════════════════════════════════════════════════
   RESULTS SECTION
═══════════════════════════════════════════════════════ */
.solar-results {
  display: none;
  margin-top: 2rem;
}

/* ── Source / station badge ── */
.sr-station {
  font-size: .68rem;
  color: rgba(255,255,255,.28);
  font-style: italic;
  margin: 0;
}

/* ── Map thumbnail ── */
.sr-map-wrap {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(255,255,255,.09);
  height: 160px;
}
.sr-map-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sr-map-overlay {
  position: absolute;
  bottom: .6rem; left: .75rem;
  background: rgba(0,0,0,.65);
  color: rgba(255,255,255,.75);
  font-size: .68rem;
  padding: .25rem .6rem;
  border-radius: 6px;
}

/* ── summary cards ── */
.sr-summary {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: .75rem;
  margin: 1.25rem 0;
}
@media(max-width:900px) { .sr-summary { grid-template-columns: repeat(3, 1fr); } }
@media(max-width:640px) { .sr-summary { grid-template-columns: 1fr 1fr; } }
@media(max-width:480px) {
  .sr-card { padding: .9rem .7rem; }
  .sr-label { font-size: .6rem; letter-spacing: .05em; }
  .sr-value { font-size: 1.45rem; }
  .sr-unit { font-size: .58rem; }
  .sr-chart-wrap { padding: .75rem .6rem .6rem; }
  .sr-chart-title { font-size: .65rem; margin-bottom: .5rem; }
  .payback-bar-wrap { padding: .75rem .8rem; }
  .pb-label { font-size: .68rem; line-height: 1.35; }
  .pb-ticks span { font-size: .55rem; }
  .ec-title { font-size: .95rem; }
  .energy-compare { padding: 1.1rem 1rem 1rem; }
  .ec-col { padding: .9rem .6rem; }
  .ec-col-label { font-size: .55rem; }
  .ec-col-value { font-size: 1.5rem; }
  .ec-col-sub { font-size: .55rem; }
  .ec-savings-label { font-size: .55rem; }
  .ec-savings-value { font-size: 1.3rem; }
  .ec-savings-note { font-size: .62rem; }
  .full-offset-title { font-size: .65rem; }
  .fo-val { font-size: 1.1rem; }
  .fo-lbl { font-size: .58rem; }
  .mobile-br { display: inline !important; }
  .desktop-sep { display: none; }
  .cost-chart-sub { font-size: .65rem !important; }
  .pb-detail { display: none; }
  .pb-explain { font-size: .58rem !important; }
}
.sr-card.net-cost {
  background: rgba(22,163,74,.08);
  border-color: rgba(22,163,74,.28);
}
.sr-card.net-cost .sr-value { color: #86efac; }

.sr-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  padding: 1.1rem .9rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.sr-card.highlight {
  background: rgba(245,158,11,.08);
  border-color: rgba(245,158,11,.25);
}
.sr-card.highlight .sr-value { color: #fbbf24; }
.sr-label {
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: rgba(255,255,255,.35);
  margin-bottom: .4rem;
}
.sr-value {
  font-family: 'DM Serif Display', serif;
  font-size: 1.65rem;
  color: #fff;
  line-height: 1;
  margin-bottom: .25rem;
}
.sr-unit {
  font-size: .65rem;
  color: rgba(255,255,255,.28);
}

/* ── Payback bar ── */
.payback-bar-wrap {
  margin: 1.25rem 0;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 10px;
  padding: .9rem 1.1rem;
}
.pb-label {
  font-size: .76rem;
  font-weight: 700;
  color: rgba(255,255,255,.55);
  margin-bottom: .6rem;
}
.pb-track {
  height: 8px;
  background: rgba(255,255,255,.08);
  border-radius: 100px;
  overflow: hidden;
}
.pb-fill {
  height: 100%;
  background: linear-gradient(90deg, #34d399, #f59e0b, #ef4444);
  border-radius: 100px;
  transition: width .8s cubic-bezier(.4,0,.2,1);
}
.pb-ticks {
  display: flex;
  justify-content: space-between;
  margin-top: .45rem;
}
.pb-ticks span { font-size: .6rem; color: rgba(255,255,255,.22); }

/* ── Energy cost comparison ── */
.energy-compare {
  margin: 1.5rem 0;
  background: linear-gradient(135deg, rgba(15,23,42,.95), rgba(30,41,59,.9));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 1.5rem 1.5rem 1.25rem;
  position: relative;
  overflow: hidden;
}
.energy-compare::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ef4444, #f59e0b, #22c55e);
  border-radius: 14px 14px 0 0;
}
.ec-title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.1rem;
  color: rgba(255,255,255,.85);
  margin-bottom: 1.25rem;
  text-align: center;
}
.ec-columns {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: center;
}
.ec-col {
  text-align: center;
  padding: 1.25rem 1rem;
  border-radius: 12px;
}
.ec-col.before {
  background: rgba(239,68,68,.06);
  border: 1px solid rgba(239,68,68,.15);
}
.ec-col.after {
  background: rgba(34,197,94,.06);
  border: 1px solid rgba(34,197,94,.18);
}
.ec-col-label {
  font-size: .6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .5rem;
}
.ec-col.before .ec-col-label { color: rgba(248,113,113,.7); }
.ec-col.after .ec-col-label { color: rgba(134,239,172,.7); }
.ec-col-value {
  font-family: 'DM Serif Display', serif;
  font-size: 2rem;
  line-height: 1;
  margin-bottom: .3rem;
}
.ec-col.before .ec-col-value { color: #fca5a5; }
.ec-col.after .ec-col-value { color: #86efac; }
.ec-col-sub {
  font-size: .6rem;
  color: rgba(255,255,255,.3);
}
.ec-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 .5rem;
  font-size: 1.5rem;
  color: rgba(255,255,255,.15);
}
.ec-savings-banner {
  margin-top: 1.25rem;
  background: linear-gradient(135deg, rgba(34,197,94,.1), rgba(34,197,94,.05));
  border: 1px solid rgba(34,197,94,.2);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  text-align: center;
}
.ec-savings-label {
  font-size: .6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(134,239,172,.6);
  margin-bottom: .35rem;
}
.ec-savings-value {
  font-family: 'DM Serif Display', serif;
  font-size: 1.75rem;
  color: #4ade80;
  line-height: 1;
  margin-bottom: .3rem;
}
.ec-savings-note {
  font-size: .68rem;
  color: rgba(255,255,255,.4);
  line-height: 1.4;
}
@media(max-width:580px) {
  .ec-columns { grid-template-columns: 1fr; gap: .5rem; }
  .ec-arrow { transform: rotate(90deg); padding: .25rem 0; }
  .ec-col-value { font-size: 1.6rem; }
  .ec-savings-value { font-size: 1.4rem; }
}

/* ── Monthly cost chart ── */
#monthlyCostChartWrap {
  margin: 1.25rem 0;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px;
  padding: 1.25rem 1.1rem 1rem;
}

/* ── Key insights ── */
#srKeyInsights .ki-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
  margin: .5rem 0;
}
@media(max-width:640px){ #srKeyInsights .ki-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:480px){ #srKeyInsights .ki-grid { grid-template-columns: 1fr; } #srKeyInsights .ki-val { font-size: .82rem; } #srKeyInsights .ki-sub { font-size: .62rem; } }
#srKeyInsights .ki-card {
  background: rgba(255,255,255,.04);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.07);
  padding: .85rem .9rem;
}
#srKeyInsights .ki-label {
  font-size: .62rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: rgba(255,255,255,.3);
  margin-bottom: .3rem;
}
#srKeyInsights .ki-val {
  font-size: .9rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}
#srKeyInsights .ki-sub {
  font-size: .68rem;
  color: rgba(255,255,255,.3);
  margin-top: .2rem;
  line-height: 1.4;
}

/* ── Key insight rows ── */
.key-insight {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  padding: .55rem 0;
  font-size: .82rem;
  line-height: 1.6;
  color: rgba(255,255,255,.60);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.key-insight:last-child { border-bottom: none; }
.ki-icon { font-size: 1rem; flex-shrink: 0; margin-top: .1rem; }
.key-insight.ki-good span:not(.ki-icon) { color: rgba(255,255,255,.70); }
.key-insight.ki-warn span:not(.ki-icon) { color: rgba(255,200,120,.70); }
.key-insight.ki-info span:not(.ki-icon) { color: rgba(255,255,255,.55); }

/* ── Physical stats ── */
.sr-physical {
  display: block;
  margin: 1.25rem 0;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px;
  padding: 1.25rem;
}
.sr-physical-title {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: rgba(255,255,255,.3);
  margin-bottom: .85rem;
}
.sr-panel-stat {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .75rem;
}
.sr-ps-icon { font-size: 1.3rem; flex-shrink: 0; }
.sr-ps-val {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  color: #fff;
  line-height: 1;
}
.sr-ps-lbl { font-size: .72rem; color: rgba(255,255,255,.4); margin-top: .1rem; }
.sr-ps-sub { font-size: .66rem; color: rgba(255,255,255,.25); margin-top: .1rem; }
.sr-kwp-explainer {
  font-size: .72rem;
  color: rgba(255,255,255,.25);
  line-height: 1.55;
  background: rgba(255,255,255,.03);
  border-radius: 8px;
  padding: .6rem .75rem;
  margin-top: .5rem;
}
.sr-roof-wrap { display: flex; flex-direction: column; }
.sr-roof-label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: rgba(255,255,255,.3);
  margin-bottom: .5rem;
}
.sr-roof-svg { width: 100%; border-radius: 8px; }
.sr-roof-caption {
  font-size: .65rem;
  color: rgba(255,255,255,.22);
  margin-top: .4rem;
  text-align: center;
  font-style: italic;
}

/* ── Roof assessment panel (Google Solar API) ── */
#srRoofPanel {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}

/* ── Concept visualization ── */
.concept-render-wrap {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  overflow: hidden;
  margin: 1.25rem 0;
}
.concept-render-header {
  padding: .7rem 1.1rem;
  background: rgba(255,255,255,.04);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.07);
  flex-wrap: wrap;
  gap: .5rem;
}
.concept-render-title {
  font-size: .78rem;
  font-weight: 700;
  color: rgba(255,255,255,.6);
}
.concept-render-badge {
  font-size: .62rem;
  background: rgba(239,68,68,.1);
  color: #fca5a5;
  border: 1px solid rgba(239,68,68,.2);
  border-radius: 100px;
  padding: .2rem .65rem;
}
.concept-fallback-inner { padding: 1rem 1.1rem; }
.concept-hq-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem;
}
.concept-svg-wrap {
  background: rgba(0,0,0,.2);
  border-radius: 10px;
  overflow: hidden;
}
.concept-hq-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: .75rem;
  flex-wrap: wrap;
}
.concept-render-btn {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 8px;
  color: rgba(255,255,255,.7);
  font-size: .8rem;
  font-family: 'Outfit', sans-serif;
  padding: .5rem 1rem;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.concept-render-btn:hover { background: rgba(255,255,255,.11); border-color: rgba(255,255,255,.3); color: #fff; }
.concept-render-btn:disabled { opacity: .35; cursor: not-allowed; }
.concept-legal {
  font-size: .65rem;
  color: rgba(255,255,255,.18);
  line-height: 1.5;
  margin-top: .75rem;
  font-style: italic;
}

/* ── Charts ── */
.sr-chart-wrap {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  padding: 1.1rem 1.1rem .75rem;
  margin-bottom: .75rem;
}
.sr-chart-title {
  font-size: .72rem;
  font-weight: 700;
  color: rgba(255,255,255,.60);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: .6rem;
}

/* ── Rebates ── */
.sr-rebates {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 1.25rem;
  margin: 1.25rem 0;
}
.sr-rebates-hdr {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  margin-bottom: 1rem;
}
.sr-rebates-icon { font-size: 1.5rem; }
.sr-rebates-title {
  font-weight: 800;
  font-size: .95rem;
  color: #fff;
}
.sr-rebates-sub { font-size: .76rem; color: rgba(255,255,255,.55); margin-top: .2rem; }
.sr-rebates-list { display: flex; flex-direction: column; gap: .6rem; }

.sr-rebate-item {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-left: 3px solid #34d399;
  border-radius: 0 10px 10px 0;
  padding: .75rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: .75rem;
  flex-wrap: wrap;
}
.sr-rebate-name { font-size: .83rem; font-weight: 700; color: #fff; }
.sr-rebate-desc { font-size: .73rem; color: rgba(255,255,255,.55); margin-top: .2rem; line-height: 1.45; }
.sr-rebate-amt { font-size: .88rem; font-weight: 800; color: #34d399; white-space: nowrap; }

.sr-net-cost {
  background: rgba(245,158,11,.06);
  border: 1px solid rgba(245,158,11,.18);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  margin-top: 1rem;
}
.snc-title {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: rgba(245,158,11,.65);
  margin-bottom: .65rem;
}
.snc-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: .25rem 0;
}
.snc-lbl { font-size: .8rem; color: rgba(255,255,255,.60); }
.snc-val { font-size: .88rem; font-weight: 700; color: rgba(255,255,255,.8); }
.snc-val.snc-green { color: #34d399; }
.snc-divider { border-top: 1px solid rgba(255,255,255,.08); margin: .4rem 0; }
.snc-row.snc-total .snc-lbl { font-weight: 700; color: rgba(255,255,255,.75); }
.snc-row.snc-total .snc-val.snc-big {
  font-family: 'DM Serif Display', serif;
  font-size: 1.4rem;
  color: #fbbf24;
}
.snc-pct { font-size: .72rem; color: rgba(255,255,255,.3); margin-top: .35rem; text-align: right; }

.sr-noncash {
  margin-top: .85rem;
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  background: rgba(255,255,255,.03);
  border-radius: 10px;
  padding: .75rem 1rem;
  border: 1px solid rgba(255,255,255,.07);
}
.sr-noncash-icon { font-size: 1.1rem; flex-shrink: 0; }
.sr-noncash-lbl { font-size: .72rem; font-weight: 700; color: rgba(255,255,255,.4); margin-bottom: .4rem; }
.sr-noncash-list { font-size: .76rem; color: rgba(255,255,255,.45); line-height: 1.6; }

.sr-rebates-note {
  font-size: .67rem;
  color: rgba(255,255,255,.2);
  margin-top: .85rem;
  font-style: italic;
  line-height: 1.5;
}
.rebate-exclude-note {
  font-size: .67rem;
  color: rgba(147,197,253,.95);
  margin-top: .2rem;
  font-style: italic;
  line-height: 1.5;
}

/* ── Scenarios ── */
.sr-scenarios { margin: 1.25rem 0; }
.sc-hdr {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: rgba(255,255,255,.50);
  margin-bottom: .75rem;
}

.scenario-card {
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: .6rem;
  background: rgba(255,255,255,.04) !important;
}
.scenario-hdr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .85rem 1.1rem;
  cursor: pointer;
  background: rgba(255,255,255,.04);
  transition: background .15s;
}
.scenario-hdr:hover { background: rgba(255,255,255,.07); }
.scenario-hdr-left { display: flex; align-items: center; gap: .65rem; flex-wrap: wrap; }
.scenario-badge {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 800;
  flex-shrink: 0;
}
.sc-A .scenario-badge { background: rgba(52,211,153,.22); color: #34d399; }
.sc-B .scenario-badge { background: rgba(59,130,246,.22); color: #60a5fa; }
.sc-C .scenario-badge { background: rgba(245,158,11,.22); color: #fbbf24; }
.scenario-title { font-size: .85rem; font-weight: 700; color: rgba(255,255,255,.80); }
.scenario-tag { font-size: .7rem; color: rgba(255,255,255,.50); }
.scenario-chevron { color: rgba(255,255,255,.50); font-size: .75rem; transition: transform .2s; }
.scenario-body {
  display: none;
  padding: 1rem 1.1rem;
  background: rgba(255,255,255,.04);
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: .82rem;
  color: rgba(255,255,255,.70);
  line-height: 1.65;
}
.scenario-body.open { display: block; }

/* ── Opportunity tiles ── */
.opp-section { margin: 1.5rem 0; }
.opp-section-hdr {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: rgba(255,255,255,.3);
  margin-bottom: .4rem;
}
.opp-section-sub {
  font-size: .78rem;
  color: rgba(255,255,255,.3);
  margin-bottom: .85rem;
  line-height: 1.5;
}
.opp-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .6rem;
}
@media(max-width:540px){ .opp-tiles { grid-template-columns: 1fr 1fr; } }
.opp-tile {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 11px;
  padding: .85rem .9rem;
  cursor: pointer;
  transition: background .15s, border-color .15s;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.opp-tile:hover { background: rgba(255,255,255,.07); }
.opp-tile.active {
  background: rgba(245,158,11,.08);
  border-color: rgba(245,158,11,.3);
}
.opp-tile-icon { font-size: 1.2rem; flex-shrink: 0; }
.opp-tile-title { font-size: .78rem; font-weight: 700; color: rgba(255,255,255,.7); line-height: 1.3; }
.opp-tile-sub { font-size: .67rem; color: rgba(255,255,255,.3); margin-top: .15rem; }

/* ── CTAs ── */
.sr-ctas {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  justify-content: center;
}
.sr-disclaimer {
  font-size: .65rem;
  color: rgba(255,255,255,.18);
  font-style: italic;
  margin-top: .75rem;
  line-height: 1.5;
  text-align: center;
}

/* ── FAB ── */
.sr-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: linear-gradient(135deg, #d97706, #f59e0b);
  color: #0a0f1a;
  font-family: 'Outfit', sans-serif;
  font-size: .8rem;
  font-weight: 800;
  border: none;
  border-radius: 100px;
  padding: .7rem 1.25rem;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(245,158,11,.35);
  display: none;
  z-index: 100;
  transition: transform .15s, opacity .15s;
}
.sr-fab:hover { transform: translateY(-2px); }

/* ── kWp explainer in results ── */
.sr-kwp-explainer strong { color: rgba(255,255,255,.5); }

/* ── Segment rows in roof panel ── */
.sr-seg-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .4rem .5rem;
  border-radius: 8px;
  background: rgba(255,255,255,.03);
  font-size: .76rem;
  color: rgba(255,255,255,.5);
  margin-bottom: .35rem;
}
.sr-seg-bar-wrap {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,.08);
  border-radius: 100px;
  overflow: hidden;
}
.sr-seg-bar { height: 100%; background: #f59e0b; border-radius: 100px; }

/* ── Financing CTA ── */
#srFinancingCta {
  border-radius: 12px;
  border: 1px solid rgba(59,130,246,.2);
  background: linear-gradient(135deg, rgba(30,58,138,.3), rgba(17,24,39,.3)) !important;
}

/* ── Scenario dark-theme overrides (styles.css uses light theme) ── */
.scenario-card { background: rgba(255,255,255,.04) !important; }
.scenario-hdr { background: rgba(255,255,255,.04) !important; }
.scenario-hdr:hover { background: rgba(255,255,255,.08) !important; }
.scenario-badge { color: inherit !important; }
.sc-A .scenario-badge { background: rgba(52,211,153,.22) !important; color: #34d399 !important; }
.sc-B .scenario-badge { background: rgba(59,130,246,.22) !important; color: #60a5fa !important; }
.sc-C .scenario-badge { background: rgba(245,158,11,.22) !important; color: #fbbf24 !important; }
.scenario-title { color: rgba(255,255,255,.85) !important; }
.scenario-body { background: rgba(255,255,255,.04) !important; border-top: 1px solid rgba(255,255,255,.08) !important; color: rgba(255,255,255,.70) !important; }
.scenario-body table { color: rgba(255,255,255,.70) !important; }
.scenario-body strong { color: rgba(255,255,255,.90) !important; }
.scenario-body p { color: rgba(255,255,255,.60) !important; }
.scenario-math-row { color: rgba(255,255,255,.60) !important; border-bottom-color: rgba(255,255,255,.08) !important; }
.scenario-math-row span { color: rgba(255,255,255,.70) !important; }
.scenario-math-row:last-child { color: rgba(255,255,255,.95) !important; }
.scenario-note { color: rgba(255,255,255,.45) !important; }
.sc-green { color: #86efac !important; }
.sc-blue { color: #93c5fd !important; }

/* ── 100% Offset Info ── */
.full-offset-wrap{background:linear-gradient(135deg,rgba(37,99,235,.08),rgba(139,92,246,.06));border:1px solid rgba(99,132,200,.22);border-radius:14px;padding:1.4rem 1.5rem;margin:1.25rem 0;text-align:center}
.full-offset-title{font-size:.72rem;font-weight:700;letter-spacing:1.2px;text-transform:uppercase;color:rgba(147,197,253,.7);margin-bottom:1rem}
.full-offset-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:.6rem;justify-items:center}
@media(max-width:700px){.full-offset-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:480px){.full-offset-grid{grid-template-columns:1fr 1fr}}
.fo-stat{text-align:center;padding:.65rem .5rem;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.06);border-radius:10px;width:100%}
.fo-val{font-family:'DM Serif Display',serif;font-size:1.25rem;color:#fbbf24;line-height:1.2}
.fo-lbl{font-size:.65rem;color:rgba(255,255,255,.42);margin-top:.3rem;letter-spacing:.02em}
.fo-note{font-size:.78rem;color:rgba(255,255,255,.50);margin-top:.65rem;line-height:1.5;padding:.5rem .75rem;background:rgba(245,158,11,.06);border-radius:8px;border-left:3px solid rgba(245,158,11,.3)}

/* ── Drone Upsell ── */
.drone-upsell{background:rgba(245,158,11,.04);border:1px solid rgba(245,158,11,.18);border-radius:14px;padding:1.25rem;margin:1rem 0}
.drone-upsell-header{display:flex;gap:.75rem;align-items:center;margin-bottom:1rem}
.drone-upsell-title{font-weight:800;font-size:.9rem;color:rgba(255,255,255,.85)}
.drone-upsell-sub{font-size:.75rem;color:rgba(255,255,255,.45)}
.drone-upsell-body{font-size:.82rem;color:rgba(255,255,255,.60);line-height:1.6}
.drone-upsell-body p{margin:0 0 .75rem}
.drone-upsell-body ul{list-style:none;padding:0;margin:0 0 .75rem}
.drone-upsell-body ul li{padding:.25rem 0;display:flex;gap:.5rem;align-items:flex-start}
.drone-upsell-body ul li::before{content:'✓';color:#f59e0b;font-weight:700;flex-shrink:0}
.drone-upsell-offer{background:rgba(255,255,255,.04);border-radius:10px;padding:1rem;margin:.75rem 0}
.drone-upsell-offer-title{font-weight:700;font-size:.88rem;color:rgba(255,255,255,.80);margin-bottom:.5rem}
.drone-upsell-price{font-family:'DM Serif Display',serif;font-size:1.8rem;color:#fbbf24;margin-top:.5rem}
.drone-upsell-distance{font-size:.72rem;color:rgba(255,255,255,.35);margin-top:.25rem}

/* ── Drone Upsell Card (A5) ── */
.drone-upsell-card{background:rgba(245,158,11,.06);border:1px solid rgba(245,158,11,.22);border-radius:14px;padding:1.25rem;margin:.75rem 0}
.drone-upsell-card-title{font-weight:800;font-size:.9rem;color:rgba(255,255,255,.88);margin-bottom:.6rem}
.drone-upsell-card-body{font-size:.82rem;color:rgba(255,255,255,.58);line-height:1.6;margin-bottom:.85rem}
.drone-upsell-card-price{font-size:.88rem;color:rgba(255,255,255,.75);margin-bottom:.85rem}
.drone-upsell-card-price strong{color:#fbbf24}
.drone-dist{font-size:.75rem;color:rgba(255,255,255,.35)}
.drone-upsell-btn{display:inline-block;background:linear-gradient(135deg,#d97706,#f59e0b);color:#0a0f1a;font-family:'Outfit',sans-serif;font-size:.82rem;font-weight:800;border-radius:8px;padding:.6rem 1.2rem;text-decoration:none;transition:opacity .15s}
.drone-upsell-btn:hover{opacity:.88}

/* ── sr-offset-card (A3) ── */
.sr-offset-card{background:rgba(245,158,11,.06);border:1px solid rgba(245,158,11,.22);border-radius:14px;padding:1.1rem 1.25rem;margin:1.25rem 0}
.sr-offset-title{font-size:.7rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:rgba(245,158,11,.75);margin-bottom:.75rem}
.sr-offset-body{display:flex;flex-direction:column;gap:.35rem}
.sr-offset-row{display:flex;justify-content:space-between;align-items:baseline;padding:.2rem 0;border-bottom:1px solid rgba(255,255,255,.06)}
.sr-offset-row:last-child{border-bottom:none}
.sr-offset-lbl{font-size:.8rem;color:rgba(255,255,255,.55)}
.sr-offset-val{font-size:.88rem;font-weight:700;color:#fbbf24}
