/* Zapisuj tu własne zmiany wyglądu w Pinegrow. Ten arkusz jest wczytywany jako ostatni. */

/* IDEA: pola tekstowe dopasowane do tlo_idea.webp. */
.new-hero > .idea-art {
  display: block;
  width: 100%;
  height: auto;
}
.new-hero > [data-idea-field] {
  position: absolute;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  z-index: 1;
  padding: 0;
  text-align: center;
  text-wrap: balance;
  hyphens: none;
  color: #081e48;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.12;
}
.new-hero > [data-idea-field="hidden"] { display: none; }
.new-hero > [data-idea-field="brand"] { font-size: 90px; font-weight: 750; }
.new-hero > [data-idea-field="tagline"] { font-size: 46px; letter-spacing: -.035em; line-height: 1.07; }
.new-hero > [data-idea-field="efficiency"] { font-size: 22px; font-weight: 750; }
.new-hero > .light[data-idea-field],
.new-hero > [data-idea-field="additional"] {
  color: #fff;
  font-size: 22px;
  font-weight: 750;
}
.new-hero > [data-idea-field^="benefit-"] { font-size: 17px; line-height: 1.12; }
.new-hero > [data-idea-field="brand"] { left: 2.34375%; top: 0.97656%; width: 26.82292%; height: 12.89062%; }
.new-hero > [data-idea-field="tagline"] { left: 29.94792%; top: 0.97656%; width: 67.96875%; height: 12.89062%; }
.new-hero > [data-idea-field="sources"] { left: 3.32031%; top: 14.64844%; width: 24.80469%; height: 5.95703%; }
.new-hero > [data-idea-field="technology"] { left: 35.93750%; top: 17.67578%; width: 26.36719%; height: 6.05469%; }
.new-hero > [data-idea-field="efficiency"] { left: 35.93750%; top: 23.82812%; width: 26.36719%; height: 4.49219%; }
.new-hero > [data-idea-field="waste"] { left: 15.88542%; top: 21.38672%; width: 11.84896%; height: 13.86719%; }
.new-hero > [data-idea-field="geothermal"] { left: 15.88542%; top: 36.42578%; width: 11.84896%; height: 13.37891%; }
.new-hero > [data-idea-field="biogas"] { left: 15.88542%; top: 51.36719%; width: 11.84896%; height: 12.59766%; }
.new-hero > [data-idea-field="grid"] { left: 84.96094%; top: 21.28906%; width: 12.30469%; height: 12.69531%; }
.new-hero > [data-idea-field="industry"] { left: 84.96094%; top: 35.35156%; width: 12.30469%; height: 14.06250%; }
.new-hero > [data-idea-field="housing"] { left: 84.96094%; top: 50.87891%; width: 12.30469%; height: 12.98828%; }
.new-hero > [data-idea-field="benefit-efficiency"] { left: 3.25521%; top: 75.48828%; width: 14.71354%; height: 6.83594%; }
.new-hero > [data-idea-field="benefit-return"] { left: 19.79167%; top: 75.48828%; width: 14.19271%; height: 6.83594%; }
.new-hero > [data-idea-field="benefit-emissions"] { left: 35.80729%; top: 75.48828%; width: 14.19271%; height: 6.83594%; }
.new-hero > [data-idea-field="benefit-storage"] { left: 51.88802%; top: 75.48828%; width: 13.80208%; height: 6.83594%; }
.new-hero > [data-idea-field="benefit-scale"] { left: 67.57812%; top: 75.48828%; width: 13.80208%; height: 6.83594%; }
.new-hero > [data-idea-field="footer"] { left: 8.00781%; top: 87.69531%; width: 71.87500%; height: 7.51953%; }
.new-hero > [data-idea-field="additional"] { left: 71.35417%; top: 14.64844%; width: 25.45573%; height: 5.95703%; }
/* Plansza ma własne jasne i ciemne pola także w trybie nocnym. */
html[data-theme=night] .new-hero > [data-idea-field] { color: #081e48; }
html[data-theme=night] .new-hero > .light[data-idea-field],
html[data-theme=night] .new-hero > [data-idea-field="additional"] { color: #fff; }

/* Wspólne sterowanie oraz układ stron 2 i 3. */
.controls-left .theme-tools button[data-theme="day"] {
  width: 54px;
  padding: 0;
}
.theme-tools .sun-smile { width: 37px; height: 37px; flex: none; }
.sun-smile g { stroke-width: 2.5; }
.sun-smile stop:first-child { stop-opacity: 1; }
.sun-smile stop:last-child { stop-opacity: .55; }
.sun-smile circle[stroke-width], .sun-smile path[stroke-width] { stroke-width: 3.2; }
.sun-smile circle[fill="currentColor"] { r: 2.4px; }

html:is([data-section="2"], [data-section="3"], [data-section="4"]) #print-card > #page-content { margin-top: 112px; }
.technology-title-line { white-space: nowrap; }

html[data-section="3"] .section-title .pg-style-0130 > span {
  display: block;
  white-space: nowrap;
}
html[data-section="3"] .disclosures > details > summary {
  position: relative;
  display: block;
  padding: 10px 42px;
  text-align: center;
}
.history-title { font: 500 29px/34.8px Arial, sans-serif; }
html[data-section="3"] .disclosures > details > summary .pg-style-0144 {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
}
html[data-section="3"] .energia {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.energia .section {
  display: grid;
  place-items: center;
  min-height: 64px;
}
.energia :is(#topTable, #barChartTable) {
  width: 100%;
  table-layout: fixed;
}
.energia :is(#topTable, #barChartTable) thead tr { height: 62px; }
.energia :is(#topTable, #barChartTable) tbody tr { height: 28px; }
.energia :is(#topTable, #barChartTable) col { width: auto; }
.energia :is(#topTable, #barChartTable) col:first-child { width: 13%; }
.energia img.pg-style-0181 { height: auto; max-height: none; aspect-ratio: auto 640 / 534; }
html[data-section="3"][data-theme="night"] .energia table {
  --energy-table-rule: #80909f;
  background-color: #202c37;
  background-image: linear-gradient(var(--energy-table-rule), var(--energy-table-rule)),
    linear-gradient(var(--energy-table-rule), var(--energy-table-rule));
  background-size: 100% 1.5px, 1.5px 100%;
  background-position: left top;
  background-repeat: no-repeat;
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
  padding: 1.5px 0 0 1.5px;
}
html[data-section="3"][data-theme="night"] .energia table :is(th, td) {
  border: 0;
  background-color: transparent;
  background-image: linear-gradient(var(--energy-table-rule), var(--energy-table-rule)),
    linear-gradient(var(--energy-table-rule), var(--energy-table-rule));
  background-size: 100% 1.5px, 1.5px 100%;
  background-position: left bottom, right top;
  background-repeat: no-repeat;
  color: #e8ebed;
  font-variant-numeric: tabular-nums;
}
html[data-section="3"][data-theme="night"] .energia table th { background-color: #273541; }

/* Stały układ modelu współpracy, niezależnie od języka. */
html[data-section="3"] .finance-flow .flow-card {
  height: 156px;
  padding: 14px 16px;
}
html[data-section="3"] .flow-card > b {
  margin-bottom: 8px;
  white-space: nowrap;
}
html[data-section="3"] .flow-card > span {
  display: block;
  font-size: 21px;
  line-height: 26px;
  margin-top: 0;
}
html[data-section="3"] .three > .feature {
  height: 212px;
  padding: 14px 16px;
}
html[data-section="3"] .three > .feature > h3 { white-space: nowrap; }
html[data-section="3"] .three > .feature > p:last-child { line-height: 23px; }
html[data-section="3"] .payback-link {
  margin-top: 50px;
  font-size: 26px;
  line-height: 32px;
}
html[data-section="3"] .payback-link a {
  color: #132748;
  text-decoration: underline;
  text-underline-offset: .2em;
}
html[data-section="3"][data-theme="night"] .payback-link a { color: #e8ebed; }
html[data-section="3"] .disclosures { margin-top: 72px; }
html[data-section="3"] .energia .note {
  font: 400 15px/1.4 Arial, sans-serif;
  margin: 8px 0 0;
  padding: 0 0 8px;
  text-align: left;
}

/* Wspólny punkt startu nagłówków redakcyjnych na stronach 2–4. */
html:is([data-section="2"], [data-section="3"], [data-section="4"]) #page-content > main > section:first-child {
  padding-top: 38px;
}

/* Strona 5: wspólna siatka tabel i zwarty układ karty A3. */
html:is([data-section="5"],[data-section="6"]) #print-card .sheet {
  --calc-rule: #8a806d;
  --calc-number-size: 16px;
  --calc-number-weight: 700;
}
html:is([data-section="5"],[data-section="6"])[data-theme="night"] #print-card .sheet { --calc-rule: #80909f; }
html:is([data-section="5"],[data-section="6"])[data-theme="night"] #print-card {
  --calc-night-accent: #ffe08a;
}
html:is([data-section="5"],[data-section="6"])[data-theme="night"] #print-card :is(.market-update, .live-market-price, .live-market-price *, .sheet input) {
  color: var(--calc-night-accent);
}
html:is([data-section="5"],[data-section="6"])[data-theme="night"] #print-card .market-update { border-color: var(--calc-night-accent); }
html:is([data-section="5"],[data-section="6"])[data-theme="night"] #print-card .market-update[aria-busy=true]::after { background-color: var(--calc-night-accent); }
html:is([data-section="5"],[data-section="6"]) .section-19 { text-decoration: underline; text-underline-offset: .12em; }

html:is([data-section="5"],[data-section="6"]) .sheet > .title {
  font-size: 26px;
  line-height: 1.2;
  margin: 14px 0 10px;
}
html:is([data-section="5"],[data-section="6"]) .slide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 18px;
}
html:is([data-section="5"],[data-section="6"]) .slide-column { min-width: 0; margin-bottom: 8px; }
html:is([data-section="5"],[data-section="6"]) .sheet .section {
  min-height: 36px;
  font-size: 17px;
  line-height: 1.2;
  margin: 10px 0 0;
  padding: 6px 9px;
}
html:is([data-section="5"],[data-section="6"]) .sheet .section span { font: inherit; }
html:is([data-section="5"],[data-section="6"]) .sheet table {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  border: 0;
  background-image: linear-gradient(var(--calc-rule), var(--calc-rule)),
    linear-gradient(var(--calc-rule), var(--calc-rule));
  background-size: 100% 1.5px, 1.5px 100%;
  background-position: left top;
  background-repeat: no-repeat;
  padding: 1.5px 0 0 1.5px;
}
html:is([data-section="5"],[data-section="6"]) .sheet table :is(th, td) {
  /* Draw the cell rules as fills so fractional zoom cannot snap them away. */
  border: 0;
  background-image: linear-gradient(var(--calc-rule), var(--calc-rule)),
    linear-gradient(var(--calc-rule), var(--calc-rule));
  background-size: 100% 1.5px, 1.5px 100%;
  background-position: left bottom, right top;
  background-repeat: no-repeat;
  min-height: 0;
  height: auto;
  padding: 4px 6px;
  font-size: 14.5px;
  line-height: 1.2;
  vertical-align: middle;
  hyphens: manual;
  overflow-wrap: normal;
  word-break: normal;
}
html:is([data-section="5"],[data-section="6"]) .sheet table thead th { font-weight: 700; }
html:is([data-section="5"],[data-section="6"]) .sheet table tr { height: auto; min-height: 0; }
html:is([data-section="5"],[data-section="6"]) .sheet table col { height: auto; }
html:is([data-section="5"],[data-section="6"]) .sheet .narrow col:nth-child(1) { width: 24%; }
html:is([data-section="5"],[data-section="6"]) .sheet .narrow col:nth-child(2) { width: 19%; }
html:is([data-section="5"],[data-section="6"]) .sheet .narrow col:nth-child(3) { width: 18%; }
html:is([data-section="5"],[data-section="6"]) .sheet .narrow col:nth-child(4) { width: 39%; }
html:is([data-section="5"],[data-section="6"]) .sheet .narrow col:nth-child(n+5),
html:is([data-section="5"],[data-section="6"]) .sheet .narrow tr > :nth-child(n+5) { display: none; }
html:is([data-section="5"],[data-section="6"]) .sheet .narrow tbody tr > :nth-child(2),
html:is([data-section="5"],[data-section="6"]) .sheet .opex-table tbody tr > :nth-child(3),
html:is([data-section="5"],[data-section="6"]) .sheet input {
  font-family: Arial, sans-serif;
  font-size: var(--calc-number-size);
  font-weight: var(--calc-number-weight);
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}
html:is([data-section="5"],[data-section="6"]) .sheet .narrow tbody tr > :nth-child(2),
html:is([data-section="5"],[data-section="6"]) .sheet .opex-table tbody tr > :nth-child(3) {
  white-space: nowrap;
  text-align: right;
}
html:is([data-section="5"],[data-section="6"]) .sheet input {
  display: block;
  width: 70%;
  max-width: 70%;
  min-width: 0;
  height: 27px;
  min-height: 27px;
  margin: 0 auto;
  padding: 2px 5px;
}
html:is([data-section="5"],[data-section="6"]) .sheet .purchase-panel { min-height: 0; padding: 10px 12px; }
html:is([data-section="5"],[data-section="6"]) .sheet .purchase-panel :is(h3,p,label,span,strong) { font-size: 15px; line-height: 1.2; }
html:is([data-section="5"],[data-section="6"]) .sheet .purchase-panel h3 { font-size: 18px; }
html:is([data-section="5"],[data-section="6"]) .sheet .purchase-panel :is(.pg-style-0259, .pg-style-0266) { margin: 5px 0 0; }
html:is([data-section="5"],[data-section="6"]) .sheet .purchase-panel .purchase-adopted { margin: calc(5px + 1lh) 0 0; }
html:is([data-section="5"],[data-section="6"]) .sheet .purchase-panel [data-avoided-purchase] {
  font: var(--calc-number-weight) var(--calc-number-size)/1.15 Arial, sans-serif;
  font-variant-numeric: tabular-nums;
}
html:is([data-section="5"],[data-section="6"]) .sheet .purchase-panel .adopted-amount {
  font: inherit;
  font-size: calc(1.3 * var(--calc-number-size));
  line-height: 0;
}
html:is([data-section="5"],[data-section="6"]) .sheet .purchase-grid {
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  margin: 9px 0 5px;
}
html:is([data-section="5"],[data-section="6"]) .sheet .purchase-grid label { min-height: 0; gap: 4px; }
html:is([data-section="5"],[data-section="6"]) .sheet .purchase-label {
  min-height: 36px;
  margin-inline-start: 15%;
  width: 85%;
  left: auto;
  right: auto;
  text-align: left;
}
html:is([data-section="5"],[data-section="6"]) .sheet .variant-scroll { width: 100%; overflow: visible; }
html:is([data-section="5"],[data-section="6"]) .sheet .variant col:nth-child(1),
html:is([data-section="5"],[data-section="6"]) .sheet .variant col:nth-child(4),
html:is([data-section="5"],[data-section="6"]) .sheet .variant col:nth-child(7),
html:is([data-section="5"],[data-section="6"]) .sheet .variant col:nth-child(8),
html:is([data-section="5"],[data-section="6"]) .sheet .variant col:nth-child(9),
html:is([data-section="5"],[data-section="6"]) .sheet .variant col:nth-child(10) { width: 7%; }
html:is([data-section="5"],[data-section="6"]) .sheet .variant col:nth-child(2),
html:is([data-section="5"],[data-section="6"]) .sheet .variant col:nth-child(3),
html:is([data-section="5"],[data-section="6"]) .sheet .variant col:nth-child(5),
html:is([data-section="5"],[data-section="6"]) .sheet .variant col:nth-child(6) { width: 8%; }
html:is([data-section="5"],[data-section="6"]) .sheet .variant col:nth-child(11) { width: 26%; }
html:is([data-section="5"],[data-section="6"]) .sheet .variant :is(th, td) { font-size: 14px; padding: 4px 5px; }
html:is([data-section="5"],[data-section="6"]) .sheet .variant thead th {
  text-align: center;
  overflow-wrap: normal;
  white-space: normal;
}
html:is([data-section="5"],[data-section="6"]) .sheet .variant-unit,
html:is([data-section="5"],[data-section="6"]) .sheet .variant-role { display: block; white-space: normal; }
html:is([data-section="5"],[data-section="6"]) .sheet .variant-unit { margin-top: 3px; }
html:is([data-section="5"],[data-section="6"]) .sheet .variant tbody td:not(:last-child) {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
html:is([data-section="5"],[data-section="6"]) .sheet .variant tbody td:last-child { text-align: left; }


/* Keep intact words when the following line can hold them. */
html:is([data-section="5"],[data-section="6"]) #print-card {
  hyphens: manual;
  word-break: normal;
  overflow-wrap: normal;
}
html:is([data-section="5"],[data-section="6"]) .sheet .variant-role { overflow-wrap: normal; }
html:is([data-section="5"],[data-section="6"]) #download-status:not(:empty) {
  margin: 0 0 6px;
  padding: 2px 12px;
  font: 400 15px/1.2 Arial, sans-serif;
  color: #403822;
}
html:is([data-section="5"],[data-section="6"])[data-theme="night"] #download-status:not(:empty) { color: #d9d4c1; }
html:is([lang="da"], [lang="sv"])[data-section="5"] .sheet .variant col:first-child { width: 8.7%; }
html:is([lang="da"], [lang="sv"])[data-section="5"] .sheet .variant col:last-child { width: 24.3%; }

html:is([data-section="5"],[data-section="6"]) #download-status button {
  display: inline;
  background: transparent;
  border: 0;
  color: inherit;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  margin-inline-start: .6em;
}

html:is([data-section="5"],[data-section="6"]) .live-market-row {
  --quote-date-height: 20px;
  --quote-value-height: 32.5px;
  --quote-label-height: 20px;
  --quote-row-gap: 3px;
}
html:is([data-section="5"],[data-section="6"]) .market-update-column { position: relative; text-align: center; }
html:is([data-section="5"],[data-section="6"]) .market-update-column > button { width: 100%; }
html:is([data-section="5"],[data-section="6"]) .market-update-alignment {
  position: absolute;
  inset-inline-start: 50%;
  top: calc(var(--quote-date-height) + var(--quote-value-height) + var(--quote-label-height) +
    3 * var(--quote-row-gap));
  transform: translateX(-50%);
  width: max-content;
  font: 700 23px/20px Arial, sans-serif;
  white-space: nowrap;
  visibility: hidden;
}
html:is([data-section="5"],[data-section="6"]) #update-confirmation {
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  visibility: visible;
  margin: 0;
  font: 400 16px/20px Arial, sans-serif;
  color: var(--color-41);
}
html:is([data-section="5"],[data-section="6"])[data-theme="night"] #update-confirmation { color: var(--calc-night-accent); }

/* One arrow width of clearance between each arrow and amount. */
html:is([data-section="5"],[data-section="6"]) .live-market-price {
  --quote-arrow: 25px;
  --quote-arrow-space: calc(2 * var(--quote-arrow));
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  position: relative;
  inset-inline-start: calc(3 * var(--quote-arrow));
}
html:is([data-section="5"],[data-section="6"]) .quote-cell {
  display: grid;
  grid-template-rows: var(--quote-date-height) var(--quote-value-height) var(--quote-label-height) auto;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  row-gap: var(--quote-row-gap);
}
html:is([data-section="5"],[data-section="6"]) .quote-cell:nth-child(2) { inset-inline-start: calc(-1 * var(--quote-arrow)); }
html:is([data-section="5"],[data-section="6"]) .quote-cell:nth-child(3) { inset-inline-start: calc(-2 * var(--quote-arrow)); }
html:is([data-section="5"],[data-section="6"]) .quote-cell > b {
  grid-row: 2;
  position: relative;
  padding-inline-start: var(--quote-arrow-space);
}
html:is([data-section="5"],[data-section="6"]) .quote-cell > b .quote-item-arrow {
  position: absolute;
  inset-inline-start: 0;
  width: var(--quote-arrow);
  margin: 0;
  text-align: center;
}
html:is([data-section="5"],[data-section="6"]) .quote-cell > small { padding-inline-start: var(--quote-arrow-space); }
html:is([data-section="5"],[data-section="6"]) .quote-date-line {
  grid-row: 1;
  padding-inline-start: var(--quote-arrow-space);
  font: var(--calc-number-weight) var(--calc-number-size)/1.15 Arial, sans-serif;
  font-variant-numeric: tabular-nums;
  text-align: left;
}
html:is([data-section="5"],[data-section="6"]) .quote-date { font: inherit; }
html:is([data-section="5"],[data-section="6"]) .quote-date[hidden], html:is([data-section="5"],[data-section="6"]) .quote-state[hidden] { display: none; }
html:is([data-section="5"],[data-section="6"]) .quote-state.is-error {
  display: block;
  font-size: 12px;
  line-height: 1;
  overflow-wrap: anywhere;
}
html:is([data-section="5"],[data-section="6"]) .quote-cell:last-child > :is(.quote-date-line, small) { padding-inline-end: 60px; }

/* Shared vertical measurements keep every calculator language aligned. */
html:is([data-section="5"],[data-section="6"]) #print-card > .sheet { margin-bottom: 5px; }
html:is([data-section="5"],[data-section="6"]) .sheet .section { min-height: 34px; margin-top: 7px; }
html:is([data-section="5"],[data-section="6"]) .sheet table :is(th, td) { padding-block: 2px; }
html:is([data-section="5"],[data-section="6"]) .sheet table tr { height: var(--calc-row-height, 23px); }
html:is([data-section="5"],[data-section="6"]) .sheet .uniform-table-1 tbody tr,
html:is([data-section="5"],[data-section="6"]) .sheet .uniform-table-3 tbody tr,
html:is([data-section="5"],[data-section="6"]) .sheet .uniform-table-4 tbody tr:last-child { --calc-row-height: 57px; }
html:is([data-section="5"],[data-section="6"]) .sheet .uniform-table-1 tbody tr:nth-child(1),
html:is([data-section="5"],[data-section="6"]) .sheet .uniform-table-1 tbody tr:nth-child(3),
html:is([data-section="5"],[data-section="6"]) .sheet .uniform-table-1 tbody tr:nth-child(8),
html:is([data-section="5"],[data-section="6"]) .sheet .uniform-table-2 tbody tr,
html:is([data-section="5"],[data-section="6"]) .sheet .uniform-table-3 tbody tr:last-child,
html:is([data-section="5"],[data-section="6"]) .sheet .uniform-table-4 tbody tr { --calc-row-height: 40px; }
html:is([data-section="5"],[data-section="6"]) .sheet .uniform-table-3 tbody tr:nth-child(3) { --calc-row-height: 75px; }
html:is([data-section="5"],[data-section="6"]) .sheet .uniform-table-4 tbody tr:nth-child(2) { --calc-row-height: 24px; }
html:is([data-section="5"],[data-section="6"]) .sheet .uniform-table-4 tbody tr:last-child { --calc-row-height: 57px; }
html:is([data-section="5"],[data-section="6"]) .sheet .variant thead tr { --calc-row-height: 75px; }
html:is([data-section="5"],[data-section="6"]) .sheet .variant tbody tr:is(:nth-child(1),:nth-child(4),:nth-child(8),:last-child) { --calc-row-height: 55px; }
html:is([data-section="5"],[data-section="6"]) .sheet .variant tbody tr:is(:nth-child(2),:nth-child(12)) { --calc-row-height: 39px; }
html:is([data-section="5"],[data-section="6"]) #download-status,
html:is([data-section="5"],[data-section="6"]) #download-status:not(:empty) {
  display: block;
  height: 32px;
  margin: 0;
  padding: 0 12px;
  font-size: 14px;
  line-height: 16px;
}
html:is([data-section="5"],[data-section="6"]) .sheet .variant :is(th, td) { padding-block: 2px; }
html:is([data-section="5"],[data-section="6"]) .quote-cell > small:not(.quote-source) { grid-row: 3; }
html:is([data-section="5"],[data-section="6"]) .quote-cell > small.quote-source { grid-row: 4; }

