/**
 * Public request form.
 *
 * Everything is scoped under .superc-form-wrap so it sits inside the theme
 * without fighting it. Change --superc-accent to match the brand.
 */

/*
 * Open Sans, self-hosted.
 *
 * Served from this plugin rather than Google's CDN: no third-party request,
 * no GDPR question about sending visitor IPs to Google, one less DNS lookup,
 * and it keeps working if the CDN is blocked.
 *
 * Both files are the variable font covering weights 400-700. unicode-range
 * means a browser downloads only the subset it actually needs — latin (47 KB)
 * for virtually every visitor, latin-ext only when a name contains a
 * character outside Latin-1.
 *
 * font-stretch is pinned because Open Sans carries a width axis as well as a
 * weight one. Left unset, a browser is entitled to render a width nobody
 * asked for.
 *
 * font-display: swap renders in the fallback immediately and swaps when the
 * font arrives, so a slow font never leaves the form invisible.
 *
 * Licence: SIL Open Font License 1.1 — see assets/fonts/OpenSans-LICENSE.txt
 */
@font-face {
	font-family: "Open Sans";
	font-style: normal;
	font-weight: 400 700;
	font-stretch: 100%;
	font-display: swap;
	src: url("../fonts/opensans-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
		U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
		U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Open Sans";
	font-style: normal;
	font-weight: 400 700;
	font-stretch: 100%;
	font-display: swap;
	src: url("../fonts/opensans-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
		U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
		U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F,
		U+A720-A7FF;
}

.superc-form-wrap {
	--superc-accent: #c8102e;
	--superc-accent-dark: #9d0c24;
	--superc-ink: #1c1f23;
	--superc-muted: #5f6b7a;
	--superc-line: #d8dde4;
	--superc-line-soft: #e8ecf1;
	--superc-bg-soft: #f7f8fa;
	--superc-error: #c0392b;
	--superc-radius: 8px;

	/*
	 * Set explicitly rather than inherited. A form has to stay legible
	 * whatever the theme does, and themes with a display or monospace body
	 * font make a 25-field form genuinely hard to read.
	 *
	 * To use the theme's font instead, override this one line:
	 *   .superc-form-wrap { --superc-font: inherit; }
	 */
	--superc-font: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
		Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif;
	--superc-font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

	max-width: 780px;
	/*
	 * Room above and below. Without the bottom padding the card's edge sits
	 * flush against whatever the theme puts next — on superc.net that is a
	 * dark footer, and the join reads as the page having been cut off rather
	 * than finished. The top margin keeps it clear of the page content above.
	 */
	margin: 2rem auto 0;
	padding-bottom: 3.5rem;
	color: var(--superc-ink);
	font-family: var(--superc-font);
	font-size: 16px;
	line-height: 1.55;
	text-align: left;
	-webkit-font-smoothing: antialiased;
}

/*
 * Every element inside the form, not just the wrapper.
 *
 * Setting the font on an ancestor is not enough. Inheritance loses to ANY
 * direct rule on the element itself, however weak the selector — a theme
 * doing `label { font-family: ... }` beats a plugin setting it on a parent
 * div. On a theme with a monospace body font the inputs and headings came
 * out right while every label and hint rendered as code.
 *
 * !important is scoped to this one widget and is the only thing that
 * reliably wins against theme CSS we cannot see. The escape hatch still
 * works, because the variable is what gets substituted:
 *
 *   .superc-form-wrap { --superc-font: inherit; }
 */
.superc-form-wrap,
.superc-form-wrap * {
	font-family: var(--superc-font) !important;
}

/* Reference numbers read better in a monospace face. */
.superc-form-wrap .superc-success__ref strong {
	font-family: var(--superc-font-mono) !important;
}

.superc-form-wrap *,
.superc-form-wrap *::before,
.superc-form-wrap *::after {
	box-sizing: border-box;
}

/*
 * The hidden attribute has to beat our own display rules. The UA stylesheet's
 * [hidden] { display: none } is a single attribute selector, so any class rule
 * setting display — .superc-button, .superc-section, .superc-submit — silently
 * wins and the element stays on screen.
 */
.superc-form-wrap [hidden] {
	display: none !important;
}

.superc-form-title {
	margin: 0 0 8px;
	font-size: 1.75rem;
	line-height: 1.2;
}

.superc-form-intro {
	margin: 0 0 28px;
	color: var(--superc-muted);
}

/* ---------- Notices ---------- */

.superc-notice {
	margin: 0 0 24px;
	padding: 16px 18px;
	border-radius: var(--superc-radius);
	border-left: 4px solid var(--superc-error);
	background: #fdf2f1;
	font-size: 0.95rem;
}

.superc-notice--ok {
	border-left-color: #0f8a4f;
	background: #eff8f2;
}

/* Restore prompt: a question, not a warning. */
.superc-notice--restore {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px 16px;
	border-left-color: var(--superc-muted);
	background: var(--superc-bg-soft);
}

.superc-restore__text {
	font-size: 0.93rem;
}

.superc-restore__actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 0 0 auto;
}

.superc-restore__no {
	border: 0;
	background: none;
	padding: 0;
	color: var(--superc-muted);
	font: inherit;
	font-family: var(--superc-font) !important;
	font-size: 0.88rem;
	text-decoration: underline;
	cursor: pointer;
}

.superc-restore__no:hover {
	color: var(--superc-ink);
}

.superc-notice ul {
	margin: 10px 0 0;
	padding-left: 20px;
}

.superc-notice li + li {
	margin-top: 4px;
}

.superc-notice a {
	color: var(--superc-error);
}

/* ---------- Sections ---------- */

.superc-section {
	margin: 0 0 32px;
	padding: 0 0 28px;
	border: 0;
	border-bottom: 1px solid var(--superc-line-soft);
}

.superc-section:last-of-type {
	border-bottom: 0;
	padding-bottom: 8px;
}

.superc-section__title {
	display: block;
	width: 100%;
	margin: 0 0 4px;
	padding: 0;
	font-size: 1.15rem;
	font-weight: 650;
	line-height: 1.3;
	/* A hair tighter at display sizes, where default tracking reads loose. */
	letter-spacing: -0.012em;
}

.superc-section__intro {
	margin: 0 0 18px;
	color: var(--superc-muted);
	font-size: 0.92rem;
}

/*
 * Two columns on a wide screen, because the point of this block is that the
 * two routes are read against each other rather than one after the other.
 */
.superc-notes {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr));
	gap: 14px;
	margin: 0 0 20px;
	/*
	 * Each card its own height. Stretched to match, the shorter of the two
	 * ended with 170px of empty box under its last line, which reads as
	 * something missing rather than as something short.
	 */
	align-items: start;
}

