:root {
  --paper: #f7f5ee;
  --card: #fffdf8;
  --ink: #283d30;
  --muted: #606557;
  --olive: #304535;
  --accent: #ad4c32;
  --line: #deded0;
  --control-border: #818975;
  --sage: #e8ebdf;
  --font-body: 'Trebuchet MS',Verdana,sans-serif;
  --font-display: Georgia,'Times New Roman',serif;
  color-scheme: light;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

button,input,select {
  font: inherit;
}

a {
  color: inherit;
  text-underline-offset: 4px;
}

button,a,input,select,summary {
  touch-action: manipulation;
  -webkit-tap-highlight-color: #30453522;
}

button {
  cursor: pointer;
}

svg {
  flex-shrink: 0;
}

button:disabled {
  cursor: not-allowed;
}

a:hover {
  color: var(--accent);
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

h1,h2,h3,p {
  margin: 0;
}

h1,h2,h3 {
  text-wrap: balance;
}

h1,h2 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: 1.14;
}

h1 {
  font-size: clamp(40px,5.1vw,68px);
}

h2 {
  font-size: 32px;
}

h3 {
  font-size: 17px;
  line-height: 1.35;
}

em {
  color: var(--accent);
  font-weight: 400;
}

p {
  text-wrap: pretty;
}

strong {
  font-weight: 700;
}

input,select {
  min-width: 0;
  max-width: 100%;
}

select {
  color: var(--ink);
  background-color: var(--card);
}

[hidden] {
  display: none !important;
}

.page-width {
  width: min(1160px,calc(100% - 96px));
  margin-inline: auto;
}

.sr-only {
  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: fixed;
  z-index: 10;
  top: 10px;
  left: 10px;
  padding: 12px 20px;
  background: var(--olive);
  color: white;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

[id] {
  scroll-margin-top: 24px;
}

.site-header {
  width: min(1280px,calc(100% - 96px));
  margin: auto;
  min-height: 94px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -1px;
}

.brand-light {
  font-weight: 400;
}

.brand-dot {
  color: var(--accent);
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--olive);
  color: var(--paper);
  border-radius: 12px;
}

.site-header nav {
  display: flex;
  gap: 34px;
  align-items: center;
}

.site-header nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 13px;
  text-decoration: none;
}

.site-header nav a[aria-current=page] {
  box-shadow: inset 0 -2px var(--accent);
}

.site-header nav svg {
  width: 16px;
  height: 16px;
}

.intro {
  padding: 52px 0 38px;
  position: relative;
}

.eyebrow,.section-number {
  font-size: 10px;
  letter-spacing: 1.9px;
  font-weight: 700;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  color: var(--muted);
}

.eyebrow>span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.intro h1 {
  max-width: 850px;
  margin-bottom: 21px;
}

.intro>p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
}

.intro-note {
  position: absolute;
  bottom: 44px;
  right: 0;
  max-width: 150px;
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
  border-left: 1px solid var(--line);
  padding-left: 18px;
}

