/* Country Environmental Profiles */
.has-country-environmental-profile {
	background: #f4f7f6;
}

.has-country-environmental-profile .site-content {
	display: block;
}

.has-country-environmental-profile .content-area,
.has-country-environmental-profile .site-main {
	width: 100%;
}

.has-country-environmental-profile.page .site-main {
	margin-top: 28px;
	margin-bottom: 76px;
}

.cep-tool {
	--cep-navy: #101f36;
	--cep-navy-soft: #193451;
	--cep-blue: #356cc8;
	--cep-blue-pale: #eef4ff;
	--cep-green: #24765c;
	--cep-green-bright: #5bc9a1;
	--cep-green-pale: #edf8f3;
	--cep-teal: #2f8792;
	--cep-amber: #f0b84b;
	--cep-amber-pale: #fff7e6;
	--cep-coral: #d96b5c;
	--cep-violet: #725bb1;
	--cep-ink: #172538;
	--cep-muted: #637286;
	--cep-border: #dce4e8;
	--cep-border-strong: #cbd6dc;
	--cep-surface: #f4f7f7;
	--cep-surface-blue: #f3f6fb;
	--cep-white: #fff;
	--cep-shadow: 0 16px 44px rgba(16, 31, 54, .075);
	--cep-radius-lg: 24px;
	--cep-radius: 17px;
	--cep-radius-sm: 10px;
	--cep-coal: #3d4651;
	--cep-gas: #8290a3;
	--cep-oil: #a77751;
	--cep-nuclear: #725bb1;
	--cep-hydro: #356cc8;
	--cep-solar: #eeb13c;
	--cep-wind: #3698ad;
	--cep-bio: #398568;
	--cep-other: #aab3bf;
	max-width: 100%;
	overflow: clip;
	color: var(--cep-ink);
	font-size: 16px;
	line-height: 1.6;
}

.cep-tool,
.cep-tool * {
	box-sizing: border-box;
}

.cep-tool h1,
.cep-tool h2,
.cep-tool h3,
.cep-tool h4,
.cep-tool p,
.cep-tool figure,
.cep-tool dl,
.cep-tool dd {
	margin-top: 0;
}

.cep-tool h1,
.cep-tool h2,
.cep-tool h3,
.cep-tool h4,
.cep-tool strong {
	color: inherit;
}

.cep-tool img,
.cep-tool svg {
	max-width: 100%;
}

.cep-tool button,
.cep-tool input,
.cep-tool select,
.cep-tool textarea {
	font: inherit;
}

.cep-tool button,
.cep-tool summary,
.cep-tool select {
	cursor: pointer;
}

.cep-tool [hidden] {
	display: none !important;
}

.cep-tool :where(a, button, input, select, summary, [tabindex]):focus-visible {
	outline: 3px solid var(--cep-amber);
	outline-offset: 3px;
}

.cep-tool a {
	text-underline-offset: 3px;
}

.cep-tool .cep-shell,
.cep-tool .cep-app {
	width: min(100%, 1200px);
	margin-right: auto;
	margin-left: auto;
}

.cep-tool .cep-app {
	margin-top: 28px;
}

.cep-tool .cep-kicker,
.cep-tool .cep-section-label,
.cep-tool .cep-eyebrow {
	margin-bottom: 9px;
	color: var(--cep-green);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .14em;
	line-height: 1.35;
	text-transform: uppercase;
}

.cep-tool .cep-section-heading {
	display: flex;
	gap: 28px;
	align-items: end;
	justify-content: space-between;
	margin-bottom: 28px;
}

.cep-tool .cep-section-heading h2,
.cep-tool .cep-section__heading h2 {
	margin-bottom: 0;
	font-size: clamp(28px, 3.3vw, 42px);
	font-weight: 770;
	letter-spacing: -.035em;
	line-height: 1.08;
}

.cep-tool .cep-section-heading > p,
.cep-tool .cep-section__heading > p {
	max-width: 520px;
	margin-bottom: 2px;
	color: var(--cep-muted);
}

.cep-tool .cep-badge,
.cep-tool .cep-status-pill {
	display: inline-flex;
	gap: 7px;
	align-items: center;
	min-height: 27px;
	padding: 4px 10px;
	color: #295d4c;
	background: var(--cep-green-pale);
	border: 1px solid #cfeadd;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 760;
	line-height: 1.3;
}

.cep-tool .cep-badge::before,
.cep-tool .cep-status-pill::before {
	width: 7px;
	height: 7px;
	background: var(--cep-green);
	border-radius: 50%;
	content: "";
}

