.eex-chart-container { padding: 15px; background: #fff; border: 1px solid #eee; border-radius: 8px; font-family: sans-serif; position: relative; color: #1f2b3a; }
.eex-tooltip-trigger { cursor: help; color: #0055aa; margin-left: 5px; font-size: .9rem; }
.eex-info-box { font-size: .75rem; line-height: 1.3; background: #fff; border: 1px solid #0055aa; padding: 10px; border-radius: 4px; display: none; position: absolute; z-index: 100; box-shadow: 0 4px 10px rgba(0,0,0,.1); width: 250px; }
.eex-tooltip-trigger:hover + .eex-info-box { display: block; }
.eex-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; border-bottom: 2px solid #f8f9fa; padding-bottom: 10px; }
.eex-chart-wrapper { position: relative; height: 280px; width: 100%; box-sizing: border-box; }
@media (max-width: 600px) { .eex-chart-wrapper { height: 230px; } }
.eex-export-btn { position: absolute; top: 4px; right: 4px; z-index: 5; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; padding: 0; border: 1px solid #d8dee8; border-radius: 6px; background: rgba(255,255,255,.9); color: #0055aa; cursor: pointer; opacity: .55; transition: opacity .15s, background .15s; }
.eex-export-btn:hover { opacity: 1; background: #fff; }
.eex-refresh-btn { position: absolute; top: 4px; right: 40px; z-index: 5; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; padding: 0; border: 1px solid #d8dee8; border-radius: 6px; background: rgba(255,255,255,.9); color: #0055aa; cursor: pointer; opacity: .55; transition: opacity .15s, background .15s; }
.eex-refresh-btn:hover { opacity: 1; background: #fff; }
.eex-refresh-btn::after { content: attr(data-tip); position: absolute; top: 100%; right: 0; margin-top: 6px; width: 230px; white-space: normal; text-align: left; line-height: 1.25; background: #1f2b3a; color: #fff; font-size: .7rem; font-weight: 600; padding: 5px 8px; border-radius: 4px; box-shadow: 0 4px 10px rgba(0,0,0,.18); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .15s; z-index: 20; }
.eex-refresh-btn:hover::after, .eex-refresh-btn:focus-visible::after { opacity: 1; visibility: visible; }
.eex-export-btn::after { content: attr(data-tip); position: absolute; top: 100%; right: 0; margin-top: 6px; max-width: 230px; white-space: normal; text-align: left; line-height: 1.25; background: #1f2b3a; color: #fff; font-size: .7rem; font-weight: 600; padding: 5px 8px; border-radius: 4px; box-shadow: 0 4px 10px rgba(0,0,0,.18); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .15s; z-index: 20; }
.eex-export-btn:hover::after, .eex-export-btn:focus-visible::after { opacity: 1; visibility: visible; }
@media print { .eex-export-btn, .eex-refresh-btn { display: none; } }
.eex-range-nav { margin: 8px 0 10px; display: flex !important; gap: 12px; flex-wrap: wrap; font-size: .82rem; align-items: center; justify-content: flex-start; visibility: visible !important; opacity: 1 !important; }
.eex-range-nav a { display: inline-block !important; color: #2f3b4d !important; text-decoration: none !important; border-bottom: 1px solid transparent; font-weight: 700 !important; opacity: 1 !important; visibility: visible !important; }
.eex-range-nav a.eex-range-active { color: #0055aa !important; border-bottom-color: #0055aa; }
.eex-range-nav .eex-u-short { display: none; }
@media (max-width: 600px) { .eex-range-nav { gap: 8px; } .eex-range-nav .eex-u-full { display: none; } .eex-range-nav .eex-u-short { display: inline; } }
.eex-period-controls { display: flex; justify-content: flex-end; align-items: center; gap: 10px; flex-wrap: wrap; }
.eex-period-text { white-space: nowrap; }
.eex-range-nav--inline { margin: 0; gap: 10px; justify-content: flex-end; font-size: .78rem; }
.eex-stats { display: flex; justify-content: space-between; margin-top: 12px; font-size: .84rem; background: #ffffff !important; border: 1px solid #d8dee8 !important; padding: 10px; border-radius: 8px; position: relative; z-index: 2; opacity: 1 !important; }
.eex-stat-col { text-align: center; flex: 1; color: #1f2b3a !important; opacity: 1 !important; display: flex !important; flex-direction: column !important; align-items: center !important; }
.eex-stat-col + .eex-stat-col { border-left: 1px solid #e5eaf1; }
.eex-stat-col strong { display: block !important; font-size: 1.9rem; line-height: 1.1; font-weight: 800; color: #1f2b3a !important; opacity: 1 !important; text-shadow: none; }
.eex-stat-title { display: block !important; color: #445268 !important; font-size: .72rem; margin-bottom: 3px; font-weight: 700; letter-spacing: .02em; opacity: 1 !important; white-space: nowrap; }
.eex-stat-value { color: #1f2b3a !important; }
.eex-stat-date { display: block !important; color:#4d5c74 !important; font-size:.72rem; font-weight: 600; opacity: 1 !important; white-space: nowrap; }
.eex-debug-marker { margin-top: 8px; font-size: .68rem; color: #666; background: #f8f8f8; border: 1px dashed #ccc; border-radius: 4px; padding: 6px; }
@media (max-width: 600px) {
  /* Header: titel oben, ZEITRAUM-Controls darunter – volle Breite */
  .eex-header { flex-direction: column; gap: 6px; }
  .eex-header-right {
    text-align: left !important;
    max-width: 100% !important;
    width: 100%;
  }
  /* Pfeil + Datum + Range in einer Zeile anordnen */
  .eex-period-controls { flex-direction: column; align-items: flex-start; gap: 4px; }
  /* Range-Buttons: eine Zeile, horizontal scrollbar, kein Umbruch */
  .eex-range-nav--inline {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
    gap: 10px;
  }
  .eex-range-nav--inline::-webkit-scrollbar { display: none; }
  /* Datums-Input kompakt */
  .eex-date-input {
    font-size: 11px !important;
    padding: 2px 5px !important;
    max-width: 120px;
  }
  /* Stats: 3 Spalten nebeneinander bleiben, Werte kleiner */
  .eex-stats { flex-direction: row; gap: 0; }
  .eex-stat-col + .eex-stat-col { border-left: 1px solid #e5eaf1; border-top: 0; padding-top: 0; }
  .eex-stat-col strong { font-size: 1.25rem !important; }
  .eex-stat-title { font-size: .65rem; }
  .eex-stat-date { font-size: .62rem; }
}

.eex-period-arrow { display: inline-block !important; color:#0055aa !important; text-decoration:none !important; font-weight:800 !important; padding:0 6px; visibility: visible !important; opacity: 1 !important; }
.eex-period-arrow:hover { text-decoration:underline !important; }

/* Kopfzeile: Titel einzeilig über die ganze Breite, darunter Wert links / Zeitraum rechts */
.eex-header { flex-direction: column; align-items: stretch; gap: 4px; }
.eex-title { margin: 0; font-size: .95rem; color: #666; display: flex; align-items: center; min-width: 0; }
.eex-title-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.eex-header-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
.eex-period-pick { position: relative; display: inline-block; cursor: pointer; color: #1f2b3a; border-bottom: 1px dashed #0055aa; }
.eex-date-hidden { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; border: 0; padding: 0; }
@media (max-width: 600px) { .eex-title-text { white-space: normal; } .eex-header-row { flex-direction: column; } }

.eex-chart-wrapper canvas { display: block; width: 100% !important; max-width: 100%; }

/* Fusszeile: eine Zeile, bei Platzmangel zwei */
.eex-footer { margin-top: 10px; display: flex; flex-wrap: wrap; justify-content: flex-end; column-gap: 4px; row-gap: 2px; font-size: .65rem; line-height: 1.35; color: #777; }
.eex-footer > span { max-width: 100%; }

/* Kopfzeile zweispaltig: links Titel + Mittelwert, rechts Zeitraum (zwei Zeilen, oben bündig) */
.eex-header-row { align-items: flex-start; flex-wrap: nowrap; }
.eex-title-col { flex: 1 1 auto; min-width: 0; }
.eex-title-col .eex-title { margin-bottom: 4px; line-height: 1.3; }
.eex-header-right { flex: 0 0 auto; max-width: 64%; }
.eex-header-right .eex-period-controls { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.eex-period-label { color: #0055aa; font-weight: 700; margin-right: 6px; }
@media (max-width: 600px) {
  .eex-header-row { flex-direction: column; flex-wrap: nowrap; }
  .eex-title-col, .eex-header-right { max-width: 100%; width: 100%; }
  .eex-header-right .eex-period-controls { align-items: flex-start; gap: 4px; }
  .eex-period-label { display: none; }
}

.eex-quarter-link { color: #0055aa !important; text-decoration: none; display: inline-block; padding: 2px 0; }
.eex-quarter-link:hover, .eex-quarter-link:focus-visible { text-decoration: underline; }

/* ── Darstellung «Modern» und «Redaktionell» (ab 5.9.7.102) ─────────────────
   Klassisch bleibt unverändert. Farben als Variablen: hell, dunkel, automatisch. */
.eex-themed { --eex-bg:#ffffff; --eex-ink:#1f2b3a; --eex-mute:#5b6676; --eex-line:#e5eaf1; --eex-soft:#f1f5fa; --eex-acc:#0055aa; --eex-lo:#c62828; --eex-hi:#15803d; --eex-cmp:#b45309; --eex-btn:rgba(255,255,255,.92); }
.eex-themed.eex-cs-dark { color-scheme:dark; --eex-bg:#161b22; --eex-ink:#e6edf3; --eex-mute:#9aa7b6; --eex-line:#2b333d; --eex-soft:#1f262f; --eex-acc:#6cb0ff; --eex-lo:#ff7b72; --eex-hi:#4ade80; --eex-cmp:#fbbf24; --eex-btn:rgba(22,27,34,.92); }
[data-color-scheme=dark] .eex-themed.eex-cs-auto, [data-bs-theme=dark] .eex-themed.eex-cs-auto { color-scheme:dark; --eex-bg:#161b22; --eex-ink:#e6edf3; --eex-mute:#9aa7b6; --eex-line:#2b333d; --eex-soft:#1f262f; --eex-acc:#6cb0ff; --eex-lo:#ff7b72; --eex-hi:#4ade80; --eex-cmp:#fbbf24; --eex-btn:rgba(22,27,34,.92); }
@media (prefers-color-scheme: dark) {
  :root:not([data-color-scheme=light]):not([data-bs-theme=light]) .eex-themed.eex-cs-auto { color-scheme:dark; --eex-bg:#161b22; --eex-ink:#e6edf3; --eex-mute:#9aa7b6; --eex-line:#2b333d; --eex-soft:#1f262f; --eex-acc:#6cb0ff; --eex-lo:#ff7b72; --eex-hi:#4ade80; --eex-cmp:#fbbf24; --eex-btn:rgba(22,27,34,.92); }
}
.eex-themed { background:var(--eex-bg); color:var(--eex-ink); font-family:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif; }
.eex-themed .eex-title { color:var(--eex-mute); }
.eex-themed .eex-title-col .eex-avg { color:var(--eex-ink) !important; font-variant-numeric:tabular-nums; letter-spacing:-.02em; }
.eex-themed .eex-unit { color:var(--eex-mute) !important; }
.eex-themed .eex-title-col .eex-unit-select { color:var(--eex-ink) !important; background:var(--eex-bg) !important; border-color:var(--eex-line) !important; }
.eex-themed .eex-delta { margin-top:2px; font-size:.8rem; font-weight:700; color:var(--eex-mute); font-variant-numeric:tabular-nums; }
.eex-themed .eex-header { border-bottom-color:var(--eex-line); }
.eex-themed .eex-header-right { color:var(--eex-mute) !important; }
.eex-themed .eex-period-pick { color:var(--eex-ink); border-bottom-color:var(--eex-acc); }
.eex-themed .eex-period-label, .eex-themed .eex-period-arrow { color:var(--eex-acc) !important; }
.eex-themed .eex-range-nav a { color:var(--eex-mute) !important; }
.eex-themed .eex-range-nav a.eex-range-active { color:var(--eex-acc) !important; border-bottom-color:var(--eex-acc); }
.eex-themed .eex-export-btn, .eex-themed .eex-refresh-btn { background:var(--eex-btn); border-color:var(--eex-line); color:var(--eex-acc); }
.eex-themed .eex-export-btn:hover, .eex-themed .eex-refresh-btn:hover { background:var(--eex-bg); }
.eex-themed .eex-tooltip-trigger { color:var(--eex-acc); }
.eex-themed .eex-info-box { background:var(--eex-bg); color:var(--eex-ink); border-color:var(--eex-acc); }
.eex-themed .eex-quarter-link { color:var(--eex-acc) !important; }
.eex-themed .eex-stats { background:var(--eex-bg) !important; border-color:var(--eex-line) !important; }
.eex-themed .eex-stats table { color:var(--eex-ink) !important; font-variant-numeric:tabular-nums; }
.eex-themed .eex-stats thead tr { color:var(--eex-mute) !important; }
.eex-themed .eex-stats tbody tr { border-top-color:var(--eex-line) !important; }
.eex-themed .eex-stats strong[style*="#d9534f"] { color:var(--eex-lo) !important; }
.eex-themed .eex-stats strong[style*="#5cb85c"] { color:var(--eex-hi) !important; }
.eex-themed .eex-footer { color:var(--eex-mute); }
/* Inline-Farben der Zusatztabellen (PV, Legenden) an das Farbschema anpassen */
.eex-themed [style*="background:#f1f5f9"] { background:var(--eex-soft) !important; }
.eex-themed [style*="background:#eef4ff"] { background:color-mix(in srgb, var(--eex-acc) 14%, var(--eex-bg)) !important; }
.eex-themed [style*="color:#0f172a"], .eex-themed [style*="color:#1f2b3a"] { color:var(--eex-ink) !important; }
.eex-themed [style*="color:#475569"], .eex-themed [style*="color:#64748b"], .eex-themed [style*="color:#4d5c74"], .eex-themed [style*="color:#445268"], .eex-themed [style*="color:#555"], .eex-themed [style*="color:#666"], .eex-themed [style*="color:#999"] { color:var(--eex-mute) !important; }
.eex-themed [style*="color:#0055aa"] { color:var(--eex-acc) !important; }
.eex-themed [style*="color:#15803d"], .eex-themed [style*="color:#16a34a"] { color:var(--eex-hi) !important; }
.eex-themed [style*="color:#b91c1c"], .eex-themed [style*="color:#dc2626"] { color:var(--eex-lo) !important; }
.eex-themed [style*="color:#b45309"] { color:var(--eex-cmp) !important; }
.eex-themed [style*="border:1px solid #e2e8f0"], .eex-themed [style*="border:1px solid #d8dee8"] { border-color:var(--eex-line) !important; }
.eex-themed [style*="border-bottom:1px solid #e2e8f0"], .eex-themed [style*="border-bottom:1px solid #eef2f7"] { border-bottom-color:var(--eex-line) !important; }
.eex-themed [style*="border-top:1px solid #e2e8f0"] { border-top-color:var(--eex-line) !important; }

/* Modern: Karte mit grosser Kennzahl, Zeitraum als Pillen, Tabelle mit eigenem Rahmen */
.eex-style-modern.eex-chart-container { border:0; border-radius:16px; padding:18px; box-shadow:0 0 0 1px var(--eex-line), 0 1px 3px rgba(15,23,42,.06); }
.eex-style-modern .eex-header { border-bottom:0; }
.eex-style-modern .eex-title { font-size:.85rem; font-weight:600; }
.eex-style-modern .eex-avg { font-size:2.1rem !important; line-height:1.1; }
.eex-style-modern .eex-unit-select { border-radius:999px !important; padding:3px 10px !important; }
.eex-style-modern .eex-range-nav--inline { background:var(--eex-soft); border-radius:999px; padding:3px; gap:2px; }
.eex-style-modern .eex-range-nav a { padding:5px 11px; border-radius:999px; border-bottom:0 !important; font-size:.78rem; }
.eex-style-modern .eex-range-nav a.eex-range-active { background:var(--eex-bg); box-shadow:0 1px 3px rgba(0,0,0,.16); }
.eex-style-modern .eex-stats { border-radius:12px; padding:6px 12px; }
@media (max-width: 600px) {
  .eex-style-modern.eex-chart-container { padding:14px; }
  .eex-style-modern .eex-avg { font-size:1.7rem !important; }
  .eex-style-modern .eex-range-nav a { padding:5px 9px; }
}

/* Redaktionell: ohne Rahmen, Linie oben, schlank wie eine Zeitungsgrafik */
.eex-style-editorial.eex-chart-container { border:0; border-top:3px solid var(--eex-ink); border-radius:0; padding:10px 0 6px; box-shadow:none; }
.eex-style-editorial .eex-headline { margin:0 0 4px; font-size:1.25rem; font-weight:800; line-height:1.25; letter-spacing:-.01em; color:var(--eex-ink); }
.eex-style-editorial .eex-header { border-bottom:0; padding-bottom:4px; }
.eex-style-editorial:not(.eex-has-headline) .eex-title { font-size:1.15rem; font-weight:800; color:var(--eex-ink); }
.eex-style-editorial .eex-avg { font-size:1.5rem !important; }
.eex-style-editorial .eex-period-label, .eex-style-editorial .eex-period-arrow { color:var(--eex-ink) !important; }
.eex-style-editorial .eex-period-pick { border-bottom-color:var(--eex-ink); }
.eex-style-editorial .eex-range-nav a.eex-range-active { color:var(--eex-ink) !important; border-bottom:2px solid var(--eex-ink); }
.eex-style-editorial .eex-stats { border:0 !important; border-top:1px solid var(--eex-ink) !important; border-bottom:1px solid var(--eex-line) !important; border-radius:0; padding:4px 0; }
.eex-style-editorial .eex-export-btn, .eex-style-editorial .eex-refresh-btn { border-color:transparent; }
@media (max-width: 600px) {
  .eex-themed .eex-stats { padding:4px 6px; }
  .eex-themed .eex-stats td, .eex-themed .eex-stats th { padding:4px 3px !important; }
  .eex-themed .eex-stats td:first-child { white-space:normal !important; }
  .eex-themed .eex-stats strong, .eex-themed .eex-stats td[style*="font-size:1.25rem"] { font-size:1rem !important; }
  .eex-themed .eex-stats span[style*="font-size:.68rem"] { font-size:.6rem !important; }
}

/* ── Vergütungsrechner «Was bringt mein Solarstrom ab 2027?» (ab 5.9.8.4) ─────────────
   Nutzt die Farbvariablen von «Modern»/«Redaktionell» (hell/dunkel/automatisch); in «Klassisch»
   greifen die hellen Rückfallwerte. Eigene Balkenfarben je Schema. */
.eex-pvcalc { --pc-b:#0055aa; --pc-p:#c98a00; --pc-h:#2e8b57; --pc-n:#c62828; --pc-on:#ffffff;
  margin:0 0 22px; padding:0 0 18px; border-bottom:1px solid var(--eex-line,#e2e8f0); color:var(--eex-ink,#1f2b3a); }
.eex-themed.eex-cs-dark .eex-pvcalc,
[data-color-scheme=dark] .eex-themed.eex-cs-auto .eex-pvcalc,
[data-bs-theme=dark] .eex-themed.eex-cs-auto .eex-pvcalc { --pc-b:#6cb0ff; --pc-p:#f2c14e; --pc-h:#5fd39a; --pc-n:#ff7b72; --pc-on:#0d1117; }
@media (prefers-color-scheme: dark) {
  :root:not([data-color-scheme=light]):not([data-bs-theme=light]) .eex-themed.eex-cs-auto .eex-pvcalc { --pc-b:#6cb0ff; --pc-p:#f2c14e; --pc-h:#5fd39a; --pc-n:#ff7b72; --pc-on:#0d1117; }
}
.eex-pvcalc-title { margin:0 0 4px; font-size:1.15rem; color:var(--eex-ink,#0f172a); }
.eex-pvcalc-lead { margin:0 0 12px; font-size:.82rem; color:var(--eex-mute,#475569); line-height:1.45; }
.eex-pvcalc-ctl { display:grid; grid-template-columns:150px 1fr; gap:10px 14px; align-items:center; padding:12px 14px; margin:0 0 14px;
  background:var(--eex-soft,#f1f5fa); border-radius:10px; font-size:.8rem; }
.eex-pvcalc-ctl > label, .eex-pvcalc-lbl { color:var(--eex-mute,#5b6676); font-weight:600; }
.eex-pvcalc-line { display:flex; flex-wrap:wrap; align-items:center; gap:6px 10px; }
.eex-pvcalc-num { display:inline-flex; align-items:center; gap:5px; white-space:nowrap; }
.eex-pvcalc input[type=number] { width:78px; padding:4px 6px; font:inherit; text-align:right; color:var(--eex-ink,#1f2b3a);
  background:var(--eex-bg,#fff); border:1px solid var(--eex-line,#c7d2e4); border-radius:6px; min-height:30px; box-sizing:border-box; }
.eex-pvcalc-seg { display:inline-flex; flex-wrap:wrap; gap:5px; }
.eex-pvcalc-seg button { font:inherit; font-size:.78rem; cursor:pointer; padding:5px 11px; min-height:30px; border-radius:999px;
  color:var(--eex-ink,#1f2b3a); background:var(--eex-bg,#fff); border:1px solid var(--eex-line,#c7d2e4); }
.eex-pvcalc-seg button[aria-pressed=true] { background:var(--pc-b); border-color:var(--pc-b); color:var(--pc-on); font-weight:600; }
.eex-pvcalc-seg button:focus-visible, .eex-pvcalc input:focus-visible { outline:2px solid var(--pc-b); outline-offset:2px; }
.eex-pvcalc-chk { display:inline-flex; align-items:center; gap:5px; cursor:pointer; }
.eex-pvcalc-hint, .eex-pvcalc-mute { color:var(--eex-mute,#5b6676); }
.eex-pvcalc-hint { font-size:.72rem; }
.eex-pvcalc-kpis { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin:0 0 14px; }
.eex-pvcalc-kpi { border:1px solid var(--eex-line,#e2e8f0); border-radius:10px; padding:9px 12px; min-height:84px; box-sizing:border-box; }
.eex-pvcalc-kpi .k { font-size:.68rem; text-transform:uppercase; letter-spacing:.04em; color:var(--eex-mute,#5b6676); }
.eex-pvcalc-kpi .v { font-size:1.4rem; font-weight:800; letter-spacing:-.02em; font-variant-numeric:tabular-nums; line-height:1.25; }
.eex-pvcalc-kpi .v small { font-size:.72rem; font-weight:500; color:var(--eex-mute,#5b6676); }
.eex-pvcalc-kpi .d { font-size:.72rem; font-weight:600; min-height:1.1em; }
.eex-pvcalc-up { color:var(--eex-hi,#15803d); } .eex-pvcalc-down { color:var(--eex-lo,#b91c1c); }
.eex-pvcalc-sub { font-size:.85rem; font-weight:700; margin:0 0 6px; }
.eex-pvcalc-rows { display:grid; gap:6px; }
.eex-pvcalc-row { display:grid; grid-template-columns:64px 1fr 52px; gap:10px; align-items:center; font-size:.78rem; }
.eex-pvcalc-bar { display:flex; height:18px; border-radius:5px; overflow:hidden; background:var(--eex-soft,#eef2f7); }
.eex-pvcalc-bar i, .eex-pvcalc-legend i { display:block; height:100%; }
.eex-pvcalc .pb { background:var(--pc-b); } .eex-pvcalc .pp { background:var(--pc-p); } .eex-pvcalc .ph { background:var(--pc-h); } .eex-pvcalc .pn { background:var(--pc-n); }
.eex-pvcalc-sum { text-align:right; font-weight:700; font-variant-numeric:tabular-nums; }
.eex-pvcalc-legend { display:flex; flex-wrap:wrap; gap:4px 14px; margin:6px 0 14px; font-size:.72rem; color:var(--eex-mute,#5b6676); }
.eex-pvcalc-legend i { display:inline-block; width:10px; height:10px; border-radius:2px; margin-right:5px; vertical-align:-1px; }
.eex-pvcalc-steps { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin:0 0 10px; font-size:.76rem; line-height:1.4; }
.eex-pvcalc-steps > div { border-left:3px solid var(--pc-b); padding:2px 10px; }
.eex-pvcalc-steps b { display:block; font-size:.8rem; margin-bottom:2px; }
.eex-pvcalc-note { margin:0; font-size:.7rem; line-height:1.45; color:var(--eex-mute,#64748b); }
@media (max-width:640px) {
  .eex-pvcalc-ctl { grid-template-columns:1fr; gap:4px 10px; }
  .eex-pvcalc-ctl > label, .eex-pvcalc-lbl { margin-top:6px; }
  .eex-pvcalc-kpis, .eex-pvcalc-steps { grid-template-columns:1fr; }
  .eex-pvcalc-kpi { min-height:0; }
}
