/*
 * CHESTRAD Test Giving — page-703-scoped component styles.
 *
 * Every rule is scoped to .chestrad-test-giving, except the page identity rule
 * for body.chestrad-test-giving-page. The frozen prototype design system is a
 * reference only; this file carries the reviewed giving component, not global
 * body/input/dialog resets.
 */

.chestrad-test-giving {
	--cstg-heading: "Cardo", Georgia, "Times New Roman", serif;
	--cstg-text: "Daytona", "Daytona Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
	--cstg-forest: #123d30;
	--cstg-forest-hover: #0d2f25;
	--cstg-ivory: #f8f3e8;
	--cstg-card: #fffdf7;
	--cstg-story-text: #fbf7ed;
	--cstg-heading-light: #fff8e9;
	--cstg-gold: #f2ce80;
	--cstg-date: #f1dec2;
	--cstg-muted: #5c6b60;
	--cstg-clay: #9e432e;
	--cstg-eyebrow: #a44632;
	--cstg-border: #a0b19b;
	--cstg-field-border: #91a794;
	--cstg-selected: #e5ebdb;
	--cstg-chip: #e4e9dc;
	--cstg-inline: #eef1e8;
	--cstg-divider: #dfe4d8;
	--cstg-frame: 1180px;
	--cstg-gutter: clamp(18px, 3vw, 44px);
	background: var(--cstg-ivory);
	color: #173c30;
	font-family: var(--cstg-text);
	font-size: 16px;
	line-height: 1.5;
	min-height: 100vh;
}

body.chestrad-test-giving-page {
	margin: 0;
	background: #f8f3e8;
}

.chestrad-test-giving,
.chestrad-test-giving *,
.chestrad-test-giving *::before,
.chestrad-test-giving *::after {
	box-sizing: border-box;
}

.chestrad-test-giving img {
	display: block;
	max-width: 100%;
}

.chestrad-test-giving h1,
.chestrad-test-giving h2,
.chestrad-test-giving h3 {
	font-family: var(--cstg-heading);
	color: var(--cstg-forest);
}

.chestrad-test-giving p {
	margin: 0;
}

.chestrad-test-giving a {
	color: inherit;
}

.chestrad-test-giving .cstg-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 20;
	padding: 10px 14px;
	background: var(--cstg-card);
	color: var(--cstg-forest);
	border: 2px solid var(--cstg-forest);
	border-radius: 8px;
	font-weight: 700;
	text-decoration: none;
}

.chestrad-test-giving .cstg-skip:focus {
	left: 12px;
	top: 12px;
}

.chestrad-test-giving .full-gift-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	max-width: var(--cstg-frame);
	margin: 0 auto;
	padding: 16px var(--cstg-gutter) 10px;
}

.chestrad-test-giving .full-gift-brand {
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 5px 0;
	mix-blend-mode: multiply;
}

.chestrad-test-giving .full-gift-brand img:first-child {
	width: auto;
	height: 43px;
}

.chestrad-test-giving .full-gift-brand img:last-child {
	width: auto;
	height: 49px;
}

.chestrad-test-giving .gift-exit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 44px;
	flex: none;
	padding: 8px 13px;
	border-radius: 8px;
	font: 600 14px/1.2 var(--cstg-text);
	color: var(--cstg-forest);
	background: var(--cstg-chip);
	text-decoration: none;
}

.chestrad-test-giving .gift-exit:hover {
	background: #d8e2d1;
}

.chestrad-test-giving .cstg-main {
	display: block;
}

.chestrad-test-giving .full-gift-layout {
	display: grid;
	grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
	gap: clamp(20px, 3.5vw, 56px);
	align-items: start;
	max-width: var(--cstg-frame);
	margin: 0 auto;
	padding: clamp(10px, 2vw, 24px) var(--cstg-gutter) 40px;
}

.chestrad-test-giving .full-gift-story {
	position: relative;
	isolation: isolate;
	min-width: 0;
	padding: clamp(22px, 2.8vw, 40px);
	border-radius: 12px;
	overflow: hidden;
	background: #123d30 url('../img/forest.webp') center/cover;
	color: var(--cstg-story-text);
}

.chestrad-test-giving .full-gift-story::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background: url('../img/palm.webp') right bottom/55% auto no-repeat;
	opacity: 0.12;
}

