/*
	evr_pub_styles.css - the single-page registration shell (reg_main.php) and the registration partials it loads.

	B1 step 1 (2026-11-12). Three kinds of rule live here:
	1. the .evr-* rules the registration pages used to take from /css/mms_custom_style.css, lifted unchanged so the
	   page can switch to the v2 header (which drops both legacy stylesheets). The legacy file keeps its copies:
	   classic still loads it, and the classic shim (B1 step 2) adds this file alongside.
	2. the shell rules that used to sit in reg_main.php's inline <style> block: progress bar, mode bars, pills,
	   Start Over, the event-info box. The org colour and the progress-bar geometry arrive as CSS variables that
	   reg_main sets in a five-line inline block (--evr-brand, --evr-brand-text, --evr-step-width, --evr-step-margin).
	3. the step panel shapes (.evr-step-panel / -heading / -body). They replaced Bootstrap's .panel classes, which
	   came off the markup 11-16 so a client theme's .panel rules can't reach the steps; the scripts hook
	   .evr-step-heading.
	4. the phone-width rules.
	5. the shell refresh (see its own header below): the event header, hero, fold, progress bar and panels.

	Every class here is one we own: these pages render inside the client's chrome.
*/

/* ---------------------------------------------------------------- 1. lifted from mms_custom_style.css */

/* the single page carries each step's title in its panel heading, so the partials' own headings are hidden there
   only; the classic pages (which load this file through the shim) keep theirs */
#evr_master_container .evr-page-heading {
	display: none !important;
}

.evr-title {
	font-size: 18px;
	font-weight: bold;
	margin-bottom: 5px;
}

.evr-section-heading {
	font-size: 16px;
	font-weight: bold;
	margin-top: 30px;
}

.evr-section-break {
	font-size: 20px;
	font-weight: bold;
	margin-top: 20px;
	margin-bottom: 20px;
}

.evr-section-container {
	width: 90%;
	margin: 0 auto;
	padding-bottom: 15px;
}

.evr-radio-color,
.evr-package-color {
	border: 1px solid var(--mms-secondary-light);
	padding: 10px;
	border-radius: 5px;
}

.evr-radio-color:nth-child(odd),
.evr-package-color:nth-child(odd) {
	background-color: var(--mms-light-gray);
}

.evr-radio-color:nth-child(even),
.evr-package-color:nth-child(even) {
	background-color: #ffffff;
}

.evr-small-text {
	font-size: 11px;
}

.evr-medium-text {
	font-size: 12px;
}

.evr-heading {
	margin-top: 8px;
	margin-bottom: 8px;
}

.evr-image-table {
	display: table;
	width: 100%;
}

.evr-image-container {
	display: table-cell;
	vertical-align: top;
}

.evr-image-container-admin {
	display: table-cell;
	vertical-align: top;
	width: 75px;
	text-align: center;
}

.evr-image-data-container {
	display: table-cell;
	vertical-align: top;
	padding-left: 15px;
}

.evr-radio-container {
	width: 90%;
	margin: 0 auto;
}

.evr-field-info {
	background-color: var(--mms-light-gray);
	border-radius: 5px;
	padding: 10px;
}

.evr_promo_submit {
	background: #f44;
	color: #fff;
	font-size: 1.3em;
	font-weight: bold;
}

/* a required field left empty (Bill 11-12; shared by the contact page's check and the attendee form's). The class
   lands on the field's wrapper (.evr-field-input on the contact page, the .F<field> block on the attendee form) or,
   for a helper-built field, on the input itself. It used to draw a rounded box around the whole block; now the field
   itself takes the error border and ring, a group of radios or checkboxes takes a tinted panel, and a line under the
   block says what is wrong, so the state is never carried by colour alone. */
.evr-red-border {
	border: none;
	padding: 0;
	border-radius: 0;
}

.evr-red-border .mms-text-field,
.evr-red-border .mms-select-field,
.evr-red-border .mms-textarea-field,
.evr-red-border .mms-number-field,
.mms-text-field.evr-red-border,
.mms-select-field.evr-red-border,
.mms-textarea-field.evr-red-border,
.mms-number-field.evr-red-border,
.mms-text-field[aria-invalid="true"],
.mms-select-field[aria-invalid="true"],
.mms-textarea-field[aria-invalid="true"],
.mms-number-field[aria-invalid="true"] {
	border-color: var(--mms-error-dark);
	box-shadow: 0 0 0 3px var(--mms-error);
}

/* a block with no text field in it (package radios, checkbox options) shows its state as a tinted panel */
.evr-red-border:not(:has(.mms-text-field, .mms-select-field, .mms-textarea-field, .mms-number-field)) {
	padding: 8px 10px;
	background: var(--mms-error);
	border-radius: var(--mms-radius);
}

.evr-red-border::after {
	content: "This field is required.";
	display: block;
	margin-top: 6px;
	font-size: 13px;
	line-height: 1.4;
	color: var(--mms-error-dark);
}

/* an input that carries the class itself has no block to hang the note on: the ring and border say it */
.mms-text-field.evr-red-border::after,
.mms-select-field.evr-red-border::after,
.mms-textarea-field.evr-red-border::after {
	content: none;
}

/* a step's error strip, when it has something in it: a notice panel on the error palette (the scripts fill it with
   "<br /><b>Errors:</b><br />text<br /><br />"; the breaks at either end are hidden so the panel hugs its text) */
.evr_error {
	font-size: 16px;
	color: var(--mms-error-dark);
}

.evr_error:not(:empty) {
	margin: 0 0 16px 0;
	padding: 12px 14px;
	line-height: 1.5;
	background: var(--mms-error);
	border: 1px solid var(--mms-error-dark);
	border-left-width: 4px;
	border-radius: var(--mms-radius);
}

.evr_error > br:first-child,
.evr_error > br:last-child,
.evr_error > br:nth-last-child(2) {
	display: none;
}

.checkbox-left {
	width: 30px;
	float: left;
}

.checkbox-right {
	margin-left: 30px;
	width: auto;
}

.long-input {
	width: 100% !important;
}

.medium-input {
	width: 60% !important;
}

.short-input {
	width: 35% !important;
}

.numeric-input {
	width: 90px !important;
}

.long-numeric-input {
	width: 150px !important;
}

.half-input {
	width: 50% !important;
}

.label-shift {
	text-align: right;
}

.select-overflow {
	white-space: normal;
	vertical-align: top;
	line-break: loose;
	overflow-wrap: anywhere;
}

@media (max-width: 1200px) {
	.medium-input {
		width: 75% !important;
	}
	.short-input {
		width: 50% !important;
	}
}

@media (min-width: 990px) and (max-width: 1199px) {
	.medium-input {
		width: 60% !important;
	}
	.short-input {
		width: 35% !important;
	}
}

@media (max-width: 991px) {
	.medium-input {
		width: 60% !important;
	}
	.short-input {
		width: 35% !important;
	}
	.label-shift {
		text-align: left;
	}
}

@media (max-width: 767px) {
	.medium-input {
		width: 100% !important;
	}
	.short-input {
		width: 100% !important;
	}
	.label-shift {
		text-align: left;
	}
}

/* the event-info box: a fixed-height window with a fade and a Show More strip until expanded */
.evr_info_container {
	overflow: hidden;
	position: relative;
	max-height: 300px;
}

.evr_info_expanded {
	max-height: 3000px;
}

.evr_info_option_container {
	position: absolute;
	bottom: 0;
	right: 0;
	width: 100%;
	z-index: 20;
}

.evr_info_toggle {
	text-align: right;
	padding: 5px;
	width: 100%;
	background-color: #ffffff;
	z-index: 10;
	cursor: pointer;
}

.evr_info_gradient {
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
	height: 10px;
	z-index: 999;
	width: 100%;
}

/* the promo banner's wrapper (shell refresh): the caption below is positioned against it */
.evr-hero {
	position: relative;
}

/* the promo-image title overlay (was an inline <style> in reg_main) */
.promo_shadow_box {
	position: absolute;
	top: 20px;
	z-index: 10;
	padding: 20px;
	margin-left: 20px;
	color: #fff !important;
	background-color: rgba(35, 31, 32, 0.5);
}

.promo_shadow_h2 {
	color: #fff !important;
	margin-top: 0px;
}

/* ---------------------------------------------------------------- 2. the shell */

/* progress bar: one item per step, a circle above each label, a brand-coloured line that grows across */
.evr_progress_container {
	position: relative;
	height: 100%;
	width: 100%;
	padding-bottom: 5px;
}

.evr_progress_steps {
	position: relative;
	display: flex;
	justify-content: space-between;
	width: 100%;
	margin: 0 auto 10px auto;
}

.evr_progess_bar_item_container {
	width: var(--evr-step-width, 12.5%);
	text-align: center;
	color: var(--mms-secondary);
	transition: background 1s;
	font-style: italic;
}

.evr_progess_bar_item_container.selected {
	color: var(--mms-text);
	font-weight: bold;
	font-style: normal;
}

.evr_progess_bar_item_container.completed {
	color: var(--mms-text);
	font-style: normal;
}

.evr_progess_bar_item {
	text-align: center;
	color: var(--mms-secondary);
	vertical-align: top;
	margin: 0 auto 5px auto;
	width: 20px;
	height: 20px;
	background: #ffffff;
	border: 2px solid var(--mms-secondary-light);
	border-radius: 50%;
	transition: background 1s;
}

.evr_progess_bar_item.selected {
	border: 2px solid var(--evr-brand);
	color: var(--mms-text);
}

.evr_progess_bar_item.completed {
	border: 2px solid var(--evr-brand);
	background: var(--evr-brand);
	color: var(--mms-text);
}

.evr_progress_percent {
	margin-left: var(--evr-step-margin, 6.25%);
	margin-top: 9px;
	width: 0;
	position: absolute;
	border-bottom: 2px solid var(--evr-brand);
	z-index: 0;
	transition: width 1s;
}

.progress {
	width: 100%;
	height: 50%;
	border-bottom: 2px solid var(--evr-brand);
	z-index: -1;
}

/* back navigation (B2): a visited step is a target */
.evr_progess_bar_item_container.evr-nav-target {
	cursor: pointer;
}

.evr_progess_bar_item_container.evr-nav-target:hover,
.evr_progess_bar_item_container.evr-nav-target:focus-visible {
	color: var(--mms-text);
	text-decoration: underline;
}

.evr_progess_bar_item_container.evr-nav-target:focus-visible {
	outline: 2px solid var(--evr-brand);
	outline-offset: 2px;
}

/* the one pill: Back, "go without saving", the mode-bar buttons and Start Over all read alike */
.evr-pill,
.evr-pill:visited,
.evr-step-back,
.evr-step-back:visited,
.evr-step-discard,
.evr-step-discard:visited,
.evr-admin-bar a.evr-admin-bar-btn,
.evr-admin-bar a.evr-admin-bar-btn:visited,
.evr-admin-bar button.evr-admin-bar-btn {
	display: inline-block;
	padding: 3px 10px;
	font-size: 11px;
	font-style: normal;
	font-weight: 600;
	line-height: 1.3;
	white-space: nowrap;
	color: var(--org-link-color, var(--mms-primary));
	background: #fff;
	border: 1px solid var(--mms-secondary-light);
	border-radius: 999px;
	cursor: pointer;
	text-decoration: none !important;
}

.evr-pill:hover,
.evr-pill:focus,
.evr-step-back:hover,
.evr-step-back:focus,
.evr-step-discard:hover,
.evr-step-discard:focus,
.evr-admin-bar a.evr-admin-bar-btn:hover,
.evr-admin-bar a.evr-admin-bar-btn:focus,
.evr-admin-bar button.evr-admin-bar-btn:hover,
.evr-admin-bar button.evr-admin-bar-btn:focus {
	background: var(--mms-light-gray);
	color: var(--org-link-color, var(--mms-primary));
}

/* the heading is a flex row, so the pill (appended last by evrNavRefresh) is pushed to the right edge at every
   width and only wraps to its own right-aligned line when the title leaves it no room */
.evr-step-back {
	float: none;
	flex: 0 0 auto;
	margin-left: auto;
}

/* on a phone the pill reads just "« Back" (Bill 11-16: saves room in the heading); its aria-label keeps the step name */
@media (max-width: 767px) {
	.evr-step-back-to {
		display: none;
	}
}

/* the way out of a form whose save failed, under its error box */
.evr-step-discard-row {
	margin: 0 0 12px 0;
}

/* Start Over: the brand-filled pill under the first step, with room between it and the step label (Bill 11-12) */
#evr_start_over {
	margin-top: 8px;
}

#evr_start_over_btn,
#evr_start_over_btn:visited {
	background: var(--evr-brand) !important;
	color: var(--evr-brand-text) !important;
	border-color: var(--evr-brand);
	font-size: 12px;
}

#evr_start_over_btn:hover,
#evr_start_over_btn:focus {
	filter: brightness(0.85);
	background: var(--evr-brand) !important;
	color: var(--evr-brand-text) !important;
}

/* mode bars: admin, editing and payment on the info palette, waitlist on the warning palette */
.evr-admin-bar {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 16px;
	padding: 10px 14px;
	margin-bottom: 14px;
	border: 1px solid var(--mms-info-dark);
	border-left-width: 4px;
	border-radius: var(--mms-radius);
	background: var(--mms-info);
	color: var(--mms-info-dark);
}

