/**
 * Organizer portal (ek-core): account forms and dashboard.
 * Built on the site's design tokens, with fallbacks.
 */
.ek-portal {
	width: 100%;
	max-width: 760px;
	margin: 0 auto;
	color: #111;
	font-size: var(--fs-body, 16px);
	line-height: 1.5;
}

.ek-portal--account {
	max-width: 440px;
}

.ek-portal__title {
	margin: 0 0 var(--space-8, 8px);
	font-size: var(--fs-h3, 28px);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: var(--ls-tight, -0.04em);
}

.ek-portal__lead {
	margin: 0 0 var(--space-20, 20px);
	color: #555;
}

/* The site name is kept out of Google's Bangla ("notranslate"); Google drops the spaces
   around such words, so they get a little room there. */
.translated-ltr .ek-portal__lead .notranslate {
	margin: 0 0.25em;
}

/* "Good evening!" above the sign-up heading, by the visitor's clock (portal.js). */
.ek-portal__greeting {
	margin: 0 0 var(--space-4, 4px);
	color: #555;
	font-size: var(--fs-ui, 15px);
	font-weight: 600;
}

.ek-portal__notice {
	margin: 0 0 var(--space-16, 16px);
	padding: var(--space-12, 12px) var(--space-16, 16px);
	border-radius: var(--radius-md, 10px);
	background: #eef8ee;
	font-weight: 600;
}

.ek-portal__notice--error {
	background: #fff0f3;
	box-shadow: inset 0 0 0 1px #e8a3b5;
}

.ek-portal__form {
	display: flex;
	flex-direction: column;
	gap: var(--space-14, 14px);
	margin: 0 0 var(--space-16, 16px);
}

.ek-portal__field {
	display: flex;
	flex-direction: column;
	gap: var(--space-4, 4px);
}

.ek-portal__field label,
.ek-portal .acf-label label {
	color: #111; /* Bricks greys out labels by default. */
	font-size: var(--fs-ui-s, 14px);
	font-weight: 700;
}

.ek-portal__field input,
.ek-portal__field select,
.ek-portal .acf-input input[type="text"],
.ek-portal .acf-input input[type="email"],
.ek-portal .acf-input input[type="url"],
.ek-portal .acf-input input[type="number"],
.ek-portal .acf-input textarea,
.ek-portal .acf-input select {
	width: 100%;
	min-height: 46px;
	padding: 10px 14px;
	border: 1px solid rgba(0, 0, 0, 0.18);
	border-radius: var(--radius-md, 10px);
	background: #fff;
	font: inherit;
}

.ek-portal__field input:focus,
.ek-portal__field select:focus,
.ek-portal .acf-input :is(input, textarea, select):focus {
	/* A darker border instead of an outline: ACF wraps some inputs (date pickers) in boxes
	   that hide overflow, which cut an outside outline off at the corners. */
	border-color: #111;
	outline: 0;
	box-shadow: inset 0 0 0 1px #111;
}

.ek-portal__help {
	color: #666;
	font-size: var(--fs-meta, 13px);
}

/* Mobile number: fixed +880 prefix, 10 digits typed. */
.ek-phone {
	display: flex;
	align-items: stretch;
	border: 1px solid rgba(0, 0, 0, 0.18);
	border-radius: var(--radius-md, 10px);
	background: #fff;
	overflow: hidden;
}

.ek-phone:focus-within {
	border-color: #111;
	box-shadow: inset 0 0 0 1px #111;
}

