:root {
    --ghg-public-page-background: #f7f9fc;
    --ghg-public-elevated-surface: #ffffff;
    --ghg-public-secondary-surface: #f7f9fc;
    --ghg-public-table-header: #e8f0f8;
    --ghg-public-table-header-text: #354d64;
    --ghg-public-heading-text: #0f172a;
    --ghg-public-divider: #dce3ee;
    --ghg-public-input-background: #ffffff;
    --ghg-public-input-border: #dce3ee;
    --ghg-public-hover-surface: #eaf4fd;
    --ghg-public-focus-ring: #12324e;
    --ghg-public-action-background: var(--color-primary);
    --ghg-public-action-border: var(--color-primary);
    --ghg-public-chart-background: #ffffff;
    --ghg-public-chart-axis-text: #5a6f78;
    --ghg-public-chart-grid: #dfe8e8;
    --ghg-public-chart-axis-strong: #5f7278;
    --ghg-public-chart-annotation: #176348;
    --ghg-public-chart-value-label: #35525b;
    --ghg-public-chart-unavailable: #8b7d73;
    --ghg-public-chart-meta-text: #52677f;
    --ghg-public-chart-total-label: #12324e;
    --ghg-public-chart-total-halo: #ffffff;
    --ghg-public-tooltip-background: #12324e;
    --ghg-public-tooltip-text: #ffffff;
    --ghg-public-export-background: #ffffff;
    --ghg-public-export-title: #1a2a3a;
    --ghg-public-export-text: #52677f;
    --ghg-public-scrollbar-track: #edf2f7;
    --ghg-public-scrollbar-thumb: #aab8c8;
}

/* Shared public-dashboard theme control. The document-root attribute also
   covers the navbar and footer, which intentionally sit outside the dashboard. */
.public-theme-control {
    align-items: center;
    background: rgba(255, 255, 255, 0.11);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    display: inline-flex;
    flex: 0 0 auto;
    gap: 0.15rem;
    padding: 0.2rem;
}

.public-theme-option {
    align-items: center;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.78);
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-size: 0.76rem;
    font-weight: 750;
    gap: 0.32rem;
    justify-content: center;
    min-height: 2rem;
    padding: 0.25rem 0.55rem;
    transition: background-color 120ms ease, color 120ms ease;
}

.public-theme-option:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.public-theme-option.is-selected,
.public-theme-option[aria-pressed="true"] {
    background: #fff;
    color: #12324e;
}

