/* Wattoday UX (20.11.2026): region switcher, result anchor, key figures, horizontal bar chart, grouped offers, compact forms.
   Colours only through the theme variables of the site (--ink, --muted, --line, --white, --paper, --accent-*) with neutral fallbacks,
   so light, dark and system schemes follow the shared theme. No inline styles needed. */
.wxu-region{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem .75rem;margin:.25rem 0 1rem;padding:.6rem .75rem;border:1px solid var(--line,#c8ded7);border-radius:14px;background:var(--white,#fff);color:var(--ink,#123f46)}
.wxu-region__label{margin:0;font-weight:700;font-size:.9rem}
.wxu-region__list{display:flex;flex-wrap:wrap;gap:.35rem;margin:0;padding:0;list-style:none}
.wxu-region__link{display:inline-flex;align-items:baseline;gap:.3rem;min-height:40px;padding:.45rem .7rem;border:1px solid var(--line,#c8ded7);border-radius:999px;color:inherit;text-decoration:none;line-height:1.3;box-sizing:border-box}
a.wxu-region__link:hover{border-color:var(--accent-line,#43d9a8)}
a.wxu-region__link:focus-visible{outline:3px solid var(--accent-strong,#087f65);outline-offset:2px}
.wxu-region__item.is-current .wxu-region__link{background:var(--accent-soft,rgba(8,127,101,.14));border-color:var(--accent-strong,#087f65);font-weight:700}
.wxu-region__item.is-off .wxu-region__link{border-style:dashed} /* 20.11.2026: ohne opacity (Kontrast 3,4:1 -> AA) */
.wxu-region__code{font-family:var(--wt-mono,ui-monospace,monospace);font-weight:700;text-decoration:none;border:0}
.wxu-region__sub{font-size:.75rem;color:var(--muted,#496b6a)}
.wxu-region__also{flex-basis:100%;margin:.15rem 0 0;font-size:.875rem;color:var(--muted,#496b6a)}
.wxu-region__also a{margin-right:.6rem;color:var(--ink,#123f46)}
.wxu-region__note{flex-basis:100%;margin:0;font-size:.78rem;color:var(--muted,#496b6a)}
.wxu-region .wxu-region__list{margin:0}
.wxu-region .wxu-region__also a{display:inline;min-width:0;min-height:0;padding:.35rem 0;border:0;border-radius:0;background:none;font-weight:500;text-decoration:underline;text-underline-offset:2px}
@media(max-width:560px){.wxu-region__name{display:none}.wxu-region__item.is-current .wxu-region__name{display:inline}.wxu-region__link{padding:.45rem .6rem}}

.wxu-anchor{display:block;scroll-margin-top:5rem}
.wxu-anchor:focus,[id][tabindex="-1"]:focus{outline:none}
.wcc-results,.wtc-results{scroll-margin-top:5rem}
.wxu-key{margin:.4rem 0 .8rem;font-size:1.15rem;font-weight:700;line-height:1.45;color:var(--ink,#123f46)}
.wxu-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.6rem;margin:.6rem 0 1rem}
.wxu-tile{min-width:0;padding:.75rem .85rem;border:1px solid var(--line,#c8ded7);border-radius:14px;background:var(--white,#fff)}
.wxu-tile--low{border-left:4px solid var(--wt-low,#17804f)}
.wxu-tile--high{border-left:4px solid var(--wt-high,#b8361f)}
.wxu-tile__label{margin:0;font-size:.8rem;color:var(--muted,#496b6a)}
.wxu-tile__value{margin:.15rem 0 0;font-size:1.35rem;font-weight:760;line-height:1.25;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.wxu-tile__note{margin:.15rem 0 0;font-size:.8rem;color:var(--muted,#496b6a)}

.wxu-hbar{margin:1rem 0;padding:.9rem 1rem;border:1px solid var(--line,#c8ded7);border-radius:16px;background:var(--white,#fff);color:var(--ink,#123f46);min-width:0}
.wxu-hbar figcaption{font-weight:700;line-height:1.45}
.wxu-hbar__svg{display:block;width:100%;height:auto;margin-top:.5rem}
.wxu-hbar__bar{fill:var(--muted,#496b6a);fill-opacity:.55}
.wxu-hbar__bar--best{fill:var(--wt-low,#17804f);fill-opacity:1}
.wxu-hbar__bar--own{fill:var(--accent-strong,#087f65);fill-opacity:.8}
.wxu-hbar__label,.wxu-hbar__value{fill:var(--ink,#123f46);font-family:system-ui,sans-serif;font-size:14px;font-variant-numeric:tabular-nums}
.wxu-hbar__value{font-weight:700}
.wxu-hbar__note{margin:.5rem 0 0;font-size:.85rem;color:var(--muted,#496b6a)}
.wxu-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
@media(max-width:560px){.wxu-hbar{padding:.6rem}.wxu-hbar__label,.wxu-hbar__value{font-size:22px}}
@media(prefers-contrast:more){.wxu-hbar__bar{fill-opacity:.9}}

/* Grouped tariff offers */
.wtc-subhead{margin:1.2rem 0 .4rem;font-size:1.05rem}
.wtc-provs{display:grid;gap:.4rem}
.wtc-prov{border:1px solid var(--line,#c8ded7);border-radius:12px;background:var(--white,#fff)}
.wtc-prov>summary{display:flex;flex-wrap:wrap;align-items:baseline;gap:.25rem .6rem;min-height:44px;padding:.55rem .85rem;cursor:pointer;line-height:1.4}
.wtc-prov>summary:focus-visible{outline:3px solid var(--accent-strong,#087f65);outline-offset:2px}
.wtc-prov__name{font-weight:700}
.wtc-prov__cost{font-variant-numeric:tabular-nums}
.wtc-prov__n{margin-left:auto;font-size:.85rem;color:var(--muted,#496b6a)}
.wtc-prov>.wtc-list{margin:0;padding:.25rem .75rem .75rem 2rem}
.wtc-opts{margin:.6rem 0;border:1px solid var(--line,#c8ded7);border-radius:14px}
.wtc-opts>summary{min-height:44px;display:flex;align-items:center;padding:.55rem .9rem;cursor:pointer;font-weight:650}
.wtc-opts[open]>summary{border-bottom:1px solid var(--line,#c8ded7)}
.wtc-opts>.wtc-opts__body{padding:.4rem .8rem .8rem}

/* Country comparison */
.wcc-form fieldset{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem;margin:0 0 1rem;padding:.6rem .9rem;border:1px solid var(--line,#c8ded7);border-radius:14px}
.wcc-form legend{font-weight:700;padding:0 .3rem}
.wcc-choice{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem 1rem}
.wcc-choice label{display:inline-flex;align-items:center;gap:.35rem;min-height:44px}
.wcc-choice input[type=radio]{width:1.2rem;height:1.2rem;min-width:0;min-height:0;margin:0;padding:0;flex:none;accent-color:var(--accent-strong,#087f65)}
.wcc-table{width:100%;border-collapse:collapse}
.wcc-table th,.wcc-table td{padding:.5rem .55rem;border-bottom:1px solid var(--line,#c8ded7);text-align:left;vertical-align:top}
.wcc-table td small,.wcc-table th small{color:var(--muted,#496b6a)}
.wcc-table tr:target{background:var(--accent-soft,rgba(8,127,101,.14))}
.wcc-method{margin:1rem 0;border:1px solid var(--line,#c8ded7);border-radius:14px;padding:.2rem .9rem}
.wcc-method>summary{min-height:44px;display:flex;align-items:center;cursor:pointer;font-weight:650}

/* Compact result details on the core tools */
.wxu-details{margin:.75rem 0;border:1px solid var(--line,#c8ded7);border-radius:14px;background:var(--white,#fff);overflow:hidden}
.wxu-details>summary{min-height:44px;display:flex;align-items:center;padding:.55rem .9rem;cursor:pointer;font-weight:650}
.wxu-details>.table-scroll{margin:0;border-top:1px solid var(--line,#c8ded7)}
@media(max-width:640px){.wcc-results .wcc-table thead{display:none}.wcc-results .wcc-table tr{display:grid;grid-template-columns:1fr 1fr;gap:.25rem .9rem;padding:.65rem 0;border-bottom:1px solid var(--line,#c8ded7)}
.wcc-results .wcc-table th,.wcc-results .wcc-table td{border:0;padding:.1rem 0}.wcc-results .wcc-table th[scope=row],.wcc-results .wcc-table td:last-child,.wcc-results .wcc-table td[colspan]{grid-column:1/-1}
.wcc-results .wcc-table td[data-label]::before{content:attr(data-label);display:block;font-size:.75rem;color:var(--muted,#496b6a)}}
/* Round 2 (20.11.2026): forecast and PV – the region switcher replaces the inner country/zone navigation visually (kept in the
   markup for older links and tests); "more options" block of the PV forms. */
.wxu-region ~ .wpv-countries,.wxu-region ~ .wf-head > nav.ww-quick:first-child{display:none}
.wpv-more{margin:.6rem 0;border:1px solid var(--line,#c8ded7);border-radius:14px}
.wpv-more>summary{min-height:44px;display:flex;align-items:center;padding:.55rem .9rem;cursor:pointer;font-weight:650}
.wpv-more>summary:focus-visible,.wxu-details>summary:focus-visible{outline:3px solid var(--accent-strong,#087f65);outline-offset:2px}
.wpv-more[open]>summary{border-bottom:1px solid var(--line,#c8ded7)}
.wpv-more>.wpv-more__body{padding:.4rem .8rem .8rem}
.wxu-details>.wpv-method,.wxu-details>section{padding:0 .9rem .6rem}
.wpv-results,.wf-head{scroll-margin-top:5rem}

.wcc-currency{display:grid;gap:.2rem;width:fit-content;margin-block:.5rem}
.wcc-signed{margin:1rem 0}
.wcc-signed-svg{display:block;width:100%;max-width:36rem;height:auto;color:inherit}
.wcc-signed-svg line{stroke:currentColor;stroke-width:1}
.wcc-signed-svg rect{fill:currentColor;fill-opacity:.72}
.wcc-signed-svg text{fill:currentColor;font-family:system-ui,sans-serif;font-size:15px}

.wcc-fx-inline{display:block;margin-top:.2em;font-variant-numeric:tabular-nums}
