/* Shared card and action alignment refinements */
:root {
  --layout-card-gap: 16px;
  --layout-card-padding: 20px;
  --layout-card-radius: 16px;
  --layout-action-gap: 10px;
  --layout-button-height: 42px;
}

/* Keep the compact footer below the initial viewport but available at page end. */
html body[class] > main:first-of-type {
  min-height: calc(100vh - 58px + 24px) !important;
  min-height: calc(100svh - 58px + 24px) !important;
}

.site-footer {
  display: block !important;
  margin-top: 0 !important;
  padding: 12px 0 !important;
}

.site-footer .footer-wrap {
  align-items: center;
  min-height: 24px;
}

.site-footer .footer-wrap p {
  margin: 0;
}

/* Keep cards in the same grid row equal in height and evenly spaced. */
.page-services .cards,
.page-markets .market-structure-grid,
.page-texas .texas-review-grid,
.page-commercial-support .ci-path-grid,
.page-aps-rates .rate-family-grid,
.page-aps .aps-question-grid,
.page-aps .aps-start-grid,
.page-example .polished-metrics {
  gap: var(--layout-card-gap) !important;
  align-items: stretch !important;
}

.page-services .cards > .card,
.page-markets .market-structure-card,
.page-texas .texas-review-card,
.page-commercial-support .ci-path-card,
.page-aps-rates .rate-family-card,
.page-aps .aps-start-grid > .card,
.page-example .polished-metrics > .metric {
  box-sizing: border-box;
  height: 100% !important;
  align-self: stretch !important;
  padding: var(--layout-card-padding) !important;
  border-radius: var(--layout-card-radius) !important;
}

.page-services .cards > .card,
.page-markets .market-structure-card,
.page-texas .texas-review-card,
.page-commercial-support .ci-path-card,
.page-aps-rates .rate-family-card,
.page-aps .aps-start-grid > .card {
  display: flex;
  flex-direction: column;
}

/* Compact question cards use a consistent smaller inset. */
.page-aps .aps-question-grid > .card {
  box-sizing: border-box;
  height: 100% !important;
  align-self: stretch !important;
  padding: 16px 18px 16px 22px !important;
  border-radius: 14px !important;
}

/* Keep card-level links and next-step actions on a common lower edge. */
.page-markets .market-structure-card .text-link,
.page-commercial-support .ci-path-card .text-link {
  margin-top: auto !important;
  padding-top: 16px;
}

.page-texas .texas-review-card .compact-list {
  margin-top: auto !important;
  padding-top: 12px;
}

.page-aps .aps-start-grid .card-note,
.page-aps .aps-start-grid .aps-cta-card .button {
  margin-top: auto !important;
}

.page-aps .aps-start-grid .card-note {
  padding-top: 14px;
}

/* Preserve the example-card hierarchy while standardizing its outer rhythm. */
.page-example .commercial-example-stack {
  gap: var(--layout-card-gap) !important;
}

.page-example .commercial-example-card {
  padding: var(--layout-card-padding) !important;
  border-radius: var(--layout-card-radius) !important;
}

/* Standard action height and alignment outside the compact homepage cards. */
body:not(.page-home) .button {
  box-sizing: border-box;
  min-height: var(--layout-button-height) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
}

.page-aps .aps-dual-cta,
.page-aps-rates .rate-action-row,
.page-texas .texas-review-actions,
.page-example .standalone-example-actions,
.page-commercial-support .ci-review-action {
  gap: var(--layout-action-gap) !important;
  align-items: center !important;
}

.page-aps .aps-dual-cta .button,
.page-aps-rates .rate-action-row .button {
  margin: 0 !important;
}

/* Reinforce equal homepage card heights without changing its compact spacing. */
.page-home .home-how-grid,
.page-home .home-paths {
  align-items: stretch !important;
}

.page-home .home-how-step,
.page-home .home-path {
  height: 100% !important;
}

.page-home .home-path {
  min-height: 0 !important;
  padding: 13px 16px !important;
}

.page-home .home-path-kicker {
  margin-bottom: 5px !important;
}

.page-home .home-path h2 {
  margin-bottom: 9px !important;
}

.page-home .home-path-actions {
  margin-top: auto !important;
  gap: 6px !important;
}

.page-home .home-path-actions-commercial {
  grid-template-columns: 1fr !important;
}

.page-home .home-path-actions .market-button {
  min-height: 33px !important;
}

/* Compact the Commercial & Industrial overview without flattening its hierarchy. */
.page-commercial-support .ci-path-grid {
  gap: 10px !important;
}

.page-commercial-support .ci-path-card {
  padding: 14px 18px !important;
  border-radius: 14px !important;
}

