.custom-es-indicator-overview,
.custom-es-indicator-card-widget {
	--ces-ov-bg: var(--theme-palette-color-8, #fff);
	--ces-ov-soft: var(--theme-palette-color-6, #f2f4f7);
	--ces-ov-border: var(--theme-border-color, #e1e8ed);
	--ces-ov-text: var(--theme-text-color, #3a4f66);
	--ces-ov-heading: var(--theme-headings-color, #192a3d);
	color: var(--ces-ov-text);
	container-type: inline-size;
	font-family: var(--theme-font-family, inherit);
}

.custom-es-overview-header { align-items: end; display: flex; gap: 24px; justify-content: space-between; margin-bottom: 18px; }
.custom-es-overview-header h3 { color: var(--ces-ov-heading); font-size: clamp(21px, 3vw, 28px); line-height: 1.2; margin: 2px 0 7px; }
.custom-es-overview-header > div > p:last-child { font-size: 14px; margin: 0; max-width: 720px; }
.custom-es-overview-eyebrow { color: var(--theme-palette-color-1, #2872fa); font-size: 12px; font-weight: 700; letter-spacing: .08em; margin: 0; text-transform: uppercase; }
.custom-es-overview-count { background: var(--ces-ov-soft); border-radius: 4px; flex: 0 0 auto; font-size: 12px; font-variant-numeric: tabular-nums; margin: 0; padding: 5px 8px; }
.custom-es-overview-tools { align-items: flex-start; display: flex; gap: 8px; margin-bottom: 12px; }
.custom-es-overview-search { align-items: center; background: var(--ces-ov-bg); border: 1px solid var(--ces-ov-border); border-radius: 5px; display: flex; flex: 1 1 320px; max-width: 460px; min-height: 42px; padding: 0 12px; }
.custom-es-overview-search:focus-within { border-color: var(--theme-palette-color-1, #2872fa); box-shadow: 0 0 0 1px var(--theme-palette-color-1, #2872fa); }
.custom-es-overview-search svg,
.custom-es-overview-source-toggle svg,
.custom-es-overview-reset svg { fill: currentColor; flex: 0 0 auto; height: 18px; width: 18px; }
.custom-es-overview-search > svg { color: var(--theme-palette-color-1, #2872fa); }
.custom-es-overview-reset svg { color: var(--theme-palette-color-1, #2872fa); }
.custom-es-overview-search input { background: transparent; border: 0; box-shadow: none; color: var(--ces-ov-heading); flex: 1; font: inherit; font-size: 13px; min-height: 40px; outline: 0; padding: 0 0 0 9px; }
.custom-es-overview-reset { align-items: center; appearance: none; background: var(--ces-ov-bg); border: 1px solid var(--ces-ov-border); border-radius: 5px; color: var(--ces-ov-text); cursor: pointer; display: inline-flex; font: inherit; font-size: 13px; font-weight: 600; gap: 7px; min-height: 42px; padding: 7px 13px; }
.custom-es-overview-reset:hover { border-color: var(--theme-palette-color-1, #2872fa); color: var(--ces-ov-heading); }
.custom-es-overview-reset:focus-visible { outline: 2px solid var(--theme-palette-color-1, #2872fa); outline-offset: 2px; }
.custom-es-overview-source-select { flex: 0 0 auto; position: relative; z-index: 5; }
.custom-es-overview-source-toggle { align-items: center; appearance: none; background: var(--ces-ov-bg); border: 1px solid var(--ces-ov-border); border-radius: 5px; color: var(--ces-ov-text); cursor: pointer; display: inline-flex; font: inherit; font-size: 13px; font-weight: 600; gap: 7px; justify-content: space-between; min-height: 42px; min-width: 170px; padding: 7px 11px; }
.custom-es-overview-source-toggle:hover,
.custom-es-overview-source-toggle[aria-expanded="true"] { border-color: var(--theme-palette-color-1, #2872fa); color: var(--ces-ov-heading); }
.custom-es-overview-source-toggle:focus-visible { outline: 2px solid var(--theme-palette-color-1, #2872fa); outline-offset: 2px; }
.custom-es-overview-source-toggle > svg:not(.custom-es-overview-chevron) { color: var(--theme-palette-color-1, #2872fa); }
.custom-es-overview-source-toggle .custom-es-overview-chevron { height: 15px; transition: transform .15s ease; width: 15px; }
.custom-es-overview-source-toggle[aria-expanded="true"] .custom-es-overview-chevron { transform: rotate(180deg); }
.custom-es-overview-source-menu { background: var(--ces-ov-bg); border: 1px solid var(--ces-ov-border); border-radius: 6px; box-shadow: 0 12px 32px color-mix(in srgb, var(--ces-ov-heading) 16%, transparent); left: 0; margin-top: 5px; max-height: min(420px, 70vh); min-width: 250px; overflow: auto; padding: 8px; position: absolute; top: 100%; }
.custom-es-overview-source-menu[hidden] { display: none; }
.custom-es-overview-source-all { appearance: none; background: var(--ces-ov-soft); border: 0; border-radius: 4px; color: var(--ces-ov-heading); cursor: pointer; font: inherit; font-size: 13px; font-weight: 650; padding: 9px 10px; text-align: left; width: 100%; }
.custom-es-overview-source-options { border-top: 1px solid var(--ces-ov-border); margin-top: 7px; padding-top: 5px; }
.custom-es-overview-source-options label { align-items: center; border-radius: 4px; cursor: pointer; display: flex; font-size: 13px; gap: 9px; padding: 7px 8px; }
.custom-es-overview-source-options label:hover { background: var(--ces-ov-soft); }
.custom-es-overview-source-options input { accent-color: var(--theme-palette-color-1, #2872fa); height: 16px; margin: 0; width: 16px; }
.custom-es-overview-source-all:focus-visible,
.custom-es-overview-source-options input:focus-visible { outline: 2px solid var(--theme-palette-color-1, #2872fa); outline-offset: 2px; }
.custom-es-overview-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; scrollbar-width: none; }
.custom-es-overview-filters::-webkit-scrollbar { display: none; }
.custom-es-overview-state-filters { margin-bottom: 20px; }
.custom-es-overview-filters button { appearance: none; background: var(--ces-ov-bg); border: 1px solid var(--ces-ov-border); border-radius: 999px; color: var(--ces-ov-text); cursor: pointer; font: inherit; font-size: 13px; font-weight: 600; min-height: 38px; padding: 7px 15px; }
.custom-es-overview-filters button:hover { border-color: var(--theme-palette-color-1, #2872fa); color: var(--ces-ov-heading); }
.custom-es-overview-filters button:focus-visible { outline: 2px solid var(--theme-palette-color-1, #2872fa); outline-offset: 2px; }
.custom-es-overview-filters button.is-active { background: var(--theme-palette-color-1, #2872fa); border-color: var(--theme-palette-color-1, #2872fa); color: var(--theme-button-text-initial-color, #fff); }
.custom-es-overview-domain-filters button:not([data-domain-filter="all"]):not(.is-active) { background: color-mix(in srgb, var(--ces-domain-filter-color) 10%, var(--ces-ov-bg)); border-color: color-mix(in srgb, var(--ces-domain-filter-color) 28%, var(--ces-ov-border)); color: var(--ces-domain-filter-color); }
.custom-es-overview-domain-filters button[data-domain-filter="healthcare"] { --ces-domain-filter-color: #2f80ed; }
.custom-es-overview-domain-filters button[data-domain-filter="education"] { --ces-domain-filter-color: #8b5cf6; }
.custom-es-overview-domain-filters button[data-domain-filter="development"] { --ces-domain-filter-color: #d94a4a; }
.custom-es-overview-domain-filters button[data-domain-filter="economy"] { --ces-domain-filter-color: #d99a00; }
.custom-es-overview-domain-filters button[data-domain-filter="governance"] { --ces-domain-filter-color: #78a61f; }
.custom-es-overview-domain-filters button[data-domain-filter="environment"] { --ces-domain-filter-color: #16a36a; }
.custom-es-overview-domain-filters button[data-domain-filter="demography"] { --ces-domain-filter-color: #00a7b5; }
.custom-es-overview-domain-filters button[data-domain-filter="social"] { --ces-domain-filter-color: #d94f9b; }
.custom-es-overview-domain-filters button[data-domain-filter="healthcare"].is-active { background: #1764ba; border-color: #1764ba; color: #fff; }
.custom-es-overview-domain-filters button[data-domain-filter="education"].is-active { background: #6840bd; border-color: #6840bd; color: #fff; }
.custom-es-overview-domain-filters button[data-domain-filter="development"].is-active { background: #b9363c; border-color: #b9363c; color: #fff; }
.custom-es-overview-domain-filters button[data-domain-filter="economy"].is-active { background: #d99a00; border-color: #d99a00; color: #151515; }
.custom-es-overview-domain-filters button[data-domain-filter="governance"].is-active { background: #78a61f; border-color: #78a61f; color: #151515; }
.custom-es-overview-domain-filters button[data-domain-filter="environment"].is-active { background: #087a4b; border-color: #087a4b; color: #fff; }
.custom-es-overview-domain-filters button[data-domain-filter="demography"].is-active { background: #00a7b5; border-color: #00a7b5; color: #151515; }
.custom-es-overview-domain-filters button[data-domain-filter="social"].is-active { background: #a93474; border-color: #a93474; color: #fff; }
.custom-es-overview-state-filters button:not([data-state-filter="all"]) { background: color-mix(in srgb, var(--ces-state-color) 11%, var(--ces-ov-bg)); border-color: color-mix(in srgb, var(--ces-state-color) 32%, var(--ces-ov-border)); color: var(--ces-state-color); }
.custom-es-overview-state-filters button[data-state-filter="improving"] { --ces-state-color: #16885a; }
.custom-es-overview-state-filters button[data-state-filter="worsening"] { --ces-state-color: #d64545; }
.custom-es-overview-state-filters button[data-state-filter="no_change"] { --ces-state-color: #667085; }
.custom-es-overview-state-filters button[data-state-filter="latest_value"] { --ces-state-color: #a66e00; }
.custom-es-overview-state-filters button[data-state-filter="unavailable"] { --ces-state-color: var(--ces-ov-text); }
.custom-es-overview-state-filters button:not([data-state-filter="all"]).is-active { background: var(--ces-state-color); border-color: var(--ces-state-color); color: #fff; }
.custom-es-overview-state-filters button[data-state-filter="latest_value"].is-active { color: #151515; }
.custom-es-overview-state-filters button[data-state-filter="unavailable"].is-active { color: var(--ces-ov-bg); }
.custom-es-overview-state-filters [data-state-count] { background: color-mix(in srgb, currentColor 12%, transparent); border-radius: 999px; display: inline-block; font-size: 11px; font-variant-numeric: tabular-nums; margin-left: 4px; min-width: 20px; padding: 1px 5px; text-align: center; }
.custom-es-overview-grid { display: grid; gap: 16px; grid-template-columns: repeat(var(--ces-overview-columns, 3), minmax(0, 1fr)); }
.custom-es-overview-card { --ces-ov-accent: var(--theme-palette-color-1, #2872fa); --ces-ov-tint: var(--ces-ov-bg); background: var(--ces-ov-bg); border: 1px solid var(--ces-ov-border); border-color: color-mix(in srgb, var(--ces-ov-accent) 30%, var(--ces-ov-border)); border-radius: 6px; display: flex; flex-direction: column; min-height: 390px; padding: 18px; }
.custom-es-overview-card[hidden] { display: none; }
.custom-es-overview-card.is-positive { --ces-ov-accent: #16885a; --ces-ov-tint: color-mix(in srgb, #16885a 8%, var(--ces-ov-bg)); }
.custom-es-overview-card.is-negative { --ces-ov-accent: #d64545; --ces-ov-tint: color-mix(in srgb, #d64545 8%, var(--ces-ov-bg)); }
.custom-es-overview-card.is-neutral { --ces-ov-accent: #c18200; --ces-ov-tint: color-mix(in srgb, #c18200 7%, var(--ces-ov-bg)); }
.custom-es-overview-card.is-neutral[data-state="no_change"] { --ces-ov-accent: #667085; --ces-ov-tint: color-mix(in srgb, #667085 7%, var(--ces-ov-bg)); }
.custom-es-overview-card.is-unavailable { --ces-ov-accent: var(--ces-ov-text); --ces-ov-tint: var(--ces-ov-bg); border-style: dashed; }
.custom-es-overview-card--standalone { min-height: 390px; }
.custom-es-overview-card-top { align-items: center; display: flex; gap: 10px; justify-content: space-between; }
.custom-es-overview-domain-capsule { align-items: center; background: color-mix(in srgb, var(--ces-ov-domain, #7656c9) 11%, var(--ces-ov-bg)); border: 1px solid color-mix(in srgb, var(--ces-ov-domain, #7656c9) 28%, var(--ces-ov-border)); border-radius: 999px; color: var(--ces-ov-domain, #7656c9); display: inline-flex; font-size: 11px; font-weight: 700; gap: 6px; line-height: 1; padding: 5px 9px 5px 7px; }
.custom-es-overview-domain-icon { align-items: center; color: inherit; display: inline-flex; flex: 0 0 auto; justify-content: center; }
.custom-es-overview-domain-icon svg { fill: currentColor; height: 16px; width: 16px; }
.custom-es-overview-status { background: var(--ces-ov-soft); border: 1px solid transparent; border-radius: 999px; font-size: 11px; font-weight: 700; line-height: 1; padding: 6px 9px; }
.custom-es-overview-domain { color: inherit; }
.custom-es-overview-status { background: color-mix(in srgb, var(--ces-ov-accent) 11%, var(--ces-ov-bg)); border-color: color-mix(in srgb, var(--ces-ov-accent) 28%, var(--ces-ov-border)); color: var(--ces-ov-accent); }
.custom-es-overview-card[data-domain="healthcare"] { --ces-ov-domain: #2f80ed; }
.custom-es-overview-card[data-domain="education"] { --ces-ov-domain: #8b5cf6; }
.custom-es-overview-card[data-domain="development"] { --ces-ov-domain: #d94a4a; }
.custom-es-overview-card[data-domain="economy"] { --ces-ov-domain: #d99a00; }
.custom-es-overview-card[data-domain="governance"] { --ces-ov-domain: #78a61f; }
.custom-es-overview-card[data-domain="environment"] { --ces-ov-domain: #16a36a; }
.custom-es-overview-card[data-domain="demography"] { --ces-ov-domain: #00a7b5; }
.custom-es-overview-card[data-domain="social"] { --ces-ov-domain: #d94f9b; }
.custom-es-overview-card header { margin-top: 15px; }
.custom-es-overview-card h4 { color: var(--ces-ov-heading); font-size: 17px; line-height: 1.3; margin: 0; overflow-wrap: break-word; }
.custom-es-overview-card header p { font-size: 12px; margin: 4px 0 0; }
.custom-es-overview-metrics { align-items: end; display: flex; gap: 18px; margin-top: 19px; }
.custom-es-overview-metrics > div { min-width: 0; }
.custom-es-overview-metrics > div + div { border-left: 1px solid var(--ces-ov-border); padding-left: 18px; }
.custom-es-overview-metrics strong { color: var(--ces-ov-heading); display: inline; font-size: clamp(30px, 5vw, 42px); font-variant-numeric: tabular-nums; letter-spacing: -.035em; line-height: 1; }
.custom-es-overview-metrics span { font-size: 12px; margin-left: 4px; }
.custom-es-overview-metrics small { display: block; font-size: 11px; margin-top: 5px; }
.custom-es-overview-companion strong { font-size: clamp(24px, 4vw, 34px); }
.custom-es-overview-unavailable { align-items: center; background: var(--ces-ov-soft); border-radius: 5px; display: flex; gap: 12px; margin-top: 19px; padding: 14px; }
.custom-es-overview-unavailable strong { color: var(--ces-ov-accent); font-size: 30px; line-height: 1; }
.custom-es-overview-unavailable span { font-size: 12px; line-height: 1.45; }
.custom-es-overview-meter { background: var(--ces-ov-soft); border-radius: 999px; height: 7px; margin-top: 15px; overflow: hidden; }
.custom-es-overview-meter span { background: var(--ces-ov-accent); border-radius: inherit; display: block; height: 100%; min-width: 2px; }
.custom-es-overview-card-description { font-size: 13px; line-height: 1.55; margin: 17px 0 0; }
.custom-es-overview-direction { color: var(--ces-ov-heading); font-size: 11px; font-weight: 650; margin: 8px 0 0; }
.custom-es-overview-trend { align-items: flex-start; color: var(--ces-ov-accent); display: flex; font-size: 12px; font-weight: 600; gap: 6px; line-height: 1.45; margin: 15px 0 0; }
.custom-es-overview-trend svg { flex: 0 0 auto; height: 16px; margin-top: 1px; width: 16px; }
.custom-es-overview-trend svg path:not([fill="none"]) { fill: currentColor; }
.custom-es-overview-trend svg path[stroke="currentColor"] { stroke: currentColor; }
.custom-es-overview-card footer { align-items: center; display: flex; flex-wrap: wrap; gap: 7px 14px; margin-top: auto; padding-top: 18px; }
.custom-es-overview-card footer a { align-items: center; color: var(--theme-link-initial-color, #2872fa); display: inline-flex; font-size: 12px; gap: 5px; text-decoration: none; }
.custom-es-overview-card footer a:hover { color: var(--theme-link-hover-color, #1559ed); }
.custom-es-overview-card footer svg { fill: currentColor; height: 15px; width: 15px; }
.custom-es-overview-updated { font-size: 11px; font-variant-numeric: tabular-nums; }
.custom-es-overview-empty,
.custom-es-overview-partial,
.custom-es-overview-notice { background: var(--ces-ov-soft, var(--theme-palette-color-6, #f2f4f7)); border: 1px solid var(--ces-ov-border, var(--theme-border-color, #e1e8ed)); border-radius: 6px; color: var(--ces-ov-text, var(--theme-text-color, #3a4f66)); font-size: 13px; padding: 14px; }
.custom-es-overview-empty { text-align: center; }
.custom-es-overview-partial { margin: 16px 0 0; }
.custom-es-overview-pagination { align-items: center; display: flex; gap: 12px; justify-content: center; margin-top: 22px; }
.custom-es-overview-pagination button { appearance: none; background: var(--ces-ov-bg); border: 1px solid var(--ces-ov-border); border-radius: 5px; color: var(--ces-ov-heading); cursor: pointer; font: inherit; font-size: 13px; font-weight: 600; min-height: 40px; padding: 7px 16px; }
.custom-es-overview-pagination button:hover:not(:disabled) { border-color: var(--theme-palette-color-1, #2872fa); color: var(--theme-palette-color-1, #2872fa); }
.custom-es-overview-pagination button:disabled { cursor: not-allowed; opacity: .45; }
.custom-es-overview-pagination span { color: var(--ces-ov-text); font-size: 13px; }
.custom-es-overview-load-status { color: var(--ces-ov-text); font-size: 12px; min-height: 1.5em; text-align: center; }
.custom-es-overview-disclaimer { border-top: 1px solid var(--ces-ov-border); color: var(--ces-ov-text); font-size: 11px; line-height: 1.5; margin: 18px 0 0; opacity: .82; padding-top: 12px; }
.custom-es-indicator-overview.is-loading .custom-es-overview-grid { opacity: .55; pointer-events: none; }

/* Compact tiles retain the value, state, trend and provenance while removing explanatory copy. */
.custom-es-indicator-overview.is-style-compact .custom-es-overview-grid { gap: 10px; }
.custom-es-indicator-overview.is-style-compact .custom-es-overview-card { min-height: 210px; padding: 14px; }
.custom-es-indicator-overview.is-style-compact .custom-es-overview-card-top { justify-content: flex-start; }
.custom-es-indicator-overview.is-style-compact .custom-es-overview-status { margin-left: auto; }
.custom-es-indicator-overview.is-style-compact .custom-es-overview-card header { margin-top: 12px; }
.custom-es-indicator-overview.is-style-compact .custom-es-overview-card header p,
.custom-es-indicator-overview.is-style-compact .custom-es-overview-card-description,
.custom-es-indicator-overview.is-style-compact .custom-es-overview-direction { display: none; }
.custom-es-indicator-overview.is-style-compact .custom-es-overview-card h4 { font-size: 15px; }
.custom-es-indicator-overview.is-style-compact .custom-es-overview-metrics { margin-top: 13px; }
.custom-es-indicator-overview.is-style-compact .custom-es-overview-metrics strong { font-size: clamp(26px, 4vw, 34px); }
.custom-es-indicator-overview.is-style-compact .custom-es-overview-trend { margin-top: 11px; }
.custom-es-indicator-overview.is-style-compact .custom-es-overview-card footer { padding-top: 11px; }

/* Grouped dashboard presents all indicators as rows inside one unified panel. */
.custom-es-indicator-overview.is-style-grouped .custom-es-overview-grid { background: var(--ces-ov-bg); border: 1px solid var(--ces-ov-border); border-radius: 6px; gap: 0; overflow: hidden; }
.custom-es-indicator-overview.is-style-grouped .custom-es-overview-card { background: transparent; border: 0; border-bottom: 1px solid var(--ces-ov-border); border-radius: 0; box-shadow: 1px 0 0 var(--ces-ov-border); min-height: 150px; padding: 15px; }
.custom-es-indicator-overview.is-style-grouped .custom-es-overview-card-top { justify-content: flex-start; }
.custom-es-indicator-overview.is-style-grouped .custom-es-overview-status { margin-left: auto; }
.custom-es-indicator-overview.is-style-grouped .custom-es-overview-card header { margin-top: 10px; }
.custom-es-indicator-overview.is-style-grouped .custom-es-overview-card header p,
.custom-es-indicator-overview.is-style-grouped .custom-es-overview-card-description,
.custom-es-indicator-overview.is-style-grouped .custom-es-overview-direction,
.custom-es-indicator-overview.is-style-grouped .custom-es-overview-meter,
.custom-es-indicator-overview.is-style-grouped .custom-es-overview-trend,
.custom-es-indicator-overview.is-style-grouped .custom-es-overview-card footer { display: none; }
.custom-es-indicator-overview.is-style-grouped .custom-es-overview-card h4 { font-size: 14px; }
.custom-es-indicator-overview.is-style-grouped .custom-es-overview-metrics { margin-top: 11px; }
.custom-es-indicator-overview.is-style-grouped .custom-es-overview-metrics strong { font-size: clamp(24px, 3.5vw, 32px); }

/* Grouped list: responsive domain panels with compact, clearly divided indicator rows. */
.custom-es-indicator-overview.is-style-grouped-list .custom-es-overview-grid { align-items: start; }
.custom-es-overview-domain-group { background: var(--ces-ov-bg); border: 1px solid var(--ces-ov-border); border-radius: 6px; min-width: 0; overflow: hidden; }
.custom-es-overview-domain-group[hidden] { display: none; }
.custom-es-overview-domain-group > h4 { align-items: center; color: var(--ces-ov-heading); display: flex; font-size: 14px; gap: 7px; margin: 0; padding: 12px 14px; }
.custom-es-overview-domain-group > h4 span { color: var(--ces-domain-group-color, var(--theme-palette-color-1, #2872fa)); display: inline-flex; }
.custom-es-overview-domain-group > h4 svg { fill: currentColor; height: 17px; width: 17px; }
.custom-es-overview-domain-group[data-domain-group="healthcare"] { --ces-domain-group-color: #2f80ed; }
.custom-es-overview-domain-group[data-domain-group="education"] { --ces-domain-group-color: #8b5cf6; }
.custom-es-overview-domain-group[data-domain-group="development"] { --ces-domain-group-color: #d94a4a; }
.custom-es-overview-domain-group[data-domain-group="economy"] { --ces-domain-group-color: #d99a00; }
.custom-es-overview-domain-group[data-domain-group="governance"] { --ces-domain-group-color: #78a61f; }
.custom-es-overview-domain-group[data-domain-group="environment"] { --ces-domain-group-color: #16a36a; }
.custom-es-overview-domain-group[data-domain-group="demography"] { --ces-domain-group-color: #00a7b5; }
.custom-es-overview-domain-group[data-domain-group="social"] { --ces-domain-group-color: #d94f9b; }
.custom-es-indicator-overview.is-style-grouped-list .custom-es-overview-card { align-items: center; background: transparent; border: 0; border-radius: 0; border-top: 1px solid var(--ces-ov-border); display: flex; flex-direction: row; flex-wrap: wrap; gap: 12px; min-height: 0; padding: 11px 14px; }
.custom-es-indicator-overview.is-style-grouped-list .custom-es-overview-card-top,
.custom-es-indicator-overview.is-style-grouped-list .custom-es-overview-card header p,
.custom-es-indicator-overview.is-style-grouped-list .custom-es-overview-card-description,
.custom-es-indicator-overview.is-style-grouped-list .custom-es-overview-direction,
.custom-es-indicator-overview.is-style-grouped-list .custom-es-overview-meter,
.custom-es-indicator-overview.is-style-grouped-list .custom-es-overview-trend,
.custom-es-indicator-overview.is-style-grouped-list .custom-es-overview-card footer { display: none; }
.custom-es-indicator-overview.is-style-grouped-list .custom-es-overview-card header,
.custom-es-indicator-overview.is-style-grouped-list .custom-es-overview-metrics { margin: 0; }
.custom-es-indicator-overview.is-style-grouped-list .custom-es-overview-card header { flex: 1 1 180px; min-width: min-content; }
.custom-es-indicator-overview.is-style-grouped-list .custom-es-overview-card h4 { font-size: 13px; font-weight: 600; }
.custom-es-indicator-overview.is-style-grouped-list .custom-es-overview-metrics { flex: 0 1 auto; justify-content: flex-end; max-width: 100%; }
.custom-es-indicator-overview.is-style-grouped-list .custom-es-overview-metrics strong { font-size: 17px; letter-spacing: -.015em; }
.custom-es-indicator-overview.is-style-grouped-list .custom-es-overview-metrics span { font-size: 10px; }

/* Icon list: each indicator is one compact icon/name/value row. */
.custom-es-indicator-overview.is-style-icon-list .custom-es-overview-grid { gap: 0; grid-template-columns: repeat(var(--ces-active-columns, var(--ces-overview-columns, 3)), minmax(0, 1fr)); overflow: hidden; }
.custom-es-indicator-overview.is-style-icon-list .custom-es-overview-card { align-items: center; background: var(--ces-ov-bg); border-color: var(--ces-ov-border); border-radius: 0; display: flex; flex-direction: row; flex-wrap: wrap; gap: 10px; min-height: 0; padding: 12px; }
.custom-es-indicator-overview.is-style-icon-list .custom-es-overview-card-top { display: contents; }
.custom-es-indicator-overview.is-style-icon-list .custom-es-overview-status,
.custom-es-indicator-overview.is-style-icon-list .custom-es-overview-card header p,
.custom-es-indicator-overview.is-style-icon-list .custom-es-overview-card-description,
.custom-es-indicator-overview.is-style-icon-list .custom-es-overview-direction,
.custom-es-indicator-overview.is-style-icon-list .custom-es-overview-meter,
.custom-es-indicator-overview.is-style-icon-list .custom-es-overview-trend,
.custom-es-indicator-overview.is-style-icon-list .custom-es-overview-card footer { display: none; }
.custom-es-indicator-overview.is-style-icon-list .custom-es-overview-domain-capsule { padding-right: 7px; }
.custom-es-indicator-overview.is-style-icon-list .custom-es-overview-domain { display: none; }
.custom-es-indicator-overview.is-style-icon-list .custom-es-overview-card header,
.custom-es-indicator-overview.is-style-icon-list .custom-es-overview-metrics { margin: 0; }
.custom-es-indicator-overview.is-style-icon-list .custom-es-overview-card header { flex: 1 1 180px; min-width: min-content; }
.custom-es-indicator-overview.is-style-icon-list .custom-es-overview-card h4 { font-size: 13px; }
.custom-es-indicator-overview.is-style-icon-list .custom-es-overview-metrics { flex: 0 1 auto; justify-content: flex-end; max-width: 100%; }
.custom-es-indicator-overview.is-style-icon-list .custom-es-overview-metrics strong { font-size: 18px; letter-spacing: -.015em; }
.custom-es-indicator-overview.is-style-icon-list .custom-es-overview-metrics span { font-size: 10px; }
.custom-es-indicator-overview.is-style-icon-list.has-active-icon-swipe .custom-es-overview-grid::-webkit-scrollbar { display: none; }

/* State tint is presentation-independent and can be disabled per widget. */
.custom-es-indicator-overview.has-state-backgrounds .custom-es-overview-card,
.custom-es-indicator-card-widget.has-state-backgrounds .custom-es-overview-card { background: var(--ces-ov-tint); }

@media (max-width: 980px) {
	.custom-es-overview-grid { grid-template-columns: repeat(var(--ces-overview-tablet-columns, 2), minmax(0, 1fr)); }
}

@media (min-width: 621px) and (max-width: 980px) {
	.custom-es-indicator-overview.has-tablet-swipe.is-style-icon-list .custom-es-overview-grid,
	.custom-es-indicator-overview.has-tablet-swipe.is-style-grouped-list .custom-es-overview-grid { gap: 8px; overflow-x: auto; overscroll-behavior-inline: contain; padding-inline-end: 6%; scroll-padding-inline: 0 6%; scroll-snap-type: inline mandatory; scrollbar-width: none; }
	.custom-es-indicator-overview.has-tablet-swipe.is-style-icon-list .custom-es-overview-grid { grid-template-columns: repeat(var(--ces-active-columns, var(--ces-overview-tablet-columns, 2)), minmax(0, 94%)); }
	.custom-es-indicator-overview.has-tablet-swipe.is-style-grouped-list .custom-es-overview-grid { grid-auto-columns: 94%; grid-auto-flow: column; grid-template-columns: none; grid-template-rows: minmax(0, 1fr); }
	.custom-es-indicator-overview.has-tablet-swipe.is-style-icon-list .custom-es-overview-grid::-webkit-scrollbar,
	.custom-es-indicator-overview.has-tablet-swipe.is-style-grouped-list .custom-es-overview-grid::-webkit-scrollbar { display: none; }
	.custom-es-indicator-overview.has-tablet-swipe.is-style-icon-list .custom-es-overview-card,
	.custom-es-indicator-overview.has-tablet-swipe.is-style-grouped-list .custom-es-overview-domain-group { scroll-snap-align: start; }
}

@media (max-width: 620px) {
	.custom-es-overview-header { align-items: flex-start; flex-direction: column; gap: 10px; }
	.custom-es-overview-tools { flex-wrap: wrap; }
	.custom-es-overview-filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 3px; }
	.custom-es-overview-search { max-width: none; min-width: 0; }
	.custom-es-overview-source-select { flex: 1 1 auto; }
	.custom-es-overview-source-toggle { width: 100%; }
	.custom-es-overview-source-menu { left: 0; right: 0; }
	.custom-es-overview-filters button { flex: 0 0 auto; }
	.custom-es-overview-grid { grid-template-columns: repeat(var(--ces-overview-phone-columns, 1), minmax(0, 1fr)); }
	.custom-es-indicator-overview.has-mobile-swipe.is-style-icon-list .custom-es-overview-grid,
	.custom-es-indicator-overview.has-mobile-swipe.is-style-grouped-list .custom-es-overview-grid { gap: 8px; overflow-x: auto; overscroll-behavior-inline: contain; padding-inline-end: 6%; scroll-padding-inline: 0 6%; scroll-snap-type: inline mandatory; scrollbar-width: none; }
	.custom-es-indicator-overview.has-mobile-swipe.is-style-icon-list .custom-es-overview-grid { grid-template-columns: repeat(var(--ces-active-columns, var(--ces-overview-phone-columns, 1)), minmax(0, 94%)); }
	.custom-es-indicator-overview.has-mobile-swipe.is-style-grouped-list .custom-es-overview-grid { grid-auto-columns: 94%; grid-auto-flow: column; grid-template-columns: none; grid-template-rows: minmax(0, 1fr); }
	.custom-es-indicator-overview.has-mobile-swipe.is-style-icon-list .custom-es-overview-grid::-webkit-scrollbar,
	.custom-es-indicator-overview.has-mobile-swipe.is-style-grouped-list .custom-es-overview-grid::-webkit-scrollbar { display: none; }
	.custom-es-indicator-overview.has-mobile-swipe.is-style-icon-list .custom-es-overview-card,
	.custom-es-indicator-overview.has-mobile-swipe.is-style-grouped-list .custom-es-overview-domain-group { scroll-snap-align: start; }
	.custom-es-overview-card { min-height: 350px; padding: 16px; }
	.custom-es-indicator-overview.is-style-compact .custom-es-overview-card { min-height: 205px; padding: 14px; }
	.custom-es-indicator-overview.is-style-grouped .custom-es-overview-card { min-height: 145px; padding: 14px; }
}

/* Embedded widgets respond to their own content width, even when the viewport remains wide. */
@container (max-width: 980px) {
	.custom-es-overview-grid { grid-template-columns: repeat(var(--ces-overview-tablet-columns, 2), minmax(0, 1fr)); }
}

@container (min-width: 621px) and (max-width: 980px) {
	.custom-es-indicator-overview.has-tablet-swipe.is-style-icon-list .custom-es-overview-grid,
	.custom-es-indicator-overview.has-tablet-swipe.is-style-grouped-list .custom-es-overview-grid { gap: 8px; overflow-x: auto; overscroll-behavior-inline: contain; padding-inline-end: 6%; scroll-padding-inline: 0 6%; scroll-snap-type: inline mandatory; scrollbar-width: none; }
	.custom-es-indicator-overview.has-tablet-swipe.is-style-icon-list .custom-es-overview-grid { grid-template-columns: repeat(var(--ces-active-columns, var(--ces-overview-tablet-columns, 2)), minmax(0, 94%)); }
	.custom-es-indicator-overview.has-tablet-swipe.is-style-grouped-list .custom-es-overview-grid { grid-auto-columns: 94%; grid-auto-flow: column; grid-template-columns: none; grid-template-rows: minmax(0, 1fr); }
	.custom-es-indicator-overview.has-tablet-swipe.is-style-icon-list .custom-es-overview-grid::-webkit-scrollbar,
	.custom-es-indicator-overview.has-tablet-swipe.is-style-grouped-list .custom-es-overview-grid::-webkit-scrollbar { display: none; }
	.custom-es-indicator-overview.has-tablet-swipe.is-style-icon-list .custom-es-overview-card,
	.custom-es-indicator-overview.has-tablet-swipe.is-style-grouped-list .custom-es-overview-domain-group { scroll-snap-align: start; }
}

@container (max-width: 620px) {
	.custom-es-overview-header { align-items: flex-start; flex-direction: column; gap: 10px; }
	.custom-es-overview-tools { flex-wrap: wrap; }
	.custom-es-overview-filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 3px; }
	.custom-es-overview-search { max-width: none; min-width: 0; }
	.custom-es-overview-source-select { flex: 1 1 auto; }
	.custom-es-overview-source-toggle { width: 100%; }
	.custom-es-overview-source-menu { left: 0; right: 0; }
	.custom-es-overview-filters button { flex: 0 0 auto; }
	.custom-es-overview-grid { grid-template-columns: repeat(var(--ces-overview-phone-columns, 1), minmax(0, 1fr)); }
	.custom-es-indicator-overview.is-style-icon-list .custom-es-overview-grid { grid-template-columns: repeat(var(--ces-active-columns, var(--ces-overview-phone-columns, 1)), minmax(0, 1fr)); }
	.custom-es-indicator-overview.has-mobile-swipe.is-style-icon-list .custom-es-overview-grid,
	.custom-es-indicator-overview.has-mobile-swipe.is-style-grouped-list .custom-es-overview-grid { gap: 8px; overflow-x: auto; overscroll-behavior-inline: contain; padding-inline-end: 6%; scroll-padding-inline: 0 6%; scroll-snap-type: inline mandatory; scrollbar-width: none; }
	.custom-es-indicator-overview.has-mobile-swipe.is-style-icon-list .custom-es-overview-grid { grid-template-columns: repeat(var(--ces-active-columns, var(--ces-overview-phone-columns, 1)), minmax(0, 94%)); }
	.custom-es-indicator-overview.has-mobile-swipe.is-style-grouped-list .custom-es-overview-grid { grid-auto-columns: 94%; grid-auto-flow: column; grid-template-columns: none; grid-template-rows: minmax(0, 1fr); }
	.custom-es-indicator-overview.has-mobile-swipe.is-style-icon-list .custom-es-overview-grid::-webkit-scrollbar,
	.custom-es-indicator-overview.has-mobile-swipe.is-style-grouped-list .custom-es-overview-grid::-webkit-scrollbar { display: none; }
	.custom-es-indicator-overview.has-mobile-swipe.is-style-icon-list .custom-es-overview-card,
	.custom-es-indicator-overview.has-mobile-swipe.is-style-grouped-list .custom-es-overview-domain-group { scroll-snap-align: start; }
	.custom-es-overview-card { min-height: 350px; padding: 16px; }
	.custom-es-indicator-overview.is-style-compact .custom-es-overview-card { min-height: 205px; padding: 14px; }
	.custom-es-indicator-overview.is-style-grouped .custom-es-overview-card { min-height: 145px; padding: 14px; }
}

@container (max-width: 520px) {
	.custom-es-overview-metrics { flex-wrap: wrap; }
}