.calculator {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.calculator-inputs {
  padding: 30px 34px 24px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.section-number {
  color: var(--muted);
  display: block;
  margin-bottom: 10px;
}

.section-heading h2 {
  font-size: 28px;
}

.heading-icon {
  color: var(--accent);
  width: 25px;
  height: 25px;
}

.section-description {
  color: var(--muted);
  font-size: 13px;
  margin: 10px 0 18px;
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.appliance-picker {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 8px;
  margin-bottom: 24px;
}

.appliance-picker legend {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 8px;
}

.appliance-choice {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 83px;
  border: 1px solid #8a927d;
  border-radius: 7px;
  font-size: 11px;
  color: var(--muted);
  cursor: pointer;
}

.appliance-choice input {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}

.appliance-choice:has(input:checked) {
  border-color: var(--olive);
  background: var(--sage);
  color: var(--olive);
}

.appliance-choice:has(input:focus-visible) {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.appliance-choice:hover {
  border-color: var(--olive);
}

.fields-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 16px 20px;
}

.number-field label {
  display: block;
  font-size: 12px;
  margin-bottom: 6px;
  font-weight: 700;
}

.input-wrap {
  display: flex;
  align-items: center;
  border: 1px solid #8a927d;
  border-radius: 6px;
  background: var(--card);
  min-height: 49px;
  overflow: hidden;
}

.input-wrap:focus-within {
  border-color: var(--olive);
  box-shadow: 0 0 0 1px var(--olive);
}

.input-wrap:has([aria-invalid=true]) {
  border-color: var(--accent);
}

.input-wrap input {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 10px 13px;
  font-size: 21px;
  font-variant-numeric: tabular-nums;
}

.input-wrap input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -3px;
  border-radius: 5px;
}

.input-unit {
  padding: 0 12px 0 0;
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}

.field-error {
  font-size: 11px;
  color: #a03725;
  line-height: 1.5;
  display: block;
  margin-top: 4px;
}

.tariff-note {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
}

.currency-control {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 10px;
}

.currency-control select {
  border: 1px solid #8a927d;
  border-radius: 4px;
  min-height: 34px;
  font-size: 11px;
  padding: 4px;
}

.example-status {
  font-size: 10px;
  color: var(--muted);
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.result-panel {
  background: var(--olive);
  color: var(--paper);
  padding: 30px 34px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.result-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.result-top .section-number {
  color: #e1e5d7;
  margin: 0;
  font-size: 9px;
}

.live-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: #e1e5d7;
}

.live-badge i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c6d29b;
}

.result-panel h2 {
  font: 14px var(--font-body);
  letter-spacing: 0;
}

.main-cost {
  font: clamp(44px,5vw,64px)/1.2 var(--font-display);
  letter-spacing: -.05em;
  margin: 12px 0 0;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}

.main-energy {
  font-size: 12px;
  color: #e1e5d7;
  margin-top: 3px;
}

.receipt-divider {
  border-top: 1px dashed #aab6a166;
  margin: 24px 0 4px;
}

.result-breakdown {
  margin: 0;
}

.result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid #aab6a133;
  gap: 20px;
}

.result-row dt {
  font-size: 13px;
}

.result-row dd {
  margin: 0;
  display: flex;
  flex-direction: column;
  text-align: right;
  min-width: 0;
}

.result-row strong {
  font-size: 20px;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.result-row dd>span {
  font-size: 10px;
  color: #e1e5d7;
  font-variant-numeric: tabular-nums;
}

.result-assumption {
  font-size: 10px;
  color: #e1e5d7;
  line-height: 1.7;
  margin-top: 13px;
}

.result-feedback {
  min-height: 28px;
  font-size: 11px;
  padding-top: 7px;
  color: #f1d4bd;
}

.share-button {
  margin-top: auto;
  border: 1px solid #93a486;
  background: transparent;
  color: var(--paper);
  border-radius: 6px;
  min-height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  padding: 8px;
}

.share-button svg {
  width: 16px;
  height: 16px;
}

.share-button:hover {
  background: #ffffff10;
}

.share-button:focus-visible {
  outline-color: #f1d4bd;
}

.share-status {
  font-size: 10px;
  color: #e1e5d7;
  line-height: 1.5;
}

.share-status:not(:empty) {
  padding-top: 8px;
}

.estimation-note {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
  margin-top: 16px;
  flex-wrap: wrap;
  max-width: 990px;
}

.estimation-note>span {
  color: var(--accent);
  font-size: 18px;
}

.estimation-note a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--ink);
  font-size: 11px;
}

.estimation-note svg {
  width: 13px;
  height: 13px;
}

.no-js {
  background: #f4e0cf;
  border: 1px solid var(--accent);
  padding: 16px;
  margin-top: 16px;
}

.comparison {
  padding: 62px 0 0;
}

.comparison-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}

.comparison-heading p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
  max-width: 680px;
}

.quiet-tag {
  font-size: 10px;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 6px 12px;
  color: var(--muted);
  white-space: nowrap;
}

.appliance-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 14px;
}

.appliance-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 21px 18px;
  background: var(--card);
  min-width: 0;
}

.appliance-card header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 19px;
}

.appliance-icon {
  background: var(--sage);
  border-radius: 8px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
}

.card-index {
  font: italic 18px var(--font-display);
  color: #6b725e;
}

