/**
 * Profilm Insights — Practical Insight widget.
 *
 * Every value reads from a CSS custom property that the Elementor Style tab
 * writes onto .profilm-insight. The fallbacks below are the Figma defaults,
 * so the widget is correct before anything is styled — and you can override
 * tokens from the theme without fighting specificity.
 *
 * Design reference: Figma "Practical Insight" (node 6876:11819) plus the
 * expanded-panel screenshots.
 */

.profilm-insight {
	/* Container */
	--pi-box-bg: #f4f4f4;
	/*
	 * `--pi-box-padding` is a four-value shorthand so that the Elementor
	 * DIMENSIONS control can drive `padding` directly. A shorthand cannot pass
	 * through calc(), so the left and right edges are mirrored here as single
	 * lengths for the card rail's negative margin. Keep all three in step
	 * wherever this is redeclared.
	 */
	--pi-box-padding: 32px;
	--pi-box-padding-left: 32px;
	--pi-box-padding-right: 32px;
	--pi-box-radius: 12px;
	--pi-box-gap: 24px;

	/* Header */
	--pi-header-gap: 24px;
	--pi-icon-bg: rgba(0, 175, 98, 0.1);
	--pi-icon-color: #00af62;
	--pi-icon-size: 48px;
	--pi-icon-box-size: 96px;
	--pi-icon-box-radius: 18px;
	--pi-heading-color: #000;
	--pi-intro-color: #22343b;

	/* Cards */
	--pi-columns: 5;
	--pi-card-gap: 24px;
	--pi-card-bg: #fff;
	--pi-card-radius: 12px;
	--pi-card-padding: 16px;
	--pi-card-image-height: 160px;
	--pi-card-title-color: #1a1a1a;
	--pi-card-title-color-open: #00af62;
	--pi-card-hover-lift: -4px;
	--pi-card-shadow-hover: 0 10px 28px rgba(20, 35, 43, 0.12);

	/* Button */
	--pi-button-bg: #00af62;
	--pi-button-color: #fff;
	--pi-button-bg-hover: #008c4e;
	--pi-button-color-hover: #fff;
	--pi-button-bg-open: #00af62;
	--pi-button-color-open: #fff;
	--pi-button-radius: 8px;
	--pi-button-padding: 18px 34px;

	/* Panel */
	--pi-panel-bg: #fff;
	--pi-panel-padding: 32px;
	--pi-panel-radius: 12px;
	--pi-panel-accent: #00af62;
	--pi-panel-accent-dark: #008c4e;
	--pi-panel-heading-color: #14232b;
	--pi-panel-text-color: #4a5a62;
	--pi-panel-strong-color: #14232b;
	--pi-panel-duration: 350ms;
	--pi-panel-gap: 24px;

	/* Shared surfaces */
	--pi-tint: rgba(0, 175, 98, 0.06);
	--pi-tile-bg: #f5fcf9;
	--pi-tile-border: #ddf4ea;
	--pi-border: rgba(20, 35, 43, 0.12);
	--pi-surface: #f7f8f8;
	--pi-dark: #14232b;
	--pi-radius: 10px;
}

/* ---------------------------------------------------------------- Container */

.profilm-insight__box {
	display: flex;
	flex-direction: column;
	gap: var(--pi-box-gap);
	padding: var(--pi-box-padding);
	background-color: var(--pi-box-bg);
	border-radius: var(--pi-box-radius);
}

.profilm-insight__notice {
	padding: 24px;
	border: 1px dashed #c3c4c7;
	border-radius: 8px;
	color: #50575e;
	font-size: 14px;
}

/* ------------------------------------------------------------------- Header */

.profilm-insight__header {
	display: flex;
	align-items: flex-start;
	gap: var(--pi-header-gap);
}

.profilm-insight__icon-tile {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: var(--pi-icon-box-size);
	height: var(--pi-icon-box-size);
	background-color: var(--pi-icon-bg);
	border-radius: var(--pi-icon-box-radius);
	color: var(--pi-icon-color);
}

.profilm-insight__icon-tile svg,
.profilm-insight__icon-tile i {
	width: var(--pi-icon-size);
	height: var(--pi-icon-size);
	font-size: var(--pi-icon-size);
	line-height: 1;
	color: inherit;
}

.profilm-insight__svg {
	display: block;
	width: 100%;
	height: 100%;
	fill: none;
}

.profilm-insight__header-text {
	display: flex;
	flex-direction: column;
	min-width: 0;
	flex: 1 1 auto;
	word-break: break-word;
}

.profilm-insight__heading {
	margin: 0;
	color: var(--pi-heading-color);
	font-size: 34px;
	font-weight: 700;
	line-height: 1.1;
}

.profilm-insight__intro {
	color: var(--pi-intro-color);
	font-size: 20px;
	font-weight: 300;
	line-height: 1.65;
	letter-spacing: -0.5px;
}

.profilm-insight__intro > p {
	margin: 0;
}

/* -------------------------------------------------------------------- Cards */

.profilm-insight__cards {
	display: grid;
	grid-template-columns: repeat(var(--pi-columns), minmax(0, 1fr));
	gap: var(--pi-card-gap);
}

.profilm-insight__card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background-color: var(--pi-card-bg);
	border-radius: var(--pi-card-radius);
	transition: transform var(--pi-panel-duration) ease, box-shadow var(--pi-panel-duration) ease;
}

.profilm-insight__card:hover {
	transform: translateY(var(--pi-card-hover-lift));
	box-shadow: var(--pi-card-shadow-hover);
}

/* Open state is signalled by the title colour, not the card background. */
.profilm-insight__card.is-open {
	box-shadow: var(--pi-card-shadow-hover);
}

.profilm-insight__card.is-open .profilm-insight__card-title {
	color: var(--pi-card-title-color-open);
}

.profilm-insight__card-media {
	position: relative;
	height: var(--pi-card-image-height);
	overflow: hidden;
	border-radius: var(--pi-card-radius) var(--pi-card-radius) 0 0;
	background-color: rgba(34, 52, 59, 0.08);
}

.profilm-insight__card-media img,
.profilm-insight__card-media-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	pointer-events: none;
}

.profilm-insight__card-body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	justify-content: space-between;
	gap: 16px;
	padding: var(--pi-card-padding);
}

.profilm-insight__card-title {
	margin: 0;
	color: var(--pi-card-title-color);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.25;
	word-break: break-word;
	transition: color 200ms ease;
}

/* ------------------------------------------------------------------- Button */

.profilm-insight__button {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	margin: 0;
	padding: var(--pi-button-padding);
	border: 0;
	border-radius: var(--pi-button-radius);
	background-color: var(--pi-button-bg);
	color: var(--pi-button-color);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.65;
	letter-spacing: 0.25px;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 200ms ease, color 200ms ease;
	-webkit-appearance: none;
	appearance: none;
}

.profilm-insight__button:hover,
.profilm-insight__button:focus-visible {
	background-color: var(--pi-button-bg-hover);
	color: var(--pi-button-color-hover);
}

.profilm-insight__button:focus-visible {
	outline: 2px solid var(--pi-panel-accent);
	outline-offset: 3px;
}

.profilm-insight__button[aria-expanded='true'] {
	background-color: var(--pi-button-bg-open);
	color: var(--pi-button-color-open);
}

.profilm-insight__button-label {
	white-space: nowrap;
}

.profilm-insight__button-icon {
	display: inline-flex;
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
}

/* Inline buttons inside a panel size to their content. */
.profilm-insight__button--link {
	width: auto;
	align-self: flex-start;
	padding: 14px 24px;
	font-size: 15px;
}

.profilm-insight__button--outline {
	background-color: transparent;
	border: 1.5px solid rgba(255, 255, 255, 0.6);
	color: #fff;
}

.profilm-insight__button--outline:hover,
.profilm-insight__button--outline:focus-visible {
	background-color: rgba(255, 255, 255, 0.1);
	border-color: #fff;
	color: #fff;
}

/* ------------------------------------------------------------------- Panels */

.profilm-insight__panels {
	display: flex;
	flex-direction: column;
	gap: var(--pi-box-gap);
}

.profilm-insight__panel[hidden] {
	display: none;
}

.profilm-insight__panel {
	display: grid;
	grid-template-rows: 1fr;
	overflow: hidden;
	background-color: var(--pi-panel-bg);
	border-radius: var(--pi-panel-radius);
	color: var(--pi-panel-text-color);
	transition: grid-template-rows var(--pi-panel-duration) ease, opacity var(--pi-panel-duration) ease;
}

.profilm-insight__panel.is-collapsing,
.profilm-insight__panel.is-expanding {
	grid-template-rows: 0fr;
	opacity: 0;
}

.profilm-insight__panel.is-open {
	grid-template-rows: 1fr;
	opacity: 1;
}

.profilm-insight__panel-inner {
	min-height: 0;
	overflow: hidden;
}

.profilm-insight__panel-body {
	display: flex;
	flex-direction: column;
	gap: var(--pi-panel-gap);
	align-items: flex-start;
	padding: var(--pi-panel-padding);
	font-size: 16px;
	line-height: 1.6;
}

.profilm-insight__panel-body > * {
	width: 100%;
}

/* Pill */

.profilm-insight__pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	width: auto;
	margin: 0;
	padding: 8px 16px;
	border-radius: 999px;
	background-color: rgba(0, 175, 98, 0.12);
	color: var(--pi-panel-accent);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
}

.profilm-insight__pill-icon {
	display: inline-flex;
	width: 16px;
	height: 16px;
}

.profilm-insight__panel-heading {
	margin: 0;
	color: var(--pi-panel-strong-color);
	font-size: 32px;
	font-weight: 700;
	line-height: 1.2;
}

.profilm-insight__panel-intro p {
	margin: 0 0 12px;
}

