.ste-event-field-enhanced > .field,
.ste-event-field-enhanced > .repeater-list,
.ste-event-field-enhanced > [data-repeater-list],
.ste-event-field-enhanced .repeater-list,
.ste-event-field-enhanced .add-new-item,
.ste-event-field-enhanced .repeater-actions,
.ste-event-field-enhanced [data-ste-native-field-control] {
	display: none !important;
}

.ste-event-builder,
.ste-event-schedule,
.ste-event-registration {
	--ste-event-ink: #182230;
	--ste-event-muted: #667085;
	--ste-event-line: #d9e1ea;
	--ste-event-soft: #f5f7fa;
	--ste-event-accent: #2457d6;
	--ste-event-accent-soft: #edf2ff;
	--ste-event-success: #067647;
	--ste-event-danger: #b42318;
	min-width: 0;
	color: var(--ste-event-ink);
	box-sizing: border-box;
}

.ste-event-builder *,
.ste-event-schedule *,
.ste-event-registration * {
	box-sizing: border-box;
	min-width: 0;
}

.ste-event-builder {
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	overflow: visible;
}

.ste-event-builder__toolbar {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin: 0 0 14px;
	padding: 0;
}

.ste-event-builder__icon-field {
	display: grid;
	gap: 6px;
	margin: 0;
}

.ste-event-builder__icon-field > span,
.ste-event-builder__field > span,
.ste-event-builder__field > legend {
	color: var(--ste-event-muted);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.ste-event-builder__icon-field small,
.ste-event-builder__point-status {
	display: block;
	color: var(--ste-event-muted);
	font-size: 11px;
	line-height: 1.45;
}

.ste-event-builder__icon-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 9px;
}

.ste-event-builder__icon-row input[type="file"] {
	max-width: 260px;
	font-size: 12px;
}

.ste-event-builder__icon-preview,
.ste-event-builder__difficulty-choice,
.ste-event-schedule__difficulty-icons {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 3px;
	color: var(--ste-event-accent);
	line-height: 1;
}

.ste-event-builder__icon-preview img,
.ste-event-builder__difficulty-choice img,
.ste-event-schedule__difficulty-icons img {
	width: 18px;
	height: 18px;
	object-fit: contain;
	border-radius: 3px;
}

.ste-event-builder__icon-clear,
.ste-event-builder__remove,
.ste-registration-builder__sample {
	appearance: none;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--ste-event-danger);
	font-size: 11px;
	font-weight: 700;
	cursor: pointer;
}

.ste-event-builder__status {
	flex: 0 0 auto;
	min-height: 25px;
	padding: 5px 9px;
	border-radius: 999px;
	background: var(--ste-event-soft);
	color: var(--ste-event-muted);
	font-size: 11px;
	font-weight: 800;
	white-space: nowrap;
}

.ste-event-builder__status.is-saving {
	background: var(--ste-event-accent-soft);
	color: var(--ste-event-accent);
}

.ste-event-builder__status.is-saved,
.ste-event-builder__status.is-success {
	background: #ecfdf3;
	color: var(--ste-event-success);
}

.ste-event-builder__status.is-error {
	max-width: 340px;
	border-radius: 10px;
	background: #fff1f0;
	color: var(--ste-event-danger);
	white-space: normal;
}

.ste-event-builder__status.is-pending {
	background: #fffaeb;
	color: #b54708;
}

.ste-event-builder__tabs,
.ste-event-schedule__tabs {
	display: flex;
	width: 100%;
	max-width: 100%;
	gap: 8px;
	margin: 0 0 14px;
	padding: 2px 2px 8px;
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-width: thin;
	-webkit-overflow-scrolling: touch;
}

.ste-event-builder__tab,
.ste-event-schedule__tab {
	appearance: none;
	display: grid;
	flex: 0 0 min(175px, 70vw);
	gap: 2px;
	padding: 10px 12px;
	border: 1px solid var(--ste-event-line);
	border-radius: 11px;
	background: #fff;
	color: var(--ste-event-ink);
	text-align: left;
	cursor: pointer;
	transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}

.ste-event-builder__tab span,
.ste-event-schedule__tab span,
.ste-event-builder__day-head span,
.ste-event-schedule__day span {
	color: var(--ste-event-muted);
	font-size: 9px;
	font-weight: 900;
	letter-spacing: .07em;
	text-transform: uppercase;
}