.card-note {
  font-size: 10px;
  color: var(--muted);
  margin-top: 5px;
}

.card-fields {
  display: grid;
  gap: 11px;
  margin: 19px 0;
}

.compact label {
  font-size: 10px;
  font-weight: 400;
}

.compact .input-wrap {
  min-height: 37px;
}

.compact input {
  font-size: 15px;
  padding: 6px 10px;
}

.compact .input-unit {
  font-size: 10px;
}

.card-results {
  margin: 0;
  padding-top: 7px;
  border-top: 1px dashed var(--line);
}

.card-results>div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-top: 8px;
  font-size: 11px;
}

.card-results dt {
  color: var(--muted);
}

.card-results dd {
  margin: 0;
  text-align: right;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
  min-width: 0;
}

.card-results .card-main-result {
  display: block;
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.card-main-result dd {
  text-align: left;
  font: 30px/1.5 var(--font-display);
  color: var(--accent);
  letter-spacing: -.035em;
}

.difference-panel {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 30px;
  align-items: center;
  background: var(--sage);
  border: 1px solid #d4d9c7;
  border-radius: 8px;
  padding: 26px 30px;
  margin-top: 23px;
}

.compare-selects {
  display: flex;
  gap: 14px;
  align-items: center;
}

.compare-selects label {
  font-size: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  flex: 1;
}

.compare-selects select {
  width: 100%;
  border: 1px solid #818975;
  border-radius: 5px;
  font-size: 12px;
  padding: 10px 8px;
  min-height: 42px;
}

.versus {
  font: italic 20px var(--font-display);
  color: var(--muted);
  padding-top: 17px;
}

.period-picker {
  display: flex;
  gap: 6px;
  margin-top: 16px;
}

.period-picker legend {
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 6px;
}

.period-picker label {
  position: relative;
  border: 1px solid #818975;
  font-size: 10px;
  min-height: 36px;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
}

.period-picker input {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}

.period-picker label:has(input:checked) {
  background: var(--olive);
  color: var(--paper);
  border-color: var(--olive);
}

.period-picker label:has(input:focus-visible) {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.period-picker label:hover {
  border-color: var(--olive);
}

.difference-result {
  border-left: 1px solid #c7ceb9;
  padding-left: 30px;
  min-width: 0;
}

.difference-result>span {
  font-size: 11px;
  color: var(--muted);
}

.difference-result>strong {
  display: block;
  font: 42px/1.4 var(--font-display);
  letter-spacing: -.04em;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}

.difference-result>p {
  font-size: 11px;
}

.difference-result>p:last-child {
  color: var(--muted);
  font-size: 10px;
  margin-top: 6px;
}

.comparison-caution {
  font-size: 11px;
  color: var(--muted);
  margin-top: 14px;
  max-width: 920px;
}

.guide-teaser {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 38px 0 40px;
  margin-top: 56px;
  border-top: 1px solid var(--line);
}

.teaser-symbol {
  width: 58px;
  height: 70px;
  border: 1px solid #cfb8a0;
  background: #efe3d3;
  display: grid;
  place-items: center;
  border-radius: 3px 12px 12px 3px;
  color: var(--accent);
  transform: rotate(-5deg);
}

.teaser-symbol svg {
  width: 30px;
  height: 30px;
}

.guide-teaser h2 {
  font-size: 28px;
}

.guide-teaser p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
}

.text-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding: 10px 0;
  min-height: 44px;
}

.text-cta svg {
  width: 18px;
  height: 18px;
}

.site-footer {
  width: min(1280px,calc(100% - 96px));
  margin: auto;
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  font-size: 10px;
  color: var(--muted);
}

.footer-brand {
  font-size: 14px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.site-footer>div {
  margin-left: auto;
  display: flex;
  gap: 24px;
}

.site-footer>nav {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
}

.tariff-picker {
  margin: 0 0 18px;
}

.tariff-selects {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.tariff-selects>div:only-child, .tariff-selects>div:first-child:has(+ [hidden]) {
  grid-column: 1 / -1;
}

.tariff-selects label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
}

.tariff-selects select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--control-border);
  border-radius: 6px;
  padding: 9px;
  font-size: 12px;
}