/* C01: desktop story stays beside the payment panel; short windows fall back
   to static flow and the mobile layout is always relative. */
@media (min-width: 880px) and (min-height: 760px) {
	.chestrad-test-giving .full-gift-story {
		position: sticky;
		top: clamp(12px, 2vh, 24px);
	}
}

.chestrad-test-giving .full-gift-season {
	width: min(100%, 360px);
	height: auto;
	margin-bottom: 15px;
	filter: drop-shadow(0 2px 4px #08271c90);
}

.chestrad-test-giving .full-gift-story-title {
	max-width: 19ch;
	margin: 0 0 12px;
	font: 700 clamp(31px, 3.05vw, 43px)/1.08 var(--cstg-heading);
	text-wrap: balance;
	color: var(--cstg-heading-light);
}

.chestrad-test-giving .full-gift-theme {
	margin: 0 0 13px;
	font: 700 clamp(21px, 2.3vw, 30px)/1.25 var(--cstg-heading);
	color: var(--cstg-gold);
}

.chestrad-test-giving .full-gift-context {
	margin: 0;
	font-size: 16px;
	line-height: 1.55;
}

.chestrad-test-giving .full-gift-community {
	display: block;
	width: min(100%, 275px);
	height: auto;
	margin: 13px auto 10px;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

.chestrad-test-giving .full-gift-date {
	margin: 0;
	font-size: 13px;
	line-height: 1.45;
	color: var(--cstg-date);
}

.chestrad-test-giving .full-gift-content {
	min-width: 0;
	padding: 0;
	font-size: 16px;
}

.chestrad-test-giving .eyebrow {
	margin: 0 0 8px;
	font-size: 12px;
	font-weight: 750;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--cstg-eyebrow);
}

.chestrad-test-giving .full-gift-content-title {
	margin: 0 0 10px;
	font: 700 clamp(26px, 3vw, 40px)/1.15 var(--cstg-heading);
	color: var(--cstg-forest);
}

/* Programmatic arrival may focus these noninteractive headings; keep that
   enhancement from drawing a faux control outline. Interactive focus remains
   visible through the focus-visible rules below. */
.chestrad-test-giving #cstg-content-title:focus,
.chestrad-test-giving #cstg-story-title:focus {
	outline: none;
}

.chestrad-test-giving .full-gift-intro {
	max-width: 58ch;
	/* FB4: the visible TEST notice that used to sit here carried the 18px
	   column rhythm before the chooser. It is removed from the markup, so the
	   intro keeps that rhythm instead of leaving the chooser 6px tighter. */
	margin: 0 0 18px;
	font-size: 16px;
	line-height: 1.5;
}

.chestrad-test-giving .gift-status {
	margin: 0 0 16px;
	padding: 10px 12px;
	border-radius: 8px;
	background: #f6e4d8;
	border-left: 4px solid var(--cstg-clay);
	color: #6f2f1d;
	font-size: 14px;
	line-height: 1.5;
}

.chestrad-test-giving .cstg-chooser {
	margin: 0;
}