.ek-phone__prefix {
	display: flex;
	align-items: center;
	padding: 0 12px;
	border-right: 1px solid rgba(0, 0, 0, 0.12);
	background: rgba(0, 0, 0, 0.04);
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.ek-portal__field .ek-phone__input {
	flex: 1;
	min-width: 0;
	border: 0;
	border-radius: 0;
	letter-spacing: 0.04em;
	font-variant-numeric: tabular-nums;
}

.ek-portal__field .ek-phone__input:focus {
	outline: 0;
}

/* Live character counter under text fields (counters.js). */
.ek-counter {
	margin: 4px 0 0;
	color: #666;
	font-size: var(--fs-meta, 13px);
}

.ek-counter.is-ok {
	color: #08702a;
}

.ek-counter.is-off {
	color: #b3261e;
}

.ek-portal__check {
	display: flex;
	gap: var(--space-8, 8px);
	align-items: flex-start;
	color: #111;
	font-size: var(--fs-ui-s, 14px);
}

.ek-portal__check input {
	margin-top: 3px;
}

.ek-portal__links,
.ek-portal__switch {
	font-size: var(--fs-ui-s, 14px);
}

.ek-portal a {
	color: #000;
	text-underline-offset: 3px;
}

/* Text links in forms and notices read as links: underlined, semibold. */
:is(.ek-portal__links, .ek-portal__switch, .ek-portal__lead, .ek-portal__help, .ek-portal__notice, .ek-portal__check) a {
	font-weight: 600;
	text-decoration: underline;
	text-decoration-thickness: 1px;
}

:is(.ek-portal__links, .ek-portal__switch, .ek-portal__lead, .ek-portal__help, .ek-portal__notice, .ek-portal__check) a:hover {
	text-decoration-thickness: 2px;
}

.ek-portal__links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-4, 4px) var(--space-8, 8px);
	color: #666;
}

.ek-portal__or {
	display: flex;
	align-items: center;
	gap: var(--space-12, 12px);
	color: #888;
	font-size: var(--fs-meta, 13px);
}

.ek-portal__or::before,
.ek-portal__or::after {
	content: "";
	flex: 1;
	height: 1px;
	background: rgba(0, 0, 0, 0.12);
}

.ek-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0 var(--space-20, 20px);
	border: 0;
	border-radius: var(--radius-pill, 960px);
	background: var(--ek-cta, #006400);
	color: #fff !important;
	font: inherit;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
}

.ek-btn--ghost {
	background: rgba(0, 0, 0, 0.06);
	color: #000 !important;
}

.ek-btn--block {
	width: 100%;
}

.ek-btn:focus-visible {
	outline: 2px solid #000;
	outline-offset: 2px;
}

/* Dashboard */
.ek-dash__head {
	display: flex;
	justify-content: space-between;
	gap: var(--space-16, 16px);
	align-items: flex-start;
}

.ek-dash__hello {
	display: flex;
	gap: var(--space-12, 12px);
	align-items: center;
	margin: 0;
	font-size: var(--fs-h3, 28px);
	font-weight: 700;
	letter-spacing: var(--ls-tight, -0.04em);
	--ek-avatar: 40px;
}

.ek-dash__org {
	margin: var(--space-4, 4px) 0 0;
	color: #444;
}

.ek-dash__signout {
	font-size: var(--fs-ui-s, 14px);
}

.ek-dash__tabs {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-6, 6px);
	margin: var(--space-20, 20px) 0;
	padding: 4px;
	border-radius: var(--radius-pill, 960px);
	background: rgba(0, 0, 0, 0.05);
	width: fit-content;
	max-width: 100%;
}

.ek-dash__tabs a {
	padding: 9px 16px;
	border-radius: var(--radius-pill, 960px);
	font-size: var(--fs-ui-s, 14px);
	font-weight: 600;
	text-decoration: none;
}

.ek-dash__tabs a[aria-current="page"] {
	background: #fff;
	box-shadow: var(--shadow-segment, 0 0 6px rgba(0, 0, 0, 0.1));
}

.ek-dash__body h2 {
	margin: 0 0 var(--space-12, 12px);
	font-size: var(--fs-title-l, 22px);
	letter-spacing: var(--ls-tight, -0.04em);
}

.ek-dash__bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: var(--space-12, 12px);
	margin-bottom: var(--space-12, 12px);
}

.ek-card {
	margin: 0 0 var(--space-16, 16px);
	padding: var(--space-18, 18px) var(--space-20, 20px);
	border-radius: var(--radius-lg, 12px);
	background: #fff;
	box-shadow: var(--shadow-card, 0 0 6px rgba(0, 0, 0, 0.1));
}

.ek-card--info {
	background: #f3f6ff;
	box-shadow: inset 0 0 0 1px #c9d6f2;
}

