/*
 * Exhibitor registration form — one neutral design for all three expos.
 * Each expo sets only --ecf-accent / --ecf-accent-ink / --ecf-accent-soft
 * (inc/exhibitor-form/config.php); everything else is shared.
 *
 *   --ecf-accent       brand color: bars, selected borders, the step numbers
 *   --ecf-accent-ink   the same hue dark enough for text and buttons on white
 *   --ecf-accent-soft  a pale tint for selected cards and the intro band
 */

:root {
	--ecf-accent: #2b5d63;
	--ecf-accent-ink: #234c51;
	--ecf-accent-soft: #eaf2f2;

	--ecf-ink: #1c2229;
	--ecf-muted: #56606b;
	--ecf-line: #d9dee4;
	--ecf-line-strong: #aeb7c1;
	--ecf-page: #f4f5f7;
	--ecf-surface: #ffffff;
	--ecf-danger: #b42318;
	--ecf-danger-soft: #fef3f2;

	--ecf-radius: 10px;
	--ecf-radius-sm: 6px;
	--ecf-font: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

body.ecf-body {
	margin: 0;
	background: var(--ecf-page);
	color: var(--ecf-ink);
	font-family: var(--ecf-font);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

.ecf-body a {
	color: var(--ecf-accent-ink);
	text-underline-offset: 2px;
}

.ecf-body :focus-visible {
	outline: 3px solid var(--ecf-accent-ink);
	outline-offset: 2px;
}

[hidden] {
	display: none !important;
}

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

.ecf-skip {
	position: absolute;
	left: 16px;
	top: -48px;
	z-index: 10;
	padding: 8px 14px;
	background: var(--ecf-ink);
	color: #fff !important;
	border-radius: var(--ecf-radius-sm);
}
.ecf-skip:focus {
	top: 12px;
}

.ecf-wrap {
	width: 100%;
	max-width: 1120px;
	margin: 0 auto;
	padding-left: 24px;
	padding-right: 24px;
}

/* ---------------------------------------------------------------- */
/* Masthead and footer                                               */
/* ---------------------------------------------------------------- */

.ecf-masthead {
	background: var(--ecf-surface);
	border-bottom: 4px solid var(--ecf-accent);
}
.ecf-masthead__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 72px;
	padding-top: 12px;
	padding-bottom: 12px;
}
.ecf-brand {
	display: flex;
	align-items: center;
	gap: 14px;
	color: var(--ecf-ink) !important;
	text-decoration: none;
	font-weight: 700;
	font-size: 1.0625rem;
}
.ecf-brand__logo {
	display: block;
	height: 44px;
	width: auto;
	max-width: 160px;
	object-fit: contain;
}
.ecf-masthead__back {
	font-size: 0.9375rem;
	white-space: nowrap;
}

.ecf-footer {
	margin-top: 56px;
	border-top: 1px solid var(--ecf-line);
	background: var(--ecf-surface);
	color: var(--ecf-muted);
	font-size: 0.9375rem;
}
.ecf-footer__inner {
	padding-top: 24px;
	padding-bottom: 32px;
}
.ecf-footer p {
	margin: 0 0 6px;
}
.ecf-footer__org {
	font-size: 0.875rem;
}

/* ---------------------------------------------------------------- */
/* Intro                                                             */
/* ---------------------------------------------------------------- */

.ecf-intro {
	background: var(--ecf-accent-soft);
	border-bottom: 1px solid var(--ecf-line);
}
.ecf-intro__inner {
	padding-top: 40px;
	padding-bottom: 36px;
}
.ecf-intro__title {
	margin: 0 0 20px;
	font-size: clamp(2rem, 4vw, 2.75rem);
	line-height: 1.1;
	letter-spacing: -0.02em;
	font-weight: 700;
}
.ecf-facts {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 40px;
	margin: 0 0 16px;
}
.ecf-facts__item dt {
	font-size: 0.875rem;
	color: var(--ecf-muted);
	margin-bottom: 2px;
}
.ecf-facts__item dd {
	margin: 0;
	font-weight: 600;
	font-size: 1.0625rem;
}
.ecf-facts__date {
	display: inline-block;
	margin-right: 14px;
	white-space: nowrap;
}
.ecf-intro__tagline {
	margin: 0;
	max-width: 62ch;
	color: var(--ecf-ink);
	font-size: 1.0625rem;
}
.ecf-intro__eb {
	display: inline-block;
	margin: 18px 0 0;
	padding: 8px 14px;
	background: var(--ecf-surface);
	border: 1px solid var(--ecf-accent);
	border-radius: var(--ecf-radius-sm);
	font-size: 0.9375rem;
}

/* ---------------------------------------------------------------- */
/* Layout: steps on the left, a sticky summary on the right          */
/* ---------------------------------------------------------------- */

.ecf-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 32px;
	align-items: start;
	margin-top: 32px;
}