.evr-admin-bar-main {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.evr-admin-bar-text {
	font-style: italic;
}

.evr-admin-bar-badge {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 2px 8px;
	border-radius: 999px;
	background: var(--mms-info-dark);
	color: var(--mms-info);
	white-space: nowrap;
}

.evr-admin-bar a.evr-admin-bar-btn,
.evr-admin-bar button.evr-admin-bar-btn {
	margin-left: auto;
	border-color: var(--mms-info-dark);
}

.evr-waitlist-bar {
	border-color: var(--mms-warning-dark);
	background: var(--mms-warning);
	color: var(--mms-warning-dark);
}

.evr-waitlist-bar .evr-admin-bar-badge {
	background: var(--mms-warning-dark);
	color: var(--mms-warning);
}

/* a closed, unavailable, full or missing event (B1 review, 11-13): the waitlist bar's shape in the neutral palette,
   under the event's description, the text upright (an org's verbiage keeps its own styling) */
.evr-state-bar {
	margin-top: 16px;
	border-color: var(--mms-secondary-dark);
	background: var(--mms-light-gray);
	color: var(--mms-secondary-deep);
}

.evr-state-bar .evr-admin-bar-main {
	flex: 1 1 auto;
}

.evr-state-bar .evr-admin-bar-badge {
	background: var(--mms-secondary-dark);
	color: var(--mms-light-gray);
}

.evr-state-bar .evr-admin-bar-text {
	min-width: 0;
	font-style: normal;
}

.evr-state-bar .evr-admin-bar-text p:last-child {
	margin-bottom: 0;
}

.evr-waitlist-bar .evr-admin-bar-main {
	flex: 1 1 auto;
}

/* the verbiage is content, not a one-line status note: no imposed italics, and long text clamps to three lines
   until the Show more pill opens it */
.evr-waitlist-bar .evr-admin-bar-text {
	min-width: 0;
	font-style: normal;
}

.evr-waitlist-bar .evr-admin-bar-text p:last-child {
	margin-bottom: 0;
}

.evr-waitlist-bar.is-collapsed .evr-admin-bar-text {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.evr-waitlist-bar button.evr-admin-bar-btn {
	border-color: var(--mms-warning-dark);
}

.evr-waitlist-bar button.evr-admin-bar-btn[hidden] {
	display: none;
}

/* ---------------------------------------------------------------- 3. owned panel shapes */

/* each step is a panel; these carry the whole look (no Bootstrap .panel names on the markup since 11-16) */
.evr-step-panel {
	margin-bottom: 20px;
	background: #ffffff;
	border: 1px solid var(--mms-secondary-light);
	border-radius: var(--mms-radius);
}

.evr-step-heading {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 12px;
	padding: 10px 15px;
	font-size: 18px;
	font-weight: 600;
	color: var(--mms-text);
	background: var(--mms-light-gray);
	border-bottom: 1px solid var(--mms-secondary-light);
	border-radius: var(--mms-radius) var(--mms-radius) 0 0;
}

/* flow-root keeps floated content (the event logo, the attendee form's checkbox rows) inside the step, the job
   Bootstrap's .panel-body clearfix did */
.evr-step-body {
	display: flow-root;
	padding: 15px;
}

/* the event-info panel has no heading of its own; its body is the Show More window */
.evr-event-panel .evr-step-body {
	padding-top: 15px;
}

/* a step's intro line and the small notes under its fields (the page-by-page pass, 11-12; they replace <br /> stacks) */
.evr-step-intro {
	max-width: 72ch;
	margin: 0 0 16px 0;
	font-size: 16px;
	line-height: 1.55;
}

.evr-step-note {
	margin: 0 0 16px 0;
	font-size: 14px;
	line-height: 1.5;
	color: var(--mms-secondary-dark);
}

/* the login step (page-by-page pass, 11-12): the Member and Guest sides are titled blocks; on a phone the guest side
   follows the member side under a hairline */
.evr-login-title {
	margin: 0 0 6px 0;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
}

.evr-login-lead {
	margin: 0 0 16px 0;
	font-size: 15px;
	line-height: 1.5;
}

.evr-login-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 16px;
}

.evr-login-forgot {
	font-size: 14px;
}

@media (max-width: 767px) {
	.evr-login-guest {
		margin-top: 20px;
		padding-top: 20px;
		border-top: 1px solid var(--mms-light-gray);
	}
}

/* visually hidden, read by assistive tech (a radio group's legend where the org shows no question) */
.evr-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* the join choice (Yes / No radio group on the membership offer step): the question carries the weight, the two
   options have room, and the group stands clear of the intro above it */
.evr-join-choice {
	margin: 32px 0 8px 0;
	gap: 12px;
}

/* choice cards (the event editor's field-type picker look, fchange1): a radio inside a bordered card, the picked one
   on the org colour, an unavailable one greyed with its reason inside. The card is a <label>, so the whole card
   picks; the picked state is CSS (:has), no script. Reusable wherever a step offers a few options. */
.evr-choice-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 12px;
}

:is(#mms-main, #mheader_5_wrapper) .evr-choice-grid .evr-choice-card {
	position: relative;
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 12px;
	margin: 0;
	padding: 14px 16px;
	font-size: 15px;
	font-weight: 400;
	color: var(--mms-text);
	background: #ffffff;
	border: 1px solid var(--mms-secondary-light);
	border-radius: 8px;
	cursor: pointer;
	transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

:is(#mms-main, #mheader_5_wrapper) .evr-choice-grid .evr-choice-card:hover {
	border-color: var(--mms-secondary);
}

:is(#mms-main, #mheader_5_wrapper) .evr-choice-grid .evr-choice-card > input[type="radio"] {
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	margin: 2px 0 0 0;
	accent-color: var(--evr-brand, var(--org-link-color, var(--mms-primary)));
}

.evr-choice-card .evr-choice-body {
	flex: 1 1 auto;
	min-width: 0;
}

.evr-choice-card .evr-choice-name {
	display: block;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
}

.evr-choice-card .evr-choice-desc {
	display: block;
	margin-top: 4px;
	font-size: 13px;
	line-height: 1.45;
	color: var(--mms-secondary-dark);
}

:is(#mms-main, #mheader_5_wrapper) .evr-choice-grid .evr-choice-card:has(input:checked) {
	border-color: var(--evr-brand, var(--org-link-color, var(--mms-primary)));
	background: var(--mms-light-gray);
	background: color-mix(in srgb, var(--evr-brand, var(--org-link-color, var(--mms-primary))) 6%, #ffffff);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--evr-brand, var(--org-link-color, var(--mms-primary))) 12%, transparent);
}

:is(#mms-main, #mheader_5_wrapper) .evr-choice-grid .evr-choice-card.is-unavailable {
	opacity: 0.55;
	cursor: not-allowed;
	background: var(--mms-light-gray);
}

:is(#mms-main, #mheader_5_wrapper) .evr-join-choice > legend {
	margin-bottom: 14px;
	font-size: 17px;
	font-weight: 600;
	color: var(--mms-text);
}

:is(#mms-main, #mheader_5_wrapper) .evr-join-choice label {
	font-size: 16px;
	color: var(--mms-text);
	font-weight: 400;
}

/* the two answer cards sit centred under the question (Bill 11-13), each no wider than 320px */
.evr-join-choice .evr-choice-grid {
	grid-template-columns: repeat(auto-fit, minmax(240px, 320px));
	justify-content: center;
}

/* the waiver step (members/waiver/sign_waiver.php, a page shared by a dozen modules): these rules reach it only when
   it prints inside the registration flow, where it wraps itself in .evr-waiver */
.evr-waiver .evr-waiver-desc {
	margin: 0 0 20px 0;
	font-size: 16px;
	line-height: 1.55;
}

.evr-waiver .evr-waiver-text {
	margin: 0 0 20px 0;
	border-color: var(--mms-secondary-light) !important;
	border-radius: var(--mms-radius);
	font-size: 15px;
	line-height: 1.5;
}

/* the pad library's stylesheet makes the whole waiver form 450px wide (.sigPad); on a phone that ran the instructions,
   the pad and the Agree button past the step (Bill 11-16). 450px stays on a wide screen, the step's width on a phone */
.evr-waiver .sigPad {
	max-width: 100%;
}

.evr-waiver .sigWrapper {
	margin: 8px 0 6px 0;
}

.evr-waiver .sigWrapper canvas.pad {
	max-width: 100%;
	border: 1px solid var(--mms-secondary-light);
	border-radius: var(--mms-radius);
}

.evr-waiver .sigNav {
	margin: 0 0 16px 0;
}

/* a step's action row (the Continue button under a form, and any secondary action beside it), left-aligned with the
   fields */
.evr-step-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	margin-top: 24px;
}

/* two fields on one line (the contact page's organization + position, Bill 11-12): each takes half, a lone one takes
   the row, and they stack on a phone; the organization address (a textarea) always takes a full line after the pair.
   The width helpers inside give way to the column. */
.evr-field-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0 20px;
}

.evr-field-row > .form-group,
.evr-field-row > #other_org {
	flex: 1 1 280px;
	min-width: 0;
}

/* (no CSS reordering here: the markup puts position before the address so Tab follows the eye) */
.evr-field-row > .evr-org-address-group {
	flex-basis: 100%;
}

/* the name row: salutation and suffix stay narrow, the names take the rest; the phone row: every number a column */
.evr-field-row > .evr-field-narrow {
	flex: 0 1 150px;
}

.evr-field-row > .evr-field-col {
	flex: 1 1 200px;
	min-width: 0;
}

/* on a phone the action row stacks, every button full width, in markup order (the optional action above Continue) */
@media (max-width: 767px) {
	:is(#mms-main, #mheader_5_wrapper) .evr-step-body .evr-step-actions .mms-button {
		width: 100%;
		justify-content: center;
	}
}

/* on a phone every item of a row takes the full width, so a narrow salutation never sits alone at 150px */
@media (max-width: 767px) {
	.evr-field-row > .form-group,
	.evr-field-row > .evr-field-narrow,
	.evr-field-row > .evr-field-col,
	.evr-field-row > #other_org {
		flex-basis: 100%;
	}
}

/* the attendee form carries its width helpers on the field WRAPPER (dd-turned-div), so the control rule names the
   controls and the wrapper takes its column's width */
.evr-field-row .evr-field-input {
	width: 100% !important;
}

.evr-field-row :is(input, select, textarea).long-input,
.evr-field-row :is(input, select, textarea).medium-input,
.evr-field-row :is(input, select, textarea).short-input {
	width: 100% !important;
}

/* buttons (Bill 11-12): the component library gives every .mms-button 1.25em above and below, which is far too much
   inside these forms. The library's rule is a selector list that scores (1,1,0) on any print_header page, so this
   one carries an id and two classes (1,2,0) to win on score rather than on load order (memory
   reference_mms_button_margin_specificity). Scoped to the step panels, the dialogs and the classic pages' rows. */
:is(#mms-main, #mheader_5_wrapper) :is(.evr-step-body, .mms-modal, .row) .mms-button {
	margin: 0.5em 0;
}

/* the shell's dialogs and the summary's attendee detail are native <dialog class="mms-modal"> elements (shell
   refresh). The base .mms-modal rules come from the component library; these three are the EVR additions that
   members/secure/evr/evr_styles.css carries for the admin pages (lifted, since that file is not loaded here) */
.mms-modal.mms-modal-lg {
	max-width: 800px;
	width: calc(100% - 30px);
}

.mms-modal .mms-modal-footer {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	padding-top: 18px;
	margin-top: 22px;
	border-top: 1px solid var(--mms-secondary-light);
}

:is(#mms-main, #mheader_5_wrapper) .mms-modal .mms-modal-footer .mms-button {
	margin: 0;
}

/* the forced-Bootstrap reset zeroes the close X's auto margin and drops it to the left; re-assert it */
#mheader_5_wrapper .mms-modal .mms-modal-x {
	margin-inline: auto 0;
}

/* the profile-update dialog's diff (update_profile.php): field, current value, new value */
.evr-profile-intro,
.evr-profile-note {
	margin: 0 0 14px 0;
	font-size: 15px;
	line-height: 1.5;
}

.evr-profile-diff {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
	line-height: 1.4;
}

.evr-profile-diff th,
.evr-profile-diff td {
	padding: 8px 10px;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid var(--mms-light-gray);
}

.evr-profile-diff th {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--mms-secondary-dark);
	border-bottom: 1px solid var(--mms-secondary-light);
}

.evr-profile-diff td:first-child {
	font-weight: 600;
	white-space: nowrap;
}

.evr-profile-old {
	color: var(--mms-secondary-dark);
}

.evr-profile-old:empty::before {
	content: "\2014";
	color: var(--mms-secondary);
}

.evr-profile-new {
	font-weight: 600;
}

/* "Step N of T" beside a panel title (reg_main appends it; the Back pill keeps the right edge) */
.evr-step-count {
	font-size: 12px;
	font-weight: 400;
	font-style: italic;
	color: var(--mms-secondary-dark);
	white-space: nowrap;
}

/* each step panel's title leads with a coloured outline glyph (Bill 11-13; the same font and colour classes as the
   attendee form's section headings, nothing behind it) */
.evr-step-heading .evr-step-glyph {
	flex: 0 0 auto;
	font-size: 20px;
	line-height: 1;
}

.evr-step-heading .evr-step-glyph::before {
	vertical-align: 0;
}

/* ---------------------------------------------------------------- 3b. the partials and the attendee form (B1 step 2) */

/* inputs the shared utilities::formInput() helper builds carry Bootstrap's form-control beside the library class
   (the helper hard-codes it); the forced Bootstrap rule is #mheader_5_wrapper .form-control, so an owned rule of
   higher specificity gives a field that carries both classes the library look. Raw-markup inputs on these pages
   carry the library class alone and never reach this rule */
#mheader_5_wrapper .form-control.mms-text-field,
#mheader_5_wrapper .form-control.mms-select-field,
#mheader_5_wrapper .form-control.mms-textarea-field,
#mheader_5_wrapper .form-control.mms-number-field {
	height: unset;
	padding: 10px 15px;
	font-size: 16px;
	line-height: inherit;
	color: var(--mms-text);
	border: 1px solid var(--mms-secondary-light);
	border-radius: var(--org-radius, var(--mms-radius));
	box-shadow: none;
}

/* the shared dynamic-custom-field renderer (dynamicCustomFields, "BOOTSTRAP" mode: the membership form's
   #dcf_container, the contact page's consent block) prints plain Bootstrap form-control inputs with no library
   class. Not edited (it serves the whole application); its fields get the library look here instead (Bill 11-13:
   the membership form's inputs looked half-updated). select2 selects keep their own widget. */
:is(#mms-main, #mheader_5_wrapper) #dcf_container input.form-control:not([type="checkbox"]):not([type="radio"]),
:is(#mms-main, #mheader_5_wrapper) #dcf_container select.form-control:not(.select2),
:is(#mms-main, #mheader_5_wrapper) #dcf_container textarea.form-control {
	display: block;
	width: 100%;
	height: unset;
	padding: 10px 15px;
	font-size: 16px;
	line-height: inherit;
	color: var(--mms-text);
	background: #ffffff;
	border: 1px solid var(--mms-secondary-light);
	border-radius: var(--org-radius, var(--mms-radius));
	box-shadow: none;
}

:is(#mms-main, #mheader_5_wrapper) #dcf_container input.form-control.short-input {
	width: 35%;
}

:is(#mms-main, #mheader_5_wrapper) #dcf_container input.form-control.medium-input,
:is(#mms-main, #mheader_5_wrapper) #dcf_container select.form-control.long-input {
	width: 60%;
}

:is(#mms-main, #mheader_5_wrapper) #dcf_container textarea.form-control {
	min-height: 110px;
}

#dcf_container .form-group {
	margin-bottom: 20px;
}

@media (max-width: 767px) {
	:is(#mms-main, #mheader_5_wrapper) #dcf_container input.form-control.short-input,
	:is(#mms-main, #mheader_5_wrapper) #dcf_container input.form-control.medium-input,
	:is(#mms-main, #mheader_5_wrapper) #dcf_container select.form-control.long-input {
		width: 100%;
	}
}

/* the attendee form's own spacing (was an inline block inside buildRegistrationForm) */
#evr_registration_form .form-group {
	margin-bottom: 25px !important;
}

#evr_registration_form .select2 {
	width: 100% !important;
}

/* the attendee form (page-by-page pass, 11-13): a picked package or option row shows it (the radio alone is small) in
   the org's colour, the same fallback chain as the join page's choice cards (Bill 11-13: the org colour, not the
   MemberLeap red); the focused notice panel needs no ring of its own, the panel is the signal */
.evr-package-color:has(input:checked),
.evr-radio-color:has(input:checked) {
	border-color: var(--evr-brand, var(--org-link-color, var(--mms-primary)));
	box-shadow: inset 3px 0 0 var(--evr-brand, var(--org-link-color, var(--mms-primary)));
}

#error-box:focus {
	outline: none;
}

/* the attendee form's polish (Bill 11-13, "all nine"): the sections line up with the heading (no 90% indent), the
   headings are a clear tier with an even rhythm (the <br /> stacks after them hidden), the notes are readable, the
   package and option rows are cards you can click anywhere on, the price column reads as a column, and the sold-out /
   not-available / openings states are badges */
#evr_registration_form .evr-section-container,
#evr_registration_form .evr-radio-container {
	width: 100%;
}