.profilm-insight__panel-intro p:last-child {
	margin-bottom: 0;
}

.profilm-insight__panel-body a:not(.profilm-insight__button) {
	color: var(--pi-panel-accent);
}

.profilm-insight__panel-body strong,
.profilm-insight__panel-body b {
	color: var(--pi-panel-strong-color);
	font-weight: 700;
}

/* Close */

.profilm-insight__panel-foot {
	display: flex;
	justify-content: flex-end;
}

.profilm-insight__panel-close {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	border: 1px solid var(--pi-border);
	border-radius: 999px;
	background: transparent;
	color: var(--pi-panel-strong-color);
	font-size: 14px;
	cursor: pointer;
	transition: background-color 200ms ease;
}

.profilm-insight__panel-close:hover,
.profilm-insight__panel-close:focus-visible {
	background-color: var(--pi-surface);
}

.profilm-insight__panel-close svg {
	width: 16px;
	height: 16px;
}

/* --------------------------------------------------------- Tabs and steps */

.profilm-insight__nav {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.profilm-insight__nav-list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.profilm-insight__nav-item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 20px;
	border: 0;
	border-radius: 8px;
	background-color: var(--pi-surface);
	color: var(--pi-panel-text-color);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color 200ms ease, color 200ms ease;
}

.profilm-insight__nav-item:hover {
	background-color: var(--pi-border);
}

.profilm-insight__nav-item:focus-visible {
	outline: 2px solid var(--pi-panel-accent);
	outline-offset: 2px;
}

/* Tabs: the active tab is solid green and fills the row evenly. */

.profilm-insight__nav--tabs .profilm-insight__nav-list {
	flex-wrap: nowrap;
}

.profilm-insight__nav--tabs .profilm-insight__nav-item {
	flex: 1 1 0;
	justify-content: center;
	text-align: center;
}

.profilm-insight__nav--tabs .profilm-insight__nav-item.is-active {
	background-color: var(--pi-panel-accent);
	color: #fff;
}

/* Steps: pills with numbers and connectors; active is dark, visited is green. */

.profilm-insight__nav--steps .profilm-insight__nav-list {
	gap: 0;
	row-gap: 8px;
}

.profilm-insight__nav--steps .profilm-insight__nav-item {
	background-color: transparent;
	padding: 8px 12px;
	color: rgba(74, 90, 98, 0.65);
}

.profilm-insight__nav--steps .profilm-insight__nav-item:hover {
	background-color: var(--pi-surface);
}

.profilm-insight__nav--steps .profilm-insight__nav-item + .profilm-insight__nav-item::before {
	content: '';
	position: absolute;
}

.profilm-insight__nav--steps .profilm-insight__nav-item:not(:last-child) {
	margin-right: 26px;
}

.profilm-insight__nav--steps .profilm-insight__nav-item:not(:last-child)::after {
	content: '';
	position: absolute;
	margin-left: calc(100% + 8px);
	width: 14px;
	border-top: 1px dashed var(--pi-border);
}

.profilm-insight__nav--steps .profilm-insight__nav-item {
	position: relative;
}

.profilm-insight__nav--steps .profilm-insight__nav-item.is-active {
	background-color: var(--pi-dark);
	color: #fff;
	border-radius: 999px;
}

.profilm-insight__nav--steps .profilm-insight__nav-item.is-visited {
	color: var(--pi-panel-accent);
}

.profilm-insight__nav-number {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	border: 1.5px solid currentColor;
	border-radius: 50%;
	font-size: 11px;
	font-weight: 700;
}

.profilm-insight__nav-number-tick {
	display: none;
	width: 12px;
	height: 12px;
}

.is-visited .profilm-insight__nav-number-digit {
	display: none;
}

.is-visited .profilm-insight__nav-number-tick {
	display: block;
}

.profilm-insight__nav-controls {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.profilm-insight__nav-prev,
.profilm-insight__nav-next {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 4px;
	border: 0;
	background: transparent;
	color: var(--pi-panel-strong-color);
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
}

.profilm-insight__nav-prev[disabled],
.profilm-insight__nav-next[disabled] {
	opacity: 0.4;
	cursor: default;
}

.profilm-insight__nav-prev svg,
.profilm-insight__nav-next svg {
	width: 16px;
	height: 16px;
}

.profilm-insight__nav-dots {
	display: flex;
	gap: 6px;
}

.profilm-insight__nav-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background-color: var(--pi-border);
}

.profilm-insight__nav-dot.is-active {
	background-color: var(--pi-dark);
}

/* Panes */

.profilm-insight__pane[hidden] {
	display: none;
}

.profilm-insight__pane {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 24px;
	border: 1px solid var(--pi-border);
	border-radius: var(--pi-radius);
}

.profilm-insight__pane:focus-visible {
	outline: 2px solid var(--pi-panel-accent);
	outline-offset: 2px;
}

.profilm-insight__pane-heading {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--pi-border);
	color: var(--pi-panel-strong-color);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
}

.profilm-insight__pane-heading-icon {
	display: inline-flex;
	width: 18px;
	height: 18px;
	color: var(--pi-panel-accent);
}

.profilm-insight__pane-intro p {
	margin: 0 0 10px;
	font-size: 15px;
}

.profilm-insight__pane-intro p:last-child {
	margin-bottom: 0;
}

/* ------------------------------------------------------------------ Blocks */

.pi-block--rich-text > :first-child {
	margin-top: 0;
}

.pi-block--rich-text > :last-child {
	margin-bottom: 0;
}

.pi-block__heading {
	margin: 0 0 10px;
	color: var(--pi-panel-strong-color);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
}

.pi-block__green-heading {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 14px;
	color: var(--pi-panel-accent);
	font-size: 14px;
	font-weight: 700;
}

.pi-block__heading-icon {
	display: inline-flex;
	width: 16px;
	height: 16px;
}

.pi-block__emphasis {
	margin: 14px 0 0;
	color: var(--pi-panel-accent);
	font-size: 15px;
	font-weight: 700;
}

.pi-block__body > :first-child {
	margin-top: 0;
}

.pi-block__body > :last-child {
	margin-bottom: 0;
}

.pi-block__body p {
	margin: 0 0 12px;
}

.pi-block__body p:last-child {
	margin-bottom: 0;
}

/* highlight */

.pi-block--highlight {
	padding: 24px;
	border-radius: var(--pi-radius);
	background-color: var(--pi-tint);
	font-size: 15px;
}

/* note card */

.pi-block--note {
	padding: 20px 24px;
	border: 1px solid var(--pi-border);
	border-radius: var(--pi-radius);
	font-size: 15px;
}

/* callout */

.pi-block--callout {
	border: 1px solid var(--pi-border);
	border-radius: var(--pi-radius);
	overflow: hidden;
}

.pi-callout__toggle,
.pi-callout__static-heading {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	margin: 0;
	padding: 16px 20px;
	border: 0;
	background: transparent;
	color: var(--pi-panel-accent);
	font-size: 14px;
	font-weight: 700;
	text-align: left;
	cursor: pointer;
}

.pi-callout__static-heading {
	cursor: default;
}

.pi-callout__icon {
	display: inline-flex;
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
}

.pi-callout__heading {
	flex: 1 1 auto;
}

.pi-callout__chevron {
	display: inline-flex;
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	color: var(--pi-panel-text-color);
	transform: rotate(180deg);
	transition: transform 200ms ease;
}

.pi-callout__toggle[aria-expanded='false'] .pi-callout__chevron {
	transform: rotate(0deg);
}

.pi-callout__body {
	padding: 0 20px 20px 44px;
	font-size: 15px;
	overflow: hidden;
	transition: max-height var(--pi-panel-duration) ease, opacity var(--pi-panel-duration) ease,
		padding var(--pi-panel-duration) ease;
	max-height: 400vh;
}

.pi-callout__body.is-collapsed {
	max-height: 0;
	padding-top: 0;
	padding-bottom: 0;
	opacity: 0;
}

.pi-callout__body > :first-child {
	margin-top: 0;
}

.pi-callout__body > :last-child {
	margin-bottom: 0;
}

/* tile grid */

.pi-block--tiles.is-bordered {
	padding: 20px;
	border: 1px solid var(--pi-border);
	border-radius: var(--pi-radius);
}

.pi-tiles {
	display: grid;
	grid-template-columns: repeat(var(--pi-tile-columns, 2), minmax(0, 1fr));
	gap: 12px;
}

.pi-tile {
	padding: 14px 16px;
	border-radius: 8px;
	background-color: var(--pi-surface);
	font-size: 14px;
	line-height: 1.55;
}

/*
 * Unbordered tiles (Main film technologies) carry the green treatment. The
 * bordered variant (Film Variants) keeps the neutral card look, which is why
 * this hangs off :not(.is-bordered) rather than .pi-tile itself.
 */
.pi-block--tiles:not(.is-bordered) .pi-tile {
	border: 1px solid var(--pi-tile-border);
	background-color: var(--pi-tile-bg);
}

.pi-tile__title {
	margin: 0 0 6px;
	color: var(--pi-panel-strong-color);
	font-weight: 700;
}

.pi-block--tiles:not(.is-bordered) .pi-tile__title {
	color: var(--pi-panel-accent);
}

.pi-tile__text p {
	margin: 0 0 8px;
}

.pi-tile__text p:last-child {
	margin-bottom: 0;
}

/* tick list */

.pi-block--ticks.is-bordered {
	padding: 24px;
	border: 1px solid var(--pi-border);
	border-radius: var(--pi-radius);
}

.pi-ticks {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pi-ticks__item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 15px;
	line-height: 1.6;
}

.pi-ticks__mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	margin-top: 2px;
	border-radius: 50%;
	background-color: var(--pi-panel-accent);
	color: #fff;
}