.ecf-steps {
	display: flex;
	flex-direction: column;
	gap: 20px;
	min-width: 0;
}

.ecf-step {
	background: var(--ecf-surface);
	border: 1px solid var(--ecf-line);
	border-radius: var(--ecf-radius);
	padding: 24px 28px 28px;
}
.ecf-step__title {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 6px;
	font-size: 1.3125rem;
	line-height: 1.3;
	font-weight: 700;
}
.ecf-step__num {
	display: inline-grid;
	place-items: center;
	flex: none;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--ecf-accent-ink);
	color: #fff;
	font-size: 0.9375rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}
.ecf-step__hint {
	margin: 0 0 16px;
	color: var(--ecf-muted);
	font-size: 0.9375rem;
}
.ecf-step__title + .ecf-grid,
.ecf-step__title + .ecf-pay-methods {
	margin-top: 16px;
}

.ecf-optional {
	color: var(--ecf-muted);
	font-weight: 400;
}

fieldset {
	border: 0;
	margin: 0;
	padding: 0;
	min-width: 0;
}
legend {
	padding: 0;
}

/* ---------------------------------------------------------------- */
/* Dates (Career Expo)                                               */
/* ---------------------------------------------------------------- */

.ecf-dates {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
	gap: 10px;
}
.ecf-date {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 14px 16px;
	border: 1px solid var(--ecf-line-strong);
	border-radius: var(--ecf-radius-sm);
	cursor: pointer;
	background: var(--ecf-surface);
}
.ecf-date:has(input:checked) {
	border-color: var(--ecf-accent-ink);
	background: var(--ecf-accent-soft);
	box-shadow: inset 0 0 0 1px var(--ecf-accent-ink);
}
.ecf-dates.has-error .ecf-date {
	border-color: var(--ecf-danger);
}
.ecf-date input {
	margin-top: 3px;
}
.ecf-date__body {
	display: flex;
	flex-direction: column;
}
.ecf-date__label {
	font-weight: 600;
}
.ecf-date__weekday {
	color: var(--ecf-muted);
	font-size: 0.875rem;
}

/* ---------------------------------------------------------------- */
/* Booth packages                                                    */
/* ---------------------------------------------------------------- */

.ecf-group-title {
	margin: 20px 0 10px;
	font-size: 1rem;
	font-weight: 700;
}
.ecf-group-title:first-of-type {
	margin-top: 4px;
}