:is(#evr_registration_form, .evr-files-step, .evr-pmt-step, .evr-team-step, .evr-sum-step, .evr-complete-step, #eventreg_mem2_form, .evr-mlp-layout) .evr-section-heading {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 32px 0 14px 0;
	padding-bottom: 8px;
	font-size: 18px;
	line-height: 1.3;
	border-bottom: 1px solid var(--mms-secondary-light);
}

:is(#evr_registration_form, .evr-files-step, .evr-pmt-step, .evr-team-step, .evr-sum-step, .evr-complete-step, #eventreg_mem2_form, .evr-mlp-layout) .evr-section-heading + br,
:is(#evr_registration_form, .evr-files-step, .evr-pmt-step, .evr-team-step, .evr-sum-step, .evr-complete-step, #eventreg_mem2_form, .evr-mlp-layout) .evr-section-heading + br + br {
	display: none;
}

/* the heading's glyph (Bill 11-13, take two): a Bootstrap Icons outline glyph in colour beside the text, nothing
   behind it (the tinted tiles were tried and taken out); the font is on both flows through pageWrapper's forced-
   Bootstrap branch. The colours are the hub's tile foregrounds (members/secure/evr/evr_styles.css .evr-hub-icon-*) */
:is(#evr_registration_form, .evr-files-step, .evr-pmt-step, .evr-team-step, .evr-sum-step, .evr-complete-step, #eventreg_mem2_form, .evr-mlp-layout) .evr-section-glyph {
	flex: 0 0 auto;
	font-size: 22px;
	line-height: 1;
}

:is(#evr_registration_form, .evr-files-step, .evr-pmt-step, .evr-team-step, .evr-sum-step, .evr-complete-step, #eventreg_mem2_form, .evr-mlp-layout) .evr-section-glyph::before {
	vertical-align: 0;
}

/* the files step (page-by-page pass, 11-13): the attendee card and the file list side by side (stacking on a phone),
   each file a row with its edit and delete controls at the right, the upload button under the list */
.evr-files-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 0 30px;
	margin-top: 8px;
}

.evr-files-col {
	flex: 1 1 280px;
	min-width: 0;
}

.evr-files-col .evr-section-heading {
	margin-top: 0;
}

:is(#mms-main, #mheader_5_wrapper) .evr-files-attendee {
	margin: 0 0 16px 0;
	line-height: 1.6;
}

.evr-file-list {
	margin: 0 0 4px 0;
	padding: 0;
	list-style: none;
}

.evr-file-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 8px 0;
	border-bottom: 1px solid var(--mms-light-gray);
}

.evr-file-name {
	min-width: 0;
	overflow-wrap: anywhere;
}

.evr-file-actions {
	display: inline-flex;
	gap: 4px;
	flex: 0 0 auto;
}

:is(#mms-main, #mheader_5_wrapper) .evr-file-actions a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: var(--mms-radius);
	color: var(--mms-secondary-dark);
}

:is(#mms-main, #mheader_5_wrapper) .evr-file-actions a:hover,
:is(#mms-main, #mheader_5_wrapper) .evr-file-actions a:focus-visible {
	color: var(--mms-primary);
	background: var(--mms-light-gray);
}

:is(#mms-main, #mheader_5_wrapper) .evr-file-actions svg {
	width: 16px;
	height: 16px;
}

.evr-files-actions {
	margin-top: 12px;
}

/* the file edit form (page-by-page pass, 11-13; in the files dialog and on the classic page): a field's helper text
   and the file input as a plain bordered control */
:is(#mms-main, #mheader_5_wrapper) .evr-field-note {
	margin: 4px 0 0 0;
	font-size: 13px;
	line-height: 1.5;
	color: var(--mms-secondary-dark);
}

.evr-file-input {
	display: block;
	width: 100%;
	padding: 10px 12px;
	font-size: 15px;
	color: var(--mms-text);
	background: var(--mms-light-gray);
	border: 1px dashed var(--mms-secondary-light);
	border-radius: var(--mms-radius);
}

.evr-file-input:focus-visible {
	outline: 2px solid var(--mms-primary);
	outline-offset: 2px;
}

/* the booth step (page-by-page pass, 11-13; these rules were an inline block in eventreg_booth.php, now on the library
   tokens): the editor frame, its toolbar of verbiage / cart / logo, the map stage (whose per-event background colour
   stays inline on the page), the booth states on the map and the tooltip the script appends to <body> */
#booth_editor {
	max-width: 1200px;
	margin: 0 auto;
	padding: 14px;
	background: var(--mms-light-gray);
	border-radius: var(--mms-radius);
}

.boothsel-toolbar {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	align-items: flex-start;
	margin-bottom: 12px;
	padding: 12px 16px;
	background: #ffffff;
	border-radius: var(--mms-radius);
}

.boothsel-verbiage {
	flex: 2 1 320px;
	min-width: 0;
}

/* the side column: the cart, then the logo under it */
.boothsel-side {
	display: flex;
	flex-direction: column;
	gap: 14px;
	flex: 1 1 240px;
	min-width: 0;
}

.boothsel-cart {
	min-width: 0;
}

.boothsel-cart-title {
	margin: 0 0 6px 0;
	font-size: 15px;
	font-weight: 600;
}

.boothsel-cart-list {
	min-height: 60px;
	max-height: 140px;
	padding: 6px;
	overflow-y: auto;
	background: #ffffff;
	border: 1px solid var(--mms-secondary-light);
	border-radius: var(--mms-radius);
}

.boothsel-cart-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
	padding: 4px 6px;
	border-radius: var(--mms-radius);
}

.boothsel-cart-row:nth-child(even) {
	background: var(--mms-light-gray);
}

:is(#mms-main, #mheader_5_wrapper) .boothsel-cart-row .delete_booth {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 28px;
	height: 28px;
	font-size: 18px;
	line-height: 1;
	color: var(--mms-error-dark);
	cursor: pointer;
	border-radius: var(--mms-radius);
}

:is(#mms-main, #mheader_5_wrapper) .boothsel-cart-row .delete_booth:hover,
:is(#mms-main, #mheader_5_wrapper) .boothsel-cart-row .delete_booth:focus-visible {
	background: var(--mms-error);
}

.boothsel-cart-empty {
	display: block;
	padding: 6px;
	font-size: 13px;
	color: var(--mms-secondary-dark);
}

/* the logo line: the uploaded logo at the left, Add Logo at the right (at the right too when there is no logo yet) */
.boothsel-logo {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.boothsel-logo-content {
	flex: 1 1 200px;
	min-width: 0;
	overflow-wrap: anywhere;
}

.boothsel-logo .add_logo {
	flex: 0 0 auto;
}

/* the uploaded logo (booth_logo_content.php): a small preview, the file name and a named remove control in a row */
.boothsel-logo-file {
	display: flex;
	align-items: center;
	gap: 8px;
}

:is(#mms-main, #mheader_5_wrapper) .boothsel-logo-thumb {
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	object-fit: contain;
	background: #ffffff;
	border: 1px solid var(--mms-secondary-light);
	border-radius: var(--mms-radius);
}

.boothsel-logo-name {
	min-width: 0;
	font-size: 13px;
	overflow-wrap: anywhere;
}

:is(#mms-main, #mheader_5_wrapper) .boothsel-logo-file .delete_logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 28px;
	height: 28px;
	color: var(--mms-secondary-dark);
	cursor: pointer;
	border-radius: var(--mms-radius);
}

:is(#mms-main, #mheader_5_wrapper) .boothsel-logo-file .delete_logo:hover,
:is(#mms-main, #mheader_5_wrapper) .boothsel-logo-file .delete_logo:focus-visible {
	color: var(--mms-primary);
	background: var(--mms-light-gray);
}

:is(#mms-main, #mheader_5_wrapper) .boothsel-logo-file .delete_logo svg {
	width: 16px;
	height: 16px;
}

.boothsel-soldout {
	margin: 0 0 12px 0;
	font-style: italic;
	font-weight: 600;
	text-align: center;
	color: var(--mms-error-dark);
}

/* the package limit notice (B1 review, 11-13: the shared .evr-step-notice inside, so no bold red of its own) */
#booth_limit:empty {
	display: none;
}

#boothmap-stage {
	position: relative;
	overflow: hidden;
	border: 1px solid var(--mms-secondary-light);
	border-radius: var(--mms-radius);
}

#boothmap-stage svg {
	display: block;
	width: 100%;
	height: auto;
}

.boothmap-booth {
	transition: filter 0.15s;
}

.boothmap-booth.is-available {
	cursor: pointer;
}

.boothmap-booth.is-available:hover {
	filter: drop-shadow(0 0 8px rgba(50, 50, 50, 0.5));
}

.boothmap-booth.is-mine {
	cursor: pointer;
}

/* a booth reached with Tab (B1 WCAG, 11-13): a dark ring that shows on any floor-plan colour */
.boothmap-booth:focus {
	outline: none;
}

.boothmap-booth:focus-visible {
	outline: 3px solid var(--mms-secondary-deep);
	outline-offset: 2px;
	filter: drop-shadow(0 0 6px rgba(17, 24, 39, 0.6));
}

.boothmap-booth.is-mine:hover {
	filter: drop-shadow(0 0 8px rgba(34, 197, 94, 0.6));
}

.boothmap-booth.is-taken {
	opacity: 0.55;
}

.boothmap-booth.is-display {
	opacity: 0.55;
	cursor: default;
}

/* fixed (not absolute) and appended to <body> by the script, so the stage's overflow can't clip it at an edge */
.boothmap-tip {
	position: fixed;
	display: none;
	max-width: 260px;
	padding: 8px 12px;
	font-size: 13px;
	line-height: 1.45;
	white-space: pre-wrap;
	pointer-events: none;
	background: #ffffff;
	border: 1px solid var(--mms-secondary-light);
	border-radius: var(--mms-radius);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
	z-index: 9999;
}

/* (these rules are scoped to :is(#mms-main, #mheader_5_wrapper) because the component library's and forced Bootstrap's
   #mheader_5_wrapper label / legend / p / dl rules outrank a bare class: they made the rows inline and grey) */
/* the payment method step (page-by-page pass, 11-13): who and what is being paid for, the event's payment note, and
   the methods as rows you can click anywhere on, the picked one in the org colour like the attendee form's packages */
/* the head: who and what at the left, the order total box at the right (stacking on a phone, the box under) */
/* two columns from tablet width up: everything in the left column, the registration card in the right one spanning
   from the top (it is right after the attendee lines in the markup; the span covers the five left-hand blocks) */
:is(#mms-main, #mheader_5_wrapper) .evr-pmt-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	column-gap: 30px;
	align-items: start;
}

@media (min-width: 768px) {
	:is(#mms-main, #mheader_5_wrapper) .evr-pmt-layout {
		grid-template-columns: minmax(0, 1fr) 300px;
	}

	:is(#mms-main, #mheader_5_wrapper) .evr-pmt-layout > .evr-pmt-total {
		grid-column: 2;
		grid-row: 1 / span 6;
	}
}

:is(#mms-main, #mheader_5_wrapper) .evr-pmt-summary {
	min-width: 0;
	margin: 0 0 16px 0;
	line-height: 1.6;
}

:is(#mms-main, #mheader_5_wrapper) .evr-pmt-total {
	min-width: 0;
	margin: 0 0 20px 0;
	background: #ffffff;
	border: 1px solid var(--mms-secondary-light);
	border-top: 3px solid var(--evr-brand, var(--org-link-color, var(--mms-primary)));
	border-radius: var(--mms-radius);
	box-shadow: 0 1px 2px rgba(17, 24, 39, 0.06), 0 4px 12px rgba(17, 24, 39, 0.05);
	overflow: hidden;
}

:is(#mms-main, #mheader_5_wrapper) .evr-pmt-total-title {
	margin: 0;
	padding: 10px 16px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--mms-secondary-dark);
	background: var(--mms-light-gray);
	border-bottom: 1px solid var(--mms-secondary-light);
}

:is(#mms-main, #mheader_5_wrapper) .evr-pmt-total-list {
	margin: 0;
	padding: 10px 16px 12px 16px;
}

:is(#mms-main, #mheader_5_wrapper) .evr-pmt-total-row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 16px;
	padding: 3px 0;
	font-size: 15px;
}

:is(#mms-main, #mheader_5_wrapper) .evr-pmt-total-row dt {
	margin: 0;
	font-weight: 400;
	color: var(--mms-secondary-dark);
}

:is(#mms-main, #mheader_5_wrapper) .evr-pmt-total-row dd {
	margin: 0;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
	color: var(--mms-text);
}

:is(#mms-main, #mheader_5_wrapper) .evr-pmt-total-row[hidden] {
	display: none;
}

