/* Sonnenstrom live - series colors by meaning (operator, 2026-09-27: "direkt
   ersichtlich"): house blue, PV gold like the sun, battery green, grid violet.
   Checked with the palette validator in both modes (lightness, chroma, CVD,
   normal vision; light: PV and battery below 3:1, relieved by legends and
   tables). Light surfaces cool gray instead of warm beige. Text never wears
   the series color. */

:root {
  color-scheme: light;
  --surface:     #f8f9fb;
  --plane:       #eceef2;
  --text-1:      #0e1116;
  --text-2:      #4a505a;
  --text-3:      #7c828c;
  --gridline:    #dde1e6;
  --axis:        #b8bec7;
  --border:      rgba(14,17,22,0.10);
  --good:        #006300;
  --bad:         #b3261e;
  --warn-bg:     #fff6e0;
  --warn-border: #fab219;

  --load:        #2a78d6;
  --pv:          #e0a100;
  --battery:     #1baf7a;
  --grid:        #7f56d9;
  --series-5:    #e87ba4;
  /* the provider's forced commands wear the status colors warning/critical
     (operator, 2026-09-27: "Warnfarben") - same in both modes */
  --fcharge:     #ec835a;
  --fdischarge:  #d03b3b;
  --block:       #4a505a;
  /* years in the comparison: one hue, older lighter */
  --year-1: #b7d3f6; --year-2: #7aaeed; --year-3: #3f86dc; --year-4: #1c5aa8;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --surface:     #1a1a19;
    --plane:       #0d0d0d;
    --text-1:      #ffffff;
    --text-2:      #c3c2b7;
    --text-3:      #898781;
    --gridline:    #2c2c2a;
    --axis:        #383835;
    --border:      rgba(255,255,255,0.10);
    --good:        #0ca30c;
    --bad:         #e5625a;
    --warn-bg:     #2b2310;
    --warn-border: #c98500;

    --load:        #3987e5;
    --pv:          #c98500;
    --battery:     #199e70;
    --grid:        #8f6fe6;
    --series-5:    #d55181;
    --fcharge:     #ec835a;
    --fdischarge:  #d03b3b;
    --block:       #c3c2b7;
    --year-1: #1f3f66; --year-2: #2d62a3; --year-3: #4a8ee0; --year-4: #9cc6f7;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --surface: #1a1a19; --plane: #0d0d0d; --text-1: #ffffff; --text-2: #c3c2b7;
  --text-3: #898781; --gridline: #2c2c2a; --axis: #383835; --border: rgba(255,255,255,0.10);
  --good: #0ca30c; --bad: #e5625a; --warn-bg: #2b2310; --warn-border: #c98500;
  --load: #3987e5; --pv: #c98500; --battery: #199e70; --grid: #8f6fe6; --series-5: #d55181;
  --fcharge: #ec835a; --fdischarge: #d03b3b; --block: #c3c2b7;
  --year-1: #1f3f66; --year-2: #2d62a3; --year-3: #4a8ee0; --year-4: #9cc6f7;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--plane);
  color: var(--text-1);
  font: 15px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif;
}

.header { background: var(--surface); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 5; }
.header-inner, main, .footer { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.header-inner { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
h1 { font-size: 18px; margin: 0; font-weight: 600; }
.status { margin: 0; color: var(--text-2); font-size: 13px; }
.status.stale { color: var(--text-1); font-weight: 600; }
.status.stale::before { content: "⚠ "; }

section { margin: 28px 0; }
h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-2); font-weight: 600; margin: 0 0 12px; }

/* "Jetzt" in two cards - figures and flow (operator, 2026-09-27: one big
   card was too tall on tablet and desktop). */
/* side by side: the flow on the left and larger, the figures narrower on the
   right (operator, 2026-09-27) */
