/* TOA EOR Pricing Calculator
 * Colours, radii and font come from CSS variables printed by the plugin
 * (Settings, Colours and style). The fallbacks below match the defaults.
 * Selectors carry two classes so theme and Elementor kit button, input and
 * heading styles cannot override them.
 */

.toa-eorpc {
	--_btn-bg: var(--toa-eorpc-btn-bg, #1F5BD6);
	--_btn-text: var(--toa-eorpc-btn-text, #FFFFFF);
	--_btn-hover-bg: var(--toa-eorpc-btn-hover-bg, #1747AA);
	--_btn-hover-text: var(--toa-eorpc-btn-hover-text, #FFFFFF);
	--_btn2-text: var(--toa-eorpc-btn2-text, #0E2238);
	--_btn2-border: var(--toa-eorpc-btn2-border, #C9D2DE);
	--_btn2-hover: var(--toa-eorpc-btn2-hover, #EEF2F7);
	--_accent: var(--toa-eorpc-accent, #1F5BD6);
	--_card: var(--toa-eorpc-card, #FFFFFF);
	--_soft: var(--toa-eorpc-soft, #F3F6FA);
	--_border: var(--toa-eorpc-border, #DCE3EC);
	--_heading: var(--toa-eorpc-heading, #0E2238);
	--_text: var(--toa-eorpc-text, #4B5B70);
	--_error: var(--toa-eorpc-error, #C0262D);
	--_panel: var(--toa-eorpc-panel, #0E2238);
	--_panel-text: var(--toa-eorpc-panel-text, #FFFFFF);
	--_panel-muted: var(--toa-eorpc-panel-muted, #9FB1C8);
	--_check: var(--toa-eorpc-check, #4FD1A5);
	--_star: var(--toa-eorpc-star, #F5B842);
	--_radius: var(--toa-eorpc-radius, 20px);
	--_btn-radius: var(--toa-eorpc-btn-radius, 10px);
	--_field-radius: var(--toa-eorpc-field-radius, 10px);
	--_ring: 0 0 0 3px color-mix(in srgb, var(--_accent) 24%, transparent);

	container: toa-eorpc / inline-size;
	max-width: var(--toa-eorpc-max, 1080px);
	margin: 0 auto;
	font-family: var(--toa-eorpc-font, inherit);
	font-size: 16px;
	line-height: 1.5;
	color: var(--_text);
	text-align: left;
	-webkit-font-smoothing: antialiased;
}

.toa-eorpc *,
.toa-eorpc *::before,
.toa-eorpc *::after {
	box-sizing: border-box;
}

.toa-eorpc [hidden] {
	display: none !important;
}

/* ---------- Card layout ---------- */

.toa-eorpc .toa-eorpc__card {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	background: var(--_card);
	border: 1px solid var(--_border);
	border-radius: var(--_radius);
	overflow: hidden;
}

.toa-eorpc .toa-eorpc__main {
	padding: 28px 22px 30px;
	min-width: 0;
}

.toa-eorpc .toa-eorpc__panel {
	background: var(--_panel);
	color: var(--_panel-text);
	padding: 28px 22px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

/* Start date, included list and trust strip: the same navy panel,
   continuing below the price. */
.toa-eorpc .toa-eorpc__extras {
	background: var(--_panel);
	color: var(--_panel-text);
	padding: 0 22px 28px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

/* On narrow screens the price leads once it is revealed, and the extras
   move below the form so the compare controls and button stay close. */
.toa-eorpc[data-step="3"] .toa-eorpc__panel {
	order: -1;
}

.toa-eorpc[data-step="3"] .toa-eorpc__extras {
	padding-top: 28px;
}

@container toa-eorpc (min-width: 780px) {
	.toa-eorpc .toa-eorpc__card {
		grid-template-columns: minmax(0, 1fr) minmax(300px, 36%);
	}

	.toa-eorpc .toa-eorpc__main {
		padding: 40px 44px 44px;
	}

	.toa-eorpc .toa-eorpc__panel {
		padding: 40px 36px;
		gap: 30px;
	}

	.toa-eorpc[data-step="3"] .toa-eorpc__panel {
		order: 0;
	}

	/* Two rows in the right column: the price on top, the extras filling
	   the rest, so the navy reads as one continuous panel. */
	.toa-eorpc .toa-eorpc__card.has-extras {
		grid-template-rows: auto 1fr;
	}

	.toa-eorpc .toa-eorpc__card.has-extras .toa-eorpc__main {
		grid-column: 1;
		grid-row: 1 / span 2;
	}

	.toa-eorpc .toa-eorpc__card.has-extras .toa-eorpc__panel {
		grid-column: 2;
		grid-row: 1;
		padding-bottom: 30px;
	}

	.toa-eorpc .toa-eorpc__card.has-extras .toa-eorpc__extras,
	.toa-eorpc[data-step="3"] .toa-eorpc__card.has-extras .toa-eorpc__extras {
		grid-column: 2;
		grid-row: 2;
		padding: 0 36px 40px;
		gap: 30px;
	}

	/* The panel already shows the team and currency. */
	.toa-eorpc .toa-eorpc__pane .toa-eorpc__recap {
		display: none;
	}
}

/* ---------- Step indicator ---------- */

.toa-eorpc .toa-eorpc__steps {
	list-style: none;
	margin: 0 0 32px;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 10px;
	counter-reset: none;
}

.toa-eorpc .toa-eorpc__step {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	font-size: 14px;
	font-weight: 600;
	color: var(--_text);
	white-space: nowrap;
}

.toa-eorpc .toa-eorpc__step::before {
	content: none;
}

/* Connectors stretch so the steps span the full width of the form. */
.toa-eorpc .toa-eorpc__step + .toa-eorpc__step {
	flex: 1 1 auto;
}

.toa-eorpc .toa-eorpc__step + .toa-eorpc__step::before {
	content: "";
	display: block;
	flex: 1 1 auto;
	min-width: 12px;
	height: 2px;
	margin-right: 2px;
	border-radius: 2px;
	background: var(--_border);
}

.toa-eorpc .toa-eorpc__step-dot {
	width: 28px;
	height: 28px;
	flex: none;
	border-radius: 50%;
	display: grid;
	place-items: center;
	border: 2px solid var(--_border);
	color: var(--_text);
	font-size: 13px;
	font-variant-numeric: tabular-nums;
	transition: background-color .2s, border-color .2s, color .2s;
}

.toa-eorpc .toa-eorpc__step-dot svg {
	display: none;
	width: 15px;
	height: 15px;
}

.toa-eorpc .toa-eorpc__step.is-active {
	color: var(--_heading);
}

.toa-eorpc .toa-eorpc__step.is-active .toa-eorpc__step-dot {
	background: var(--_accent);
	border-color: var(--_accent);
	color: #FFFFFF;
}

.toa-eorpc .toa-eorpc__step.is-done .toa-eorpc__step-dot {
	background: var(--_heading);
	border-color: var(--_heading);
	color: #FFFFFF;
}

.toa-eorpc .toa-eorpc__step.is-done .toa-eorpc__step-num {
	display: none;
}

.toa-eorpc .toa-eorpc__step.is-done .toa-eorpc__step-dot svg {
	display: block;
}

.toa-eorpc .toa-eorpc__step.is-done + .toa-eorpc__step::before {
	background: var(--_heading);
}

@container toa-eorpc (max-width: 460px) {
	.toa-eorpc .toa-eorpc__step:not(.is-active) .toa-eorpc__step-label {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}
}

/* ---------- Type ---------- */

.toa-eorpc .toa-eorpc__title {
	margin: 0 0 8px;
	padding: 0;
	font-family: inherit;
	font-size: clamp(22px, 17px + 1.5cqi, 30px);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.015em;
	color: var(--_heading);
	text-transform: none;
}

.toa-eorpc .toa-eorpc__title:focus {
	outline: none;
}

.toa-eorpc .toa-eorpc__lead {
	margin: 0 0 28px;
	font-size: 16px;
	line-height: 1.55;
	color: var(--_text);
}

.toa-eorpc .toa-eorpc__lead:empty {
	display: none;
}

.toa-eorpc .toa-eorpc__legend,
.toa-eorpc .toa-eorpc__label {
	display: block;
	float: none;
	width: auto;
	margin: 0 0 8px;
	padding: 0;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--_heading);
	border: 0;
}

/* ---------- Pane transitions ---------- */

.toa-eorpc .toa-eorpc__pane.is-entering {
	animation: toa-eorpc-in .32s cubic-bezier(.2, .7, .2, 1) both;
}

@keyframes toa-eorpc-in {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: none; }
}

/* ---------- Team size counter ---------- */

.toa-eorpc .toa-eorpc__counter {
	display: flex;
	align-items: center;
	gap: 18px;
	margin: 0 0 18px;
}

.toa-eorpc .toa-eorpc__count {
	margin: 0;
	display: flex;
	align-items: baseline;
	gap: 10px;
	min-width: 0;
}

.toa-eorpc .toa-eorpc__count-num {
	display: inline-block;
	min-width: 2ch;
	font-size: clamp(52px, 34px + 5cqi, 76px);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.03em;
	font-variant-numeric: tabular-nums;
	color: var(--_heading);
	text-align: center;
}

.toa-eorpc .toa-eorpc__count-unit {
	font-size: 17px;
	font-weight: 500;
	color: var(--_text);
}

/* Round +/- buttons. States are declared explicitly so theme hover colours never apply. */
.toa-eorpc .toa-eorpc__round,
.toa-eorpc .toa-eorpc__round:hover,
.toa-eorpc .toa-eorpc__round:focus,
.toa-eorpc .toa-eorpc__round:active {
	-webkit-appearance: none;
	appearance: none;
	width: 48px;
	height: 48px;
	flex: none;
	margin: 0;
	padding: 0;
	display: grid;
	place-items: center;
	border: 1.5px solid var(--_border);
	border-radius: 50%;
	background: var(--_soft);
	color: var(--_heading);
	box-shadow: none;
	font-size: 16px;
	letter-spacing: 0;
	text-transform: none;
	cursor: pointer;
	transition: border-color .15s, background-color .15s, transform .1s;
}

.toa-eorpc .toa-eorpc__round:hover {
	border-color: var(--_accent);
	color: var(--_accent);
}

.toa-eorpc .toa-eorpc__round:active {
	transform: scale(.94);
}

.toa-eorpc .toa-eorpc__round:focus-visible {
	outline: 2px solid var(--_accent);
	outline-offset: 2px;
}

.toa-eorpc .toa-eorpc__round:disabled {
	opacity: .4;
	cursor: not-allowed;
	transform: none;
	border-color: var(--_border);
	color: var(--_heading);
}

.toa-eorpc .toa-eorpc__round svg {
	width: 22px;
	height: 22px;
}

.toa-eorpc .toa-eorpc__round--sm,
.toa-eorpc .toa-eorpc__round--sm:hover,
.toa-eorpc .toa-eorpc__round--sm:focus,
.toa-eorpc .toa-eorpc__round--sm:active {
	width: 40px;
	height: 40px;
}

/* ---------- Slider ---------- */

.toa-eorpc .toa-eorpc__range-wrap {
	margin: 0 0 12px;
}

.toa-eorpc.toa-eorpc .toa-eorpc__form .toa-eorpc__range {
	--fill: 0%;
	-webkit-appearance: none;
	appearance: none;
	display: block;
	width: 100%;
	height: 28px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	border-radius: 0;
	box-shadow: none;
	cursor: pointer;
}

.toa-eorpc .toa-eorpc__range::-webkit-slider-runnable-track {
	height: 8px;
	border-radius: 8px;
	background: linear-gradient(to right, var(--_accent) var(--fill), var(--_soft) var(--fill));
	box-shadow: inset 0 0 0 1px var(--_border);
}

.toa-eorpc .toa-eorpc__range::-moz-range-track {
	height: 8px;
	border-radius: 8px;
	background: var(--_soft);
	box-shadow: inset 0 0 0 1px var(--_border);
}

.toa-eorpc .toa-eorpc__range::-moz-range-progress {
	height: 8px;
	border-radius: 8px;
	background: var(--_accent);
}

.toa-eorpc .toa-eorpc__range::-webkit-slider-thumb {
	-webkit-appearance: none;
	width: 26px;
	height: 26px;
	margin-top: -9px;
	border-radius: 50%;
	background: #FFFFFF;
	border: 3px solid var(--_accent);
	box-shadow: 0 2px 6px rgba(14, 34, 56, .18);
}

.toa-eorpc .toa-eorpc__range::-moz-range-thumb {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #FFFFFF;
	border: 3px solid var(--_accent);
	box-shadow: 0 2px 6px rgba(14, 34, 56, .18);
}

.toa-eorpc .toa-eorpc__range:focus {
	outline: none;
}

.toa-eorpc .toa-eorpc__range:focus-visible::-webkit-slider-thumb {
	box-shadow: var(--_ring);
}

.toa-eorpc .toa-eorpc__range:focus-visible::-moz-range-thumb {
	box-shadow: var(--_ring);
}

.toa-eorpc .toa-eorpc__scale {
	display: flex;
	justify-content: space-between;
	margin-top: 4px;
	font-size: 13px;
	color: var(--_text);
	font-variant-numeric: tabular-nums;
}

.toa-eorpc .toa-eorpc__hint {
	min-height: 1.5em;
	margin: 0 0 26px;
	font-size: 14px;
	color: var(--_text);
}

.toa-eorpc .toa-eorpc__hint.is-positive {
	color: var(--_heading);
	font-weight: 600;
}

.toa-eorpc .toa-eorpc__exact {
	max-width: 260px;
	margin: -8px 0 26px;
}

/* ---------- Currency choice ---------- */

.toa-eorpc .toa-eorpc__currency {
	margin: 0;
	padding: 0;
	border: 0;
	min-width: 0;
}

.toa-eorpc .toa-eorpc__cur-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 10px;
}

.toa-eorpc .toa-eorpc__cur {
	position: relative;
	display: block;
	margin: 0;
	line-height: 1.3;
	cursor: pointer;
}

.toa-eorpc.toa-eorpc .toa-eorpc__form .toa-eorpc__cur-input {
	position: absolute;
	padding: 0;
	border: 0;
	opacity: 0;
	width: 1px;
	height: 1px;
	margin: 0;
	pointer-events: none;
}

.toa-eorpc .toa-eorpc__cur-face {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	border: 1.5px solid var(--_border);
	border-radius: var(--_field-radius);
	background: var(--_card);
	transition: border-color .15s, background-color .15s;
}

.toa-eorpc .toa-eorpc__cur:hover .toa-eorpc__cur-face {
	border-color: color-mix(in srgb, var(--_accent) 55%, var(--_border));
}

.toa-eorpc .toa-eorpc__cur-sym {
	width: 40px;
	height: 40px;
	flex: none;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--_soft);
	color: var(--_heading);
	font-size: 19px;
	font-weight: 700;
	transition: background-color .15s, color .15s;
}

.toa-eorpc .toa-eorpc__cur-txt {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.toa-eorpc .toa-eorpc__cur-code {
	font-weight: 700;
	color: var(--_heading);
	font-size: 15px;
}

.toa-eorpc .toa-eorpc__cur-name {
	font-size: 13px;
	color: var(--_text);
}

.toa-eorpc .toa-eorpc__cur-input:checked + .toa-eorpc__cur-face {
	border-color: var(--_accent);
	background: color-mix(in srgb, var(--_accent) 6%, var(--_card));
}

.toa-eorpc .toa-eorpc__cur-input:checked + .toa-eorpc__cur-face .toa-eorpc__cur-sym {
	background: var(--_accent);
	color: #FFFFFF;
}

.toa-eorpc .toa-eorpc__cur-input:focus-visible + .toa-eorpc__cur-face {
	box-shadow: var(--_ring);
	border-color: var(--_accent);
}

.toa-eorpc .toa-eorpc__currency--compact .toa-eorpc__cur-grid {
	grid-template-columns: none;
	grid-auto-flow: column;
	grid-auto-columns: minmax(0, 1fr);
	gap: 8px;
}

.toa-eorpc .toa-eorpc__currency--compact .toa-eorpc__cur-face {
	padding: 8px 10px;
	gap: 8px;
}

.toa-eorpc .toa-eorpc__currency--compact .toa-eorpc__cur-sym {
	width: 30px;
	height: 30px;
	font-size: 15px;
}

.toa-eorpc .toa-eorpc__currency--compact .toa-eorpc__cur-name {
	display: none;
}

/* ---------- Buttons ---------- */

.toa-eorpc .toa-eorpc__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-top: 32px;
}

.toa-eorpc .toa-eorpc__btn,
.toa-eorpc .toa-eorpc__btn:hover,
.toa-eorpc .toa-eorpc__btn:focus,
.toa-eorpc .toa-eorpc__btn:active,
.toa-eorpc .toa-eorpc__btn:visited {
	-webkit-appearance: none;
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	margin: 0;
	padding: 0 28px;
	border: 1.5px solid transparent;
	border-radius: var(--_btn-radius);
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: none;
	text-decoration: none;
	box-shadow: none;
	cursor: pointer;
	transition: background-color .15s, color .15s, border-color .15s, transform .1s;
}

.toa-eorpc .toa-eorpc__btn--primary,
.toa-eorpc .toa-eorpc__btn--primary:visited {
	background: var(--_btn-bg);
	border-color: var(--_btn-bg);
	color: var(--_btn-text);
}

.toa-eorpc .toa-eorpc__btn--primary:hover,
.toa-eorpc .toa-eorpc__btn--primary:focus,
.toa-eorpc .toa-eorpc__btn--primary:active {
	background: var(--_btn-hover-bg);
	border-color: var(--_btn-hover-bg);
	color: var(--_btn-hover-text);
}

.toa-eorpc .toa-eorpc__btn--secondary,
.toa-eorpc .toa-eorpc__btn--secondary:visited {
	background: transparent;
	border-color: var(--_btn2-border);
	color: var(--_btn2-text);
}

.toa-eorpc .toa-eorpc__btn--secondary:hover,
.toa-eorpc .toa-eorpc__btn--secondary:focus,
.toa-eorpc .toa-eorpc__btn--secondary:active {
	background: var(--_btn2-hover);
	border-color: var(--_btn2-border);
	color: var(--_btn2-text);
}

.toa-eorpc .toa-eorpc__btn:active {
	transform: translateY(1px);
}

.toa-eorpc .toa-eorpc__btn:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--_accent) 45%, transparent);
	outline-offset: 2px;
}

.toa-eorpc .toa-eorpc__btn[aria-busy="true"] {
	cursor: progress;
	opacity: .85;
}

.toa-eorpc .toa-eorpc__btn-icon {
	display: inline-flex;
}

.toa-eorpc .toa-eorpc__btn-icon svg {
	width: 18px;
	height: 18px;
}

.toa-eorpc .toa-eorpc__submit .toa-eorpc__btn-icon svg {
	transition: transform .2s ease;
}

.toa-eorpc .toa-eorpc__submit:hover .toa-eorpc__btn-icon svg,
.toa-eorpc .toa-eorpc__submit:focus-visible .toa-eorpc__btn-icon svg {
	transform: translateX(3px);
}

.toa-eorpc .toa-eorpc__submit[aria-busy="true"] .toa-eorpc__btn-icon svg {
	animation: toa-eorpc-nudge .7s ease-in-out infinite alternate;
}

@keyframes toa-eorpc-nudge {
	from { transform: translateX(0); }
	to { transform: translateX(5px); }
}

.toa-eorpc .toa-eorpc__link,
.toa-eorpc .toa-eorpc__link:hover,
.toa-eorpc .toa-eorpc__link:focus,
.toa-eorpc .toa-eorpc__link:active {
	-webkit-appearance: none;
	appearance: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
	color: var(--_accent);
	font: inherit;
	font-weight: 600;
	letter-spacing: 0;
	text-decoration: underline;
	text-underline-offset: 3px;
	text-transform: none;
	cursor: pointer;
}

.toa-eorpc .toa-eorpc__link:focus-visible {
	outline: 2px solid var(--_accent);
	outline-offset: 2px;
	border-radius: 2px;
}

/* ---------- Details form ---------- */

.toa-eorpc .toa-eorpc__recap {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 12px;
	align-items: center;
	margin: -12px 0 24px;
	padding: 10px 14px;
	background: var(--_soft);
	border-radius: var(--_field-radius);
	font-size: 14px;
	color: var(--_heading);
}

.toa-eorpc .toa-eorpc__fields {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 18px 16px;
}

@container toa-eorpc (min-width: 560px) {
	.toa-eorpc .toa-eorpc__fields {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.toa-eorpc .toa-eorpc__field {
	min-width: 0;
}

.toa-eorpc .toa-eorpc__field--full {
	grid-column: 1 / -1;
}

.toa-eorpc.toa-eorpc .toa-eorpc__form .toa-eorpc__input,
.toa-eorpc.toa-eorpc .toa-eorpc__form .toa-eorpc__input:hover,
.toa-eorpc.toa-eorpc .toa-eorpc__form .toa-eorpc__input:focus {
	-webkit-appearance: none;
	appearance: none;
	display: block;
	width: 100%;
	height: 50px;
	margin: 0;
	padding: 0 14px;
	border: 1.5px solid var(--_border);
	border-radius: var(--_field-radius);
	background: var(--_card);
	color: var(--_heading);
	font-family: inherit;
	font-size: 16px;
	line-height: 1.2;
	box-shadow: none;
	transition: border-color .15s, box-shadow .15s;
}

.toa-eorpc.toa-eorpc .toa-eorpc__form .toa-eorpc__input:hover {
	border-color: color-mix(in srgb, var(--_heading) 30%, var(--_border));
}

.toa-eorpc.toa-eorpc .toa-eorpc__form .toa-eorpc__input:focus {
	outline: none;
	border-color: var(--_accent);
	box-shadow: var(--_ring);
}

.toa-eorpc .toa-eorpc__input::placeholder {
	color: color-mix(in srgb, var(--_text) 60%, transparent);
}

.toa-eorpc.toa-eorpc .toa-eorpc__form .toa-eorpc__select,
.toa-eorpc.toa-eorpc .toa-eorpc__form .toa-eorpc__select:hover,
.toa-eorpc.toa-eorpc .toa-eorpc__form .toa-eorpc__select:focus {
	padding-right: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234B5B70' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 18px;
	cursor: pointer;
}

.toa-eorpc.toa-eorpc .toa-eorpc__form .toa-eorpc__field.has-error .toa-eorpc__input,
.toa-eorpc.toa-eorpc .toa-eorpc__form .toa-eorpc__exact.has-error .toa-eorpc__input {
	border-color: var(--_error);
}

.toa-eorpc .toa-eorpc__error {
	margin: 6px 0 0;
	font-size: 13px;
	line-height: 1.4;
	color: var(--_error);
}

.toa-eorpc .toa-eorpc__field--consent {
	margin-top: 20px;
}

.toa-eorpc .toa-eorpc__check {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: var(--_text);
	cursor: pointer;
}

.toa-eorpc.toa-eorpc .toa-eorpc__form .toa-eorpc__check input {
	position: absolute;
	padding: 0;
	border: 0;
	opacity: 0;
	width: 22px;
	height: 22px;
	margin: 0;
}

.toa-eorpc .toa-eorpc__check-box {
	width: 22px;
	height: 22px;
	flex: none;
	margin-top: 1px;
	display: grid;
	place-items: center;
	border: 1.5px solid var(--_border);
	border-radius: 6px;
	background: var(--_card);
	color: #FFFFFF;
	transition: background-color .15s, border-color .15s;
}

.toa-eorpc .toa-eorpc__check-box svg {
	width: 15px;
	height: 15px;
	opacity: 0;
}

.toa-eorpc .toa-eorpc__check input:checked + .toa-eorpc__check-box {
	background: var(--_accent);
	border-color: var(--_accent);
}

.toa-eorpc .toa-eorpc__check input:checked + .toa-eorpc__check-box svg {
	opacity: 1;
}

.toa-eorpc .toa-eorpc__check input:focus-visible + .toa-eorpc__check-box {
	box-shadow: var(--_ring);
	border-color: var(--_accent);
}

.toa-eorpc .has-error .toa-eorpc__check-box {
	border-color: var(--_error);
}

.toa-eorpc .toa-eorpc__check .toa-eorpc__check-text a,
.toa-eorpc .toa-eorpc__check .toa-eorpc__check-text a:hover {
	color: var(--_accent);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.toa-eorpc .toa-eorpc__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.toa-eorpc .toa-eorpc__alert {
	margin: 20px 0 0;
	padding: 12px 14px;
	border-left: 3px solid var(--_error);
	border-radius: 4px;
	background: color-mix(in srgb, var(--_error) 8%, var(--_card));
	color: var(--_heading);
	font-size: 14px;
}

/* ---------- Compare (step 3) ---------- */

.toa-eorpc .toa-eorpc__compare {
	display: grid;
	gap: 22px;
	padding: 22px;
	border: 1px solid var(--_border);
	border-radius: calc(var(--_radius) * .6);
	background: var(--_soft);
}

.toa-eorpc .toa-eorpc__compare .toa-eorpc__legend {
	margin-bottom: 10px;
}

.toa-eorpc .toa-eorpc__mini {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: -4px;
}

.toa-eorpc .toa-eorpc__mini-count {
	min-width: 7.5em;
	font-size: 18px;
	font-weight: 700;
	color: var(--_heading);
	font-variant-numeric: tabular-nums;
	text-align: center;
}

.toa-eorpc .toa-eorpc__compare .toa-eorpc__cur-face {
	background: var(--_card);
}

/* ---------- Summary panel ---------- */

.toa-eorpc .toa-eorpc__p-label {
	margin: 0 0 6px;
	font-size: 14px;
	font-weight: 500;
	color: var(--_panel-muted);
}

.toa-eorpc .toa-eorpc__p-headline {
	margin: 0;
	font-size: clamp(24px, 18px + 1.4cqi, 30px);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.015em;
	color: var(--_panel-text);
	font-variant-numeric: tabular-nums;
}

.toa-eorpc .toa-eorpc__p-sub {
	margin: 4px 0 0;
	font-size: 14px;
	color: var(--_panel-muted);
}

.toa-eorpc .toa-eorpc__p-price {
	padding-top: 24px;
	border-top: 1px solid color-mix(in srgb, var(--_panel-text) 14%, transparent);
}

.toa-eorpc .toa-eorpc__locked {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	margin-top: 4px;
	font-size: 14px;
	color: var(--_panel-muted);
}

/* A soft bar where the price will appear. */
.toa-eorpc .toa-eorpc__placeholder {
	display: block;
	width: 150px;
	height: 30px;
	border-radius: 8px;
	background: linear-gradient(90deg,
		color-mix(in srgb, var(--_panel-text) 8%, transparent) 0%,
		color-mix(in srgb, var(--_panel-text) 16%, transparent) 50%,
		color-mix(in srgb, var(--_panel-text) 8%, transparent) 100%);
	background-size: 200% 100%;
	animation: toa-eorpc-shimmer 2.4s ease-in-out infinite;
}

@keyframes toa-eorpc-shimmer {
	from { background-position: 100% 0; }
	to { background-position: -100% 0; }
}

.toa-eorpc .toa-eorpc__revealed {
	animation: toa-eorpc-in .4s cubic-bezier(.2, .7, .2, 1) both;
}

.toa-eorpc .toa-eorpc__amount {
	margin: 2px 0 0;
	font-size: clamp(38px, 26px + 3.2cqi, 52px);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -0.03em;
	color: var(--_panel-text);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.toa-eorpc .toa-eorpc__amount--text {
	font-size: clamp(28px, 20px + 2cqi, 36px);
	white-space: normal;
}

.toa-eorpc .toa-eorpc__rows {
	margin: 20px 0 0;
	padding: 0;
}

.toa-eorpc .toa-eorpc__row {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 11px 0;
	border-top: 1px solid color-mix(in srgb, var(--_panel-text) 12%, transparent);
	font-size: 15px;
}

.toa-eorpc .toa-eorpc__row dt {
	margin: 0;
	font-weight: 400;
	color: var(--_panel-muted);
}

.toa-eorpc .toa-eorpc__row dd {
	margin: 0;
	font-weight: 600;
	color: var(--_panel-text);
	font-variant-numeric: tabular-nums;
}

.toa-eorpc .toa-eorpc__note {
	margin: 16px 0 0;
	font-size: 13px;
	line-height: 1.5;
	color: var(--_panel-muted);
}

.toa-eorpc .toa-eorpc__sr {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

/* ---------- Side panel: start date ---------- */

.toa-eorpc .toa-eorpc__start {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 16px;
	border-radius: calc(var(--_radius) * .6);
	background: color-mix(in srgb, var(--_panel-text) 7%, transparent);
}

.toa-eorpc .toa-eorpc__start-icon {
	width: 42px;
	height: 42px;
	flex: none;
	display: grid;
	place-items: center;
	border-radius: 12px;
	background: var(--_btn-bg);
	color: var(--_btn-text);
}

.toa-eorpc .toa-eorpc__start-icon svg {
	width: 22px;
	height: 22px;
}

.toa-eorpc .toa-eorpc__start .toa-eorpc__p-label {
	margin: 0;
}

.toa-eorpc .toa-eorpc__start-date {
	margin: 2px 0 0;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--_panel-text);
}

.toa-eorpc .toa-eorpc__start-note {
	margin: 4px 0 0;
	font-size: 14px;
	line-height: 1.4;
	color: var(--_check);
}

/* ---------- Side panel: everything included ---------- */

.toa-eorpc .toa-eorpc__inc .toa-eorpc__p-label {
	margin-bottom: 8px;
}

.toa-eorpc .toa-eorpc__inc-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.toa-eorpc .toa-eorpc__inc-item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	padding: 5px 0;
	font-size: 15px;
	line-height: 1.4;
	color: var(--_panel-text);
	list-style: none;
}

.toa-eorpc .toa-eorpc__inc-item::before,
.toa-eorpc .toa-eorpc__inc-item::marker {
	content: none;
}

.toa-eorpc .toa-eorpc__tick {
	width: 20px;
	height: 20px;
	flex: none;
	display: grid;
	place-items: center;
	margin-top: 1px;
	border-radius: 50%;
	background: var(--_check);
	color: var(--_panel);
}

.toa-eorpc .toa-eorpc__tick svg {
	width: 13px;
	height: 13px;
}

/* Rows animate open without guessing a height. */
.toa-eorpc .toa-eorpc__inc-more {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows .35s cubic-bezier(.2, .7, .2, 1);
}

.toa-eorpc .toa-eorpc__inc-more.is-open {
	grid-template-rows: 1fr;
}

.toa-eorpc .toa-eorpc__inc-more > .toa-eorpc__inc-list {
	min-height: 0;
	overflow: hidden;
}

.toa-eorpc .toa-eorpc__inc-toggle,
.toa-eorpc .toa-eorpc__inc-toggle:hover,
.toa-eorpc .toa-eorpc__inc-toggle:focus,
.toa-eorpc .toa-eorpc__inc-toggle:active {
	-webkit-appearance: none;
	appearance: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	width: auto;
	min-height: 0;
	margin: 6px 0 0;
	padding: 4px 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	color: color-mix(in srgb, var(--_accent) 45%, var(--_panel-text));
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0;
	text-decoration: none;
	text-transform: none;
	cursor: pointer;
}

.toa-eorpc .toa-eorpc__inc-toggle:hover {
	color: var(--_panel-text);
}

.toa-eorpc .toa-eorpc__inc-toggle:focus-visible {
	outline: 2px solid var(--_panel-text);
	outline-offset: 3px;
	border-radius: 2px;
}

.toa-eorpc .toa-eorpc__inc-toggle svg {
	width: 16px;
	height: 16px;
	transition: transform .3s ease;
}

.toa-eorpc .toa-eorpc__inc-toggle[aria-expanded="true"] svg {
	transform: rotate(180deg);
}

/* ---------- Side panel: trust strip ---------- */

.toa-eorpc .toa-eorpc__trust {
	padding-top: 22px;
	border-top: 1px solid color-mix(in srgb, var(--_panel-text) 14%, transparent);
}

.toa-eorpc .toa-eorpc__rating {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0 0 6px;
	font-size: 14px;
	color: var(--_panel-text);
}

.toa-eorpc .toa-eorpc__rating a,
.toa-eorpc .toa-eorpc__rating a:hover,
.toa-eorpc .toa-eorpc__rating a:focus {
	color: var(--_panel-text);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.toa-eorpc .toa-eorpc__stars {
	position: relative;
	display: inline-block;
	line-height: 0;
	color: color-mix(in srgb, var(--_panel-text) 20%, transparent);
}

.toa-eorpc .toa-eorpc__stars-row {
	display: inline-flex;
	gap: 2px;
	width: max-content;
}

.toa-eorpc .toa-eorpc__stars svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
}

/* The gold row is clipped to the score, so 4.6 shows as 4.6 stars. */
.toa-eorpc .toa-eorpc__stars-fg {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	overflow: hidden;
	color: var(--_star);
}

.toa-eorpc .toa-eorpc__trust-line {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: var(--_panel-muted);
}

.toa-eorpc .toa-eorpc__logos {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 22px;
	margin-top: 16px;
}

.toa-eorpc .toa-eorpc__logos img.toa-eorpc__logo {
	display: block;
	width: auto;
	height: 28px;
	max-width: 110px;
	margin: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	object-fit: contain;
}

.toa-eorpc .toa-eorpc__logos--white img.toa-eorpc__logo {
	filter: brightness(0) invert(1);
	opacity: .75;
}

/* No transitions until the script has initialised, so styles that arrive
   late never animate in from the theme's defaults. */
.toa-eorpc:not([data-ready]) *,
.toa-eorpc:not([data-ready]) *::before,
.toa-eorpc:not([data-ready]) *::after {
	transition: none !important;
}

/* ---------- Motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
	.toa-eorpc *,
	.toa-eorpc *::before,
	.toa-eorpc *::after {
		animation: none !important;
		transition: none !important;
	}
}