.superc-note {
	padding: 14px 16px;
	border: 1px solid var(--superc-line);
	border-radius: 8px;
	background: var(--superc-surface-alt, #f7f8fa);
}

.superc-note__lead {
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.45;
	color: var(--superc-muted);
}

.superc-note__lead strong {
	color: var(--superc-ink);
}

.superc-note__list {
	margin: 8px 0 0;
	padding-left: 18px;
	/*
	 * Stated, because the theme sets it inside: the marker then takes inline
	 * space and a wrapped line starts further left than the line above it.
	 */
	list-style-position: outside;
	font-size: 0.88rem;
	line-height: 1.5;
	color: var(--superc-muted);
}

.superc-note__list li + li {
	margin-top: 3px;
}

.superc-section__title + .superc-grid {
	margin-top: 18px;
}

/* ---------- Grid ---------- */

.superc-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 20px 18px;
}

.superc-field--full { grid-column: span 6; }
.superc-field--half { grid-column: span 3; }
.superc-field--third { grid-column: span 2; }

@media (max-width: 640px) {
	.superc-field--half,
	.superc-field--third {
		grid-column: span 6;
	}
}

.superc-field[hidden] {
	display: none;
}

/* ---------- Labels and inputs ---------- */

/*
 * 600.
 *
 * This was 550 while the form was set in Inter, which runs heavier than the
 * system stack at the same numeric weight and turned a column of labels into
 * a wall of bold. Open Sans does not, so the number goes back to where it
 * would have been without that compensation: enough to separate a label from
 * its input, not enough to shout.
 */