:is(#mms-main, #mheader_5_wrapper) .evr-pmt-total-discount dd,
:is(#mms-main, #mheader_5_wrapper) .evr-pmt-total-paid dd {
	color: var(--mms-success-dark);
}

/* the Total on a heavier rule */
:is(#mms-main, #mheader_5_wrapper) .evr-pmt-total-grand {
	margin-top: 6px;
	padding-top: 8px;
	border-top: 1px solid var(--mms-secondary-light);
	font-size: 18px;
}

:is(#mms-main, #mheader_5_wrapper) .evr-pmt-total-grand dt,
:is(#mms-main, #mheader_5_wrapper) .evr-pmt-total-grand dd {
	font-weight: 700;
	color: var(--mms-text);
}

/* the figure to pay, on a soft band of the org colour */
:is(#mms-main, #mheader_5_wrapper) .evr-pmt-total-due {
	margin: 8px -16px -12px -16px;
	padding: 10px 16px;
	font-size: 17px;
	background: color-mix(in srgb, var(--evr-brand, var(--org-link-color, var(--mms-primary))) 9%, #ffffff);
	border-top: 1px solid color-mix(in srgb, var(--evr-brand, var(--org-link-color, var(--mms-primary))) 25%, #ffffff);
}

:is(#mms-main, #mheader_5_wrapper) .evr-pmt-total-due dt,
:is(#mms-main, #mheader_5_wrapper) .evr-pmt-total-due dd {
	font-weight: 700;
	color: var(--mms-text);
}


:is(#mms-main, #mheader_5_wrapper) .evr-pmt-summary p {
	margin: 0 0 2px 0;
}

:is(#mms-main, #mheader_5_wrapper) .evr-pmt-summary-label {
	font-weight: 600;
}

:is(#mms-main, #mheader_5_wrapper) .evr-pmt-note {
	margin: 0 0 20px 0;
	padding: 10px 14px;
	line-height: 1.5;
	background: var(--mms-light-gray);
	border-left: 3px solid var(--evr-brand, var(--org-link-color, var(--mms-primary)));
	border-radius: 0 var(--mms-radius) var(--mms-radius) 0;
}

:is(#mms-main, #mheader_5_wrapper) .evr-pmt-options {
	margin: 0;
	padding: 0;
	border: 0;
	min-width: 0;
}

:is(#mms-main, #mheader_5_wrapper) .evr-pmt-option {
	display: flex;
	width: 100%;
	align-items: center;
	gap: 12px;
	margin: 0 0 2px 0;
	padding: 9px 12px;
	font-size: 16px;
	font-weight: 400;
	color: var(--mms-text);
	cursor: pointer;
	background: transparent;
	border: 0;
	border-radius: var(--mms-radius);
	transition: background-color 120ms ease;
}

:is(#mms-main, #mheader_5_wrapper) .evr-pmt-option > input[type="radio"] {
	flex: 0 0 auto;
	margin: 0;
	accent-color: var(--evr-brand, var(--org-link-color, var(--mms-primary)));
}

:is(#mms-main, #mheader_5_wrapper) .evr-pmt-option-text {
	min-width: 0;
	line-height: 1.4;
}

/* (Bill 11-13: no borders, the bordered rows were busy) a light tint on hover, the picked row a soft wash of the org
   colour with its wording in bold, a ring when tabbed to */
:is(#mms-main, #mheader_5_wrapper) .evr-pmt-option:hover {
	background-color: var(--mms-light-gray);
}

:is(#mms-main, #mheader_5_wrapper) .evr-pmt-option:has(input:checked) {
	background-color: color-mix(in srgb, var(--evr-brand, var(--org-link-color, var(--mms-primary))) 8%, #ffffff);
}

:is(#mms-main, #mheader_5_wrapper) .evr-pmt-option:has(input:checked) .evr-pmt-option-text {
	font-weight: 600;
}

:is(#mms-main, #mheader_5_wrapper) .evr-pmt-option:has(input:focus-visible) {
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--evr-brand, var(--org-link-color, var(--mms-primary))) 45%, transparent);
}

/* the MemberLeap Pay page (page-by-page pass, 11-13): the registration card at the right of the billing form, the
   Drop-in and the Pay button (above them on a phone: the card is first in the markup); inside the card the amount
   controls sit as labelled full-width fields and the deposit toggle stacks */
:is(#mms-main, #mheader_5_wrapper) .evr-mlp-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	column-gap: 30px;
	align-items: start;
}

:is(#mms-main, #mheader_5_wrapper) .evr-mlp-main {
	min-width: 0;
}

@media (min-width: 768px) {
	:is(#mms-main, #mheader_5_wrapper) .evr-mlp-layout {
		grid-template-columns: minmax(0, 1fr) 320px;
	}

	:is(#mms-main, #mheader_5_wrapper) .evr-mlp-layout > .evr-pmt-total {
		grid-column: 2;
		grid-row: 1;
	}

	:is(#mms-main, #mheader_5_wrapper) .evr-mlp-layout > .evr-mlp-main {
		grid-column: 1;
		grid-row: 1;
	}
}

:is(#mms-main, #mheader_5_wrapper) .evr-mlp-history {
	border-bottom: 1px solid var(--mms-secondary-light);
}

:is(#mms-main, #mheader_5_wrapper) .evr-mlp-paying {
	padding: 12px 16px 4px 16px;
	border-bottom: 1px solid var(--mms-light-gray);
}

:is(#mms-main, #mheader_5_wrapper) #mlp-amount .mlp-amt-field {
	margin: 0 0 12px 0;
}

:is(#mms-main, #mheader_5_wrapper) #mlp-amount .evr-mlp-field-label {
	display: block;
	margin: 0 0 6px 0;
	font-size: 14px;
	font-weight: 600;
	color: var(--mms-text);
}

/* the currency inside the field (the library has no input-group / addon) */
:is(#mms-main, #mheader_5_wrapper) #mlp-amount .mlp-cur-field {
	position: relative;
	display: block;
	width: 100%;
}

:is(#mms-main, #mheader_5_wrapper) #mlp-amount .mlp-cur-sym {
	position: absolute;
	top: 50%;
	left: 12px;
	transform: translateY(-50%);
	pointer-events: none;
	color: var(--mms-secondary-dark);
}

:is(#mms-main, #mheader_5_wrapper) #mlp-amount .mlp-cur-field .mms-number-field {
	width: 100%;
	padding-left: 28px;
}

:is(#mms-main, #mheader_5_wrapper) #mlp-amount .mms-small-note {
	display: block;
	margin-top: 6px;
	font-size: 13px;
	color: var(--mms-secondary-dark);
}

/* the deposit toggle stacks inside the card: one full-width option per line, the figure at the right */
:is(#mms-main, #mheader_5_wrapper) #mlp-amount .mms-pill-field {
	display: flex;
	flex-direction: column;
	width: 100%;
	font-size: 15px;
}

:is(#mms-main, #mheader_5_wrapper) #mlp-amount .mms-pill-field button {
	justify-content: space-between;
	width: 100%;
	border-radius: 0;
	text-align: left;
}

:is(#mms-main, #mheader_5_wrapper) #mlp-amount .mms-pill-field button + button {
	border-top: 1px solid var(--mms-secondary-light);
}

:is(#mms-main, #mheader_5_wrapper) #mlp-amount .evr-mlp-opt-amt {
	font-variant-numeric: tabular-nums;
}

:is(#mms-main, #mheader_5_wrapper) #mlp-amount .mlp-other-cell {
	display: block;
	padding: 8px 10px;
	border-top: 1px solid var(--mms-secondary-light);
}

/* the library's valid / invalid outlines draw a rounded ring around the digits; a plain focus outline instead */
:is(#mms-main, #mheader_5_wrapper) #mlp-amount .mms-number-field:user-valid,
:is(#mms-main, #mheader_5_wrapper) #mlp-amount .mms-number-field:user-invalid {
	outline: none;
}

:is(#mms-main, #mheader_5_wrapper) #mlp-amount .mms-number-field:focus {
	outline: 2px solid var(--evr-brand, var(--org-link-color, var(--mms-primary)));
	outline-offset: 2px;
}

/* the team step (page-by-page pass, 11-13): the head-cook search and the create-a-team column side by side
   (stacking on a phone), the search field with its button beside it, the results in the library table */
:is(#mms-main, #mheader_5_wrapper) .evr-team-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 30px;
	margin: 0 0 8px 0;
}

:is(#mms-main, #mheader_5_wrapper) .evr-team-col {
	flex: 1 1 280px;
	min-width: 0;
}

:is(#mms-main, #mheader_5_wrapper) .evr-team-label {
	display: block;
	margin: 0 0 6px 0;
	font-size: 15px;
	font-weight: 600;
	color: var(--mms-text);
}

:is(#mms-main, #mheader_5_wrapper) .evr-team-search {
	display: flex;
	gap: 8px;
	align-items: stretch;
}

:is(#mms-main, #mheader_5_wrapper) .evr-team-search .mms-text-field {
	flex: 1 1 auto;
	min-width: 0;
	max-width: 240px;
}

:is(#mms-main, #mheader_5_wrapper) .evr-team-step .evr-team-search .mms-button {
	margin: 0;
}

:is(#mms-main, #mheader_5_wrapper) .evr-team-create-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 12px;
	align-items: center;
}

:is(#mms-main, #mheader_5_wrapper) .evr-team-captain-note {
	margin-top: 8px;
	font-style: italic;
}

:is(#mms-main, #mheader_5_wrapper) .evr-team-current {
	margin: 0 0 20px 0;
	padding: 12px 14px;
	background: var(--mms-light-gray);
	border-left: 3px solid var(--evr-brand, var(--org-link-color, var(--mms-primary)));
	border-radius: 0 var(--mms-radius) var(--mms-radius) 0;
}

:is(#mms-main, #mheader_5_wrapper) .evr-team-current p {
	margin: 0;
}

:is(#mms-main, #mheader_5_wrapper) .evr-team-current .evr-step-actions {
	margin-top: 10px;
}

:is(#mms-main, #mheader_5_wrapper) .evr-team-kq-actions {
	margin-top: 0;
}

:is(#mms-main, #mheader_5_wrapper) .evr-team-table {
	width: 100%;
}

:is(#mms-main, #mheader_5_wrapper) .evr-team-table .evr-team-pick {
	text-align: right;
	white-space: nowrap;
}

:is(#mms-main, #mheader_5_wrapper) .evr-team-empty {
	margin: 16px 0;
	padding: 14px 16px;
	text-align: center;
	color: var(--mms-secondary-dark);
	background: var(--mms-light-gray);
	border-radius: var(--mms-radius);
}

:is(#mms-main, #mheader_5_wrapper) .evr-team-empty p {
	margin: 0 0 6px 0;
}

:is(#mms-main, #mheader_5_wrapper) .evr-team-registered {
	margin: 16px 0 0 0;
	color: var(--mms-secondary-dark);
}

:is(#mms-main, #mheader_5_wrapper) .evr-team-registered p {
	margin: 0 0 4px 0;
}

@media (max-width: 767px) {
	:is(#mms-main, #mheader_5_wrapper) .evr-team-search .mms-text-field {
		max-width: none;
	}
}

/* the member-question step (evr_redirect.php, page-by-page pass, 11-13): each question is the join offer's choice
   cards; the first sits at the top of the step, the member number field is centred under the member question */
:is(#mms-main, #mheader_5_wrapper) .evr-redirect-step .evr-redirect-question:first-of-type {
	margin-top: 0;
}

:is(#mms-main, #mheader_5_wrapper) .evr-redirect-memnum {
	max-width: 320px;
	margin: 0 auto 8px auto;
}

:is(#mms-main, #mheader_5_wrapper) .evr-redirect-memnum label {
	display: block;
	margin: 0 0 6px 0;
	font-size: 15px;
	font-weight: 600;
	color: var(--mms-text);
}

/* the conflict message (evr_conflict.php, page-by-page pass, 11-13), shown inside a step's notice panel: a bold title,
   the sentence, the affected items as a list, the return button under them */
:is(#mms-main, #mheader_5_wrapper) .evr-conflict p {
	margin: 0 0 8px 0;
}

:is(#mms-main, #mheader_5_wrapper) .evr-conflict .evr-conflict-title {
	font-size: 16px;
	font-weight: 700;
}

:is(#mms-main, #mheader_5_wrapper) .evr-conflict-list {
	margin: 0 0 4px 0;
	padding-left: 20px;
}

:is(#mms-main, #mheader_5_wrapper) .evr-conflict-list li {
	margin: 0 0 4px 0;
}

:is(#mms-main, #mheader_5_wrapper) .evr-conflict .evr-step-actions {
	margin-top: 12px;
}

/* the booth dialog's content (booth_select.php / booth_delete.php, page-by-page pass, 11-13): the booth as a small
   card - its name, its number and price, its description in muted text - then the hint, or the package-limit alert */
:is(#mms-main, #mheader_5_wrapper) .evr-booth-info {
	margin: 0 0 12px 0;
	padding: 12px 14px;
	background: var(--mms-light-gray);
	border-left: 3px solid var(--evr-brand, var(--org-link-color, var(--mms-primary)));
	border-radius: 0 var(--mms-radius) var(--mms-radius) 0;
}

:is(#mms-main, #mheader_5_wrapper) .evr-booth-info p {
	margin: 0;
}

:is(#mms-main, #mheader_5_wrapper) .evr-booth-info .evr-booth-info-name {
	font-size: 17px;
	font-weight: 700;
	color: var(--mms-text);
}

:is(#mms-main, #mheader_5_wrapper) .evr-booth-info .evr-booth-info-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 14px;
	margin-top: 2px;
	font-weight: 600;
	color: var(--mms-secondary-dark);
}

:is(#mms-main, #mheader_5_wrapper) .evr-booth-info .evr-booth-info-price {
	color: var(--mms-text);
}

:is(#mms-main, #mheader_5_wrapper) .evr-booth-info .evr-booth-info-desc {
	margin-top: 8px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--mms-secondary-dark);
}

:is(#mms-main, #mheader_5_wrapper) .evr-booth-info-question {
	margin: 0 0 10px 0;
	font-weight: 600;
}

:is(#mms-main, #mheader_5_wrapper) .evr-booth-info-hint {
	margin: 0;
	font-size: 14px;
	font-style: italic;
	color: var(--mms-secondary-dark);
}

:is(#mms-main, #mheader_5_wrapper) .evr-booth-info-limit {
	margin: 0;
	padding: 10px 12px;
	font-weight: 600;
	color: var(--mms-error-dark);
	background: var(--mms-error);
	border-radius: var(--mms-radius);
}

/* the summary (eventreg3.php, B1 step 4, 11-13): two columns from tablet width up - the contact, the attendee cards
   and their actions at the left, the registration card (the payment steps' card) and Complete at the right; one
   column on a phone, the card and Complete last */
/* the intro has room above and below it before the columns start (Bill 11-13) */
:is(#mms-main, #mheader_5_wrapper) .evr-sum-step > .evr-step-intro {
	margin: 6px 0 28px 0;
}

:is(#mms-main, #mheader_5_wrapper) .evr-sum-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	column-gap: 30px;
	align-items: start;
}

@media (min-width: 992px) {
	:is(#mms-main, #mheader_5_wrapper) .evr-sum-layout {
		grid-template-columns: minmax(0, 1fr) 320px;
	}
}

:is(#mms-main, #mheader_5_wrapper) .evr-sum-main,
:is(#mms-main, #mheader_5_wrapper) .evr-sum-aside {
	min-width: 0;
}

:is(#mms-main, #mheader_5_wrapper) .evr-sum-step .evr-sum-main > .evr-section-heading:first-child,
:is(#mms-main, #mheader_5_wrapper) .evr-sum-step .evr-sum-main > .evr-sum-head-row:first-child {
	margin-top: 0;
}

/* the contact card */
:is(#mms-main, #mheader_5_wrapper) .evr-sum-head-row {
	display: flex;
	align-items: flex-end;
	gap: 8px;
	margin: 0 0 14px 0;
	border-bottom: 1px solid var(--mms-secondary-light);
}

:is(#mms-main, #mheader_5_wrapper) .evr-sum-step .evr-sum-head-row .evr-section-heading {
	flex: 1 1 auto;
	margin: 0;
	border-bottom: 0;
}

:is(#mms-main, #mheader_5_wrapper) .evr-sum-head-action {
	flex: 0 0 auto;
	padding-bottom: 6px;
}

/* the contact edit: the shell's pill look, a little larger, with the pencil and the org's label together */
:is(#mms-main, #mheader_5_wrapper) a.evr-sum-edit-pill,
:is(#mms-main, #mheader_5_wrapper) a.evr-sum-edit-pill:visited {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 12px;
	font-size: 13px;
	color: var(--org-link-color, var(--mms-primary));
}

:is(#mms-main, #mheader_5_wrapper) a.evr-sum-edit-pill:hover,
:is(#mms-main, #mheader_5_wrapper) a.evr-sum-edit-pill:focus-visible {
	background: var(--mms-light-gray);
	color: var(--org-link-color, var(--mms-primary));
}

:is(#mms-main, #mheader_5_wrapper) .evr-sum-edit-pill-icon {
	display: inline-flex;
}

:is(#mms-main, #mheader_5_wrapper) .evr-sum-edit-pill-icon svg {
	width: 14px;
	height: 14px;
}

:is(#mms-main, #mheader_5_wrapper) .evr-sum-contact-lines {
	margin: 0 0 8px 0;
	line-height: 1.6;
	overflow-wrap: anywhere;
}

/* the attendee cards: two across in the left column, one on a phone (and for MDSN, #101409) */
:is(#mms-main, #mheader_5_wrapper) .evr-sum-att-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 14px;
}

:is(#mms-main, #mheader_5_wrapper) .evr-sum-att {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 12px 14px;
	background: #ffffff;
	border: 1px solid var(--mms-secondary-light);
	border-top: 3px solid var(--evr-brand, var(--org-link-color, var(--mms-primary)));
	border-radius: var(--mms-radius);
	box-shadow: 0 1px 2px rgba(17, 24, 39, 0.05);
}

:is(#mms-main, #mheader_5_wrapper) .evr-sum-att-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 8px;
	margin: 0 0 8px 0;
}

:is(#mms-main, #mheader_5_wrapper) .evr-sum-att-name {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
	overflow-wrap: anywhere;
}

:is(#mms-main, #mheader_5_wrapper) .evr-sum-att-org {
	margin: -4px 0 8px 0;
	font-size: 14px;
	color: var(--mms-secondary-dark);
}

:is(#mms-main, #mheader_5_wrapper) .evr-sum-att-actions {
	display: inline-flex;
	gap: 2px;
	flex: 0 0 auto;
}

:is(#mms-main, #mheader_5_wrapper) .evr-sum-icon-btn,
:is(#mms-main, #mheader_5_wrapper) .evr-sum-info-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	color: var(--mms-secondary-dark);
	cursor: pointer;
	border-radius: var(--mms-radius);
	vertical-align: middle;
}

:is(#mms-main, #mheader_5_wrapper) .evr-sum-info-btn {
	width: 24px;
	height: 24px;
}

:is(#mms-main, #mheader_5_wrapper) a.evr-sum-icon-btn:hover,
:is(#mms-main, #mheader_5_wrapper) a.evr-sum-icon-btn:focus-visible,
:is(#mms-main, #mheader_5_wrapper) .evr-sum-info-btn:hover,
:is(#mms-main, #mheader_5_wrapper) .evr-sum-info-btn:focus-visible {
	color: var(--mms-primary);
	background: var(--mms-light-gray);
}

:is(#mms-main, #mheader_5_wrapper) .evr-sum-icon-btn svg {
	width: 16px;
	height: 16px;
}

/* a card's figures: label at the left, amount at the right, the subtotal on a rule */
:is(#mms-main, #mheader_5_wrapper) .evr-sum-lines {
	margin: 0;
	font-size: 14px;
}

:is(#mms-main, #mheader_5_wrapper) .evr-sum-line {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	padding: 3px 0;
}

:is(#mms-main, #mheader_5_wrapper) .evr-sum-line dt {
	margin: 0;
	font-weight: 400;
	color: var(--mms-secondary-dark);
}

:is(#mms-main, #mheader_5_wrapper) .evr-sum-line dd {
	margin: 0;
	text-align: right;
	color: var(--mms-text);
	overflow-wrap: anywhere;
}

:is(#mms-main, #mheader_5_wrapper) .evr-sum-line-price {
	color: var(--mms-secondary-dark);
	white-space: nowrap;
}

:is(#mms-main, #mheader_5_wrapper) .evr-sum-line-discount dd,
:is(#mms-main, #mheader_5_wrapper) .evr-sum-total-discount dd {
	color: #c0392b;
	font-variant-numeric: tabular-nums;
}

:is(#mms-main, #mheader_5_wrapper) .evr-sum-line-subtotal {
	margin-top: 4px;
	padding-top: 7px;
	border-top: 1px solid var(--mms-light-gray);
	font-size: 15px;
}

:is(#mms-main, #mheader_5_wrapper) .evr-sum-line-subtotal dt,
:is(#mms-main, #mheader_5_wrapper) .evr-sum-line-subtotal dd {
	font-weight: 700;
	color: var(--mms-text);
}

:is(#mms-main, #mheader_5_wrapper) .evr-sum-att-alert {
	margin: 10px 0 0 0;
	padding: 8px 10px;
	font-size: 14px;
	font-weight: 600;
	color: var(--mms-error-dark);
	background: var(--mms-error);
	border-radius: var(--mms-radius);
}

:is(#mms-main, #mheader_5_wrapper) .evr-sum-att-alert a {
	white-space: nowrap;
}

:is(#mms-main, #mheader_5_wrapper) .evr-sum-att-note {
	margin: 10px 0 0 0;
	font-size: 13px;
	font-style: italic;
	color: var(--mms-error-dark);
}

:is(#mms-main, #mheader_5_wrapper) .evr-sum-att .evr-lock-reason {
	margin-top: 8px;
}

/* under the cards: the threshold notice, Add, the grouped-member quick add, the discount buttons */
:is(#mms-main, #mheader_5_wrapper) .evr-sum-notice {
	margin: 14px 0 0 0;
	padding: 10px 14px;
	background: var(--mms-info);
	border-left: 3px solid var(--mms-info-dark);
	border-radius: 0 var(--mms-radius) var(--mms-radius) 0;
}

:is(#mms-main, #mheader_5_wrapper) .evr-sum-add {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 12px;
	margin: 16px 0 0 0;
}

:is(#mms-main, #mheader_5_wrapper) .evr-sum-add .evr-lock-reason {
	flex-basis: 100%;
}

:is(#mms-main, #mheader_5_wrapper) .evr-sum-xref {
	margin: 18px 0 0 0;
	padding: 12px 14px;
	background: var(--mms-light-gray);
	border-radius: var(--mms-radius);
}

:is(#mms-main, #mheader_5_wrapper) .evr-sum-xref-title {
	margin: 0 0 8px 0;
	font-size: 15px;
	font-weight: 600;
}

:is(#mms-main, #mheader_5_wrapper) .evr-sum-xref-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

:is(#mms-main, #mheader_5_wrapper) .evr-sum-xref-list form {
	margin: 0;
}

/* the add buttons under the attendees - Add Another Attendee and each Quick Add - a size down from the step's main
   buttons (Bill 11-16); their colours stay the library's */
:is(#mms-main, #mheader_5_wrapper) .evr-sum-step :is(.evr-sum-add, .evr-sum-xref-list) .mms-button {
	padding: 0.5em 1.5ch;
	font-size: 14px;
}

:is(#mms-main, #mheader_5_wrapper) .evr-sum-discount {
	margin: 18px 0 0 0;
}

:is(#mms-main, #mheader_5_wrapper) .evr-sum-discount .evr-step-note {
	margin: 6px 0 0 0;
	font-size: 13px;
	font-style: italic;
}

/* the right column: the registration card, its payments and refunds, then Complete (full width) */
:is(#mms-main, #mheader_5_wrapper) .evr-sum-aside {
	margin-top: 24px;
}

@media (min-width: 992px) {
	:is(#mms-main, #mheader_5_wrapper) .evr-sum-aside {
		margin-top: 0;
	}
}

:is(#mms-main, #mheader_5_wrapper) .evr-sum-card .evr-pmt-total-discount dd,
:is(#mms-main, #mheader_5_wrapper) .evr-sum-card .evr-sum-total-discount dd {
	color: #c0392b;
}

/* the payments and refunds behind a Payment History fold at the foot of the card */
:is(#mms-main, #mheader_5_wrapper) .evr-sum-history {
	border-top: 1px solid var(--mms-secondary-light);
}

:is(#mms-main, #mheader_5_wrapper) .evr-sum-history > summary {
	padding: 10px 16px;
	font-size: 13px;
	font-weight: 600;
	color: var(--mms-secondary-dark);
	cursor: pointer;
}

:is(#mms-main, #mheader_5_wrapper) .evr-sum-history > summary:focus-visible {
	outline: 2px solid var(--evr-brand, var(--org-link-color, var(--mms-primary)));
	outline-offset: -2px;
}

:is(#mms-main, #mheader_5_wrapper) .evr-sum-history-body {
	padding: 0 16px 10px 16px;
}

:is(#mms-main, #mheader_5_wrapper) .evr-sum-card .evr-pmt-total-paid dd {
	color: var(--mms-success-dark);
}

/* the attendee detail dialog (evr_attendees::attendeeSummary): the name, the organization, the rows, then the fields as
   a plain two-column list (it was a bordered table) */
:is(#mms-main, #mheader_5_wrapper) .evr-att-detail-name {
	margin: 0;
	font-size: 17px;
	font-weight: 700;
}

:is(#mms-main, #mheader_5_wrapper) .evr-att-detail-org {
	margin: 2px 0 0 0;
	color: var(--mms-secondary-dark);
}

:is(#mms-main, #mheader_5_wrapper) .evr-att-detail-lines {
	margin: 10px 0 0 0;
}

:is(#mms-main, #mheader_5_wrapper) .evr-att-detail-table {
	width: 100%;
	margin: 12px 0 0 0;
	border-collapse: collapse;
	font-size: 14px;
}

:is(#mms-main, #mheader_5_wrapper) .evr-att-detail-table td {
	padding: 7px 0;
	vertical-align: top;
	text-align: left;
	border: 0;
	border-top: 1px solid var(--mms-light-gray);
}

:is(#mms-main, #mheader_5_wrapper) .evr-att-detail-table td:first-child {
	width: 45%;
	padding-right: 16px;
	color: var(--mms-secondary-dark);
}

:is(#mms-main, #mheader_5_wrapper) .evr-att-detail-table td:first-child b {
	font-weight: 600;
}

:is(#mms-main, #mheader_5_wrapper) .evr-att-detail-table td i {
	font-style: normal;
	color: var(--mms-text);
}

@media (max-width: 575px) {
	:is(#mms-main, #mheader_5_wrapper) .evr-att-detail-table td {
		display: block;
		width: 100%;
		padding: 2px 0;
		border-top: 0;
	}

	:is(#mms-main, #mheader_5_wrapper) .evr-att-detail-table td:first-child {
		width: 100%;
		padding-top: 8px;
		border-top: 1px solid var(--mms-light-gray);
	}
}

:is(#mms-main, #mheader_5_wrapper) .evr-sum-card-sub {
	margin: 4px 0 6px 0;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--mms-secondary-dark);
}

:is(#mms-main, #mheader_5_wrapper) .evr-sum-pay-list {
	margin: 0 0 6px 0;
	padding: 0;
	list-style: none;
}

:is(#mms-main, #mheader_5_wrapper) .evr-sum-pay {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0 12px;
	padding: 4px 0;
	font-size: 14px;
	border-bottom: 1px dashed var(--mms-light-gray);
}

:is(#mms-main, #mheader_5_wrapper) .evr-sum-pay:last-child {
	border-bottom: 0;
}

:is(#mms-main, #mheader_5_wrapper) .evr-sum-pay-date {
	color: var(--mms-secondary-dark);
}

:is(#mms-main, #mheader_5_wrapper) .evr-sum-pay-amt {
	font-variant-numeric: tabular-nums;
}

:is(#mms-main, #mheader_5_wrapper) .evr-sum-pay-meta {
	flex-basis: 100%;
	font-size: 12px;
	color: var(--mms-secondary-dark);
}

:is(#mms-main, #mheader_5_wrapper) .evr-sum-card-due {
	padding-top: 0;
}

:is(#mms-main, #mheader_5_wrapper) .evr-sum-card-note {
	margin: 0;
	padding: 0 16px 12px 16px;
	font-size: 13px;
	font-style: italic;
	color: var(--mms-secondary-dark);
}

:is(#mms-main, #mheader_5_wrapper) .evr-sum-complete {
	margin: 16px 0 0 0;
}

:is(#mms-main, #mheader_5_wrapper) .evr-sum-complete-row .evr-complete-btn {
	width: 100%;
	justify-content: center;
	margin: 0;
	padding-top: 14px;
	padding-bottom: 14px;
	font-size: 17px;
}

:is(#mms-main, #mheader_5_wrapper) .evr-sum-blocker {
	margin: 0;
	padding: 10px 12px;
	font-size: 14px;
	font-weight: 600;
	color: var(--mms-error-dark);
	background: var(--mms-error);
	border-left: 3px solid var(--mms-error-dark);
	border-radius: 0 var(--mms-radius) var(--mms-radius) 0;
}

/* the summary's two confirms (remove an attendee, release a table's seats; page-by-page pass, 11-13) */
:is(#mms-main, #mheader_5_wrapper) .evr-confirm-name {
	display: inline-block;
	margin: 0 0 8px 0;
	padding: 10px 14px;
	font-size: 16px;
	font-weight: 700;
	background: var(--mms-light-gray);
	border-left: 3px solid var(--evr-brand, var(--org-link-color, var(--mms-primary)));
	border-radius: 0 var(--mms-radius) var(--mms-radius) 0;
}

:is(#mms-main, #mheader_5_wrapper) .evr-confirm-list {
	margin: 0 0 8px 0;
}

:is(#mms-main, #mheader_5_wrapper) .evr-confirm-list-title {
	margin: 0 0 4px 0;
	font-weight: 600;
}

/* the "not yet the minimum" message that stands in for Continue (Bill 11-13): set apart, italic, centred */
:is(#mms-main, #mheader_5_wrapper) .evr-files-step .evr-files-minimum {
	margin: 32px 0 0 0;
	font-style: italic;
	text-align: center;
}

.evr-section-glyph-red {
	color: var(--mms-primary);
}

.evr-section-glyph-blue {
	color: #2563eb;
}

.evr-section-glyph-green {
	color: #16a34a;
}

.evr-section-glyph-purple {
	color: #7c3aed;
}

.evr-section-glyph-amber {
	color: #d97706;
}

.evr-section-glyph-teal {
	color: #0d9488;
}

.evr-section-glyph-orange {
	color: #ea580c;
}

.evr-section-glyph-indigo {
	color: #4f46e5;
}

.evr-section-glyph-sky {
	color: #0284c7;
}

#evr_registration_form .evr-small-text {
	font-size: 13px;
}

/* the space above Continue (Bill 11-13: about 90px stacked up under the last field - its own 25px margin, a trailing
   <br /> under a checkbox label with no instructions, the section's 15px bottom padding and the action row's 24px):
   the trailing break goes, the section keeps no bottom padding, and the action row sits 8px below the last field's
   margin */
#evr_registration_form .checkbox-right > br:last-child {
	display: none;
}

#evr_registration_form .evr-section-container {
	padding-bottom: 0;
}

:is(#mms-main, #mheader_5_wrapper) #evr_registration_form .evr-step-actions {
	margin-top: 8px;
}

#evr_registration_form .evr-package-color,
#evr_registration_form .evr-radio-color {
	position: relative;
	padding: 12px 14px;
	cursor: pointer;
	transition: background-color 120ms ease, border-color 120ms ease, box-shadow 120ms ease;
}

#evr_registration_form .evr-package-color:not(.is-unavailable):hover,
#evr_registration_form .evr-radio-color:hover {
	background-color: color-mix(in srgb, var(--evr-brand, var(--org-link-color, var(--mms-primary))) 4%, #ffffff);
}

#evr_registration_form .evr-package-color:has(input:checked),
#evr_registration_form .evr-radio-color:has(input:checked) {
	background-color: color-mix(in srgb, var(--evr-brand, var(--org-link-color, var(--mms-primary))) 7%, #ffffff);
}

#evr_registration_form .evr-package-color:focus-within,
#evr_registration_form .evr-radio-color:focus-within {
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--evr-brand, var(--org-link-color, var(--mms-primary))) 25%, transparent);
}

#evr_registration_form .evr-package-color:has(input:checked):focus-within,
#evr_registration_form .evr-radio-color:has(input:checked):focus-within {
	box-shadow: inset 3px 0 0 var(--evr-brand, var(--org-link-color, var(--mms-primary))), 0 0 0 3px color-mix(in srgb, var(--evr-brand, var(--org-link-color, var(--mms-primary))) 25%, transparent);
}

#evr_registration_form .evr-package-color.is-unavailable {
	cursor: default;
}

/* the package cells: the name carries the weight, the price is a right-aligned column of tabular figures with the
   currency code muted; on a phone the cells stack and the price follows the name at the left */
#evr_registration_form .evr-pkg-name label {
	margin-bottom: 2px;
	font-size: 16px;
	font-weight: 600;
}

#evr_registration_form .evr-pkg-price {
	text-align: right;
	font-size: 16px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

#evr_registration_form .evr-pkg-currency {
	font-size: 13px;
	font-weight: 400;
	color: var(--mms-secondary-dark);
}

#evr_registration_form .evr-pkg-desc {
	margin: 2px 0 6px 0;
	color: var(--mms-secondary-dark);
	line-height: 1.5;
}

@media (max-width: 991px) {
	#evr_registration_form .evr-pkg-price {
		text-align: left;
	}
}

/* sold out / not available / openings left as badges; the seat-cap explanation as a muted line */
#evr_registration_form .evr-pkg-badge {
	display: inline-block;
	margin: 4px 0 0 0;
	padding: 2px 8px;
	font-size: 12px;
	font-weight: 600;
	font-style: normal;
	line-height: 1.5;
	color: var(--mms-info-dark);
	background: var(--mms-info);
	border-radius: 999px;
}

/* sold out / not available: a darker grey than the striped package rows' light grey, so the pill shows on every row
   (Bill 11-13: on a striped row it read as plain text) */
#evr_registration_form .evr-pkg-badge.is-unavailable {
	color: var(--mms-secondary-deep);
	background: var(--mms-secondary-light);
}