.ek-card--alert {
	background: #fff0f3;
	box-shadow: inset 0 0 0 1px #e8a3b5;
}

.ek-card > :last-child {
	margin-bottom: 0;
}

.ek-note {
	display: block;
	margin: 4px 0 0;
	white-space: pre-line;
	color: #7a1534;
}

.ek-stats {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-20, 20px);
	margin: 0 0 var(--space-16, 16px);
	padding: 0;
	list-style: none;
}

.ek-stats strong {
	font-size: var(--fs-title, 22px);
}

.ek-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ek-list__item {
	display: flex;
	justify-content: space-between;
	gap: var(--space-16, 16px);
	padding: var(--space-14, 14px) 0;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.ek-list__main {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.ek-list__meta {
	color: #666;
	font-size: var(--fs-ui-s, 14px);
}

.ek-list__actions {
	flex-shrink: 0;
	font-size: var(--fs-ui-s, 14px);
	white-space: nowrap;
}

.ek-danger {
	color: #a01b40 !important;
}

.ek-pillx {
	display: inline-block;
	padding: 3px 10px;
	border-radius: var(--radius-pill, 960px);
	background: rgba(0, 0, 0, 0.06);
	font-size: var(--fs-label, 12px);
	font-weight: 700;
	vertical-align: middle;
}

.ek-pillx--ok {
	background: #dff3e4;
}

.ek-pillx--wait {
	background: #fff3d6;
}

.ek-pillx--alert {
	background: #fde2ea;
}

.ek-dl {
	display: grid;
	grid-template-columns: max-content 1fr;
	gap: var(--space-8, 8px) var(--space-20, 20px);
	margin: 0 0 var(--space-20, 20px);
}

.ek-dl dt {
	font-weight: 700;
}

.ek-dl dd {
	margin: 0;
}

/* ACF forms inside the portal */
.ek-portal .acf-form {
	margin-top: var(--space-16, 16px);
}

.ek-portal .acf-fields > .acf-field {
	padding: var(--space-12, 12px) 0;
	border: 0;
}

.ek-portal .acf-fields > .acf-tab-wrap {
	margin: var(--space-16, 16px) 0 var(--space-8, 8px);
}

/* Side-by-side fields (Starts | Ends …): a gap between the columns instead of ACF's divider.
   ACF marks the first field of each row with .-c0. */
.ek-portal .acf-fields > .acf-field[data-width] {
	padding-right: var(--space-8, 8px);
	padding-left: var(--space-8, 8px);
	border-left: 0 !important; /* ACF draws a divider between columns. */
}

.ek-portal .acf-fields > .acf-field[data-width].-c0 {
	padding-left: 0;
}

.ek-portal .acf-fields > .acf-field[data-width]:not(:has(+ .acf-field[data-width]:not(.-c0))) {
	padding-right: 0;
}

/* ACF buttons (Add image, Add showtime, Add to gallery…) outside wp-admin. */
.ek-portal .acf-input .acf-button,
.ek-portal .acf-input a.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 0 var(--space-16, 16px);
	border: 1px solid rgba(0, 0, 0, 0.18);
	border-radius: var(--radius-pill, 960px);
	background: #fff;
	color: #111;
	font-size: var(--fs-ui-s, 14px);
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
}

.ek-portal .acf-input .acf-button:hover,
.ek-portal .acf-input a.button:hover {
	border-color: #111;
	background: rgba(0, 0, 0, 0.04);
}

.ek-portal .acf-input .acf-button.button-primary {
	border-color: var(--ek-cta, #006400);
	background: var(--ek-cta, #006400);
	color: #fff;
}

.ek-portal .acf-input .acf-button.button-primary:hover {
	background: #222;
}

.ek-portal .acf-input .acf-button:focus-visible,
.ek-portal .acf-input a.button:focus-visible {
	outline: 2px solid #000;
	outline-offset: 2px;
}

/* Poster with no image yet: a drop-zone-like box, all of it clickable (portal.js). */
.ek-portal .acf-image-uploader .hide-if-value {
	padding: var(--space-24, 24px) var(--space-16, 16px);
	border: 2px dashed rgba(0, 0, 0, 0.2);
	border-radius: var(--radius-md, 10px);
	background: #fff;
	text-align: center;
	cursor: pointer;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

.ek-portal .acf-image-uploader .hide-if-value:hover {
	border-color: #111;
	background: #fafafa;
}

.ek-portal .acf-image-uploader .hide-if-value p {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--space-12, 12px);
	margin: 0;
	color: #555;
}

.ek-portal .acf-image-uploader .hide-if-value p::before {
	content: "";
	width: 40px;
	height: 40px;
	background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='3'/%3E%3Ccircle cx='9' cy='9' r='2'/%3E%3Cpath d='m21 15-4.5-4.5L5 21'/%3E%3C/svg%3E");
}

.ek-portal .acf-image-uploader .image-wrap img {
	border-radius: var(--radius-md, 10px);
}

/* Photo gallery: a rounded box; short while empty (ACF sets 400px inline). */
.ek-portal .acf-gallery {
	border: 1px solid rgba(0, 0, 0, 0.18);
	border-radius: var(--radius-md, 10px);
	background: #fff;
	overflow: hidden;
}

.ek-portal .acf-gallery:not(:has(.acf-gallery-attachment)) {
	height: 150px !important;
}

.ek-portal .acf-gallery:not(:has(.acf-gallery-attachment)) .acf-gallery-attachments::before {
	content: "No photos yet.";
	display: block;
	padding: var(--space-24, 24px) var(--space-16, 16px);
	color: #888;
	text-align: center;
}

.ek-portal .acf-gallery-toolbar {
	border-top: 1px solid rgba(0, 0, 0, 0.08);
	background: #fafafa;
}

.ek-portal .acf-gallery-toolbar .acf-button {
	min-height: 32px;
}

.ek-portal .acf-input .acf-gallery-sort {
	width: auto;
	min-height: 32px;
	padding: 4px 10px;
}

.ek-portal .acf-input .acf-gallery-sort.disabled {
	display: none;
}

/* Date and time picker (ACF's jQuery UI calendar, added to the end of the page). */
.acf-ui-datepicker .ui-datepicker {
	padding: var(--space-8, 8px);
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
	font: inherit;
	font-size: 14px;
}

.acf-ui-datepicker .ui-datepicker .ui-widget-header {
	border: 0;
	background: none;
}

.acf-ui-datepicker .ui-datepicker select {
	min-height: 32px;
	padding: 2px 6px;
	border: 1px solid rgba(0, 0, 0, 0.18);
	border-radius: 8px;
	background: #fff;
	font: inherit;
}

.acf-ui-datepicker .ui-datepicker td .ui-state-default {
	border: 0;
	border-radius: 8px;
	background: none;
	color: #111;
	text-align: center;
}

.acf-ui-datepicker .ui-datepicker td .ui-state-hover {
	background: rgba(0, 0, 0, 0.06);
}

.acf-ui-datepicker .ui-datepicker td .ui-state-highlight {
	background: none;
	box-shadow: inset 0 0 0 1px #111;
	font-weight: 700;
}

.acf-ui-datepicker .ui-datepicker td .ui-state-active {
	background: var(--ek-cta, #006400);
	color: #fff;
}

.acf-ui-datepicker .ui-datepicker .ui-datepicker-buttonpane {
	margin-top: var(--space-8, 8px);
	border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.acf-ui-datepicker .ui-datepicker .ui-datepicker-buttonpane button {
	border: 1px solid rgba(0, 0, 0, 0.18);
	border-radius: var(--radius-pill, 960px);
	background: #fff;
	color: #111;
	font-weight: 600;
	opacity: 1;
}

.acf-ui-datepicker .ui-datepicker .ui-datepicker-buttonpane .ui-priority-primary {
	border-color: var(--ek-cta, #006400);
	background: var(--ek-cta, #006400);
	color: #fff;
}

.ek-form-actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-10, 10px);
	margin-top: var(--space-20, 20px);
}

@media (max-width: 600px) {
	.ek-list__item {
		flex-direction: column;
	}

	.ek-dash__tabs {
		border-radius: var(--radius-lg, 12px);
	}

	.ek-form-actions .ek-btn {
		flex: 1 1 100%;
	}
}

/* One-time code field: big, spaced digits (paste-friendly, sent on the 8th digit). */
.ek-portal__field input.ek-code {
	max-width: 320px;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 28px;
	font-weight: 700;
	letter-spacing: 0.3em;
	text-align: center;
}

.ek-portal__resend {
	margin: var(--space-8, 8px) 0 0;
	color: #666;
	font-size: var(--fs-ui-s, 14px);
}

/* A button that reads as a text link (resend). */
.ek-linkbtn {
	padding: 0;
	border: 0;
	background: none;
	color: #000;
	font: inherit;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.ek-linkbtn:disabled {
	color: #777;
	font-weight: 400;
	text-decoration: none;
	cursor: default;
}

/* Dashboard → Account: each change folds open. */
.ek-account-part {
	margin: var(--space-16, 16px) 0;
	padding: var(--space-12, 12px) var(--space-16, 16px);
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: var(--radius-md, 10px);
}

.ek-account-part > summary {
	font-weight: 700;
	cursor: pointer;
}

.ek-account-part h3 {
	margin: 0 0 var(--space-8, 8px);
	font-size: 17px;
}

/* Event form, step by step (Portal\EventFormView). */
.ek-event-form__title {
	margin: 0 0 var(--space-12, 12px);
}

.ek-steps {
	margin: 0 0 var(--space-20, 20px);
}

.ek-steps__progress {
	display: flex;
	align-items: center;
	gap: var(--space-12, 12px);
	margin-bottom: var(--space-10, 10px);
}

.ek-steps__bar {
	position: relative;
	flex: 1;
	height: 6px;
	overflow: hidden;
	border-radius: 6px;
	background: rgba(0, 0, 0, 0.08);
}

.ek-steps__bar > span {
	display: block;
	height: 100%;
	border-radius: 6px;
	background: #1a7f37;
}

.ek-steps__count {
	color: #555;
	font-size: var(--fs-ui-s, 14px);
	white-space: nowrap;
}

.ek-steps__list {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ek-steps__item {
	flex: 1 1 auto;
}

.ek-steps__item a {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 6px 10px;
	border-radius: var(--radius-md, 10px);
	background: rgba(0, 0, 0, 0.04);
	color: #111;
	font-size: var(--fs-ui-s, 14px);
	font-weight: 600;
	text-decoration: none;
}

.ek-steps__item a:hover {
	background: rgba(0, 0, 0, 0.08);
}

.ek-steps__item.is-current a {
	background: var(--ek-cta, #006400);
	color: #fff;
}

.ek-steps__mark {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.1);
	font-size: 13px;
	font-weight: 700;
}

.ek-steps__item.is-done .ek-steps__mark {
	background: #1a7f37;
	color: #fff;
}

.ek-steps__item.is-missing .ek-steps__mark {
	background: #c0264b;
	color: #fff;
}

.ek-steps__item.is-current .ek-steps__mark {
	box-shadow: 0 0 0 2px #fff;
}

.ek-steps__label {
	white-space: nowrap;
}

.ek-tips {
	margin: 0 0 var(--space-16, 16px);
	padding: var(--space-12, 12px) var(--space-16, 16px);
	border-radius: var(--radius-md, 10px);
	background: #fffbe8;
}

.ek-tips > summary {
	font-weight: 700;
	cursor: pointer;
}

.ek-tips__body > :first-child {
	margin-top: var(--space-8, 8px);
}

.ek-tips__body > :last-child {
	margin-bottom: 0;
}

.ek-legend {
	margin: 0 0 var(--space-8, 8px);
	color: #555;
	font-size: var(--fs-ui-s, 14px);
}

.ek-legend__mark,
.ek-portal .ek-essential > .acf-label > label::after {
	color: #c0264b;
	font-weight: 700;
}

.ek-portal .ek-essential > .acf-label > label::after {
	content: " *";
}

/* Labels and help text read clearly (the theme greys form labels). */
.ek-portal .acf-field > .acf-label > label {
	color: #111;
	font-weight: 700;
}

.ek-portal .acf-field > .acf-label > .description,
.ek-portal .acf-field > .acf-input > .description {
	color: #555;
}

.ek-portal .acf-field .acf-notice.-error {
	margin: 6px 0 0;
	border-radius: 8px;
}

.ek-form-actions--steps {
	justify-content: space-between;
	align-items: center;
	padding-top: var(--space-16, 16px);
	border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.ek-form-actions__right {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-10, 10px);
}

/* Review */
.ek-card--ok {
	background: #eef8ee;
	box-shadow: none;
}

.ek-review__missing {
	margin: var(--space-8, 8px) 0 0;
	padding-left: 1.2em;
}

.ek-review__step {
	margin: 0 0 var(--space-12, 12px);
	padding: var(--space-12, 12px) var(--space-16, 16px);
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: var(--radius-md, 10px);
}

.ek-review__head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: var(--space-12, 12px);
}

.ek-review__head h3 {
	margin: 0 0 var(--space-8, 8px);
	font-size: 17px;
}

.ek-review__head a {
	font-weight: 600;
}

.ek-review__list {
	margin: 0;
}

.ek-review__row {
	display: grid;
	grid-template-columns: minmax(120px, 30%) 1fr;
	gap: var(--space-12, 12px);
	padding: 6px 0;
	border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.ek-review__row dt {
	color: #555;
	font-weight: 600;
}

.ek-review__row dd {
	margin: 0;
	overflow-wrap: anywhere;
}

.ek-review__row.is-missing dt,
.ek-review__row.is-missing dd {
	color: #c0264b;
	font-weight: 700;
}

.ek-review__thumb {
	max-width: 120px;
	height: auto;
	border-radius: 6px;
}

.ek-review__none {
	color: #888;
}

.ek-review__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-10, 10px);
	margin-top: var(--space-20, 20px);
}

.ek-review__actions form {
	margin: 0;
}

.ek-review__actions .ek-btn[disabled] {
	opacity: 0.45;
	cursor: not-allowed;
}

.ek-review__status {
	margin: 0;
	color: #555;
}

@media (max-width: 600px) {
	.ek-steps__item {
		flex: 1 1 40%;
	}

	/* ACF's side-by-side columns (Starts | Ends, Attendance | Place…) stack on phones. */
	.ek-portal .acf-fields > .acf-field[data-width] {
		float: none;
		width: 100% !important;
		padding-right: 0;
		padding-left: 0;
		border-left: 0 !important;
	}

	.ek-form-actions--steps {
		flex-direction: column-reverse;
		align-items: stretch;
	}

	.ek-form-actions__right {
		flex-direction: column;
	}

	.ek-form-actions--steps .ek-btn {
		flex: 1 1 auto;
		width: 100%;
	}

	.ek-review__row {
		grid-template-columns: 1fr;
		gap: 2px;
	}

	.ek-review__actions .ek-btn,
	.ek-review__actions form {
		width: 100%;
	}
}

/*
 * Account photo (Accounts\Photo, 0.47.0): a round photo, or the first letter of the name.
 * The site header carries the same rules in its own custom CSS.
 */
.ek-avatar {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: var(--ek-avatar, 28px);
	height: var(--ek-avatar, 28px);
	overflow: hidden;
	border-radius: 50%;
	background: #e9e9e9;
	color: #333;
	font-size: calc(var(--ek-avatar, 28px) * 0.45);
	font-weight: 700;
	line-height: 1;
	vertical-align: middle;
}

.ek-avatar__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ek-account-photo > summary {
	display: flex;
	gap: var(--space-10, 10px);
	align-items: center;
	--ek-avatar: 32px;
}

.ek-account-photo .ek-linkbtn {
	margin-top: var(--space-8, 8px);
}

/* "Finish signing up" after a Google / Facebook sign-up. */
.ek-dash--finish {
	max-width: 560px;
	margin: 0 auto;
}

.ek-dash--finish .ek-portal__title {
	margin-top: 0;
}