.chestrad-test-giving .gift-fields {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.chestrad-test-giving .step {
	min-width: 0;
}

.chestrad-test-giving .full-provider {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.chestrad-test-giving .full-provider legend {
	display: block;
	width: 100%;
	margin: 0 0 9px;
	padding: 0;
	font: 700 16px/1.35 var(--cstg-text);
	color: var(--cstg-forest);
}

.chestrad-test-giving .full-provider legend span {
	display: inline-block;
	width: 18px;
	margin-right: 6px;
	color: var(--cstg-clay);
	font-size: 13px;
}

.chestrad-test-giving .full-provider-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.chestrad-test-giving .full-provider-grid label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	min-width: 0;
	min-height: 65px;
	margin: 0;
	padding: 11px;
	background: var(--cstg-card);
	border: 1px solid var(--cstg-border);
	border-radius: 10px;
	cursor: pointer;
}

.chestrad-test-giving .full-provider-grid label:has(input:checked) {
	background: var(--cstg-selected);
	border-color: var(--cstg-forest);
	box-shadow: inset 0 0 0 1px var(--cstg-forest);
}

.chestrad-test-giving .full-provider-grid label input[type="radio"] {
	display: inline-block;
	flex: 0 0 auto;
	width: 18px;
	min-height: 0;
	height: 18px;
	margin: 2px 0 0;
	padding: 0;
	accent-color: var(--cstg-forest);
}

.chestrad-test-giving .full-provider-grid strong,
.chestrad-test-giving .full-provider-grid small {
	display: block;
}

.chestrad-test-giving .full-provider-grid strong {
	font-size: 15px;
	line-height: 1.3;
	font-weight: 700;
}

.chestrad-test-giving .full-provider-grid small {
	margin-top: 4px;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.35;
}

.chestrad-test-giving .provider-brand {
	flex: 0 0 auto;
	margin-left: auto;
	align-self: center;
	height: 22px;
	width: auto;
}

.chestrad-test-giving .provider-brand--stripe {
	height: 15px;
}

.chestrad-test-giving .impact-inline {
	display: none;
	gap: 12px;
	align-items: flex-start;
	margin-top: 16px;
	padding: 12px;
	background: var(--cstg-inline);
	border-radius: 10px;
}

.chestrad-test-giving .impact-inline img {
	flex: 0 0 auto;
	width: 88px;
	height: 88px;
	object-fit: cover;
	border-radius: 8px;
}

.chestrad-test-giving .impact-inline p {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: var(--cstg-forest);
}

.chestrad-test-giving .cstg-chooser .gift-help {
	margin: 10px 0 0;
	font-size: 14px;
	line-height: 1.5;
	color: #385448;
}

.chestrad-test-giving .cstg-chooser-actions {
	margin: 0;
}

.chestrad-test-giving .btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 0.55rem;
	max-width: 100%;
	min-height: 44px;
	padding: 0.9rem 1.3rem;
	border: 2px solid transparent;
	border-radius: 8px;
	font: 700 14px/1.2 var(--cstg-text);
	letter-spacing: 0;
	text-transform: none;
	text-decoration: none;
	cursor: pointer;
	transition: background 180ms, color 180ms, border-color 180ms;
}

.chestrad-test-giving .btn-primary {
	background: var(--cstg-forest);
	border-color: var(--cstg-forest);
	color: #fffdf7;
}

.chestrad-test-giving .btn-primary:hover {
	background: var(--cstg-forest-hover);
	border-color: var(--cstg-forest-hover);
}

.chestrad-test-giving .btn-ghost {
	background: transparent;
	color: var(--cstg-forest);
	border-color: #91aa98;
}

.chestrad-test-giving .btn-ghost:hover {
	background: #eef1e8;
	border-color: var(--cstg-forest);
}

.chestrad-test-giving .gift-next {
	width: 100%;
	min-height: 50px;
	margin: 12px 0 0;
	font-size: 16px;
}

.chestrad-test-giving .gift-entry-actions {
	margin: 22px 0 0;
}

.chestrad-test-giving .cstg-revision {
	margin: 0;
}

.chestrad-test-giving .cstg-change-selection {
	width: 100%;
	min-height: 48px;
	margin: 12px 0 0;
}

.chestrad-test-giving .full-gift-footer {
	margin: 18px 0 10px;
	font-size: 14px;
	line-height: 1.5;
	color: #385448;
}

.chestrad-test-giving .gift-explore-main {
	width: 100%;
	min-height: 48px;
	font: 700 16px/1.3 var(--cstg-text);
	justify-content: center;
	gap: 10px;
	color: var(--cstg-forest);
	background: var(--cstg-chip);
	border-color: #78947f;
}

.chestrad-test-giving .gift-explore-main:hover {
	background: #d8e2d1;
	border-color: var(--cstg-forest);
}

.chestrad-test-giving .pay-panel {
	margin-top: 20px;
	padding: 20px;
	background: var(--cstg-card);
	border: 1px solid var(--cstg-border);
	border-radius: 12px;
}

.chestrad-test-giving .pf-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px 10px;
	margin-bottom: 18px;
}

.chestrad-test-giving .pf-head h3 {
	margin: 0;
	font: 700 16px/1.3 var(--cstg-text);
	color: var(--cstg-forest);
}