/* a field option's or a cost field's price and openings (Bill 11-13): the same pills in one row under the name; the
   price pill takes a trace of the org colour, the openings pill is the package openings blue */
#evr_registration_form .evr-opt-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 4px 0 2px 0;
}

#evr_registration_form .evr-opt-pills .evr-pkg-badge {
	margin: 0;
}

/* money is green (Bill 11-13), tokens amber (the tokens heading's coin colour) */
#evr_registration_form .evr-pkg-badge.is-cost {
	color: var(--mms-success-dark);
	background: var(--mms-success);
}

#evr_registration_form .evr-pkg-badge.is-token {
	color: var(--mms-warning-dark);
	background: var(--mms-warning);
}

/* a pill right after a package's name sits a little apart from it (Bill 11-13: the name and the pill touched) */
#evr_registration_form .evr-pkg-name label + .evr-pkg-badge {
	margin-left: 8px;
}

/* the seat-cap sentence as a pill (Bill 11-13): softer corners, since a sentence can wrap to a second line on a phone */
#evr_registration_form .evr-pkg-badge.is-long,
#evr_registration_form .evr-pkg-name label + .evr-pkg-badge.is-long {
	display: table;
	max-width: 100%;
	margin: 4px 0 0 0;
	border-radius: 12px;
}

