/*
 * STR-227 section contact.planner (#plan-your-event): the event planner on /contact/.
 * Loaded only on /contact/ (functions.php). Spec: docs/design/str-227-mockup.html (approved v2)
 * and docs/design/str-227-planner.md. Markup: Strikers Core [strikers_event_planner]
 * (includes/event-request.php); behaviour: Strikers Core assets/planner.js.
 * Every value is a theme.json token; the planner's own five are custom.planner.*.
 * "strikers-js" on <html> is set in <head> on this page only, so no-JS fallbacks never flash.
 *
 * Theme 0.5.63 (compact pass, Alex 2026-11-25 "too big"): border-box inside the planner only
 * (the theme has no global reset; the mockup did), 44px chips, 56/63px numbers, body-lg legends,
 * 24-32px between groups, 48px text fields.
 * Theme 0.5.64: length readout via ::first-letter (no size-adjusted font face), iOS date input
 * kept inside the panel.
 */

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

.strikers-planner {
	/* Night scope, like .strikers-finder-picker */
	--p-bg: var(--wp--custom--look--night--surface);
	--p-panel: var(--wp--custom--look--night--surface-alt);
	--p-ink: var(--wp--preset--color--mix-ink);           /* 17.2:1 on black, 14.8:1 on panel */
	--p-ink-strong: var(--wp--custom--look--night--ink);  /* 16.6:1 on panel */
	--p-muted: var(--wp--custom--look--night--ink-muted); /* 8.16:1 on black, 7.03:1 on panel */
	--p-edge: var(--wp--custom--look--night--ink-muted);  /* control edges, 7.03:1 (needs 3:1) */
	--p-rule: var(--wp--custom--look--mix--hairline);     /* decorative only */
	--p-ring: var(--wp--custom--look--night--blue-text);  /* 5.08:1 on panel */
	--p-card: var(--wp--preset--color--strikers-navy);
	--p-on-light: var(--wp--custom--look--night--surface); /* black text on the light chips / pills */
	background: var(--p-bg);
	color: var(--p-ink);
	-webkit-text-size-adjust: 100%; /* iOS must not "autosize" any planner text */
	text-size-adjust: 100%;
	scroll-margin-top: var(--wp--custom--header-height);
}
.strikers-planner :focus-visible {
	outline: var(--wp--custom--border--width) solid var(--p-ring);
	outline-offset: var(--wp--custom--border--width);
	box-shadow: var(--wp--custom--focus-glow);
}

.strikers-planner .strikers-planner-head { margin-bottom: var(--wp--preset--spacing--6); }
@media (min-width: 782px) { .strikers-planner .strikers-planner-head { margin-bottom: var(--wp--preset--spacing--10); } }
.strikers-planner .strikers-planner-head > * { max-width: 40rem; }
.strikers-planner .strikers-planner-head h2 {
	color: var(--p-ink-strong);
	font-size: var(--wp--preset--font-size--h-2);
	letter-spacing: -0.01em;
	line-height: var(--wp--custom--line-height--h-2);
	margin: 0 0 var(--wp--preset--spacing--2);
}
.strikers-planner .strikers-planner-head p { color: var(--p-muted); font-size: var(--wp--preset--font-size--body-lg); margin: 0; }
@media (min-width: 782px) {
	.strikers-planner .strikers-planner-head h2 { font-size: var(--wp--preset--font-size--h-1); line-height: var(--wp--custom--line-height--h-1); }
}

.strikers-planner-grid { display: grid; gap: var(--wp--preset--spacing--4); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) {
	.strikers-planner-grid { align-items: start; column-gap: var(--wp--preset--spacing--6); grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
	.strikers-planner-card { position: sticky; top: calc(var(--wp--custom--header-height) + var(--wp--preset--spacing--6)); }
}

/* ---- Left panel ---- */
.strikers-planner-panel {
	background: var(--p-panel);
	border-radius: var(--wp--custom--radius--md);
	container-type: inline-size;
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--6);
	padding: var(--wp--preset--spacing--6) var(--wp--preset--spacing--4);
}
@media (min-width: 600px) { .strikers-planner-panel { padding: var(--wp--preset--spacing--6); } }
@media (min-width: 1000px) { .strikers-planner-panel { gap: calc(var(--wp--preset--spacing--4) * 2); padding: calc(var(--wp--preset--spacing--4) * 2); } }