.price-origin {
  margin-top: 9px;
  font-size: 11px;
  color: var(--muted);
}

.reference-panel {
  margin-top: 12px;
  border-left: 3px solid var(--accent);
  padding: 14px 16px;
  background: var(--sage);
  border-radius: 0 6px 6px 0;
  font-size: 11px;
  overflow-wrap: anywhere;
}

.reference-kind {
  display: block;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .6px;
}

.reference-summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  margin: 6px 0;
}

.reference-summary strong {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
}

.reference-button {
  min-height: 40px;
  border: 1px solid var(--olive);
  padding: 7px 12px;
  background: var(--olive);
  color: var(--paper);
  border-radius: 5px;
  font-size: 11px;
}

.reference-button:hover {
  background: #203528;
}

.reference-button:disabled {
  background: transparent;
  color: var(--muted);
  border-color: var(--control-border);
  cursor: not-allowed;
}

.reference-warning:not(:empty) {
  margin-top: 7px;
  color: #8b3824;
}

.reference-panel summary {
  padding: 10px 0;
  font-size: 11px;
  font-weight: 400;
}

.reference-panel details {
  margin-top: 10px;
  border-color: #c5cbbb;
}

.reference-panel details>p {
  font-size: 11px;
  margin-bottom: 9px;
  padding-right: 0;
}

.reference-panel details>a {
  display: inline-block;
  padding-block: 5px;
}

.sources-content, .legal-content {
  max-width: 900px;
  font-size: 15px;
  line-height: 1.8;
  padding-bottom: 60px;
}

.sources-content>section, .legal-content>section {
  margin-bottom: 36px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.sources-content h2, .legal-content h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.sources-content p, .legal-content p {
  margin-bottom: 16px;
}

.privacy-consent-button {
  min-height: 44px;
  border: 1px solid var(--olive);
  border-radius: 6px;
  padding: 10px 16px;
  background: var(--olive);
  color: var(--paper);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.privacy-consent-button:hover,
.privacy-consent-button:focus-visible {
  background: #203528;
}

.source-note {
  padding-block: 20px;
  border-bottom: 1px solid var(--line);
}

.source-note:last-child {
  border-bottom: 0;
}

.source-note h3 {
  margin-bottom: 12px;
  font-size: 18px;
}

.source-note p, .source-note a {
  font-size: 13px;
}

.sources-content table {
  min-width: 720px;
}

.sources-content details {
  margin-top: 20px;
}

.ad-placement {
  text-align: center;
  padding-block: 22px;
  border-top: 1px solid var(--line);
}

.ad-placement>span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
}

.ad-frame {
  width: 250px;
  height: 250px;
  margin: 12px auto;
}

.ad-frame .adsbygoogle {
  display: inline-block;
  width: 250px;
  height: 250px;
}

.ad-placement>p {
  font-size: 11px;
  color: var(--muted);
}

.ad-placement[data-ad-active] {
  border-top: 1px solid var(--line);
}

.ad-placement--mobile, .ad-placement--rectangle, .ad-placement--desktop {
  display: none;
}

.ad-placement--native { display: none; }

.ad-placement--mobile[data-ad-active] .ad-frame,
.ad-placement--rectangle[data-ad-active] .ad-frame,
.ad-placement--desktop[data-ad-active] .ad-frame,
.ad-placement--native[data-ad-active] .ad-frame {
  max-width: 100%;
  margin: 8px auto 0;
  overflow: hidden;
}

.ad-placement--mobile .ad-frame { width: 320px; height: 50px; }
.ad-placement--rectangle .ad-frame { width: 300px; height: 250px; }
.ad-placement--desktop .ad-frame { width: 728px; height: 90px; }
.ad-placement--native .ad-frame { width: min(100%,728px); min-height: 90px; height: auto; }
.guide-content .ad-placement--rectangle {
  width: 300px;
  max-width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
}

@media (max-width: 791px) {
  .ad-placement--mobile[data-ad-active] { display: block; width: 320px; max-width: 100vw; }
}

@media (min-width: 792px) {
  .ad-placement--desktop[data-ad-active] { display: block; }
}

@media (min-width: 320px) {
  .ad-placement--rectangle[data-ad-active], .ad-placement--native[data-ad-active] { display: block; }
}

@media (max-width:720px) {
  .tariff-selects {
    grid-template-columns: 1fr;
  }
  .tariff-selects select, .reference-button {
    min-height: 44px;
  }
  .reference-summary strong {
    font-size: 22px;
  }
  .site-footer>nav {
    width: 100%;
    margin-left: 0;
    gap: 10px 18px;
  }
  .sources-content, .legal-content {
    font-size: 14px;
  }
  .sources-content h2, .legal-content h2 {
    font-size: 28px;
  }
}

.guide-heading {
  padding: 42px 0 45px;
  max-width: 850px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 11px;
  text-decoration: none;
  margin-bottom: 24px;
}

.guide-heading .eyebrow {
  margin-bottom: 20px;
}

.guide-heading>p {
  max-width: 660px;
  color: var(--muted);
  font-size: 17px;
  margin: 22px 0;
}

.guide-layout {
  display: grid;
  grid-template-columns: 245px minmax(0,720px);
  gap: 65px;
  align-items: start;
  border-top: 1px solid var(--line);
  padding-top: 36px;
}

.guide-toc {
  position: sticky;
  top: 30px;
  padding-bottom: 20px;
}

.guide-toc nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.guide-toc nav>a {
  font-size: 11px;
  min-height: 38px;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.toc-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 0;
  margin-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  text-decoration: none;
}

.toc-cta svg {
  width: 18px;
}

.guide-content {
  font-size: 15px;
  line-height: 1.85;
  min-width: 0;
}

.guide-content>section {
  padding-bottom: 44px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--line);
}