/* Hero */
.cep-tool .cep-hero {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(300px, .7fr);
	align-items: center;
	min-height: 458px;
	padding: 58px 66px;
	overflow: hidden;
	color: var(--cep-white);
	background:
		radial-gradient(circle at 84% 20%, rgba(91, 201, 161, .22), transparent 27%),
		radial-gradient(circle at 7% 104%, rgba(53, 108, 200, .28), transparent 41%),
		linear-gradient(137deg, #0d1a30 0%, #193552 58%, #155047 125%);
	border-radius: 28px;
	isolation: isolate;
}

.cep-tool .cep-hero::before {
	position: absolute;
	inset: 0;
	z-index: -2;
	background-image:
		linear-gradient(rgba(255, 255, 255, .034) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .034) 1px, transparent 1px);
	background-size: 43px 43px;
	mask-image: linear-gradient(90deg, transparent 2%, #000 62%);
	content: "";
}

.cep-tool .cep-hero::after {
	position: absolute;
	right: -135px;
	bottom: -190px;
	z-index: -1;
	width: 390px;
	height: 390px;
	background: rgba(240, 184, 75, .08);
	border: 1px solid rgba(255, 255, 255, .1);
	border-radius: 50%;
	content: "";
}

.cep-tool .cep-hero__content {
	position: relative;
	z-index: 2;
	min-width: 0;
	max-width: 760px;
}

.cep-tool .cep-breadcrumb {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	margin-bottom: 34px;
	color: rgba(255, 255, 255, .76);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .035em;
	text-decoration: none;
}

.cep-tool .cep-breadcrumb:hover {
	color: var(--cep-white);
}

.cep-tool .cep-hero .cep-eyebrow {
	color: #79d7bc;
}

.cep-tool .cep-hero h1 {
	max-width: 760px;
	margin-bottom: 18px;
	color: var(--cep-white);
	font-size: clamp(42px, 5vw, 67px);
	font-weight: 790;
	letter-spacing: -.047em;
	line-height: 1;
}

.cep-tool .cep-hero__intro,
.cep-tool .cep-hero__summary {
	max-width: 720px;
	margin-bottom: 23px;
	color: rgba(255, 255, 255, .82);
	font-size: clamp(16px, 1.8vw, 19px);
	line-height: 1.62;
}

.cep-tool .cep-hero__meta {
	display: flex;
	gap: 10px 22px;
	align-items: center;
	flex-wrap: wrap;
	margin: 0;
	padding: 0;
	color: rgba(255, 255, 255, .73);
	font-size: 12px;
	font-weight: 680;
	list-style: none;
}

.cep-tool .cep-hero__meta li,
.cep-tool .cep-hero__meta span {
	display: inline-flex;
	gap: 7px;
	align-items: center;
}

.cep-tool .cep-hero__meta i {
	width: 7px;
	height: 7px;
	background: var(--cep-green-bright);
	border-radius: 50%;
}

.cep-tool .cep-hero__meta svg {
	width: 15px;
	height: 15px;
	fill: currentColor;
}

.cep-tool .cep-hero__visual {
	position: relative;
	z-index: 1;
	display: grid;
	min-height: 310px;
	place-items: center;
}

.cep-tool .cep-globe {
	position: relative;
	display: grid;
	width: 236px;
	height: 236px;
	place-items: center;
	background:
		radial-gradient(circle at 40% 34%, rgba(117, 218, 185, .36), transparent 22%),
		linear-gradient(145deg, rgba(66, 132, 194, .52), rgba(31, 121, 93, .56));
	border: 1px solid rgba(255, 255, 255, .22);
	border-radius: 50%;
	box-shadow: 0 28px 80px rgba(4, 17, 32, .35), inset 0 0 50px rgba(255, 255, 255, .08);
}

.cep-tool .cep-globe::before,
.cep-tool .cep-globe::after {
	position: absolute;
	border: 1px solid rgba(255, 255, 255, .22);
	border-radius: 50%;
	content: "";
}

.cep-tool .cep-globe::before {
	inset: 19px 65px;
}

.cep-tool .cep-globe::after {
	inset: 67px 10px;
}

.cep-tool .cep-globe__code,
.cep-tool .cep-country-mark {
	position: relative;
	z-index: 2;
	display: grid;
	width: 92px;
	height: 92px;
	place-items: center;
	color: var(--cep-white);
	background: rgba(11, 31, 49, .58);
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: 50%;
	font-size: 27px;
	font-weight: 820;
	letter-spacing: .08em;
	box-shadow: 0 14px 32px rgba(5, 19, 31, .28);
}

.cep-tool .cep-hero__chip {
	position: absolute;
	z-index: 3;
	padding: 7px 11px;
	color: rgba(255, 255, 255, .82);
	background: rgba(10, 29, 44, .72);
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 999px;
	backdrop-filter: blur(8px);
	font-size: 10px;
	font-weight: 780;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.cep-tool .cep-hero__chip--one { top: 46px; right: 9px; }
.cep-tool .cep-hero__chip--two { bottom: 39px; left: 8px; }

.cep-tool .cep-country-switcher {
	display: flex;
	gap: 12px;
	align-items: center;
	margin-top: 26px;
	flex-wrap: wrap;
}

.cep-tool .cep-country-switcher label {
	color: rgba(255, 255, 255, .78);
	font-size: 12px;
	font-weight: 750;
}

.cep-tool .cep-country-switcher select {
	min-width: 210px;
	min-height: 43px;
	padding: 8px 36px 8px 13px;
	color: var(--cep-white);
	background-color: rgba(7, 25, 40, .72);
	border: 1px solid rgba(255, 255, 255, .24);
	border-radius: 10px;
}

.cep-tool .cep-noscript,
.cep-tool .cep-alert {
	margin-top: 18px;
	padding: 13px 16px;
	color: #754615;
	background: var(--cep-amber-pale);
	border: 1px solid #efd69d;
	border-radius: 10px;
}

/* Curated profile index */
.cep-tool .cep-intro-strip {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 18px;
	align-items: center;
	margin-bottom: 28px;
	padding: 18px 22px;
	background: var(--cep-white);
	border: 1px solid var(--cep-border);
	border-radius: 15px;
	box-shadow: 0 8px 24px rgba(16, 31, 54, .04);
}

.cep-tool .cep-intro-strip__icon {
	display: grid;
	width: 42px;
	height: 42px;
	place-items: center;
	color: var(--cep-green);
	background: var(--cep-green-pale);
	border-radius: 12px;
}

.cep-tool .cep-intro-strip__icon svg {
	width: 22px;
	height: 22px;
	fill: currentColor;
}

.cep-tool .cep-intro-strip p {
	margin-bottom: 0;
	color: var(--cep-muted);
}

.cep-tool .cep-intro-strip strong {
	color: var(--cep-ink);
}

.cep-tool .cep-profiles,
.cep-tool .cep-compare,
.cep-tool .cep-profile-scope,
.cep-tool .cep-editorial-standard,
.cep-tool .cep-kpis,
.cep-tool .cep-insights,
.cep-tool .cep-content-section,
.cep-tool .cep-methodology,
.cep-tool .cep-related {
	margin-top: 30px;
	padding: 38px;
	background: var(--cep-white);
	border: 1px solid var(--cep-border);
	border-radius: var(--cep-radius-lg);
	box-shadow: var(--cep-shadow);
}

.cep-tool .cep-profile-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.cep-tool .cep-profile-card {
	position: relative;
	display: flex;
	min-width: 0;
	min-height: 356px;
	padding: 25px;
	flex-direction: column;
	overflow: hidden;
	background: linear-gradient(180deg, #fff, #f9fbfb);
	border: 1px solid var(--cep-border);
	border-radius: var(--cep-radius);
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.cep-tool .cep-profile-card::before {
	position: absolute;
	top: 0;
	left: 25px;
	width: 62px;
	height: 3px;
	background: var(--cep-card-accent, var(--cep-green));
	border-radius: 0 0 4px 4px;
	content: "";
}

.cep-tool .cep-profile-card:hover,
.cep-tool .cep-profile-card:focus-within {
	border-color: #b9d7cc;
	box-shadow: 0 18px 38px rgba(16, 31, 54, .09);
	transform: translateY(-3px);
}

.cep-tool .cep-profile-card__top {
	display: flex;
	gap: 14px;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 21px;
}

.cep-tool .cep-profile-card__code {
	display: grid;
	width: 48px;
	height: 48px;
	place-items: center;
	color: var(--cep-card-accent, var(--cep-green));
	background: var(--cep-green-pale);
	border: 1px solid #d6eade;
	border-radius: 13px;
	font-size: 14px;
	font-weight: 830;
	letter-spacing: .07em;
}

.cep-tool .cep-profile-card__region {
	color: var(--cep-muted);
	font-size: 11px;
	font-weight: 740;
	letter-spacing: .075em;
	text-transform: uppercase;
}

.cep-tool .cep-profile-card h3 {
	margin-bottom: 10px;
	font-size: 25px;
	font-weight: 780;
	letter-spacing: -.03em;
	line-height: 1.15;
}

.cep-tool .cep-profile-card__summary {
	margin-bottom: 19px;
	color: var(--cep-muted);
	font-size: 14px;
	line-height: 1.6;
}

.cep-tool .cep-profile-card__facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 9px;
	margin: 0 0 21px;
}

.cep-tool .cep-profile-card__facts > div {
	min-width: 0;
	padding: 10px 11px;
	background: var(--cep-surface);
	border-radius: 9px;
}

.cep-tool .cep-profile-card__facts dt {
	margin-bottom: 2px;
	color: var(--cep-muted);
	font-size: 10px;
	font-weight: 720;
	text-transform: uppercase;
}

.cep-tool .cep-profile-card__facts dd {
	margin-bottom: 0;
	font-size: 13px;
	font-weight: 760;
	line-height: 1.35;
}

.cep-tool .cep-profile-card__footer {
	display: flex;
	gap: 10px;
	align-items: center;
	justify-content: space-between;
	margin-top: auto;
	padding-top: 17px;
	border-top: 1px solid var(--cep-border);
}

.cep-tool .cep-profile-card__reviewed {
	color: var(--cep-muted);
	font-size: 10px;
	line-height: 1.35;
}

.cep-tool .cep-profile-card__link {
	display: inline-flex;
	gap: 7px;
	align-items: center;
	min-height: 39px;
	padding: 8px 12px;
	color: var(--cep-white);
	background: var(--cep-navy-soft);
	border-radius: 9px;
	font-size: 12px;
	font-weight: 760;
	text-decoration: none;
}

.cep-tool .cep-profile-card__link:hover {
	background: var(--cep-green);
}

/* Comparison and data tables */
.cep-tool .cep-table-wrap {
	position: relative;
	max-width: 100%;
	overflow-x: auto;
	background: var(--cep-white);
	border: 1px solid var(--cep-border);
	border-radius: 13px;
	-webkit-overflow-scrolling: touch;
}

.cep-tool .cep-table-wrap:focus-visible {
	outline-offset: 4px;
}

.cep-tool .cep-table-scroll-note {
	display: none;
	margin: 0 0 8px;
	color: var(--cep-muted);
	font-size: 11px;
}

.cep-tool table {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	font-size: 13px;
}

.cep-tool table caption:not(.screen-reader-text),
.cep-tool .cep-table-caption {
	padding: 15px 17px;
	color: var(--cep-muted);
	font-size: 12px;
	text-align: left;
}

.cep-tool table th,
.cep-tool table td {
	padding: 14px 16px;
	border-width: 0 0 1px;
	border-style: solid;
	border-color: var(--cep-border);
	text-align: left;
	vertical-align: middle;
}

.cep-tool table thead th {
	color: #4e5e72;
	background: #f2f5f7;
	font-size: 10px;
	font-weight: 810;
	letter-spacing: .075em;
	text-transform: uppercase;
}

.cep-tool table tbody th {
	min-width: 170px;
	color: var(--cep-ink);
	font-weight: 760;
}

.cep-tool table tbody tr:last-child :is(th, td) {
	border-bottom: 0;
}

.cep-tool table tbody tr:hover {
	background: #fafcfc;
}

.cep-tool .cep-compare-table {
	min-width: 720px;
}

.cep-tool .cep-compare-table th:first-child {
	position: sticky;
	left: 0;
	z-index: 2;
	background: inherit;
	box-shadow: 1px 0 0 var(--cep-border);
}

.cep-tool .cep-compare-table thead th:first-child {
	z-index: 3;
	background: #f2f5f7;
}

.cep-tool .cep-table-value {
	display: block;
	font-size: 14px;
	font-weight: 780;
}

.cep-tool .cep-table-year,
.cep-tool .cep-observed {
	display: block;
	margin-top: 2px;
	color: var(--cep-muted);
	font-size: 10px;
	font-weight: 600;
}

/* Profile scope and editorial standard */
.cep-tool .cep-scope-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.cep-tool .cep-scope-card {
	padding: 19px;
	background: var(--cep-surface);
	border: 1px solid transparent;
	border-radius: 13px;
}

.cep-tool .cep-scope-card__icon {
	display: grid;
	width: 38px;
	height: 38px;
	margin-bottom: 16px;
	place-items: center;
	color: var(--cep-green);
	background: var(--cep-white);
	border: 1px solid var(--cep-border);
	border-radius: 10px;
}

.cep-tool .cep-scope-card__icon svg {
	width: 19px;
	height: 19px;
	fill: currentColor;
}

.cep-tool .cep-scope-card h3 {
	margin-bottom: 7px;
	font-size: 16px;
	font-weight: 770;
}

.cep-tool .cep-scope-card p {
	margin-bottom: 0;
	color: var(--cep-muted);
	font-size: 12px;
}

.cep-tool .cep-standard-grid {
	display: grid;
	grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
	gap: 40px;
	align-items: start;
}

.cep-tool .cep-standard-list {
	display: grid;
	gap: 11px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cep-tool .cep-standard-list li {
	display: grid;
	grid-template-columns: 29px minmax(0, 1fr);
	gap: 12px;
	align-items: start;
	padding: 13px 14px;
	background: var(--cep-surface);
	border-radius: 10px;
}

.cep-tool .cep-standard-list b {
	display: grid;
	width: 29px;
	height: 29px;
	place-items: center;
	color: var(--cep-green);
	background: var(--cep-white);
	border-radius: 50%;
	font-size: 11px;
}

.cep-tool .cep-standard-list strong {
	display: block;
	font-size: 13px;
}

.cep-tool .cep-standard-list span {
	color: var(--cep-muted);
	font-size: 11px;
}

/* Country overview */
.cep-tool .cep-profile-header {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 24px;
	align-items: end;
	margin-top: 30px;
	padding: 26px 30px;
	background: linear-gradient(120deg, var(--cep-white), #f5faf8);
	border: 1px solid var(--cep-border);
	border-radius: var(--cep-radius);
}

.cep-tool .cep-profile-header h2 {
	margin-bottom: 7px;
	font-size: clamp(25px, 3vw, 36px);
	font-weight: 780;
	letter-spacing: -.035em;
	line-height: 1.1;
}

.cep-tool .cep-profile-header p {
	max-width: 750px;
	margin-bottom: 0;
	color: var(--cep-muted);
}

.cep-tool .cep-profile-header__dates {
	display: grid;
	gap: 7px;
	justify-items: end;
	color: var(--cep-muted);
	font-size: 11px;
}

.cep-tool .cep-kpi-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.cep-tool .cep-kpi {
	position: relative;
	min-width: 0;
	min-height: 205px;
	padding: 21px;
	overflow: hidden;
	background: #fbfcfc;
	border: 1px solid var(--cep-border);
	border-radius: 14px;
}

.cep-tool .cep-kpi::after {
	position: absolute;
	right: -26px;
	bottom: -36px;
	width: 96px;
	height: 96px;
	background: var(--cep-kpi-tint, var(--cep-green-pale));
	border-radius: 50%;
	content: "";
}

.cep-tool .cep-kpi__top {
	display: flex;
	gap: 12px;
	align-items: start;
	justify-content: space-between;
	margin-bottom: 18px;
}

.cep-tool .cep-kpi dt,
.cep-tool .cep-kpi__label {
	color: #546477;
	font-size: 11px;
	font-weight: 790;
	letter-spacing: .055em;
	line-height: 1.4;
	text-transform: uppercase;
}

.cep-tool .cep-kpi__icon {
	display: grid;
	width: 34px;
	height: 34px;
	flex: 0 0 auto;
	place-items: center;
	color: var(--cep-kpi-color, var(--cep-green));
	background: var(--cep-white);
	border: 1px solid var(--cep-border);
	border-radius: 10px;
}

.cep-tool .cep-kpi__icon svg {
	width: 17px;
	height: 17px;
	fill: currentColor;
}

.cep-tool .cep-kpi dd,
.cep-tool .cep-kpi__value {
	position: relative;
	z-index: 1;
	margin-bottom: 7px;
	font-size: clamp(26px, 3vw, 37px);
	font-weight: 800;
	letter-spacing: -.04em;
	line-height: 1.05;
}

.cep-tool .cep-kpi__value small {
	font-size: 12px;
	font-weight: 680;
	letter-spacing: 0;
}

.cep-tool .cep-kpi__delta {
	position: relative;
	z-index: 1;
	display: inline-flex;
	gap: 5px;
	align-items: center;
	margin-bottom: 8px;
	padding: 4px 8px;
	color: #315f50;
	background: var(--cep-green-pale);
	border-radius: 999px;
	font-size: 10px;
	font-style: normal;
	font-weight: 750;
}

.cep-tool .cep-kpi__delta.is-adverse {
	color: #87483f;
	background: #fff0ed;
}

.cep-tool .cep-kpi__meta,
.cep-tool .cep-kpi__source {
	position: relative;
	z-index: 1;
	margin-bottom: 0;
	color: var(--cep-muted);
	font-size: 10px;
	line-height: 1.45;
}

.cep-tool .cep-kpi__source a {
	color: #49637a;
	font-weight: 700;
}

/* Editorial insights */
.cep-tool .cep-insight-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 17px;
	counter-reset: cep-insight;
}

.cep-tool .cep-insight {
	position: relative;
	min-width: 0;
	padding: 25px 23px 22px;
	background: linear-gradient(150deg, #14253d, #1b3d4d);
	border: 1px solid rgba(255, 255, 255, .06);
	border-radius: 16px;
	box-shadow: 0 17px 34px rgba(16, 31, 54, .15);
	counter-increment: cep-insight;
}

.cep-tool .cep-insight::before {
	display: block;
	margin-bottom: 26px;
	color: #78d1b4;
	font-size: 11px;
	font-weight: 820;
	letter-spacing: .1em;
	content: "INSIGHT 0" counter(cep-insight);
}

.cep-tool .cep-insight h3 {
	margin-bottom: 12px;
	color: var(--cep-white);
	font-size: 20px;
	font-weight: 760;
	letter-spacing: -.025em;
	line-height: 1.25;
}

.cep-tool .cep-insight p {
	margin-bottom: 19px;
	color: rgba(255, 255, 255, .74);
	font-size: 13px;
	line-height: 1.65;
}

.cep-tool .cep-insight a {
	display: inline-flex;
	gap: 7px;
	align-items: center;
	color: #a7e7d1;
	font-size: 11px;
	font-weight: 760;
	text-decoration: none;
}

.cep-tool .cep-insight a:hover {
	color: var(--cep-white);
	text-decoration: underline;
}

/* In-page navigation */
.cep-tool .cep-section-nav {
	position: sticky;
	top: 14px;
	z-index: 30;
	display: flex;
	gap: 6px;
	align-items: center;
	margin: 30px 0;
	padding: 8px;
	overflow-x: auto;
	background: rgba(255, 255, 255, .94);
	border: 1px solid var(--cep-border);
	border-radius: 13px;
	box-shadow: 0 10px 30px rgba(16, 31, 54, .09);
	backdrop-filter: blur(10px);
	scrollbar-width: thin;
}

.admin-bar .cep-tool .cep-section-nav {
	top: 46px;
}

.cep-tool .cep-section-nav a {
	display: inline-flex;
	min-width: max-content;
	min-height: 39px;
	padding: 9px 13px;
	align-items: center;
	justify-content: center;
	color: #4d5e72;
	border-radius: 8px;
	font-size: 11px;
	font-weight: 760;
	text-decoration: none;
	transition: color .18s ease, background-color .18s ease;
}

.cep-tool .cep-section-nav a:hover,
.cep-tool .cep-section-nav a[aria-current="true"],
.cep-tool .cep-section-nav a.is-active {
	color: var(--cep-white);
	background: var(--cep-navy-soft);
}

/* Topic sections */
.cep-tool .cep-section,
.cep-tool .cep-content-section {
	scroll-margin-top: 90px;
}

.cep-tool .cep-section + .cep-section,
.cep-tool .cep-content-section + .cep-content-section {
	margin-top: 30px;
}

.cep-tool .cep-section {
	padding: 38px;
	background: var(--cep-white);
	border: 1px solid var(--cep-border);
	border-radius: var(--cep-radius-lg);
	box-shadow: var(--cep-shadow);
}

.cep-tool .cep-section__heading {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(260px, .7fr);
	gap: 30px;
	align-items: end;
	margin-bottom: 29px;
}

.cep-tool .cep-section__meta {
	display: flex;
	gap: 8px 17px;
	align-items: center;
	flex-wrap: wrap;
	margin-top: 12px;
	color: var(--cep-muted);
	font-size: 10px;
}

.cep-tool .cep-section__meta a {
	color: #48657c;
	font-weight: 720;
}

.cep-tool .cep-section-grid,
.cep-tool .cep-chart-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.62fr) minmax(270px, .78fr);
	gap: 22px;
	align-items: start;
}

.cep-tool .cep-interpretation {
	padding: 23px;
	background: var(--cep-surface);
	border-left: 3px solid var(--cep-green);
	border-radius: 0 13px 13px 0;
}

.cep-tool .cep-interpretation h3 {
	margin-bottom: 12px;
	font-size: 17px;
	font-weight: 770;
}

.cep-tool .cep-interpretation p,
.cep-tool .cep-interpretation li {
	color: #59697b;
	font-size: 12px;
	line-height: 1.65;
}

.cep-tool .cep-interpretation p:last-child,
.cep-tool .cep-interpretation ul:last-child {
	margin-bottom: 0;
}

.cep-tool .cep-interpretation ul {
	margin: 15px 0 0;
	padding-left: 18px;
}

.cep-tool .cep-fact-list {
	display: grid;
	gap: 9px;
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
}

.cep-tool .cep-fact-list li {
	padding: 10px 11px;
	background: var(--cep-white);
	border: 1px solid var(--cep-border);
	border-radius: 9px;
}

.cep-tool .cep-fact-list strong,
.cep-tool .cep-fact-list span {
	display: block;
}

.cep-tool .cep-fact-list strong {
	margin-bottom: 2px;
	font-size: 12px;
}

.cep-tool .cep-fact-list span {
	color: var(--cep-muted);
	font-size: 10px;
}

/* Chart shells */
.cep-tool .cep-chart-shell,
.cep-tool .cep-chart-card {
	min-width: 0;
	padding: 20px;
	background: var(--cep-white);
	border: 1px solid var(--cep-border);
	border-radius: 14px;
}

.cep-tool .cep-chart-shell__head,
.cep-tool .cep-chart-card__head {
	display: flex;
	gap: 20px;
	align-items: start;
	justify-content: space-between;
	margin-bottom: 14px;
}

.cep-tool .cep-chart-shell__head h3,
.cep-tool .cep-chart-card__head h3 {
	margin-bottom: 4px;
	font-size: 17px;
	font-weight: 770;
	letter-spacing: -.015em;
}

.cep-tool .cep-chart-shell__head p,
.cep-tool .cep-chart-card__head p,
.cep-tool .cep-chart-caption {
	margin-bottom: 0;
	color: var(--cep-muted);
	font-size: 10px;
	line-height: 1.45;
}

.cep-tool .cep-segmented,
.cep-tool .cep-chart-toggle {
	display: inline-flex;
	flex: 0 0 auto;
	padding: 3px;
	background: #edf1f3;
	border: 1px solid var(--cep-border);
	border-radius: 9px;
}

.cep-tool .cep-segmented button,
.cep-tool .cep-chart-toggle button {
	min-height: 32px;
	padding: 6px 10px;
	color: #596a7c;
	background: transparent;
	border: 0;
	border-radius: 7px;
	font-size: 10px;
	font-weight: 760;
}

.cep-tool .cep-segmented button[aria-pressed="true"],
.cep-tool .cep-chart-toggle button[aria-pressed="true"] {
	color: var(--cep-ink);
	background: var(--cep-white);
	box-shadow: 0 2px 7px rgba(16, 31, 54, .09);
}

.cep-tool .cep-chart {
	position: relative;
	width: 100%;
	min-width: 0;
	height: 330px;
	margin-top: 7px;
	background: linear-gradient(180deg, rgba(244, 247, 247, .18), rgba(244, 247, 247, .76));
	border-bottom: 1px solid var(--cep-border);
	border-radius: 9px 9px 0 0;
}

.cep-tool .cep-chart--compact {
	height: 230px;
}

.cep-tool .cep-chart svg {
	display: block;
	width: 100%;
	height: 100%;
	overflow: visible;
}

.cep-tool .cep-chart__grid {
	stroke: #e4e9ec;
	stroke-width: 1;
	vector-effect: non-scaling-stroke;
}

.cep-tool .cep-chart__axis,
.cep-tool .cep-chart__zero {
	stroke: #a8b3be;
	stroke-width: 1;
	vector-effect: non-scaling-stroke;
}

.cep-tool .cep-chart__zero {
	stroke-dasharray: 4 4;
}

.cep-tool .cep-chart__line {
	fill: none;
	stroke: var(--cep-chart-color, var(--cep-green));
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2.6;
	vector-effect: non-scaling-stroke;
}

.cep-tool .cep-chart__line--secondary {
	stroke: var(--cep-blue);
	stroke-dasharray: 6 4;
}

.cep-tool .cep-chart__area {
	fill: var(--cep-chart-fill, rgba(36, 118, 92, .14));
	stroke: none;
}

.cep-tool .cep-chart__bar {
	fill: var(--cep-chart-color, var(--cep-green));
}

.cep-tool .cep-chart__bar.is-negative {
	fill: var(--cep-coral);
}

.cep-tool .cep-chart__point {
	fill: var(--cep-chart-color, var(--cep-green));
	stroke: var(--cep-white);
	stroke-width: 2;
	vector-effect: non-scaling-stroke;
}

.cep-tool .cep-chart__point:focus {
	stroke: var(--cep-amber);
	stroke-width: 4;
}

.cep-tool .cep-chart__label,
.cep-tool .cep-chart__axis-label {
	fill: #738092;
	font-family: inherit;
	font-size: 10px;
}

.cep-tool .cep-chart__annotation {
	fill: var(--cep-ink);
	font-family: inherit;
	font-size: 10px;
	font-weight: 730;
}

.cep-tool .cep-chart__gap {
	fill: none;
	stroke: #aab4bf;
	stroke-dasharray: 3 4;
	stroke-width: 1.5;
}

.cep-tool .cep-chart-tooltip {
	position: absolute;
	z-index: 5;
	min-width: 128px;
	max-width: 210px;
	padding: 9px 11px;
	color: var(--cep-white);
	background: rgba(12, 29, 46, .95);
	border-radius: 8px;
	box-shadow: 0 8px 23px rgba(10, 24, 40, .24);
	font-size: 10px;
	line-height: 1.45;
	pointer-events: none;
	transform: translate(-50%, calc(-100% - 9px));
}

.cep-tool .cep-chart-tooltip strong,
.cep-tool .cep-chart-tooltip span {
	display: block;
}

.cep-tool .cep-chart-tooltip span {
	color: rgba(255, 255, 255, .72);
}

.cep-tool .cep-chart-legend {
	display: flex;
	gap: 10px 18px;
	align-items: center;
	flex-wrap: wrap;
	margin: 12px 0 0;
	padding: 0;
	color: #59697b;
	font-size: 10px;
	list-style: none;
}

.cep-tool .cep-chart-legend li {
	display: inline-flex;
	gap: 6px;
	align-items: center;
}

.cep-tool .cep-chart-legend i {
	width: 18px;
	height: 3px;
	background: var(--cep-legend-color, var(--cep-green));
	border-radius: 3px;
}

.cep-tool .cep-chart-legend .is-dashed i {
	background: repeating-linear-gradient(90deg, var(--cep-legend-color, var(--cep-blue)) 0 6px, transparent 6px 9px);
}

.cep-tool .cep-chart-caption {
	margin-top: 12px;
}

.cep-tool .cep-chart-loading {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	color: var(--cep-muted);
	background: linear-gradient(90deg, #f4f7f7 25%, #e9efec 38%, #f4f7f7 63%);
	background-size: 400% 100%;
	border-radius: inherit;
	font-size: 11px;
	animation: cep-shimmer 1.3s ease infinite;
}

@keyframes cep-shimmer {
	to { background-position: -100% 0; }
}

.cep-tool .cep-no-data,
.cep-tool .cep-chart-error {
	display: grid;
	min-height: 180px;
	padding: 24px;
	place-items: center;
	color: var(--cep-muted);
	background: var(--cep-surface);
	border: 1px dashed var(--cep-border-strong);
	border-radius: 10px;
	font-size: 12px;
	text-align: center;
}

.cep-tool .cep-chart-actions,
.cep-tool .cep-actions {
	display: flex;
	gap: 8px;
	align-items: center;
	flex-wrap: wrap;
	margin-top: 16px;
}

.cep-tool .cep-button,
.cep-tool .cep-chart-actions :is(a, button),
.cep-tool .cep-actions :is(a, button) {
	display: inline-flex;
	gap: 7px;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 8px 12px;
	color: #40566c;
	background: var(--cep-white);
	border: 1px solid var(--cep-border-strong);
	border-radius: 9px;
	font-size: 11px;
	font-weight: 760;
	line-height: 1.2;
	text-decoration: none;
}

.cep-tool .cep-button:hover,
.cep-tool .cep-chart-actions :is(a, button):hover,
.cep-tool .cep-actions :is(a, button):hover {
	color: var(--cep-navy);
	background: #f0f4f4;
}

.cep-tool .cep-button--primary,
.cep-tool .cep-actions .cep-button--primary {
	color: var(--cep-white);
	background: var(--cep-navy-soft);
	border-color: var(--cep-navy-soft);
}

.cep-tool .cep-button--primary:hover,
.cep-tool .cep-actions .cep-button--primary:hover {
	color: var(--cep-white);
	background: var(--cep-green);
	border-color: var(--cep-green);
}

.cep-tool .cep-button svg,
.cep-tool .cep-chart-actions svg,
.cep-tool .cep-actions svg {
	width: 15px;
	height: 15px;
	fill: currentColor;
}

/* Accessible chart tables */
.cep-tool .cep-data-details {
	margin-top: 15px;
	background: var(--cep-surface);
	border: 1px solid var(--cep-border);
	border-radius: 10px;
}

.cep-tool .cep-data-details summary {
	position: relative;
	display: flex;
	min-height: 44px;
	padding: 11px 43px 11px 13px;
	align-items: center;
	color: #45596f;
	font-size: 11px;
	font-weight: 770;
	list-style: none;
}

.cep-tool .cep-data-details summary::-webkit-details-marker {
	display: none;
}

.cep-tool .cep-data-details summary::after {
	position: absolute;
	top: 50%;
	right: 15px;
	font-size: 18px;
	font-weight: 500;
	line-height: 1;
	content: "+";
	transform: translateY(-52%);
}

.cep-tool .cep-data-details[open] summary::after {
	content: "−";
}

.cep-tool .cep-data-details[open] summary {
	border-bottom: 1px solid var(--cep-border);
}

.cep-tool .cep-data-details .cep-table-wrap {
	max-height: 350px;
	border: 0;
	border-radius: 0 0 10px 10px;
}

.cep-tool .cep-data-details table {
	min-width: 520px;
}

.cep-tool .cep-data-details table thead {
	position: sticky;
	top: 0;
	z-index: 2;
}

/* Electricity mix */
.cep-tool .cep-electricity-mix {
	padding: 22px;
	background: var(--cep-surface-blue);
	border: 1px solid var(--cep-border);
	border-radius: 14px;
}

.cep-tool .cep-electricity-mix__head {
	display: flex;
	gap: 20px;
	align-items: baseline;
	justify-content: space-between;
	margin-bottom: 18px;
}

.cep-tool .cep-electricity-mix__head h3 {
	margin-bottom: 0;
	font-size: 17px;
	font-weight: 770;
}

.cep-tool .cep-electricity-mix__head p {
	margin-bottom: 0;
	color: var(--cep-muted);
	font-size: 10px;
}

.cep-tool .cep-electricity-stack {
	display: flex;
	width: 100%;
	height: 36px;
	overflow: hidden;
	background: #e2e7ea;
	border: 2px solid var(--cep-white);
	border-radius: 9px;
	box-shadow: 0 0 0 1px var(--cep-border);
}

.cep-tool .cep-electricity-stack__segment {
	position: relative;
	display: block;
	min-width: 0;
	height: 100%;
	background: var(--cep-source-color, var(--cep-other));
}

.cep-tool .cep-electricity-stack__segment + .cep-electricity-stack__segment {
	box-shadow: -1px 0 rgba(255, 255, 255, .6);
}

.cep-tool .cep-electricity-stack__segment--coal,
.cep-tool .is-coal { --cep-source-color: var(--cep-coal); }
.cep-tool .cep-electricity-stack__segment--gas,
.cep-tool .is-gas { --cep-source-color: var(--cep-gas); }
.cep-tool .cep-electricity-stack__segment--oil,
.cep-tool .is-oil { --cep-source-color: var(--cep-oil); }
.cep-tool .cep-electricity-stack__segment--nuclear,
.cep-tool .is-nuclear { --cep-source-color: var(--cep-nuclear); }
.cep-tool .cep-electricity-stack__segment--hydro,
.cep-tool .is-hydro { --cep-source-color: var(--cep-hydro); }
.cep-tool .cep-electricity-stack__segment--solar,
.cep-tool .is-solar { --cep-source-color: var(--cep-solar); }
.cep-tool .cep-electricity-stack__segment--wind,
.cep-tool .is-wind { --cep-source-color: var(--cep-wind); }
.cep-tool .cep-electricity-stack__segment--bio,
.cep-tool .is-bio { --cep-source-color: var(--cep-bio); }
.cep-tool .cep-electricity-stack__segment--other,
.cep-tool .is-other { --cep-source-color: var(--cep-other); }

.cep-tool .cep-legend,
.cep-tool .cep-electricity-legend {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 9px;
	margin: 18px 0 0;
}

.cep-tool .cep-legend > div,
.cep-tool .cep-legend li,
.cep-tool .cep-electricity-legend > div {
	display: grid;
	grid-template-columns: 9px minmax(0, 1fr) auto;
	gap: 7px;
	align-items: center;
	min-width: 0;
	margin: 0;
	padding: 8px 9px;
	background: var(--cep-white);
	border: 1px solid var(--cep-border);
	border-radius: 8px;
}

.cep-tool ul.cep-legend,
.cep-tool ul.cep-electricity-legend {
	padding: 0;
	list-style: none;
}

.cep-tool .cep-legend i,
.cep-tool .cep-electricity-legend i {
	width: 9px;
	height: 9px;
	background: var(--cep-source-color, var(--cep-other));
	border-radius: 3px;
}

.cep-tool .cep-legend dt,
.cep-tool .cep-legend span,
.cep-tool .cep-electricity-legend dt {
	overflow: hidden;
	color: #596a7d;
	font-size: 10px;
	font-weight: 680;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.cep-tool .cep-legend dd,
.cep-tool .cep-legend strong,
.cep-tool .cep-electricity-legend dd {
	margin: 0;
	font-size: 11px;
	font-weight: 790;
}

/* Risk, biodiversity, and synthesis */
.cep-tool .cep-risk-grid,
.cep-tool .cep-biodiversity-grid,
.cep-tool .cep-metric-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.cep-tool .cep-risk-card,
.cep-tool .cep-biodiversity-card,
.cep-tool .cep-metric-card {
	min-width: 0;
	padding: 19px;
	background: var(--cep-surface);
	border: 1px solid var(--cep-border);
	border-radius: 13px;
}

.cep-tool .cep-risk-card__top,
.cep-tool .cep-biodiversity-card__top,
.cep-tool .cep-metric-card__top {
	display: flex;
	gap: 12px;
	align-items: start;
	justify-content: space-between;
	margin-bottom: 16px;
}

.cep-tool .cep-risk-card h3,
.cep-tool .cep-biodiversity-card h3,
.cep-tool .cep-metric-card h3 {
	margin-bottom: 0;
	font-size: 14px;
	font-weight: 770;
	line-height: 1.3;
}

.cep-tool .cep-risk-card__value,
.cep-tool .cep-biodiversity-card__value,
.cep-tool .cep-metric-card__value {
	margin-bottom: 8px;
	font-size: 27px;
	font-weight: 800;
	letter-spacing: -.035em;
	line-height: 1.1;
}

.cep-tool .cep-risk-card__value small,
.cep-tool .cep-biodiversity-card__value small,
.cep-tool .cep-metric-card__value small {
	font-size: 10px;
	font-weight: 650;
	letter-spacing: 0;
}

.cep-tool .cep-risk-card p,
.cep-tool .cep-biodiversity-card p,
.cep-tool .cep-metric-card p {
	margin-bottom: 0;
	color: var(--cep-muted);
	font-size: 10px;
	line-height: 1.55;
}

.cep-tool .cep-risk-scale,
.cep-tool .cep-metric-scale {
	position: relative;
	height: 7px;
	margin: 13px 0 10px;
	background: linear-gradient(90deg, #59a985, #e2b957 52%, #d96b5c);
	border-radius: 999px;
}

.cep-tool .cep-risk-scale i,
.cep-tool .cep-metric-scale i {
	position: absolute;
	top: 50%;
	left: var(--cep-position, 50%);
	width: 12px;
	height: 12px;
	background: var(--cep-white);
	border: 3px solid var(--cep-navy-soft);
	border-radius: 50%;
	box-shadow: 0 1px 4px rgba(16, 31, 54, .2);
	transform: translate(-50%, -50%);
}

.cep-tool .cep-connection-panel {
	position: relative;
	margin-top: 30px;
	padding: 34px;
	overflow: hidden;
	color: var(--cep-white);
	background:
		radial-gradient(circle at 85% 20%, rgba(91, 201, 161, .22), transparent 25%),
		linear-gradient(135deg, #11223a, #1a4650);
	border-radius: var(--cep-radius-lg);
	box-shadow: 0 20px 45px rgba(16, 31, 54, .16);
}

.cep-tool .cep-connection-panel .cep-section-label {
	color: #7bd6bb;
}

.cep-tool .cep-connection-panel h2 {
	max-width: 650px;
	margin-bottom: 26px;
	color: var(--cep-white);
	font-size: clamp(27px, 3vw, 39px);
	font-weight: 770;
	letter-spacing: -.035em;
	line-height: 1.1;
}

.cep-tool .cep-connection-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 13px;
}

.cep-tool .cep-connection {
	padding: 18px;
	background: rgba(255, 255, 255, .075);
	border: 1px solid rgba(255, 255, 255, .11);
	border-radius: 12px;
}

.cep-tool .cep-connection h3 {
	margin-bottom: 8px;
	color: var(--cep-white);
	font-size: 14px;
	font-weight: 760;
}

.cep-tool .cep-connection p {
	margin-bottom: 0;
	color: rgba(255, 255, 255, .7);
	font-size: 11px;
	line-height: 1.6;
}

.cep-tool .cep-limitations {
	margin-top: 14px;
	padding: 15px 17px;
	color: rgba(255, 255, 255, .76);
	background: rgba(0, 0, 0, .14);
	border-radius: 10px;
	font-size: 11px;
}

.cep-tool .cep-limitations strong {
	color: var(--cep-white);
}

/* Methodology, downloads, and sources */
.cep-tool .cep-method-intro {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
	gap: 34px;
	align-items: start;
	margin-bottom: 24px;
}

.cep-tool .cep-method-intro > p {
	color: var(--cep-muted);
}

.cep-tool .cep-method-facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 9px;
}

.cep-tool .cep-method-facts > div {
	padding: 11px 13px;
	background: var(--cep-surface);
	border-radius: 9px;
}

.cep-tool .cep-method-facts strong,
.cep-tool .cep-method-facts span {
	display: block;
}

.cep-tool .cep-method-facts strong {
	margin-bottom: 2px;
	font-size: 11px;
}

.cep-tool .cep-method-facts span {
	color: var(--cep-muted);
	font-size: 10px;
}

.cep-tool .cep-method-details {
	margin-top: 14px;
	background: var(--cep-white);
	border: 1px solid var(--cep-border);
	border-radius: 11px;
}

.cep-tool .cep-method-details summary {
	position: relative;
	display: flex;
	min-height: 52px;
	padding: 14px 49px 14px 16px;
	align-items: center;
	font-size: 12px;
	font-weight: 770;
	list-style: none;
}

.cep-tool .cep-method-details summary::-webkit-details-marker {
	display: none;
}

.cep-tool .cep-method-details summary::after {
	position: absolute;
	top: 50%;
	right: 17px;
	font-size: 20px;
	font-weight: 500;
	content: "+";
	transform: translateY(-52%);
}

.cep-tool .cep-method-details[open] summary {
	border-bottom: 1px solid var(--cep-border);
}

.cep-tool .cep-method-details[open] summary::after {
	content: "−";
}

.cep-tool .cep-method-details__body {
	padding: 16px;
}

.cep-tool .cep-method-table {
	min-width: 860px;
}

.cep-tool .cep-method-table td,
.cep-tool .cep-method-table th {
	vertical-align: top;
}

.cep-tool .cep-method-table a {
	color: var(--cep-blue);
	font-weight: 700;
}

.cep-tool .cep-download-panel {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 22px;
	align-items: center;
	margin-top: 22px;
	padding: 20px 22px;
	background: var(--cep-green-pale);
	border: 1px solid #cfe7da;
	border-radius: 13px;
}

.cep-tool .cep-download-panel h3 {
	margin-bottom: 4px;
	font-size: 16px;
	font-weight: 770;
}

.cep-tool .cep-download-panel p {
	margin-bottom: 0;
	color: #557267;
	font-size: 11px;
}

.cep-tool .cep-download-panel .cep-actions {
	margin-top: 0;
	justify-content: end;
}

.cep-tool .cep-source-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin-top: 22px;
}

.cep-tool .cep-source-link,
.cep-tool .cep-source-grid > a {
	display: flex;
	min-width: 0;
	min-height: 112px;
	padding: 16px;
	flex-direction: column;
	color: var(--cep-ink);
	background: var(--cep-surface);
	border: 1px solid var(--cep-border);
	border-radius: 11px;
	text-decoration: none;
	transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}

.cep-tool .cep-source-link:hover,
.cep-tool .cep-source-grid > a:hover {
	background: var(--cep-white);
	border-color: #acd4c5;
	transform: translateY(-2px);
}

.cep-tool .cep-source-link span,
.cep-tool .cep-source-grid > a span {
	margin-bottom: 7px;
	color: var(--cep-green);
	font-size: 9px;
	font-weight: 820;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.cep-tool .cep-source-link strong,
.cep-tool .cep-source-grid > a strong {
	margin-bottom: 5px;
	font-size: 13px;
	font-weight: 770;
	line-height: 1.35;
}

.cep-tool .cep-source-link small,
.cep-tool .cep-source-grid > a small {
	margin-top: auto;
	color: var(--cep-muted);
	font-size: 10px;
	line-height: 1.45;
}

.cep-tool .cep-method-note,
.cep-tool .cep-source-note {
	margin: 16px 0 0;
	padding: 13px 15px;
	color: var(--cep-muted);
	background: var(--cep-surface);
	border-radius: 9px;
	font-size: 10px;
	line-height: 1.6;
}

.cep-tool .cep-related-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.cep-tool .cep-related-card {
	display: grid;
	grid-template-columns: 46px minmax(0, 1fr) auto;
	gap: 13px;
	align-items: center;
	min-width: 0;
	padding: 16px;
	color: var(--cep-ink);
	background: var(--cep-surface);
	border: 1px solid var(--cep-border);
	border-radius: 11px;
	text-decoration: none;
}

.cep-tool .cep-related-card:hover {
	background: var(--cep-green-pale);
	border-color: #badccc;
}

.cep-tool .cep-related-card__code {
	display: grid;
	width: 46px;
	height: 46px;
	place-items: center;
	color: var(--cep-green);
	background: var(--cep-white);
	border-radius: 11px;
	font-size: 12px;
	font-weight: 820;
	letter-spacing: .06em;
}

.cep-tool .cep-related-card strong,
.cep-tool .cep-related-card small {
	display: block;
}

.cep-tool .cep-related-card strong {
	font-size: 14px;
}

.cep-tool .cep-related-card small {
	color: var(--cep-muted);
	font-size: 10px;
}

.cep-tool .cep-related-card > span:last-child {
	color: var(--cep-green);
	font-size: 18px;
}

.cep-tool .cep-toast,
.cep-tool .cep-live-status {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 100;
	max-width: min(360px, calc(100vw - 32px));
	padding: 12px 15px;
	color: var(--cep-white);
	background: var(--cep-navy);
	border-radius: 10px;
	box-shadow: 0 14px 34px rgba(16, 31, 54, .25);
	font-size: 11px;
}

/* 1024px: two-column cards and stacked story sections */
@media (max-width: 1024px) {
	.cep-tool .cep-hero {
		grid-template-columns: minmax(0, 1fr) 275px;
		padding: 52px 48px;
	}

	.cep-tool .cep-globe {
		width: 205px;
		height: 205px;
	}

	.cep-tool .cep-profile-grid,
	.cep-tool .cep-kpi-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cep-tool .cep-profile-card:last-child:nth-child(odd) {
		grid-column: 1 / -1;
		min-height: 290px;
	}

	.cep-tool .cep-scope-grid,
	.cep-tool .cep-legend,
	.cep-tool .cep-electricity-legend {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cep-tool .cep-section-grid,
	.cep-tool .cep-chart-layout {
		grid-template-columns: 1fr;
	}

	.cep-tool .cep-interpretation {
		border-top: 3px solid var(--cep-green);
		border-left: 0;
		border-radius: 0 0 13px 13px;
	}

	.cep-tool .cep-method-table {
		min-width: 780px;
	}
}

/* 768px: single-column content, compact hero and navigation */
@media (max-width: 768px) {
	.has-country-environmental-profile.page .site-main {
		margin-top: 16px;
		margin-bottom: 48px;
	}

	.cep-tool .cep-hero {
		display: block;
		min-height: 0;
		padding: 43px 35px;
		border-radius: 23px;
	}

	.cep-tool .cep-hero__visual {
		display: none;
	}

	.cep-tool .cep-hero h1 {
		font-size: clamp(39px, 10vw, 55px);
	}

	.cep-tool .cep-app {
		margin-top: 20px;
	}

	.cep-tool .cep-section-heading,
	.cep-tool .cep-section__heading,
	.cep-tool .cep-profile-header,
	.cep-tool .cep-method-intro,
	.cep-tool .cep-download-panel {
		display: grid;
		grid-template-columns: 1fr;
		gap: 13px;
		align-items: start;
	}

	.cep-tool .cep-profile-header__dates {
		justify-items: start;
	}

	.cep-tool .cep-intro-strip {
		grid-template-columns: auto minmax(0, 1fr);
	}

	.cep-tool .cep-intro-strip > :last-child:not(:nth-child(2)) {
		grid-column: 2;
	}

	.cep-tool .cep-profiles,
	.cep-tool .cep-compare,
	.cep-tool .cep-profile-scope,
	.cep-tool .cep-editorial-standard,
	.cep-tool .cep-kpis,
	.cep-tool .cep-insights,
	.cep-tool .cep-content-section,
	.cep-tool .cep-methodology,
	.cep-tool .cep-related,
	.cep-tool .cep-section {
		padding: 28px;
		border-radius: 19px;
	}

	.cep-tool .cep-profile-grid,
	.cep-tool .cep-insight-grid,
	.cep-tool .cep-standard-grid,
	.cep-tool .cep-risk-grid,
	.cep-tool .cep-biodiversity-grid,
	.cep-tool .cep-metric-grid,
	.cep-tool .cep-connection-grid {
		grid-template-columns: 1fr;
	}

	.cep-tool .cep-profile-card:last-child:nth-child(odd) {
		grid-column: auto;
	}

	.cep-tool .cep-profile-card {
		min-height: 320px;
	}

	.cep-tool .cep-section-nav {
		margin-right: -1px;
		margin-left: -1px;
		border-radius: 11px;
	}

	.cep-tool .cep-section-nav::after {
		width: 1px;
		flex: 0 0 1px;
		content: "";
	}

	.cep-tool .cep-chart-shell__head,
	.cep-tool .cep-chart-card__head,
	.cep-tool .cep-electricity-mix__head {
		align-items: stretch;
		flex-direction: column;
	}

	.cep-tool .cep-segmented,
	.cep-tool .cep-chart-toggle {
		align-self: flex-start;
	}

	.cep-tool .cep-chart {
		height: 285px;
	}

	.cep-tool .cep-chart--compact {
		height: 215px;
	}

	.cep-tool .cep-download-panel .cep-actions {
		justify-content: start;
	}

	.cep-tool .cep-source-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cep-tool .cep-table-scroll-note {
		display: block;
	}
}

/* 480px: phone cards, one-column metrics and full-width actions */
@media (max-width: 480px) {
	.cep-tool {
		font-size: 15px;
	}

	.cep-tool .cep-hero {
		padding: 32px 21px;
		border-radius: 18px;
	}

	.cep-tool .cep-breadcrumb {
		margin-bottom: 27px;
	}

	.cep-tool .cep-hero h1 {
		font-size: clamp(35px, 11vw, 45px);
	}

	.cep-tool .cep-hero__intro,
	.cep-tool .cep-hero__summary {
		font-size: 15px;
	}

	.cep-tool .cep-hero__meta {
		align-items: flex-start;
		flex-direction: column;
	}

	.cep-tool .cep-country-switcher {
		align-items: stretch;
		flex-direction: column;
	}

	.cep-tool .cep-country-switcher select {
		width: 100%;
		min-width: 0;
	}

	.cep-tool .cep-intro-strip {
		grid-template-columns: 1fr;
		padding: 17px;
	}

	.cep-tool .cep-intro-strip > :last-child:not(:nth-child(2)) {
		grid-column: auto;
	}

	.cep-tool .cep-profiles,
	.cep-tool .cep-compare,
	.cep-tool .cep-profile-scope,
	.cep-tool .cep-editorial-standard,
	.cep-tool .cep-kpis,
	.cep-tool .cep-insights,
	.cep-tool .cep-content-section,
	.cep-tool .cep-methodology,
	.cep-tool .cep-related,
	.cep-tool .cep-section,
	.cep-tool .cep-connection-panel {
		padding: 22px 19px;
		border-radius: 16px;
	}

	.cep-tool .cep-profile-header {
		padding: 21px;
	}

	.cep-tool .cep-profile-grid,
	.cep-tool .cep-kpi-grid,
	.cep-tool .cep-scope-grid,
	.cep-tool .cep-legend,
	.cep-tool .cep-electricity-legend,
	.cep-tool .cep-method-facts,
	.cep-tool .cep-source-grid,
	.cep-tool .cep-related-grid {
		grid-template-columns: 1fr;
	}

	.cep-tool .cep-profile-card {
		min-height: 0;
		padding: 21px;
	}

	.cep-tool .cep-kpi {
		min-height: 185px;
	}

	.cep-tool .cep-section-heading h2,
	.cep-tool .cep-section__heading h2 {
		font-size: 29px;
	}

	.cep-tool .cep-section-nav {
		top: 7px;
		margin-top: 20px;
		margin-bottom: 20px;
		padding: 6px;
	}

	.admin-bar .cep-tool .cep-section-nav {
		top: 52px;
	}

	.cep-tool .cep-chart-shell,
	.cep-tool .cep-chart-card,
	.cep-tool .cep-electricity-mix {
		padding: 15px;
	}

	.cep-tool .cep-chart {
		height: 245px;
	}

	.cep-tool .cep-chart--compact {
		height: 190px;
	}

	.cep-tool .cep-electricity-stack {
		height: 30px;
	}

	.cep-tool .cep-actions,
	.cep-tool .cep-chart-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.cep-tool .cep-button,
	.cep-tool .cep-chart-actions :is(a, button),
	.cep-tool .cep-actions :is(a, button) {
		width: 100%;
		min-height: 44px;
	}

	.cep-tool .cep-related-card {
		grid-template-columns: 42px minmax(0, 1fr) auto;
	}

	.cep-tool .cep-table-wrap {
		border-radius: 9px;
	}

	.cep-tool table th,
	.cep-tool table td {
		padding: 12px 13px;
	}
}

/* 320px: preserve readable type and eliminate avoidable overflow */
@media (max-width: 320px) {
	.cep-tool .cep-hero {
		padding: 27px 16px;
	}

	.cep-tool .cep-hero h1 {
		font-size: 33px;
	}

	.cep-tool .cep-profiles,
	.cep-tool .cep-compare,
	.cep-tool .cep-profile-scope,
	.cep-tool .cep-editorial-standard,
	.cep-tool .cep-kpis,
	.cep-tool .cep-insights,
	.cep-tool .cep-content-section,
	.cep-tool .cep-methodology,
	.cep-tool .cep-related,
	.cep-tool .cep-section,
	.cep-tool .cep-connection-panel {
		padding: 19px 15px;
	}

	.cep-tool .cep-profile-card,
	.cep-tool .cep-kpi,
	.cep-tool .cep-insight,
	.cep-tool .cep-risk-card,
	.cep-tool .cep-biodiversity-card,
	.cep-tool .cep-metric-card {
		padding: 17px;
	}

	.cep-tool .cep-profile-card__facts {
		grid-template-columns: 1fr;
	}

	.cep-tool .cep-profile-card__footer {
		align-items: stretch;
		flex-direction: column;
	}

	.cep-tool .cep-profile-card__link {
		justify-content: center;
	}

	.cep-tool .cep-chart {
		height: 220px;
	}

	.cep-tool .cep-segmented,
	.cep-tool .cep-chart-toggle {
		display: grid;
		width: 100%;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (prefers-reduced-motion: reduce) {
	.cep-tool *,
	.cep-tool *::before,
	.cep-tool *::after {
		scroll-behavior: auto !important;
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
}

@media (forced-colors: active) {
	.cep-tool .cep-electricity-stack__segment,
	.cep-tool .cep-legend i,
	.cep-tool .cep-electricity-legend i {
		border: 1px solid CanvasText;
	}

	.cep-tool .cep-chart__line,
	.cep-tool .cep-chart__line--secondary,
	.cep-tool .cep-chart__grid,
	.cep-tool .cep-chart__axis {
		stroke: CanvasText;
	}

	.cep-tool .cep-button,
	.cep-tool .cep-section-nav a {
		border: 1px solid ButtonText;
	}
}

@media print {
	.has-country-environmental-profile :where(.site-header, .site-footer, .widget-area) {
		display: none !important;
	}

	.has-country-environmental-profile .site-main {
		margin: 0 !important;
	}

	.cep-tool {
		color: #000;
		background: #fff;
		font-size: 10pt;
		overflow: visible;
	}

	.cep-tool .cep-hero {
		display: block;
		min-height: 0;
		padding: 24px;
		color: #000;
		background: #fff;
		border: 1px solid #aaa;
	}

	.cep-tool .cep-hero :is(h1, p, span, li, a) {
		color: #000 !important;
	}

	.cep-tool .cep-hero__visual,
	.cep-tool .cep-country-switcher,
	.cep-tool .cep-section-nav,
	.cep-tool .cep-chart-actions,
	.cep-tool .cep-actions,
	.cep-tool .cep-toast,
	.cep-tool .cep-live-status {
		display: none !important;
	}

	.cep-tool .cep-app {
		width: 100%;
		margin-top: 12px;
	}

	.cep-tool :is(.cep-profiles, .cep-compare, .cep-profile-scope, .cep-editorial-standard, .cep-kpis, .cep-insights, .cep-content-section, .cep-methodology, .cep-related, .cep-section, .cep-connection-panel) {
		margin-top: 14px;
		padding: 18px;
		break-inside: avoid;
		background: #fff;
		border: 1px solid #bbb;
		box-shadow: none;
	}

	.cep-tool .cep-insight,
	.cep-tool .cep-connection {
		color: #000;
		background: #fff;
		border: 1px solid #bbb;
		box-shadow: none;
	}

	.cep-tool .cep-insight :is(h3, p, a),
	.cep-tool .cep-connection :is(h3, p) {
		color: #000;
	}

	.cep-tool details:not([open]) > :not(summary) {
		display: block !important;
	}

	.cep-tool .cep-table-wrap {
		overflow: visible;
	}

	.cep-tool table {
		font-size: 8pt;
	}

	.cep-tool a[href^="http"]::after {
		color: #555;
		font-size: 7pt;
		font-weight: 400;
		content: " (" attr(href) ")";
		word-break: break-all;
	}
}