.ste-event-builder__tab strong,
.ste-event-schedule__tab strong {
	display: block;
	overflow: hidden;
	font-size: 12px;
	line-height: 1.35;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ste-event-builder__tab.is-active,
.ste-event-schedule__tab.is-active {
	border-color: var(--ste-event-accent);
	background: var(--ste-event-accent);
	box-shadow: 0 7px 16px rgba(36, 87, 214, .18);
	color: #fff;
}

.ste-event-builder__tab.is-active span,
.ste-event-schedule__tab.is-active span {
	color: rgba(255, 255, 255, .75);
}

.ste-event-builder button:focus-visible,
.ste-event-schedule button:focus-visible,
.ste-event-registration button:focus-visible,
.ste-event-builder input:focus-visible,
.ste-event-builder textarea:focus-visible,
.ste-event-builder select:focus-visible {
	outline: 3px solid rgba(36, 87, 214, .18);
	outline-offset: 2px;
}

.ste-event-builder__panel {
	width: 100%;
	max-width: 100%;
	border: 1px solid var(--ste-event-line);
	border-radius: 14px;
	background: var(--ste-event-soft);
	overflow: hidden;
}

.ste-event-builder__day-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 14px 16px;
	border-bottom: 1px solid var(--ste-event-line);
	background: #fff;
}

.ste-event-builder__day-head h4 {
	margin: 2px 0 0;
	color: var(--ste-event-ink);
	font-size: 17px;
	line-height: 1.3;
}

.ste-event-builder__add {
	appearance: none;
	flex: 0 0 auto;
	padding: 9px 13px;
	border: 0;
	border-radius: 9px;
	background: var(--ste-event-accent);
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	cursor: pointer;
}

.ste-event-builder__items {
	display: grid;
	width: 100%;
	gap: 12px;
	padding: 12px;
}

.ste-event-builder__empty {
	margin: 0;
	padding: 16px;
	border: 1px dashed #b8c3d1;
	border-radius: 11px;
	background: #fff;
	color: var(--ste-event-muted);
	text-align: center;
}

.ste-event-builder__item {
	display: grid;
	width: 100%;
	max-width: 100%;
	gap: 13px;
	padding: 14px;
	border: 1px solid var(--ste-event-line);
	border-radius: 12px;
	background: #fff;
	overflow: visible;
}

.ste-event-builder__item-head {
	display: grid;
	grid-template-columns: 38px minmax(0, 1fr) auto;
	align-items: end;
	gap: 10px;
}

.ste-event-builder__number {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	margin-bottom: 1px;
	border-radius: 9px;
	background: var(--ste-event-accent-soft);
	color: var(--ste-event-accent);
	font-size: 11px;
}

.ste-event-builder__remove {
	align-self: center;
	padding: 8px 0;
}

.ste-event-builder__grid {
	display: grid;
	width: 100%;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 11px;
	align-items: start;
}

.ste-event-builder__field {
	display: grid;
	grid-column: span 3;
	gap: 6px;
	margin: 0;
	padding: 0;
	border: 0;
}

.ste-event-builder__field--title {
	grid-column: auto;
}

.ste-event-builder__field--time {
	grid-column: span 2;
}

.ste-event-builder__field--point {
	grid-column: span 4;
	position: relative;
}

.ste-event-builder__field--distance {
	grid-column: span 2;
}

.ste-event-builder__field--difficulty {
	grid-column: span 5;
}

.ste-event-builder__field--route {
	grid-column: span 5;
}

.ste-event-builder__field--details {
	grid-column: 1 / -1;
}

.ste-event-builder__field input,
.ste-event-builder__field textarea,
.ste-event-builder__field select,
.ste-registration-builder__settings input,
.ste-registration-builder__settings select,
.ste-registration-builder__provider-ref select,
.ste-registration-builder__field-card input,
.ste-registration-builder__field-card textarea,
.ste-registration-builder__field-card select {
	width: 100%;
	max-width: 100%;
	min-height: 42px;
	margin: 0;
	padding: 9px 10px;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	background: #fff;
	color: var(--ste-event-ink);
	font: inherit;
	font-size: 13px;
	line-height: 1.4;
}