.public-theme-option:focus-visible {
    outline: 3px solid var(--netlify-gold, #f9a825);
    outline-offset: 2px;
}

html[data-public-dashboard-theme="dark"]
    .public-theme-option[data-public-theme-option="light"] {
    background: transparent;
    color: rgba(255, 255, 255, 0.78);
}

html[data-public-dashboard-theme="dark"]
    .public-theme-option[data-public-theme-option="dark"] {
    background: #eef4fb;
    color: #10283e;
}

@media (max-width: 760px) {
    .public-theme-control {
        align-self: stretch;
        justify-content: center;
        margin: 0.15rem 0;
        width: 100%;
    }

    .public-theme-option {
        flex: 1 1 0;
        min-height: var(--ghg-public-touch-target-min, 2.75rem);
    }
}

/* Dark presentation overrides are intentionally rooted to the public theme
   attribute. Authenticated application surfaces cannot match this scope. */
html[data-public-dashboard-theme="dark"] body,
html[data-public-dashboard-theme="dark"] .page-shell {
    background: var(--ghg-public-page-background) !important;
    color: var(--color-text);
}

html[data-public-dashboard-theme="dark"] .public-navbar-v2 {
    background: #10243a;
    border-bottom: 1px solid #314960;
}

html[data-public-dashboard-theme="dark"] .public-footer-v2 {
    background: #122236;
    border-top-color: var(--color-border);
}

html[data-public-dashboard-theme="dark"] .public-footer-inner,
html[data-public-dashboard-theme="dark"] .public-footer-right {
    color: var(--color-muted);
}

html[data-public-dashboard-theme="dark"] .public-footer-app,
html[data-public-dashboard-theme="dark"] .public-footer-link {
    color: var(--color-text);
}

html[data-public-dashboard-theme="dark"] .ghg-public-dashboard .form-select,
html[data-public-dashboard-theme="dark"] .ghg-public-dashboard .form-control {
    background-color: var(--ghg-public-input-background);
    border-color: var(--ghg-public-input-border);
    color: var(--color-text);
}

html[data-public-dashboard-theme="dark"] .ghg-public-dashboard .form-select {
    color-scheme: dark;
}

html[data-public-dashboard-theme="dark"] .ghg-public-dashboard .btn-outline-secondary {
    border-color: var(--ghg-public-input-border);
    color: var(--color-text);
}

html[data-public-dashboard-theme="dark"] .ghg-public-dashboard .btn-outline-secondary:hover {
    background: var(--ghg-public-hover-surface);
}

html[data-public-dashboard-theme="dark"] .ghg-public-home-hero,
html[data-public-dashboard-theme="dark"] .ghg-public-sector-kpis {
    --ghg-hero-muted: var(--color-muted);
    --ghg-sector-kpi-muted: var(--color-muted);
    background: var(--ghg-public-secondary-surface);
    box-shadow: var(--shadow-soft);
}

html[data-public-dashboard-theme="dark"] .ghg-public-home-hero--split {
    color-scheme: dark;
}

html[data-public-dashboard-theme="dark"] :is(
    .ghg-public-home-hero__context,
    .ghg-public-home-hero__sectors,
    .ghg-public-sector-kpis__context
) {
    background: rgba(34, 57, 79, 0.82);
    border-color: var(--ghg-public-divider);
}

html[data-public-dashboard-theme="dark"] :is(
    .ghg-public-home-hero__gases,
    .ghg-public-sector-kpis__gases,
    .ghg-public-kpi,
    .ghg-public-chart-card,
    .ghg-public-mini-tables article,
    .ghg-public-state
) {
    background: var(--ghg-public-elevated-surface);
    border-color: var(--color-border);
}

html[data-public-dashboard-theme="dark"] :is(
    .ghg-public-home-hero__context-strip article,
    .ghg-public-home-hero__gas-grid article,
    .ghg-public-home-hero__sector-grid article,
    .ghg-public-sector-kpis__gas-grid article,
    .ghg-public-sector-kpis--soil-type-strip .ghg-public-sector-kpis__context
) {
    border-color: var(--ghg-public-divider);
}

html[data-public-dashboard-theme="dark"] :is(
    .ghg-public-home-hero__header h2,
    .ghg-public-home-hero__gas-formula,
    .ghg-public-overview-value__number,
    .ghg-public-sector-kpis__gas-grid h4
) {
    color: var(--color-text);
}

html[data-public-dashboard-theme="dark"] :is(
    .ghg-public-chart-data-trigger,
    .ghg-public-chart-download-trigger,
    .ghg-public-chart-modal-close,
    .ghg-public-reporting-modal__download,
    .ghg-public-reporting-modal__close
) {
    background: var(--ghg-public-elevated-surface);
    border-color: var(--ghg-public-input-border);
    color: var(--color-primary);
}

html[data-public-dashboard-theme="dark"] :is(
    .ghg-public-chart-data-trigger,
    .ghg-public-chart-download-trigger,
    .ghg-public-chart-modal-close,
    .ghg-public-reporting-modal__download,
    .ghg-public-reporting-modal__close,
    .ghg-public-year-toolbar select,
    .ghg-public-year-toolbar button,
    .ghg-public-trend-toolbar select,
    .ghg-public-trend-toolbar button
):focus-visible {
    outline-color: var(--ghg-public-focus-ring);
}

html[data-public-dashboard-theme="dark"] :is(
    .ghg-public-chart-modal-panel,
    .ghg-public-chart-modal-header,
    .ghg-public-reporting-modal__panel,
    .ghg-public-reporting-modal__header
) {
    background: var(--ghg-public-elevated-surface);
    border-color: var(--color-border);
}

html[data-public-dashboard-theme="dark"] :is(
    .ghg-public-chart-modal-backdrop,
    .ghg-public-reporting-modal__backdrop
) {
    background: rgba(3, 10, 18, 0.82);
}

html[data-public-dashboard-theme="dark"] :is(
    .ghg-public-table thead th,
    .ghg-public-chart-table thead th,
    .ghg-public-mini-tables thead th,
    .ghg-public-chart-modal-table thead th,
    .ghg-public-reporting-table thead th
) {
    background: var(--ghg-public-table-header);
    color: var(--ghg-public-table-header-text);
}

html[data-public-dashboard-theme="dark"] .ghg-public-reporting-column-unit {
    color: var(--color-muted);
}

html[data-public-dashboard-theme="dark"] .ghg-public-reporting-row {
    --ghg-reporting-row-surface: var(--ghg-public-elevated-surface);
}

html[data-public-dashboard-theme="dark"] .ghg-public-reporting-row.is-total {
    --ghg-reporting-row-surface: #223b54;
}

html[data-public-dashboard-theme="dark"] .ghg-public-reporting-row.is-category {
    --ghg-reporting-row-surface: #1f344a;
}

html[data-public-dashboard-theme="dark"] .ghg-public-reporting-row.is-leaf:nth-child(even) {
    --ghg-reporting-row-surface: #192b3e;
}

html[data-public-dashboard-theme="dark"] .ghg-public-reporting-row:hover {
    --ghg-reporting-row-surface: var(--ghg-public-hover-surface);
}

html[data-public-dashboard-theme="dark"] .ghg-public-reporting-row.is-total > * {
    border-color: #4b6580;
}

html[data-public-dashboard-theme="dark"] :is(
    .ghg-public-chart-modal-table td,
    .ghg-public-chart-modal-table th,
    .ghg-public-reporting-table td,
    .ghg-public-reporting-table th,
    .ghg-public-table td,
    .ghg-public-table th
) {
    border-color: var(--ghg-public-divider);
    color: var(--color-text);
}

html[data-public-dashboard-theme="dark"] .ghg-public-chart-tooltip {
    background: var(--ghg-public-tooltip-background);
    border-color: #536c84;
    color: var(--ghg-public-tooltip-text);
}

html[data-public-dashboard-theme="dark"] .ghg-public-chart-legend li.is-chart-active {
    background: var(--ghg-public-hover-surface);
    color: var(--color-text);
    outline-color: var(--color-border);
}

html[data-public-dashboard-theme="dark"] [data-chart-tooltip]:focus-visible {
    outline-color: var(--ghg-public-focus-ring);
}

html[data-public-dashboard-theme="dark"] :is(
    .ghg-public-reporting-modal__workspace,
    .ghg-public-chart-modal-table-wrap,
    .ghg-public-table-wrap
) {
    scrollbar-color: var(--ghg-public-scrollbar-thumb) var(--ghg-public-scrollbar-track);
}

html[data-public-dashboard-theme="dark"] :is(
    .ghg-public-reporting-modal__workspace,
    .ghg-public-chart-modal-table-wrap,
    .ghg-public-table-wrap
)::-webkit-scrollbar-track {
    background: var(--ghg-public-scrollbar-track);
}

html[data-public-dashboard-theme="dark"] :is(
    .ghg-public-reporting-modal__workspace,
    .ghg-public-chart-modal-table-wrap,
    .ghg-public-table-wrap
)::-webkit-scrollbar-thumb {
    background: var(--ghg-public-scrollbar-thumb);
    border-radius: 999px;
}

:root[data-public-dashboard-theme="dark"] {
    --color-primary: #79b8f3;
    --color-text: #eef4fb;
    --color-muted: #a9b8c8;
    --color-border: #344b63;
    --color-surface: #172638;
    --color-surface-soft: #1d3044;
    --shadow-soft: 0 0.35rem 1.4rem rgba(3, 10, 18, 0.34);
    --netlify-offwhite: #0f1b29;
    --netlify-text: #eef4fb;
    --netlify-muted: #a9b8c8;
    --netlify-border: #344b63;
    --netlify-blue: #79b8f3;
    --ghg-public-page-background: #0f1b29;
    --ghg-public-elevated-surface: #172638;
    --ghg-public-secondary-surface: #1d3044;
    --ghg-public-table-header: #22394f;
    --ghg-public-table-header-text: #dce7f2;
    --ghg-public-heading-text: #eef4fb;
    --ghg-public-divider: #344b63;
    --ghg-public-input-background: #16273a;
    --ghg-public-input-border: #4a627a;
    --ghg-public-hover-surface: #223a52;
    --ghg-public-focus-ring: #f9c74f;
    --ghg-public-action-background: #1d6fb8;
    --ghg-public-action-border: #4f9bdd;
    --ghg-public-chart-background: #172638;
    --ghg-public-chart-axis-text: #b7c5d4;
    --ghg-public-chart-grid: #354b61;
    --ghg-public-chart-axis-strong: #73879b;
    --ghg-public-chart-annotation: #8bd2ad;
    --ghg-public-chart-value-label: #e4edf6;
    --ghg-public-chart-unavailable: #b8a99e;
    --ghg-public-chart-meta-text: #c2cfdd;
    --ghg-public-chart-total-label: #f2f7fc;
    --ghg-public-chart-total-halo: #172638;
    --ghg-public-tooltip-background: #091522;
    --ghg-public-tooltip-text: #f7fbff;
    --ghg-public-export-background: #172638;
    --ghg-public-export-title: #f2f7fc;
    --ghg-public-export-text: #c2cfdd;
    --ghg-public-scrollbar-track: #142437;
    --ghg-public-scrollbar-thumb: #587088;
}

.ghg-public-dashboard {
    --ghg-customer-icon-primary-size: 1.75rem;
    --ghg-customer-icon-supporting-size: 1.1875rem;
    --ghg-customer-icon-gas-size: 1.3rem;
    --ghg-country-context-icon-size: 1.625rem;
    --ghg-country-context-icon-box: 2.125rem;
    --ghg-customer-icon-primary-mobile-container-size: 2.25rem;
    color: var(--color-text);
    padding-bottom: 1rem;
}

.ghg-public-dashboard *,
.ghg-public-dashboard *::before,
.ghg-public-dashboard *::after {
    box-sizing: border-box;
}

.ghg-public-page-header {
    align-items: flex-end;
    display: flex;
    gap: 1.5rem;
    justify-content: space-between;
    margin-bottom: 1.75rem;
}

.ghg-public-title-block {
    min-width: 0;
}

.ghg-public-title-block--with-flag {
    align-items: center;
    display: grid;
    gap: clamp(1rem, 1.8vw, 1.5rem);
    grid-template-columns: clamp(7.5rem, 11vw, 10rem) minmax(0, 1fr);
}

.ghg-public-title-copy {
    min-width: 0;
}

.ghg-public-page-flag {
    display: block;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    width: 100%;
}

.ghg-public-support-footer {
    align-items: center;
    border-top: 1px solid var(--color-border);
    display: flex;
    gap: 2rem;
    justify-content: space-between;
    margin-top: clamp(2rem, 4vw, 3rem);
    padding: 1.25rem 0 0.5rem;
}

.ghg-public-support-logo-frame {
    align-items: center;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 0.5rem;
    display: inline-flex;
    justify-content: center;
    padding: 0.45rem 0.65rem;
}

.ghg-public-support-logo {
    display: block;
    height: clamp(2.5rem, 3.5vw, 3rem);
    max-width: min(12rem, 40vw);
    object-fit: contain;
    width: auto;
}

.ghg-public-page-header .page-title {
    /* The shared application .page-title rule is important, so this public-only
       declaration must match its priority to restore the theme token. */
    color: var(--ghg-public-heading-text) !important;
    font-size: clamp(1.8rem, 3vw, 2.35rem);
    line-height: 1.1;
    margin: 0 0 0.4rem;
}

.ghg-public-page-header .page-subtitle {
    color: var(--color-muted);
    line-height: 1.55;
    margin: 0;
    max-width: 48rem;
}

.ghg-public-year-toolbar {
    flex: 0 0 auto;
    min-width: 15rem;
}

.ghg-public-year-toolbar .form-label {
    color: var(--color-muted);
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    margin: 0 0 0.35rem;
}

.ghg-public-year-controls {
    align-items: stretch;
    display: flex;
    gap: 0.5rem;
}

.ghg-public-year-controls .form-select {
    min-height: var(--ghg-public-touch-target-min, 2.75rem);
    min-width: 8rem;
}

.ghg-public-year-controls .btn {
    min-height: var(--ghg-public-touch-target-min, 2.75rem);
    padding: 0.55rem 0.9rem;
}

.ghg-public-section + .ghg-public-section {
    margin-top: 2.25rem;
}

.ghg-public-section-heading {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.9rem;
}

.ghg-public-section--key-indicators > .ghg-public-section-heading {
    margin-bottom: 0.625rem;
}

.ghg-public-section-heading h2 {
    align-items: center;
    color: var(--color-text);
    display: flex;
    font-size: clamp(1.25rem, 2vw, 1.55rem);
    font-weight: 800;
    gap: 0.65rem;
    letter-spacing: -0.02em;
    margin: 0;
}

.ghg-public-section-heading--with-controls {
    align-items: center;
    gap: 1rem;
}

.ghg-public-trend-toolbar {
    flex: 0 0 auto;
    margin-left: auto;
    position: relative;
}

.ghg-public-trend-controls {
    align-items: center;
    display: flex;
    gap: 0.45rem;
}

.ghg-public-trend-field {
    flex: 0 0 auto;
    min-width: 0;
}

.ghg-public-trend-field .form-select {
    min-height: var(--ghg-public-touch-target-min, 2.75rem);
    padding-right: 2rem;
    width: 6.5rem;
}

.ghg-public-trend-controls .btn {
    min-height: var(--ghg-public-touch-target-min, 2.75rem);
}

.ghg-public-trend-separator {
    color: var(--color-muted);
    flex: 0 0 auto;
    font-weight: 700;
    line-height: 1;
}

.ghg-public-trend-controls .btn {
    padding: 0.55rem 0.9rem;
}

.ghg-public-trend-help {
    color: var(--color-muted);
    font-size: 0.78rem;
    line-height: 1.35;
    margin: 0.4rem 0 0;
    max-width: 28rem;
    text-align: right;
}

.ghg-public-trend-status {
    align-items: center;
    border: 1px solid transparent;
    border-radius: 999px;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 0.75rem;
    font-weight: 600;
    gap: 0.35rem;
    justify-content: center;
    line-height: 1.2;
    min-height: 1.875rem;
    min-width: 10.5rem;
    opacity: 0;
    padding: 0.3rem 0.65rem;
    visibility: hidden;
    white-space: nowrap;
}

.ghg-public-trend-status.is-visible {
    opacity: 1;
    visibility: visible;
}

.ghg-public-trend-status.is-success {
    background: #edf8f1;
    border-color: #b9dec5;
    color: #22663a;
}

.ghg-public-trend-status.is-error {
    background: #fff1f0;
    border-color: #f0c1bc;
    color: var(--color-danger, #b42318);
}

[data-trend-section][aria-busy="true"] {
    cursor: progress;
}

.ghg-public-section-icon {
    align-items: center;
    background: rgba(21, 101, 192, 0.1);
    border: 1px solid rgba(21, 101, 192, 0.16);
    border-radius: 0.65rem;
    color: var(--color-primary);
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 0.85rem;
    height: 2rem;
    justify-content: center;
    width: 2rem;
}

.ghg-public-kpi-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ghg-public-kpi-groups {
    display: grid;
    gap: 1rem;
}

.ghg-public-kpi-grid--primary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ghg-public-kpi {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 1rem 1.1rem;
}

.ghg-public-kpi.is-removal {
    border-color: #9fcfbc;
}

.ghg-public-kpi h3 {
    align-items: center;
    color: var(--color-muted);
    display: flex;
    font-size: 0.82rem;
    font-weight: 700;
    gap: 0.55rem;
    letter-spacing: 0.03em;
    margin: 0 0 0.55rem;
    text-transform: uppercase;
}

.ghg-public-kpi-icon {
    align-items: center;
    background: rgba(21, 101, 192, 0.08);
    border-radius: 0.55rem;
    color: var(--color-primary);
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 0.78rem;
    height: 1.8rem;
    justify-content: center;
    width: 1.8rem;
}

.ghg-public-kpi-title {
    min-width: 0;
    overflow-wrap: anywhere;
}

.ghg-public-kpi-value {
    color: var(--color-primary);
    font-size: clamp(1.55rem, 2.4vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.1;
    margin: 0;
}

.ghg-public-kpi-value.is-numeric {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.ghg-public-kpi-value.has-inline-unit {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem 0.4rem;
    white-space: normal;
}

.ghg-public-kpi-value-number {
    white-space: nowrap;
}

.ghg-public-kpi-value-unit {
    color: var(--color-muted);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.3;
    white-space: nowrap;
}

.ghg-public-kpi-value.is-text {
    color: var(--color-text);
    font-size: 1.25rem;
    overflow-wrap: break-word;
}

.ghg-public-kpi-unit {
    color: var(--color-muted);
    font-size: 0.78rem;
    line-height: 1.35;
    margin: 0.4rem 0 0;
}

.ghg-public-unavailable,
.ghg-public-table-na {
    color: var(--color-muted);
}

.ghg-public-unavailable {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.ghg-public-table-wrap {
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    contain: layout paint inline-size;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    width: 100%;
}

.ghg-public-table,
.ghg-public-chart-table table,
.ghg-public-mini-tables table {
    border-collapse: collapse;
    min-width: 48rem;
    width: 100%;
}

.ghg-public-table th,
.ghg-public-table td,
.ghg-public-chart-table th,
.ghg-public-chart-table td,
.ghg-public-mini-tables th,
.ghg-public-mini-tables td {
    border-bottom: 1px solid var(--color-border);
    padding: 0.75rem 0.85rem;
    text-align: right;
    vertical-align: top;
}

.ghg-public-table thead th,
.ghg-public-chart-table thead th,
.ghg-public-mini-tables thead th {
    background: var(--color-surface-soft);
    color: var(--color-muted);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ghg-public-table thead th:first-child,
.ghg-public-table tbody th,
.ghg-public-chart-table th:first-child,
.ghg-public-mini-tables th:first-child {
    text-align: left;
}

.ghg-public-table thead span {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0;
    margin-top: 0.2rem;
    text-transform: none;
}

.ghg-public-table tbody th {
    color: var(--color-text);
    min-width: 18rem;
}

.ghg-public-table tbody th.level-1 {
    padding-left: 1.35rem;
}

.ghg-public-table tbody th.level-2 {
    padding-left: 1.8rem;
}

.ghg-public-table tbody th.level-3 {
    padding-left: 2.25rem;
}

.ghg-public-table tbody th.level-4 {
    padding-left: 2.7rem;
}

.ghg-public-table tbody th.level-5 {
    padding-left: 3.15rem;
}

.ghg-public-table td,
.ghg-public-chart-table td,
.ghg-public-mini-tables td {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.ghg-public-table td.is-negative {
    color: #176348;
    font-weight: 700;
}

.ghg-public-chart-grid {
    align-items: stretch;
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ghg-public-chart-grid--national-trend {
    grid-template-columns: minmax(0, 1fr);
}

.ghg-public-chart-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0;
    max-width: 100%;
    min-width: 0;
    padding: 1rem;
    position: relative;
}

.ghg-public-chart-grid--national-trend > .ghg-public-chart-card {
    grid-column: 1 / -1;
}

.ghg-public-chart-card figcaption h3 {
    color: var(--color-text);
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.6rem;
}

.ghg-public-chart-caption {
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 0.65rem;
    padding-bottom: 0.7rem;
}

.ghg-public-chart-title-row {
    align-items: flex-start;
    display: flex;
    gap: 0.6rem;
    min-width: 0;
}

.ghg-public-chart-title-row h3 {
    margin: 0;
    min-width: 0;
    overflow-wrap: anywhere;
}

.ghg-public-chart-icon {
    align-items: center;
    background: rgba(21, 101, 192, 0.08);
    border-radius: 0.55rem;
    color: var(--color-primary);
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 0.78rem;
    height: 1.8rem;
    justify-content: center;
    width: 1.8rem;
}

.ghg-public-chart-period {
    align-items: center;
    color: var(--color-muted);
    display: flex;
    font-size: 0.78rem;
    gap: 0.4rem;
    line-height: 1.35;
    margin: 0.45rem 0 0 2.4rem;
}

.ghg-public-chart-period--sector {
    margin-left: 0;
}

.ghg-public-chart {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: clamp(13rem, 32vw, 20rem);
    min-width: 0;
    width: 100%;
}

.ghg-public-chart-grid--national-trend .ghg-public-chart {
    min-height: clamp(18rem, 42vw, 31rem);
}

.ghg-public-chart svg {
    display: block;
    height: auto;
    max-width: 100%;
    width: 100%;
}

[data-chart-tooltip] {
    cursor: crosshair;
}

[data-chart-emphasis-target],
[data-chart-related-key],
.ghg-public-chart-legend li {
    transition:
        opacity var(--chart-emphasis-duration) var(--chart-motion-easing),
        filter var(--chart-emphasis-duration) var(--chart-motion-easing),
        background-color var(--chart-emphasis-duration) var(--chart-motion-easing);
}

[data-chart-related-key] {
    pointer-events: none;
}

.has-chart-emphasis .is-chart-dimmed {
    opacity: var(--chart-sibling-opacity, 1);
}

.has-chart-emphasis .is-chart-active {
    opacity: 1;
}

.has-chart-emphasis [data-chart-emphasis-target].is-chart-active:not([data-chart-hit-target]) {
    filter: drop-shadow(0 0 1.5px rgba(18, 50, 78, 0.7));
}

[data-chart-tooltip]:focus-visible {
    outline: 2px solid var(--ghg-public-focus-ring);
    outline-offset: 3px;
}

[data-chart-hit-target] {
    pointer-events: all;
}

.ghg-public-chart-annual-total-label {
    fill: var(--ghg-public-chart-total-label);
    font-variant-numeric: tabular-nums;
    pointer-events: none;
    stroke: var(--ghg-public-chart-total-halo);
    stroke-linejoin: round;
}

.ghg-public-chart-annual-total-label--positive,
.ghg-public-chart-annual-total-label--negative {
    dominant-baseline: auto;
}

.ghg-public-chart-tooltip {
    background: var(--ghg-public-tooltip-background);
    border: 1px solid rgba(196, 220, 239, 0.3);
    border-radius: 0.6rem;
    box-shadow: 0 0.7rem 1.6rem rgba(8, 30, 49, 0.24);
    color: var(--ghg-public-tooltip-text);
    left: 0;
    line-height: 1.35;
    max-width: min(17rem, calc(100% - 1rem));
    min-width: 9.5rem;
    opacity: 0;
    padding: 0.65rem 0.75rem;
    pointer-events: none;
    position: absolute;
    top: 0;
    transform: translateY(0.2rem);
    transition:
        opacity var(--chart-tooltip-duration) var(--chart-motion-easing),
        transform var(--chart-tooltip-duration) var(--chart-motion-easing),
        visibility 0s linear var(--chart-tooltip-duration);
    visibility: hidden;
    width: max-content;
    z-index: 8;
}

.ghg-public-chart-tooltip.is-visible {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    transition-delay: 0s;
}

.ghg-public-chart-tooltip__heading {
    align-items: flex-start;
    display: flex;
    gap: 0.45rem;
}

.ghg-public-chart-tooltip__marker {
    background: var(--chart-tooltip-series-color, #4f81bd);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    flex: 0 0 auto;
    height: 0.65rem;
    margin-top: 0.22rem;
    width: 0.65rem;
}

.ghg-public-chart-tooltip__label {
    color: #fff;
    font-size: 0.84rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.ghg-public-chart-tooltip__value-row {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    gap: 0.28rem;
    margin-top: 0.32rem;
    padding-left: 1.1rem;
}

.ghg-public-chart-tooltip__value {
    color: #fff;
    font-size: 1rem;
    font-variant-numeric: tabular-nums;
    font-weight: 800;
}

.ghg-public-chart-tooltip__unit {
    color: #d5e5f2;
    font-size: 0.78rem;
    font-weight: 600;
}

.ghg-public-chart-tooltip__secondary {
    border-top: 1px solid rgba(213, 229, 242, 0.2);
    margin: 0.55rem 0 0 1.1rem;
    padding-top: 0.5rem;
}

.ghg-public-chart-tooltip__secondary[hidden] {
    display: none;
}

.ghg-public-chart-tooltip__secondary-label {
    color: #d5e5f2;
    font-size: 0.76rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.ghg-public-chart-tooltip__secondary-value-row {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    gap: 0.28rem;
    margin-top: 0.2rem;
}

.ghg-public-chart-tooltip__secondary-value {
    color: #fff;
    font-size: 0.94rem;
    font-variant-numeric: tabular-nums;
    font-weight: 800;
}

.ghg-public-chart-tooltip__secondary-unit {
    color: #d5e5f2;
    font-size: 0.76rem;
    font-weight: 600;
}

.ghg-public-chart-tooltip__context {
    border-top: 1px solid rgba(213, 229, 242, 0.2);
    color: #c4d7e6;
    font-size: 0.74rem;
    font-weight: 500;
    margin: 0.45rem 0 0 1.1rem;
    padding-top: 0.4rem;
}

.ghg-public-chart-tooltip__context-label,
.ghg-public-chart-tooltip__context-value {
    display: block;
}

.ghg-public-chart-tooltip__context-label {
    font-weight: 700;
}

.ghg-public-chart-tooltip__context-value {
    color: #fff;
    font-variant-numeric: tabular-nums;
    margin-top: 0.08rem;
}

.ghg-public-chart-loading,
.ghg-public-chart-empty {
    align-items: center;
    background: var(--color-surface-soft);
    border-radius: var(--radius);
    color: var(--color-muted);
    display: flex;
    justify-content: center;
    margin: 0;
    min-height: 12rem;
    padding: 1rem;
    text-align: center;
    width: 100%;
}

.ghg-public-chart-table {
    border-top: 1px solid var(--color-border);
    contain: layout paint inline-size;
    margin-top: 0.75rem;
    max-width: 100%;
    min-width: 0;
    padding-top: 0.75rem;
    width: 100%;
}

.ghg-public-chart-card__footer {
    margin-top: auto;
    padding-top: 0.75rem;
}

.ghg-public-chart-card__separator {
    border-top: 1px solid var(--color-border);
    width: 100%;
}

.ghg-public-chart-card__actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    padding-top: 0.75rem;
}

.ghg-public-chart-data-trigger,
.ghg-public-chart-download-trigger {
    background: var(--color-surface);
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    font-weight: 700;
    min-height: var(--ghg-public-touch-target-min, 2.75rem);
    padding: 0.5rem 0.85rem;
}

.ghg-public-chart-download-trigger {
    align-items: center;
    display: inline-flex;
    gap: 0.4rem;
}

[data-home-chart-grid] .ghg-public-chart-title-row h3,
.ghg-public-chart-caption .ghg-public-chart-title-row h3 {
    font-size: clamp(1rem, 1.2vw, 1.12rem);
    line-height: 1.4;
}

[data-home-chart-grid] .ghg-public-chart-period,
[data-home-chart-grid] .ghg-public-chart-legend li,
.ghg-public-chart-caption .ghg-public-chart-period,
.ghg-public-chart-caption ~ .ghg-public-chart-legend li {
    color: var(--ghg-public-chart-meta-text);
    font-size: clamp(0.8rem, 0.9vw, 0.88rem);
    line-height: 1.45;
}

body.ghg-public-modal-open {
    overflow: hidden;
}

body.ghg-public-reporting-modal-open {
    overflow: hidden;
    position: fixed;
    top: var(--ghg-public-reporting-scroll-offset, 0);
    width: 100%;
}

.ghg-public-chart-modal[hidden] {
    display: none;
}

.ghg-public-chart-modal {
    align-items: center;
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 1rem;
    position: fixed;
    z-index: 1100;
}

.ghg-public-chart-modal-backdrop {
    background: rgba(15, 35, 42, 0.66);
    inset: 0;
    position: absolute;
}

.ghg-public-chart-modal-panel {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: 0 1.5rem 4rem rgba(15, 35, 42, 0.28);
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    max-height: calc(100dvh - 2rem);
    max-width: 60rem;
    min-width: 0;
    overflow: hidden;
    position: relative;
    width: min(60rem, calc(100vw - 2rem));
    z-index: 1;
}

.ghg-public-chart-modal-header {
    align-items: flex-start;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 1rem 1.1rem;
    position: sticky;
    top: 0;
    z-index: 2;
}

.ghg-public-chart-modal-header h2 {
    color: var(--color-text);
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    line-height: 1.25;
    margin: 0;
}

.ghg-public-chart-modal-meta {
    color: var(--color-muted);
    font-size: 0.82rem;
    margin: 0.35rem 0 0;
}

.ghg-public-chart-modal-actions {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    gap: 0.55rem;
    justify-content: flex-end;
}

.ghg-public-chart-modal-download {
    align-items: center;
    background: var(--ghg-public-action-background);
    border: 1px solid var(--ghg-public-action-border);
    color: #fff;
    display: inline-flex;
    font-weight: 700;
    gap: 0.4rem;
    min-height: var(--ghg-public-touch-target-min, 2.75rem);
    padding: 0.5rem 0.8rem;
}

.ghg-public-chart-modal-download:hover:not(:disabled) {
    filter: brightness(0.9);
}

.ghg-public-chart-modal-close {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    flex: 0 0 auto;
    font-weight: 700;
    min-height: var(--ghg-public-touch-target-min, 2.75rem);
    padding: 0.5rem 0.8rem;
}

.ghg-public-chart-modal-content {
    min-height: 0;
    overflow: hidden;
    padding: 1rem 1.1rem 1.1rem;
}

.ghg-public-chart-modal-table-wrap {
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    height: 100%;
    max-height: calc(100dvh - 9.5rem);
    max-width: 100%;
    overflow: auto;
}

.ghg-public-chart-modal-table {
    border-collapse: collapse;
    min-width: 44rem;
    width: 100%;
}

.ghg-public-chart-modal-table th,
.ghg-public-chart-modal-table td {
    border-bottom: 1px solid var(--color-border);
    padding: 0.7rem 0.8rem;
    text-align: right;
    vertical-align: top;
    white-space: nowrap;
}

.ghg-public-chart-modal-table thead th {
    background: var(--color-surface-soft);
    color: var(--color-muted);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    position: sticky;
    text-transform: none;
    top: 0;
    z-index: 1;
}

.ghg-public-chart-modal-table th:first-child {
    text-align: left;
}

.ghg-public-chart-modal-table td {
    font-variant-numeric: tabular-nums;
}

.ghg-public-reporting-trigger {
    align-items: center;
    background: var(--ghg-public-action-background);
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 0.8rem 0 0 0.8rem;
    box-shadow: 0 0.55rem 1.4rem rgba(13, 33, 55, 0.22);
    color: #fff;
    cursor: pointer;
    display: flex;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 750;
    height: 10.25rem;
    justify-content: center;
    min-width: 3.25rem;
    padding: 0;
    position: fixed;
    right: max(0.65rem, env(safe-area-inset-right));
    top: 50%;
    transform: translateY(-50%);
    transition: background-color 100ms ease, box-shadow 100ms ease;
    width: 3.25rem;
    z-index: 100;
}

.ghg-public-reporting-trigger:hover {
    background: var(--color-secondary);
    box-shadow: 0 0.7rem 1.7rem rgba(13, 33, 55, 0.28);
}

.ghg-public-reporting-trigger:focus-visible,
.ghg-public-reporting-modal__close:focus-visible,
.ghg-public-reporting-modal__workspace:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 3px;
}

.ghg-public-reporting-trigger:focus-visible {
    outline-color: #fff;
    outline-offset: -0.35rem;
}

.ghg-public-reporting-trigger__content {
    align-items: center;
    display: inline-flex;
    gap: 0.5rem;
    justify-content: center;
    transform: rotate(-90deg);
    white-space: nowrap;
}

.ghg-public-reporting-trigger__content i {
    flex: 0 0 auto;
    font-size: 0.95rem;
}

.ghg-public-reporting-trigger__mobile-label {
    display: none;
}

.ghg-public-reporting-modal[hidden] {
    display: none;
}

.ghg-public-reporting-modal {
    align-items: center;
    display: flex;
    inset: 0;
    justify-content: center;
    padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
    position: fixed;
    z-index: 1200;
}

.ghg-public-reporting-modal__backdrop {
    background: rgba(13, 33, 55, 0.72);
    inset: 0;
    position: absolute;
}

.ghg-public-reporting-modal__panel {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: 0 1.75rem 5rem rgba(13, 33, 55, 0.32);
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    height: 90dvh;
    min-height: 0;
    min-width: 0;
    overflow: hidden;
    position: relative;
    width: 96vw;
    z-index: 1;
}

.ghg-public-reporting-modal__header {
    align-items: center;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    display: flex;
    gap: 1.5rem;
    justify-content: space-between;
    padding: 1rem 1.2rem;
    z-index: 5;
}

.ghg-public-reporting-modal__header h2 {
    color: var(--color-text);
    font-size: clamp(1.25rem, 2vw, 1.65rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 0;
}

.ghg-public-reporting-modal__actions {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    gap: 0.65rem;
    margin-left: auto;
}

.ghg-public-reporting-modal__download {
    background: var(--ghg-public-action-background);
    border: 1px solid var(--ghg-public-action-border);
    color: #fff;
    font-weight: 750;
    min-height: var(--ghg-public-touch-target-min, 2.75rem);
    padding: 0.55rem 0.95rem;
}

.ghg-public-reporting-modal__download:hover {
    background: var(--ghg-public-hover-surface);
    border-color: var(--ghg-public-action-border);
    color: var(--color-primary);
}

.ghg-public-reporting-modal__download:focus-visible {
    outline: 3px solid var(--ghg-public-focus-ring);
    outline-offset: 2px;
}

.ghg-public-reporting-modal__download:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.ghg-public-reporting-modal__header p {
    color: var(--color-muted);
    font-size: 0.9rem;
    margin: 0.35rem 0 0;
}

.ghg-public-reporting-modal__header strong {
    color: var(--color-text);
    font-variant-numeric: tabular-nums;
}

.ghg-public-reporting-modal__close {
    background: var(--color-surface);
    border: 1px solid #b8c7d8;
    color: var(--color-text);
    flex: 0 0 auto;
    font-weight: 750;
    min-height: 2.75rem;
    padding: 0.55rem 0.95rem;
}

.ghg-public-reporting-modal__close:hover {
    background: var(--color-surface-soft);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.ghg-public-reporting-modal__workspace {
    min-height: 0;
    overflow: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
}

.ghg-public-reporting-modal__workspace--energy {
    overflow-x: hidden;
    overflow-y: auto;
}

.ghg-public-reporting-unavailable {
    color: var(--color-muted);
    margin: 0;
    padding: 1.5rem;
}

.ghg-public-reporting-notes {
    color: var(--color-muted);
    font-size: 0.875rem;
    padding: 0 1.25rem 1.25rem;
}

.ghg-public-reporting-notes p {
    margin: 0.75rem 0 0;
}

.ghg-public-reporting-table {
    border-collapse: separate;
    border-spacing: 0;
    min-width: 66rem;
    width: 100%;
}

.ghg-public-reporting-table th,
.ghg-public-reporting-table td {
    border-bottom: 1px solid var(--color-border);
    padding: 0.75rem 0.9rem;
    text-align: right;
    vertical-align: top;
}

.ghg-public-reporting-table thead th {
    background: #e8f0f8;
    color: #354d64;
    font-size: 0.8rem;
    font-weight: 750;
    letter-spacing: 0;
    line-height: 1.3;
    position: sticky;
    text-transform: none;
    top: 0;
    z-index: 3;
}

.ghg-public-reporting-table thead th:first-child {
    left: 0;
    min-width: 21rem;
    text-align: left;
    z-index: 4;
}

.ghg-public-reporting-column-label,
.ghg-public-reporting-column-unit {
    display: block;
}

.ghg-public-reporting-column-unit {
    color: #546b80;
    font-size: 0.76rem;
    font-weight: 600;
    margin-top: 0.18rem;
    text-transform: none;
}

.ghg-public-reporting-row {
    --ghg-reporting-row-surface: #fff;
}

.ghg-public-reporting-row > th,
.ghg-public-reporting-row > td {
    background: var(--ghg-reporting-row-surface);
}

.ghg-public-reporting-row.is-total {
    --ghg-reporting-row-surface: #e7f0fa;
    font-weight: 800;
}

.ghg-public-reporting-row.is-total > * {
    border-bottom-color: #b7c9dc;
    border-top: 1px solid #b7c9dc;
}

.ghg-public-reporting-row.is-category {
    --ghg-reporting-row-surface: #f0f5fa;
    font-weight: 700;
}

.ghg-public-reporting-row.is-leaf:nth-child(even) {
    --ghg-reporting-row-surface: #f8fafc;
}

.ghg-public-reporting-row:hover {
    --ghg-reporting-row-surface: #eaf4fd;
}

.ghg-public-reporting-table tbody th {
    background: var(--ghg-reporting-row-surface);
    color: var(--color-text);
    left: 0;
    max-width: 34rem;
    min-width: 21rem;
    overflow-wrap: anywhere;
    padding-left: calc(0.9rem + (var(--ghg-reporting-depth, 0) * 0.72rem));
    position: sticky;
    text-align: left;
    white-space: normal;
    z-index: 2;
}

.ghg-public-reporting-table tbody th::after {
    background: rgba(90, 112, 135, 0.15);
    content: "";
    inset: 0 0 0 auto;
    position: absolute;
    width: 1px;
}

.ghg-public-reporting-value {
    font-variant-numeric: tabular-nums;
    min-width: 9.5rem;
    text-align: right;
    white-space: nowrap;
}

.ghg-public-reporting-value.is-negative {
    color: #176348;
    font-weight: 750;
}

.ghg-public-reporting-section {
    contain: paint;
    isolation: isolate;
    padding: 1.15rem 1.25rem 0;
    position: relative;
}

.ghg-public-reporting-section:last-child {
    padding-bottom: 1.25rem;
}

.ghg-public-reporting-section + .ghg-public-reporting-section {
    border-top: 1px solid #c4d2e0;
    margin-top: 1.4rem;
    padding-top: 1.35rem;
}

.ghg-public-reporting-section > h3 {
    color: var(--color-text);
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.25;
    margin: 0 0 0.8rem;
}

.ghg-public-reporting-table-scroll {
    border: 1px solid #c7d4e1;
    border-radius: calc(var(--radius) * 0.8);
    max-width: 100%;
    outline-offset: 0.2rem;
}

.ghg-public-reporting-table-scroll:focus-visible {
    box-shadow: 0 0 0 3px rgba(34, 118, 179, 0.2);
    outline: 2px solid var(--color-primary);
}

.ghg-public-reporting-table-scroll .ghg-public-reporting-table th,
.ghg-public-reporting-table-scroll .ghg-public-reporting-table td {
    padding-block: 0.68rem;
}

.ghg-public-fuel-matrix {
    min-width: 52rem;
}

.ghg-public-fuel-matrix thead th:first-child,
.ghg-public-fuel-matrix tbody th {
    min-width: 18rem;
}

.ghg-public-fuel-matrix .ghg-public-reporting-value {
    min-width: 10.5rem;
}

.ghg-public-fuel-matrix .ghg-public-reporting-value.is-blank {
    color: transparent;
}

@media (max-width: 70rem) {
    .ghg-public-reporting-table-scroll {
        overflow-x: auto;
        overflow-y: clip;
        overscroll-behavior-inline: contain;
        scrollbar-gutter: stable;
    }

    .ghg-public-reporting-table-scroll .ghg-public-reporting-table thead th {
        position: static;
    }

    .ghg-public-reporting-table-scroll .ghg-public-reporting-table thead th:first-child,
    .ghg-public-reporting-table-scroll .ghg-public-reporting-table tbody th {
        left: auto;
        position: static;
    }
}

@media (min-width: 70.0625rem) {
    .ghg-public-reporting-section .ghg-public-reporting-table thead th {
        top: 0;
    }
}

.ghg-public-chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.9rem;
    list-style: none;
    margin: 0.75rem 0 0;
    padding: 0;
}

.ghg-public-chart-legend li {
    align-items: center;
    color: var(--color-muted);
    display: inline-flex;
    font-size: 0.76rem;
    gap: 0.35rem;
}

.ghg-public-chart-legend li.is-chart-active {
    background: rgba(18, 50, 78, 0.08);
    border-radius: 0.25rem;
    color: #12324e;
    font-weight: 700;
    outline: 1px solid rgba(18, 50, 78, 0.14);
    outline-offset: 2px;
}

.ghg-public-chart-legend li.is-chart-dimmed {
    opacity: var(--chart-sibling-opacity);
}

.ghg-public-chart-legend-swatch {
    background: var(--chart-swatch-color);
    border: 1px solid rgba(31, 73, 125, 0.24);
    border-color: var(
        --chart-swatch-border-color,
        rgba(31, 73, 125, 0.24)
    );
    border-radius: 0.15rem;
    display: inline-block;
    flex: 0 0 auto;
    height: 0.7rem;
    width: 0.7rem;
}

.ghg-public-chart-table summary {
    color: var(--color-primary);
    cursor: pointer;
    font-weight: 700;
}

.ghg-public-chart-table .ghg-public-table-wrap {
    margin-top: 0.75rem;
    max-height: 24rem;
}

.ghg-public-mini-tables {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ghg-public-mini-tables article {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    min-width: 0;
    padding: 1rem;
}

.ghg-public-mini-tables h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
}

.ghg-public-mini-tables table {
    min-width: 24rem;
}

.ghg-public-state {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    margin: 3rem auto;
    max-width: 40rem;
    padding: 2rem;
    text-align: center;
}

.ghg-public-state .page-title {
    font-size: 2rem;
    margin: 0 0 0.75rem;
}

.ghg-public-state p {
    color: var(--color-muted);
    margin: 0 0 1rem;
}

.ghg-public-year-toolbar select:focus-visible,
.ghg-public-year-toolbar button:focus-visible,
.ghg-public-trend-toolbar select:focus-visible,
.ghg-public-trend-toolbar button:focus-visible,
.ghg-public-table-wrap:focus-visible,
.ghg-public-chart-table summary:focus-visible,
.ghg-public-chart-data-trigger:focus-visible,
.ghg-public-chart-download-trigger:focus-visible,
.ghg-public-chart-modal-close:focus-visible,
.ghg-public-chart-modal-table-wrap:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
}

@media (max-width: 1000px) {
    .ghg-public-page-header--with-flag {
        align-items: stretch;
        flex-direction: column;
        gap: 1rem;
    }

    .ghg-public-page-header--with-flag .ghg-public-year-toolbar {
        align-self: flex-end;
    }

    .ghg-public-kpi-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ghg-public-mini-tables {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 1280px) {
    .ghg-public-kpi-grid--emissions {
        grid-template-columns: repeat(7, minmax(0, 1fr));
    }

    .ghg-public-kpi-grid--emissions .ghg-public-kpi {
        padding-inline: 0.8rem;
    }

    .ghg-public-kpi-grid--emissions .ghg-public-kpi-value {
        font-size: clamp(1.2rem, 1.45vw, 1.45rem);
        letter-spacing: -0.015em;
    }
}

@media (max-width: 760px) {
    .ghg-public-dashboard--with-reporting-trigger {
        padding-bottom: calc(5.5rem + env(safe-area-inset-bottom));
    }

    .ghg-public-reporting-trigger {
        border-radius: 0.75rem;
        bottom: max(0.75rem, env(safe-area-inset-bottom));
        height: auto;
        left: 50%;
        min-height: 3rem;
        right: auto;
        top: auto;
        transform: translateX(-50%);
        width: min(22rem, calc(100vw - 2rem));
    }

    .ghg-public-reporting-trigger__content {
        gap: 0.45rem;
        transform: none;
    }

    .ghg-public-reporting-trigger__desktop-label {
        display: none;
    }

    .ghg-public-reporting-trigger__mobile-label {
        display: inline;
    }

    .ghg-public-page-header {
        align-items: stretch;
        flex-direction: column;
        gap: 1rem;
    }

    .ghg-public-year-toolbar {
        min-width: 0;
        width: 100%;
    }

    .ghg-public-page-header--with-flag .ghg-public-year-toolbar {
        align-self: stretch;
    }

    .ghg-public-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ghg-public-chart-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .ghg-public-chart-grid--national-trend .ghg-public-chart {
        min-height: clamp(13rem, 56vw, 20rem);
    }

    .ghg-public-section + .ghg-public-section {
        margin-top: 1.75rem;
    }
}

@media (max-width: 640px) {
    .ghg-public-reporting-modal {
        padding: 0;
    }

    .ghg-public-reporting-modal__panel {
        border: 0;
        border-radius: 0;
        height: 100dvh;
        width: 100vw;
    }

    .ghg-public-reporting-modal__header {
        align-items: flex-start;
        gap: 0.75rem;
        padding: max(0.8rem, env(safe-area-inset-top)) max(0.8rem, env(safe-area-inset-right)) 0.8rem max(0.8rem, env(safe-area-inset-left));
    }

    .ghg-public-reporting-modal__header h2 {
        font-size: 1.15rem;
    }

    .ghg-public-reporting-modal__workspace {
        padding-bottom: env(safe-area-inset-bottom);
    }

    .ghg-public-reporting-modal__close {
        min-height: 2.75rem;
        padding-inline: 0.75rem;
    }

    .ghg-public-reporting-table {
        min-width: 52rem;
    }

    .ghg-public-reporting-table thead th:first-child {
        left: auto;
        min-width: 16rem;
    }

    .ghg-public-reporting-table tbody th {
        left: auto;
        min-width: 16rem;
        position: static;
    }

    .ghg-public-reporting-section {
        padding: 1rem 0.8rem;
    }

    .ghg-public-reporting-section + .ghg-public-reporting-section {
        margin-top: 0.75rem;
        padding-top: 1rem;
    }

    .ghg-public-fuel-matrix {
        min-width: 46rem;
    }

    .ghg-public-section-heading--with-controls {
        align-items: stretch;
        flex-direction: column;
    }

    .ghg-public-trend-toolbar,
    .ghg-public-trend-controls {
        width: 100%;
    }

    .ghg-public-trend-controls {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
}

@media (max-width: 520px) {
    .ghg-public-title-block--with-flag {
        align-items: start;
        grid-template-columns: minmax(0, 1fr);
    }

    .ghg-public-page-flag {
        width: min(8rem, 50vw);
    }

    .ghg-public-support-footer {
        align-items: center;
        flex-direction: column;
        gap: 0.9rem;
        padding-top: 1rem;
    }

    .ghg-public-kpi-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .ghg-public-year-controls {
        align-items: stretch;
        flex-direction: column;
    }

    .ghg-public-year-controls .btn {
        width: 100%;
    }

    .ghg-public-trend-status {
        grid-column: 1 / -1;
        justify-self: start;
        min-width: 0;
        white-space: normal;
    }

    .ghg-public-trend-controls {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    }

    .ghg-public-trend-field .form-select {
        width: 100%;
    }

    .ghg-public-trend-controls .btn {
        grid-column: 1 / -1;
        width: 100%;
    }

    .ghg-public-chart-card,
    .ghg-public-kpi,
    .ghg-public-mini-tables article {
        padding: 0.9rem;
    }

    .ghg-public-chart-period {
        margin-left: 0;
    }

    .ghg-public-chart-modal {
        padding: 0.4rem;
    }

    .ghg-public-chart-modal-panel {
        max-height: calc(100dvh - 0.8rem);
        width: calc(100vw - 0.8rem);
    }

    .ghg-public-chart-modal-header {
        align-items: stretch;
        flex-direction: column;
        padding: 0.8rem;
    }

    .ghg-public-chart-modal-actions {
        justify-content: flex-start;
    }

    .ghg-public-chart-modal-content {
        padding: 0.75rem 0.8rem 0.8rem;
    }

    .ghg-public-chart-modal-table-wrap {
        max-height: calc(100dvh - 8rem);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ghg-public-dashboard * {
        scroll-behavior: auto;
    }

    [data-chart-emphasis-target],
    [data-chart-related-key],
    .ghg-public-chart-legend li,
    .ghg-public-chart-tooltip {
        transition-duration: 1ms !important;
    }

    .ghg-public-chart-tooltip {
        transform: none;
    }
}

/* Home-only national infographic. Sector dashboards retain the shared KPI grid. */
.ghg-public-home-hero {
    --ghg-hero-muted: #5f738c;
    background: #f4f8fc;
    border: 1px solid var(--color-border);
    border-radius: 1.25rem;
    box-shadow: 0 0.8rem 2.2rem rgba(13, 33, 55, 0.08);
    color: var(--color-text);
    max-width: 100%;
    min-width: 0;
    padding: clamp(1.25rem, 2.7vw, 2.15rem);
    position: relative;
    width: 100%;
}

.ghg-public-home-hero--split {
    color-scheme: light;
}

.ghg-public-home-hero--readable {
    --ghg-hero-small-text: 0.8125rem;
}

.ghg-public-home-hero + .ghg-public-section {
    margin-top: 2.25rem;
}

.ghg-public-home-hero__header {
    margin-bottom: 1rem;
}

.ghg-public-home-hero__title-row {
    align-items: flex-start;
    display: flex;
    justify-content: flex-start;
}

.ghg-public-home-hero__title-row--with-controls {
    align-items: center;
    gap: 1rem;
    justify-content: space-between;
}

.ghg-public-home-hero__eyebrow {
    color: var(--color-primary);
    font-size: var(--ghg-hero-small-text);
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: 0.09em;
    margin: 0 0 0.3rem;
    text-transform: uppercase;
}

.ghg-public-home-hero__header h2 {
    color: var(--color-secondary);
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
    letter-spacing: -0.025em;
    line-height: 1.15;
    margin: 0;
}

.ghg-public-home-hero__context {
    background: rgba(255, 255, 255, 0.8);
    border-block: 1px solid #d7e2ee;
    margin-top: 0.85rem;
    padding: 0.65rem 0.75rem;
}

.ghg-public-home-hero__context > h3,
.ghg-public-home-hero__gases > h3,
.ghg-public-home-hero__sectors > h3 {
    color: var(--ghg-hero-muted);
    font-size: var(--ghg-hero-small-text);
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1.35;
    margin: 0 0 0.8rem;
}

.ghg-public-home-hero__context > h3 {
    margin-bottom: 0.55rem;
}

.ghg-public-home-hero__context-strip {
    display: grid;
    grid-template-columns: 0.85fr 1.25fr 1fr 1fr;
}

.ghg-public-home-hero__context-strip article {
    align-items: center;
    display: flex;
    gap: 0.55rem;
    min-width: 0;
    padding: 0 0.85rem;
}

.ghg-public-home-hero__context-strip article:first-child {
    padding-left: 0;
}

.ghg-public-home-hero__context-strip article + article {
    border-left: 1px solid #d7e2ee;
}

.ghg-public-home-hero__source {
    align-items: baseline;
    border-top: 1px solid #d7e2ee;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 0.55rem;
    margin: 0.75rem 0 0;
    padding: 0.7rem 0 0.1rem;
}

.ghg-public-home-hero__source-label {
    color: var(--ghg-hero-muted);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.ghg-public-home-hero__source-value {
    color: var(--color-secondary);
    font-size: 0.86rem;
    font-weight: 650;
    line-height: 1.45;
}

.ghg-public-home-hero__context-strip article > div,
.ghg-public-home-hero__headline > div,
.ghg-public-home-hero__supporting-list article > div,
.ghg-public-home-hero__gas-grid article > div {
    min-width: 0;
}

.ghg-public-home-hero__context-icon,
.ghg-public-home-hero__gas-icon,
.ghg-public-home-hero__metric-icon {
    align-items: center;
    border-radius: 0.55rem;
    display: inline-flex;
    flex: 0 0 auto;
    justify-content: center;
}

.ghg-public-kpi-icon-svg {
    color: inherit;
    display: block;
    height: 1em;
    overflow: visible;
    width: 1em;
}

.ghg-public-home-hero__context-icon,
.ghg-public-home-hero__gas-icon,
.ghg-public-sector-kpis__context-icon,
.ghg-public-sector-kpis__gas-icon {
    --ghg-icon-surface-color: var(--color-surface);
}

.ghg-public-home-hero__metric-icon,
.ghg-public-home-hero__small-icon,
.ghg-public-sector-kpis__primary-icon,
.ghg-public-sector-kpis__supporting-icon {
    --ghg-icon-surface-color: var(--color-secondary);
}

.ghg-public-home-hero__metric-icon .ghg-public-kpi-icon-svg,
.ghg-public-sector-kpis__primary-icon .ghg-public-kpi-icon-svg {
    height: var(--ghg-customer-icon-primary-size);
    width: var(--ghg-customer-icon-primary-size);
}

.ghg-public-home-hero__small-icon .ghg-public-kpi-icon-svg,
.ghg-public-sector-kpis__context-icon .ghg-public-kpi-icon-svg,
.ghg-public-sector-kpis__supporting-icon .ghg-public-kpi-icon-svg {
    height: var(--ghg-customer-icon-supporting-size);
    width: var(--ghg-customer-icon-supporting-size);
}

.ghg-public-home-hero__gas-icon .ghg-public-kpi-icon-svg,
.ghg-public-sector-kpis__gas-icon .ghg-public-kpi-icon-svg {
    height: var(--ghg-customer-icon-gas-size);
    width: var(--ghg-customer-icon-gas-size);
}

.ghg-public-home-hero__context-icon {
    color: var(--color-primary);
    font-size: 0.78rem;
    height: var(--ghg-country-context-icon-box);
    width: var(--ghg-country-context-icon-box);
}

.ghg-public-home-hero__context-icon .ghg-public-kpi-icon-svg {
    height: var(--ghg-country-context-icon-size);
    width: var(--ghg-country-context-icon-size);
}

.ghg-public-home-hero__context h4,
.ghg-public-home-hero__sector-grid h4 {
    color: var(--ghg-hero-muted);
    font-size: var(--ghg-hero-small-text);
    font-weight: 650;
    line-height: 1.35;
    margin: 0 0 0.25rem;
}

.ghg-public-overview-value {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    font-variant-numeric: tabular-nums;
    gap: 0.18rem 0.38rem;
    margin: 0;
    min-width: 0;
}

.ghg-public-overview-value.is-numeric {
    flex-wrap: nowrap;
    max-width: 100%;
    white-space: nowrap;
}

.ghg-public-overview-value__number {
    color: var(--color-secondary);
    font-size: clamp(1.25rem, 1.7vw, 1.55rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.1;
    white-space: nowrap;
}

.ghg-public-overview-value__unit {
    color: var(--ghg-hero-muted);
    font-size: var(--ghg-hero-small-text);
    font-weight: 600;
    line-height: 1.25;
    white-space: nowrap;
}

.ghg-public-overview-value--context .ghg-public-overview-value__number {
    font-size: clamp(0.9rem, 1.3vw, 1.05rem);
    letter-spacing: -0.01em;
}

.ghg-public-overview-value--context .ghg-public-overview-value__unit {
    font-size: var(--ghg-hero-small-text);
}

.ghg-public-overview-value--context.is-text .ghg-public-overview-value__number {
    font-size: 0.92rem;
    letter-spacing: 0;
    line-height: 1.25;
    white-space: normal;
}

.ghg-public-home-hero__main {
    display: grid;
    gap: clamp(0.9rem, 1.8vw, 1.25rem);
    grid-template-columns: minmax(0, 0.44fr) minmax(0, 0.56fr);
}

.ghg-public-home-hero__national {
    background: var(--color-secondary);
    border-radius: 1rem;
    box-shadow: 0 0.75rem 1.8rem rgba(13, 33, 55, 0.14);
    min-width: 0;
    padding: clamp(1.15rem, 2vw, 1.55rem);
}

.ghg-public-home-hero__headline {
    align-items: flex-start;
    display: flex;
    gap: 0.9rem;
    min-width: 0;
}

.ghg-public-home-hero__metric-icon {
    background: rgba(79, 129, 189, 0.24);
    border: 1px solid rgba(174, 213, 238, 0.24);
    border-radius: 0.75rem;
    color: #aed5ee;
    font-size: 1rem;
    height: 2.5rem;
    margin-top: 0.2rem;
    width: 2.5rem;
}

.ghg-public-home-hero__headline h3 {
    color: #acd8e4;
    font-size: var(--ghg-hero-small-text);
    line-height: 1.35;
    letter-spacing: 0.08em;
    margin: 0 0 0.45rem;
    text-transform: uppercase;
}

.ghg-public-overview-value--headline .ghg-public-overview-value__number {
    color: #ffffff;
    font-size: clamp(2.35rem, 4.05vw, 3.65rem);
    letter-spacing: -0.045em;
}

.ghg-public-overview-value--headline {
    gap: 0.1rem 0.25rem;
}

.ghg-public-overview-value--headline .ghg-public-overview-value__unit {
    color: #a9d9e6;
    font-size: clamp(0.88rem, 1.25vw, 1rem);
    line-height: 1;
}

.ghg-public-home-hero__headline-context {
    color: #d2e7ec;
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0.65rem 0 0;
}

.ghg-public-home-hero__supporting {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    margin-top: clamp(1.25rem, 2.5vw, 2rem);
    padding-top: 1rem;
}

.ghg-public-home-hero__supporting > h3 {
    color: #a9d9e6;
    font-size: var(--ghg-hero-small-text);
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1.35;
    margin: 0 0 0.8rem;
}

.ghg-public-home-hero__supporting h4 {
    color: #bddde5;
    font-size: var(--ghg-hero-small-text);
    font-weight: 650;
    line-height: 1.35;
    margin: 0 0 0.25rem;
}

.ghg-public-home-hero__supporting-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ghg-public-home-hero__supporting-list article {
    align-items: flex-start;
    display: flex;
    gap: 0.55rem;
    min-width: 0;
    padding-right: 0.85rem;
}

.ghg-public-home-hero__supporting-list article + article {
    border-left: 1px solid rgba(255, 255, 255, 0.13);
    padding-left: 0.85rem;
    padding-right: 0;
}

.ghg-public-home-hero__small-icon {
    color: #8ccada;
    flex: 0 0 auto;
    font-size: 0.76rem;
}

/* National Share is the sector headline comparison metric; keep it as
   prominent as Net Emissions in every public and live-preview module. */
.ghg-public-sector-kpis__supporting-item--national-share
    .ghg-public-sector-kpis__supporting-icon .ghg-public-kpi-icon-svg {
    height: var(--ghg-customer-icon-primary-size);
    width: var(--ghg-customer-icon-primary-size);
}

.ghg-public-sector-kpis__supporting-item--national-share
    .ghg-public-overview-value__number {
    font-size: clamp(2.35rem, 4.05vw, 3.65rem);
    letter-spacing: -0.045em;
}

.ghg-public-overview-value--supporting .ghg-public-overview-value__number {
    color: #ffffff;
    font-size: clamp(1.15rem, 1.7vw, 1.45rem);
}

.ghg-public-overview-value--supporting .ghg-public-overview-value__unit {
    color: #c8e1e8;
    font-size: var(--ghg-hero-small-text);
}

.ghg-public-home-hero__gases {
    background: var(--color-surface);
    border: 1px solid #d7e2ee;
    border-radius: 1rem;
    min-width: 0;
    padding: clamp(1rem, 1.8vw, 1.35rem);
}

.ghg-public-home-hero__gas-grid {
    display: grid;
    grid-auto-rows: minmax(0, 1fr);
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ghg-public-home-hero__gas-grid article {
    align-items: flex-start;
    border-top: 1px solid #dce6f0;
    display: flex;
    gap: 0.65rem;
    min-width: 0;
    padding: 0.95rem 1rem 0.95rem 0;
    position: relative;
}

.ghg-public-home-hero__gas-grid article:nth-child(even) {
    border-left: 1px solid #dce6f0;
    padding-left: 1rem;
    padding-right: 0;
}

.ghg-public-home-hero__gas-grid article::before {
    background: var(--ghg-hero-gas-color);
    border-radius: 999px;
    content: "";
    height: 0.18rem;
    left: 0;
    position: absolute;
    top: -0.09rem;
    width: 2.3rem;
}

.ghg-public-home-hero__gas-grid article:nth-child(even)::before {
    left: 1rem;
}

.ghg-public-home-hero__gas-grid article > div {
    display: flex;
    flex-direction: column;
    min-height: 5.75rem;
}

.ghg-public-home-hero__gas-icon {
    border: 1px solid var(--ghg-hero-gas-color);
    color: var(--ghg-hero-gas-color);
    font-size: 0.72rem;
    height: 1.75rem;
    width: 1.75rem;
}

.ghg-public-home-hero__gas-formula {
    color: var(--color-secondary);
    font-size: clamp(1.05rem, 1.65vw, 1.3rem);
    font-weight: 800;
    letter-spacing: -0.015em;
    line-height: 1.15;
    margin: 0 0 0.4rem;
}

.ghg-public-overview-value--gas .ghg-public-overview-value__number {
    color: var(--color-secondary);
    font-size: clamp(1.05rem, 1.65vw, 1.35rem);
}

.ghg-public-overview-value--gas .ghg-public-overview-value__unit {
    color: var(--ghg-hero-muted);
    font-size: var(--ghg-hero-small-text);
}

.ghg-public-home-hero__gas-description {
    color: var(--ghg-hero-muted);
    font-size: var(--ghg-hero-small-text);
    line-height: 1.4;
    margin: 0.5rem 0 0;
}

.ghg-public-home-hero__sectors {
    background: rgba(255, 255, 255, 0.78);
    border-block: 1px solid #d7e2ee;
    margin-top: 1rem;
    padding: 0.8rem 0.75rem;
}

.ghg-public-home-hero__sector-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ghg-public-home-hero__sector-grid article {
    min-width: 0;
    padding: 0.15rem 1rem 0.05rem;
}

.ghg-public-home-hero__sector-grid article:first-child {
    padding-left: 0;
}

.ghg-public-home-hero__sector-grid article + article {
    border-left: 1px solid #d7e2ee;
}

.ghg-public-home-hero__sector-marker {
    background: var(--ghg-hero-sector-color);
    border-radius: 999px;
    display: block;
    height: 0.2rem;
    margin-bottom: 0.5rem;
    width: 2.25rem;
}

.ghg-public-home-hero__sector-grid p {
    align-items: baseline;
    display: flex;
    font-variant-numeric: tabular-nums;
    gap: 0.15rem 0.3rem;
    line-height: 1.2;
    margin: 0;
    min-height: 1.6rem;
}

.ghg-public-home-hero__sector-grid p span:first-child {
    font-size: clamp(1rem, 1.65vw, 1.25rem);
    font-weight: 800;
    white-space: nowrap;
}

.ghg-public-home-hero__sector-grid p span:last-child {
    color: var(--ghg-hero-muted);
    font-size: var(--ghg-hero-small-text);
    font-weight: 600;
    white-space: nowrap;
}

.ghg-public-overview-unavailable {
    color: var(--ghg-hero-muted);
    font-size: 0.82rem;
    font-weight: 600;
    margin: 0;
}

@media (max-width: 1000px) {
    .ghg-public-home-hero__main {
        gap: 1.25rem;
        grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    }

    .ghg-public-home-hero__national {
        padding: 1.25rem;
    }

    .ghg-public-overview-value--headline .ghg-public-overview-value__number {
        font-size: clamp(2.05rem, 4.25vw, 3rem);
    }

    .ghg-public-home-hero__gas-icon {
        display: none;
    }
}

@media (max-width: 760px) {
    .ghg-public-home-hero__title-row {
        flex-direction: column;
    }

    .ghg-public-home-hero__title-row--with-controls {
        align-items: stretch;
    }

    .ghg-public-home-hero__context-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 0.65rem;
    }

    .ghg-public-home-hero__context-strip article {
        padding-left: 0;
    }

    .ghg-public-home-hero__context-strip article + article {
        border-left: 0;
    }

    .ghg-public-home-hero__context-strip article:last-child {
        border-top: 1px solid #d7e2ee;
        grid-column: 1 / -1;
        padding-top: 0.6rem;
    }

    .ghg-public-home-hero__main {
        grid-template-columns: minmax(0, 1fr);
    }

    .ghg-public-home-hero__national {
        padding: 1.25rem;
    }

    .ghg-public-home-hero__gas-icon {
        display: inline-flex;
    }

    .ghg-public-home-hero__sector-grid {
        gap: 0.9rem 0;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ghg-public-home-hero__sector-grid article,
    .ghg-public-home-hero__sector-grid article:first-child {
        padding: 0.1rem 0.8rem 0.1rem 0;
    }

    .ghg-public-home-hero__sector-grid article:nth-child(even) {
        border-left: 1px solid #d7e2ee;
        padding-left: 0.8rem;
    }

    .ghg-public-home-hero__sector-grid article:nth-child(3) {
        border-left: 0;
    }
}

@media (max-width: 520px) {
    .ghg-public-home-hero {
        border-radius: 1rem;
        padding: 1rem;
    }

    .ghg-public-home-hero__context-strip,
    .ghg-public-home-hero__supporting-list,
    .ghg-public-home-hero__gas-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .ghg-public-home-hero__context-strip article,
    .ghg-public-home-hero__context-strip article:first-child,
    .ghg-public-home-hero__context-strip article:last-child {
        border-top: 1px solid #d7e2ee;
        grid-column: auto;
        padding: 0.55rem 0 0;
    }

    .ghg-public-home-hero__context-strip article:first-child {
        border-top: 0;
        padding-top: 0;
    }

    .ghg-public-home-hero__source {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.18rem;
    }

    .ghg-public-home-hero__headline {
        gap: 0.7rem;
    }

    .ghg-public-home-hero__metric-icon {
        height: var(--ghg-customer-icon-primary-mobile-container-size);
        width: var(--ghg-customer-icon-primary-mobile-container-size);
    }

    .ghg-public-overview-value--headline .ghg-public-overview-value__number {
        font-size: clamp(1.85rem, 10vw, 2.55rem);
    }

    .ghg-public-home-hero__supporting-list article,
    .ghg-public-home-hero__supporting-list article + article {
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.11);
        padding: 0.7rem 0 0;
    }

    .ghg-public-home-hero__supporting-list article:first-child {
        border-top: 0;
        padding-top: 0;
    }

    .ghg-public-home-hero__gas-grid article,
    .ghg-public-home-hero__gas-grid article:nth-child(even) {
        border-left: 0;
        border-top-color: #dce6f0;
        padding: 0.8rem 0;
    }

    .ghg-public-home-hero__gas-grid article:nth-child(even)::before {
        left: 0;
    }

    .ghg-public-home-hero__gas-grid article > div {
        min-height: 0;
    }
}

@media (max-width: 390px) {
    .ghg-public-overview-value--headline.is-numeric {
        flex-wrap: wrap;
        white-space: normal;
    }

    .ghg-public-home-hero__sector-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .ghg-public-home-hero__sector-grid article,
    .ghg-public-home-hero__sector-grid article:first-child,
    .ghg-public-home-hero__sector-grid article:nth-child(even),
    .ghg-public-home-hero__sector-grid article:nth-child(3) {
        border-left: 0;
        border-top: 1px solid #d7e2ee;
        padding: 0.6rem 0 0;
    }

    .ghg-public-home-hero__sector-grid article:first-child {
        border-top: 0;
        padding-top: 0;
    }
}

/* Shared Home-inspired presentation for sector Key indicators only. */
.ghg-public-sector-kpis {
    --ghg-sector-kpi-muted: #5f738c;
    --ghg-sector-national-share-icon-size: 1.4375rem;
    --ghg-sector-national-share-label-size: 0.9375rem;
    --ghg-sector-national-share-value-size: clamp(2rem, 3.8vw, 3.3rem);
    background: #f4f8fc;
    border: 1px solid var(--color-border);
    border-radius: 1.25rem;
    box-shadow: 0 0.8rem 2.2rem rgba(13, 33, 55, 0.08);
    max-width: 100%;
    min-width: 0;
    padding: clamp(1rem, 2.2vw, 1.6rem);
}

.ghg-public-sector-kpis__context {
    background: rgba(255, 255, 255, 0.82);
    border-block: 1px solid #d7e2ee;
    margin-bottom: 1rem;
    padding: 0.7rem 0.8rem;
}

.ghg-public-sector-kpis__context > h3,
.ghg-public-sector-kpis__gases > h3 {
    color: var(--ghg-sector-kpi-muted);
    font-size: 0.8125rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1.35;
    margin: 0 0 0.75rem;
}

.ghg-public-sector-kpis__context-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
}

.ghg-public-sector-kpis__context-list article,
.ghg-public-sector-kpis__primary-heading,
.ghg-public-sector-kpis__supporting-list article,
.ghg-public-sector-kpis__gas-grid article {
    align-items: flex-start;
    display: flex;
    min-width: 0;
}

.ghg-public-sector-kpis__context-list article {
    align-items: center;
    gap: 0.6rem;
}

.ghg-public-sector-kpis__context-list article > div,
.ghg-public-sector-kpis__primary-heading > div,
.ghg-public-sector-kpis__supporting-list article > div,
.ghg-public-sector-kpis__gas-grid article > div {
    min-width: 0;
}

.ghg-public-sector-kpis__context-icon,
.ghg-public-sector-kpis__primary-icon,
.ghg-public-sector-kpis__gas-icon {
    align-items: center;
    border-radius: 0.6rem;
    display: inline-flex;
    flex: 0 0 auto;
    justify-content: center;
}

.ghg-public-sector-kpis__context-icon {
    color: var(--color-primary);
    font-size: 0.82rem;
    height: 1.6rem;
    width: 1.6rem;
}

.ghg-public-sector-kpis__context h4 {
    color: var(--ghg-sector-kpi-muted);
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 0.25rem;
}

.ghg-public-sector-kpis__main {
    display: grid;
    gap: clamp(0.9rem, 1.8vw, 1.25rem);
    grid-template-columns: minmax(17rem, 0.42fr) minmax(0, 0.58fr);
    min-width: 0;
}

.ghg-public-sector-kpis__primary {
    background: var(--color-secondary);
    border: 1px solid rgba(174, 213, 238, 0.16);
    border-radius: 1rem;
    box-shadow: 0 0.75rem 1.8rem rgba(13, 33, 55, 0.14);
    min-width: 0;
    padding: clamp(1.15rem, 2vw, 1.55rem);
}

.ghg-public-sector-kpis__primary-heading {
    gap: 0.9rem;
}

.ghg-public-sector-kpis__primary-icon {
    background: rgba(79, 129, 189, 0.24);
    border: 1px solid rgba(174, 213, 238, 0.24);
    color: #aed5ee;
    font-size: 1rem;
    height: 2.5rem;
    margin-top: 0.15rem;
    width: 2.5rem;
}

.ghg-public-sector-kpis__primary h3 {
    color: #acd8e4;
    font-size: 0.8125rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.35;
    margin: 0 0 0.45rem;
    text-transform: uppercase;
}

.ghg-public-overview-value--sector-primary {
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 0.15rem 0.35rem;
}

.ghg-public-overview-value--sector-primary .ghg-public-overview-value__number {
    color: #ffffff;
    font-size: clamp(2rem, 3.8vw, 3.3rem);
    letter-spacing: -0.045em;
}

.ghg-public-overview-value--sector-primary .ghg-public-overview-value__unit {
    color: #a9d9e6;
    font-size: clamp(0.85rem, 1.15vw, 1rem);
    padding-bottom: 0.15rem;
}

.ghg-public-sector-kpis__supporting {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    margin-top: clamp(1.25rem, 2.5vw, 2rem);
    padding-top: 1rem;
}

.ghg-public-sector-kpis__supporting > h4 {
    color: #a9d9e6;
    font-size: 0.8125rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1.35;
    margin: 0 0 0.75rem;
}

.ghg-public-sector-kpis__supporting-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
}

.ghg-public-sector-kpis__supporting-list article {
    gap: 0.55rem;
}

.ghg-public-sector-kpis__supporting-icon {
    color: #8ccada;
    flex: 0 0 auto;
    font-size: 0.76rem;
}

.ghg-public-sector-kpis__supporting-item--national-share
    .ghg-public-sector-kpis__supporting-icon .ghg-public-kpi-icon-svg {
    height: 2.5rem;
    width: 2.5rem;
}

.ghg-public-sector-kpis__supporting h5 {
    color: #bddde5;
    font-size: 0.8125rem;
    font-weight: 650;
    line-height: 1.35;
    margin: 0 0 0.25rem;
}

.ghg-public-sector-kpis__supporting-item--national-share h5 {
    font-size: var(--ghg-sector-national-share-label-size);
}

.ghg-public-overview-value--sector-supporting .ghg-public-overview-value__number {
    color: #ffffff;
    font-size: clamp(1.15rem, 1.7vw, 1.45rem);
}

.ghg-public-sector-kpis__supporting-item--national-share
    .ghg-public-overview-value__number {
    font-size: var(--ghg-sector-national-share-value-size);
}

.ghg-public-overview-value--sector-supporting .ghg-public-overview-value__unit {
    color: #c8e1e8;
    font-size: 0.8125rem;
}

.ghg-public-sector-kpis__gases {
    background: var(--color-surface);
    border: 1px solid #d7e2ee;
    border-radius: 1rem;
    min-width: 0;
    padding: clamp(1rem, 1.8vw, 1.35rem);
}

.ghg-public-sector-kpis__gas-grid {
    display: grid;
    gap: 0.75rem;
    grid-auto-rows: minmax(0, 1fr);
    grid-template-columns: repeat(
        auto-fit,
        minmax(min(100%, 11.75rem), 1fr)
    );
}

.ghg-public-sector-kpis__gas-grid article {
    border: 1px solid #dce6f0;
    border-radius: 0.75rem;
    gap: 0.65rem;
    min-height: 7.25rem;
    padding: 1rem 0.9rem 0.85rem;
    position: relative;
}

.ghg-public-sector-kpis__gas-grid article::before {
    background: var(--ghg-sector-kpi-color);
    border-radius: 999px;
    content: "";
    height: 0.2rem;
    left: 0.9rem;
    position: absolute;
    top: -0.1rem;
    width: 2.3rem;
}

.ghg-public-sector-kpis__gas-icon {
    border: 1px solid var(--ghg-sector-kpi-color);
    color: var(--ghg-sector-kpi-color);
    font-size: 0.72rem;
    height: 1.8rem;
    width: 1.8rem;
}

.ghg-public-sector-kpis__gas-grid h4 {
    color: var(--color-secondary);
    font-size: 0.9rem;
    font-weight: 750;
    hyphens: auto;
    letter-spacing: -0.005em;
    line-height: 1.3;
    margin: 0 0 0.5rem;
    overflow-wrap: anywhere;
    text-transform: none;
}

.ghg-public-overview-value--sector-gas {
    align-items: baseline;
    flex-wrap: wrap;
}

.ghg-public-overview-value--sector-gas .ghg-public-overview-value__number {
    color: var(--color-secondary);
    font-size: clamp(1.1rem, 1.65vw, 1.4rem);
}

.ghg-public-overview-value--sector-gas .ghg-public-overview-value__unit {
    color: var(--ghg-sector-kpi-muted);
    font-size: 0.8125rem;
}

.ghg-public-overview-value--sector-context .ghg-public-overview-value__number {
    color: var(--color-secondary);
    font-size: 1rem;
    letter-spacing: 0;
    line-height: 1.3;
    white-space: normal;
}

.ghg-public-overview-value--sector-context .ghg-public-overview-value__unit {
    color: var(--ghg-sector-kpi-muted);
    font-size: 0.8125rem;
}

.ghg-public-sector-kpis--soil-type-strip .ghg-public-sector-kpis__context {
    border: 1px solid #d7e2ee;
    border-radius: 0.75rem;
    min-height: 3.75rem;
    padding: 0.65rem 0.9rem;
}

.ghg-public-sector-kpis--soil-type-strip
    .ghg-public-sector-kpis__context-list article {
    width: 100%;
}

.ghg-public-sector-kpis--soil-type-strip
    .ghg-public-sector-kpis__context-list article > div {
    align-items: baseline;
    display: flex;
    flex: 1 1 auto;
    gap: 0.75rem;
}

.ghg-public-sector-kpis--soil-type-strip
    .ghg-public-sector-kpis__context h3 {
    color: var(--ghg-sector-kpi-muted);
    flex: 0 0 auto;
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
}

.ghg-public-sector-kpis--soil-type-strip
    .ghg-public-overview-value--sector-context {
    margin: 0;
}

.ghg-public-sector-kpis--soil-type-strip
    .ghg-public-overview-value--sector-context
    .ghg-public-overview-value__number {
    font-weight: 750;
}

.ghg-public-sector-kpis--two-tier .ghg-public-sector-kpis__main {
    grid-template-columns: minmax(0, 1fr);
}

.ghg-public-sector-kpis--two-tier .ghg-public-sector-kpis__primary {
    align-items: center;
    display: grid;
    gap: clamp(1rem, 2.5vw, 2rem);
    grid-template-columns: minmax(0, 1fr) minmax(12rem, 0.35fr);
}

.ghg-public-sector-kpis--two-tier .ghg-public-sector-kpis__supporting {
    border-left: 1px solid rgba(255, 255, 255, 0.14);
    border-top: 0;
    margin-top: 0;
    padding-left: clamp(1rem, 2.5vw, 2rem);
    padding-top: 0;
}

.ghg-public-sector-kpis--two-tier .ghg-public-sector-kpis__gas-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1000px) {
    .ghg-public-sector-kpis__main {
        grid-template-columns: minmax(15rem, 0.38fr) minmax(0, 0.62fr);
    }

    .ghg-public-sector-kpis__gas-grid {
        grid-template-columns: repeat(
            auto-fit,
            minmax(min(100%, 10.75rem), 1fr)
        );
    }

    .ghg-public-sector-kpis--two-tier .ghg-public-sector-kpis__main {
        grid-template-columns: minmax(0, 1fr);
    }

    .ghg-public-sector-kpis--two-tier .ghg-public-sector-kpis__gas-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .ghg-public-sector-kpis__main {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 520px) {
    .ghg-public-sector-kpis {
        border-radius: 1rem;
        padding: 0.9rem;
    }

    .ghg-public-sector-kpis__primary,
    .ghg-public-sector-kpis__gases {
        padding: 1rem;
    }

    .ghg-public-sector-kpis__primary-heading {
        gap: 0.7rem;
    }

    .ghg-public-sector-kpis__primary-icon {
        height: var(--ghg-customer-icon-primary-mobile-container-size);
        width: var(--ghg-customer-icon-primary-mobile-container-size);
    }

    .ghg-public-overview-value--sector-primary.is-numeric {
        flex-wrap: wrap;
        white-space: normal;
    }

    .ghg-public-sector-kpis__gas-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .ghg-public-sector-kpis__gas-grid article {
        min-height: 0;
    }

    .ghg-public-sector-kpis--two-tier .ghg-public-sector-kpis__primary {
        grid-template-columns: minmax(0, 1fr);
    }

    .ghg-public-sector-kpis--two-tier .ghg-public-sector-kpis__supporting {
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.14);
        margin-top: 0.25rem;
        padding-left: 0;
        padding-top: 0.85rem;
    }

    .ghg-public-sector-kpis--two-tier .ghg-public-sector-kpis__gas-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .ghg-public-sector-kpis--soil-type-strip
        .ghg-public-sector-kpis__context-list article > div {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.15rem;
    }
}