.superc-label {
	display: block;
	margin-bottom: 6px;
	font-weight: 600;
	font-size: 0.9rem;
	line-height: 1.4;
	color: #2b323b;
}

.superc-req {
	color: var(--superc-error);
	font-weight: 700;
}

/*
 * Every input that takes typed text.
 *
 * This is an allowlist, so a type that is missing from it is not merely
 * unstyled — it falls back to the browser's default, which for a text-like
 * input means size="20" and a visibly narrower box than the field above it.
 * password was missing until the account screens added the first password
 * field to this stylesheet. ADD NEW TYPES HERE.
 *
 * It stays an allowlist rather than input:not([type=checkbox])... because
 * each :not() adds specificity, and the exclusion version out-specifies the
 * .superc-save__row override further down, which would stretch the "save and
 * finish later" email field back to full width.
 */
.superc-form-wrap input[type="text"],
.superc-form-wrap input[type="email"],
.superc-form-wrap input[type="password"],
.superc-form-wrap input[type="tel"],
.superc-form-wrap input[type="url"],
.superc-form-wrap input[type="date"],
.superc-form-wrap input[type="number"],
.superc-form-wrap input[type="file"],
.superc-form-wrap select,
.superc-form-wrap textarea {
	width: 100%;
	max-width: 100%;
	padding: 11px 13px;
	border: 1px solid var(--superc-line);
	border-radius: var(--superc-radius);
	background: #fff;
	color: inherit;
	font: inherit;
	font-size: 1rem;
	line-height: 1.4;
	transition: border-color 0.12s ease, box-shadow 0.12s ease;
}

/*
 * Password dots.
 *
 * Tracking only. This rule used to shrink the glyph to 0.85rem as well,
 * because the bullet Inter drew at 1rem was a much heavier mark than the
 * text in the field above it and a masked password read as oversized. Open
 * Sans draws a lighter one, and at 0.85rem the dots came out small and
 * cramped against a full-size email address directly above — so the shrink,
 * and the rem line-height that existed to stop the shrink taking the box
 * down with it, both go with the font they were compensating for.
 *
 * The extra tracking stays on its own merits: dots set at normal spacing run
 * together, and a count you cannot make out is a password you cannot check.
 */
.superc-form-wrap input[type="password"] {
	letter-spacing: 0.14em;
}

.superc-form-wrap textarea {
	resize: vertical;
	min-height: 90px;
}

.superc-form-wrap select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235f6b7a' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 36px;
}

.superc-form-wrap input:focus,
.superc-form-wrap select:focus,
.superc-form-wrap textarea:focus {
	outline: none;
	border-color: var(--superc-accent);
	box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.14);
}

.superc-field--error input,
.superc-field--error select,
.superc-field--error textarea {
	border-color: var(--superc-error);
}

/*
 * Dates.
 *
 * The native control is kept — it is accessible and keyboard-correct for
 * free, and on a phone it opens the OS picker. What it needs is matching the
 * other inputs, and a calendar icon big enough to aim at. inputs.js makes a
 * click anywhere in the field open it.
 */
.superc-form-wrap input[type="date"] {
	position: relative;
	cursor: pointer;
	min-height: 46px;
}

.superc-form-wrap input[type="date"]::-webkit-calendar-picker-indicator {
	cursor: pointer;
	opacity: 0.55;
	padding: 4px;
	margin-right: -2px;
	border-radius: 4px;
	transition: opacity 0.12s ease, background 0.12s ease;
}

.superc-form-wrap input[type="date"]:hover::-webkit-calendar-picker-indicator,
.superc-form-wrap input[type="date"]:focus::-webkit-calendar-picker-indicator {
	opacity: 1;
	background: var(--superc-bg-soft);
}