.ste-event-builder__field textarea,
.ste-registration-builder__field-card textarea {
	min-height: 82px;
	resize: vertical;
}

.ste-event-builder__point-row,
.ste-event-builder__distance {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 7px;
}

.ste-event-builder__find-place {
	appearance: none;
	padding: 8px 10px;
	border: 1px solid var(--ste-event-line);
	border-radius: 8px;
	background: var(--ste-event-soft);
	color: var(--ste-event-ink);
	font-size: 11px;
	font-weight: 800;
	cursor: pointer;
	white-space: nowrap;
}

.ste-event-builder__distance select {
	width: 74px;
}

.ste-event-builder__place-results {
	position: absolute;
	z-index: 30;
	top: calc(100% - 18px);
	left: 0;
	right: 0;
	display: grid;
	max-height: 230px;
	overflow-y: auto;
	border-radius: 9px;
	background: #fff;
	box-shadow: 0 12px 28px rgba(15, 23, 42, .16);
}

.ste-event-builder__place-results:empty {
	display: none;
}

.ste-event-builder__place-results button {
	appearance: none;
	padding: 10px;
	border: 0;
	border-bottom: 1px solid #edf0f4;
	background: #fff;
	color: var(--ste-event-ink);
	font-size: 12px;
	text-align: left;
	cursor: pointer;
}

.ste-event-builder__place-results button:hover {
	background: var(--ste-event-soft);
}

.ste-event-builder__difficulty {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
}

.ste-event-builder__difficulty label {
	display: inline-flex;
	align-items: center;
	margin: 0;
	cursor: pointer;
}

.ste-event-builder__difficulty input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.ste-event-builder__difficulty-choice {
	min-height: 36px;
	padding: 7px 8px;
	border: 1px solid var(--ste-event-line);
	border-radius: 8px;
	background: #fff;
}

.ste-event-builder__difficulty label.is-selected .ste-event-builder__difficulty-choice,
.ste-event-builder__difficulty input:checked + .ste-event-builder__difficulty-choice {
	border-color: var(--ste-event-accent);
	background: var(--ste-event-accent-soft);
}

.ste-event-builder__difficulty-choice img {
	width: 13px;
	height: 13px;
}

.ste-event-builder__hidden {
	display: none !important;
}

/* Registration builder */
.ste-registration-builder__enable {
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 0 0 14px;
	padding: 13px 14px;
	border: 1px solid var(--ste-event-line);
	border-radius: 11px;
	background: #fff;
	font-weight: 800;
}

.ste-registration-builder__enable input {
	width: 18px;
	height: 18px;
	margin: 0;
}

.ste-registration-builder__settings {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 11px;
	margin-bottom: 14px;
}

.ste-registration-builder__provider-ref {
	max-width: 580px;
	margin-bottom: 14px;
}

.ste-registration-builder__field-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 10px;
}

.ste-registration-builder__field-head h4 {
	margin: 0;
	font-size: 16px;
}

.ste-registration-builder__add-field {
	display: flex;
	align-items: center;
	gap: 7px;
}

.ste-registration-builder__add-field select {
	min-height: 38px;
	padding: 7px 9px;
	border: 1px solid var(--ste-event-line);
	border-radius: 8px;
	background: #fff;
}

.ste-registration-builder__fields {
	display: grid;
	gap: 10px;
}

.ste-registration-builder__field-card {
	padding: 13px;
	border: 1px solid var(--ste-event-line);
	border-radius: 11px;
	background: #fff;
}

.ste-registration-builder__field-card > header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 10px;
}

.ste-registration-builder__field-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end;
	gap: 10px;
}

.ste-registration-builder__required {
	display: flex;
	align-items: center;
	gap: 7px;
	min-height: 42px;
	margin: 0;
	padding: 8px 10px;
	border: 1px solid var(--ste-event-line);
	border-radius: 8px;
	background: var(--ste-event-soft);
	font-size: 12px;
	font-weight: 700;
}

.ste-registration-builder__required input {
	width: 17px;
	height: 17px;
	min-height: 0;
	margin: 0;
	padding: 0;
}

.ste-registration-builder__options,
.ste-registration-builder__terms {
	grid-column: 1 / -1;
}