.page-commercial-support .ci-path-card .execution-label {
  margin: 0 0 3px !important;
}

.page-commercial-support .ci-path-card h2 {
  margin: 0 0 5px !important;
  font-size: 1.24rem !important;
  line-height: 1.24 !important;
}

.page-commercial-support .ci-path-card > p:not(.execution-label) {
  margin: 0 !important;
  font-size: .94rem !important;
  line-height: 1.38 !important;
}

.page-commercial-support .ci-path-card .text-link {
  padding-top: 8px !important;
}

.page-commercial-support .ci-review-action {
  margin-top: 0 !important;
}

.page-commercial-support .ci-review-action .button {
  min-height: 38px !important;
}

.page-request .request-privacy-note {
  max-width: 760px;
  margin: 9px 0 0 !important;
  padding: 9px 11px;
  border-left: 3px solid #8da9c3;
  border-radius: 0 8px 8px 0;
  background: #f4f8fb;
  color: #53657a;
  font-size: .84rem;
  line-height: 1.45;
}

/* Modest APS overview compaction; table text remains comfortably readable. */
body.page-aps:not(.page-aps-rates):not(.page-example) main > .standard-page-opening {
  padding-top: 18px !important;
  padding-bottom: 16px !important;
}

body.page-aps:not(.page-aps-rates):not(.page-example) .matched-service-heading {
  margin-bottom: 10px !important;
}

body.page-aps:not(.page-aps-rates):not(.page-example) .aps-comparison-wrap {
  margin-top: 10px !important;
}

body.page-aps:not(.page-aps-rates):not(.page-example) .aps-comparison-table th,
body.page-aps:not(.page-aps-rates):not(.page-example) .aps-comparison-table td {
  padding-top: 9px !important;
  padding-bottom: 9px !important;
}

body.page-aps:not(.page-aps-rates):not(.page-example) .aps-answers-section {
  padding-top: 16px !important;
  padding-bottom: 18px !important;
}

body.page-aps:not(.page-aps-rates):not(.page-example) .aps-question-grid {
  gap: 10px !important;
  margin-top: 10px !important;
}

body.page-aps:not(.page-aps-rates):not(.page-example) .aps-question-grid > .card {
  padding: 13px 16px 13px 20px !important;
}

body.page-aps:not(.page-aps-rates):not(.page-example) .aps-example-cta {
  margin-top: 12px !important;
}

body.page-aps:not(.page-aps-rates):not(.page-example) .aps-example-cta .button {
  min-height: 44px !important;
  padding-left: 18px !important;
  padding-right: 18px !important;
}

body.page-aps:not(.page-aps-rates):not(.page-example) .aps-start-section {
  padding-top: 16px !important;
  padding-bottom: 18px !important;
}

body.page-aps:not(.page-aps-rates):not(.page-example) .aps-start-grid {
  gap: 12px !important;
}

body.page-aps:not(.page-aps-rates):not(.page-example) .aps-start-grid > .card {
  padding: 15px 18px !important;
}

body.page-aps:not(.page-aps-rates):not(.page-example) .aps-start-grid .check-list {
  margin-top: 10px !important;
}

body.page-aps:not(.page-aps-rates):not(.page-example) .aps-start-grid .check-list li {
  padding-top: 4px !important;
  padding-bottom: 4px !important;
}

body.page-aps:not(.page-aps-rates):not(.page-example) .aps-page-disclaimer {
  margin-top: 12px !important;
}

/* Keep the Texas/ERCOT overview and its action visible on standard laptop screens. */
.page-texas .texas-unified-section {
  min-height: auto !important;
  padding-bottom: 18px !important;
}

.page-texas .texas-card-action {
  align-self: stretch;
  width: 100%;
  min-height: 36px !important;
  margin-top: 11px;
  padding: 0 13px;
  font-size: .82rem;
  white-space: nowrap;
}

@media (min-width: 901px) {
  .page-texas .texas-unified-section {
    padding-top: 10px !important;
    padding-bottom: 12px !important;
  }

  .page-texas .texas-unified-section .page-opening-copy {
    margin-bottom: 8px !important;
  }

  .page-texas .texas-review-grid {
    gap: 10px !important;
    margin-top: 8px !important;
    margin-bottom: 8px !important;
  }

  .page-texas .texas-review-card {
    padding: 13px 15px !important;
    border-radius: 14px !important;
  }

  .page-texas .texas-review-card .step-label {
    margin-bottom: 3px !important;
  }

  .page-texas .texas-review-card h2 {
    margin: 1px 0 5px !important;
    font-size: 1.14rem !important;
    line-height: 1.22 !important;
  }

  .page-texas .texas-review-card > p:not(.step-label) {
    margin-bottom: 5px !important;
    font-size: .93rem !important;
    line-height: 1.34 !important;
  }

  .page-texas .texas-review-card .compact-list {
    margin-top: auto !important;
    padding-top: 5px !important;
  }

  .page-texas .texas-review-card .compact-list li {
    padding-top: 1px !important;
    padding-bottom: 1px !important;
    font-size: .9rem !important;
    line-height: 1.28 !important;
  }

  .page-texas .texas-review-actions {
    margin-top: 8px !important;
  }

  .page-texas .texas-review-actions .button {
    min-height: 38px !important;
  }
}