.now { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 12px; align-items: stretch; }
@media (min-width: 721px) { .now:not(.layout-stack):not(.layout-flow) .flow-card { order: -1; } }
.hero, .flow-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 10px 16px; min-width: 0; }
.flow-card { display: flex; align-items: center; justify-content: center; }
/* Three equal figures: PV, house, grid (at night "PV 0 W" alone said
   nothing). Side by side: one row per figure, value on the right. Each item
   is its own size container, the figure scales with it and is never cut. */
.hero { display: flex; flex-direction: column; justify-content: center; }
.hero-item { container-type: inline-size; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 12px; align-items: center; padding: 8px 0; }
.hero-item + .hero-item { border-top: 1px solid var(--gridline); }
.hero-label { grid-column: 1; color: var(--text-2); font-size: 14px; display: flex; align-items: center; gap: 6px; }
.hero-sub { grid-column: 1; color: var(--text-2); font-size: 12px; margin-top: 2px; overflow-wrap: anywhere; }
.hero-value { grid-column: 2; grid-row: 1 / span 2; text-align: right; font-size: clamp(20px, 12cqi, 38px); font-weight: 600;
  line-height: 1.1; letter-spacing: -0.01em; overflow-wrap: anywhere; }
/* stacked form (flow on top, and the phone): three columns, value under the label */
.now.layout-stack .hero, .hero.columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 14px; }
.now.layout-stack .hero-item { display: block; padding: 4px 0; }
.now.layout-stack .hero-item + .hero-item { border-top: 0; border-left: 1px solid var(--gridline); padding-left: 14px; }
.now.layout-stack .hero-value { text-align: left; font-size: clamp(22px, 14cqi, 40px); }
.flow { width: 100%; height: auto; max-height: 290px; }
.flow text { fill: var(--text-1); font-size: 13px; }
.flow .small { fill: var(--text-2); font-size: 11px; }
.flow .value { font-weight: 600; font-size: 15px; }
.flow .node { fill: var(--surface); stroke-width: 2; }
/* :where() keeps the specificity low so the series class (stroke-pv etc.)
   can color an active line. */
.flow :where(.line) { stroke: var(--axis); stroke-width: 2; fill: none; }
.flow .active { stroke-width: 3; stroke-dasharray: 6 6; animation: flowing 1s linear infinite; }
@keyframes flowing { to { stroke-dashoffset: -12; } }
@media (prefers-reduced-motion: reduce) { .flow .active { animation: none; stroke-dasharray: none; } }

.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; margin: 12px 0; }
/* Each tile is its own size container: the value scales with the tile width
   (cqi) and wraps when even the smallest size does not fit - it is never cut
   off with an ellipsis (operator, 2026-09-26: texts were cut). */
.tile { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; min-width: 0; container-type: inline-size; }
.tile-label { color: var(--text-2); font-size: 13px; display: flex; align-items: center; gap: 6px; }
.tile-value { font-size: clamp(15px, 11cqi, 22px); line-height: 1.2; font-weight: 600; margin-top: 2px; overflow-wrap: anywhere; text-wrap: balance; }
/* balance tiles: green in the plus, red in the minus (operator, 2026-09-27) */
.tile.tone-good { border-left: 4px solid var(--good); }
.tile.tone-good .tile-value { color: var(--good); }
.tile.tone-bad { border-left: 4px solid var(--bad); }
.tile.tone-bad .tile-value { color: var(--bad); }
.tile-sub { color: var(--text-2); font-size: 12px; margin-top: 2px; overflow-wrap: anywhere; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex: none; }
.meter { height: 6px; background: var(--gridline); border-radius: 3px; margin-top: 8px; overflow: hidden; }
.meter > i { display: block; height: 100%; background: var(--battery); border-radius: 3px; }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 16px; margin: 12px 0; }
.card figcaption { display: flex; flex-direction: column; gap: 2px; margin-bottom: 8px; }
.card figcaption span { color: var(--text-2); font-size: 13px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.two-col .card { margin: 0; }
.legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--text-2); margin-bottom: 6px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 14px; height: 3px; border-radius: 2px; display: inline-block; }
.chart { position: relative; width: 100%; height: 260px; }
.chart.small { height: 180px; }
.chart svg { width: 100%; height: 100%; display: block; overflow: visible; }
.chart .gridline { stroke: var(--gridline); stroke-width: 1; }
.chart .zero { stroke: var(--axis); stroke-width: 1; }
.chart .axis-label, .heat .axis-label { fill: var(--text-3); font-size: 11px; font-variant-numeric: tabular-nums; }
.chart .series-line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart .area { opacity: .10; }
.chart .crosshair { stroke: var(--text-3); stroke-width: 1; }
.chart .marker { stroke: var(--surface); stroke-width: 2; }
.chart .empty { fill: var(--text-3); font-size: 13px; }
/* Carried-over (not measured) values: same hue, hatched - identity stays,
   the difference is visible without relying on color. */