.strikers-planner fieldset { border: 0; margin: 0; min-width: 0; padding: 0; }
.strikers-planner legend,
.strikers-planner .strikers-planner-details h3 {
	color: var(--p-ink-strong);
	float: left;               /* lets the legend sit inside the grid like a normal row */
	font-size: var(--wp--preset--font-size--body-lg);
	font-weight: var(--wp--custom--font-weight--semibold);
	line-height: var(--wp--custom--line-height--body-lg);
	margin: 0 0 var(--wp--preset--spacing--4);
	padding: 0;
	width: 100%;
}
.strikers-planner legend + * { clear: left; }
.strikers-planner .is-sub > legend { font-size: var(--wp--preset--font-size--body); line-height: var(--wp--custom--line-height--body); margin-bottom: var(--wp--preset--spacing--2); }
.strikers-planner .opt { color: var(--p-muted); font-weight: var(--wp--custom--font-weight--regular); font-size: var(--wp--preset--font-size--body); }

/* Chips: real radio / checkbox inputs, visually hidden; the span is the pill. */
.strikers-planner .strikers-chips { display: grid; gap: var(--wp--preset--spacing--2); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.strikers-planner .strikers-chips.is-wrap { display: flex; flex-wrap: wrap; }
/* Type: 2 x 2 at every width (four 4-across chips would wrap "Company or team event").
   Start times: a 5-across grid on phones (3 rows), 7 across from a 34rem panel (2 rows). A grid,
   not a sideways-scroll row: all 14 times stay visible, none hide off-screen. */
.strikers-planner .strikers-chips.is-times { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.strikers-planner .strikers-chips.is-times .strikers-chip > input + span { padding-inline: var(--wp--preset--spacing--1); white-space: nowrap; }
@container (min-width: 34rem) {
	.strikers-planner .strikers-chips.is-times { grid-template-columns: repeat(7, minmax(0, 1fr)); }
}
.strikers-planner .strikers-chip { display: block; position: relative; }
.strikers-planner .strikers-chip input {
	height: 1px; left: 0; margin: 0; opacity: 0; position: absolute; top: 0; width: 1px;
}
.strikers-planner .strikers-chip > input + span {
	align-items: center;
	background: var(--wp--custom--look--night--surface);
	border: var(--wp--custom--border--hairline) solid var(--p-edge);
	border-radius: var(--wp--custom--radius--pill);
	color: var(--p-ink-strong);
	cursor: pointer;
	display: flex;
	font-size: var(--wp--preset--font-size--caption);
	gap: var(--wp--preset--spacing--2);
	height: 100%;
	justify-content: center;
	line-height: var(--wp--custom--line-height--caption);
	min-height: var(--wp--custom--tap-target); /* 44px; a second line only on the narrowest phones */
	padding: var(--wp--preset--spacing--1) var(--wp--preset--spacing--4);
	text-align: center;
	text-wrap: balance;
	touch-action: manipulation;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.strikers-planner .strikers-chips.is-type .strikers-chip > input + span { padding-inline: var(--wp--preset--spacing--2); }
/* On: solid F5F5F7 fill, black text 19.29:1, semibold: a fill change, not only a hue change. */
.strikers-planner .strikers-chip input:checked + span {
	background: var(--p-ink-strong);
	border-color: var(--p-ink-strong);
	color: var(--p-on-light);
	font-weight: var(--wp--custom--font-weight--semibold);
}
/* Checkboxes also show a tick when on (multi-select must read as multi-select). */
.strikers-planner .strikers-chip input[type="checkbox"] + span::before {
	border: var(--wp--custom--border--width) solid currentColor;
	border-radius: 4px;
	content: "";
	flex: none;
	height: 16px;
	width: 16px;
}
.strikers-planner .strikers-chip input[type="checkbox"]:checked + span::before,
.strikers-planner .strikers-chip.is-fixed > input + span::before {
	background: currentColor;
	border: 0;
	content: "";
	flex: none;
	height: 16px;
	width: 16px;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='%23000' stroke-width='2.5'/%3E%3C/svg%3E") center / 100% no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='%23000' stroke-width='2.5'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.strikers-planner .strikers-chip input:focus-visible + span { outline: var(--wp--custom--border--width) solid var(--p-ring); outline-offset: var(--wp--custom--border--width); box-shadow: var(--wp--custom--focus-glow); }
@media (hover: hover) { .strikers-planner .strikers-chip input:not(:checked) + span:hover { border-color: var(--p-ink-strong); } }
.strikers-planner .strikers-chip > input + span:active { filter: brightness(.85); }
/* Fixed chip (Bowling, always included): not a control. Same "on" fill + tick as a checked chip,
   no pointer, no focus stop; a hidden input sends the value. "(included)" 10.4:1 on F5F5F7. */
.strikers-planner .strikers-chip.is-fixed > input + span { background: var(--p-ink-strong); border-color: var(--p-ink-strong); color: var(--p-on-light); cursor: default; font-weight: var(--wp--custom--font-weight--semibold); }
.strikers-planner .strikers-chip.is-fixed small { color: var(--wp--custom--planner--included-ink); font-size: var(--wp--preset--font-size--caption); font-weight: var(--wp--custom--font-weight--regular); }

/* Guests: the panel's one big moment. Bebas = "big numbers only" (brand guide). */
.strikers-planner .strikers-stepper { align-items: center; display: flex; gap: var(--wp--preset--spacing--4); justify-content: space-between; }
.strikers-planner .strikers-stepper button {
	align-items: center;
	background: transparent;
	border: var(--wp--custom--border--width) solid var(--p-edge);
	border-radius: 50%;
	color: var(--p-ink-strong);
	cursor: pointer;
	display: flex;
	flex: none;
	height: var(--wp--custom--tap-target);
	justify-content: center;
	padding: 0;
	touch-action: manipulation;
	width: var(--wp--custom--tap-target);
}
.strikers-planner .strikers-stepper button svg { height: 20px; width: 20px; }
.strikers-planner .strikers-stepper button:disabled { border-color: var(--p-rule); color: var(--p-rule); cursor: not-allowed; }
@media (hover: hover) { .strikers-planner .strikers-stepper button:not(:disabled):hover { border-color: var(--p-ink-strong); } }
.strikers-planner .strikers-stepper-value { flex: 1; text-align: center; }
.strikers-planner .strikers-stepper input {
	-moz-appearance: textfield;
	appearance: textfield;
	background: transparent;
	border: 0;
	border-bottom: var(--wp--custom--border--hairline) solid transparent;
	color: var(--p-ink-strong);
	font-family: var(--wp--preset--font-family--display); /* digits only, so plain Bebas */
	font-size: var(--wp--custom--planner--count-size);
	font-variant-numeric: tabular-nums;
	height: auto;
	line-height: normal;   /* 0.5.64: the input clips its text, so its box takes Bebas's full ascent/descent */
	padding: 0;
	text-align: center;
	width: 100%;
}
.strikers-planner .strikers-stepper input::-webkit-inner-spin-button,
.strikers-planner .strikers-stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.strikers-planner .strikers-stepper input:hover { border-bottom-color: var(--p-rule); }
.strikers-planner .strikers-stepper-unit { color: var(--p-muted); display: block; font-size: var(--wp--preset--font-size--caption); line-height: var(--wp--custom--line-height--caption); }

.strikers-planner .strikers-range { margin-top: var(--wp--preset--spacing--1); }
.strikers-planner .strikers-range input {
	-webkit-appearance: none;
	appearance: none;
	background: transparent;
	cursor: pointer;
	display: block;
	height: var(--wp--custom--tap-target);   /* 44px hit area */
	margin: 0;
	width: 100%;
}
.strikers-planner .strikers-range input::-webkit-slider-runnable-track { background: linear-gradient(to right, var(--p-ink-strong) var(--fill, 10%), var(--p-rule) var(--fill, 10%)); border-radius: var(--wp--custom--radius--pill); height: 6px; }
.strikers-planner .strikers-range input::-moz-range-track { background: var(--p-rule); border-radius: var(--wp--custom--radius--pill); height: 6px; }
.strikers-planner .strikers-range input::-moz-range-progress { background: var(--p-ink-strong); border-radius: var(--wp--custom--radius--pill); height: 6px; }
.strikers-planner .strikers-range input::-webkit-slider-thumb { -webkit-appearance: none; background: var(--p-ink-strong); border: 4px solid var(--p-panel); border-radius: 50%; height: 28px; margin-top: -11px; width: 28px; }
.strikers-planner .strikers-range input::-moz-range-thumb { background: var(--p-ink-strong); border: 4px solid var(--p-panel); border-radius: 50%; height: 24px; width: 24px; }
/* Focus on the main (length) slider: ring around the thumb, not the whole 44px strip. */
.strikers-planner .strikers-range input:focus-visible { box-shadow: none; outline: none; }
.strikers-planner .strikers-range input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 2px var(--p-panel), 0 0 0 4px var(--p-ring), var(--wp--custom--focus-glow); }
.strikers-planner .strikers-range input:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 2px var(--p-panel), 0 0 0 4px var(--p-ring); }
.strikers-planner .strikers-range-ends { color: var(--p-muted); display: flex; font-size: var(--wp--preset--font-size--caption); justify-content: space-between; }
/* Length readout: the same big digits as guests, but text (not an input); "h" stays small sans. */
/* 0.5.64 (Alex, iPhone: the "2" was cut off): iOS Safari clipped the size-adjusted fallback digits
   to the small sans line, so that trick is gone. The readout is small sans ("2 h 30"), and
   ::first-letter (which covers a leading digit; hours are always one digit, 1-5) sets the hour
   in Bebas at the guests number's size, as a real 56px inline box the line is built around.
   Same look as the guests number, no new markup, nothing paints outside its own box. */
.strikers-planner .strikers-stepper-readout { color: var(--p-ink-strong); display: block; font-size: var(--wp--preset--font-size--body); font-weight: var(--wp--custom--font-weight--semibold); line-height: normal; overflow: visible; white-space: nowrap; }
.strikers-planner .strikers-stepper-readout::first-letter { font-family: var(--wp--preset--font-family--display); font-size: var(--wp--custom--planner--count-size); font-weight: var(--wp--custom--font-weight--regular); line-height: normal; }
@media (min-width: 782px) {
	.strikers-planner .strikers-stepper input { font-size: var(--wp--custom--planner--count-size-wide); }
	.strikers-planner .strikers-stepper-readout { font-size: var(--wp--preset--font-size--body-lg); }
	.strikers-planner .strikers-stepper-readout::first-letter { font-size: var(--wp--custom--planner--count-size-wide); }
}

/* JavaScript on / off. */
html:not(.strikers-js) .strikers-planner .strikers-stepper button,
html:not(.strikers-js) .strikers-planner .strikers-range,
html:not(.strikers-js) .strikers-planner .js-only { display: none; }
.strikers-js .strikers-planner .no-js-only { display: none; }
/* Without JS the Company and "Where did you hear" fields are always shown. */
html:not(.strikers-js) .strikers-planner :is([data-show-for], [data-show-for-heard])[hidden] { display: block; }

/* Birthday hint (draft wording): an on-site link to the birthday packages, never a block. */
.strikers-planner .strikers-planner-hint:empty { display: none; }
.strikers-planner .strikers-planner-hint .hint-box {
	border: var(--wp--custom--border--hairline) solid var(--p-edge);
	border-radius: var(--wp--custom--radius--md);
	margin-top: var(--wp--preset--spacing--4);
	padding: var(--wp--preset--spacing--4);
}
.strikers-planner .strikers-planner-hint p { margin: 0; }
.strikers-planner .strikers-planner-hint a,
.strikers-planner .strikers-planner-panel .help a {
	color: var(--p-ink-strong);
	font-weight: var(--wp--custom--font-weight--semibold);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Buttons */
.strikers-planner .strikers-btn {
	align-items: center;
	border: var(--wp--custom--border--width) solid transparent;
	border-radius: var(--wp--custom--radius--pill);
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-weight: var(--wp--custom--font-weight--semibold);
	gap: var(--wp--preset--spacing--2);
	justify-content: center;
	min-height: var(--wp--custom--tap-target);
	padding: var(--wp--preset--spacing--2) var(--wp--preset--spacing--6);
	text-decoration: none;
}
/* "Ask a person" main action = ink pill (brand guide): E8E8ED fill, black text 17.2:1; 12.26:1 against navy. */
.strikers-planner .strikers-btn.is-ink { background: var(--wp--preset--color--mix-ink); color: var(--p-on-light); }
.strikers-planner .strikers-btn.is-outline { background: transparent; border-color: var(--wp--preset--color--mix-ink); color: inherit; }
@media (hover: hover) { .strikers-planner .strikers-btn.is-ink:hover { background: var(--wp--preset--color--on-brand); } }
.strikers-planner .strikers-btn.is-ink:active { filter: brightness(.9); }
.strikers-planner .strikers-btn.is-block { font-size: var(--wp--preset--font-size--body-lg); min-height: calc(var(--wp--custom--tap-target) + var(--wp--preset--spacing--2) * 1.5); width: 100%; }
.strikers-planner .strikers-btn[aria-busy="true"] { cursor: progress; opacity: .8; }
.strikers-planner .strikers-btn .spinner { animation: strikers-planner-spin .8s linear infinite; border: 2px solid currentColor; border-radius: 50%; border-right-color: transparent; height: 18px; width: 18px; }
@keyframes strikers-planner-spin { to { transform: rotate(360deg); } }

/* When */
.strikers-planner .strikers-when { display: grid; gap: var(--wp--preset--spacing--6); }
.strikers-planner .strikers-planner-end { color: var(--p-muted); margin: var(--wp--preset--spacing--2) 0 0; min-height: var(--wp--custom--line-height--body); }
.strikers-planner .strikers-planner-end output { color: var(--p-ink-strong); font-weight: var(--wp--custom--font-weight--semibold); }

/* Outside-hours note: information, not an error. "i" icon, hairline edge, regular weight. Never blocks Send. */
.strikers-planner .strikers-pl-hours-note { align-items: flex-start; border: var(--wp--custom--border--hairline) solid var(--p-edge); border-radius: var(--wp--custom--radius--sm); color: var(--p-ink-strong); display: flex; font-size: var(--wp--preset--font-size--caption); gap: var(--wp--preset--spacing--2); line-height: var(--wp--custom--line-height--caption); margin: var(--wp--preset--spacing--4) 0 0; padding: 12px var(--wp--preset--spacing--4); }
.strikers-planner .strikers-pl-hours-note[hidden] { display: none; }
.strikers-planner .strikers-pl-hours-note svg { flex: none; height: 20px; width: 20px; }

/* Text fields */
.strikers-planner .strikers-planner-details { border-top: var(--wp--custom--border--hairline) solid var(--p-rule); padding-top: var(--wp--preset--spacing--6); }
.strikers-planner .strikers-planner-details h3 { float: none; }
.strikers-planner .strikers-fields { display: grid; gap: var(--wp--preset--spacing--4); grid-template-columns: minmax(0, 1fr); }
@container (min-width: 30rem) { .strikers-planner .strikers-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } .strikers-planner .strikers-field.is-full { grid-column: 1 / -1; } }
.strikers-planner .strikers-field label { color: var(--p-ink-strong); display: block; font-weight: var(--wp--custom--font-weight--semibold); margin-bottom: var(--wp--preset--spacing--2); }
.strikers-planner .help { color: var(--p-muted); display: block; font-size: var(--wp--preset--font-size--caption); line-height: var(--wp--custom--line-height--caption); margin: var(--wp--preset--spacing--2) 0 0; }
.strikers-planner .strikers-field :is(input, select, textarea) {
	background: var(--wp--custom--look--night--surface);
	border: var(--wp--custom--border--hairline) solid var(--p-edge);   /* 8.16:1 on black */
	border-radius: var(--wp--custom--radius--sm);
	color: var(--p-ink-strong);
	color-scheme: dark;
	font: inherit;
	font-size: var(--wp--preset--font-size--body); /* 17px: no iOS zoom on focus */
	min-height: calc(var(--wp--custom--tap-target) + var(--wp--preset--spacing--1)); /* 48px */
	display: block;
	max-width: 100%;
	min-width: 0;
	padding: var(--wp--preset--spacing--2) 12px;
	width: 100%;
}
/* iOS gives date inputs an intrinsic min-width that beat width:100% and pushed the (2px error)
   edge past the panel. Dropping the native look keeps the iOS date wheel; the value aligns left. */
.strikers-planner .strikers-field input[type="date"] { -webkit-appearance: none; appearance: none; }
.strikers-planner .strikers-field input[type="date"]::-webkit-date-and-time-value { min-width: 0; text-align: left; }
.strikers-planner .strikers-field textarea { min-height: 7.5rem; resize: vertical; }
.strikers-planner .strikers-field select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%23E8E8ED' stroke-width='2'/%3E%3C/svg%3E");
	background-position: right 16px center;
	background-repeat: no-repeat;
	background-size: 16px;
	padding-right: 48px;
}
.strikers-planner .strikers-hp { height: 1px; left: -9999px; overflow: hidden; position: absolute; width: 1px; }

/* Errors: brand rule 3 keeps red for "book", so errors are an icon + bold text + a 2px edge
   in light ink. Never colour alone. */
.strikers-planner .strikers-error { align-items: flex-start; color: var(--p-ink-strong); display: flex; font-size: var(--wp--preset--font-size--caption); font-weight: var(--wp--custom--font-weight--semibold); gap: var(--wp--preset--spacing--2); line-height: var(--wp--custom--line-height--caption); margin: var(--wp--preset--spacing--2) 0 0; }
.strikers-planner .strikers-error[hidden] { display: none; }
.strikers-planner .strikers-error svg,
.strikers-planner .strikers-errsum svg { flex: none; height: 20px; width: 20px; }
.strikers-planner [aria-invalid="true"] { border: var(--wp--custom--border--width) solid var(--p-ink-strong) !important; }
.strikers-planner fieldset.has-error .strikers-chip > input + span { border-color: var(--p-ink-strong); border-style: dashed; }
.strikers-planner fieldset.has-error .strikers-chip input:checked + span { border-style: solid; }
.strikers-planner .strikers-errsum {
	border: var(--wp--custom--border--width) solid var(--p-ink-strong);
	border-radius: var(--wp--custom--radius--md);
	grid-column: 1 / -1;
	padding: var(--wp--preset--spacing--4) var(--wp--preset--spacing--6);
}
.strikers-planner .strikers-errsum[hidden] { display: none; }
.strikers-planner .strikers-errsum h3 { align-items: center; color: var(--p-ink-strong); display: flex; font-size: var(--wp--preset--font-size--body-lg); gap: var(--wp--preset--spacing--2); margin: 0 0 var(--wp--preset--spacing--2); }
.strikers-planner .strikers-errsum ul { list-style: none; margin: 0; padding: 0; }
.strikers-planner .strikers-errsum a { align-items: center; color: var(--p-ink-strong); display: flex; min-height: var(--wp--custom--tap-target); text-decoration: underline; text-underline-offset: 3px; }

/* ---- Right card: the section's bold block ---- */
.strikers-planner .strikers-planner-card {
	--p-ring: var(--wp--preset--color--mix-ink);     /* focus ring on navy: 12.26:1 */
	--wp--custom--focus-glow: var(--wp--custom--planner--card-focus-glow);
	background: var(--p-card);
	border-radius: var(--wp--custom--radius--md);
	color: var(--wp--preset--color--mix-ink);       /* 12.26:1 on navy */
	padding: var(--wp--preset--spacing--6);
}
@media (min-width: 600px) { .strikers-planner .strikers-planner-card { padding: var(--wp--preset--spacing--10); } }
.strikers-planner .strikers-planner-card h3:not(.strikers-card-title) { color: var(--wp--preset--color--mix-ink); font-size: var(--wp--preset--font-size--body); font-weight: var(--wp--custom--font-weight--semibold); margin: 0 0 var(--wp--preset--spacing--4); }
.strikers-planner .strikers-card-title {
	color: var(--wp--preset--color--on-brand);      /* 14.97:1 */
	font-size: var(--wp--preset--font-size--h-2);
	font-weight: var(--wp--custom--font-weight--bold);
	letter-spacing: -0.015em;
	line-height: var(--wp--custom--line-height--h-2);
	margin: 0 0 var(--wp--preset--spacing--6);
	text-wrap: balance;
}
@media (min-width: 600px) { .strikers-planner .strikers-card-title { font-size: var(--wp--preset--font-size--h-1); line-height: var(--wp--custom--line-height--h-1); } }
.strikers-planner .strikers-card-title.is-empty { color: var(--wp--preset--color--mix-ink); }
.strikers-planner .strikers-card-list { border-top: var(--wp--custom--border--hairline) solid var(--wp--custom--planner--card-rule); margin: 0 0 var(--wp--preset--spacing--6); }
.strikers-planner .strikers-card-list div { border-bottom: var(--wp--custom--border--hairline) solid var(--wp--custom--planner--card-rule); display: grid; gap: var(--wp--preset--spacing--4); grid-template-columns: 6.5rem minmax(0, 1fr); padding: 12px 0; }
.strikers-planner .strikers-card-list dt { color: var(--wp--custom--planner--card-muted); }  /* 8.98:1 on navy */
.strikers-planner .strikers-card-list dd { color: var(--wp--preset--color--on-brand); font-weight: var(--wp--custom--font-weight--semibold); margin: 0; }
.strikers-planner .strikers-card-list .is-empty { color: var(--wp--custom--planner--card-muted); font-weight: var(--wp--custom--font-weight--regular); }
.strikers-planner .strikers-card-list .card-sub { color: var(--wp--custom--planner--card-muted); display: block; font-size: var(--wp--preset--font-size--caption); font-weight: var(--wp--custom--font-weight--regular); line-height: var(--wp--custom--line-height--caption); margin-top: var(--wp--preset--spacing--1); }
.strikers-planner .strikers-card-list .card-sub[hidden] { display: none; }
.strikers-planner .strikers-card-note { color: var(--wp--custom--planner--card-muted); font-size: var(--wp--preset--font-size--caption); line-height: var(--wp--custom--line-height--caption); margin: var(--wp--preset--spacing--4) 0 0; }
.strikers-planner .strikers-card-promise { color: var(--wp--preset--color--on-brand); font-weight: var(--wp--custom--font-weight--semibold); margin: var(--wp--preset--spacing--4) 0 0; text-align: center; }
.strikers-planner .strikers-card-promise.is-left { margin-top: 0; text-align: left; }
.strikers-planner .strikers-planner-card a { color: var(--wp--preset--color--on-brand); text-decoration: underline; text-underline-offset: 3px; }
.strikers-planner .strikers-planner-card a.strikers-btn { text-decoration: none; color: var(--p-on-light); }
.strikers-planner .strikers-card-state[hidden] { display: none; }
.strikers-planner .strikers-pl-card-actions { display: grid; gap: var(--wp--preset--spacing--2); margin-top: var(--wp--preset--spacing--6); }
.strikers-planner .strikers-pl-card-actions a.quiet { align-items: center; display: inline-flex; justify-content: center; min-height: var(--wp--custom--tap-target); }

/* Sent: the form steps aside, the card takes the stage. */
.strikers-planner .strikers-planner-grid[data-state="sent"] .strikers-planner-panel,
.strikers-planner:has(.strikers-planner-grid[data-state="sent"]) .strikers-planner-head p { display: none; }
.strikers-planner .strikers-planner-grid[data-state="sent"] { grid-template-columns: minmax(0, 1fr); justify-items: center; } /* card centred, before and after send */
.strikers-planner .strikers-planner-grid[data-state="sent"] .strikers-planner-card { max-width: 36rem; position: static; width: 100%; }
.strikers-planner:has(.strikers-planner-grid[data-state="sent"]) .strikers-planner-head { text-align: center; }
.strikers-planner:has(.strikers-planner-grid[data-state="sent"]) .strikers-planner-head > * { margin-inline: auto; }

@media (prefers-reduced-motion: reduce) {
	.strikers-planner .strikers-chip > input + span { transition: none; }
	.strikers-planner .strikers-btn .spinner { animation: none; border-right-color: currentColor; opacity: .6; }
}