/* the "already registered" email warning at the top of the form, and the placeholder the fields section shows while
   the dependency script sorts the fields (both were inline-styled: pure red 12px text, black text with a 100px gif) */
/* the e-mail warning is the shared .evr_error panel since 11-13 (Bill); only its space under it is its own */
#evr_registration_form .evr-email-warning {
	margin: 0 0 20px 0;
}

#evr_registration_form .evr-table-loader {
	padding: 24px 0;
	font-size: 14px;
	font-style: italic;
	text-align: center;
	color: var(--mms-secondary-dark);
}

#evr_registration_form .evr-table-loader img {
	display: block;
	width: 48px;
	margin: 12px auto 0 auto;
}

/* a field's instructions and the text-caption field type: one soft note panel with the org colour at its edge */
#evr_registration_form .evr-field-info-container {
	font-size: 14px;
}

#evr_registration_form .evr-field-info,
#evr_registration_form .evr-field-caption {
	margin: 8px 0 12px 0;
	padding: 10px 14px;
	font-size: 14px;
	line-height: 1.5;
	background: var(--mms-light-gray);
	border-left: 3px solid var(--evr-brand, var(--org-link-color, var(--mms-primary)));
	border-radius: 0 var(--mms-radius) var(--mms-radius) 0;
}

/* the join page's two-column custom-field layout (was an inline block in eventreg_mem2.php) */
.col_left {
	width: 15%;
	text-align: right;
	vertical-align: text-top;
	font-size: 10px;
	font-weight: bold;
	font-family: verdana;
}

.col_right {
	width: 85%;
	text-align: left;
}

.dynform_left {
	text-align: right !important;
	vertical-align: top;
	font-weight: bold;
}

div.custom_field_ms,
div.dynfield_ms {
	max-height: 300px;
	overflow: auto;
	border: 1px solid var(--mms-secondary-light);
	border-radius: 5px;
	padding: 10px;
}

div.custom_multiselect_input {
	padding: 3px;
	vertical-align: text-top;
}

div.custom_multiselect_input input {
	margin-top: 3px;
	margin-right: 3px;
}

.left-label {
	font-weight: bold;
	vertical-align: top;
	text-align: right;
}

/* lock reasons and locked controls (B2; were inline blocks in eventreg1.php and eventreg3.php) */
.evr-lock-reason {
	font-size: 12px;
	font-style: italic;
	color: var(--mms-secondary-dark);
	margin: 2px 0 6px 0;
}

.evr-locked-control {
	cursor: not-allowed;
}

.evr-locked-control svg {
	opacity: 0.45;
}

#mheader_5_wrapper .tooltip.in,
.tooltip.in {
	opacity: 1;
}

/* ---------------------------------------------------------------- 4. phones */

@media (max-width: 767px) {
	/* the bar stays one line and scrolls sideways; reg_main's progress() centres the current step in the strip
	   (Bill 11-12). The connecting line is hidden here: its percentage geometry is relative to the viewport, not
	   the scrolling strip, and the circles carry the state on their own */
	.evr_progress_container {
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: thin;
		padding-bottom: 8px;
	}
	.evr_progress_steps {
		flex-wrap: nowrap;
		justify-content: flex-start;
		width: max-content;
		min-width: 100%;
	}
	.evr_progess_bar_item_container {
		width: auto;
		flex: 0 0 auto;
		min-width: 110px;
		padding: 0 8px;
		font-size: 11px;
	}
	.evr_progress_percent {
		display: none;
	}
	.progress {
		display: none;
	}
	/* bars stack: text first, the button under it */
	.evr-admin-bar {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}
	.evr-admin-bar a.evr-admin-bar-btn,
	.evr-admin-bar button.evr-admin-bar-btn {
		margin-left: 0;
	}
	.evr-waitlist-bar.is-collapsed .evr-admin-bar-text {
		-webkit-line-clamp: 4;
	}
	.evr-step-heading {
		padding: 10px 12px;
		font-size: 16px;
	}
	.evr-step-body {
		padding: 12px 10px;
	}
	/* the event logo stacks above the name instead of wrapping text around it */
	.evr-inline-logo {
		float: none !important;
		display: block;
		margin: 0 0 10px 0;
	}
	.evr-section-container,
	.evr-radio-container {
		width: 100%;
	}
}

/* ================================================================ 5. the shell refresh (2026-11-12) */
/*
	The shell refresh Bill iterated on staging 11-12: the event header rebuilt (no container, media + facts, chips,
	one-line when, grouped actions), the hero with its caption box, the description fold (CSS mask, strip after the
	fold), the numbered progress bar, the flat step panels and the rhythm. It was built as its own stylesheet so
	each part could be pulled out, then folded in here once settled (Bill 11-12). The sub-sections still stand on
	their own and come AFTER everything above on purpose: they override the base rules by cascade order.
	Tried and reversed, so they are not here: a tinted band behind the facts, a brand rule under the name + a logo
	shadow, a 120px and a 14px brand fade at the top, a left rail on the text block, and the 4px brand strip.
	The org colour shows only in the icons, the pills, the chips and the hairline.
*/

/* ---------------------------------------------------------------- 5.1 the event panel: no container, no colour at the top */

/* no colour at the top of the event panel (Bill 11-12: the 4px strip, a 120px wash and a 14px fade were each
   tried and dropped), and no container either (Bill picked option A of the mockups, 11-12): the event sits straight
   on the page under the page title, with the bar beneath and the step cards after it. Dual-scoped against the forced
   Bootstrap .panel rule. Delete these rules to get the white card back. */
#mheader_5_wrapper .evr-step-panel.evr-event-panel,
.evr-step-panel.evr-event-panel {
	margin-bottom: 16px;
	background: transparent;
	border: none;
	border-radius: 0;
	box-shadow: none;
}

#mheader_5_wrapper .evr-step-panel.evr-event-panel .evr-step-body,
.evr-step-panel.evr-event-panel .evr-step-body {
	padding: 0;
}

/* with no body padding the hero needs no bleed */
.evr-event-panel .evr-hero {
	margin: 0 0 16px 0;
}

/* the fold fades by a mask instead of a white overlay, so it reads on any page background; the strip that holds
   Show More is printed after the fold and sits in flow under it */
/* only a fold with something folded fades; reg_main marks a short one .evr-fold-short when it hides the strip */
.evr-event-desc:not(.evr_info_expanded):not(.evr-fold-short) {
	-webkit-mask-image: linear-gradient(to bottom, #000000 calc(100% - 72px), transparent 100%);
	mask-image: linear-gradient(to bottom, #000000 calc(100% - 72px), transparent 100%);
}

.evr-event-desc + .evr_info_option_container {
	position: static;
	width: auto;
}

.evr-event-desc + .evr_info_option_container .evr_info_gradient {
	display: none;
}

.evr-event-desc + .evr_info_option_container .evr_info_toggle {
	background: transparent;
	padding: 6px 0 2px 0;
}

/* ---------------------------------------------------------------- 5.2 the event header */

/* one column: the media + text block, with the actions row inside the text block (iteration 2) */
.evr-event-header {
	display: block;
	margin-bottom: 16px;
}

/* the centre-top logo is centred above the name, at the width the event or org set (--evr-logo-w comes from the markup).
   Both classes in the selector: the element also carries .evr-event-media, whose 45% cap for the inline logo is
   declared below and used to win, holding a 1200px top logo to under half the row (Bill 11-13) */
.evr-event-media.evr-event-media-top {
	display: block;
	margin: 0 auto 12px auto;
	max-width: min(var(--evr-logo-w, 300px), 100%);
}

.evr-event-main {
	display: flex;
	gap: 20px;
	align-items: flex-start;
	min-width: 0;
}

/* the inline logo keeps its width setting and never takes more than 45% of the row */
.evr-event-media {
	flex: 0 0 auto;
	max-width: min(var(--evr-logo-w, 300px), 45%);
}

.evr-event-media .evr-event-logo {
	max-width: 100% !important;
	height: auto;
}

.evr-event-text {
	flex: 1 1 0;
	min-width: 0;
}

.evr-event-name {
	font-size: clamp(22px, 2.6vw, 28px);
	line-height: 1.2;
	font-weight: 700;
	margin: 0 0 10px 0;
}

.evr-event-meta {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 15px;
	line-height: 1.45;
}

.evr-event-when,
.evr-event-tz,
.evr-event-where {
	display: flex;
	align-items: flex-start;
	gap: 8px;
}

/* dates and time share the row: the dates bold, the time regular, a dot between (iteration 2) */
.evr-event-when .evr-date {
	font-weight: 600;
}

.evr-event-sep {
	margin: 0 8px;
	color: var(--mms-secondary);
}

/* the timezone note sits under the time, indented past its icon */
.evr-event-tz {
	padding-left: 22px;
	color: var(--mms-secondary-dark);
}

.evr-event-ico {
	flex: 0 0 auto;
	margin-top: 3px;
	color: var(--evr-brand);
}

svg.evr-event-ico {
	width: auto;
	height: 14px;
}

/* the deadline, remaining spots and opens-on notes as chips under the facts (iteration 2); an empty row takes no space */
.evr-event-status {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 4px;
}

.evr-event-status:empty {
	display: none;
}

.evr-event-chip,
.evr-event-note {
	display: inline-block;
	padding: 3px 12px;
	font-size: 13px;
	font-style: normal;
	line-height: 1.4;
	color: var(--mms-secondary-deep);
	background: var(--mms-light-gray);
	border-radius: 999px;
}

.evr-event-note {
	align-self: flex-start;
}

/* the actions row under the facts: link pills left, share icons right (iteration 2) */
.evr-event-side.evr-event-actions {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 16px;
	margin-top: 14px;
}

.evr-event-side.evr-event-actions .evr-event-links {
	order: 1;
	justify-content: flex-start;
}

/* the share icons follow the pills in the same group (Bill 11-12: pushed to the far edge they looked unbalanced) */
.evr-event-side.evr-event-actions .evr-event-share {
	order: 2;
	margin-left: 4px;
}

/* the link pills carry the brand so the itinerary reads as a button, not a tag */
/* 24px tall, the same height as AddToAny's icons beside them (Bill 11-12) */
.evr-event-links .evr-event-link,
.evr-event-links .evr-event-link:visited {
	display: inline-flex;
	align-items: center;
	height: 24px;
	padding: 0 12px;
	font-size: 12px;
	line-height: 1;
	color: var(--evr-brand);
	border-color: var(--evr-brand);
}

.evr-event-links .evr-event-link svg,
.evr-event-links .evr-event-link i {
	vertical-align: 0;
}

/* AddToAny's icons sit on the same baseline as the pills */
.evr-event-share {
	display: inline-flex;
	align-items: center;
	line-height: 0;
}

.evr-event-links .evr-event-link:hover,
.evr-event-links .evr-event-link:focus {
	color: var(--evr-brand-text);
	background: var(--evr-brand);
}

.evr-event-side {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 10px;
}

.evr-event-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 8px;
}

.evr-event-link svg,
.evr-event-link img {
	vertical-align: -2px;
}

/* under the hero: the same group, pills then share icons, in one row */
.evr-event-header-promo {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 16px;
	margin-top: 14px;
}

.evr-event-header-promo .evr-event-links {
	justify-content: flex-start;
}

.evr-event-header-promo .evr-event-side {
	flex-direction: row;
	align-items: center;
}

/* ---------------------------------------------------------------- 5.3 the hero (promo banner + caption box) */

/* bleeds to the panel edges (the body padding set in section 6); the 14px brand fade shows above it */
.evr-hero {
	margin: -4px -16px 16px -16px;
	overflow: hidden;
}

.evr-hero .evr-hero-img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 420px;
	object-fit: cover;
}

/* the caption keeps its dark box (Bill 11-12: the fade alone lost it), sitting at the bottom-left of the banner */
.evr-hero .evr-hero-caption {
	top: auto;
	bottom: 20px;
	left: 20px;
	right: auto;
	max-width: min(620px, calc(100% - 40px));
	margin: 0;
	padding: 16px 20px;
	font-size: 15px;
	line-height: 1.4;
	background: rgba(35, 31, 32, 0.65);
	border-radius: var(--mms-radius);
}

