.wpede .screen-reader-response {
	position: absolute;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
	word-wrap: normal !important;
}

.wpede .hidden-fields-container {
	display: none;
}

.wpede form.init .wpede-response-output,
.wpede form.resetting .wpede-response-output,
.wpede form.submitting .wpede-response-output {
	display: none;
}

.wpede [inert] {
	opacity: 0.5;
}

.wpede .wpede-submit-progress {
	display: none;
}

.wpede form.submitting .wpede-submit-progress {
	display: block;
}

/* Suppress browser default focus outline — MD3 components
   render their own focus indicators via Shadow DOM. */
.wpede md-outlined-text-field,
.wpede md-outlined-select,
.wpede md-filled-button,
.wpede md-checkbox,
.wpede md-radio {
	outline: none;
}

/* Layout: flex rows and width classes.
   Fields on consecutive lines (no blank line) share a <p> row.
   Blank lines between fields create separate rows. */
.wpede .wpede-form > p {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	align-items: flex-start;
	overflow: visible;
}

.wpede .wpede-form > p > br {
	display: none;
}

.wpede .wpede-form-control-wrap {
	flex: 1 1 100%;
	min-width: 0;
	overflow: visible;
}

.wpede .wpede-form-label {
	display: block;
	margin-bottom: 4px;
	font-size: var(--md-sys-typescale-body-small-size, 0.75rem);
	line-height: var(--md-sys-typescale-body-small-line-height, 1rem);
	color: var(--md-sys-color-on-surface-variant, #49454f);
}

.wpede .wpede-form-control-wrap md-outlined-text-field,
.wpede .wpede-form-control-wrap > input,
.wpede .wpede-form-control-wrap > textarea,
.wpede .wpede-form-control-wrap > select {
	width: 100%;
	box-sizing: border-box;
}

/* Native <input>, <textarea>, and <select> styled to match MD3 outlined fields */
.wpede .wpede-form-control-wrap > input,
.wpede .wpede-form-control-wrap > select {
	height: 56px;
	padding: 16px;
	font-family: var(--md-sys-typescale-body-large-font, var(--md-ref-typeface-plain, Roboto)), system-ui, sans-serif;
	font-size: var(--md-sys-typescale-body-large-size, 1rem);
	line-height: var(--md-sys-typescale-body-large-line-height, 1.5rem);
	color: var(--md-sys-color-on-surface, #1d1b20);
	background-color: transparent;
	border: 1px solid var(--md-sys-color-outline, #79747e);
	border-radius: var(--md-sys-shape-corner-extra-small, 4px);
	outline: none;
}

.wpede .wpede-form-control-wrap > textarea {
	padding: 16px;
	font-family: var(--md-sys-typescale-body-large-font, var(--md-ref-typeface-plain, Roboto)), system-ui, sans-serif;
	font-size: var(--md-sys-typescale-body-large-size, 1rem);
	line-height: var(--md-sys-typescale-body-large-line-height, 1.5rem);
	color: var(--md-sys-color-on-surface, #1d1b20);
	background-color: transparent;
	border: 1px solid var(--md-sys-color-outline, #79747e);
	border-radius: var(--md-sys-shape-corner-extra-small, 4px);
	outline: none;
	resize: vertical;
}

.wpede .wpede-form-control-wrap > input:hover,
.wpede .wpede-form-control-wrap > textarea:hover,
.wpede .wpede-form-control-wrap > select:hover {
	border-color: var(--md-sys-color-on-surface, #1d1b20);
}

.wpede .wpede-form-control-wrap > input:focus,
.wpede .wpede-form-control-wrap > textarea:focus,
.wpede .wpede-form-control-wrap > select:focus {
	border-color: var(--wpede-border-color, #0b57d0);
	border-width: 2px;
	padding: 15px;
}

.wpede .wpede-form-control-wrap > select {
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='%2349454f' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	padding-right: 40px;
	cursor: pointer;
}

.wpede .wpede-form-control-wrap > select:focus {
	padding-right: 39px;
}

.wpede .wpede-width-full {
	flex-basis: 100%;
}

.wpede .wpede-width-half {
	flex: 0 1 calc(50% - 8px);
}

.wpede .wpede-width-third {
	flex: 0 1 calc(33.333% - 11px);
}

.wpede .wpede-width-quarter {
	flex: 0 1 calc(25% - 12px);
}

.wpede .wpede-width-two-thirds {
	flex: 0 1 calc(66.667% - 6px);
}

.wpede .wpede-width-three-quarters {
	flex: 0 1 calc(75% - 4px);
}

@media (max-width: 600px) {
	.wpede .wpede-form-control-wrap[class*="wpede-width-"] {
		flex: 1 1 100%;
	}
}

.wpede-reflection > output {
	display: list-item;
	list-style: none;
}

.wpede-reflection > output[hidden] {
	display: none;
}

.wpede-recurring-event-info {
	background: #f0f6fc;
	border: 1px solid #d0d7de;
	border-radius: 6px;
	padding: 8px 12px;
	margin-bottom: 16px;
	font-size: 14px;
}

.wpede-recurring-event-info p {
	margin: 0;
}