@media (min-width: 761px) and (max-width: 1180px) {
  .page-home .home-paths {
    grid-template-columns: 1fr !important;
    max-width: 900px !important;
  }

  .page-home .home-path {
    height: auto !important;
  }

  .page-home .home-path-actions-aps {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .page-home .market-button-aps-examples {
    grid-column: auto !important;
  }

  .page-home .home-path-actions-commercial {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 700px) {
  :root {
    --layout-card-gap: 12px;
    --layout-card-padding: 17px;
    --layout-button-height: 44px;
  }

  .page-aps .aps-question-grid > .card {
    padding: 15px 17px 15px 21px !important;
  }

  .page-home .home-path {
    padding: 12px 14px !important;
  }

  .page-aps .aps-dual-cta,
  .page-aps-rates .rate-action-row,
  .page-texas .texas-review-actions,
  .page-example .standalone-example-actions,
  .page-commercial-support .ci-review-action {
    align-items: stretch !important;
  }

  .page-aps .aps-dual-cta .button,
  .page-aps-rates .rate-action-row .button,
  .page-texas .texas-review-actions .button,
  .page-example .standalone-example-actions .button,
  .page-commercial-support .ci-review-action .button {
    width: 100%;
  }
}

/* Keep the shorter APS Rates introduction compact and close to its content. */
body.page-aps-rates main > .standard-page-opening {
  padding-top: 16px !important;
  padding-bottom: 8px !important;
}

body.page-aps-rates .standard-page-opening .page-opening-copy {
  margin-bottom: 0 !important;
}

body.page-aps-rates main > .standard-page-opening + .aps-rate-overview {
  padding-top: 10px !important;
}

@media (max-width: 900px) {
  body.page-aps-rates main > .standard-page-opening {
    padding-top: 14px !important;
    padding-bottom: 7px !important;
  }

  body.page-aps-rates main > .standard-page-opening + .aps-rate-overview {
    padding-top: 8px !important;
  }
}

/* Texas regulatory outlook table */
.page-texas .texas-policy-section {
  scroll-margin-top: 70px;
  padding: 28px 0 58px !important;
  background:
    radial-gradient(circle at 92% 8%, rgba(37, 99, 235, .08), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%);
  border-top: 1px solid var(--line);
}

.page-texas .texas-policy-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 22px;
}

.page-texas .texas-policy-heading > div {
  max-width: 850px;
}

.page-texas .texas-policy-heading .eyebrow {
  margin-bottom: 8px;
}

.page-texas .texas-policy-heading h2 {
  max-width: 880px;
  margin-bottom: 10px !important;
  font-size: clamp(1.85rem, 3vw, 2.7rem);
}

.page-texas .policy-status {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-top: 2px;
  padding: 6px 12px;
  border: 1px solid #f2c56b;
  border-radius: 999px;
  background: #fff8e8;
  color: #7a4b00;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .025em;
  white-space: nowrap;
}

.page-texas .texas-policy-card {
  overflow: hidden;
  border: 1px solid #d7e0ec;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 18px 46px rgba(15, 39, 66, .08);
}

.page-texas .texas-policy-table-wrap {
  overflow-x: auto;
  outline: none;
}

.page-texas .texas-policy-table-wrap:focus-visible {
  box-shadow: inset 0 0 0 3px rgba(37, 99, 235, .28);
}

.page-texas .texas-policy-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: .94rem;
  line-height: 1.48;
}

.page-texas .texas-policy-table th,
.page-texas .texas-policy-table td {
  padding: 17px 19px;
  vertical-align: top;
  text-align: left;
  border-bottom: 1px solid #e4eaf2;
}