.chart .carried { opacity: .45; }

.tooltip { position: fixed; z-index: 10; pointer-events: none; background: var(--surface); color: var(--text-1);
  border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; font-size: 12px; box-shadow: 0 4px 16px rgba(0,0,0,.12);
  min-width: 140px; }
.tooltip .tip-title { color: var(--text-2); margin-bottom: 4px; }
.tooltip .tip-row { display: flex; align-items: center; gap: 6px; justify-content: space-between; font-variant-numeric: tabular-nums; }
.tooltip .tip-row span:first-child { display: inline-flex; align-items: center; gap: 6px; color: var(--text-2); }

.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; margin: 12px 0; }
.data-table { border-collapse: collapse; width: 100%; font-size: 13px; font-variant-numeric: tabular-nums; }
.data-table th, .data-table td { padding: 8px 12px; text-align: right; border-bottom: 1px solid var(--gridline); white-space: nowrap; }
.data-table th:first-child, .data-table td:first-child { text-align: left; }
.data-table thead th { color: var(--text-2); font-weight: 600; }
.data-table tr:last-child td { border-bottom: 0; }

.disclosure summary { cursor: pointer; color: var(--text-2); font-size: 14px; padding: 6px 0; }
.notice { background: var(--warn-bg); border: 1px solid var(--warn-border); border-radius: 10px; padding: 12px 14px; font-size: 14px; }
.notice strong { display: block; margin-bottom: 2px; }
.subline { color: var(--text-2); font-size: 13px; margin: -6px 0 0; }

.footer { color: var(--text-3); font-size: 12px; padding-bottom: 32px; }

/* Series colors as classes: the content policy (CSP) forbids style
   attributes, and var() in SVG presentation attributes is not reliable in
   every browser. */