/* Consistent annotated drawings and readable table inset. */
html[data-section="2"] #panel-idea .pg-style-0093 {
  font-size:22px; font-weight:400; line-height:1.15; width:360px; left:210px; right:auto;
}
html[data-section="2"] #panel-idea .pg-style-0096 {
  text-align:left; justify-content:flex-start; font-weight:400;
}
html[data-section="2"] #panel-idea .pg-style-0097 {
  text-align:right; justify-content:flex-end; font-weight:400;
  left:0; width:510px; right:auto;
}
html[data-section="2"] #panel-idea :is(.pg-style-0096,.pg-style-0097) > span { white-space:nowrap; }
html[data-section="2"] #panel-process .slide-copy {
  font-family:Arial,sans-serif; font-size:22px; line-height:1.15; font-weight:400;
  hyphens:manual; overflow-wrap:normal;
}
html[data-section="2"] #panel-sources :is(.pg-style-0123,.pg-style-0124) { font-size:25.3px; }
html[data-section="3"] .energia .note { padding-inline:20px; }
.mail-progress {
  display:block; width:100%; height:8px; margin:6px 0; accent-color:#467b49;
}
#form-status:not(:empty) { display:block; font-size:15px; line-height:1.3; }
#form-status[data-state="sending"] { color:#315778; }
#form-status[data-state="success"] { color:#276337; }
#form-status[data-state="error"] { color:#ad2424; }
html[data-theme="night"] #form-status[data-state="sending"] { color:#b6d5ed; }
html[data-theme="night"] #form-status[data-state="success"] { color:#b7e5b7; }
html[data-theme="night"] #form-status[data-state="error"] { color:#ffcb8a; }
html:is([data-section="5"],[data-section="6"]) .sheet .purchase-panel .adopted-unit { font-weight:400; }
html:is([data-section="5"],[data-section="6"]) .sheet table tbody :is(td.num,td.numeric-cell) {
  text-align:right; padding-inline-end:2ch; padding-inline-start:4px;
}
html:is([data-section="5"],[data-section="6"]) .sheet table tbody td:has(input) { padding-inline-end:0; }
html:is([data-section="5"],[data-section="6"]) .sheet table input {
  text-align:right; width:calc(100% - 2ch - 4px); max-width:none;
  margin-inline-start:auto; margin-inline-end:2ch;
}
html:is([data-section="5"],[data-section="6"]) .sheet .variant tbody td:not(:last-child) {
  text-align:right; padding-inline-end:2ch; padding-inline-start:4px;
}

