.standard-page__body {
  padding-block: clamp(3rem, 7vw, 7rem);
  background-color: var(--color-surface-default);
}

.standard-page__layout {
  display: grid;
  max-width: var(--layout-content-max-width, 82rem);
  padding-inline: clamp(1rem, 6vw, 7rem);
  margin-inline: auto;
  gap: 3rem;
}

@media (min-width: 900px) {
  .standard-page.is-with-sidebar .standard-page__layout {
    grid-template-columns: minmax(14rem, 18rem) minmax(0, 43rem);
    align-items: start;
    justify-content: space-between;
    gap: clamp(3rem, 6vw, 6rem);
  }
}

.standard-page__sidebar {
  min-width: 0;
}

@media (min-width: 900px) and (min-height: 800px) {
  .standard-page__sidebar {
    position: sticky;
    top: 9.5rem;
    max-height: calc(100dvh - 11rem);
    overflow-y: auto;
    scrollbar-gutter: stable;
  }
}

.standard-page__sidebar-inner {
  padding: 1.5rem;
  border-top: 3px solid var(--color-brand-secondary);
  background-color: var(--color-surface-subtle);
}

@media (min-width: 900px) {
  .standard-page__sidebar.is-contents {
    position: sticky;
    top: 9.5rem;
    max-height: none;
    overflow: visible;
    scrollbar-gutter: auto;
  }
}