.evr-hero .evr-hero-caption .evr-event-name {
	font-size: clamp(22px, 2.8vw, 30px);
	margin: 0 0 6px 0;
	color: #ffffff;
}

.evr-hero .evr-hero-caption .evr-date {
	font-weight: 600;
}

/* ---------------------------------------------------------------- 5.4 the description fold */

/* no padding here: reg_main measures the fold's inner height (jQuery excludes padding) and hides the strip under
   270px, so any padding makes a folded description read as short and the strip disappears */
/* a hairline separates the facts from the copy; the space under it is on the inner block, not the fold, because
   reg_main measures the fold's inner height (see below) */
.evr-event-desc {
	margin-top: 16px;
	border-top: 1px solid var(--mms-light-gray);
	line-height: 1.5;
}

.evr-event-description {
	padding-top: 14px;
}

/* the folded window (Bill 11-12: 250px; the base rule is 300px). reg_main's strip threshold is 240px to match */
.evr-event-desc:not(.evr_info_expanded) {
	max-height: 250px;
}

/* the strip overlays the bottom of the window while folded (its base rule); once opened it drops into normal
   flow after the text, so nothing is covered. It is printed last inside the fold for this reason */
.evr-event-desc.evr_info_expanded .evr_info_option_container {
	position: static;
	margin-top: 8px;
}

.evr-event-desc + .evr_info_option_container .evr_info_gradient {
	height: 72px;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
}

.evr-event-desc.evr_info_expanded .evr_info_gradient {
	display: none;
}

.evr-event-desc + .evr_info_option_container .evr_info_toggle {
	text-align: right;
	padding: 6px 0 2px 0;
}

.evr-event-desc + .evr_info_option_container .evr_info_toggle_btn {
	display: inline-block;
	padding: 4px 14px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--org-link-color, var(--mms-primary));
	background: #ffffff;
	border: 1px solid var(--mms-secondary-light);
	border-radius: 999px;
	cursor: pointer;
	text-decoration: none !important;
}

.evr-event-desc + .evr_info_option_container .evr_info_toggle_btn:hover,
.evr-event-desc + .evr_info_option_container .evr_info_toggle_btn:focus {
	background: var(--mms-light-gray);
}

/* ---------------------------------------------------------------- 5.4b subtle colour on the chips, hairline and Show More pill */
/* Bill 11-12: colour is right, the band was too much. The surface stays white; the small things on it take a
   trace of the org colour: the chips, the hairline above the description, and the Show More pill (which now
   matches the link pills). Text stays dark so a light org colour never hurts contrast. Browsers without
   color-mix keep the grey fallbacks. Delete this block to drop all three. */