.bg-load    { background: var(--load); }     .stroke-load    { stroke: var(--load); }     .fill-load    { fill: var(--load); }
.bg-pv      { background: var(--pv); }       .stroke-pv      { stroke: var(--pv); }       .fill-pv      { fill: var(--pv); }
.bg-battery { background: var(--battery); }  .stroke-battery { stroke: var(--battery); }  .fill-battery { fill: var(--battery); }
.bg-grid    { background: var(--grid); }     .stroke-grid    { stroke: var(--grid); }     .fill-grid    { fill: var(--grid); }
.bg-s5      { background: var(--series-5); } .stroke-s5      { stroke: var(--series-5); } .fill-s5      { fill: var(--series-5); }
.bg-y1 { background: var(--year-1); } .fill-y1 { fill: var(--year-1); }
.bg-y2 { background: var(--year-2); } .fill-y2 { fill: var(--year-2); }
.bg-y3 { background: var(--year-3); } .fill-y3 { fill: var(--year-3); }
.bg-y4 { background: var(--year-4); } .fill-y4 { fill: var(--year-4); }
.bg-hold { background: var(--text-3); } .fill-hold { fill: var(--text-3); } .stroke-hold { stroke: var(--text-3); }
.bg-bad { background: var(--bad); } .stroke-bad { stroke: var(--bad); } .fill-bad { fill: var(--bad); }
/* cloud cover strip: neutral ink, darkness = cover; the swatch shows a full cover */
.bg-cloud { background: var(--text-2); }
.chart .shade { fill: var(--text-2); }
.bg-fcharge    { background: var(--fcharge); }    .fill-fcharge    { fill: var(--fcharge); }
.bg-fdischarge { background: var(--fdischarge); } .fill-fdischarge { fill: var(--fdischarge); }
.bg-block      { background: var(--block); }      .fill-block      { fill: var(--block); }
.chart .band { opacity: .18; }
.chart .band.fill-fcharge, .chart .band.fill-fdischarge { opacity: .26; }
/* Dark: faint fills vanish on the near-black surface - stronger there,
   lines a little thicker (operator, 2026-09-27). */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .chart .band { opacity: .28; }
  :root:not([data-theme="light"]) .chart .band.fill-fcharge,
  :root:not([data-theme="light"]) .chart .band.fill-fdischarge { opacity: .38; }
  :root:not([data-theme="light"]) .chart .series-line { stroke-width: 2.5; }
  :root:not([data-theme="light"]) .chart .area { opacity: .22; }
}
:root[data-theme="dark"] .chart .band { opacity: .28; }
:root[data-theme="dark"] .chart .band.fill-fcharge, :root[data-theme="dark"] .chart .band.fill-fdischarge { opacity: .38; }
:root[data-theme="dark"] .chart .series-line { stroke-width: 2.5; }
:root[data-theme="dark"] .chart .area { opacity: .22; }
.chart .strip { opacity: .95; }
.chart .day-line { stroke: var(--axis); stroke-width: 1; stroke-dasharray: 2 3; }
.chart .axis-label.strong { fill: var(--text-2); font-weight: 600; }

/* Zoom (2026-09-27): a row of buttons above every chart, a range marker
   while dragging with the mouse. */
.zoom-bar { display: flex; align-items: center; justify-content: flex-end; gap: 4px; margin: 0 0 4px; }
.zoom-info { margin-right: auto; color: var(--text-3); font-size: 12px; font-variant-numeric: tabular-nums; min-width: 0; }
.zoom-bar button { font: inherit; font-size: 13px; line-height: 1; color: var(--text-2); background: var(--surface);
  border: 1px solid var(--border); border-radius: 6px; min-width: 30px; height: 28px; padding: 0 8px; cursor: pointer; }
.zoom-bar button:hover:not(:disabled) { color: var(--text-1); border-color: var(--text-3); }
.zoom-bar button:disabled { opacity: .35; cursor: default; }
.zoom-bar button:focus-visible { outline: 2px solid var(--load); outline-offset: 2px; }
.chart.zoomable { cursor: crosshair; user-select: none; -webkit-user-select: none; }
.zoom-sel { position: absolute; top: 8px; bottom: 24px; background: var(--load); opacity: .15; pointer-events: none; border-radius: 2px; }

/* "Jetzt": figures and flow side by side, flow on top at full width, or
   the flow alone (operator, 2026-09-27). */
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 8px 12px; flex-wrap: wrap; margin-bottom: 12px; }
.section-head h2 { margin: 0; }
.section-head .segmented { margin: 0; }
.now.layout-stack, .now.layout-flow { grid-template-columns: 1fr; }
.now.layout-stack .flow-card { order: -1; }
.now.layout-stack .flow { max-height: 260px; }
.now.layout-flow .hero { display: none; }
.now.layout-flow .flow { max-height: 320px; }
.chart .series-line.dashed { stroke-dasharray: 5 4; stroke-width: 1.5; }
.chart .lane { opacity: .85; }
.heat { width: 100%; }
/* state of charge per hour: one hue in five steps, light to dark on the light
   surface, dark to bright on the dark one (never a transparency ramp) */