.guide-content h2 {
  font-size: 35px;
  margin-bottom: 22px;
}

.guide-content p {
  margin-bottom: 18px;
}

.definition-list {
  margin: 24px 0;
}

.definition-list>div {
  border-top: 1px solid var(--line);
  padding: 15px 0;
}

.definition-list dt {
  font-weight: 700;
  font-size: 13px;
}

.definition-list dd {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.formula-box {
  padding: 23px 27px;
  background: var(--olive);
  color: var(--paper);
  border-radius: 8px;
  margin: 24px 0;
  overflow-wrap: anywhere;
}

.formula-box>span {
  font-size: 9px;
  letter-spacing: 1.6px;
  color: #e1e5d7;
}

.formula-box p {
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1.6;
  margin: 5px 0 19px;
}

.formula-box p:last-child {
  margin-bottom: 0;
}

.formula-box.secondary {
  background: var(--sage);
  color: var(--ink);
}

.formula-box.secondary p {
  font-family: var(--font-body);
  font-size: 13px;
}

.worked-example {
  padding: 0;
  list-style: none;
  counter-reset: step;
  margin: 24px 0;
}

.worked-example>li {
  counter-increment: step;
  position: relative;
  padding: 16px 0 16px 44px;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  font-size: 14px;
}

.worked-example>li:before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 19px;
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: var(--sage);
  font-size: 11px;
}

.worked-example li>span {
  color: var(--muted);
  font-size: 12px;
}

.table-scroll {
  overflow: auto;
  margin: 24px 0;
  border: 1px solid var(--line);
  border-radius: 7px;
}

table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  min-width: 360px;
  text-align: left;
}

caption {
  text-align: left;
  padding: 14px 18px;
  font-size: 11px;
  color: var(--muted);
}

th,td {
  padding: 12px 18px;
  border-top: 1px solid var(--line);
}

thead {
  background: var(--sage);
}

tbody th {
  font-weight: 400;
}

.editorial-note {
  border-left: 3px solid var(--accent);
  padding: 5px 0 5px 23px;
  margin: 28px 0;
}

.editorial-note h3 {
  font-family: var(--font-display);
  font-size: 23px;
  margin-bottom: 12px;
}

.editorial-note p {
  margin-bottom: 0;
  color: var(--muted);
}

details {
  border-top: 1px solid var(--line);
  padding: 0;
}

summary {
  cursor: pointer;
  padding: 18px 24px 18px 0;
  font-size: 14px;
  font-weight: 700;
}

summary:hover {
  color: var(--accent);
}