.chestrad-test-giving .pf-dest {
	padding: 5px 11px;
	border-radius: 999px;
	background: var(--cstg-selected);
	color: var(--cstg-forest);
	font: 600 13px/1.3 var(--cstg-text);
}

.chestrad-test-giving .pf-stripe {
	margin: 0 0 14px;
	font-size: 15px;
	line-height: 1.65;
	color: var(--cstg-forest);
}

.chestrad-test-giving .pf-stripe strong {
	font-weight: 700;
}

.chestrad-test-giving .cstg-stripe-link {
	width: 100%;
	min-height: 50px;
	margin: 4px 0 0;
	font-size: 16px;
}

/* Native Paystack form is provider-owned; only scoped layout chrome is adapted. */
.chestrad-test-giving .cstg-paystack-panel > h1[id^="pf-form"] {
	display: none;
}

.chestrad-test-giving .cstg-paystack-panel .paystack-form {
	margin: 0;
}

.chestrad-test-giving .cstg-paystack-panel .paystack-form .j-row {
	display: block;
	margin: 0;
}

.chestrad-test-giving .cstg-paystack-panel .paystack-form .span12.unit {
	float: none;
	width: 100%;
	margin: 0 0 16px;
	padding: 0;
}

.chestrad-test-giving .cstg-paystack-panel .paystack-form .label {
	display: block;
	height: auto;
	min-height: 0;
	margin: 0 0 8px;
	padding: 0;
	font: 600 13px/1.35 var(--cstg-text);
	line-height: 1.35;
	white-space: normal;
	overflow: visible;
	color: var(--cstg-forest);
}

.chestrad-test-giving .cstg-paystack-panel .paystack-form .label span {
	color: var(--cstg-clay);
}

.chestrad-test-giving .cstg-paystack-panel .paystack-form .input {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 12px;
	border: 1px solid var(--cstg-field-border);
	border-radius: 8px;
	background: var(--cstg-card);
}

.chestrad-test-giving .cstg-paystack-panel .paystack-form .input:focus-within {
	box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--cstg-forest);
}

.chestrad-test-giving .cstg-paystack-panel .paystack-form .input:has(> small),
.chestrad-test-giving .cstg-paystack-panel .paystack-form .input:has(#pf-min-val-warn) {
	flex-direction: column;
	align-items: stretch;
	gap: 4px;
	padding: 10px 12px;
}

.chestrad-test-giving .cstg-paystack-panel .paystack-form .input:has(> small) > small,
.chestrad-test-giving .cstg-paystack-panel .paystack-form .input:has(#pf-min-val-warn) > div > small {
	display: block;
	width: 100%;
	margin: 0;
}

.chestrad-test-giving .cstg-paystack-panel .paystack-form .input:has(> small) > input,
.chestrad-test-giving .cstg-paystack-panel .paystack-form .input:has(#pf-min-val-warn) > input {
	flex: 0 0 auto;
	width: 100%;
	min-height: 40px;
}

.chestrad-test-giving .cstg-paystack-panel .paystack-form .input:has(#pf-min-val-warn) > div {
	flex: 0 0 auto;
	width: 100%;
}

.chestrad-test-giving .cstg-paystack-panel .paystack-form .input input,
.chestrad-test-giving .cstg-paystack-panel .paystack-form .input select,
.chestrad-test-giving .cstg-paystack-panel .paystack-form .input textarea {
	flex: 1 1 auto;
	width: 100%;
	min-width: 0;
	min-height: 46px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	outline: none;
	font: 400 16px/1.4 var(--cstg-text);
	color: var(--cstg-forest);
}

.chestrad-test-giving .cstg-paystack-panel .paystack-form select,
.chestrad-test-giving .cstg-paystack-panel .paystack-form select.form-control {
	width: 100%;
	min-height: 48px;
	padding: 10px 12px;
	border: 1px solid var(--cstg-field-border);
	border-radius: 8px;
	background: var(--cstg-card);
	font: 400 15px/1.4 var(--cstg-text);
	color: var(--cstg-forest);
}

/* FB5: the two optional consent questions are authored raw as a select with
   class `form-control` directly inside Paystack's `.input` wrapper (see the
   approved form-creation source). The `.input` wrapper already draws the single
   field frame and the focus ring; the select rule above then restores a second
   border, radius, padding and background on the inner control, so those fields
   show two frames. Reset only that inner chrome. Width, min-height, font,
   colour and the wrapper's :focus-within ring are intentionally not overridden,
   matching the existing `.input input/select/textarea` flattening, and
   standalone selects outside `.input` keep their own frame. */