/* Firefox renders its own clear button; keep it from crowding the edge. */
.superc-form-wrap input[type="date"]::-moz-calendar-picker-indicator {
	cursor: pointer;
}

/*
 * Spinners off on number fields. They invite click-click-click on a value
 * like "how many people are coming", where typing is faster and the arrows
 * just make the field narrower.
 */
.superc-form-wrap input[type="number"] {
	-moz-appearance: textfield;
	appearance: textfield;
}

.superc-form-wrap input[type="number"]::-webkit-outer-spin-button,
.superc-form-wrap input[type="number"]::-webkit-inner-spin-button {
	-webkit-appearance: none;
	appearance: none;
	margin: 0;
}

/* Money */

.superc-money {
	position: relative;
}

.superc-money__sign {
	position: absolute;
	left: 13px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--superc-muted);
	pointer-events: none;
	font-size: 1rem;
}

.superc-money input {
	padding-left: 28px !important;
}

/* Radios and checkboxes */

/*
 * Town headings inside a grouped radio list. Only the store picker uses
 * these; every other radio group is a single unnamed group and renders
 * exactly as it always did.
 */
.superc-addrow {
	align-self: flex-start;
	margin: 0 0 4px;
	padding: 8px 14px;
	border: 1px dashed var(--superc-line);
	border-radius: var(--superc-radius);
	background: transparent;
	color: var(--superc-accent);
	font: inherit;
	font-size: 0.9rem;
	font-weight: 600;
	cursor: pointer;
}

.superc-addrow:hover {
	border-style: solid;
}

/*
 * The store picker is a grid, not a wrapping row.
 *
 * Wrapped flex sizes every card to its own text, so "Super C #1 - 21st & G"
 * and "Super C #7 - 2601 Ticonderoga Drive" ended up different widths and
 * the right-hand edge came out ragged on every line. Equal columns line the
 * cards up and keep the eye travelling straight down.
 *
 * Only the grouped picker: every other radio group on the form is a short
 * list of unequal answers, which reads better left to size itself.
 *
 * Both classes in the selector on purpose: the base .superc-radios rule sits
 * further down this file, so at equal specificity its display:flex would win
 * and the grid would never take effect.
 */
.superc-radios.superc-radios--grouped {
	display: grid;
	/*
	 * 320px, not 300: at a container around 620px -- a tablet -- 300px
	 * still fits two columns, and the longest store wraps onto a second
	 * line in both of them. 320 drops that width to one column instead,
	 * and leaves the 718px desktop layout at two either way.
	 */
	grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
	gap: 10px;
}

.superc-radios--grouped .superc-radio {
	margin: 0;
}

.superc-radios--grouped .superc-radios__town {
	grid-column: 1 / -1;
}

.superc-radios__town {
	/*
	 * Kept for the flex case: without it a heading becomes another item on
	 * the same line, which is how CERESCO ended up next to a Lincoln store.
	 */
	flex: 0 0 100%;
	margin: 14px 0 6px;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--superc-muted);
}

.superc-radios__town:first-child {
	margin-top: 0;
}