.ecf-options {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.ecf-option {
	position: relative;
	display: flex;
	flex-direction: column;
	border: 1px solid var(--ecf-line-strong);
	border-radius: var(--ecf-radius);
	background: var(--ecf-surface);
	transition: border-color 120ms ease, background-color 120ms ease;
}
.ecf-option input[type="radio"] {
	position: absolute;
	top: 20px;
	left: 18px;
	margin: 0;
	width: 18px;
	height: 18px;
	accent-color: var(--ecf-accent-ink);
}
.ecf-option__main {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 4px 12px;
	padding: 16px 18px 14px 48px;
	cursor: pointer;
}
.ecf-option__name {
	font-weight: 700;
	line-height: 1.3;
}
.ecf-option__price {
	font-size: 1.5rem;
	line-height: 1.1;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	text-align: right;
	white-space: nowrap;
}
.ecf-option__meta {
	grid-column: 1 / -1;
	display: flex;
	flex-direction: column;
	color: var(--ecf-muted);
	font-size: 0.875rem;
	font-variant-numeric: tabular-nums;
}
.ecf-option__unavailable {
	grid-column: 1 / -1;
	color: var(--ecf-danger);
	font-weight: 600;
	font-size: 0.875rem;
}
.ecf-option__includes {
	border-top: 1px solid var(--ecf-line);
	padding: 0 18px 0 48px;
	font-size: 0.875rem;
}
.ecf-option__includes summary {
	padding: 10px 0;
	cursor: pointer;
	color: var(--ecf-accent-ink);
	font-weight: 600;
}
.ecf-option__includes ul {
	margin: 0 0 14px;
	padding-left: 18px;
	color: var(--ecf-ink);
}
.ecf-option__includes li + li {
	margin-top: 4px;
}

.ecf-option:hover {
	border-color: var(--ecf-ink);
}
.ecf-option.is-selected {
	border-color: var(--ecf-accent-ink);
	background: var(--ecf-accent-soft);
	box-shadow: inset 0 0 0 1px var(--ecf-accent-ink);
}
.ecf-option.is-selected .ecf-option__includes {
	border-top-color: color-mix(in srgb, var(--ecf-accent) 35%, transparent);
}
.ecf-option.is-unavailable {
	background: var(--ecf-page);
	border-style: dashed;
}
.ecf-option.is-unavailable .ecf-option__main {
	cursor: not-allowed;
}
.ecf-option.is-unavailable .ecf-option__name,
.ecf-option.is-unavailable .ecf-option__price {
	color: var(--ecf-muted);
}

/* Member organization + tradeshow opportunities */
.ecf-membership,
.ecf-tradeshow {
	margin-top: 20px;
	padding-top: 18px;
	border-top: 1px solid var(--ecf-line);
}
.ecf-membership legend,
.ecf-tradeshow legend {
	font-weight: 700;
	margin-bottom: 6px;
}
.ecf-choices {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 10px;
}
.ecf-choice {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	border: 1px solid var(--ecf-line-strong);
	border-radius: var(--ecf-radius-sm);
	cursor: pointer;
	font-size: 0.9375rem;
}
.ecf-choice input {
	margin: 0;
	accent-color: var(--ecf-accent-ink);
}
.ecf-choice:has(input:checked) {
	border-color: var(--ecf-accent-ink);
	background: var(--ecf-accent-soft);
}

/* Additional booths */
.ecf-additional {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-top: 20px;
	padding-top: 18px;
	border-top: 1px solid var(--ecf-line);
}
.ecf-additional label {
	font-weight: 700;
}
.ecf-additional .ecf-step__hint {
	margin: 2px 0 0;
}
.ecf-body .ecf-additional input[type="number"] {
	width: 110px;
	flex: none;
	text-align: center;
}

/* ---------------------------------------------------------------- */
/* Fields                                                            */
/* ---------------------------------------------------------------- */

.ecf-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px 18px;
}
.ecf-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}
.ecf-field--wide {
	grid-column: 1 / -1;
}
.ecf-field--title-pair {
	display: grid;
	grid-template-columns: minmax(84px, 0.55fr) minmax(0, 1.6fr);
	gap: 18px;
}
.ecf-field--pair {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	gap: 18px;
}
.ecf-field label {
	font-weight: 600;
	font-size: 0.9375rem;
}

.ecf-body input[type="text"],
.ecf-body input[type="email"],
.ecf-body input[type="tel"],
.ecf-body input[type="url"],
.ecf-body input[type="number"],
.ecf-body select {
	width: 100%;
	min-height: 44px;
	padding: 9px 12px;
	border: 1px solid var(--ecf-line-strong);
	border-radius: var(--ecf-radius-sm);
	background: var(--ecf-surface);
	color: var(--ecf-ink);
	font: inherit;
	font-size: 1rem;
}
.ecf-body input:hover,
.ecf-body select:hover {
	border-color: var(--ecf-ink);
}
.ecf-body input[aria-invalid="true"],
.ecf-body select[aria-invalid="true"] {
	border-color: var(--ecf-danger);
	box-shadow: inset 0 0 0 1px var(--ecf-danger);
}

/* A field set by a special-rate link (the company name): readable, not editable. */
.ecf-body input[readonly] {
	background: var(--ecf-page);
	border-color: var(--ecf-line);
	color: var(--ecf-ink);
	cursor: default;
}
.ecf-body input[readonly]:hover {
	border-color: var(--ecf-line);
}

/* Special-rate link: their rate is on, or why the link can't be used. */
.ecf-special {
	margin: 0 0 20px;
	padding: 16px 20px;
	background: var(--ecf-accent-soft);
	border: 1px solid var(--ecf-accent);
	border-radius: var(--ecf-radius);
}
.ecf-special p {
	margin: 0;
	font-size: 0.9375rem;
}
.ecf-special .ecf-special__title {
	margin-bottom: 2px;
	font-weight: 700;
	font-size: 1.0625rem;
	color: var(--ecf-accent-ink);
}
.ecf-special--off {
	background: var(--ecf-surface);
	border-color: var(--ecf-line-strong);
}
.ecf-special--off .ecf-special__title {
	color: var(--ecf-ink);
}
.ecf-special a {
	color: var(--ecf-accent-ink);
}