.chestrad-test-giving .cstg-paystack-panel .paystack-form .input > select.form-control {
	border: 0;
	border-radius: 0;
	padding: 0;
	background: transparent;
	box-shadow: none;
}

.chestrad-test-giving .cstg-paystack-panel .paystack-form .select {
	width: 100%;
}

.chestrad-test-giving .cstg-paystack-panel .paystack-form .checkbox {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 13px;
	line-height: 1.45;
}

.chestrad-test-giving .cstg-paystack-panel .paystack-form .checkbox input {
	width: 18px;
	height: 18px;
	margin-top: 2px;
}

.chestrad-test-giving .cstg-paystack-panel .paystack-form .primary-btn {
	width: 100%;
	min-height: 50px;
	margin-top: 2px;
	padding: 12px 16px;
	border: 0;
	border-radius: 10px;
	background: var(--cstg-forest);
	color: #f7f3e8;
	font: 700 16px/1.3 var(--cstg-text);
	cursor: pointer;
}

.chestrad-test-giving .cstg-paystack-panel .paystack-form .primary-btn:hover {
	background: var(--cstg-forest-hover);
}

.chestrad-test-giving .cstg-paystack-panel .paystack-form .secondary-btn {
	display: none;
}

.chestrad-test-giving .cstg-paystack-panel .paystack-form .paystack-cardlogos {
	width: auto !important;
	max-width: 200px;
	height: auto !important;
	margin: 10px 0 0;
}

.chestrad-test-giving .cstg-paystack-panel .paystack-form small {
	display: block;
	margin-top: 6px;
	font-size: 12px;
	line-height: 1.5;
	color: var(--cstg-muted);
}

.chestrad-test-giving .cstg-password .cstg-main {
	max-width: 760px;
	margin: 0 auto;
	padding: 0 var(--cstg-gutter) 40px;
}

.chestrad-test-giving .cstg-password-card {
	max-width: 560px;
	margin: clamp(24px, 6vh, 64px) auto;
	padding: clamp(24px, 4vw, 40px);
	background: var(--cstg-card);
	border: 1px solid var(--cstg-border);
	border-radius: 14px;
}

.chestrad-test-giving .cstg-password-title {
	margin: 0 0 12px;
	font: 700 clamp(28px, 3vw, 40px)/1.15 var(--cstg-heading);
	color: var(--cstg-forest);
}

.chestrad-test-giving .cstg-password-lede {
	margin: 0 0 18px;
	font-size: 16px;
	line-height: 1.55;
	color: #385448;
}

.chestrad-test-giving .cstg-password-card .post-password-form p {
	margin: 0 0 14px;
	font-size: 15px;
	line-height: 1.5;
}

.chestrad-test-giving .cstg-password-card .post-password-form label {
	display: block;
	font: 600 14px/1.4 var(--cstg-text);
	color: var(--cstg-forest);
}

.chestrad-test-giving .cstg-password-card .post-password-form input[type="password"] {
	width: 100%;
	min-height: 48px;
	margin: 8px 0 14px;
	padding: 0 12px;
	border: 1px solid var(--cstg-field-border);
	border-radius: 8px;
	background: var(--cstg-ivory);
	font: 400 16px/1.4 var(--cstg-text);
	color: var(--cstg-forest);
}

.chestrad-test-giving .cstg-password-card .post-password-form input[type="submit"] {
	min-height: 48px;
	padding: 10px 18px;
	border: 2px solid var(--cstg-forest);
	border-radius: 8px;
	background: var(--cstg-forest);
	color: #fffdf7;
	font: 700 15px/1.3 var(--cstg-text);
	cursor: pointer;
}


.chestrad-test-giving button:focus-visible,
.chestrad-test-giving input:focus-visible,
.chestrad-test-giving select:focus-visible,
.chestrad-test-giving textarea:focus-visible,
.chestrad-test-giving a:focus-visible {
	outline: 3px solid var(--cstg-eyebrow);
	outline-offset: 3px;
}