.heat-0 { fill: #d6efe3; } .heat-1 { fill: #a3dfc3; } .heat-2 { fill: #5cc49b; } .heat-3 { fill: #1baf7a; } .heat-4 { fill: #0b7550; }
.heat-bg-0 { background: #d6efe3; } .heat-bg-1 { background: #a3dfc3; } .heat-bg-2 { background: #5cc49b; } .heat-bg-3 { background: #1baf7a; } .heat-bg-4 { background: #0b7550; }
.legend i.swatch { width: 14px; height: 10px; border-radius: 2px; box-shadow: inset 0 0 0 1px var(--border); }
.heat-track { fill: var(--gridline); opacity: .6; }
.heat svg rect[class^="heat-"]:not(.heat-track) { stroke: var(--border); stroke-width: 1; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .heat-0 { fill: #2f5243; } :root:not([data-theme="light"]) .heat-bg-0 { background: #2f5243; }
  :root:not([data-theme="light"]) .heat-1 { fill: #2b7458; } :root:not([data-theme="light"]) .heat-bg-1 { background: #2b7458; }
  :root:not([data-theme="light"]) .heat-2 { fill: #1f8f65; } :root:not([data-theme="light"]) .heat-bg-2 { background: #1f8f65; }
  :root:not([data-theme="light"]) .heat-3 { fill: #2fc08a; } :root:not([data-theme="light"]) .heat-bg-3 { background: #2fc08a; }
  :root:not([data-theme="light"]) .heat-4 { fill: #8ae8c0; } :root:not([data-theme="light"]) .heat-bg-4 { background: #8ae8c0; }
}
:root[data-theme="dark"] .heat-0 { fill: #2f5243; } :root[data-theme="dark"] .heat-bg-0 { background: #2f5243; }
:root[data-theme="dark"] .heat-1 { fill: #2b7458; } :root[data-theme="dark"] .heat-bg-1 { background: #2b7458; }
:root[data-theme="dark"] .heat-2 { fill: #1f8f65; } :root[data-theme="dark"] .heat-bg-2 { background: #1f8f65; }
:root[data-theme="dark"] .heat-3 { fill: #2fc08a; } :root[data-theme="dark"] .heat-bg-3 { background: #2fc08a; }
:root[data-theme="dark"] .heat-4 { fill: #8ae8c0; } :root[data-theme="dark"] .heat-bg-4 { background: #8ae8c0; }
.heat svg { display: block; width: 100%; height: auto; touch-action: pan-y; }
.chart .now-line { stroke: var(--text-2); stroke-width: 1; stroke-dasharray: 3 3; }
/* Horizontal finger movement scrubs the chart, vertical still scrolls. */
.chart svg { touch-action: pan-y; }
.segmented { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 8px; }
.segmented button { font: inherit; font-size: 13px; color: var(--text-2); background: var(--surface); border: 1px solid var(--border);
  border-radius: 999px; padding: 6px 12px; cursor: pointer; min-height: 36px; }
.segmented button[aria-pressed="true"] { color: var(--text-1); border-color: var(--text-2); font-weight: 600; }
.segmented button:focus-visible { outline: 2px solid var(--load); outline-offset: 2px; }

/* Collapsible sections. The heading is the switch; the chevron shows the
   state, not the color. */
.section-toggle > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px;
  padding: 4px 0; margin-bottom: 8px; border-radius: 6px; user-select: none; }
.section-toggle > summary::-webkit-details-marker { display: none; }
.section-toggle > summary::before { content: ""; width: 7px; height: 7px; border-right: 2px solid var(--text-2);
  border-bottom: 2px solid var(--text-2); transform: rotate(-45deg); transition: transform .15s; flex: none; margin-left: 2px; }
.section-toggle[open] > summary::before { transform: rotate(45deg); }
.section-toggle > summary h2 { margin: 0; }
.card-toggle > summary { margin-bottom: 0; }
.card-toggle[open] > summary { margin-bottom: 8px; }
.card-toggle:not([open]) { margin-bottom: 0; }
.card-caption { display: flex; flex-direction: column; gap: 2px; }
.card-caption span { color: var(--text-2); font-size: 13px; }
.sub-toggle { margin-top: 12px; }
.sub-toggle > summary { margin-bottom: 0; }
.sub-toggle > summary .sub-title { color: var(--text-2); font-size: 14px; }
.sub-toggle > summary:hover .sub-title { color: var(--text-1); }
.section-toggle > summary:hover h2 { color: var(--text-1); }
.section-toggle > summary:focus-visible { outline: 2px solid var(--load); outline-offset: 2px; }
.section-toggle:not([open]) { margin-bottom: -8px; }
.toggle-all { display: flex; gap: 8px; }
.toggle-all button { font: inherit; font-size: 12px; color: var(--text-2); background: none; border: 1px solid var(--border);
  border-radius: 6px; padding: 3px 8px; cursor: pointer; }
.toggle-all button:hover { color: var(--text-1); }
.toggle-all a.board-link { font-size: 13px; color: var(--text-2); text-decoration: none; border: 1px solid var(--border); border-radius: 6px; padding: 3px 8px; }
.toggle-all a.board-link:hover { color: var(--text-1); }

/* ------------------------------------------------------------------
   Three tiers (operator's requirement, 2026-09-26):
   phone = base, tablet = main device, desktop = wide screen.
   ------------------------------------------------------------------ */

/* Phone */
@media (max-width: 720px) {
  .now { grid-template-columns: 1fr; }
  /* phone: the three figures side by side above the flow */
  .hero { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 10px; padding: 10px 12px; }
  .hero-item { display: block; padding: 2px 0; }
  .hero-item + .hero-item { border-top: 0; border-left: 1px solid var(--gridline); padding-left: 10px; }
  .hero-value, .now.layout-stack .hero-value { text-align: left; font-size: clamp(20px, 16cqi, 34px); }
  .hero-label { font-size: 12px; }
  .hero-sub { font-size: 11px; }
  .flow, .now.layout-stack .flow { max-height: 260px; }
  .two-col { grid-template-columns: 1fr; }
  .chart { height: 220px; }
}
@media (max-width: 480px) {
  .header-inner { padding-top: 10px; padding-bottom: 10px; }
  h1 { font-size: 16px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .tile { padding: 10px 12px; }
  .card { padding: 12px; }
  .chart { height: 200px; }
  .chart.small { height: 160px; }
  .data-table th, .data-table td { padding: 6px 8px; }
}

/* Anything used with a finger: touch targets at least 44 px. */
@media (pointer: coarse) {
  .section-toggle > summary { min-height: 44px; }
  .zoom-bar button { min-width: 38px; height: 36px; }
  .toggle-all button { padding: 8px 12px; font-size: 13px; }
  .disclosure summary { padding: 12px 0; }
}

/* Battery and plant: side by side from 2026-09-26, stacked again since
   2026-09-27 - plant below battery on every screen (operator). */

/* Wide screen: more width, larger figures. */
@media (min-width: 1400px) {
  .header-inner, main, .footer { max-width: 1600px; padding-left: 32px; padding-right: 32px; }
  .chart { height: 300px; }
  .chart.small { height: 200px; }
  .tiles { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
}


/* ------------------------------------------------------------------
   Additions for pv-board (Lars' plant, 2026-10-02) - everything above is
   the stylesheet of our own board (homelab CT 111), unchanged.
   ------------------------------------------------------------------ */
/* the balcony system (Hoymiles + MaxxiCharge) and a second string color */
:root { --series-6: #3f86dc; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --series-6: #9cc6f7; } }
:root[data-theme="dark"] { --series-6: #9cc6f7; }
.bg-s6 { background: var(--series-6); } .stroke-s6 { stroke: var(--series-6); } .fill-s6 { fill: var(--series-6); }
/* short hero labels where three columns get narrow (~420 px: "Hausverbrauch"
   ran into "Netzbezug") */
.hero-label .short { display: none; }
@media (max-width: 480px) {
  .hero-label { min-width: 0; overflow-wrap: anywhere; }
  .hero-label .long { display: none; }
  .hero-label .short { display: inline; }
}
.note { color: var(--text-2); font-size: 12px; margin: 4px 4px 0; }
.note:empty { display: none; }