details>p {
  font-size: 14px;
  color: var(--muted);
  padding-right: 20px;
}

.guide-end {
  text-align: center;
  padding: 0 20px 60px;
}

.guide-end .brand-mark {
  margin: 0 auto 23px;
}

.guide-end h2 {
  font-size: 32px;
}

.guide-end p {
  color: var(--muted);
  font-size: 14px;
}

.primary-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  background: var(--olive);
  color: var(--paper);
  padding: 12px 22px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 12px;
}

.primary-link:hover {
  background: #203528;
  color: var(--paper);
}

.primary-link svg {
  width: 18px;
}

.not-found {
  padding: 100px 0;
  min-height: 65vh;
}

.not-found p {
  margin: 24px 0;
}

@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  .share-button,.primary-link {
    transition: transform 160ms ease-out;
  }
  .share-button:active,.primary-link:active {
    transform: translateY(1px);
  }
  .text-cta svg {
    transition: transform 180ms ease-out;
  }
  .text-cta:hover svg {
    transform: translateX(3px);
  }
}

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

@media (min-width:1500px) {
  .intro {
    padding-top: 64px;
  }
  .calculator-inputs {
    padding: 36px 40px;
  }
  .result-panel {
    padding: 36px 40px;
  }
}

@media (max-width:1000px) {
  .page-width,.site-header,.site-footer {
    width: calc(100% - 64px);
  }
  .intro-note {
    display: none;
  }
  .calculator-inputs,.result-panel {
    padding: 26px;
  }
  .appliance-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .appliance-card {
    padding: 24px;
  }
  .card-fields {
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 10px;
  }
  .compact label {
    min-height: 30px;
    line-height: 1.4;
  }
  .compact .input-unit {
    padding-right: 6px;
    font-size: 9px;
  }
  .compact input {
    padding: 6px;
    font-size: 14px;
  }
  .guide-teaser {
    grid-template-columns: 64px 1fr;
  }
  .guide-teaser>.text-cta {
    grid-column: 2;
    width: fit-content;
  }
  .guide-layout {
    grid-template-columns: 200px minmax(0,1fr);
    gap: 35px;
  }
  .site-footer {
    flex-wrap: wrap;
    gap: 10px 24px;
  }
  .site-footer>div {
    gap: 16px;
  }
}