.ecf-hint {
	margin: 0;
	color: var(--ecf-muted);
	font-size: 0.875rem;
}

.ecf-error {
	margin: 0;
	color: var(--ecf-danger);
	font-size: 0.875rem;
	font-weight: 600;
}
.ecf-booths + .ecf-error,
.ecf-dates + .ecf-error {
	margin-top: 10px;
}

/* ---------------------------------------------------------------- */
/* Industry search (SIC)                                             */
/* ---------------------------------------------------------------- */

.ecf-combo {
	position: relative;
}
.ecf-combo__box {
	display: flex;
	align-items: center;
	gap: 12px;
}
.ecf-combo__input {
	flex: 1 1 auto;
	min-width: 0;
}
.ecf-linkbtn {
	padding: 0;
	border: 0;
	background: none;
	color: var(--ecf-accent-ink);
	font: inherit;
	font-size: 0.9375rem;
	text-decoration: underline;
	text-underline-offset: 2px;
	cursor: pointer;
}
.ecf-linkbtn:hover {
	color: var(--ecf-ink);
}
.ecf-sic-browse {
	align-self: flex-start;
	margin-top: 4px;
}
.ecf-combo__list {
	position: absolute;
	z-index: 20;
	top: 100%;
	left: 0;
	right: 0;
	margin: 6px 0 0;
	padding: 6px;
	list-style: none;
	max-height: min(360px, 55vh);
	overflow-y: auto;
	background: var(--ecf-surface);
	border: 1px solid var(--ecf-line-strong);
	border-radius: var(--ecf-radius);
	box-shadow: 0 10px 28px rgba(28, 34, 41, 0.16);
}
.ecf-opt {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 0 16px;
	padding: 9px 12px;
	border-radius: var(--ecf-radius-sm);
	cursor: pointer;
}
.ecf-opt[aria-selected="true"] {
	background: var(--ecf-accent-soft);
	box-shadow: inset 0 0 0 1px var(--ecf-accent-ink);
}
.ecf-opt__main {
	font-weight: 500;
}
.ecf-opt__main mark {
	background: none;
	color: var(--ecf-ink);
	font-weight: 700;
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}
.ecf-opt__code {
	align-self: start;
	color: var(--ecf-muted);
	font-size: 0.875rem;
	font-variant-numeric: tabular-nums;
}
.ecf-opt__group {
	grid-column: 1 / -1;
	color: var(--ecf-muted);
	font-size: 0.8125rem;
}
.ecf-combo__empty {
	padding: 10px 12px;
	color: var(--ecf-muted);
	font-size: 0.9375rem;
}
.ecf-sic-picked {
	margin: 8px 0 0;
	font-size: 0.9375rem;
}
.ecf-pill {
	display: inline-block;
	padding: 1px 9px;
	margin-right: 4px;
	border-radius: 999px;
	background: var(--ecf-accent-soft);
	color: var(--ecf-accent-ink);
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

/* ---------------------------------------------------------------- */
/* Payment                                                           */
/* ---------------------------------------------------------------- */

.ecf-pay-methods {
	display: inline-flex;
	margin-bottom: 18px;
	padding: 4px;
	background: var(--ecf-page);
	border: 1px solid var(--ecf-line);
	border-radius: var(--ecf-radius);
}
.ecf-pay-method {
	position: relative;
	cursor: pointer;
}
.ecf-pay-method input {
	position: absolute;
	opacity: 0;
	inset: 0;
	margin: 0;
	cursor: pointer;
}
.ecf-pay-method span {
	display: block;
	padding: 9px 18px;
	border-radius: var(--ecf-radius-sm);
	font-weight: 600;
	font-size: 0.9375rem;
	color: var(--ecf-muted);
}
.ecf-pay-method input:checked + span {
	background: var(--ecf-surface);
	color: var(--ecf-ink);
	box-shadow: 0 0 0 1px var(--ecf-line-strong);
}
.ecf-pay-method input:focus-visible + span {
	outline: 3px solid var(--ecf-accent-ink);
	outline-offset: 2px;
}

#paymentContainer {
	min-height: 120px;
}

.ecf-note {
	padding: 16px 18px;
	background: var(--ecf-page);
	border-radius: var(--ecf-radius-sm);
	font-size: 0.9375rem;
}
.ecf-note p {
	margin: 0;
	max-width: 70ch;
}
.ecf-note p + p {
	margin-top: 10px;
}

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