@media (max-width: 879px) {
	.chestrad-test-giving .full-gift-layout {
		grid-template-columns: minmax(0, 1fr);
		gap: 20px;
		padding-block: 12px 32px;
	}

	.chestrad-test-giving .full-gift-story {
		padding: 14px 16px;
	}

	.chestrad-test-giving .full-gift-story-title {
		max-width: none;
		font-size: 30px;
	}

	.chestrad-test-giving .story-swap {
		display: none;
	}

	.chestrad-test-giving .impact-inline {
		display: flex;
	}

	.chestrad-test-giving .full-gift-season {
		width: min(100%, 260px);
		margin-bottom: 5px;
	}

	.chestrad-test-giving .full-gift-theme {
		margin-bottom: 4px;
		font-size: 19px;
	}

	.chestrad-test-giving .full-gift-story .full-gift-date {
		margin-top: 4px;
		font-size: 12px;
	}
}

@media (max-width: 599px) {
	.chestrad-test-giving {
		--cstg-gutter: 12px;
	}

	.chestrad-test-giving .full-gift-header {
		padding-block: 10px 6px;
	}

	.chestrad-test-giving .full-gift-brand {
		padding: 4px 0;
		gap: 5px;
	}

	.chestrad-test-giving .full-gift-brand img:first-child {
		height: 32px;
	}

	.chestrad-test-giving .full-gift-brand img:last-child {
		height: 36px;
	}

	.chestrad-test-giving .gift-exit {
		gap: 5px;
		padding: 8px;
		font-size: 12px;
	}

	.chestrad-test-giving .full-gift-layout {
		gap: 14px;
		padding-block: 10px 28px;
	}

	.chestrad-test-giving .full-gift-story {
		padding: 12px 14px;
		border-radius: 10px;
	}

	.chestrad-test-giving .full-gift-season {
		width: min(100%, 220px);
	}

	.chestrad-test-giving .full-gift-story-title {
		margin-bottom: 5px;
		font-size: 27px;
	}

	.chestrad-test-giving .full-gift-theme {
		font-size: 17px;
	}

	.chestrad-test-giving .full-gift-content-title {
		font-size: 27px;
	}

	.chestrad-test-giving .full-gift-intro {
		font-size: 14px;
	}

	.chestrad-test-giving .gift-fields {
		gap: 24px;
	}

	.chestrad-test-giving .full-provider-grid {
		gap: 8px;
	}

	.chestrad-test-giving .full-provider-grid:not(.full-provider-grid--priorities) {
		grid-template-columns: minmax(0, 1fr);
	}

	.chestrad-test-giving .full-provider-grid label {
		min-height: 62px;
		gap: 7px;
		padding: 9px;
	}

	.chestrad-test-giving .full-provider-grid small {
		font-size: 12px;
	}

	.chestrad-test-giving .cstg-chooser .gift-help {
		font-size: 13px;
	}

	.chestrad-test-giving .impact-inline img {
		width: 96px;
		height: 96px;
	}

	.chestrad-test-giving .pay-panel {
		margin-top: 22px;
		padding: 18px 0 0;
		background: transparent;
		border: 0;
		border-top: 1px solid var(--cstg-divider);
		border-radius: 0;
	}

	.chestrad-test-giving .gift-entry-actions {
		margin-top: 16px;
	}
}

@media (max-width: 374px) {
	.chestrad-test-giving .full-gift-brand {
		gap: 6px;
	}

	.chestrad-test-giving .full-gift-brand img:first-child {
		height: 30px;
	}

	.chestrad-test-giving .full-gift-brand img:last-child {
		height: 34px;
	}

	.chestrad-test-giving .gift-exit {
		padding: 7px;
		font-size: 11px;
	}

	.chestrad-test-giving .full-provider-grid,
	.chestrad-test-giving .full-provider-grid--priorities {
		grid-template-columns: minmax(0, 1fr);
	}

	.chestrad-test-giving .full-provider-grid label {
		min-height: 60px;
	}
}

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

/* Embedded-dialog presentation: the host shell owns viewport height, body
   background and focus containment. No viewport minimum or body reset leaks
   into the surrounding document. */
.chestrad-test-giving.cstg-context--embedded {
	min-height: 0;
	background: transparent;
}