.page-texas .texas-policy-table thead th {
  padding-top: 14px;
  padding-bottom: 14px;
  background: #0e2742;
  color: #ffffff;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.page-texas .texas-policy-table thead th:nth-child(1) { width: 25%; }
.page-texas .texas-policy-table thead th:nth-child(2) { width: 52%; }
.page-texas .texas-policy-table thead th:nth-child(3) { width: 23%; }

.page-texas .texas-policy-table tbody th {
  color: #132b47;
  font-size: .95rem;
  font-weight: 800;
  line-height: 1.38;
}

.page-texas .texas-policy-table tbody td {
  color: #45566a;
}

.page-texas .texas-policy-table tbody tr:nth-child(even) {
  background: #f8fbff;
}

.page-texas .texas-policy-table tbody tr:last-child th,
.page-texas .texas-policy-table tbody tr:last-child td {
  border-bottom: 0;
}

.page-texas .citation-link {
  color: #1d4ed8;
  font-size: .82em;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.page-texas .citation-link:hover,
.page-texas .citation-link:focus-visible {
  text-decoration: underline;
}

.page-texas .timing-label {
  display: block;
  width: fit-content;
  margin-bottom: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #eaf1ff;
  color: #1e4ea5;
  font-size: .78rem;
  font-weight: 800;
  line-height: 1.45;
}

.page-texas .timing-label-secondary {
  margin-top: 10px;
}

.page-texas .timing-label-live {
  background: #e8f7f2;
  color: #0f685f;
}

.page-texas .texas-policy-table td small {
  display: block;
  color: #68778a;
  font-size: .8rem;
  line-height: 1.4;
}

.page-texas .texas-policy-notes {
  padding: 18px 20px 20px;
  border-top: 1px solid #dfe5ee;
  background: #f8fafc;
}

.page-texas .texas-policy-notes > p {
  margin: 0;
  color: #53657a;
  font-size: .85rem;
  line-height: 1.5;
}

.page-texas .texas-source-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 28px;
  margin: 13px 0 0;
  padding-left: 21px;
  color: #5d6c7d;
  font-size: .8rem;
  line-height: 1.45;
}

.page-texas .texas-source-list li {
  padding-left: 3px;
}

.page-texas .texas-source-list a {
  color: #315b91;
  text-decoration-color: rgba(49, 91, 145, .36);
  text-underline-offset: 2px;
}

.page-texas .texas-source-list a:hover,
.page-texas .texas-source-list a:focus-visible {
  color: #1d4ed8;
}

@media (max-width: 760px) {
  .page-texas .texas-policy-section {
    padding: 24px 0 44px !important;
  }

  .page-texas .texas-policy-heading {
    display: block;
    margin-bottom: 17px;
  }

  .page-texas .texas-policy-heading h2 {
    font-size: 1.72rem;
  }

  .page-texas .policy-status {
    margin-top: 14px;
  }

  .page-texas .texas-policy-card {
    border-radius: 14px;
  }

  .page-texas .texas-policy-table {
    min-width: 0;
  }

  .page-texas .texas-policy-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }

  .page-texas .texas-policy-table,
  .page-texas .texas-policy-table tbody,
  .page-texas .texas-policy-table tr,
  .page-texas .texas-policy-table th,
  .page-texas .texas-policy-table td {
    display: block;
    width: 100%;
  }

  .page-texas .texas-policy-table tbody tr {
    padding: 16px;
    border-bottom: 1px solid #dfe5ee;
  }

  .page-texas .texas-policy-table tbody tr:last-child {
    border-bottom: 0;
  }

  .page-texas .texas-policy-table tbody th,
  .page-texas .texas-policy-table tbody td {
    padding: 0;
    border: 0;
  }

  .page-texas .texas-policy-table tbody th {
    margin-bottom: 12px;
    font-size: 1rem;
  }

  .page-texas .texas-policy-table tbody td:nth-child(2) {
    margin-bottom: 14px;
  }

  .page-texas .texas-policy-table tbody td::before {
    display: block;
    margin-bottom: 4px;
    color: #718096;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .055em;
    text-transform: uppercase;
  }

  .page-texas .texas-policy-table tbody td:nth-child(2)::before {
    content: "Latest outlook";
  }

  .page-texas .texas-policy-table tbody td:nth-child(3)::before {
    content: "Target";
  }

  .page-texas .texas-policy-notes {
    padding: 16px;
  }

  .page-texas .texas-source-list {
    grid-template-columns: 1fr;
    gap: 7px;
  }
}

/* v269: compact two-column APS rate-case hierarchy. */
.page-aps-rates .aps-regulatory-section {
  padding-top: 14px !important;
}

.page-aps-rates .aps-regulatory-heading {
  margin-bottom: 11px !important;
}

.page-aps-rates .aps-regulatory-table {
  min-width: 720px;
}

.page-aps-rates .aps-regulatory-table thead th:nth-child(1) {
  width: 26%;
}