.ste-registration-builder__sample {
	grid-column: 1 / -1;
	justify-self: start;
	color: var(--ste-event-accent);
}

/* Public schedule */
.ste-event-schedule {
	width: 100%;
	max-width: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	overflow: visible;
}

.ste-event-schedule__panel[hidden] {
	display: none !important;
}

.ste-event-schedule__panel {
	width: 100%;
	border: 1px solid var(--ste-event-line);
	border-radius: 14px;
	background: #fff;
	overflow: hidden;
}

.ste-event-schedule__day {
	padding: 16px 18px;
	border-bottom: 1px solid var(--ste-event-line);
	background: linear-gradient(180deg, #fff, #f8faff);
}

.ste-event-schedule__day h3 {
	margin: 3px 0 0;
	font-size: clamp(19px, 2.5vw, 26px);
	line-height: 1.2;
}

.ste-event-schedule__agenda {
	display: grid;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ste-event-schedule__agenda-item {
	display: grid;
	grid-template-columns: minmax(90px, 135px) minmax(0, 1fr);
	gap: 18px;
	margin: 0;
	padding: 18px;
	border-bottom: 1px solid #edf0f4;
}

.ste-event-schedule__agenda-item:last-child {
	border-bottom: 0;
}

.ste-event-schedule__time {
	color: var(--ste-event-accent);
	font-size: 13px;
	font-weight: 900;
	line-height: 1.45;
}

.ste-event-schedule__agenda-copy h4 {
	margin: 0;
	font-size: 17px;
	line-height: 1.35;
}

.ste-event-schedule__agenda-copy > p {
	margin: 8px 0 0;
	color: var(--ste-event-muted);
	font-size: 13px;
	line-height: 1.6;
}

.ste-event-schedule__facts {
	display: flex;
	align-items: flex-start;
	flex-wrap: wrap;
	gap: 7px 14px;
	margin-top: 9px;
}

.ste-event-schedule__fact {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 5px;
	color: var(--ste-event-muted);
	font-size: 12px;
	line-height: 1.45;
}

.ste-event-schedule__fact b {
	color: var(--ste-event-ink);
	font-size: 10px;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.ste-event-schedule__fact a {
	color: var(--ste-event-accent);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}

.ste-event-schedule__route-button {
	appearance: none;
	margin-top: 11px;
	padding: 8px 12px;
	border: 0;
	border-radius: 999px;
	background: var(--ste-event-accent);
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	cursor: pointer;
}

.ste-event-schedule__route-viewer[hidden] {
	display: none !important;
}

.ste-event-schedule__empty {
	margin: 0;
	padding: 22px 18px;
	color: var(--ste-event-muted);
	text-align: center;
}

/* Public built-in registration */
.ste-event-registration {
	width: 100%;
	max-width: 100%;
}

.ste-event-registration__form {
	display: grid;
	gap: 14px;
}

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

.ste-event-registration__field {
	display: grid;
	gap: 6px;
	margin: 0;
}

.ste-event-registration__field > span {
	color: var(--ste-event-muted);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .03em;
	text-transform: uppercase;
}

.ste-event-registration__field input,
.ste-event-registration__field textarea,
.ste-event-registration__field select {
	width: 100%;
	min-height: 44px;
	padding: 10px 11px;
	border: 1px solid var(--ste-event-line);
	border-radius: 9px;
	background: #fff;
	color: var(--ste-event-ink);
	font: inherit;
}

.ste-event-registration__field textarea {
	min-height: 100px;
	resize: vertical;
}

.ste-event-registration__field--terms {
	grid-column: 1 / -1;
	display: grid;
	gap: 10px;
	padding: 13px;
	border: 1px solid var(--ste-event-line);
	border-radius: 11px;
	background: var(--ste-event-soft);
}

.ste-event-registration__field--terms details {
	margin: 0;
}

.ste-event-registration__field--terms summary {
	cursor: pointer;
	font-weight: 800;
}

.ste-event-registration__field--terms details div {
	max-height: 260px;
	margin-top: 10px;
	overflow-y: auto;
	color: var(--ste-event-muted);
	font-size: 12px;
	line-height: 1.6;
}

.ste-event-registration__accept,
.ste-event-registration__field--checkbox {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 0;
	font-size: 13px;
}

.ste-event-registration__accept input,
.ste-event-registration__field--checkbox input {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	min-height: 0;
	margin: 1px 0 0;
	padding: 0;
}

.ste-event-registration__actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 11px;
}

.ste-event-registration__actions button {
	appearance: none;
	padding: 10px 16px;
	border: 0;
	border-radius: 9px;
	background: var(--ste-event-accent);
	color: #fff;
	font-weight: 800;
	cursor: pointer;
}

.ste-event-registration__actions button:disabled {
	opacity: .65;
	cursor: wait;
}

.ste-event-registration__status {
	font-size: 12px;
	font-weight: 700;
}

.ste-event-registration__status.is-success {
	color: var(--ste-event-success);
}

.ste-event-registration__status.is-error {
	color: var(--ste-event-danger);
}

.ste-event-registration__honeypot {
	position: absolute !important;
	left: -99999px !important;
	width: 1px !important;
	height: 1px !important;
	opacity: 0 !important;
}

/* Prevent MyListing wizard/card parents from clipping the enhanced fields. */
.ste-listing-wizard-form .ste-event-field-enhanced,
.ste-listing-wizard-form .ste-event-field-enhanced .field,
.ste-listing-wizard-form .ste-event-field-enhanced .pf-body,
.ste-listing-wizard-form .ste-event-builder {
	max-width: 100% !important;
	overflow: visible !important;
}

@media (max-width: 1050px) {
	.ste-event-builder__field--time {
		grid-column: span 3;
	}

	.ste-event-builder__field--point {
		grid-column: span 6;
	}

	.ste-event-builder__field--distance {
		grid-column: span 3;
	}

	.ste-event-builder__field--difficulty,
	.ste-event-builder__field--route {
		grid-column: span 6;
	}
}

@media (max-width: 760px) {
	.ste-event-builder__toolbar,
	.ste-event-builder__day-head,
	.ste-registration-builder__field-head {
		align-items: stretch;
		flex-direction: column;
	}

	.ste-event-builder__status {
		align-self: flex-start;
		white-space: normal;
	}

	.ste-event-builder__item-head {
		grid-template-columns: 36px minmax(0, 1fr);
	}

	.ste-event-builder__item-head .ste-event-builder__remove {
		grid-column: 2;
		justify-self: start;
		padding: 0;
	}

	.ste-event-builder__field--time,
	.ste-event-builder__field--distance {
		grid-column: span 4;
	}

	.ste-event-builder__field--point {
		grid-column: span 8;
	}

	.ste-event-builder__field--difficulty,
	.ste-event-builder__field--route {
		grid-column: 1 / -1;
	}

	.ste-registration-builder__settings,
	.ste-event-registration__grid {
		grid-template-columns: 1fr;
	}

	.ste-registration-builder__field-grid {
		grid-template-columns: 1fr;
	}

	.ste-registration-builder__required {
		justify-self: start;
	}

	.ste-event-schedule__agenda-item {
		grid-template-columns: 1fr;
		gap: 7px;
		padding: 15px;
	}
}

@media (max-width: 560px) {
	.ste-event-builder__items,
	.ste-event-builder__item {
		padding: 10px;
	}

	.ste-event-builder__grid {
		grid-template-columns: 1fr;
	}

	.ste-event-builder__field,
	.ste-event-builder__field--time,
	.ste-event-builder__field--point,
	.ste-event-builder__field--distance,
	.ste-event-builder__field--difficulty,
	.ste-event-builder__field--route,
	.ste-event-builder__field--details {
		grid-column: 1;
	}

	.ste-event-builder__point-row {
		grid-template-columns: 1fr;
	}

	.ste-event-builder__find-place {
		justify-self: start;
	}

	.ste-event-builder__difficulty {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ste-event-builder__difficulty label:last-child {
		grid-column: 1 / -1;
	}

	.ste-event-builder__tab,
	.ste-event-schedule__tab {
		flex-basis: min(155px, 76vw);
	}

	.ste-registration-builder__add-field {
		display: grid;
		grid-template-columns: 1fr;
	}

	.ste-event-registration__actions {
		align-items: stretch;
		flex-direction: column;
	}

	.ste-event-registration__actions button {
		width: 100%;
	}
}