.superc-radios {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.superc-radio,
.superc-check {
	display: inline-flex;
	align-items: flex-start;
	gap: 9px;
	padding: 10px 14px;
	border: 1px solid var(--superc-line);
	border-radius: var(--superc-radius);
	background: #fff;
	cursor: pointer;
	font-size: 0.93rem;
	line-height: 1.4;
	transition: border-color 0.12s ease, background 0.12s ease;
}

.superc-check {
	width: 100%;
	align-items: flex-start;
}

/* Checkbox groups: wrap into columns rather than one long stack. */
.superc-checkboxes {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
	gap: 8px;
}

.superc-check--inline {
	width: auto;
}

.superc-radio:hover,
.superc-check:hover {
	border-color: #b6bec9;
	background: var(--superc-bg-soft);
}

.superc-radio input,
.superc-check input {
	margin: 2px 0 0;
	flex: 0 0 auto;
	accent-color: var(--superc-accent);
	width: 17px;
	height: 17px;
}

.superc-radio:has(input:checked),
.superc-check:has(input:checked) {
	border-color: var(--superc-accent);
	background: rgba(200, 16, 46, 0.045);
}

/* Help, errors, counters */

.superc-help {
	margin: 6px 0 0;
	color: var(--superc-muted);
	font-size: 0.85rem;
	line-height: 1.45;
}

.superc-error {
	margin: 6px 0 0;
	color: var(--superc-error);
	font-size: 0.85rem;
	font-weight: 600;
}

.superc-counter {
	display: block;
	margin-top: 5px;
	color: var(--superc-muted);
	font-size: 0.78rem;
	text-align: right;
	font-variant-numeric: tabular-nums;
}

.superc-counter.is-close {
	color: var(--superc-error);
}

/* Honeypot: off-screen, not display:none, so bots still find it */

.superc-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* ---------- Submit ---------- */

.superc-submit {
	margin-top: 8px;
	padding-top: 24px;
	border-top: 1px solid var(--superc-line-soft);
}

.superc-button {
	display: inline-block;
	padding: 14px 32px;
	border: 0;
	border-radius: var(--superc-radius);
	background: var(--superc-accent);
	color: #fff;
	font: inherit;
	font-size: 1.02rem;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
	transition: background 0.12s ease, transform 0.06s ease;
}

.superc-button:hover,
.superc-button:focus {
	background: var(--superc-accent-dark);
	color: #fff;
}

.superc-button:active {
	transform: translateY(1px);
}

.superc-button[disabled] {
	opacity: 0.6;
	cursor: progress;
}

.superc-submit__note {
	margin: 12px 0 0;
	color: var(--superc-muted);
	font-size: 0.88rem;
}

/* ---------- Success ---------- */

.superc-success {
	padding: 40px 32px;
	border: 1px solid var(--superc-line-soft);
	border-radius: 14px;
	background: var(--superc-bg-soft);
	text-align: center;
}

.superc-success:focus {
	outline: none;
}

.superc-success__mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 68px;
	height: 68px;
	margin-bottom: 18px;
	border-radius: 50%;
	background: #0f8a4f;
	color: #fff;
}

.superc-success__title {
	margin: 0 0 10px;
	font-size: 1.6rem;
	line-height: 1.2;
}

.superc-success__ref {
	margin: 0 0 18px;
	font-size: 1.05rem;
}

.superc-success__ref strong {
	display: inline-block;
	margin-left: 4px;
	padding: 3px 10px;
	border-radius: 6px;
	background: #fff;
	border: 1px solid var(--superc-line);
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	letter-spacing: 0.02em;
}

.superc-success__small {
	margin: 16px 0 0;
	color: var(--superc-muted);
	font-size: 0.88rem;
}

/* =====================================================================
   Save and finish later
   ===================================================================== */

.superc-save {
	margin-top: 22px;
}

.superc-save__toggle {
	border: 0;
	background: none;
	padding: 0;
	color: var(--superc-muted);
	font: inherit;
	font-family: var(--superc-font) !important;
	font-size: 0.9rem;
	text-decoration: underline;
	cursor: pointer;
}

.superc-save__toggle:hover {
	color: var(--superc-ink);
}

/*
 * The toggle is a text link, so it renders 22px tall: under the 24px minimum
 * tap target and well under the 44px that actually feels reliable on a phone.
 * Pad it vertically on small screens and take that height back out of the
 * margin above, so desktop spacing is untouched.
 */
@media (max-width: 640px) {
	.superc-save {
		margin-top: 11px;
	}

	.superc-save__toggle {
		padding: 11px 0;
	}
}

.superc-save__panel {
	margin-top: 14px;
	padding: 16px 18px;
	border: 1px solid var(--superc-line-soft);
	border-radius: var(--superc-radius);
	background: var(--superc-bg-soft);
}