.page-aps-rates .aps-regulatory-table thead th:nth-child(2) {
  width: 74%;
}

.page-aps-rates .aps-regulatory-table th,
.page-aps-rates .aps-regulatory-table td {
  padding: 9px 13px;
}

.page-aps-rates .aps-regulatory-parent-row td > p {
  margin: 0;
}

.page-aps-rates .aps-ratecase-milestones {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 8px 0 0;
}

.page-aps-rates .aps-ratecase-milestones > div {
  padding: 6px 8px;
  border: 1px solid #d8e3ee;
  border-radius: 8px;
  background: #f5f8fb;
}

.page-aps-rates .aps-ratecase-milestones dt {
  margin: 0 0 1px;
  color: #65758a;
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .035em;
  line-height: 1.25;
  text-transform: uppercase;
}

.page-aps-rates .aps-ratecase-milestones dd {
  margin: 0;
  color: #174c73;
  font-size: .79rem;
  font-weight: 800;
  line-height: 1.28;
}

.page-aps-rates .aps-regulatory-group-row th {
  padding: 7px 13px;
  border-bottom-color: #d8e3ec;
  background: #e8f0f6;
  color: #31536f;
  font-size: .71rem;
  letter-spacing: .055em;
  line-height: 1.25;
  text-transform: uppercase;
}

.page-aps-rates .aps-regulatory-subrow > th {
  position: relative;
  padding-left: 27px;
  background: #f7f9fb;
}

.page-aps-rates .aps-regulatory-subrow > th::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5f829e;
  transform: translateY(-50%);
}

.page-aps-rates .aps-regulatory-notes {
  padding-top: 11px;
  padding-bottom: 13px;
}

@media (max-width: 760px) {
  .page-aps-rates .aps-regulatory-section {
    padding-top: 12px !important;
  }

  .page-aps-rates .aps-regulatory-table {
    min-width: 0;
  }

  .page-aps-rates .aps-regulatory-table tbody tr {
    padding: 10px 12px;
  }

  .page-aps-rates .aps-regulatory-group-row {
    padding: 0 !important;
  }

  .page-aps-rates .aps-regulatory-group-row th {
    margin: 0 !important;
    padding: 7px 12px !important;
  }

  .page-aps-rates .aps-regulatory-subrow > th {
    padding-left: 15px !important;
  }

  .page-aps-rates .aps-regulatory-subrow > th::before {
    left: 0;
  }

  .page-aps-rates .aps-regulatory-table tbody td:nth-child(2) {
    margin-bottom: 0;
  }

  .page-aps-rates .aps-ratecase-milestones {
    grid-template-columns: 1fr;
    gap: 4px;
    margin-top: 7px;
  }

  .page-aps-rates .aps-ratecase-milestones > div {
    padding: 5px 7px;
  }
}

/* v267: align the APS primary actions and tighten the two market cards. */
@media (min-width: 761px) {
  .page-home .market-button-aps-examples {
    grid-column: auto !important;
  }
}

.page-home .home-path {
  padding-top: 9px !important;
  padding-bottom: 9px !important;
}

.page-home .home-path-kicker {
  margin-bottom: 3px !important;
}

.page-home .home-path h2 {
  margin-bottom: 5px !important;
}

.page-home .home-path-actions {
  gap: 5px !important;
}

@media (max-width: 700px) {
  .page-home .home-path {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }
}

/* Homepage APS actions: two primary choices with the combined rate/outlook link below. */
@media (min-width: 761px) {
  .page-home .home-path-actions-aps {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .page-home .market-button-aps-rates {
    grid-column: 1 / -1 !important;
    min-height: 34px !important;
    font-size: .75rem !important;
  }
}

/* APS regulatory outlook */
.page-aps-rates .commercial-eligibility-section {
  padding-bottom: 14px !important;
}

.page-aps-rates .aps-regulatory-section {
  padding: 18px 0 52px !important;
  background:
    radial-gradient(circle at 90% 4%, rgba(15, 118, 110, .07), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f3f7fb 100%);
  border-top: 1px solid #dfe7ef;
}

.page-aps-rates .aps-regulatory-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 26px;
  margin-bottom: 16px;
}

.page-aps-rates .aps-regulatory-heading > div {
  max-width: 900px;
}

.page-aps-rates .aps-regulatory-heading .eyebrow {
  margin-bottom: 5px !important;
}

.page-aps-rates .aps-regulatory-heading h2 {
  margin: 0 0 7px !important;
  font-size: clamp(1.75rem, 2.7vw, 2.45rem);
}