.pi-ticks__mark svg {
	width: 12px;
	height: 12px;
	stroke-width: 3;
}

.pi-ticks__text p {
	margin: 0 0 8px;
}

.pi-ticks__text p:last-child {
	margin-bottom: 0;
}

.pi-block--ticks .profilm-insight__button--link {
	margin-top: 20px;
}

/* accordion */

.pi-block--accordion {
	display: grid;
	gap: 12px;
}

.pi-accordion__item {
	border: 1px solid var(--pi-border);
	border-radius: var(--pi-radius);
	overflow: hidden;
	transition: border-color 200ms ease;
}

.pi-accordion__item.is-open {
	border-color: rgba(0, 175, 98, 0.35);
}

.pi-accordion__toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	padding: 18px 20px;
	border: 0;
	background: transparent;
	color: var(--pi-panel-strong-color);
	font-size: 15px;
	font-weight: 700;
	text-align: left;
	cursor: pointer;
	transition: color 200ms ease;
}

.pi-accordion__toggle:focus-visible {
	outline: 2px solid var(--pi-panel-accent);
	outline-offset: -2px;
}

.pi-accordion__item.is-open .pi-accordion__toggle {
	color: var(--pi-panel-accent);
}

.pi-accordion__chevron {
	display: inline-flex;
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	color: var(--pi-panel-text-color);
	transition: transform 200ms ease;
}

.pi-accordion__item.is-open .pi-accordion__chevron {
	transform: rotate(180deg);
	color: var(--pi-panel-accent);
}

.pi-accordion__body[hidden] {
	display: none;
}

.pi-accordion__body {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows var(--pi-panel-duration) ease;
}

.pi-accordion__body.is-open {
	grid-template-rows: 1fr;
}

.pi-accordion__body-inner {
	min-height: 0;
	overflow: hidden;
	padding: 0 20px 18px;
	font-size: 15px;
}

.pi-accordion__body-inner > :first-child {
	margin-top: 0;
}

.pi-accordion__body-inner p {
	margin: 0 0 10px;
}

.pi-accordion__image {
	margin-top: 8px;
}

.pi-accordion__image img {
	display: block;
	width: auto;
	max-width: 140px;
	height: auto;
}

/* --------------------------------------------------------------- Selector */