.evr-event-chip,
.evr-event-note {
	background: var(--mms-light-gray);
	background: color-mix(in srgb, var(--evr-brand) 8%, #ffffff);
	border: 1px solid var(--mms-secondary-light);
	border-color: color-mix(in srgb, var(--evr-brand) 20%, #ffffff);
}

.evr-event-desc {
	border-top-color: color-mix(in srgb, var(--evr-brand) 22%, #ffffff);
}

.evr-event-desc + .evr_info_option_container .evr_info_toggle_btn {
	color: var(--evr-brand);
	border-color: var(--evr-brand);
}

.evr-event-desc + .evr_info_option_container .evr_info_toggle_btn:hover,
.evr-event-desc + .evr_info_option_container .evr_info_toggle_btn:focus {
	color: var(--evr-brand-text);
	background: var(--evr-brand);
}

/* the Show More / Show Less pill on the link pills' shape (Bill 11-13, after its arrow moved to the iconSVG helper): a
   24px flex row, the arrow sized to the 12px text and centred on it instead of sitting low at the file's 16px */
.evr-event-desc + .evr_info_option_container .evr_info_toggle_btn {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	height: 24px;
	padding: 0 12px;
	line-height: 1;
}

.evr-event-desc + .evr_info_option_container .evr_info_toggle_btn svg {
	flex: 0 0 auto;
	width: auto;
	height: 12px;
}

/* ---------------------------------------------------------------- 5.5 the progress bar: numbered steps, check marks, per-step connectors */

.evr_progress_steps {
	counter-reset: evrstep;
	margin-bottom: 16px;
}

.evr_progess_bar_item_container {
	counter-increment: evrstep;
	position: relative;
	padding-top: 2px;
	font-style: normal;
	font-size: 12px;
	letter-spacing: 0.01em;
}

/* each step draws its own two half-lines, so the connector needs no percentage geometry and works at every width */
.evr_progess_bar_item_container::before,
.evr_progess_bar_item_container::after {
	content: "";
	position: absolute;
	top: 16px;
	height: 2px;
	background: var(--mms-secondary-light);
	z-index: 0;
}

.evr_progess_bar_item_container::before {
	left: 0;
	right: 50%;
}

.evr_progess_bar_item_container::after {
	left: 50%;
	right: 0;
}

.evr_progess_bar_item_container:first-child::before,
.evr_progess_bar_item_container:last-child::after {
	display: none;
}

.evr_progess_bar_item_container.completed::before,
.evr_progess_bar_item_container.completed::after,
.evr_progess_bar_item_container.selected::before {
	background: var(--evr-brand);
}

/* the circle carries the step number, a check mark once the step is done */
.evr_progess_bar_item {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	margin: 0 auto 6px auto;
	font-size: 12px;
	font-weight: 700;
	color: var(--mms-secondary);
	background: #ffffff;
	border: 2px solid var(--mms-secondary-light);
	transition: background 0.4s, border-color 0.4s, color 0.4s;
}

.evr_progess_bar_item::before {
	content: counter(evrstep);
}

.evr_progess_bar_item.selected {
	border-color: var(--evr-brand);
	color: var(--evr-brand);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--evr-brand) 18%, transparent);
}

.evr_progess_bar_item.completed {
	background: var(--evr-brand);
	border-color: var(--evr-brand);
	color: var(--evr-brand-text);
}

.evr_progess_bar_item.completed::before {
	content: "\2713";
	font-size: 14px;
}

/* the old growing line is replaced by the per-step connectors above */
.evr_progress_percent {
	display: none;
}

/* ---------------------------------------------------------------- 5.6 the step panels */

/* the grey band (Bill 11-16): the look staging showed while forced Bootstrap's .panel rules outranked these (a grey
   heading band with a grey 4px rule at its left, a 1px grey border, 4px corners). The Bootstrap names came off the
   markup 11-16 so client themes can't restyle the steps; the same look lives here on our own classes now */
.evr-step-panel {
	margin-bottom: 20px;
	border: 1px solid var(--mms-secondary-light);
	border-radius: 4px;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.evr-step-heading {
	padding: 10px 15px;
	font-size: 19px;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: var(--mms-text);
	background: var(--mms-light-gray);
	border-bottom: 1px solid var(--mms-secondary-light);
	border-left: 4px solid var(--mms-secondary-light);
	border-radius: 3px 3px 0 0;
}

.evr-step-body,
.evr-event-panel .evr-step-body {
	padding: 15px;
}

/* rhythm (shell leftovers): one 24px beat between the bar, the panels and their contents; the step bodies read at
   a comfortable line height. Font sizes are left to the forms (they set their own) */
.evr_progress_steps {
	margin-bottom: 24px;
}

.evr-step-body {
	line-height: 1.5;
}

/* ---------------------------------------------------------------- 5.7 phones (the refresh rules; section 4 above has the base ones) */

@media (max-width: 767px) {
	.evr-event-header {
		grid-template-columns: 1fr;
		gap: 10px;
	}
	.evr-event-main {
		flex-direction: column;
		gap: 10px;
	}
	/* the logo is centred above the name on a phone (Bill 11-12) */
	.evr-event-media {
		max-width: min(var(--evr-logo-w, 300px), 100%);
		align-self: center;
	}
	.evr-event-media .evr-event-logo {
		margin-left: auto;
		margin-right: auto;
	}
	.evr-event-side {
		align-items: flex-start;
	}
	.evr-event-links {
		justify-content: flex-start;
	}
	.evr-event-name {
		font-size: 22px;
	}
	.evr-step-body,
	.evr-event-panel .evr-step-body {
		padding: 14px 12px 12px 12px;
	}
	.evr-hero {
		margin: 0 -12px 14px -12px;
	}
	/* the caption drops below the banner: text over a phone-sized image is unreadable */
	.evr-hero .evr-hero-caption {
		position: static;
		max-width: none;
		padding: 14px 12px;
		background: var(--mms-secondary-deep);
		border-radius: 0;
	}
	.evr-hero .evr-hero-caption .evr-event-name {
		font-size: 20px;
	}
	.evr-step-heading {
		padding: 10px 12px;
		font-size: 17px;
	}
}

/* the completion page (B1 step 6, 11-13): one page for every way of finishing (members/evr/eventreg_complete.php).
   A status banner (the sentence at the left, the PDF invoice button at the right), any
   payment instructions as a full-width section, the registration details at full width (the shared confirmation
   renderer's own cards), then one action row (Bill 11-13, round 2: no instructions card, no Print button) */
:is(#mms-main, #mheader_5_wrapper) .evr-complete-banner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 16px;
	margin: 0 0 24px 0;
	padding: 16px 20px;
	background: #ffffff;
	border: 1px solid var(--mms-secondary-light);
	border-left: 4px solid var(--mms-success-dark);
	border-radius: var(--mms-radius);
}

:is(#mms-main, #mheader_5_wrapper) .evr-complete-banner-waitlist {
	border-left-color: var(--mms-warning-dark);
}

:is(#mms-main, #mheader_5_wrapper) .evr-complete-banner-glyph {
	flex: 0 0 auto;
	font-size: 30px;
	line-height: 1;
	color: var(--mms-success-dark);
}

:is(#mms-main, #mheader_5_wrapper) .evr-complete-banner-waitlist .evr-complete-banner-glyph {
	color: var(--mms-warning-dark);
}

:is(#mms-main, #mheader_5_wrapper) .evr-complete-banner-text {
	flex: 1 1 200px;
	min-width: 0;
}

:is(#mms-main, #mheader_5_wrapper) .evr-complete-banner .evr-complete-lead {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--mms-text);
}

:is(#mms-main, #mheader_5_wrapper) .evr-complete-banner .evr-complete-sub {
	margin: 4px 0 0 0;
	font-size: 14px;
	line-height: 1.5;
	color: var(--mms-secondary-dark);
}

:is(#mms-main, #mheader_5_wrapper) .evr-complete-banner-side {
	display: flex;
	flex: 0 0 auto;
	flex-direction: column;
	align-items: flex-end;
	gap: 8px;
	max-width: 100%;
	text-align: right;
}

:is(#mms-main, #mheader_5_wrapper) .evr-complete-banner-side .mms-button {
	margin: 0;
}

@media (max-width: 600px) {
	:is(#mms-main, #mheader_5_wrapper) .evr-complete-banner-side {
		flex-basis: 100%;
		align-items: flex-start;
		text-align: left;
	}
}

:is(#mms-main, #mheader_5_wrapper) .evr-complete-more {
	margin: 0 0 24px 0;
}

:is(#mms-main, #mheader_5_wrapper) .evr-complete-layout {
	min-width: 0;
}

:is(#mms-main, #mheader_5_wrapper) .evr-complete-main {
	min-width: 0;
}

:is(#mms-main, #mheader_5_wrapper) .evr-complete-step .evr-complete-main > .evr-section-heading:first-child {
	margin-top: 0;
}

:is(#mms-main, #mheader_5_wrapper) .evr-complete-summary {
	overflow-wrap: anywhere;
}

:is(#mms-main, #mheader_5_wrapper) .evr-complete-step .evr-complete-pay > .evr-section-heading {
	margin-top: 0;
}

:is(#mms-main, #mheader_5_wrapper) .evr-complete-pay {
	margin: 0 0 24px 0;
}

:is(#mms-main, #mheader_5_wrapper) .evr-complete-pay-body {
	max-width: 72ch;
	font-size: 15px;
	line-height: 1.55;
	overflow-wrap: anywhere;
}

:is(#mms-main, #mheader_5_wrapper) .evr-complete-pay-body p {
	margin: 0 0 12px 0;
}

:is(#mms-main, #mheader_5_wrapper) .evr-complete-pay-body > :last-child {
	margin-bottom: 0;
}

:is(#mms-main, #mheader_5_wrapper) .evr-complete-address {
	margin: 0 0 12px 0;
	padding: 10px 12px;
	font-style: normal;
	line-height: 1.5;
	background: var(--mms-light-gray);
	border-radius: var(--mms-radius);
}

:is(#mms-main, #mheader_5_wrapper) .evr-complete-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 12px 0;
}

:is(#mms-main, #mheader_5_wrapper) .evr-complete-links .mms-button {
	margin: 0;
}

/* the card-by-fax form: a labelled blank line per field, to fill in by hand */
:is(#mms-main, #mheader_5_wrapper) .evr-complete-blanks {
	margin: 16px 0 0 0;
}

:is(#mms-main, #mheader_5_wrapper) .evr-complete-blank-row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 8px;
	margin: 0 0 16px 0;
}

:is(#mms-main, #mheader_5_wrapper) .evr-complete-blank-row dt {
	flex: 0 0 auto;
	font-weight: 600;
}

:is(#mms-main, #mheader_5_wrapper) .evr-complete-blank-row dd {
	flex: 1 1 140px;
	min-height: 1.4em;
	margin: 0;
	border-bottom: 1px solid var(--mms-secondary);
}

:is(#mms-main, #mheader_5_wrapper) .evr-complete-actions {
	margin-top: 8px;
}

@media print {
	.evr-complete-more,
	.evr-complete-actions {
		display: none !important;
	}
}

/* the mobile pass (B1 step 7, 11-13; checked at 375px). The component library never wraps a button's text, so a long
   label (the org's return link, a long package or member name on a quick-add button) ran past the screen edge: on
   a phone the registration's buttons wrap instead. A summary amount keeps its currency on its own line. */
@media (max-width: 767px) {
	:is(#mms-main, #mheader_5_wrapper) :is(#evr_master_container, .evr-complete-step, .evr-sum-step, .evr-pmt-step, .evr-files-step, .evr-team-step, #booth_editor, .evr-waiver) .mms-button {
		max-width: 100%;
		white-space: normal;
		overflow-wrap: anywhere;
	}
}

:is(#mms-main, #mheader_5_wrapper) .evr-sum-line-discount dd,
:is(#mms-main, #mheader_5_wrapper) .evr-sum-line-subtotal dd {
	white-space: nowrap;
}

/* an icon glyph inside a completion-page button (the invoice, the online store) sits a little apart from its label:
   the button is a flex box, so the space typed after the glyph collapses */
:is(#mms-main, #mheader_5_wrapper) .evr-complete-step .mms-button > i {
	margin-right: 6px;
}

/* the component library title-cases every button and every heading inside the page wrapper (B1 review, 11-13): the
   completion page's return row names the org's web address ('Return to www.anytown.org', not 'Www.anytown.org'),
   and the booth step's list title is 'My Selected Booth(s)', not 'Booth(S)' */
:is(#mms-main, #mheader_5_wrapper) .evr-complete-actions .mms-button,
:is(#mms-main, #mheader_5_wrapper) .evr-back-row .mms-button,
:is(#mms-main, #mheader_5_wrapper) .boothsel-cart-title {
	text-transform: none;
}

/* the membership form (B1 review, 11-13): its section titles are the shared ruled heading with a glyph (the form is in
   the heading scope above); the Membership Plan title sits in the label column, so it keeps the label's spacing */
:is(#mms-main, #mheader_5_wrapper) #eventreg_mem2_form .evr-field-label > .evr-section-heading {
	margin-top: 24px;
}

/* the product-types picker: a wrapping grid of checkboxes (two or three across, one on a phone), each category a
   full-width row above its types */
:is(#mms-main, #mheader_5_wrapper) .evr-pt-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 4px 20px;
	padding: 12px 14px;
	border: 1px solid var(--mms-secondary-light);
	border-radius: var(--mms-radius);
}

:is(#mms-main, #mheader_5_wrapper) .evr-pt-grid .evr-pt-cat {
	grid-column: 1 / -1;
	margin: 10px 0 2px 0;
	font-weight: 700;
	color: var(--mms-secondary-deep);
}

:is(#mms-main, #mheader_5_wrapper) .evr-pt-grid .evr-pt-cat:first-child {
	margin-top: 0;
}

:is(#mms-main, #mheader_5_wrapper) .evr-pt-grid .evr-pt-item {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	min-width: 0;
}

:is(#mms-main, #mheader_5_wrapper) .evr-pt-grid .evr-pt-item label {
	margin: 0;
	font-weight: 400;
	overflow-wrap: anywhere;
}

:is(#mms-main, #mheader_5_wrapper) .evr-pt-grid .evr-pt-item .checkbox-left {
	flex: 0 0 auto;
	width: auto;
	float: none;
}

:is(#mms-main, #mheader_5_wrapper) .evr-pt-grid .evr-pt-item .checkbox-right {
	min-width: 0;
	margin-left: 0;
}

/* MemberLeap Pay (B1 review, 11-13): the payment status line is the shared error panel, under the Pay button; the
   Billing Information heading is the shared ruled heading (the page is in the heading scope above) */
:is(#mms-main, #mheader_5_wrapper) .evr-mlp-status:not(:empty) {
	margin: 16px 0 0 0;
}

:is(#mms-main, #mheader_5_wrapper) #mlp-billing-fields > .evr-section-heading:first-child {
	margin-top: 0;
}

/* a step's information notice (B1 review, 11-13): the summary's notice look (.evr-sum-notice) for any step - the booth
   step's required and limit notices, the contact page's join prompt */
:is(#mms-main, #mheader_5_wrapper) .evr-step-notice {
	margin: 12px 0 0 0;
	padding: 10px 14px;
	line-height: 1.5;
	color: var(--mms-text);
	background: var(--mms-info);
	border-left: 3px solid var(--mms-info-dark);
	border-radius: 0 var(--mms-radius) var(--mms-radius) 0;
}

/* a search in progress (B1 leftover, 11-13: the team search showed a 250px loading gif): a small spinner beside a status
   message, announced by its role="status" */
:is(#mms-main, #mheader_5_wrapper) .evr-loading {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 24px 0;
	color: var(--mms-secondary-dark);
}

:is(#mms-main, #mheader_5_wrapper) .evr-loading-spinner {
	width: 22px;
	height: 22px;
	flex: 0 0 auto;
	border: 3px solid var(--mms-secondary-light);
	border-top-color: var(--evr-brand, var(--mms-primary));
	border-radius: 50%;
	animation: evr-loading-spin 0.8s linear infinite;
}

@keyframes evr-loading-spin {
	to {
		transform: rotate(360deg);
	}
}

/* no spinning for people who ask for less motion; the message still says it is working */
@media (prefers-reduced-motion: reduce) {
	:is(#mms-main, #mheader_5_wrapper) .evr-loading-spinner {
		animation: none;
	}
}

/* a classic full-page error (the booth requirement pages): the shared error panel with a Back button under it */
.evr-classic-error {
	max-width: 720px;
	margin: 30px auto;
}

/* the Dues Payment section's explanation (EV21, B6 11-13): the org's own text between the heading and the checkbox */
#evr_registration_form .evr-dues-verbiage {
	max-width: 72ch;
	margin: 0 0 12px 0;
	line-height: 1.55;
}

#evr_registration_form .evr-dues-verbiage > :last-child {
	margin-bottom: 0;
}

/* the event display's wrapper on the single page (Bill 11-13): it replaced a Bootstrap .row, whose -15px side margins put
   the event flush against a site's side borders; it contains its floats the way the row's clearfix did */
.evr-event-row {
	display: flow-root;
}

/* ---------------------------------------------------------------- the attendee directory (11-13)
   evr_utilities::renderAttendeeDirectory(), shared by the registration page's attendee list (members/evr/
   attendee_list.php, inside the org's chrome) and the Attendee Portal's directory (members/evr/portal/
   attendee_list.php, inside #pv-main; the portal page loads this stylesheet for it). Scoped to the three page
   wrappers so a client theme's or Bootstrap's element rules on inputs, lists and links do not reach in. */


:is(#mms-main, #mheader_5_wrapper, #pv-main) .evr-dir-note {
	margin: 0 0 12px 0;
	font-size: 13px;
	font-style: italic;
	color: var(--mms-secondary-dark, #374151);
}

/* search at the left, sort and the live count at the right; they stack on a phone */
:is(#mms-main, #mheader_5_wrapper, #pv-main) .evr-dir-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 12px;
	margin: 0 0 16px 0;
}

:is(#mms-main, #mheader_5_wrapper, #pv-main) .evr-dir-search {
	position: relative;
	flex: 1 1 240px;
	min-width: 0;
}

:is(#mms-main, #mheader_5_wrapper, #pv-main) .evr-dir-search input {
	box-sizing: border-box;
	width: 100%;
	height: auto;
	margin: 0;
	padding: 10px 14px;
	font-size: 15px;
	color: var(--mms-text, #2c3e50);
	background: #ffffff;
	border: 1px solid var(--mms-secondary-light, #d1d5db);
	border-radius: 8px;
	box-shadow: none;
}

:is(#mms-main, #mheader_5_wrapper, #pv-main) .evr-dir-search input:focus-visible,
:is(#mms-main, #mheader_5_wrapper, #pv-main) .evr-dir-sort:focus-visible {
	outline: 2px solid var(--evr-brand, var(--pv-brand, var(--mms-primary, #ae0e0d)));
	outline-offset: 1px;
}

:is(#mms-main, #mheader_5_wrapper, #pv-main) .evr-dir-sort {
	flex: 0 0 auto;
	width: auto;
	height: auto;
	margin: 0;
	padding: 10px 14px;
	font-size: 15px;
	color: var(--mms-text, #2c3e50);
	background: #ffffff;
	border: 1px solid var(--mms-secondary-light, #d1d5db);
	border-radius: 8px;
}

:is(#mms-main, #mheader_5_wrapper, #pv-main) .evr-dir-count {
	flex: 0 0 auto;
	margin: 0;
	font-size: 13px;
	color: var(--mms-secondary-dark, #374151);
}

/* the cards: a wrapping grid, one column on a phone */
:is(#mms-main, #mheader_5_wrapper, #pv-main) .evr-dir-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

:is(#mms-main, #mheader_5_wrapper, #pv-main) .evr-dir-card {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	min-width: 0;
	margin: 0;
	padding: 14px;
	background: #ffffff;
	border: 1px solid var(--mms-secondary-light, #d1d5db);
	border-radius: 10px;
}

:is(#mms-main, #mheader_5_wrapper, #pv-main) .evr-dir-card[hidden] {
	display: none;
}

:is(#mms-main, #mheader_5_wrapper, #pv-main) .evr-dir-photo {
	flex: 0 0 auto;
	width: 56px;
	height: 56px;
	object-fit: cover;
	background: var(--mms-light-gray, #f3f4f6);
	border-radius: 50%;
}

:is(#mms-main, #mheader_5_wrapper, #pv-main) .evr-dir-body {
	flex: 1 1 auto;
	min-width: 0;
}

:is(#mms-main, #mheader_5_wrapper, #pv-main) .evr-dir-name {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--mms-text, #2c3e50);
	overflow-wrap: anywhere;
}

:is(#mms-main, #mheader_5_wrapper, #pv-main) .evr-dir-org {
	margin-top: 2px;
	font-size: 13.5px;
	color: var(--mms-secondary-dark, #374151);
	overflow-wrap: anywhere;
}

:is(#mms-main, #mheader_5_wrapper, #pv-main) .evr-dir-meta {
	margin-top: 3px;
	font-size: 13px;
	color: var(--mms-secondary-dark, #374151);
	overflow-wrap: anywhere;
}

:is(#mms-main, #mheader_5_wrapper, #pv-main) .evr-dir-meta a {
	color: var(--evr-brand, var(--pv-brand, var(--mms-primary, #ae0e0d)));
}

:is(#mms-main, #mheader_5_wrapper, #pv-main) .evr-dir-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 8px;
}

:is(#mms-main, #mheader_5_wrapper, #pv-main) .evr-dir-link {
	padding: 4px 10px;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--evr-brand, var(--pv-brand, var(--mms-primary, #ae0e0d)));
	text-decoration: none;
	border: 1px solid var(--mms-secondary-light, #d1d5db);
	border-radius: 999px;
}

:is(#mms-main, #mheader_5_wrapper, #pv-main) .evr-dir-link:hover,
:is(#mms-main, #mheader_5_wrapper, #pv-main) .evr-dir-link:focus-visible {
	background: var(--mms-light-gray, #f3f4f6);
}

:is(#mms-main, #mheader_5_wrapper, #pv-main) .evr-dir-empty {
	margin: 0;
	padding: 24px 0;
	text-align: center;
	color: var(--mms-secondary-dark, #374151);
}

:is(#mms-main, #mheader_5_wrapper, #pv-main) .evr-dir-empty[hidden] {
	display: none;
}

/* the registration page's attendee list: the shared event header (reg_main's), the way back, then the list (the portal
   hub titles its view itself) */
:is(#mms-main, #mheader_5_wrapper) .evr-dir-page {
	max-width: 1100px;
	margin: 0 auto;
	padding: 8px 0 30px 0;
}

/* the way back to the registration page (evr_utilities::backToRegistrationButton()): under the event header on the
   attendee list and the outside-portal itinerary */
:is(#mms-main, #mheader_5_wrapper) .evr-back-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 20px 0;
}

:is(#mms-main, #mheader_5_wrapper) .evr-back-row .mms-button {
	margin: 0;
}

:is(#mms-main, #mheader_5_wrapper) .evr-back-row .mms-button > i {
	margin-right: 6px;
}

:is(#mms-main, #mheader_5_wrapper) :is(.evr-dir-page, .evr-itin-page, .evr-booth-page) .evr-dir-heading {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px 0;
	padding-bottom: 8px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
	border-bottom: 1px solid var(--mms-secondary-light, #d1d5db);
}

:is(#mms-main, #mheader_5_wrapper) :is(.evr-dir-page, .evr-itin-page, .evr-booth-page) .evr-dir-heading i {
	font-size: 22px;
	line-height: 1;
	color: #ea580c;
}

@media (max-width: 600px) {
	:is(#mms-main, #mheader_5_wrapper, #pv-main) .evr-dir-sort {
		flex: 1 1 auto;
	}
}

/* ==================== the public booth map (members/evr/eventreg_booth_view.php, B1 11-13): the shared event header,
   the register button, then the map, its legend and the booth list. The stage, booth and tip rules are the booth
   step's (#boothmap-stage / .boothmap-booth / .boothmap-tip above); these were the page's own <style> block */
:is(#mms-main, #mheader_5_wrapper) .boothmap-shell {
	max-width: 1200px;
	margin: 0 auto;
	padding: 8px 0 30px 0;
}

:is(#mms-main, #mheader_5_wrapper) .boothmap-intro {
	max-width: 72ch;
	margin: 0 0 14px 0;
	line-height: 1.55;
}

/* the tip's text in the page's text colour (the booth step's rule leaves it to the host page) */
.boothmap-tip {
	color: var(--mms-text);
}

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

:is(#mms-main, #mheader_5_wrapper) .boothmap-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	margin-top: 12px;
	padding: 10px 14px;
	font-size: 14px;
	background: #ffffff;
	border: 1px solid var(--mms-secondary-light);
	border-radius: var(--mms-radius);
}

:is(#mms-main, #mheader_5_wrapper) .boothmap-legend-swatch {
	display: inline-block;
	width: 18px;
	height: 14px;
	margin-right: 6px;
	vertical-align: middle;
	border: 1px solid var(--mms-secondary);
	border-radius: var(--mms-radius);
}

/* the booth list: a native disclosure under the legend, one booth per row */
:is(#mms-main, #mheader_5_wrapper) .boothmap-list {
	margin-top: 12px;
	border: 1px solid var(--mms-secondary-light);
	border-radius: var(--mms-radius);
}

:is(#mms-main, #mheader_5_wrapper) .boothmap-list > summary {
	padding: 10px 14px;
	font-weight: 700;
	cursor: pointer;
	background: var(--mms-light-gray);
}

:is(#mms-main, #mheader_5_wrapper) .boothmap-list > summary:focus-visible {
	outline: 2px solid var(--mms-secondary-deep);
	outline-offset: 2px;
}

:is(#mms-main, #mheader_5_wrapper) .boothmap-list > ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

:is(#mms-main, #mheader_5_wrapper) .boothmap-list li {
	padding: 8px 14px;
	line-height: 1.45;
	border-top: 1px solid var(--mms-secondary-light);
}

:is(#mms-main, #mheader_5_wrapper) .boothmap-list-name {
	font-weight: 700;
}

:is(#mms-main, #mheader_5_wrapper) .boothmap-list-detail {
	color: var(--mms-secondary-dark);
}

/* the privacy consent on the contact step (Bill 11-16: cramped in headerless mode). consentTracker::render_field()'s
   shared BOOTSTRAP markup - a form-group holding a dt label, then a dd with the sentence, two breaks, the checkbox and
   its label - styled here so the shared class (ten other callers) stays untouched. The contact step has no other dt */
:is(#mms-main, #mheader_5_wrapper) #eventreg1 .form-group:has(> dt) {
	margin: 24px 0 20px 0;
}

:is(#mms-main, #mheader_5_wrapper) #eventreg1 .form-group:has(> dt) > dd {
	margin: 0;
	line-height: 1.6;
}

/* the checkbox at the size of the form's other checkboxes, with room between it and its words */
:is(#mms-main, #mheader_5_wrapper) #eventreg1 #pp_accept {
	width: 18px;
	height: 18px;
	margin: 0 10px 0 0;
	vertical-align: -3px;
	accent-color: var(--evr-brand, var(--mms-primary));
	cursor: pointer;
}

/* its words read as the sentence above them, not as a grey field label */
:is(#mms-main, #mheader_5_wrapper) #eventreg1 #pp_accept + label {
	display: inline;
	margin: 0;
	font-weight: 400;
	color: var(--mms-text);
	cursor: pointer;
}