.ecf-summary {
	position: sticky;
	top: 24px;
}
.admin-bar .ecf-summary {
	top: 56px;
}
.ecf-summary__card {
	background: var(--ecf-surface);
	border: 1px solid var(--ecf-line);
	border-top: 4px solid var(--ecf-accent);
	border-radius: var(--ecf-radius);
	padding: 22px 22px 24px;
}
.ecf-summary__title {
	margin: 0 0 14px;
	font-size: 1.125rem;
	font-weight: 700;
}
.ecf-lines {
	margin: 0 0 16px;
}
.ecf-line {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 16px;
	padding: 6px 0;
	font-size: 0.9375rem;
}
.ecf-line dt {
	color: var(--ecf-muted);
}
.ecf-line dd {
	margin: 0;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}
.ecf-line--total {
	margin-top: 8px;
	padding-top: 14px;
	border-top: 1px solid var(--ecf-line);
}
.ecf-line--total dt {
	color: var(--ecf-ink);
	font-weight: 700;
}
.ecf-line--total dd {
	font-size: 1.625rem;
	font-weight: 700;
}
.ecf-summary__eb,
.ecf-summary__terms {
	margin: 0 0 12px;
	font-size: 0.875rem;
	color: var(--ecf-muted);
}
.ecf-summary__eb {
	color: var(--ecf-ink);
	padding: 10px 12px;
	background: var(--ecf-accent-soft);
	border-radius: var(--ecf-radius-sm);
}

.ecf-alert {
	margin: 0 0 12px;
	padding: 10px 12px;
	background: var(--ecf-danger-soft);
	border: 1px solid var(--ecf-danger);
	border-radius: var(--ecf-radius-sm);
	color: var(--ecf-danger);
	font-size: 0.9375rem;
	font-weight: 600;
}

.ecf-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 48px;
	padding: 12px 20px;
	border: 0;
	border-radius: var(--ecf-radius-sm);
	background: var(--ecf-accent-ink);
	color: #fff !important;
	font: inherit;
	font-weight: 700;
	font-size: 1rem;
	text-decoration: none;
	cursor: pointer;
}
.ecf-button:hover {
	background: var(--ecf-ink);
}
.ecf-button:disabled {
	cursor: progress;
	opacity: 0.7;
}
.ecf-button--quiet {
	width: auto;
	margin-top: 8px;
}

/* ---------------------------------------------------------------- */
/* Success, closed, info, policies                                   */
/* ---------------------------------------------------------------- */

.ecf-success,
.ecf-closed {
	margin-top: 32px;
}
.ecf-success > *,
.ecf-closed > * {
	max-width: 68ch;
}
.ecf-success,
.ecf-closed {
	padding-top: 32px;
	padding-bottom: 32px;
	background: var(--ecf-surface);
	border: 1px solid var(--ecf-line);
	border-top: 4px solid var(--ecf-accent);
	border-radius: var(--ecf-radius);
	max-width: 1072px;
}
.ecf-success h2,
.ecf-closed h2 {
	margin: 0 0 12px;
	font-size: 1.5rem;
}
.ecf-success:focus {
	outline: none;
}

.ecf-info {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px 32px;
	margin-top: 40px;
}
.ecf-info__block h2,
.ecf-policy h2 {
	margin: 0 0 8px;
	font-size: 1rem;
	font-weight: 700;
}
.ecf-info__block ul {
	margin: 0;
	padding-left: 18px;
	color: var(--ecf-ink);
	font-size: 0.9375rem;
}
.ecf-info__block li + li {
	margin-top: 4px;
}

.ecf-sponsors {
	grid-column: 1 / -1;
	background: var(--ecf-surface);
	border: 1px solid var(--ecf-line);
	border-radius: var(--ecf-radius);
	padding: 0 24px;
}
.ecf-sponsors > summary {
	padding: 16px 0;
	font-weight: 700;
	cursor: pointer;
}
.ecf-sponsors[open] {
	padding-bottom: 24px;
}
.ecf-sponsors__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px 28px;
}
.ecf-sponsor h3,
.ecf-sponsors__all {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 6px;
	font-size: 1rem;
}
.ecf-sponsor h3 span {
	font-variant-numeric: tabular-nums;
}
.ecf-sponsors__all {
	margin-top: 20px;
}
.ecf-sponsor ul,
.ecf-sponsors > ul {
	margin: 0;
	padding-left: 18px;
	font-size: 0.875rem;
}