.superc-save__panel[hidden] {
	display: none !important;
}

.superc-save__intro {
	margin: 0 0 12px;
	font-size: 0.92rem;
}

.superc-save__row {
	display: flex;
	align-items: flex-end;
	flex-wrap: wrap;
	gap: 10px;
}

.superc-save__row .superc-label {
	flex: 1 1 100%;
	margin-bottom: 0;
}

.superc-save__row input[type="email"] {
	flex: 1 1 240px;
	width: auto;
}

.superc-save__send {
	flex: 0 0 auto;
	padding: 11px 20px;
	font-size: 0.95rem;
}

.superc-save__panel .superc-help {
	margin-top: 10px;
}

/* =====================================================================
   Multi-step mode
   Everything below only applies once steps.js has run. Without it the
   form stays the single-page version above.
   ===================================================================== */

.superc-form--stepped {
	padding: 28px 30px 24px;
	border: 1px solid var(--superc-line-soft);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 8px 24px rgba(16, 24, 40, 0.06);
}

@media (max-width: 640px) {
	.superc-form--stepped {
		padding: 20px 18px 18px;
		border-radius: 12px;
	}
}

.superc-form--stepped .superc-section {
	margin: 0;
	padding: 0;
	border-bottom: 0;
}

.superc-form--stepped .superc-section__title {
	font-size: 1.25rem;
	margin-bottom: 6px;
}

/* ---------- Progress ---------- */

.superc-progress {
	margin: 0 0 26px;
}

.superc-progress__bar {
	height: 5px;
	border-radius: 999px;
	background: var(--superc-line-soft);
	overflow: hidden;
}

.superc-progress__fill {
	display: block;
	height: 100%;
	width: 0;
	border-radius: 999px;
	background: var(--superc-accent);
	transition: width 0.3s ease;
}

/*
 * One row of numbers that never wraps.
 *
 * Seven labelled pills do not fit on a line at any realistic content width —
 * they wrapped into a ragged three rows. Numbers always show, and only the
 * step you are on is labelled, which fits anywhere and still answers "where
 * am I and how much is left".
 */
.superc-progress__list {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 0;
	margin: 14px 0 0;
	padding: 0;
	list-style: none;
}

.superc-progress__step {
	display: flex;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
	min-width: 0;
}

.superc-progress__step::marker {
	content: none;
}

/* Connector into each step after the first, filled once that step is reached. */
.superc-progress__step + .superc-progress__step::before {
	content: "";
	flex: 0 0 auto;
	width: 12px;
	height: 2px;
	border-radius: 2px;
	background: var(--superc-line);
	margin: 0 3px;
}

.superc-progress__step.is-done + .superc-progress__step::before,
.superc-progress__step.is-current::before {
	background: var(--superc-accent);
}

.superc-progress__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 4px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--superc-muted);
	font: inherit;
	font-family: var(--superc-font);
	font-size: 0.85rem;
	line-height: 1.3;
	cursor: pointer;
	min-width: 0;
	transition: color 0.12s ease;
}

/* Only the current step carries its name. */
.superc-progress__label {
	display: none;
}

.superc-progress__step.is-current .superc-progress__label {
	display: block;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	padding-right: 4px;
}

.superc-progress__btn:disabled {
	cursor: default;
	opacity: 0.55;
}

.superc-progress__btn:not(:disabled):hover {
	color: var(--superc-ink);
}

.superc-progress__btn:not(:disabled):hover .superc-progress__num {
	border-color: var(--superc-accent);
	color: var(--superc-accent);
}

.superc-progress__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 25px;
	height: 25px;
	border-radius: 50%;
	border: 1.5px solid var(--superc-line);
	background: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	flex: 0 0 auto;
	transition: border-color 0.12s ease, background 0.12s ease, color 0.12s ease;
}

.superc-progress__step.is-current .superc-progress__btn {
	color: var(--superc-ink);
	font-weight: 650;
}

.superc-progress__step.is-current .superc-progress__num {
	border-color: var(--superc-accent);
	background: var(--superc-accent);
	color: #fff;
}