.page-aps-rates .aps-regulatory-heading .section-intro {
  max-width: 820px;
  font-size: .98rem;
  line-height: 1.48;
}

.page-aps-rates .aps-regulatory-status {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 5px 11px;
  border: 1px solid #f2c56b;
  border-radius: 999px;
  background: #fff8e8;
  color: #7a4b00;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .025em;
  white-space: nowrap;
}

.page-aps-rates .aps-regulatory-card {
  overflow: hidden;
  border: 1px solid #d5dfe9;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 15px 38px rgba(15, 39, 66, .075);
}

.page-aps-rates .aps-regulatory-table-wrap {
  overflow-x: auto;
  outline: none;
}

.page-aps-rates .aps-regulatory-table-wrap:focus-visible {
  box-shadow: inset 0 0 0 3px rgba(37, 99, 235, .26);
}

.page-aps-rates .aps-regulatory-table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: .9rem;
  line-height: 1.42;
}

.page-aps-rates .aps-regulatory-table th,
.page-aps-rates .aps-regulatory-table td {
  padding: 13px 15px;
  vertical-align: top;
  text-align: left;
  border-bottom: 1px solid #e3e9f1;
}

.page-aps-rates .aps-regulatory-table thead th {
  padding-top: 12px;
  padding-bottom: 12px;
  background: #123b5d;
  color: #ffffff;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.page-aps-rates .aps-regulatory-table thead th:nth-child(1) { width: 24%; }
.page-aps-rates .aps-regulatory-table thead th:nth-child(2) { width: 53%; }
.page-aps-rates .aps-regulatory-table thead th:nth-child(3) { width: 23%; }

.page-aps-rates .aps-regulatory-table tbody th {
  background: #f3f7fa;
  color: #123b5d;
  font-size: .91rem;
  font-weight: 800;
  line-height: 1.34;
}

.page-aps-rates .aps-regulatory-table tbody td {
  color: #45566a;
}

.page-aps-rates .aps-regulatory-table tbody tr:nth-child(even) td {
  background: #f9fbfd;
}

.page-aps-rates .aps-regulatory-table tbody tr:last-child th,
.page-aps-rates .aps-regulatory-table tbody tr:last-child td {
  border-bottom: 0;
}

.page-aps-rates .aps-citation-link {
  color: #1d4ed8;
  font-size: .82em;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.page-aps-rates .aps-citation-link:hover,
.page-aps-rates .aps-citation-link:focus-visible {
  text-decoration: underline;
}

.page-aps-rates .aps-timing-label {
  display: block;
  width: fit-content;
  margin-bottom: 3px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #eaf1ff;
  color: #1e4ea5;
  font-size: .75rem;
  font-weight: 800;
  line-height: 1.4;
}

.page-aps-rates .aps-timing-secondary {
  margin-top: 8px;
}

.page-aps-rates .aps-timing-live {
  background: #e8f7f2;
  color: #0f685f;
}

.page-aps-rates .aps-regulatory-table td small {
  display: block;
  color: #68778a;
  font-size: .78rem;
  line-height: 1.38;
}

.page-aps-rates .aps-regulatory-notes {
  padding: 15px 18px 17px;
  border-top: 1px solid #dfe5ee;
  background: #f8fafc;
}

.page-aps-rates .aps-regulatory-notes > p {
  margin: 0;
  color: #53657a;
  font-size: .82rem;
  line-height: 1.45;
}

.page-aps-rates .aps-source-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px 26px;
  margin: 11px 0 0;
  padding-left: 20px;
  color: #5d6c7d;
  font-size: .77rem;
  line-height: 1.42;
}

.page-aps-rates .aps-source-list li {
  padding-left: 2px;
}

.page-aps-rates .aps-source-list a {
  color: #315b91;
  text-decoration-color: rgba(49, 91, 145, .36);
  text-underline-offset: 2px;
}

.page-aps-rates .aps-source-list a:hover,
.page-aps-rates .aps-source-list a:focus-visible {
  color: #1d4ed8;
}

@media (max-width: 760px) {
  .page-aps-rates .commercial-eligibility-section {
    padding-bottom: 10px !important;
  }

  .page-aps-rates .aps-regulatory-section {
    padding: 16px 0 42px !important;
  }

  .page-aps-rates .aps-regulatory-heading {
    display: block;
    margin-bottom: 14px;
  }

  .page-aps-rates .aps-regulatory-heading h2 {
    font-size: 1.68rem;
  }

  .page-aps-rates .aps-regulatory-status {
    margin-top: 12px;
  }

  .page-aps-rates .aps-regulatory-card {
    border-radius: 13px;
  }

  .page-aps-rates .aps-regulatory-table {
    min-width: 0;
  }

  .page-aps-rates .aps-regulatory-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }

  .page-aps-rates .aps-regulatory-table,
  .page-aps-rates .aps-regulatory-table tbody,
  .page-aps-rates .aps-regulatory-table tr,
  .page-aps-rates .aps-regulatory-table th,
  .page-aps-rates .aps-regulatory-table td {
    display: block;
    width: 100%;
  }

  .page-aps-rates .aps-regulatory-table tbody tr {
    padding: 15px;
    border-bottom: 1px solid #dfe5ee;
  }

  .page-aps-rates .aps-regulatory-table tbody tr:last-child {
    border-bottom: 0;
  }

  .page-aps-rates .aps-regulatory-table tbody th,
  .page-aps-rates .aps-regulatory-table tbody td {
    padding: 0;
    border: 0;
    background: transparent !important;
  }

  .page-aps-rates .aps-regulatory-table tbody th {
    margin-bottom: 10px;
    font-size: .98rem;
  }

  .page-aps-rates .aps-regulatory-table tbody td:nth-child(2) {
    margin-bottom: 12px;
  }

  .page-aps-rates .aps-regulatory-table tbody td::before {
    display: block;
    margin-bottom: 3px;
    color: #718096;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .055em;
    text-transform: uppercase;
  }

  .page-aps-rates .aps-regulatory-table tbody td:nth-child(2)::before {
    content: "Latest outlook";
  }

  .page-aps-rates .aps-regulatory-table tbody td:nth-child(3)::before {
    content: "Expected timing";
  }

  .page-aps-rates .aps-regulatory-notes {
    padding: 14px;
  }

  .page-aps-rates .aps-source-list {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

/* v269 final spacing and two-column overrides. */
.page-aps-rates .aps-regulatory-section {
  padding: 14px 0 44px !important;
}

.page-aps-rates .aps-regulatory-heading {
  margin-bottom: 11px !important;
}

.page-aps-rates .aps-regulatory-table {
  min-width: 720px;
}

.page-aps-rates .aps-regulatory-table thead th:nth-child(1) {
  width: 26%;
}

.page-aps-rates .aps-regulatory-table thead th:nth-child(2) {
  width: 74%;
}

.page-aps-rates .aps-regulatory-table th,
.page-aps-rates .aps-regulatory-table td {
  padding: 9px 13px;
}

.page-aps-rates .aps-regulatory-notes {
  padding: 11px 18px 13px;
}

@media (max-width: 760px) {
  .page-aps-rates .aps-regulatory-section {
    padding: 12px 0 36px !important;
  }

  .page-aps-rates .aps-regulatory-heading {
    margin-bottom: 9px !important;
  }

  .page-aps-rates .aps-regulatory-table {
    min-width: 0;
  }

  .page-aps-rates .aps-regulatory-table tbody tr {
    padding: 10px 12px;
  }

  .page-aps-rates .aps-regulatory-table tbody th {
    margin-bottom: 6px;
  }

  .page-aps-rates .aps-regulatory-group-row {
    padding: 0 !important;
  }

  .page-aps-rates .aps-regulatory-group-row th {
    margin: 0 !important;
    padding: 7px 12px !important;
  }

  .page-aps-rates .aps-regulatory-table tbody td:nth-child(2) {
    margin-bottom: 0;
  }

  .page-aps-rates .aps-regulatory-notes {
    padding: 10px 12px 12px;
  }
}

/* v270: plain-text APS rate-case summary above the issue table. */
.page-aps-rates .aps-ratecase-summary {
  margin: -2px 0 10px;
  color: #45566a;
  font-size: .9rem;
  line-height: 1.4;
}

.page-aps-rates .aps-ratecase-summary p {
  margin: 0;
}

.page-aps-rates .aps-ratecase-summary > p:first-child {
  max-width: 1050px;
}

.page-aps-rates .aps-ratecase-timing {
  margin-top: 3px !important;
  color: #31536f;
  font-size: .84rem;
}

@media (max-width: 760px) {
  .page-aps-rates .aps-ratecase-summary {
    margin: -1px 0 8px;
    font-size: .87rem;
    line-height: 1.36;
  }

  .page-aps-rates .aps-ratecase-timing {
    margin-top: 4px !important;
    font-size: .81rem;
  }
}

/* v271: prevent issue markers from overlapping the row labels. */
.page-aps-rates .aps-regulatory-subrow > th {
  padding-left: 18px !important;
}

.page-aps-rates .aps-regulatory-subrow > th::before {
  display: none !important;
  content: none !important;
}

@media (max-width: 760px) {
  .page-aps-rates .aps-regulatory-subrow > th {
    padding-left: 12px !important;
  }
}

/* v275: slightly larger, proportionately resized homepage action buttons. */
.page-home .home-path-actions-aps .market-button,
.page-home .home-path-actions-commercial .market-button {
  min-height: 41px !important;
  padding: 7px 11px !important;
  font-size: .80rem !important;
  line-height: 1.2 !important;
  white-space: normal !important;
  text-align: center !important;
}

.page-home .home-path-actions .market-button span[aria-hidden="true"] {
  flex: 0 0 auto;
  font-size: 1rem !important;
}

@media (max-width: 760px) {
  .page-home .home-path-actions-aps .market-button,
  .page-home .home-path-actions-commercial .market-button {
    min-height: 40px !important;
    padding: 8px 12px !important;
    font-size: .82rem !important;
  }
}

/* v379: shared phone and tablet safeguards across the full site. */
@media (max-width: 760px) {
  html,
  body {
    max-width: 100%;
    overflow-x: clip;
  }

  body {
    -webkit-text-size-adjust: 100%;
  }

  .container {
    width: 100% !important;
    max-width: none !important;
    padding-right: 17px;
    padding-left: 17px;
  }

  img,
  svg,
  canvas,
  video {
    max-width: 100%;
    height: auto;
  }

  .nav-wrap {
    min-height: 60px;
    gap: 10px;
  }

  .brand,
  .brand-copy {
    min-width: 0;
  }

  .brand-copy strong {
    font-size: .94rem;
    overflow-wrap: anywhere;
  }

  .menu-toggle {
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    place-content: center;
    padding: 7px;
    border-radius: 10px;
  }

  .site-nav.open {
    right: 12px;
    left: 12px;
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
  }

  h1 {
    font-size: clamp(2rem, 10vw, 2.75rem);
    overflow-wrap: anywhere;
  }

  h2 {
    font-size: clamp(1.62rem, 7.5vw, 2.15rem);
    overflow-wrap: anywhere;
  }

  h3,
  p,
  li,
  label,
  small,
  strong,
  a,
  button {
    overflow-wrap: anywhere;
  }

  input:not([type="checkbox"]):not([type="radio"]),
  select,
  textarea {
    width: 100%;
    max-width: 100%;
    font-size: 16px;
  }

  textarea {
    min-height: 108px;
  }

  button,
  .button,
  .market-button,
  input[type="button"],
  input[type="submit"] {
    min-height: 44px;
  }

  .hero-actions,
  .page-actions,
  .home-path-actions,
  .request-actions {
    align-items: stretch;
  }

  .hero-actions .button,
  .page-actions .button,
  .request-actions .button {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .panel,
  .card,
  .example-box,
  .contact-card,
  .contact-form-card {
    max-width: 100%;
  }

  .rate-table-wrap,
  .aps-regulatory-table-wrap,
  .texas-policy-table-wrap,
  .solar-table-wrap,
  .scan-table-wrap {
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
  }

  .policy-status,
  .aps-regulatory-status {
    max-width: 100%;
    white-space: normal;
  }

  .footer-wrap {
    text-align: left;
  }

  .footer-note {
    max-width: none;
    text-align: left;
  }
}

@media (max-width: 420px) {
  .container {
    padding-right: 14px;
    padding-left: 14px;
  }

  .brand {
    gap: 8px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
  }

  .panel,
  .card,
  .example-box,
  .contact-card,
  .contact-form-card {
    padding: 17px;
    border-radius: 15px;
  }
}

/* v276: add the Facility Flexibility Scan without increasing desktop card height. */
@media (min-width: 761px) {
  .page-home .home-path-actions-commercial {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .page-home .home-path-actions-commercial .market-button-texas {
    grid-column: 1 / -1 !important;
  }
}

.page-home .home-path-actions-commercial .market-button-flexibility {
  border: 1px solid #d7a533 !important;
  background: #f2c45e !important;
  color: #26384a !important;
  box-shadow: 0 7px 18px rgba(183, 121, 31, .24) !important;
}

.page-home .home-path-actions-commercial .market-button-flexibility:hover,
.page-home .home-path-actions-commercial .market-button-flexibility:focus-visible {
  border-color: #c58f22 !important;
  background: #e5b447 !important;
  color: #1d2d3d !important;
  box-shadow: 0 10px 22px rgba(154, 92, 15, .28) !important;
}

/* v284: use one consistent button height across both homepage market cards. */
.page-home .home-path-actions-aps .market-button,
.page-home .home-path-actions-commercial .market-button {
  height: 52px !important;
  min-height: 52px !important;
}
