/* Page-specific tables and economic profile; reading controls use the shared article styles. */
.economy-lead .infobox { width: 310px; }
.article .infobox-note { font-size: 11px; line-height: 1.5; margin: 10px 8px 6px; }
.infobox dt { font-weight: 600; }
.infobox dl { grid-template-columns: 108px 1fr; gap: 7px 9px; }
.infobox-image img { display: block; aspect-ratio: 3 / 2; object-fit: cover; }
.economic-table-wrap { margin: 20px 0 24px; overflow-x: auto; }
.economic-table-wrap .wikitable { margin: 0; }
.ownership-table tbody th { width: 80%; }
.ownership-table td { text-align: right; white-space: nowrap; }
.ownership-table .table-total th, .ownership-table .table-total td { font-weight: 600; }
.article .table-note { margin: 9px 0 0; font-size: 12px; line-height: 1.5; color: var(--muted); }
.regional-table th, .regional-table td { vertical-align: top; }
.regional-table tbody th { font-weight: 600; width: 27%; }
.regional-table td { width: 36.5%; }
.energy-accounts { margin: 24px 0; padding: 16px 18px 12px; border: 1px solid var(--line); background: var(--panel); }
.energy-accounts figcaption { font-size: 13px; line-height: 1.6; margin-bottom: 10px; }
.energy-accounts figcaption strong { font-size: 15px; }
.energy-accounts table { width: 100%; border-collapse: collapse; font-size: 14px; }
.energy-accounts th, .energy-accounts td { border-bottom: 1px solid var(--subtle-line); padding: 10px 0; text-align: left; }
.energy-accounts thead th { font-size: 12px; color: var(--muted); font-weight: 600; }
.energy-accounts tbody th { font-weight: 400; width: 62%; padding-right: 14px; }
.energy-accounts td { position: relative; font-variant-numeric: tabular-nums; text-align: right; }
.energy-accounts td span:last-child { position: relative; display: inline-block; padding-left: 9px; background: var(--panel); }
.energy-bar { position: absolute; width: var(--share); left: 0; top: 35%; height: 30%; background: var(--teal); }
.article .energy-accounts p { font-size: 12px; line-height: 1.5; color: var(--muted); margin: 12px 0 0; }
@media (min-width: 621px) {
  .article .economy-lead { display: block; }
  .article #history h2 { overflow: hidden; }
  .article #ownership { clear: both; }
}
@media (max-width: 620px) {
  .economy-lead .infobox { width: min(100%, 390px); }
  .regional-table { font-size: 12px; }
  .regional-table th, .regional-table td { padding: 8px; overflow-wrap: anywhere; }
  .ownership-table { font-size: 12px; }
  .ownership-table th, .ownership-table td { padding: 8px; overflow-wrap: anywhere; }
  .energy-accounts { padding: 13px 12px; margin-inline: 0; }
  .energy-accounts table { font-size: 12px; }
  .energy-accounts tbody th { width: 67%; }
}
@media print {
  .energy-accounts { break-inside: avoid; }
  .energy-bar { print-color-adjust: exact; }
}

.energy-accounts .regional-energy { table-layout: fixed; }
.energy-accounts .regional-energy th:first-child { width: 46%; }
.energy-accounts .regional-energy th:not(:first-child), .energy-accounts .regional-energy td { width: 18%; text-align: right; padding-left: 8px; }
.energy-accounts .regional-energy thead th { vertical-align: bottom; }

@media (max-width: 620px) { .energy-accounts .regional-energy thead th:not(:first-child) { font-size: 11px; padding-left: 2px; } }

@media (max-width: 950px) {
  .contents a[href="#ownership"] + .toc-sub { display: block; columns: 1; }
}