.superc-progress__step.is-done .superc-progress__num {
	border-color: var(--superc-accent);
	background: rgba(200, 16, 46, 0.08);
	color: var(--superc-accent);
}

.superc-progress__count {
	display: none;
	margin: 10px 0 0;
	color: var(--superc-muted);
	font-size: 0.85rem;
	font-weight: 600;
}

/* Below this the numbers get cramped; a plain counter reads better. */
@media (max-width: 560px) {
	.superc-progress__list {
		display: none;
	}
	.superc-progress__count {
		display: block;
	}
}

/* ---------- Step navigation ---------- */

.superc-stepnav {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 26px;
	padding-top: 22px;
	border-top: 1px solid var(--superc-line-soft);
}

.superc-stepnav__back {
	margin-right: auto;
}

/* With only a Next button showing, push it to the right. */
.superc-stepnav__back[hidden] + .superc-stepnav__next {
	margin-left: auto;
}

.superc-button--ghost {
	background: transparent;
	border: 1px solid var(--superc-line);
	color: var(--superc-muted);
}

.superc-button--ghost:hover,
.superc-button--ghost:focus {
	background: var(--superc-bg-soft);
	border-color: #b6bec9;
	color: var(--superc-ink);
}

/* The submit area is moved inside .superc-stepnav by steps.js, so it is
   just another item in that button row. */
.superc-form--stepped .superc-submit {
	margin: 0;
	padding: 0;
	border-top: 0;
}

/* The note is lifted into the review step by steps.js. */
.superc-form--stepped .superc-review .superc-submit__note {
	margin: 4px 0 0;
	color: var(--superc-muted);
	font-size: 0.88rem;
}

/* ---------- Review step ---------- */

.superc-review__group {
	padding: 16px 18px;
	margin-bottom: 12px;
	border: 1px solid var(--superc-line-soft);
	border-radius: var(--superc-radius);
	background: var(--superc-bg-soft);
}

.superc-review__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 10px;
}

.superc-review__title {
	margin: 0;
	font-size: 0.95rem;
	font-weight: 700;
}

.superc-review__edit {
	border: 0;
	background: none;
	padding: 0;
	color: var(--superc-accent);
	font: inherit;
	font-size: 0.85rem;
	font-weight: 600;
	text-decoration: underline;
	cursor: pointer;
}

.superc-review__list {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
	gap: 7px 16px;
	margin: 0;
}

@media (max-width: 560px) {
	.superc-review__list {
		grid-template-columns: 1fr;
		gap: 2px;
	}
	.superc-review__list dd {
		margin-bottom: 10px;
	}
}

.superc-review__list dt {
	margin: 0;
	color: var(--superc-muted);
	font-size: 0.82rem;
	line-height: 1.4;
}

.superc-review__list dd {
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.45;
	overflow-wrap: break-word;
}

/* Screen-reader-only text, in case the theme does not define it */

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

/* ------------------------------------------------------------------ */
/* The account strip above the form                                     */
/* ------------------------------------------------------------------ */

/*
 * This lives here, not in account.css, because the strip renders on the
 * REQUEST form — and account.css is only enqueued on the account page. It
 * sat here unstyled for several releases: the markup was right, the link
 * worked, and nothing looked obviously broken enough to notice.
 */
/* The strip above the request form                                     */
/* ------------------------------------------------------------------ */

.superc-account-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	margin-bottom: 1.25rem;
	padding: 0.7rem 0.95rem;
	border: 1px solid var(--superc-line);
	border-radius: var(--superc-radius);
	background: var(--superc-bg-soft);
	font-size: 0.875rem;
	line-height: 1.45;
	color: var(--superc-ink);
}

.superc-account-bar--invite {
	color: var(--superc-muted);
}

.superc-account-bar__who {
	min-width: 0;
}

.superc-account-bar__link {
	flex: 0 0 auto;
	color: var(--superc-accent);
	font-weight: 600;
	white-space: nowrap;
}