.ecf-policies {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 20px 32px;
	margin-top: 40px;
	padding-top: 24px;
	border-top: 1px solid var(--ecf-line);
	color: var(--ecf-muted);
	font-size: 0.8125rem;
	line-height: 1.55;
}
.ecf-policy h2 {
	font-size: 0.875rem;
	color: var(--ecf-ink);
}
.ecf-policy p {
	margin: 0 0 8px;
}

/* ---------------------------------------------------------------- */
/* Chooser (no ?site=)                                               */
/* ---------------------------------------------------------------- */

.ecf-chooser {
	padding-top: 48px;
}
.ecf-chooser .ecf-intro__tagline {
	margin-bottom: 24px;
}
.ecf-chooser__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ecf-chooser__item {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 20px 22px;
	background: var(--ecf-surface);
	border: 1px solid var(--ecf-line);
	border-left: 5px solid var(--ecf-accent);
	border-radius: var(--ecf-radius);
	text-decoration: none;
	color: var(--ecf-ink) !important;
}
.ecf-chooser__item:hover {
	border-color: var(--ecf-ink);
	border-left-color: var(--ecf-accent);
}
.ecf-chooser__name {
	font-weight: 700;
	font-size: 1.125rem;
}
.ecf-chooser__site {
	color: var(--ecf-muted);
	font-size: 0.9375rem;
}

/* ---------------------------------------------------------------- */
/* Narrow screens                                                    */
/* ---------------------------------------------------------------- */

@media (max-width: 960px) {
	.ecf-layout {
		grid-template-columns: minmax(0, 1fr);
	}
	.ecf-summary {
		position: static;
	}
}

@media (max-width: 640px) {
	.ecf-wrap {
		padding-left: 16px;
		padding-right: 16px;
	}
	.ecf-masthead__back {
		display: none;
	}
	.ecf-step {
		padding: 20px 18px 22px;
	}
	.ecf-options,
	.ecf-grid,
	.ecf-info,
	.ecf-sponsors__grid {
		grid-template-columns: minmax(0, 1fr);
	}
	.ecf-additional {
		flex-direction: column;
		align-items: stretch;
	}
	.ecf-body .ecf-additional input[type="number"] {
		width: 100%;
	}
	.ecf-pay-methods {
		display: flex;
	}
	.ecf-pay-method {
		flex: 1;
		text-align: center;
	}
	.ecf-success,
	.ecf-closed {
		margin-left: 16px;
		margin-right: 16px;
		width: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ecf-option {
		transition: none;
	}
}

/* Bank payment (ACH): the authorization tick box under the bank fields. */
.ecf-ach-auth {
	margin-top: 16px;
}
.ecf-ach-auth .ecf-choice {
	display: flex;
	align-items: flex-start;
	font-size: 0.9375rem;
	line-height: 1.45;
}
.ecf-ach-auth .ecf-choice input {
	margin-top: 3px;
}
.ecf-ach-auth .ecf-error {
	margin-top: 6px;
}

/* ---------- Test mode banner (inc/form-testing.php) ----------
   Only ever rendered for an admin in their own test mode. Deliberately not
   in the expo's colours, so it can't be mistaken for part of the live form. */
.ecf-testmode {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 20px;
	margin: 0 0 20px;
	padding: 14px 18px;
	background: #fff6dd;
	border: 1px dashed #b98a1c;
	border-radius: var(--ecf-radius);
	color: #5a4108;
}
.ecf-testmode p {
	margin: 0;
	font-size: 0.875rem;
}
.ecf-testmode .ecf-testmode__title {
	margin-bottom: 2px;
	font-weight: 700;
	font-size: 0.9375rem;
}
.ecf-testmode a {
	color: inherit;
	font-weight: 600;
}
.ecf-testmode__fill {
	flex: none;
	padding: 8px 14px;
	border: 1px solid #b98a1c;
	border-radius: 6px;
	background: #fff;
	color: #5a4108;
	font: inherit;
	font-size: 0.875rem;
	font-weight: 600;
	cursor: pointer;
}
.ecf-testmode__fill:hover {
	background: #fdecc0;
}
.ecf-testmode__fill:focus-visible {
	outline: 2px solid #5a4108;
	outline-offset: 2px;
}

/* "Total (tax included)": the card fee, if any, is part of the total. */
.ecf-line__note {
	font-weight: 400;
	font-size: 0.875em;
	color: var(--ecf-muted, #56606b);
}