.pi-block--selector {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.pi-selector__options {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.pi-selector__option {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	border: 1px solid var(--pi-border);
	border-radius: 999px;
	background-color: transparent;
	color: var(--pi-panel-text-color);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}

.pi-selector__option:hover {
	background-color: var(--pi-surface);
}

.pi-selector__option:focus-visible {
	outline: 2px solid var(--pi-panel-accent);
	outline-offset: 2px;
}

.pi-selector__option-icon {
	display: inline-flex;
	width: 14px;
	height: 14px;
}

.pi-selector__option-chevron {
	display: inline-flex;
	width: 14px;
	height: 14px;
	margin-left: auto;
	opacity: 0.5;
}

.pi-selector__stage {
	display: flex;
	gap: 16px;
}

.pi-selector__bodies {
	flex: 1 1 auto;
	min-width: 0;
}

.pi-selector__body[hidden] {
	display: none;
}

.pi-selector__body {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 16px;
	min-height: 100%;
}

.pi-selector__body-text {
	font-size: 15px;
	line-height: 1.6;
}

.pi-selector__body-text > :first-child {
	margin-top: 0;
}

.pi-selector__body-text p {
	margin: 0 0 10px;
}

.pi-selector__body-text p:last-child {
	margin-bottom: 0;
}

/*
 * Kicker: the green lead-in line that repeats the option name above its copy.
 * The class was already in the content but had no rule, so it rendered as
 * plain body text. Paired with the descendant selector because
 * `.pi-selector__body-text p` above would otherwise win on specificity.
 */
.pi-kicker,
.pi-selector__body-text .pi-kicker {
	margin: 0 0 10px;
	color: var(--pi-panel-accent);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: 0.02em;
}

.pi-selector__empty,
.pi-selector__body-wrap {
	margin: 0;
}

.pi-selector__empty {
	padding: 16px 20px;
	border: 1px solid var(--pi-border);
	border-radius: 8px;
	color: var(--pi-panel-text-color);
	font-size: 14px;
	text-align: center;
}

.pi-selector__chip {
	margin: 0;
	padding: 12px 16px;
	border-radius: 8px;
	background-color: var(--pi-panel-accent);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
}

.pi-selector__extra[hidden] {
	display: none;
}

.pi-selector__extra {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

/* --- pills */

.pi-selector--pills-row .pi-selector__options {
	flex-direction: row;
}

.pi-selector--pills-column {
	display: grid;
	grid-template-columns: minmax(140px, 190px) minmax(0, 1fr);
	grid-template-areas: 'options stage';
	gap: 16px;
	/*
	 * Stretch, not start: the option column and the body panel share a row, so
	 * the buttons can grow to meet the bottom of the body rather than ending
	 * wherever the last one happens to fall.
	 */
	align-items: stretch;
}

.pi-selector--pills-column .pi-selector__options {
	grid-area: options;
	flex-direction: column;
	align-items: stretch;
	height: 100%;
}

.pi-selector--pills-column .pi-selector__option {
	flex: 1 1 auto;
}

.pi-selector--pills-column .pi-selector__option {
	justify-content: flex-start;
	border-radius: 8px;
	background-color: var(--pi-surface);
	border-color: transparent;
}

.pi-selector--pills-column .pi-selector__stage {
	grid-area: stage;
}

.pi-selector__option.is-active {
	background-color: var(--pi-dark);
	border-color: var(--pi-dark);
	color: #fff;
}

/*
 * The row pills read as a green chip when chosen. The column variant keeps the
 * dark fill, which is what its own design calls for, so this is scoped to the
 * row rather than changing the shared rule above.
 */
.pi-selector--pills-row .pi-selector__option.is-active {
	background-color: var(--pi-panel-accent);
	border-color: var(--pi-panel-accent);
}

.pi-selector--pills .pi-selector__bodies,
.pi-selector--pills-column .pi-selector__bodies {
	padding: 20px;
	border: 1px solid var(--pi-border);
	border-radius: var(--pi-radius);
	background-color: var(--pi-surface);
}

.pi-selector--pills-column .pi-selector__body-text::before {
	display: block;
}

/* --- swatches */

.pi-selector--swatches .pi-selector__options {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: 16px;
}

.pi-selector--swatches .pi-selector__option {
	flex-direction: column;
	gap: 8px;
	padding: 4px;
	border: 2px solid transparent;
	border-radius: 10px;
	background: transparent;
	color: var(--pi-panel-strong-color);
	font-size: 13px;
	text-align: center;
}

.pi-selector--swatches .pi-selector__option:hover {
	background-color: transparent;
}

.pi-selector--swatches .pi-selector__option.is-active {
	border-color: var(--pi-panel-accent);
	background-color: transparent;
	color: var(--pi-panel-accent);
}

.pi-selector__swatch {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 46px;
	border-radius: 6px;
}

.pi-selector__swatch-tick {
	display: none;
	width: 18px;
	height: 18px;
	color: #fff;
	/* Inverts against the swatch, so the tick reads on white and on black. */
	mix-blend-mode: difference;
}

.pi-selector__option.is-active .pi-selector__swatch-tick {
	display: block;
}

.pi-selector--swatches .pi-selector__bodies {
	padding: 16px 20px;
	border: 1px solid var(--pi-border);
	border-radius: 8px;
	background-color: var(--pi-surface);
}

/* --- vertical list with an image column */

.pi-selector--list .pi-selector__options {
	flex-direction: column;
	gap: 2px;
}

.pi-selector--list .pi-selector__option {
	justify-content: space-between;
	border: 0;
	border-radius: 8px;
	background-color: var(--pi-surface);
	color: var(--pi-panel-strong-color);
	font-size: 14px;
	font-weight: 400;
	padding: 14px 16px;
	border-left: 3px solid transparent;
}

.pi-selector--list .pi-selector__option.is-active {
	background-color: rgba(0, 175, 98, 0.1);
	border-left-color: var(--pi-panel-accent);
	color: var(--pi-panel-strong-color);
}

.pi-selector--with-image {
	display: grid;
	grid-template-columns: minmax(180px, 1fr) minmax(140px, 0.8fr) minmax(200px, 1.2fr);
	grid-template-areas: 'options media bodies';
	gap: 16px;
	align-items: stretch;
}

.pi-selector--with-image .pi-selector__options {
	grid-area: options;
}

.pi-selector--with-image .pi-selector__stage {
	grid-area: media / media / bodies / bodies;
	display: grid;
	grid-template-columns: minmax(140px, 0.8fr) minmax(200px, 1.2fr);
	gap: 16px;
}

.pi-selector__media {
	position: relative;
	border-radius: 8px;
	overflow: hidden;
	background-color: var(--pi-dark);
}

.pi-selector__media-item[hidden] {
	display: none;
}

.pi-selector__media-item,
.pi-selector__media-item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pi-selector--with-image .pi-selector__bodies {
	display: flex;
	padding: 16px 20px;
	border: 1px solid var(--pi-border);
	border-radius: 8px;
	background-color: var(--pi-surface);
}

.pi-selector--with-image .pi-selector__extra {
	grid-column: 1 / -1;
}

/* --- slider */

.pi-selector--slider .pi-selector__options {
	display: none;
}

.pi-selector__slider {
	display: flex;
	flex-direction: column;
	gap: 8px;
	/* Vertical scrolling still belongs to the page; we take the horizontal axis. */
	touch-action: pan-y;
}

.pi-selector__slider-display {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	padding: 22px;
	border-radius: 10px;
	background-color: #5b6a71;
	color: #fff;
	transition: background-color 250ms ease;
}

.pi-selector__slider-value {
	font-size: 30px;
	font-weight: 700;
	line-height: 1.1;
}

.pi-selector__slider-sub {
	font-size: 12px;
	letter-spacing: 0.5px;
	opacity: 0.9;
}

.pi-selector__slider-input {
	width: 100%;
	margin: 0;
	opacity: 0;
	height: 20px;
	position: relative;
	z-index: 2;
	cursor: pointer;
	margin-bottom: -20px;
}

.pi-selector__slider-track {
	display: flex;
	gap: 6px;
	position: relative;
	z-index: 1;
}

.pi-selector__slider-segment {
	flex: 1 1 0;
	height: 5px;
	border-radius: 999px;
	background-color: var(--pi-border);
	transition: background-color 200ms ease;
}

.pi-selector__slider-segment.is-active {
	background-color: var(--pi-panel-accent);
}

.pi-selector__slider-scale {
	display: flex;
	justify-content: space-between;
	font-size: 12px;
	color: var(--pi-panel-text-color);
}

.pi-selector--slider .pi-selector__stage:empty,
.pi-selector--slider .pi-selector__bodies:empty {
	display: none;
}

/* ------------------------------------------------------------- media text */

.pi-block--media-text {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 20px;
	align-items: center;
}

.pi-block--media-text.pi-block--image-right .pi-media-text__aside {
	order: 2;
}

.pi-media-text__aside {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 20px;
	border-radius: var(--pi-radius);
	background-color: var(--pi-surface);
}

.pi-media-text__image img {
	display: block;
	width: auto;
	max-width: 130px;
	height: auto;
}

.pi-media-text__caption {
	font-size: 13px;
	line-height: 1.5;
}

.pi-media-text__caption p {
	margin: 0 0 6px;
}

.pi-media-text__caption p:last-child {
	margin-bottom: 0;
}

.pi-media-text__body {
	font-size: 15px;
	line-height: 1.6;
}

.pi-media-text__body p {
	margin: 0 0 12px;
}

.pi-media-text__body p:last-child {
	margin-bottom: 0;
}

/* --------------------------------------------------------------------- CTA */

.pi-block--cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 24px;
}

.pi-cta__text {
	margin: 0;
	flex: 1 1 240px;
	font-size: 15px;
}

.pi-block--cta-panel {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
	gap: 24px;
	align-items: center;
	padding: 24px;
	border-radius: var(--pi-radius);
	background-color: var(--pi-dark);
	color: rgba(255, 255, 255, 0.8);
}

.pi-cta-panel__eyebrow {
	margin: 0 0 10px;
	color: var(--pi-panel-accent);
	font-size: 13px;
	font-weight: 700;
}

.pi-cta-panel__body {
	font-size: 14px;
	line-height: 1.6;
}

.pi-cta-panel__body p {
	margin: 0 0 10px;
}

.pi-cta-panel__body p:last-child {
	margin-bottom: 0;
}

.pi-cta-panel__note {
	margin: 12px 0 0;
	font-size: 12px;
	line-height: 1.5;
	opacity: 0.7;
}

.pi-cta-panel__actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
	align-items: stretch;
}

.pi-cta-panel__actions .profilm-insight__button--link {
	width: 100%;
	align-self: stretch;
	justify-content: center;
}

/* --------------------------------------------------------------- Utilities */

.profilm-insight .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* --------------------------------------------------------------- Responsive */

@media (max-width: 1200px) {
	.profilm-insight__nav--tabs .profilm-insight__nav-list {
		flex-wrap: wrap;
	}

	.profilm-insight__nav--tabs .profilm-insight__nav-item {
		flex: 1 1 180px;
	}
}

@media (max-width: 1024px) {
	.profilm-insight__heading {
		font-size: 28px;
	}

	.profilm-insight__intro {
		font-size: 18px;
	}

	.profilm-insight__panel-heading {
		font-size: 26px;
	}

	.pi-selector--with-image,
	.pi-selector--with-image .pi-selector__stage {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas: none;
	}

	/*
	 * The stage keeps its own two-column grid once the parent collapses, which
	 * squeezes the copy into a sliver. Reset both tracks and the named areas so
	 * options, media and body stack in DOM order.
	 */
	.pi-selector--with-image .pi-selector__options,
	.pi-selector--with-image .pi-selector__stage {
		grid-area: auto;
	}

	.pi-selector--with-image .pi-selector__stage {
		grid-template-columns: minmax(0, 1fr);
	}

	.pi-selector__media {
		max-height: 260px;
	}
}

@media (max-width: 767px) {
	.profilm-insight {
		--pi-box-padding: 16px;
		--pi-box-padding-left: 16px;
		--pi-box-padding-right: 16px;
		--pi-panel-padding: 16px;
		--pi-button-padding: 14px 18px;
		--pi-box-gap: 16px;
		--pi-panel-gap: 18px;
	}

	/*
	 * Header: the icon and heading share the top row, then the intro runs the
	 * full width beneath them, starting under the icon rather than indented
	 * beside it. Measured off the Figma frame, whose box is 292px wide with
	 * 10px padding, so its 272px content column is close enough to the live
	 * one for its sizes to be used as drawn.
	 *
	 * `display: contents` drops the text wrapper's own box so the heading and
	 * the intro become grid items in their own right, which is what lets them
	 * sit in different columns without changing the markup.
	 */
	.profilm-insight__header {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr);
		column-gap: var(--pi-header-gap);
		row-gap: 12px;
		align-items: start;
	}

	.profilm-insight__header-text {
		display: contents;
	}

	.profilm-insight__heading {
		grid-column: 2;
		font-size: 24px;
	}

	.profilm-insight__intro {
		grid-column: 1 / -1;
		font-size: 15px;
		line-height: 1.55;
	}

	.profilm-insight__panel-body {
		font-size: 15px;
		/* A pasted URL or long product string should break, not push the panel. */
		overflow-wrap: break-word;
	}

	.profilm-insight__pill {
		padding: 7px 14px;
		font-size: 12px;
	}

	.profilm-insight__panel-heading {
		font-size: 26px;
		line-height: 1.15;
	}

	/* --- Cards: swipeable rail rather than five hairline columns.
	 *
	 * The grid never drops below --pi-columns, so at phone widths five tracks
	 * leave roughly 40px each. A scroll-snap flex row keeps every card legible
	 * and needs no JS. The negative margin lets the rail bleed to the box edge
	 * while scroll-padding keeps the snapped card aligned to the box padding,
	 * so the next card peeks in as the affordance that this scrolls.
	 */
	.profilm-insight__cards {
		display: flex;
		grid-template-columns: none;
		gap: 12px;
		/*
		 * The negative margin cancels whatever box padding the Style tab writes
		 * so the rail bleeds to the box edge, then its own fixed 12px padding
		 * sets the gutter before the first card to match the gap between cards.
		 *
		 * These read the single-length `-left` / `-right` properties, not
		 * `--pi-box-padding` itself: that one holds a four-value shorthand, and
		 * `calc(32px 32px 32px 32px * -1)` is invalid at computed-value time, so
		 * the margin silently computed to 0 and the rail never bled at all. The
		 * 0 fallback means a missing value degrades to no bleed rather than to
		 * a wrong one.
		 */
		/*
		 * Vertical room for the card shadow. `overflow-x: auto` computes
		 * `overflow-y` to `auto` too, so the rail clips on both axes and any
		 * shadow drawn outside it is cut with a hard edge. The default shadow
		 * (0 10px 28px) reaches ~38px below the card and ~18px above, so the
		 * rail adds that as padding on top of its original 2px / 6px and
		 * cancels only the addition with an equal negative margin. Layout
		 * spacing is unchanged; the shadow now falls inside the scroll box.
		 *
		 * Raise these if the Style tab is given a larger shadow.
		 */
		--pi-rail-shadow-top: 20px;
		--pi-rail-shadow-bottom: 34px;

		margin-right: calc(var(--pi-box-padding-right, 0px) * -1);
		margin-left: calc(var(--pi-box-padding-left, 0px) * -1);
		margin-top: calc(var(--pi-rail-shadow-top) * -1);
		margin-bottom: calc(var(--pi-rail-shadow-bottom) * -1);
		padding: calc(2px + var(--pi-rail-shadow-top)) 12px
			calc(6px + var(--pi-rail-shadow-bottom));
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scroll-snap-type: x mandatory;
		scroll-padding-left: 12px;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	/*
	 * Keep "Learn More" on one line in the narrow card. The theme reset pins
	 * this button's font-size with !important through --pi-button-font-size,
	 * so the size is set via that variable on the button itself, which also
	 * beats the widget-level value the Style tab writes.
	 */
	.profilm-insight__card .profilm-insight__button {
		--pi-button-font-size: 15px;
		gap: 6px;
		padding: 12px 14px;
	}

	.profilm-insight__card .profilm-insight__button-icon {
		width: 18px;
		height: 18px;
	}

	.profilm-insight__cards::-webkit-scrollbar {
		display: none;
	}

	.profilm-insight__card {
		flex: 0 0 76%;
		max-width: 280px;
		scroll-snap-align: start;
	}

	/* The lift would clip against the rail's own scroll box. */
	.profilm-insight__card:hover {
		transform: none;
	}

	.profilm-insight__card-title {
		font-size: 17px;
	}

	.profilm-insight__card-media {
		height: 130px;
	}

	/* --- Nav: full-width stacked bars, open pane docked under its own item.
	 *
	 * `display: contents` lifts the nav items, the panes and the controls into
	 * the nav's own flex column so `order` can interleave them. Items take the
	 * odd slots, panes the even slot immediately after their own item, so the
	 * open pane always renders directly beneath the item that controls it.
	 */
	.profilm-insight__nav {
		gap: 8px;
	}

	.profilm-insight__nav-list,
	.profilm-insight__panes {
		display: contents;
	}

	.profilm-insight__nav-list > :nth-child(1) { order: 1; }
	.profilm-insight__panes > :nth-child(1) { order: 2; }
	.profilm-insight__nav-list > :nth-child(2) { order: 3; }
	.profilm-insight__panes > :nth-child(2) { order: 4; }
	.profilm-insight__nav-list > :nth-child(3) { order: 5; }
	.profilm-insight__panes > :nth-child(3) { order: 6; }
	.profilm-insight__nav-list > :nth-child(4) { order: 7; }
	.profilm-insight__panes > :nth-child(4) { order: 8; }
	.profilm-insight__nav-list > :nth-child(5) { order: 9; }
	.profilm-insight__panes > :nth-child(5) { order: 10; }
	.profilm-insight__nav-list > :nth-child(6) { order: 11; }
	.profilm-insight__panes > :nth-child(6) { order: 12; }
	.profilm-insight__nav-list > :nth-child(7) { order: 13; }
	.profilm-insight__panes > :nth-child(7) { order: 14; }
	.profilm-insight__nav-list > :nth-child(8) { order: 15; }
	.profilm-insight__panes > :nth-child(8) { order: 16; }

	.profilm-insight__nav-controls {
		order: 100;
		padding-top: 4px;
	}

	/*
	 * The nav items are direct children of a column flex box now, so the tab
	 * `flex: 1 1 0` would stretch each bar to fill the leftover height.
	 */
	.profilm-insight__nav-item,
	.profilm-insight__nav--tabs .profilm-insight__nav-item {
		flex: 0 0 auto;
		width: 100%;
		justify-content: flex-start;
		text-align: left;
		padding: 12px 14px;
		border-radius: 8px;
		font-size: 14px;
	}

	/* Tabs read as centred bars; steps stay left-aligned behind their number. */
	.profilm-insight__nav--tabs .profilm-insight__nav-item {
		justify-content: center;
		text-align: center;
	}

	.profilm-insight__nav--steps .profilm-insight__nav-item {
		background-color: #eef0f1;
		padding: 12px 14px;
	}

	.profilm-insight__nav--steps .profilm-insight__nav-item.is-active {
		border-radius: 8px;
	}

	.profilm-insight__nav--steps .profilm-insight__nav-item:not(:last-child) {
		margin-right: 0;
	}

	.profilm-insight__nav--steps .profilm-insight__nav-item:not(:last-child)::after {
		display: none;
	}

	.profilm-insight__nav-prev,
	.profilm-insight__nav-next {
		font-size: 13px;
	}

	/* --- Panes */

	.profilm-insight__pane {
		padding: 16px;
		gap: 16px;
		margin: 4px 0 8px;
	}

	.profilm-insight__pane-heading {
		font-size: 17px;
		padding-bottom: 12px;
	}

	.profilm-insight__pane-intro p {
		font-size: 14px;
	}

	/* --- Blocks: trim the padding and type so copy is not squeezed */

	.pi-block--highlight {
		padding: 16px;
		font-size: 13px;
	}

	.pi-block--highlight .pi-block__heading {
		font-size: 13px;
		margin-bottom: 8px;
	}

	.pi-block--note {
		padding: 16px;
		font-size: 13px;
	}

	.pi-block--ticks.is-bordered,
	.pi-block--tiles.is-bordered {
		padding: 16px;
	}

	/*
	 * The pane already draws a frame at this width, so a bordered block sitting
	 * directly inside one reads as a box in a box. Drop the inner frame.
	 */
	.profilm-insight__pane > .pi-block--ticks.is-bordered,
	.profilm-insight__pane > .pi-block--tiles.is-bordered {
		padding: 0;
		border: 0;
	}

	.pi-ticks__item {
		gap: 10px;
		font-size: 14px;
		line-height: 1.5;
	}

	.pi-block__heading {
		font-size: 14px;
	}

	.pi-block__emphasis {
		font-size: 14px;
	}

	.pi-tiles,
	.pi-block--media-text,
	.pi-block--cta-panel,
	.pi-selector--pills-column {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas: none;
	}

	/*
	 * Clearing `grid-template-areas` is not enough on its own: the children
	 * still ask for `grid-area: options` / `stage`, and with no named areas
	 * left those resolve as implicit named lines, so the grid grows phantom
	 * zero-width columns and drops the content outside the explicit one. The
	 * result is copy indented off its container and running past the right
	 * edge. Same trap as the layer selector at 1024.
	 */
	.pi-selector--pills-column .pi-selector__options,
	.pi-selector--pills-column .pi-selector__stage {
		grid-area: auto;
	}

	.pi-block--cta-panel {
		padding: 18px;
		gap: 18px;
	}

	.pi-block--media-text.pi-block--image-right .pi-media-text__aside {
		order: 0;
	}

	/*
	 * The aside keeps the logo and its caption side by side, which at phone
	 * widths leaves the caption a ~90px column running one word per line.
	 * Stack them so the caption gets the full width.
	 */
	.pi-media-text__aside {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
		padding: 16px;
	}

	.pi-selector__body-text,
	.pi-selector__option {
		font-size: 13px;
	}

	.pi-selector--pills .pi-selector__bodies,
	.pi-selector--pills-column .pi-selector__bodies,
	.pi-selector--with-image .pi-selector__bodies,
	.pi-selector--swatches .pi-selector__bodies {
		padding: 14px 16px;
	}

	.pi-selector--list .pi-selector__option {
		padding: 12px 14px;
	}

	/*
	 * The column collapses to a single stack here, so the desktop `flex: 1`
	 * would stretch each button to fill the leftover column height.
	 */
	.pi-selector--pills-column .pi-selector__option {
		flex: 0 0 auto;
	}

	/*
	 * Layer list: dock the open image, copy and callout under their own row.
	 *
	 * Five rows run past the fold before the result begins, so tapping a row
	 * otherwise changes nothing you can see. Ordering keys off `data-index`
	 * rather than :nth-child because the media and body loops skip options
	 * without an image or a label, so position and option index diverge.
	 *
	 * The pill selectors are deliberately left grouped — they wrap to about
	 * three rows, so their body is already on screen.
	 */
	.pi-selector--with-image {
		display: flex;
		flex-direction: column;
		gap: 12px;
	}

	.pi-selector--with-image .pi-selector__options,
	.pi-selector--with-image .pi-selector__stage,
	.pi-selector--with-image .pi-selector__media,
	.pi-selector--with-image .pi-selector__bodies {
		display: contents;
	}

	/* The wrappers no longer paint, so the visual treatment moves to the item. */
	/*
	 * The layer artwork is portrait (240x306). The desktop layout gives the
	 * media its own column and crops to fill it, but at this width the whole
	 * diagram is the point, so the item takes the image's natural ratio rather
	 * than a forced one and nothing is cut off.
	 */
	.pi-selector--with-image .pi-selector__media-item {
		height: auto;
		border-radius: 8px;
		overflow: hidden;
		background-color: var(--pi-dark);
	}

	.pi-selector--with-image .pi-selector__media-item img {
		height: auto;
		object-fit: contain;
	}

	.pi-selector--with-image .pi-selector__body {
		padding: 14px 16px;
		border: 1px solid var(--pi-border);
		border-radius: 8px;
		background-color: var(--pi-surface);
	}

	.pi-selector--with-image .pi-selector__options > [data-index='0'] { order: 1; }
	.pi-selector--with-image .pi-selector__media-item[data-index='0'] { order: 2; }
	.pi-selector--with-image .pi-selector__body[data-index='0'] { order: 3; }
	.pi-selector--with-image .pi-selector__extra[data-index='0'] { order: 4; }

	.pi-selector--with-image .pi-selector__options > [data-index='1'] { order: 5; }
	.pi-selector--with-image .pi-selector__media-item[data-index='1'] { order: 6; }
	.pi-selector--with-image .pi-selector__body[data-index='1'] { order: 7; }
	.pi-selector--with-image .pi-selector__extra[data-index='1'] { order: 8; }

	.pi-selector--with-image .pi-selector__options > [data-index='2'] { order: 9; }
	.pi-selector--with-image .pi-selector__media-item[data-index='2'] { order: 10; }
	.pi-selector--with-image .pi-selector__body[data-index='2'] { order: 11; }
	.pi-selector--with-image .pi-selector__extra[data-index='2'] { order: 12; }

	.pi-selector--with-image .pi-selector__options > [data-index='3'] { order: 13; }
	.pi-selector--with-image .pi-selector__media-item[data-index='3'] { order: 14; }
	.pi-selector--with-image .pi-selector__body[data-index='3'] { order: 15; }
	.pi-selector--with-image .pi-selector__extra[data-index='3'] { order: 16; }

	.pi-selector--with-image .pi-selector__options > [data-index='4'] { order: 17; }
	.pi-selector--with-image .pi-selector__media-item[data-index='4'] { order: 18; }
	.pi-selector--with-image .pi-selector__body[data-index='4'] { order: 19; }
	.pi-selector--with-image .pi-selector__extra[data-index='4'] { order: 20; }

	.pi-selector--with-image .pi-selector__options > [data-index='5'] { order: 21; }
	.pi-selector--with-image .pi-selector__media-item[data-index='5'] { order: 22; }
	.pi-selector--with-image .pi-selector__body[data-index='5'] { order: 23; }
	.pi-selector--with-image .pi-selector__extra[data-index='5'] { order: 24; }

	.pi-selector--with-image .pi-selector__options > [data-index='6'] { order: 25; }
	.pi-selector--with-image .pi-selector__media-item[data-index='6'] { order: 26; }
	.pi-selector--with-image .pi-selector__body[data-index='6'] { order: 27; }
	.pi-selector--with-image .pi-selector__extra[data-index='6'] { order: 28; }

	.pi-selector--with-image .pi-selector__options > [data-index='7'] { order: 29; }
	.pi-selector--with-image .pi-selector__media-item[data-index='7'] { order: 30; }
	.pi-selector--with-image .pi-selector__body[data-index='7'] { order: 31; }
	.pi-selector--with-image .pi-selector__extra[data-index='7'] { order: 32; }

	/* --- CTAs go full bleed so the tap target fills the column */

	.pi-block--cta .profilm-insight__button--link,
	.pi-block--ticks .profilm-insight__button--link {
		width: 100%;
		justify-content: center;
	}

	/*
	 * The label is `nowrap` by default, which suits the short "Learn More" on
	 * the cards but leaves longer in-panel CTAs unable to break. At phone
	 * widths that label overflows its button and pushes the surrounding block
	 * past the screen edge, so let it wrap and trim the side padding.
	 */
	.profilm-insight__button-label {
		white-space: normal;
	}

	.profilm-insight__button--link {
		padding: 14px 16px;
	}

	.pi-cta__text {
		font-size: 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.profilm-insight *,
	.profilm-insight *::before,
	.profilm-insight *::after {
		transition-duration: 0.01ms !important;
	}
}

/* ==========================================================================
 * Theme button reset
 *
 * Themes and Elementor global styles target buttons with selectors like
 * `.elementor .elementor-widget-container button:hover`, which outranks
 * anything sensible the widget can declare. Specificity escalation is a
 * losing game, so this section uses !important and repeats the root class to
 * raise specificity. That beats the patterns themes actually ship; a theme
 * determined enough to go deeper can still win, in which case override the
 * `--pi-*` variables from the theme rather than fighting these rules.
 *
 * That is safe here because every value is a var(). The Elementor Style tab
 * writes the custom properties, not the declarations, so the controls above
 * still drive all the colours — this only stops a third-party stylesheet
 * repainting the widget's buttons.
 * ========================================================================== */

/* Baseline: no button in the widget carries a theme fill. */
.profilm-insight.profilm-insight :where(button) {
	/* Only the properties a theme uses to repaint a button. Note: no `font`
	   shorthand — it would reset the font-weight the components set. */
	font-family: inherit !important;
	text-transform: none !important;
	text-shadow: none !important;
	box-shadow: none !important;
	background-color: transparent !important;
	background-image: none !important;
	border: 0 !important;
	/*
	 * Themes commonly ship `white-space: nowrap` on buttons to keep short
	 * labels on one line. Every long label in this widget lives in a button,
	 * so that single rule stops the layer list, the step nav and the pane tabs
	 * from wrapping: the label runs past the button and shoves the chevron off
	 * screen. The components that genuinely want one line — the card button
	 * label — declare `nowrap` on their own span, which beats this by being a
	 * direct declaration rather than an inherited one.
	 */
	white-space: normal !important;
}

/* Long product names should break rather than push the row wider. */
.profilm-insight.profilm-insight .pi-selector__option-label,
.profilm-insight.profilm-insight .profilm-insight__nav-label {
	min-width: 0;
	overflow-wrap: break-word;
	text-align: left;
}

/* Themes also override button font-size and weight at a specificity the
   components cannot beat, so each one re-asserts its own type here. Values
   match the component declarations further up. */

.profilm-insight.profilm-insight .pi-accordion__toggle {
	font-size: 15px !important;
	font-weight: 700 !important;
	letter-spacing: normal !important;
}

.profilm-insight.profilm-insight .pi-callout__toggle {
	font-size: 14px !important;
	font-weight: 700 !important;
	letter-spacing: normal !important;
}

.profilm-insight.profilm-insight .profilm-insight__nav-item {
	font-size: 14px !important;
	font-weight: 700 !important;
	letter-spacing: normal !important;
}

.profilm-insight.profilm-insight .profilm-insight__nav-prev,
.profilm-insight.profilm-insight .profilm-insight__nav-next {
	font-size: 14px !important;
	font-weight: 500 !important;
	letter-spacing: normal !important;
}

.profilm-insight.profilm-insight .pi-selector__option {
	font-size: 13px !important;
	font-weight: 700 !important;
	letter-spacing: normal !important;
}

.profilm-insight.profilm-insight .pi-selector--list .pi-selector__option {
	font-size: 14px !important;
	font-weight: 400 !important;
}

.profilm-insight.profilm-insight .profilm-insight__panel-close {
	font-size: 14px !important;
	font-weight: 400 !important;
	letter-spacing: normal !important;
}

/* The card button is the one place the Style tab sets typography directly,
   so it reads from a variable the typography group control can also drive. */
.profilm-insight.profilm-insight .profilm-insight__button {
	font-size: var(--pi-button-font-size, 16px) !important;
	font-weight: var(--pi-button-font-weight, 400) !important;
	letter-spacing: var(--pi-button-letter-spacing, 0.25px) !important;
}

.profilm-insight.profilm-insight .profilm-insight__button--link {
	font-size: var(--pi-button-font-size, 15px) !important;
}

/* --- Ghost buttons keep the baseline and only set their text colour. */

.profilm-insight.profilm-insight .pi-accordion__toggle {
	background-color: transparent !important;
	color: var(--pi-panel-strong-color) !important;
}

.profilm-insight.profilm-insight .pi-accordion__item.is-open .pi-accordion__toggle {
	color: var(--pi-panel-accent) !important;
}

/* The row border carries the hover feedback, so the toggle stays flat. */
.profilm-insight.profilm-insight .pi-accordion__item:hover {
	border-color: rgba(20, 35, 43, 0.24);
}

.profilm-insight.profilm-insight .pi-accordion__item.is-open:hover {
	border-color: rgba(0, 175, 98, 0.45);
}

.profilm-insight.profilm-insight .pi-callout__toggle {
	background-color: transparent !important;
	color: var(--pi-panel-accent) !important;
}

.profilm-insight.profilm-insight .profilm-insight__nav-prev,
.profilm-insight.profilm-insight .profilm-insight__nav-next {
	background-color: transparent !important;
	color: var(--pi-panel-strong-color) !important;
}

/* --- Tabs and steps. */

.profilm-insight.profilm-insight .profilm-insight__nav-item {
	background-color: var(--pi-surface) !important;
	color: var(--pi-panel-text-color) !important;
}

.profilm-insight.profilm-insight .profilm-insight__nav-item:hover {
	background-color: var(--pi-border) !important;
}

.profilm-insight.profilm-insight .profilm-insight__nav--tabs .profilm-insight__nav-item.is-active {
	background-color: var(--pi-panel-accent) !important;
	color: #fff !important;
}

.profilm-insight.profilm-insight .profilm-insight__nav--steps .profilm-insight__nav-item {
	background-color: transparent !important;
	color: rgba(74, 90, 98, 0.65) !important;
}

.profilm-insight.profilm-insight .profilm-insight__nav--steps .profilm-insight__nav-item:hover {
	background-color: var(--pi-surface) !important;
}

.profilm-insight.profilm-insight .profilm-insight__nav--steps .profilm-insight__nav-item.is-visited {
	color: var(--pi-panel-accent) !important;
}

.profilm-insight.profilm-insight .profilm-insight__nav--steps .profilm-insight__nav-item.is-active {
	background-color: var(--pi-dark) !important;
	color: #fff !important;
}

/* --- Selector options. */

.profilm-insight.profilm-insight .pi-selector__option {
	background-color: transparent !important;
	background-image: none !important;
	border: 1px solid var(--pi-border) !important;
	color: var(--pi-panel-text-color) !important;
}

.profilm-insight.profilm-insight .pi-selector__option:hover {
	background-color: var(--pi-surface) !important;
}

.profilm-insight.profilm-insight .pi-selector__option.is-active {
	background-color: var(--pi-dark) !important;
	border-color: var(--pi-dark) !important;
	color: #fff !important;
}

.profilm-insight.profilm-insight .pi-selector--pills-row .pi-selector__option.is-active {
	background-color: var(--pi-panel-accent) !important;
	border-color: var(--pi-panel-accent) !important;
}

.profilm-insight.profilm-insight .pi-selector--pills-column .pi-selector__option {
	background-color: var(--pi-surface) !important;
	border-color: transparent !important;
}

.profilm-insight.profilm-insight .pi-selector--pills-column .pi-selector__option.is-active {
	background-color: var(--pi-dark) !important;
	border-color: var(--pi-dark) !important;
}

.profilm-insight.profilm-insight .pi-selector--list .pi-selector__option {
	border: 0 !important;
	border-left: 3px solid transparent !important;
	background-color: var(--pi-surface) !important;
	color: var(--pi-panel-strong-color) !important;
}

.profilm-insight.profilm-insight .pi-selector--list .pi-selector__option:hover {
	background-color: var(--pi-border) !important;
}

.profilm-insight.profilm-insight .pi-selector--list .pi-selector__option.is-active {
	background-color: rgba(0, 175, 98, 0.1) !important;
	border-left-color: var(--pi-panel-accent) !important;
	color: var(--pi-panel-strong-color) !important;
}

.profilm-insight.profilm-insight .pi-selector--swatches .pi-selector__option {
	border: 2px solid transparent !important;
	background-color: transparent !important;
	color: var(--pi-panel-strong-color) !important;
}

.profilm-insight.profilm-insight .pi-selector--swatches .pi-selector__option.is-active {
	border-color: var(--pi-panel-accent) !important;
	color: var(--pi-panel-accent) !important;
}

/* --- Card and panel buttons keep their own fills. */

.profilm-insight.profilm-insight .profilm-insight__button {
	background-color: var(--pi-button-bg) !important;
	color: var(--pi-button-color) !important;
}

.profilm-insight.profilm-insight .profilm-insight__button[aria-expanded='true'] {
	background-color: var(--pi-button-bg-open) !important;
	color: var(--pi-button-color-open) !important;
}

.profilm-insight.profilm-insight .profilm-insight__button:hover,
.profilm-insight.profilm-insight .profilm-insight__button:focus-visible,
.profilm-insight.profilm-insight .profilm-insight__button[aria-expanded='true']:hover {
	background-color: var(--pi-button-bg-hover) !important;
	color: var(--pi-button-color-hover) !important;
}

.profilm-insight.profilm-insight .profilm-insight__button--outline {
	background-color: transparent !important;
	border: 1.5px solid rgba(255, 255, 255, 0.6) !important;
	color: #fff !important;
}

.profilm-insight.profilm-insight .profilm-insight__button--outline:hover,
.profilm-insight.profilm-insight .profilm-insight__button--outline:focus-visible {
	background-color: rgba(255, 255, 255, 0.1) !important;
	border-color: #fff !important;
}

.profilm-insight.profilm-insight .profilm-insight__panel-close {
	background-color: transparent !important;
	border: 1px solid var(--pi-border) !important;
	color: var(--pi-panel-strong-color) !important;
}

.profilm-insight.profilm-insight .profilm-insight__panel-close:hover,
.profilm-insight.profilm-insight .profilm-insight__panel-close:focus-visible {
	background-color: var(--pi-surface) !important;
}

/* Focus rings must survive the reset. */

.profilm-insight.profilm-insight :where(button):focus-visible {
	outline: 2px solid var(--pi-panel-accent) !important;
	outline-offset: 2px !important;
}

/* Hover, focus and active need one more specificity step to beat a theme's
   `.theme .wrapper button:hover { ... !important }`. text-transform is
   re-asserted here too, since the baseline loses to the same selector. */

.profilm-insight.profilm-insight .pi-accordion__toggle,
.profilm-insight.profilm-insight .pi-accordion__toggle:hover,
.profilm-insight.profilm-insight .pi-accordion__toggle:focus,
.profilm-insight.profilm-insight .pi-accordion__toggle:active,
.profilm-insight.profilm-insight .pi-callout__toggle,
.profilm-insight.profilm-insight .pi-callout__toggle:hover,
.profilm-insight.profilm-insight .pi-callout__toggle:focus,
.profilm-insight.profilm-insight .pi-callout__toggle:active,
.profilm-insight.profilm-insight .profilm-insight__nav-prev,
.profilm-insight.profilm-insight .profilm-insight__nav-prev:hover,
.profilm-insight.profilm-insight .profilm-insight__nav-prev:focus,
.profilm-insight.profilm-insight .profilm-insight__nav-prev:active,
.profilm-insight.profilm-insight .profilm-insight__nav-next,
.profilm-insight.profilm-insight .profilm-insight__nav-next:hover,
.profilm-insight.profilm-insight .profilm-insight__nav-next:focus,
.profilm-insight.profilm-insight .profilm-insight__nav-next:active {
	background-color: transparent !important;
	background-image: none !important;
	border: 0 !important;
}

.profilm-insight.profilm-insight .profilm-insight__panel-close,
.profilm-insight.profilm-insight .profilm-insight__panel-close:focus,
.profilm-insight.profilm-insight .profilm-insight__panel-close:active {
	background-color: transparent !important;
}

.profilm-insight.profilm-insight .profilm-insight__panel-close:hover,
.profilm-insight.profilm-insight .profilm-insight__panel-close:focus-visible {
	background-color: var(--pi-surface) !important;
}

.profilm-insight.profilm-insight button,
.profilm-insight.profilm-insight button:hover,
.profilm-insight.profilm-insight button:focus,
.profilm-insight.profilm-insight button:active {
	text-transform: none !important;
	text-shadow: none !important;
}
.profilm-insight.profilm-insight .pi-accordion__toggle
/* text-transform cannot be pinned with a blanket `button` rule — that ties
   on specificity with a theme's own and then depends on stylesheet load
   order. Pinning it per component and per state puts it out of reach. */

,
.profilm-insight.profilm-insight .pi-accordion__toggle:hover
/* text-transform cannot be pinned with a blanket `button` rule — that ties
   on specificity with a theme's own and then depends on stylesheet load
   order. Pinning it per component and per state puts it out of reach. */

,
.profilm-insight.profilm-insight .pi-accordion__toggle:focus
/* text-transform cannot be pinned with a blanket `button` rule — that ties
   on specificity with a theme's own and then depends on stylesheet load
   order. Pinning it per component and per state puts it out of reach. */

,
.profilm-insight.profilm-insight .pi-accordion__toggle:focus-visible
/* text-transform cannot be pinned with a blanket `button` rule — that ties
   on specificity with a theme's own and then depends on stylesheet load
   order. Pinning it per component and per state puts it out of reach. */

,
.profilm-insight.profilm-insight .pi-accordion__toggle:active
/* text-transform cannot be pinned with a blanket `button` rule — that ties
   on specificity with a theme's own and then depends on stylesheet load
   order. Pinning it per component and per state puts it out of reach. */

,
.profilm-insight.profilm-insight .pi-callout__toggle
/* text-transform cannot be pinned with a blanket `button` rule — that ties
   on specificity with a theme's own and then depends on stylesheet load
   order. Pinning it per component and per state puts it out of reach. */

,
.profilm-insight.profilm-insight .pi-callout__toggle:hover
/* text-transform cannot be pinned with a blanket `button` rule — that ties
   on specificity with a theme's own and then depends on stylesheet load
   order. Pinning it per component and per state puts it out of reach. */

,
.profilm-insight.profilm-insight .pi-callout__toggle:focus
/* text-transform cannot be pinned with a blanket `button` rule — that ties
   on specificity with a theme's own and then depends on stylesheet load
   order. Pinning it per component and per state puts it out of reach. */

,
.profilm-insight.profilm-insight .pi-callout__toggle:focus-visible
/* text-transform cannot be pinned with a blanket `button` rule — that ties
   on specificity with a theme's own and then depends on stylesheet load
   order. Pinning it per component and per state puts it out of reach. */

,
.profilm-insight.profilm-insight .pi-callout__toggle:active
/* text-transform cannot be pinned with a blanket `button` rule — that ties
   on specificity with a theme's own and then depends on stylesheet load
   order. Pinning it per component and per state puts it out of reach. */

,
.profilm-insight.profilm-insight .profilm-insight__nav-item
/* text-transform cannot be pinned with a blanket `button` rule — that ties
   on specificity with a theme's own and then depends on stylesheet load
   order. Pinning it per component and per state puts it out of reach. */

,
.profilm-insight.profilm-insight .profilm-insight__nav-item:hover
/* text-transform cannot be pinned with a blanket `button` rule — that ties
   on specificity with a theme's own and then depends on stylesheet load
   order. Pinning it per component and per state puts it out of reach. */

,
.profilm-insight.profilm-insight .profilm-insight__nav-item:focus
/* text-transform cannot be pinned with a blanket `button` rule — that ties
   on specificity with a theme's own and then depends on stylesheet load
   order. Pinning it per component and per state puts it out of reach. */

,
.profilm-insight.profilm-insight .profilm-insight__nav-item:focus-visible
/* text-transform cannot be pinned with a blanket `button` rule — that ties
   on specificity with a theme's own and then depends on stylesheet load
   order. Pinning it per component and per state puts it out of reach. */

,
.profilm-insight.profilm-insight .profilm-insight__nav-item:active
/* text-transform cannot be pinned with a blanket `button` rule — that ties
   on specificity with a theme's own and then depends on stylesheet load
   order. Pinning it per component and per state puts it out of reach. */

,
.profilm-insight.profilm-insight .profilm-insight__nav-prev
/* text-transform cannot be pinned with a blanket `button` rule — that ties
   on specificity with a theme's own and then depends on stylesheet load
   order. Pinning it per component and per state puts it out of reach. */

,
.profilm-insight.profilm-insight .profilm-insight__nav-prev:hover
/* text-transform cannot be pinned with a blanket `button` rule — that ties
   on specificity with a theme's own and then depends on stylesheet load
   order. Pinning it per component and per state puts it out of reach. */

,
.profilm-insight.profilm-insight .profilm-insight__nav-prev:focus
/* text-transform cannot be pinned with a blanket `button` rule — that ties
   on specificity with a theme's own and then depends on stylesheet load
   order. Pinning it per component and per state puts it out of reach. */

,
.profilm-insight.profilm-insight .profilm-insight__nav-prev:focus-visible
/* text-transform cannot be pinned with a blanket `button` rule — that ties
   on specificity with a theme's own and then depends on stylesheet load
   order. Pinning it per component and per state puts it out of reach. */

,
.profilm-insight.profilm-insight .profilm-insight__nav-prev:active
/* text-transform cannot be pinned with a blanket `button` rule — that ties
   on specificity with a theme's own and then depends on stylesheet load
   order. Pinning it per component and per state puts it out of reach. */

,
.profilm-insight.profilm-insight .profilm-insight__nav-next
/* text-transform cannot be pinned with a blanket `button` rule — that ties
   on specificity with a theme's own and then depends on stylesheet load
   order. Pinning it per component and per state puts it out of reach. */

,
.profilm-insight.profilm-insight .profilm-insight__nav-next:hover
/* text-transform cannot be pinned with a blanket `button` rule — that ties
   on specificity with a theme's own and then depends on stylesheet load
   order. Pinning it per component and per state puts it out of reach. */

,
.profilm-insight.profilm-insight .profilm-insight__nav-next:focus
/* text-transform cannot be pinned with a blanket `button` rule — that ties
   on specificity with a theme's own and then depends on stylesheet load
   order. Pinning it per component and per state puts it out of reach. */

,
.profilm-insight.profilm-insight .profilm-insight__nav-next:focus-visible
/* text-transform cannot be pinned with a blanket `button` rule — that ties
   on specificity with a theme's own and then depends on stylesheet load
   order. Pinning it per component and per state puts it out of reach. */

,
.profilm-insight.profilm-insight .profilm-insight__nav-next:active
/* text-transform cannot be pinned with a blanket `button` rule — that ties
   on specificity with a theme's own and then depends on stylesheet load
   order. Pinning it per component and per state puts it out of reach. */

,
.profilm-insight.profilm-insight .pi-selector__option
/* text-transform cannot be pinned with a blanket `button` rule — that ties
   on specificity with a theme's own and then depends on stylesheet load
   order. Pinning it per component and per state puts it out of reach. */

,
.profilm-insight.profilm-insight .pi-selector__option:hover
/* text-transform cannot be pinned with a blanket `button` rule — that ties
   on specificity with a theme's own and then depends on stylesheet load
   order. Pinning it per component and per state puts it out of reach. */

,
.profilm-insight.profilm-insight .pi-selector__option:focus
/* text-transform cannot be pinned with a blanket `button` rule — that ties
   on specificity with a theme's own and then depends on stylesheet load
   order. Pinning it per component and per state puts it out of reach. */

,
.profilm-insight.profilm-insight .pi-selector__option:focus-visible
/* text-transform cannot be pinned with a blanket `button` rule — that ties
   on specificity with a theme's own and then depends on stylesheet load
   order. Pinning it per component and per state puts it out of reach. */

,
.profilm-insight.profilm-insight .pi-selector__option:active
/* text-transform cannot be pinned with a blanket `button` rule — that ties
   on specificity with a theme's own and then depends on stylesheet load
   order. Pinning it per component and per state puts it out of reach. */

,
.profilm-insight.profilm-insight .profilm-insight__panel-close
/* text-transform cannot be pinned with a blanket `button` rule — that ties
   on specificity with a theme's own and then depends on stylesheet load
   order. Pinning it per component and per state puts it out of reach. */

,
.profilm-insight.profilm-insight .profilm-insight__panel-close:hover
/* text-transform cannot be pinned with a blanket `button` rule — that ties
   on specificity with a theme's own and then depends on stylesheet load
   order. Pinning it per component and per state puts it out of reach. */

,
.profilm-insight.profilm-insight .profilm-insight__panel-close:focus
/* text-transform cannot be pinned with a blanket `button` rule — that ties
   on specificity with a theme's own and then depends on stylesheet load
   order. Pinning it per component and per state puts it out of reach. */

,
.profilm-insight.profilm-insight .profilm-insight__panel-close:focus-visible
/* text-transform cannot be pinned with a blanket `button` rule — that ties
   on specificity with a theme's own and then depends on stylesheet load
   order. Pinning it per component and per state puts it out of reach. */

,
.profilm-insight.profilm-insight .profilm-insight__panel-close:active
/* text-transform cannot be pinned with a blanket `button` rule — that ties
   on specificity with a theme's own and then depends on stylesheet load
   order. Pinning it per component and per state puts it out of reach. */

,
.profilm-insight.profilm-insight .profilm-insight__button
/* text-transform cannot be pinned with a blanket `button` rule — that ties
   on specificity with a theme's own and then depends on stylesheet load
   order. Pinning it per component and per state puts it out of reach. */

,
.profilm-insight.profilm-insight .profilm-insight__button:hover
/* text-transform cannot be pinned with a blanket `button` rule — that ties
   on specificity with a theme's own and then depends on stylesheet load
   order. Pinning it per component and per state puts it out of reach. */

,
.profilm-insight.profilm-insight .profilm-insight__button:focus
/* text-transform cannot be pinned with a blanket `button` rule — that ties
   on specificity with a theme's own and then depends on stylesheet load
   order. Pinning it per component and per state puts it out of reach. */

,
.profilm-insight.profilm-insight .profilm-insight__button:focus-visible
/* text-transform cannot be pinned with a blanket `button` rule — that ties
   on specificity with a theme's own and then depends on stylesheet load
   order. Pinning it per component and per state puts it out of reach. */

,
.profilm-insight.profilm-insight .profilm-insight__button:active {
	text-transform: none !important;
}

/* Text colour on hover / focus / active. A theme's `button:hover { color:
   #fff !important }` outranks the component's stateless rule, so each state
   is named explicitly. */

.profilm-insight.profilm-insight .pi-accordion__toggle:hover,
.profilm-insight.profilm-insight .pi-accordion__toggle:focus,
.profilm-insight.profilm-insight .pi-accordion__toggle:focus-visible,
.profilm-insight.profilm-insight .pi-accordion__toggle:active {
	color: var(--pi-panel-strong-color) !important;
}

.profilm-insight.profilm-insight .pi-accordion__item.is-open .pi-accordion__toggle:hover,
.profilm-insight.profilm-insight .pi-accordion__item.is-open .pi-accordion__toggle:focus,
.profilm-insight.profilm-insight .pi-accordion__item.is-open .pi-accordion__toggle:focus-visible,
.profilm-insight.profilm-insight .pi-accordion__item.is-open .pi-accordion__toggle:active {
	color: var(--pi-panel-accent) !important;
}

.profilm-insight.profilm-insight .pi-callout__toggle:hover,
.profilm-insight.profilm-insight .pi-callout__toggle:focus,
.profilm-insight.profilm-insight .pi-callout__toggle:focus-visible,
.profilm-insight.profilm-insight .pi-callout__toggle:active {
	color: var(--pi-panel-accent) !important;
}

.profilm-insight.profilm-insight .profilm-insight__nav-prev:hover,
.profilm-insight.profilm-insight .profilm-insight__nav-prev:focus,
.profilm-insight.profilm-insight .profilm-insight__nav-prev:focus-visible,
.profilm-insight.profilm-insight .profilm-insight__nav-prev:active,
.profilm-insight.profilm-insight .profilm-insight__nav-next:hover,
.profilm-insight.profilm-insight .profilm-insight__nav-next:focus,
.profilm-insight.profilm-insight .profilm-insight__nav-next:focus-visible,
.profilm-insight.profilm-insight .profilm-insight__nav-next:active,
.profilm-insight.profilm-insight .profilm-insight__panel-close:hover,
.profilm-insight.profilm-insight .profilm-insight__panel-close:focus,
.profilm-insight.profilm-insight .profilm-insight__panel-close:focus-visible,
.profilm-insight.profilm-insight .profilm-insight__panel-close:active {
	color: var(--pi-panel-strong-color) !important;
}

.profilm-insight.profilm-insight .profilm-insight__nav-item:hover,
.profilm-insight.profilm-insight .profilm-insight__nav-item:focus,
.profilm-insight.profilm-insight .profilm-insight__nav-item:focus-visible,
.profilm-insight.profilm-insight .profilm-insight__nav-item:active,
.profilm-insight.profilm-insight .pi-selector__option:hover,
.profilm-insight.profilm-insight .pi-selector__option:focus,
.profilm-insight.profilm-insight .pi-selector__option:focus-visible,
.profilm-insight.profilm-insight .pi-selector__option:active {
	color: var(--pi-panel-text-color) !important;
}

.profilm-insight.profilm-insight .pi-selector--list .pi-selector__option:hover,
.profilm-insight.profilm-insight .pi-selector--list .pi-selector__option:focus,
.profilm-insight.profilm-insight .pi-selector--list .pi-selector__option:active,
.profilm-insight.profilm-insight .pi-selector--swatches .pi-selector__option:hover,
.profilm-insight.profilm-insight .pi-selector--swatches .pi-selector__option:focus,
.profilm-insight.profilm-insight .pi-selector--swatches .pi-selector__option:active {
	color: var(--pi-panel-strong-color) !important;
}

/* Active states outrank the hover rules above. */

.profilm-insight.profilm-insight .profilm-insight__nav--tabs .profilm-insight__nav-item.is-active:hover,
.profilm-insight.profilm-insight .profilm-insight__nav--tabs .profilm-insight__nav-item.is-active:focus,
.profilm-insight.profilm-insight .profilm-insight__nav--tabs .profilm-insight__nav-item.is-active:active,
.profilm-insight.profilm-insight .profilm-insight__nav--steps .profilm-insight__nav-item.is-active:hover,
.profilm-insight.profilm-insight .profilm-insight__nav--steps .profilm-insight__nav-item.is-active:focus,
.profilm-insight.profilm-insight .profilm-insight__nav--steps .profilm-insight__nav-item.is-active:active,
.profilm-insight.profilm-insight .pi-selector__option.is-active:hover,
.profilm-insight.profilm-insight .pi-selector__option.is-active:focus,
.profilm-insight.profilm-insight .pi-selector__option.is-active:active {
	color: #fff !important;
}

.profilm-insight.profilm-insight .profilm-insight__nav--steps .profilm-insight__nav-item.is-visited:hover,
.profilm-insight.profilm-insight .profilm-insight__nav--steps .profilm-insight__nav-item.is-visited:focus,
.profilm-insight.profilm-insight .pi-selector--swatches .pi-selector__option.is-active:hover,
.profilm-insight.profilm-insight .pi-selector--swatches .pi-selector__option.is-active:focus,
.profilm-insight.profilm-insight .pi-selector--swatches .pi-selector__option.is-active:active {
	color: var(--pi-panel-accent) !important;
}

.profilm-insight.profilm-insight .pi-selector--list .pi-selector__option.is-active:hover,
.profilm-insight.profilm-insight .pi-selector--list .pi-selector__option.is-active:focus,
.profilm-insight.profilm-insight .pi-selector--list .pi-selector__option.is-active:active {
	color: var(--pi-panel-strong-color) !important;
}