.standard-page__sidebar-title,
.standard-page__documents h3 {
  margin: 0;
  color: var(--color-text-heading);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.standard-page__metadata {
  display: grid;
  margin: 1.5rem 0 0;
  gap: 1.5rem;
}

.standard-page__fact {
  min-width: 0;
  font-size: 16px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.standard-page__fact dt {
  color: var(--color-text-default);
  font-weight: 600;
}

.standard-page__fact dd {
  margin: 0.375rem 0 0;
  color: var(--color-text-muted);
  font-variant-numeric: tabular-nums;
}

.standard-page__fact p,
.standard-page__documents p {
  margin: 0.5rem 0 0;
}

.standard-page__documents {
  margin-top: 2rem;
}

.standard-page__documents ul {
  display: grid;
  padding: 0;
  margin: 1rem 0 0;
  gap: 1.25rem;
  list-style: none;
  overflow-wrap: anywhere;
}

.standard-page__documents li {
  color: var(--color-text-muted);
  font-size: 16px;
  line-height: 1.5;
}

.standard-page__content {
  min-width: 0;
  max-width: 75ch;
}

.standard-page__prose {
  color: var(--color-text-default);
  font-size: 18px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.standard-page__prose p {
  margin: 0 0 1.5rem;
  text-wrap: pretty;
}

.standard-page__source-anchor {
  scroll-margin-top: 10rem;
}

.standard-page__prose h2,
.standard-page__prose h3,
.standard-page__prose h4,
.standard-page__prose h5,
.standard-page__prose h6 {
  margin: 2.5rem 0 1rem;
  color: var(--color-text-heading);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.3;
  text-wrap: pretty;
  scroll-margin-top: 10rem;
}

.standard-page__prose h2 {
  font-size: 28px;
}

.standard-page__prose h3,
.standard-page__prose h4,
.standard-page__prose h5,
.standard-page__prose h6 {
  font-size: 22px;
}

/* QUESTION DISCLOSURES */
/* Question headings open as native disclosures on the pages that ask for it (DL-3343). */
.standard-page__question {
  border-top: 1px solid var(--color-border-default);
}

.standard-page__question + :not(.standard-page__question) {
  margin-top: 2.5rem;
}

.standard-page__question-summary {
  display: grid;
  align-items: center;
  padding: 1rem 0;
  color: var(--color-text-heading);
  cursor: pointer;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) 2.25rem;
  list-style: none;
}

.standard-page__question-summary::-webkit-details-marker {
  display: none;
}

.standard-page__question-summary:hover {
  color: var(--color-interactive-hover);
}

.standard-page__question-summary:focus-visible {
  border-radius: 0.5rem;
  outline: 3px solid var(--color-focus-ring);
  outline-offset: 3px;
}

.standard-page__prose .standard-page__question-summary h3 {
  margin: 0;
  color: inherit;
  font-size: 20px;
}

.standard-page__question-indicator {
  position: relative;
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--color-border-interactive);
  border-radius: 50%;
  background-color: var(--color-surface-interactive);
  color: var(--color-interactive);
  place-items: center;
}

.standard-page__question-indicator::before,
.standard-page__question-indicator::after {
  position: absolute;
  width: 0.875rem;
  height: 2px;
  background-color: currentcolor;
  content: "";
}

.standard-page__question-indicator::after {
  transform: rotate(90deg);
}

.standard-page__question[open] .standard-page__question-indicator::after {
  transform: rotate(0deg);
}

.standard-page__question-answer {
  padding-bottom: 1.5rem;
}

.standard-page__question-answer > :last-child {
  margin-bottom: 0;
}

.standard-page__prose > :first-child {
  margin-top: 0;
}

.standard-page__prose > :last-child {
  margin-bottom: 0;
}

.standard-page__prose ul,
.standard-page__prose ol {
  padding-left: 1.5rem;
  margin: 1rem 0 1.5rem;
}

.standard-page__prose li + li {
  margin-top: 0.5rem;
}

.standard-page__prose blockquote {
  padding-left: 1.5rem;
  margin: 2rem 0;
  border-left: 3px solid var(--color-brand-secondary);
  color: var(--color-text-muted);
}

.standard-page__prose figure {
  max-width: 100%;
  margin: 2rem 0;
}

.standard-page__prose img {
  max-width: 100%;
  height: auto;
}

.standard-page__prose > :first-child[id] {
  scroll-margin-top: 10rem;
}

.standard-page__profiles {
  display: grid;
  margin-block: 2rem;
  gap: 2rem;
}

@media (min-width: 600px) {
  .standard-page__profiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.standard-page__profiles figure {
  min-width: 0;
  margin: 0;
}

.standard-page__profiles figcaption {
  margin-top: 1rem;
  font-size: 16px;
}

.standard-page__profiles p {
  margin-bottom: 0.5rem;
}

/* Transparent legacy diagrams retain their intended light canvas in both themes. */
.standard-page__prose img[src*="/uploads/images/customer-guides-2026-09-09/"] {
  background: var(--color-surface-fixed-light);
}

.standard-page__source-diagram {
  background-color: var(--color-surface-fixed-light);
}

.standard-page__prose .standard-page__source-cover {
  display: block;
  width: min(100%, 20rem);
  height: auto;
  margin-block: 1.5rem;
}

.standard-page__prose .standard-page__source-listing {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
  padding: 0;
  margin-block: 1.5rem 3rem;
  gap: 2rem;
  list-style: none;
}

.standard-page__source-card {
  min-width: 0;
  padding-block-start: 1.5rem;
  border-top: 1px solid var(--color-border-default);
}

.standard-page__source-listing .standard-page__source-card + .standard-page__source-card {
  margin-top: 0;
}

.standard-page__prose .standard-page__source-card-title {
  margin-block: 0.75rem;
  color: var(--color-text-heading);
  line-height: 1.4;
}

.standard-page__source-card img {
  display: block;
  max-width: 100%;
  height: auto;
}

.standard-page__source-photo {
  display: block;
  overflow: hidden;
  aspect-ratio: var(--source-photo-mobile-ratio, 16 / 9);
}

@media (min-width: 900px) {
  .standard-page__source-photo {
    aspect-ratio: 16 / 9;
  }
}

.standard-page__source-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.standard-page__prose figcaption {
  margin-top: 0.75rem;
  color: var(--color-text-muted);
  font-size: 16px;
}

.standard-page__prose table:not(.info-table__table) {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  margin: 2rem 0;
  border-collapse: collapse;
  font-size: 16px;
}

.standard-page__prose table:not(.info-table__table) th,
.standard-page__prose table:not(.info-table__table) td {
  padding: 0.875rem;
  border-bottom: 1px solid var(--color-border-default);
  text-align: left;
  vertical-align: top;
}

.standard-page__prose table:not(.info-table__table) th {
  color: var(--color-text-heading);
  font-weight: 600;
}

.standard-page__table-scroll {
  max-width: 100%;
  overflow-x: auto;
  margin: 2rem 0;
}

.standard-page__table-scroll:focus-visible {
  outline: 2px solid var(--color-interactive);
  outline-offset: 3px;
}

.standard-page__prose table.standard-page__table {
  display: table;
  min-width: 36rem;
  margin: 0;
}

.standard-page__investor-table th,
.standard-page__investor-table td {
  overflow-wrap: normal;
  word-break: normal;
}

.standard-page__investor-table .standard-page__source-number,
.standard-page__investor-table .standard-page__download {
  white-space: nowrap;
}

.standard-page__prose table.standard-page__source-table {
  min-width: 0;
}

.standard-page__source-table th[scope="row"] {
  width: 40%;
  padding-inline-start: 0;
}

/* Original service/payment matrices remain readable inside keyboard-scroll regions. */
.standard-page__prose table.standard-page__source-matrix {
  min-width: 56rem;
}

.standard-page__source-matrix th[scope="row"] {
  width: auto;
  padding-inline-start: 0.875rem;
}

.standard-page__prose table.standard-page__source-vacancies {
  min-width: 34rem;
}

.standard-page__source-vacancies th[scope="row"] {
  width: auto;
  padding-inline-start: 0.875rem;
}

.standard-page__prose img[id^="residential-how-to-read-bill-2022-source-image-"] {
  display: block;
  width: min(100%, 35rem);
  height: auto;
  margin-block: 1.5rem;
}

.standard-page__source-matrix th {
  min-width: 8rem;
  overflow-wrap: normal;
  word-break: normal;
}

.standard-page__source-matrix td {
  min-width: 10rem;
  overflow-wrap: normal;
  word-break: normal;
}

.standard-page__prose table.standard-page__source-computation {
  min-width: 0;
}

.standard-page__source-computation th[scope="row"] {
  width: 68%;
  min-width: 0;
}

.standard-page__source-computation td {
  min-width: 0;
}

.standard-page__source-library th[scope="row"] {
  width: 70%;
}

.standard-page__source-library td {
  padding-inline-end: 0;
}

.standard-page__source-notes th[scope="row"] {
  width: 2ch;
}

.standard-page__prose pre {
  max-width: 100%;
  overflow-x: auto;
  padding: 1rem;
  background-color: var(--color-surface-subtle);
  font-size: 16px;
}

.standard-page__prose code {
  overflow-wrap: anywhere;
}

.standard-page__prose a,
.standard-page__sidebar-inner a {
  color: var(--color-interactive);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.standard-page__download {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding-block: 0.5rem;
}

.standard-page__prose a:hover,
.standard-page__sidebar-inner a:hover {
  color: var(--color-interactive-hover);
}

.standard-page__sidebar a,
.standard-page__sidebar summary {
  scroll-margin-block: 10rem;
}

.standard-page__prose a:focus-visible,
.standard-page__sidebar-inner a:focus-visible {
  outline: 3px solid var(--color-interactive);
  outline-offset: 4px;
}

/* The customer-guide composition uses the same rail as Prepaid Electricity. */
.standard-page.is-guide .standard-page__layout {
  width: min(100% - 2.5rem, var(--layout-content-max-width));
  padding-inline: 0;
}

@media (min-width: 900px) {
  .standard-page.is-guide .standard-page__layout {
    width: min(100% - 8rem, var(--layout-content-max-width));
    grid-template-columns: 12.5rem minmax(0, 1fr);
    gap: clamp(2rem, 4vw, 4rem);
  }
}

.standard-page.is-guide .standard-page__body {
  padding-block: 2rem clamp(4rem, 6vw, 6rem);
  background: var(--color-surface-subtle);
}

@media (min-width: 900px) {
  .standard-page.is-guide .standard-page__body {
    padding-top: 4rem;
  }
}

.standard-page.is-guide .standard-page__sidebar.is-contents {
  top: 10rem;
}

/* Article navigation follows the Cookie Policy rail without changing the hero. */
.standard-page.is-article .standard-page__layout {
  width: min(calc(100% - 2 * var(--layout-page-gutter)), var(--layout-content-max-width));
  padding-inline: 0;
  gap: 2rem;
}

@media (min-width: 900px) {
  .standard-page.is-article .standard-page__layout {
    grid-template-columns: 12.5rem minmax(0, 1fr);
    gap: clamp(2rem, 4vw, 4rem);
  }
}

.standard-page.is-article .standard-page__sidebar.is-contents {
  top: 10rem;
}

/* Original numbered text already supplies each ordered-list marker. */
.standard-page__prose ol.standard-page__source-numbered-list {
  padding-left: 0;
  list-style: none;
}