@media (max-width:720px) {
  .compact .input-wrap, .period-picker label, .currency-control select, .compare-selects select {
    min-height: 44px;
  }
  .page-width,.site-header,.site-footer {
    width: calc(100% - 40px);
  }
  .site-header {
    min-height: 78px;
    gap: 12px;
  }
  .brand {
    font-size: 20px;
    gap: 8px;
  }
  .brand-mark {
    width: 35px;
    height: 35px;
    border-radius: 10px;
  }
  .brand-mark svg {
    width: 22px;
    height: 22px;
  }
  .site-header nav {
    gap: 18px;
  }
  .site-header nav a {
    font-size: 11px;
  }
  .site-header nav svg {
    display: none;
  }
  .intro {
    padding: 36px 0 27px;
  }
  .eyebrow {
    font-size: 9px;
    letter-spacing: 1.5px;
    margin-bottom: 17px;
  }
  .intro h1 {
    font-size: 43px;
    line-height: 1.12;
  }
  .intro>p {
    font-size: 14px;
  }
  .desktop-break {
    display: none;
  }
  .calculator {
    grid-template-columns: 1fr;
  }
  .calculator-inputs {
    padding: 25px 22px;
  }
  .section-heading h2 {
    font-size: 26px;
  }
  .appliance-choice {
    min-height: 78px;
    font-size: 10px;
  }
  .appliance-picker {
    gap: 6px;
  }
  .fields-grid {
    gap: 15px;
  }
  .input-wrap input {
    font-size: 20px;
    padding: 10px;
  }
  .input-unit {
    font-size: 10px;
    padding-right: 9px;
  }
  .tariff-note {
    font-size: 11px;
  }
  .result-panel {
    padding: 25px 24px;
  }
  .result-top {
    margin-bottom: 16px;
  }
  .main-cost {
    font-size: 58px;
  }
  .result-breakdown {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }
  .result-row {
    display: block;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .result-row dd {
    text-align: left;
    margin-top: 4px;
  }
  .result-row strong {
    font-size: 24px;
  }
  .receipt-divider {
    margin: 17px 0 0;
  }
  .result-assumption {
    margin-top: 14px;
  }
  .share-button {
    margin-top: 8px;
  }
  .result-feedback {
    min-height: 22px;
  }
  .estimation-note {
    font-size: 10px;
    line-height: 1.8;
  }
  .comparison {
    padding-top: 42px;
  }
  .comparison-heading {
    display: block;
    margin-bottom: 22px;
  }
  .comparison-heading h2 {
    font-size: 30px;
  }
  .comparison-heading p {
    font-size: 12px;
  }
  .comparison-heading>.quiet-tag {
    display: inline-block;
    margin-top: 13px;
  }
  .appliance-grid {
    gap: 12px;
  }
  .appliance-card {
    padding: 18px 15px;
  }
  .appliance-card h3 {
    font-size: 15px;
  }
  .card-fields {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .compact label {
    min-height: 0;
    font-size: 11px;
  }
  .compact input {
    font-size: 17px;
    padding: 7px 10px;
  }
  .card-note {
    min-height: 32px;
    line-height: 1.6;
  }
  .card-results>div {
    font-size: 11px;
  }
  .card-main-result dd {
    font-size: 29px;
  }
  .difference-panel {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 22px 20px;
  }
  .compare-selects {
    gap: 10px;
  }
  .compare-selects select {
    font-size: 11px;
  }
  .difference-result {
    padding: 17px 0 0;
    border-left: 0;
    border-top: 1px solid #c7ceb9;
  }
  .difference-result>strong {
    font-size: 42px;
  }
  .comparison-caution {
    font-size: 11px;
  }
  .guide-teaser {
    margin-top: 38px;
    padding: 28px 0;
    grid-template-columns: 42px 1fr;
    gap: 16px;
  }
  .teaser-symbol {
    width: 40px;
    height: 54px;
  }
  .teaser-symbol svg {
    width: 24px;
  }
  .guide-teaser h2 {
    font-size: 25px;
  }
  .guide-teaser p {
    font-size: 11px;
  }
  .text-cta {
    font-size: 11px;
  }
  .site-footer {
    padding: 24px 0;
    gap: 10px 16px;
  }
  .site-footer>p {
    font-size: 9px;
  }
  .site-footer>div {
    width: 100%;
    margin: 0;
    justify-content: space-between;
  }
  .guide-heading {
    padding: 24px 0 32px;
  }
  .guide-heading h1 {
    font-size: 42px;
  }
  .guide-heading>p {
    font-size: 15px;
  }
  .guide-layout {
    grid-template-columns: 1fr;
    gap: 25px;
    padding-top: 24px;
  }
  .guide-toc {
    position: static;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
  }
  .guide-toc nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
  }
  .guide-toc .section-number {
    grid-column: 1/-1;
  }
  .guide-toc nav>a {
    font-size: 10px;
  }
  .toc-cta {
    margin-top: 8px;
    padding-bottom: 0;
  }
  .guide-content {
    font-size: 14px;
  }
  .guide-content h2 {
    font-size: 30px;
  }
  .formula-box {
    padding: 20px;
  }
  .formula-box p {
    font-size: 19px;
  }
  .guide-content>section {
    margin-bottom: 28px;
    padding-bottom: 30px;
  }
  .not-found {
    padding: 60px 0;
  }
}

@media (max-width:370px) {
  .page-width,.site-header,.site-footer {
    width: calc(100% - 28px);
  }
  .brand {
    font-size: 18px;
  }
  .site-header nav {
    gap: 10px;
  }
  .intro h1 {
    font-size: 37px;
  }
  .calculator-inputs {
    padding: 22px 16px;
  }
  .appliance-choice {
    font-size: 9px;
  }
  .fields-grid {
    gap: 12px;
  }
  .number-field label {
    font-size: 10px;
  }
  .appliance-card {
    padding: 16px 12px;
  }
  .card-results>div {
    display: block;
  }
  .card-results dd {
    text-align: left;
  }
  .card-results dt {
    margin-top: 7px;
  }
}