/* One precise, shared connector on every localized Idea diagram. */
html[data-section="2"] .process-stage > .process-joint {
  position:absolute; inset:0; width:100%; height:100%; object-fit:fill; pointer-events:none; z-index:1;
}

/* Controls stay clickable above a movable card; icons inherit the control cursor. */
.controls-left,.controls-right { z-index:1000; isolation:isolate; pointer-events:none; }
.controls-left :is(a,button),.controls-right a { pointer-events:auto; cursor:pointer; touch-action:manipulation; }
.controls-left :is(a,button) *,.controls-right a * { cursor:inherit; pointer-events:none; }
.controls-left output { pointer-events:none; }
button:not(:disabled),[role="tab"],summary { cursor:pointer; }
#page-scroll.is-panning { cursor:grabbing; user-select:none; }

/* Slide 6 uses the DE calculator's type, fields, palette and A3 card. */
html[data-section="6"] .pl-sheet {margin:140px 60px 48px;width:1380px;max-width:none;}
html[data-section="6"] .pl-update-bar {display:flex;align-items:center;gap:20px;min-height:65px;position:relative;}
html[data-section="6"] .market-update {width:245px;min-width:245px;position:relative;overflow:hidden;}
html[data-section="6"] .market-update::after {content:"";position:absolute;bottom:0;left:0;height:3px;background:currentColor;width:var(--progress,0%);transition:width .25s;}
html[data-section="6"] #pl-update-confirmation {font-size:14px;}
html[data-section="6"] #pl-update-summary {font-size:14px;max-width:770px;}
html[data-section="6"] .pl-market-grid {display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:15px 20px;padding:10px 8px 6px;}
html[data-section="6"] .pl-market-cell {display:flex;flex-direction:column;gap:5px;min-width:0;font-size:14.5px;line-height:1.25;}
html[data-section="6"] .pl-market-cell strong {min-height:38px;font-size:14.5px;font-weight:normal;}
html[data-section="6"] .pl-market-state {min-height:18px;font-size:13px;overflow-wrap:anywhere;}
html[data-section="6"] .pl-market-cell b {font-size:18px;white-space:nowrap;color:#b61e14;}
html[data-section="6"] .pl-market-cell b small {font-weight:normal;font-size:12px;}
html[data-section="6"] .pl-market-cell a {font-size:12px;}
html[data-section="6"] .pl-note {font:14px/1.35 Arial,sans-serif;margin:9px 8px;}
html[data-section="6"] .section {margin:16px 0 10px;min-height:25px;}
html[data-section="6"] .slide-grid {display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start;}
html[data-section="6"] .pl-table {width:100%;border-collapse:collapse;table-layout:fixed;margin:0;}
html[data-section="6"] .pl-table col:nth-child(1) {width:39%;}
html[data-section="6"] .pl-table col:nth-child(2) {width:20%;}
html[data-section="6"] .pl-table col:nth-child(3) {width:14%;}
html[data-section="6"] .pl-table col:nth-child(4) {width:27%;}
html[data-section="6"] .pl-table :is(th,td) {font:14.5px/1.15 Arial,sans-serif;padding:4px 8px;height:30px;box-sizing:border-box;border:1px solid #6c705f;vertical-align:middle;overflow-wrap:normal;hyphens:none;}
html[data-section="6"] .pl-table th {font-weight:bold;height:32px;}
html[data-section="6"] .pl-table td:first-child {text-align:right;font-weight:bold;}
html[data-section="6"] .pl-table td:nth-child(2) {text-align:right;padding-right:2ch;font-size:16px;}
html[data-section="6"] .pl-table td:nth-child(3) {text-align:left;padding-left:8px;}
html[data-section="6"] .pl-table td:nth-child(4) {font-size:13px;overflow-wrap:anywhere;}
html[data-section="6"] .pl-table td:has(input) {padding:3px 0;}
html[data-section="6"] .pl-table input {font:bold 16px Arial,sans-serif;box-sizing:border-box;width:calc(100% - 2ch - 4px);height:23px;min-width:0;border:1px solid #a7a99b;text-align:right;margin:0 2ch 0 auto;display:block;border-radius:0;}
html[data-section="6"] .pl-table input[aria-invalid="true"] {outline:2px solid #cc342d;}
html[data-section="6"] .pl-table .num span {font:16px Arial,sans-serif;}
html[data-section="6"] #pl-input-status {font:14px Arial,sans-serif;min-height:18px;color:#b61e14;margin-bottom:5px;}
html[data-section="6"] .pl-notes {margin-top:14px;}
html[data-section="6"][data-theme="night"] :is(.pl-market-cell b,#pl-input-status) {color:#ffe08a;}
html[data-section="6"][data-theme="night"] .pl-table :is(th,td) {border-color:#89949b;}
html[data-section="6"][data-theme="night"] .pl-table input {background:#344351;color:#ffe08a;border-color:#89949b;}
html[data-section="6"] body:not(.calc-ready) #page-scroll {visibility:hidden;}
html[data-section="6"] .pl-sheet {margin-bottom:28px;}
html[data-section="6"] .pl-update-bar {min-height:55px;}
html[data-section="6"] .pl-market-grid {row-gap:10px;}
html[data-section="6"] .pl-market-cell strong {min-height:32px;}
html[data-section="6"] .pl-market-state {height:32px;min-height:32px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;}
html[data-section="6"] .pl-market-cell strong {height:38px;min-height:38px;}
html[data-section="6"][data-theme="night"] .pl-market-cell b :is(span,small),
html[data-section="6"][data-theme="night"] .pl-table .numeric-cell span {color:#ffe08a!important;}
html[data-section="6"] .pl-output-table :is(th,td) {height:30px!important;}
html[data-section="6"] .pl-output-table tr:has([data-pl-output="tariffPrice"]) td,
html[data-section="6"] .pl-output-table tr:has([data-pl-output="fees"]) td {height:40px!important;}
html[data-section="6"] .pl-results > div > .section {height:30px;min-height:30px;margin:16px 0 10px;}
html[data-section="6"] .pl-market-cell a {color:#214e82;text-decoration:underline;}
html[data-section="6"][data-theme="night"] .pl-market-cell a {color:#9cc7ff!important;}

/* PL: reuse the S5 heading component and one numeric alignment rule. */
html[data-section="6"] .sheet .section.pg-style-0273 {
  font-size:17px;font-weight:700;line-height:1.2;text-align:center;
  justify-content:center;text-transform:uppercase;
}
html[data-section="6"] .sheet .section.pg-style-0273 span {font:inherit;}
html[data-section="6"] .pl-table .numeric-cell,
html[data-section="6"] .pl-table .numeric-cell :is(input,span),
html[data-section="6"] :is([data-pl-market],.pl-market-state) {font-weight:700!important;}
html[data-section="6"] .pl-table td.numeric-cell {padding-right:2ch!important;}
html[data-section="6"] .pl-table td.numeric-cell:has(input) {padding-right:0!important;}
html[data-section="6"] .pl-table input {
  padding:0 2px!important; margin-inline-end:calc(2ch - 3px)!important;
  width:calc(100% - 2ch - 1px)!important;
}

/* PL6.3: the same date → amount → caption → source component as S5. */
html[data-section="6"] .pl-market-grid {
  --quote-date-height:20px;--quote-value-height:32.5px;--quote-label-height:40px;--quote-row-gap:3px;
  display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px 16px;
  position:static;inset-inline-start:0;padding:10px 8px 6px;
}
html[data-section="6"] .pl-market-grid .quote-cell:nth-child(n) {
  display:grid;grid-template-rows:20px 32.5px 40px 20px;gap:3px;inset-inline-start:0;left:0;min-width:0;
}
html[data-section="6"] .pl-market-cell .pl-market-state {
  display:inline;height:auto;min-height:0;font:inherit;overflow:visible;-webkit-line-clamp:unset;
}
html[data-section="6"] .pl-market-cell > b {font:700 25px/32.5px Arial,sans-serif;}
html[data-section="6"] .pl-market-cell > small {font:400 16px/20px Arial,sans-serif;}
html[data-section="6"] .pl-market-grid .quote-cell:last-child > :is(.quote-date-line,small) {padding-inline-end:0;}
html[data-section="6"] .pl-market-cell .quote-source a {font:inherit;color:inherit;text-decoration:none;}
html[data-section="6"][data-theme="night"] .pl-market-cell .quote-source a {color:inherit!important;}
html[data-section="6"] .pl-market-cell .quote-state.is-error {font:400 12px/12px Arial,sans-serif!important;overflow-wrap:anywhere;}
html[data-section="6"] #pl-update-confirmation {font:400 16px/20px Arial,sans-serif;}
html[data-section="6"] .pl-payback-cards {display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:16px 0 12px;}
html[data-section="6"] .pl-payback-card {border:1px solid #6c705f;border-radius:12px;padding:12px 18px;text-align:center;}
html[data-section="6"] .pl-payback-card h3 {font:700 20px/24px Arial,sans-serif;margin:0 0 8px;}
html[data-section="6"] .pl-payback-card p {margin:0;font:400 16px/36px Arial,sans-serif;}
html[data-section="6"] .pl-payback-card [data-pl-output] {font:700 32px/36px Arial,sans-serif;color:#b61e14;}
html[data-section="6"][data-theme="night"] .pl-payback-card {border-color:#89949b;}
html[data-section="6"][data-theme="night"] .pl-payback-card [data-pl-output] {color:#ffe08a;}
/* Make room for the two return panels on A3 without reducing type or fields. */
html[data-section="6"] .pl-output-table :is(th,td) {height:27px!important;}
html[data-section="6"] .pl-output-table tr:has([data-pl-output="tariffPrice"]) td,
html[data-section="6"] .pl-output-table tr:has([data-pl-output="fees"]) td {height:40px!important;}
html[data-section="6"] .pl-results > div > .section {margin:10px 0 6px;}
html[data-section="6"] .pl-payback-cards {margin:10px 0 8px;}
html[data-section="6"] .pl-payback-card {padding:8px 18px;}
html[data-section="6"] .pl-notes .pl-note {margin:6px 8px;}
html[data-section="6"] .pl-payback-cards {margin:8px 0 6px;}
html[data-section="6"] .pl-payback-card h3 {margin-bottom:6px;}
html[data-section="6"] .pl-notes {margin-top:12px;}
html[data-section="6"] .pl-market-cell > b {color:var(--color-20);}

/* Fixed control layers have their own hit area; no inherited pointer suppression. */
.controls-left,.controls-right {
  pointer-events:auto;z-index:1000;isolation:isolate;contain:layout style;
  transform:translateZ(0);touch-action:manipulation;
}
.controls-left :is(a,button),.controls-right a {cursor:pointer;pointer-events:auto;transition:none;}
.controls-left :is(a,button) *,.controls-right a *,
.controls-left :is(a,button)::before,.controls-left :is(a,button)::after,
.controls-right a::before,.controls-right a::after {pointer-events:none;cursor:inherit;}
.controls-left :is(a,button):active,.controls-right a:active {opacity:.75;}
#page-stage {min-height:0;}
#page-scroll {scroll-behavior:auto;}

/* Ten visible quotations: two rows of five, with the same type sizes. */
html[data-section="6"] .pl-market-grid {grid-template-columns:repeat(5,minmax(0,1fr));--quote-arrow-space:28px;column-gap:16px;row-gap:9px;}

/* Primary project inputs sit above table 2; the tables contain no duplicates. */
html[data-section="6"] .pl-primary-controls {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:4px 0;}
html[data-section="6"] .pl-primary-control {display:block;min-width:0;padding:3px 10px;border:1px solid #6c705f;border-radius:9px;cursor:text;}
html[data-section="6"] .pl-primary-label {display:block;font:700 17px/20px Arial,sans-serif;min-height:20px;margin-bottom:4px;}
html[data-section="6"] .pl-primary-value {display:flex;align-items:center;gap:8px;}
html[data-section="6"] .sheet .pl-primary-control input {display:block;flex:1;width:100%;max-width:none;min-width:0;height:40px;min-height:40px;margin:0;padding:3px 10px;border:1px solid #a7a99b;border-radius:6px;background:#f7f7e9;color:#b61e14;font:700 28px/32px Arial,sans-serif;text-align:right;font-variant-numeric:tabular-nums;}
html[data-section="6"] .pl-primary-unit {flex:none;font:400 14px/20px Arial,sans-serif;white-space:nowrap;}
html[data-section="6"] .pl-primary-control input:focus-visible {outline:2px solid currentColor;outline-offset:2px;}
html[data-section="6"] .pl-primary-control input[aria-invalid="true"] {outline:2px solid #cc342d;}
html[data-section="6"][data-theme="night"] .pl-primary-control {border-color:#89949b;}
html[data-section="6"][data-theme="night"] .sheet .pl-primary-control input {background:#344351;color:#ffe08a;border-color:#89949b;}
html[data-section="6"] #pl-input-status:empty {display:none;}
/* S6: tariff choice, explicit units and five principal inputs. */
html[data-section="6"] .pl-tariff-control {margin-inline-start:auto;display:flex;align-items:center;gap:12px;font:700 20px/1.2 Arial,sans-serif;white-space:nowrap;}
html[data-section="6"] .pl-tariff-control select {width:255px;min-height:44px;padding:6px 12px;border:1px solid #89907a;border-radius:10px;background:#f7f7e9;color:#10243e;font:700 23px/1.2 Arial,sans-serif;cursor:pointer;}
html[data-section="6"][data-theme="night"] .pl-tariff-control select {background:#344351;color:#ffe08a;border-color:#89949b;}
html[data-section="6"] .pl-market-grid {--quote-arrow-space:28px;row-gap:40px;}
html[data-section="6"] .pl-market-cell > b .quote-item-arrow {inset-inline-start:-18px;}
html[data-section="6"] .pl-market-cell .pl-quote-unit {display:inline-block;margin-inline-start:20.85px;padding:0;font:400 14px/20px Arial,sans-serif;color:inherit;vertical-align:baseline;}
html[data-section="6"] .pl-primary-controls {grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;}
html[data-section="6"] .pl-primary-label {height:40px;min-height:40px;display:flex;align-items:center;}
html[data-section="6"] .pl-table tr[hidden] {display:none;}
html[data-section="6"] .pl-payback-combined {display:grid;grid-template-columns:1fr 1fr;gap:12px;border:0;margin:10px 0 0;padding:0;text-align:center;break-inside:avoid;}
html[data-section="6"] .pl-payback-half {min-width:0;}

html[data-section="6"] .pl-payback-half h3 {font:700 20px/24px Arial,sans-serif;margin:0 0 6px;}
html[data-section="6"] .pl-payback-half p {margin:0;font:400 16px/36px Arial,sans-serif;}
html[data-section="6"] .pl-payback-half [data-pl-output] {font:700 32px/36px Arial,sans-serif;color:#b61e14;}
html[data-section="6"][data-theme="night"] .pl-payback-combined {border-color:#89949b;}
html[data-section="6"][data-theme="night"] .pl-payback-half [data-pl-output] {color:#ffe08a;}

html[data-section="6"] #pl-update-summary {flex:1;min-width:0;}
/* S6: common typography and compact, single-line calculator rows. */
html[data-section="6"] .pl-tariff-control select,
html[data-section="6"] .pl-primary-label,
html[data-section="6"] .sheet .pl-primary-control input {font:700 23px/26.45px Arial,sans-serif;}
html[data-section="6"] .pl-primary-label {height:80px;min-height:80px;align-items:center;}
html[data-section="6"] .pl-market-grid {padding-top:20px;}
html[data-section="6"] .pl-market-grid .quote-cell:nth-child(n) {grid-template-rows:20px 32.5px 20px 20px;}
html[data-section="6"] .sheet .pl-input-heading {margin-top:40px;}
html[data-section="6"] .pl-table :is(th,td) {white-space:nowrap;hyphens:none;overflow-wrap:normal;}
html[data-section="6"] .pl-table th {font-size:16.675px;font-weight:700;height:42px!important;}
html[data-section="6"] .pl-table td {height:28px!important;}
html[data-section="6"] .pl-table col:nth-child(1) {width:48%;}
html[data-section="6"] .pl-table col:nth-child(2) {width:18%;}
html[data-section="6"] .pl-table col:nth-child(3) {width:12%;}
html[data-section="6"] .pl-table col:nth-child(4) {width:22%;}
html[data-section="6"] .sheet .pl-table input {width:calc(100% - 30px)!important;margin:0 10px 0 20px!important;}

html[data-section="6"] .pl-table td.numeric-cell:has(input) {padding:1px 0!important;}

/* S6: inset all editable numbers; preserve the field's outside margins. */
html[data-section="6"] .sheet .pl-table input {padding-inline:8px!important;}
html[data-section="6"] .sheet .pl-primary-control input {padding-inline:12px!important;}
html[data-section="6"] #pl-cert-auto {font:700 13px/20px Arial,sans-serif;padding:1px 8px;border:1px solid #89907a;border-radius:5px;background:transparent;color:inherit;cursor:pointer;}
html[data-section="6"] #pl-cert-auto[aria-pressed="true"] {border-width:2px;}

/* S6: regular-weight controls, equal field widths and uniform result rows. */
html[data-section="6"] .pl-tariff-control select,
html[data-section="6"] .pl-tariff-control option,
html[data-section="6"] .pl-primary-label,
html[data-section="6"] .sheet .pl-primary-control input {font:400 19px/23px Arial,sans-serif;}
html[data-section="6"] .pl-primary-value {display:grid;grid-template-columns:minmax(0,1fr) 62px;gap:8px;}
html[data-section="6"] .sheet .pl-primary-control input {width:100%!important;max-width:none;min-width:0;}
html[data-section="6"] .sheet :is(.pl-table,.pl-primary-control) input {background:transparent!important;}
html[data-section="6"] .sheet .pl-output-table tr:has([data-pl-output]) td {height:28px!important;min-height:0;padding-top:4px;padding-bottom:4px;}

/* Stable tariff typography in an in-page menu, including native-menu platforms. */
html[data-section="6"] .pl-tariff-native {position:absolute!important;width:1px!important;height:1px!important;opacity:0;pointer-events:none;overflow:hidden;}
html[data-section="6"] .pl-tariff-picker {position:relative;display:block;width:255px;}
html[data-section="6"] .pl-tariff-trigger {width:100%;min-height:44px;padding:6px 32px 6px 12px;border:1px solid #89907a;border-radius:10px;background:#fff8d9;color:#10243e;font:700 19px/23px Arial,sans-serif;text-align:left;cursor:pointer;}
html[data-section="6"] .pl-tariff-trigger::after {content:'▾';position:absolute;right:12px;top:11px;}
html[data-section="6"] .pl-tariff-options {position:absolute;top:calc(100% + 4px);left:0;right:0;z-index:20;padding:4px;border:1px solid #89907a;border-radius:8px;background:#fff8d9;box-shadow:0 4px 12px #0002;}
html[data-section="6"] .pl-tariff-options[hidden] {display:none;}
html[data-section="6"] .pl-tariff-options button {display:block;width:100%;padding:8px;border:0;border-radius:4px;background:transparent;color:#10243e;font:700 17px/21px Arial,sans-serif;text-align:left;cursor:pointer;}
html[data-section="6"] .pl-tariff-options button:is(:focus-visible,:hover,[aria-selected="true"]) {background:#e1dfb6;outline:1px solid #89907a;}
html[data-section="6"] .pl-primary-controls {grid-template-columns:repeat(3,minmax(0,1fr)) 360px 270px;}
html[data-section="6"] .pl-primary-value {grid-template-columns:128px 62px;}
html[data-section="6"] .pl-primary-label,
html[data-section="6"] .sheet .pl-primary-control input {font:700 25px/30px Arial,sans-serif;}
html[data-section="6"] .pl-primary-label {height:90px;min-height:90px;}
html[data-section="6"] .sheet :is(.pl-table,.pl-primary-control) input {background:#fff8d9!important;}
html[data-section="6"][data-theme="night"] .sheet :is(.pl-table,.pl-primary-control) input {background:#4a4733!important;}
html[data-section="6"][data-theme="night"] :is(.pl-tariff-trigger,.pl-tariff-options) {background:#343d42;color:#ffe08a;border-color:#89949b;}
html[data-section="6"][data-theme="night"] .pl-tariff-options button {color:#ffe08a;}
html[data-section="6"][data-theme="night"] .pl-tariff-options button:is(:focus-visible,:hover,[aria-selected="true"]) {background:#4a4733;}

/* Equal S6 controls and shared language dropdown, 2026-11. */
html[data-section="6"] .sheet .pl-market-heading { margin-top:40px!important; }
html[data-section="6"] .sheet .pl-primary-controls { grid-template-columns:repeat(6,minmax(0,1fr)); gap:12px; }
html[data-section="6"] .sheet .pl-primary-control { min-width:0; padding:12px 10px; }
html[data-section="6"] .sheet .pl-primary-label { font:700 18px/23px Arial,sans-serif; height:92px; min-height:92px; padding:0 3px; overflow-wrap:normal; word-break:normal; hyphens:none; }
html[data-section="6"] .sheet .pl-primary-control input { font:700 20px/26px Arial,sans-serif; }
html[data-section="6"] .sheet .pl-primary-value { grid-template-columns:minmax(0,128px) 54px; justify-content:center; gap:4px; }
html[data-section="6"] .sheet .pl-primary-unit { font-size:16px; }
html[data-section="6"] .sheet .pl-reserve input:disabled { opacity:1; cursor:default; }
#pl-input-status:empty { display:none; }
.controls-right:has(.language-picker) { display:block; width:auto; overflow:visible; background:transparent; }
.language-picker { position:relative; font-family:Arial,sans-serif; }
.controls-right .language-picker > summary { box-sizing:border-box; width:48px; height:42px; display:flex; align-items:center; justify-content:center; gap:3px; list-style:none; cursor:pointer; border:2px solid #172641; border-radius:9px; background:transparent; color:inherit; font-size:14px; font-weight:700; }
.language-picker > summary::-webkit-details-marker { display:none; }
.language-picker[open] > summary { background:var(--card-bg,#eaead7); border-width:3px; }
.controls-right .language-options { position:absolute; right:0; top:50px; min-width:150px; max-height:calc(100vh - 90px); overflow-y:auto; padding:6px; background:#e9e8cb; border:1px solid #172641; border-radius:9px; box-shadow:0 4px 16px #0003; }
.controls-right .language-options a { display:flex; justify-content:flex-start; width:100%; height:35px; min-height:35px; box-sizing:border-box; padding:5px 10px; margin:3px 0; font:400 16px/21px Arial,sans-serif; border:1px solid transparent; background:transparent; border-radius:6px; }
.controls-right .language-options a.active { font-weight:700; background:#d4d3ae; border:2px solid #172641; }
.controls-right .language-options a:hover { background:#dcdab5; }
html[data-theme="night"] .controls-right .language-picker > summary { border-color:#c5c8ce; }
html[data-theme="night"] .language-picker[open] > summary,html[data-theme="night"] .language-options { background:#262b2b; color:#eee9cd; }
html[data-theme="night"] .controls-right .language-options a { color:#eee9cd; }
html[data-theme="night"] .controls-right .language-options a.active { background:#424333; border-color:#e8d9a4; }
html[data-theme="night"] .controls-right .language-options a:hover { background:#414538; }
.language-picker summary:focus-visible,.language-options a:focus-visible { outline:3px solid #0087cb; outline-offset:3px; }
@media print { .controls-right { display:none!important; } }

/* Compact equal project controls and PDF/theme controls on the right. */
html[data-section="6"] .sheet .pl-primary-control {padding:6px 10px;}
html[data-section="6"] .sheet .pl-primary-label {height:60px;min-height:60px;font:700 18px/20px Arial,sans-serif;}
html[data-section="6"] .sheet .pl-primary-control input {height:32px;min-height:32px;padding-block:2px;font:700 20px/26px Arial,sans-serif;}
.controls-actions-right {position:fixed;right:12px;top:min(542px,calc(100dvh - 180px));z-index:999;display:flex;flex-direction:column;align-items:flex-end;gap:38px;pointer-events:none;background:transparent;}
.controls-actions-right .pdf-button {margin:0;}
.controls-actions-right .theme-tools {margin:0;gap:7px;}
.controls-actions-right button {box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:38px;height:38px;min-width:38px;padding:4px;border:2px solid #132748;border-radius:9px;background:transparent;color:#132748;font:700 17px/1.1 Arial,sans-serif;cursor:pointer;pointer-events:auto;touch-action:manipulation;}
.controls-actions-right .pdf-button,.controls-actions-right button[data-theme="day"] {width:54px;}
.controls-actions-right button * {pointer-events:none;cursor:inherit;}
.controls-actions-right button[aria-pressed="true"] {background:#eeeccf;border-width:3px;}
html[data-theme="night"] .controls-actions-right button {border-color:#c7cbd0;color:#e8ebed;}
html[data-theme="night"] .controls-actions-right button[aria-pressed="true"] {background:#344351;border-color:#e7ce8e;}
.controls-actions-right button:focus-visible {outline:3px solid #0087cb;outline-offset:3px;}
html[data-section="6"] .pl-profit-charts {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:14px;break-inside:avoid;}
.pl-profit-chart {margin:0;min-width:0;padding:10px;border:1px solid #6c705f;border-radius:9px;}
html[data-section="6"] .pl-profit-chart h3 {font:700 18px/22px Arial,sans-serif;margin:0 0 4px;}
.pl-profit-chart svg {display:block;width:100%;height:auto;color:inherit;overflow:visible;}
.pl-profit-chart svg text {font:14px Arial,sans-serif;fill:currentColor;}
.pl-profit-chart .chart-grid {stroke:currentColor;stroke-opacity:.18;stroke-width:1;}
.pl-profit-chart .chart-zero {stroke:currentColor;stroke-opacity:.75;stroke-width:1.5;stroke-dasharray:5 4;}
.pl-profit-chart .chart-line {stroke:#123955;stroke-width:3;fill:none;}
html[data-theme="night"] .pl-profit-chart {border-color:#89949b;}
html[data-theme="night"] .pl-profit-chart .chart-line {stroke:#f3d875;}
.pl-profit-chart .chart-positive {fill:#39854c;fill-opacity:.22;}
.pl-profit-chart .chart-negative {fill:#cf5946;fill-opacity:.22;}
html[data-section="6"] .pl-profit-charts .chart-note {grid-column:1/-1;font:13px/17px Arial,sans-serif;margin:0 8px;}
@media print {.controls-actions-right {display:none!important;}}

/* Full formulae: more calculation space, narrower parameter columns, clear insets. */
html[data-section="6"] .pl-output-table col:nth-child(1) {width:33%;}
html[data-section="6"] .pl-output-table col:nth-child(2) {width:18%;}
html[data-section="6"] .pl-output-table col:nth-child(3) {width:12%;}
html[data-section="6"] .pl-output-table col:nth-child(4) {width:37%;}
html[data-section="6"] .sheet .pl-output-table td:first-child {white-space:normal;overflow-wrap:normal;line-height:1.25;}
html[data-section="6"] .sheet .pl-output-table td.pl-formula {white-space:normal;overflow-wrap:normal;word-break:normal;hyphens:none;padding-inline:12px;line-height:1.25;text-align:left;}

/* S6 section headings: +20% height, +10% type; table 2 half a line higher. */
html[data-section="6"] .sheet .section.pg-style-0273 {font-size:18.7px;line-height:22.44px;box-sizing:border-box;}
html[data-section="6"] .sheet :is(.pl-market-heading,.pl-input-heading) {height:30px;min-height:30px;}
html[data-section="6"] .sheet .pl-results > div > .section {height:36px;min-height:36px;}
html[data-section="6"] .sheet .pl-input-heading {margin-top:30px;}
html[data-section="6"] .pl-table td:first-child {white-space:normal;line-height:1.2;}
.pl-symbol {font-size:.9em;font-weight:700;white-space:nowrap;}
html[data-section="6"] [data-pl-derived="share3"] {display:block;text-align:right;padding:0 8px;font:700 16px/23px Arial,sans-serif;}
html[data-section="6"] .pl-table input:read-only {background:transparent!important;border-color:transparent;cursor:default;}
/* Matching editable cells on S5 and S6. */
html[data-section="5"] .sheet table:has(:is(#heat,#routine)) td.editable {padding:1px 0!important;}
html[data-section="5"] .sheet table:has(:is(#heat,#routine)) td.editable input {display:block;box-sizing:border-box;width:calc(100% - 30px)!important;min-width:0;height:23px!important;margin:0 10px 0 20px!important;padding:0 8px!important;border:1px solid #a7a99b;border-radius:0;background:#fff8d9!important;color:#b61e14;font:700 16px/21px Arial,sans-serif!important;text-align:right;}
html[data-theme="night"][data-section="5"] .sheet table:has(:is(#heat,#routine)) td.editable input {background:#4a4733!important;color:#ffe08a;}
/* Three fixed controls, identical 54 × 38 boxes, double 7px spacing. */
.controls-right:has(.language-picker) {display:flex;flex-direction:column;align-items:stretch;gap:14px;width:54px;overflow:visible;background:transparent;}
.controls-right :is(.language-picker,.theme-picker) {position:relative;width:54px;margin:0;padding:0;}
.controls-right :is(.language-picker,.theme-picker) > summary,.controls-right > .pdf-button {display:flex;align-items:center;justify-content:center;gap:3px;box-sizing:border-box;width:54px;height:38px;min-width:54px;margin:0;padding:3px;border:2px solid #132748;border-radius:9px;background:transparent;color:#132748;font:700 16px/20px Arial,sans-serif;list-style:none;cursor:pointer;pointer-events:auto;}
.controls-right .theme-picker > summary::-webkit-details-marker {display:none;}
.controls-right :is(.language-picker,.theme-picker)[open] > summary {border-width:3px;background:#eeeccf;}
.controls-right .mode-day,.controls-right .mode-night {display:flex;align-items:center;justify-content:center;pointer-events:none;}
.controls-right .mode-day svg {width:31px;height:31px;}
.controls-right .mode-night svg {width:27px;height:27px;}
.controls-right .mode-night {display:none;}
html[data-theme="night"] .controls-right .mode-day {display:none;}
html[data-theme="night"] .controls-right .mode-night {display:flex;}
.controls-right .theme-options {position:absolute;right:0;top:46px;display:flex;flex-direction:column;gap:7px;width:160px;margin:0;padding:6px;box-sizing:border-box;border:1px solid #132748;border-radius:9px;background:#e9e8cb;box-shadow:0 4px 16px #0003;pointer-events:auto;}
.controls-right .theme-options button {display:block;width:100%;height:35px;box-sizing:border-box;padding:5px 10px;border:1px solid transparent;border-radius:6px;background:transparent;color:inherit;text-align:left;font:400 16px/21px Arial,sans-serif;cursor:pointer;pointer-events:auto;}
.controls-right .theme-options button[aria-pressed="true"] {font-weight:700;border:2px solid #132748;background:#d4d3ae;}
.controls-right .language-options {top:46px;z-index:2;}
.controls-right .theme-options {z-index:2;}
.controls-right summary *, .controls-right > .pdf-button * {pointer-events:none;}
html[data-theme="night"] .controls-right :is(.language-picker,.theme-picker) > summary,html[data-theme="night"] .controls-right > .pdf-button {border-color:#c7cbd0;color:#e8ebed;}
html[data-theme="night"] .controls-right :is(.language-picker,.theme-picker)[open] > summary {border-color:#e7ce8e;background:#344351;}
html[data-theme="night"] .controls-right .theme-options {background:#262b2b;color:#eee9cd;border-color:#c7cbd0;}
html[data-theme="night"] .controls-right .theme-options button[aria-pressed="true"] {background:#424333;border-color:#e7ce8e;}
html[data-section="3"] .payback-link a {display:inline-block;margin-block:4px;}

html[data-section="6"] .sheet :is(.pl-market-heading,.pl-input-heading) {height:40px;min-height:40px;}
html[data-section="6"] .sheet .pl-primary-label {column-gap:4px;}

/* Clear parameter names and case-insensitive unique symbols. */
.pl-symbol {font:inherit;font-weight:inherit;white-space:nowrap;}
.controls-right:has(.language-picker) {gap:28px;}
.controls-right .theme-picker > summary {padding:0 1px;gap:0;overflow:visible;}
.controls-right .mode-day {width:40px;height:36px;overflow:visible;flex:none;}
.controls-right .mode-day svg {width:40px;height:40px;flex:none;}
.controls-right .theme-picker > summary > span:last-child {width:8px;font-size:10px;flex:none;}

.pl-primary-caption {display:block;width:100%;}

/* S6: readable parameter descriptions, inset regular-weight symbols, chart end margin. */
html[data-section="6"] .pl-output-table col:nth-child(1) {width:40%;}
html[data-section="6"] .pl-output-table col:nth-child(4) {width:30%;}
html[data-section="6"] .pl-table td:first-child .pl-symbol {margin-inline-start:3ch;font-weight:400;}
html[data-section="6"] .pl-profit-charts {margin-bottom:48px;padding-bottom:0;}
html[data-section="6"] .pl-sheet {margin-bottom:48px;}
/* One centered day/night toggle, without a dropdown or arrow. */
.controls-right > .mode-toggle {display:grid;place-items:center;box-sizing:border-box;width:54px;height:38px;min-width:54px;margin:0;padding:0;border:2px solid #132748;border-radius:9px;background:transparent;color:#132748;cursor:pointer;pointer-events:auto;overflow:visible;}
.controls-right > .mode-toggle > span {grid-area:1/1;align-items:center;justify-content:center;width:100%;height:100%;pointer-events:none;}
.controls-right > .mode-toggle .mode-day svg {width:40px;height:40px;}
.controls-right > .mode-toggle .mode-night svg {width:29px;height:29px;}
html[data-theme="night"] .controls-right > .mode-toggle {border-color:#e7ce8e;border-width:3px;color:#e8ebed;background:transparent;}
.controls-right > .mode-toggle:focus-visible {outline:3px solid #0087cb;outline-offset:3px;}
#mail-progress {display:block;width:100%;height:12px;margin:10px 0 6px;accent-color:#286b88;}
#mail-progress[hidden] {display:none;}
#mail-progress[data-state="success"] {accent-color:#348348;}
#mail-progress[data-state="error"] {accent-color:#b93c2c;}
.visit-counter {font:inherit;margin:8px 0;}
.visit-counter output {font-weight:700;font-variant-numeric:tabular-nums;}

html[data-section="6"] .pl-table td:first-child .pl-symbol {margin-inline-start:0!important;font-weight:400!important;}

/* Consistent right edge for wrapped parameter descriptions, with a separate symbol. */
html[data-section="6"] .pl-param-block {display:flex;align-items:flex-end;justify-content:flex-end;}
html[data-section="6"] .pl-param-description {min-width:0;flex:0 1 auto;text-align:right;}
html[data-section="6"] .pl-param-block > .pl-symbol {flex:none;}
html[data-section="6"] .pl-payback-combined {position:relative;}
html[data-section="6"] .pl-payback-half {border:1px solid #6c705f;border-radius:12px;padding:8px 12px;}

html[data-section="2"] #panel-process .pg-style-0112 {top:2.2%;font-size:26.4px;line-height:1.15;}
html[data-section="2"] #panel-idea .pg-style-0093 {text-align:right;justify-content:flex-end;}
html[data-section="2"] #panel-idea .pg-style-0097 {left:24px;}

/* The left contact column must not be stretched by the expandable form. */
html[data-section="1"] .contact > .container {grid-template-rows:max-content minmax(0,1fr);align-items:start;}
html[data-section="2"] #panel-idea .pg-style-0093 {left:calc(210px - 7ch);}
html[data-section="2"] #panel-idea .pg-style-0100 {left:195px;right:auto;font-size:27.5px;line-height:1.15;}
html[data-section="2"] #panel-process .pg-style-0112 {top:1%;font-size:27.5px;line-height:1.15;}
html[data-section="4"] .scenario-model {border-collapse:collapse;table-layout:fixed;border:1px solid #6c705f;}
html[data-section="4"] .scenario-model :is(th,td) {border:1px solid #6c705f;}
html[data-section="4"][data-theme="night"] .scenario-model,
html[data-section="4"][data-theme="night"] .scenario-model :is(th,td) {border-color:#89949b;}
html[data-section="5"] .sheet .purchase-panel input {display:block;box-sizing:border-box;width:calc(100% - 30px);min-width:0;max-width:none;height:23px;min-height:23px;margin:6px 10px 0 20px;padding:0 8px;border:1px solid #a7a99b;border-radius:0;background:#fff8d9!important;color:#b61e14;font:700 16px/21px Arial,sans-serif;text-align:right;}
html[data-section="5"][data-theme="night"] .sheet .purchase-panel input {background:#4a4733!important;color:#ffe08a;}
html[data-section="5"] .sheet .purchase-panel .adopted-unit {display:inline-block;margin-inline-start:2ch;}
html[data-section="6"][data-theme="night"] .pl-payback-half {border-color:#89949b;}

/* Readable answers and one left edge for tariff dates, values and sources. */
html[data-section="4"] .answer {color:#202020;}
html[data-section="4"] .answer :is(p,.sentence,.s6-value) {color:inherit;}
html[data-section="4"][data-theme="night"] .answer {color:#e8ebed;}
html[data-section="4"] .s6-value {white-space:nowrap;cursor:help;}
html[data-section="6"] .sheet .pl-table input[readonly] {background:transparent!important;border-color:transparent;cursor:default;}
html[data-section="6"] .pl-market-cell {text-align:left;justify-items:start;align-items:start;}
html[data-section="6"] .pl-market-cell > b {display:flex;position:relative;align-items:baseline;justify-content:flex-start;padding:0;padding-inline-start:var(--quote-arrow-space);text-align:left;}
html[data-section="6"] .pl-market-cell :is(.quote-date-line,.pl-quote-label,.quote-source) {text-align:left;justify-self:start;padding-inline-start:var(--quote-arrow-space);}

/* Linked financial figures stay distinguishable in both themes. */
html[data-section="4"] .answer .s6-value,html[data-section="4"] .s6-value,html[data-section="4"] .s6-market-date {color:#075bb1;}
html[data-section="4"][data-theme="night"] .answer .s6-value,html[data-section="4"][data-theme="night"] .s6-value,html[data-section="4"][data-theme="night"] .s6-market-date {color:#8bc9ff;}
/* A full pixel of inset paint survives fractional zoom in Firefox. */
html[data-section="4"] .scenario-model {border-collapse:separate;border-spacing:0;border:1.5px solid #5c6353;}
html[data-section="4"] .scenario-model :is(th,td) {border:0!important;box-shadow:inset -1.5px 0 #5c6353,inset 0 -1.5px #5c6353;}
html[data-section="4"][data-theme="night"] .scenario-model :is(th,td) {box-shadow:inset -1.5px 0 #a5b0b8,inset 0 -1.5px #a5b0b8;}
html[data-section="5"] .de-financing-chart {margin:12px 0 0;padding:9px 10px;border:1px solid #6c705f;border-radius:10px;break-inside:avoid;}
html[data-section="5"] .de-financing-chart h3 {font:700 17px/21px Arial,sans-serif;margin:0 0 7px;}
html[data-section="5"] .de-financing-chart svg {display:block;width:100%;height:auto;overflow:visible;}
html[data-section="5"] .de-financing-chart svg text {fill:currentColor;font:400 15px Arial,sans-serif;}
html[data-section="5"] .de-financing-legend {display:flex;flex-wrap:wrap;gap:8px 16px;font:400 14px/18px Arial,sans-serif;}
html[data-section="5"] .de-financing-legend span {display:flex;align-items:center;gap:6px;}
html[data-section="5"] .de-financing-legend i {display:inline-block;width:13px;height:13px;}
html[data-section="5"][data-theme="night"] .de-financing-chart {border-color:#89949b;}
