.ete-create-exam {
	margin: 0 0 1.5rem;
}

.ete-create-exam__container {
	max-width: 960px;
	margin: 0 auto;
	padding: 1.25rem;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	box-sizing: border-box;
}

.ete-create-exam__header {
	margin: 0 0 1rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid #e2e8f0;
}

.ete-create-exam__header h2,
.ete-create-exam__header h3,
.ete-create-exam__header h4 {
	margin: 0;
	line-height: 1.35;
	color: #1a3a5a;
}

.ete-create-exam__header h2 {
	font-size: 1.5rem;
}

.ete-create-exam__header h3 {
	font-size: 1.25rem;
}

.ete-create-exam__header h4 {
	font-size: 1.0625rem;
}

.ete-create-exam__notice {
	margin: 0 0 1rem;
	padding: 0.75rem 1rem;
	border-radius: 6px;
	border-left: 4px solid #1e73be;
	background: #f0f6fc;
	color: #1a3a5a;
}

.ete-create-exam__notice p {
	margin: 0;
}

.ete-create-exam__notice p + p {
	margin-top: 0.5rem;
}

.ete-create-exam__notice ul {
	margin: 0;
	padding-left: 1.25rem;
}

.ete-create-exam__notice li {
	margin: 0 0 0.35rem;
}

.ete-create-exam__notice li:last-child {
	margin-bottom: 0;
}

.ete-create-exam__notice--admin {
	border-left-color: #646970;
	background: #f6f7f7;
}

.ete-create-exam__notice--info {
	border-left-color: #1e73be;
	background: #f0f6fc;
}

.ete-create-exam__notice--success {
	border-left-color: #00a32a;
	background: #edfaef;
}

.ete-create-exam__notice--error {
	border-left-color: #b32d2e;
	background: #fcf0f1;
	color: #1a3a5a;
}

.ete-create-exam__form {
	margin: 0 0 1.25rem;
}

.ete-create-exam__questions .ete-create-exam__form {
	margin-bottom: 0;
}

.ete-create-exam__field {
	margin: 0 0 1rem;
}

.ete-create-exam__field label {
	display: block;
	margin: 0 0 0.35rem;
	font-size: 0.9375rem;
	font-weight: 600;
	color: #1a3a5a;
}

.ete-create-exam__field-input {
	display: block;
	width: 100%;
	max-width: 100%;
	padding: 0.55rem 0.75rem;
	font-size: 0.9375rem;
	line-height: 1.4;
	color: #1a3a5a;
	background: #fff;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	box-sizing: border-box;
}

.ete-create-exam__field-input:focus {
	border-color: #1e73be;
	outline: none;
}

.ete-create-exam__field-input:focus-visible {
	outline: 2px solid #1a3a5a;
	outline-offset: 2px;
	border-color: #1e73be;
}

.ete-create-exam__field-input[name="ete_exam_duration"],
.ete-create-exam__field-input[name="ete_question_points"] {
	max-width: 8rem;
}

.ete-create-exam__field textarea.ete-create-exam__field-input {
	min-height: 6rem;
	resize: vertical;
}

.ete-create-exam__field--true-false {
	margin-bottom: 1rem;
}

.ete-create-exam__true-false-options {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.ete-create-exam__true-false-option {
	display: inline-flex;
	align-items: center;
	margin: 0;
	font-size: 0.9375rem;
	font-weight: 600;
	color: #1a3a5a;
}

.ete-create-exam__true-false-option input[type="radio"] {
	margin: 0 0.35rem 0 0;
	vertical-align: middle;
}

.ete-create-exam__field--true-false[hidden],
.ete-create-exam__field--question-options[hidden],
.ete-create-exam__field--fill-blanks[hidden],
.ete-create-exam__field--long-answer[hidden] {
	display: none;
}

.ete-create-exam .ete-my-questions__field[hidden],
.ete-create-exam .ete-my-questions__shared-fields[hidden],
.ete-create-exam .ete-my-questions__odd-editor[hidden],
.ete-create-exam .ete-my-questions__option-correct[hidden] {
	display: none !important;
}

.ete-create-exam__field--fill-blanks {
	margin-bottom: 1rem;
}

.ete-create-exam__field-input--fill-blanks {
	min-height: 9rem;
	font-family: inherit;
}

.ete-create-exam__fill-blanks-insert {
	display: inline-block;
	margin: 0.5rem 0 1rem;
	padding: 0.45rem 0.75rem;
	min-height: 44px;
	box-sizing: border-box;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.4;
	text-align: center;
	color: #fff;
	background: #1e73be;
	border: 1px solid #1e73be;
	border-radius: 6px;
	cursor: pointer;
}

.ete-create-exam__fill-blanks-insert:hover,
.ete-create-exam__fill-blanks-insert:focus {
	color: #fff;
	background: #185a96;
	border-color: #185a96;
}

.ete-create-exam__fill-blanks-insert:disabled,
.ete-create-exam__fill-blanks-insert[aria-disabled="true"] {
	opacity: 0.65;
	cursor: not-allowed;
}

.ete-create-exam__fill-blanks-slots {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.ete-create-exam__fill-blank-slot {
	margin: 0;
	padding: 1rem;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	background: #f8fafc;
}

.ete-create-exam__fill-blank-slot-title {
	margin: 0 0 0.75rem;
	font-size: 1rem;
	font-weight: 600;
	color: #1a3a5a;
}

.ete-create-exam__fill-blank-field {
	margin-bottom: 0.75rem;
}

.ete-create-exam__fill-blank-alternatives {
	margin-top: 0.5rem;
}

.ete-create-exam__fill-blank-alternatives-list {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin-bottom: 0.5rem;
}

.ete-create-exam__fill-blank-alternative-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: center;
}

.ete-create-exam__fill-blank-alternative-row .ete-create-exam__field-input {
	flex: 1 1 12rem;
	min-width: 0;
}

.ete-create-exam__fill-blank-alternative-add,
.ete-create-exam__fill-blank-alternative-remove {
	display: inline-block;
	padding: 0.45rem 0.75rem;
	min-height: 44px;
	box-sizing: border-box;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.4;
	text-align: center;
	color: #1a3a5a;
	background: #fff;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	cursor: pointer;
}

.ete-create-exam__fill-blank-alternative-add {
	color: #fff;
	background: #1e73be;
	border-color: #1e73be;
}

.ete-create-exam__fill-blank-alternative-add:hover,
.ete-create-exam__fill-blank-alternative-add:focus {
	color: #fff;
	background: #185a96;
	border-color: #185a96;
}

.ete-create-exam__fill-blank-alternative-remove:hover,
.ete-create-exam__fill-blank-alternative-remove:focus {
	background: #f1f5f9;
	border-color: #94a3b8;
}

.ete-create-exam__field--long-answer {
	margin-bottom: 1rem;
}

.ete-create-exam__field-input--open-answer-model {
	min-height: 9rem;
	font-family: inherit;
}

.ete-create-exam__field-help {
	margin: 0.35rem 0 0;
	font-size: 0.875rem;
	color: #575760;
}

/* Free plan: locked options preview (security + notifications). */
.ete-create-exam__form--security-locked {
	opacity: 0.72;
	pointer-events: none;
}

.ete-create-exam__form--security-locked .ete-create-exam__field label {
	cursor: not-allowed;
}

/* EMAIL-DELIVERY-2I — Free notifications: toggles clickable, panels locked. */
.ete-create-exam__form--notifications-locked .ete-create-exam__email-template-block,
.ete-create-exam__form--notifications-locked .ete-create-exam__notify-locked-fields {
	opacity: 0.92;
	pointer-events: none;
}

.ete-create-exam__form--notifications-locked .ete-create-exam__notify-toggle {
	pointer-events: auto;
	cursor: pointer;
}

.ete-create-exam__form--notifications-locked .ete-create-exam__field--notify-toggle label {
	cursor: pointer;
}

.ete-create-exam__email-premium-notice {
	margin: 0.5rem 0 0.85rem;
	padding: 0.55rem 0.75rem;
}

.ete-create-exam__question-content-preview {
	margin: 0;
	padding: 0.65rem 0.75rem;
	font-size: 0.9375rem;
	line-height: 1.5;
	color: #1a3a5a;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	white-space: pre-wrap;
	word-break: break-word;
}

.ete-create-exam__field--question-options {
	margin-bottom: 1rem;
}

.ete-create-exam__field-label {
	display: block;
	margin-bottom: 0.5rem;
	font-weight: 600;
	color: #1a3a5a;
}

.ete-create-exam__options-list {
	margin: 0 0 0.75rem;
}

.ete-create-exam__option-row {
	margin-bottom: 1rem;
}

.ete-create-exam__option-row-label {
	display: block;
	margin-bottom: 0.35rem;
	font-weight: 600;
	color: #1a3a5a;
}

.ete-create-exam__option-row-controls {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 0.75rem;
	align-items: center;
}

.ete-create-exam__option-row-controls .ete-create-exam__field-input {
	flex: 1 1 12rem;
	min-width: 0;
}

.ete-create-exam__option-correct--single,
.ete-create-exam__option-correct--multiple {
	display: inline-flex;
	align-items: center;
	margin: 0;
	font-size: 0.9375rem;
	font-weight: 600;
	color: #1a3a5a;
	white-space: nowrap;
}

.ete-create-exam__option-correct--single input[type="radio"],
.ete-create-exam__option-correct--multiple input[type="checkbox"] {
	margin: 0 0.35rem 0 0;
	vertical-align: middle;
}

.ete-create-exam__option-correct--single[hidden],
.ete-create-exam__option-correct--multiple[hidden] {
	display: none;
}

.ete-create-exam__option-remove,
.ete-create-exam__option-add {
	display: inline-block;
	padding: 0.45rem 0.75rem;
	min-height: 44px;
	box-sizing: border-box;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.4;
	text-align: center;
	color: #1a3a5a;
	background: #fff;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	cursor: pointer;
}

.ete-create-exam__option-add {
	color: #fff;
	background: #1e73be;
	border-color: #1e73be;
}

.ete-create-exam__option-remove:hover,
.ete-create-exam__option-remove:focus,
.ete-create-exam__option-add:hover,
.ete-create-exam__option-add:focus {
	background: #f1f5f9;
	border-color: #94a3b8;
}

.ete-create-exam__option-add:hover,
.ete-create-exam__option-add:focus {
	color: #fff;
	background: #185a96;
	border-color: #185a96;
}

.ete-create-exam__option-remove:disabled,
.ete-create-exam__option-remove[aria-disabled="true"],
.ete-create-exam__option-add:disabled,
.ete-create-exam__option-add[aria-disabled="true"] {
	opacity: 0.65;
	cursor: not-allowed;
}

.ete-create-exam__odd-editor {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.ete-create-exam__odd-limit-msg {
	margin: 0;
	min-height: 1.25rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: #1a3a5a;
}

.ete-create-exam__odd-limit-msg:empty {
	display: none;
}

.ete-create-exam__odd-rows {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.ete-create-exam__odd-row {
	margin: 0;
	padding: 0.875rem 1rem 1rem;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	background: #f8fafc;
}

.ete-create-exam__odd-row-legend {
	padding: 0 0.35rem;
	font-size: 0.9375rem;
	font-weight: 700;
	color: #1a3a5a;
}

.ete-create-exam__odd-options {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin: 0.5rem 0 0;
}

.ete-create-exam__odd-option {
	display: grid;
	grid-template-columns: minmax(5rem, auto) minmax(0, 1fr) auto auto;
	gap: 0.5rem 0.75rem;
	align-items: center;
	padding: 0.65rem 0.75rem;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
}

.ete-create-exam__odd-option-label {
	margin: 0;
	font-size: 0.875rem;
	font-weight: 600;
	color: #1a3a5a;
	white-space: nowrap;
}

.ete-create-exam__odd-option .ete-create-exam__field-input {
	width: 100%;
	min-width: 0;
}

.ete-create-exam__odd-option-intruder {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin: 0;
	font-size: 0.875rem;
	font-weight: 600;
	color: #1a3a5a;
	white-space: nowrap;
	cursor: pointer;
}

.ete-create-exam__odd-option-intruder input[type="checkbox"] {
	margin: 0;
	vertical-align: middle;
}

.ete-create-exam__odd-row-actions,
.ete-create-exam__odd-editor-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 0.75rem;
}

.ete-create-exam__odd-option-add,
.ete-create-exam__odd-row-add,
.ete-create-exam__odd-option-remove,
.ete-create-exam__odd-row-remove {
	display: inline-block;
	padding: 0.45rem 0.75rem;
	min-height: 44px;
	box-sizing: border-box;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.4;
	text-align: center;
	color: #1a3a5a;
	background: #fff;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	cursor: pointer;
}

.ete-create-exam__odd-option-add,
.ete-create-exam__odd-row-add {
	color: #fff;
	background: #1e73be;
	border-color: #1e73be;
}

.ete-create-exam__odd-option-add:hover,
.ete-create-exam__odd-option-add:focus-visible,
.ete-create-exam__odd-row-add:hover,
.ete-create-exam__odd-row-add:focus-visible {
	color: #fff;
	background: #185a96;
	border-color: #185a96;
}

.ete-create-exam__odd-option-remove:hover,
.ete-create-exam__odd-option-remove:focus-visible,
.ete-create-exam__odd-row-remove:hover,
.ete-create-exam__odd-row-remove:focus-visible {
	background: #f1f5f9;
	border-color: #94a3b8;
}

.ete-create-exam__odd-option-add:focus-visible,
.ete-create-exam__odd-row-add:focus-visible,
.ete-create-exam__odd-option-remove:focus-visible,
.ete-create-exam__odd-row-remove:focus-visible,
.ete-create-exam__odd-option .ete-create-exam__field-input:focus-visible,
.ete-create-exam__odd-option-intruder input[type="checkbox"]:focus-visible {
	outline: 2px solid #1a3a5a;
	outline-offset: 2px;
}

.ete-create-exam__odd-option-add:disabled,
.ete-create-exam__odd-option-add[aria-disabled="true"],
.ete-create-exam__odd-row-add:disabled,
.ete-create-exam__odd-row-add[aria-disabled="true"],
.ete-create-exam__odd-option-remove:disabled,
.ete-create-exam__odd-option-remove[aria-disabled="true"],
.ete-create-exam__odd-row-remove:disabled,
.ete-create-exam__odd-row-remove[aria-disabled="true"] {
	opacity: 0.65;
	cursor: not-allowed;
}

.ete-create-exam__odd-editor[hidden] {
	display: none;
}

.ete-create-exam__field--question-option {
	margin-bottom: 1rem;
}

.ete-create-exam__option-correct {
	display: block;
	margin: 0.5rem 0 0;
	font-size: 0.9375rem;
	font-weight: 600;
	color: #1a3a5a;
}

.ete-create-exam__option-correct input[type="checkbox"] {
	margin: 0 0.35rem 0 0;
	vertical-align: middle;
}

.ete-create-exam__field--single-correct[hidden],
.ete-create-exam__field--option-correct[hidden] {
	display: none;
}

.ete-create-exam__button {
	margin: 0.25rem 0 0;
}

.ete-create-exam__logo-block {
	margin: 0 0 1rem;
}

.ete-create-exam__logo-block .ete-create-exam__field-label {
	display: block;
	margin: 0 0 0.5rem;
	font-weight: 600;
}

.ete-create-exam__logo-preview {
	margin: 0 0 0.5rem;
}

.ete-create-exam__logo-preview-image {
	display: block;
	max-width: 240px;
	height: auto;
}

.ete-create-exam__form--delete-exam-logo {
	margin: 0 0 0.75rem;
}

.ete-create-exam__logo-delete-link {
	background: none;
	border: 0;
	padding: 0;
	color: #b32d2e;
	text-decoration: underline;
	font-size: inherit;
	cursor: pointer;
}

.ete-create-exam__logo-delete-link:hover,
.ete-create-exam__logo-delete-link:focus {
	text-decoration: none;
}

.ete-create-exam__logo-delete-link:focus-visible {
	outline: 2px solid #1a3a5a;
	outline-offset: 2px;
}

.ete-create-exam__button-submit {
	display: inline-block;
	padding: 0.55rem 1rem;
	min-height: 44px;
	box-sizing: border-box;
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.4;
	text-align: center;
	color: #fff;
	background: #1e73be;
	border: 1px solid #1e73be;
	border-radius: 6px;
	cursor: pointer;
}

.ete-create-exam__button-submit:hover,
.ete-create-exam__button-submit:focus {
	color: #fff;
	background: #185a96;
	border-color: #185a96;
}

.ete-create-exam__button-submit:focus-visible {
	outline: 2px solid #1a3a5a;
	outline-offset: 2px;
}

.ete-create-exam__button-submit:disabled,
.ete-create-exam__button-submit[aria-disabled="true"] {
	opacity: 0.65;
	cursor: not-allowed;
	color: #fff;
	background: #94a3b8;
	border-color: #94a3b8;
}

.ete-create-exam__button-submit:disabled:hover,
.ete-create-exam__button-submit:disabled:focus,
.ete-create-exam__button-submit[aria-disabled="true"]:hover,
.ete-create-exam__button-submit[aria-disabled="true"]:focus {
	color: #fff;
	background: #94a3b8;
	border-color: #94a3b8;
}

.ete-create-exam__publish-limit-hint {
	margin: 0.5rem 0 0;
	font-size: 0.875rem;
	color: #575760;
}

.ete-create-exam__questions {
	margin-top: 1.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid #e2e8f0;
}

.ete-create-exam__section {
	margin: 0 0 0.75rem;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	background: #fff;
	overflow: hidden;
}

.ete-create-exam__section-summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin: 0;
	padding: 0.875rem 1rem;
	font-size: 1.0625rem;
	font-weight: 600;
	line-height: 1.35;
	color: #1a3a5a;
	cursor: pointer;
	list-style: none;
	border-bottom: 1px solid transparent;
	background: #f8fafc;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.ete-create-exam__section-summary::-webkit-details-marker {
	display: none;
}

.ete-create-exam__section-summary::after {
	content: "";
	flex-shrink: 0;
	width: 0.5rem;
	height: 0.5rem;
	border-right: 2px solid #64748b;
	border-bottom: 2px solid #64748b;
	transform: rotate(45deg);
	transition: transform 0.15s ease;
}

.ete-create-exam__section[open] > .ete-create-exam__section-summary {
	border-bottom-color: #e2e8f0;
	background: #fff;
}

.ete-create-exam__section[open] > .ete-create-exam__section-summary::after {
	transform: rotate(-135deg);
}

.ete-create-exam__section-summary:hover {
	background: #f0f6fc;
}

.ete-create-exam__section-summary:focus {
	outline: none;
}

.ete-create-exam__section-summary:focus-visible {
	outline: 2px solid #1a3a5a;
	outline-offset: -2px;
	background: #f0f6fc;
}

.ete-create-exam__section > :not(summary) {
	padding-left: 1rem;
	padding-right: 1rem;
}

.ete-create-exam__section > :not(summary):first-of-type {
	padding-top: 1rem;
}

.ete-create-exam__section > :not(summary):last-child {
	padding-bottom: 1rem;
}

.ete-create-exam__section .ete-create-exam__form {
	margin-bottom: 0;
}

.ete-create-exam__section .ete-create-exam__question-list-wrap {
	padding-left: 0;
	padding-right: 0;
}

.ete-create-exam__questions-table-scroll {
	margin: 0 0 1.25rem;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.ete-create-exam__questions-table {
	width: 100%;
	min-width: 48rem;
	border-collapse: collapse;
	border: 1px solid #e2e8f0;
	background: #fff;
	font-size: 0.875rem;
	line-height: 1.35;
}

.ete-create-exam__questions-table thead th {
	padding: 0.5rem 0.65rem;
	text-align: left;
	font-weight: 600;
	font-size: 0.8125rem;
	color: #334155;
	background: #f8fafc;
	border-bottom: 1px solid #e2e8f0;
	white-space: nowrap;
	vertical-align: middle;
}

.ete-create-exam__questions-table tbody td {
	padding: 0.4rem 0.65rem;
	border-bottom: 1px solid #eef2f7;
	vertical-align: middle;
	color: #475569;
}

.ete-create-exam__questions-table tbody tr:last-child td {
	border-bottom: none;
}

.ete-create-exam__questions-table tbody tr:nth-child(even) td {
	background: #fafbfc;
}

.ete-create-exam__question-item:focus-within {
	outline: 2px solid #2563eb;
	outline-offset: -2px;
}

.ete-create-exam__question-col--included {
	width: 4.5rem;
	text-align: center;
}

.ete-create-exam__question-col--order {
	min-width: 9.5rem;
	width: 9.5rem;
	text-align: left;
	font-variant-numeric: tabular-nums;
	font-weight: 600;
	color: #0f172a;
}

.ete-create-exam__question-order-controls {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.25rem 0.35rem;
}

.ete-create-exam__question-drag-handle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0.15rem 0.3rem;
	min-width: 1.75rem;
	min-height: 1.75rem;
	font: inherit;
	font-size: 0.85rem;
	line-height: 1;
	color: #1d4ed8;
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	border-radius: 4px;
	cursor: grab;
	touch-action: none;
	user-select: none;
}

.ete-create-exam__question-drag-handle:hover,
.ete-create-exam__question-drag-handle:focus-visible {
	color: #1e3a8a;
	outline: 2px solid #2563eb;
	outline-offset: 2px;
}

.ete-create-exam__question-drag-handle:active {
	cursor: grabbing;
}

.ete-create-exam__question-drag-handle:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.ete-create-exam__question-order {
	display: inline-block;
	min-width: 1.25rem;
	text-align: center;
}

.ete-create-exam__question-move {
	display: inline-block;
	margin: 0;
	padding: 0.15rem 0.35rem;
	font: inherit;
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1.3;
	color: #1d4ed8;
	background: #fff;
	border: 1px solid #cbd5e1;
	border-radius: 4px;
	cursor: pointer;
}

.ete-create-exam__question-move:hover,
.ete-create-exam__question-move:focus-visible {
	color: #1e3a8a;
	border-color: #93c5fd;
	outline: 2px solid #2563eb;
	outline-offset: 2px;
}

.ete-create-exam__question-move:disabled {
	opacity: 0.45;
	cursor: not-allowed;
	color: #64748b;
}

.ete-create-exam__question-item--dragging {
	opacity: 0.55;
	background: #f0f6fc;
}

.ete-create-exam__question-item--dragging td {
	background: #f0f6fc !important;
}

.ete-create-exam__question-item--drop-before td {
	box-shadow: inset 0 2px 0 #2563eb;
}

.ete-create-exam__question-item--drop-after td {
	box-shadow: inset 0 -2px 0 #2563eb;
}

.ete-create-exam__question-list--saving {
	opacity: 0.85;
}

.ete-create-exam__reorder-status {
	margin: 0.5rem 0 1rem;
	padding: 0.5rem 0.75rem;
	font-size: 0.875rem;
	border-radius: 6px;
	border: 1px solid #cbd5e1;
	background: #f8fafc;
	color: #334155;
}

.ete-create-exam__reorder-status--ok {
	border-color: #86efac;
	background: #f0fdf4;
	color: #166534;
}

.ete-create-exam__reorder-status--error {
	border-color: #fca5a5;
	background: #fef2f2;
	color: #991b1b;
}

.ete-create-exam__question-col--title {
	max-width: 14rem;
}

.ete-create-exam__question-title {
	display: block;
	font-weight: 600;
	color: #0f172a;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ete-create-exam__question-col--type,
.ete-create-exam__question-col--points {
	white-space: nowrap;
}

.ete-create-exam__question-col--points {
	font-variant-numeric: tabular-nums;
}

.ete-create-exam__question-col--category {
	max-width: 10rem;
}

.ete-create-exam__question-category-text {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ete-create-exam__question-col--actions {
	white-space: nowrap;
}

.ete-create-exam__question-included {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.5rem;
	height: 1.5rem;
	border-radius: 999px;
	background: #ecfdf5;
	color: #047857;
}

.ete-create-exam__question-included-icon {
	font-size: 0.875rem;
	line-height: 1;
}

.ete-create-exam__question-list .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.ete-create-exam__question-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 0.75rem;
}

.ete-create-exam__question-actions .ete-create-exam__form--delete-draft-question {
	margin: 0;
	display: inline;
}

.ete-create-exam__question-action-edit,
.ete-create-exam__question-action-delete {
	display: inline-block;
	margin: 0;
	padding: 0.2rem 0;
	font: inherit;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: underline;
	background: none;
	border: none;
	cursor: pointer;
	color: #1d4ed8;
}

.ete-create-exam__question-action-edit:hover,
.ete-create-exam__question-action-edit:focus-visible,
.ete-create-exam__question-action-delete:hover,
.ete-create-exam__question-action-delete:focus-visible {
	color: #1e3a8a;
	outline: 2px solid #2563eb;
	outline-offset: 2px;
}

.ete-create-exam__question-action-delete {
	color: #b91c1c;
}

.ete-create-exam__question-action-delete:hover,
.ete-create-exam__question-action-delete:focus-visible {
	color: #7f1d1d;
}

.ete-create-exam__question-option {
	margin: 0 0 0.35rem;
	padding: 0.35rem 0.5rem;
	font-size: 0.9375rem;
	color: #575760;
	list-style: none;
	border-radius: 4px;
}

.ete-create-exam__question-option--correct {
	background: #edfaef;
	color: #1a3a5a;
	font-weight: 600;
}

.ete-create-exam__question-option-badge {
	display: inline-block;
	margin-left: 0.35rem;
	padding: 0.1rem 0.45rem;
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1.4;
	color: #1a3a5a;
	background: #c6f0d0;
	border-radius: 999px;
}

@media (max-width: 768px) {
	.ete-create-exam__container {
		padding: 1rem;
	}

	.ete-create-exam__header h2 {
		font-size: 1.25rem;
	}

	.ete-create-exam__section-summary {
		padding: 0.75rem 0.875rem;
		font-size: 1rem;
	}

	.ete-create-exam__section > :not(summary) {
		padding-left: 0.875rem;
		padding-right: 0.875rem;
	}

	.ete-create-exam__button-submit {
		display: block;
		width: 100%;
	}

	.ete-create-exam__questions-table {
		min-width: 42rem;
		font-size: 0.8125rem;
	}

	.ete-create-exam__question-col--order {
		min-width: 8.5rem;
	}

	.ete-create-exam__questions-table thead th,
	.ete-create-exam__questions-table tbody td {
		padding: 0.35rem 0.5rem;
	}

	.ete-create-exam__option-row-controls {
		flex-direction: column;
		align-items: stretch;
	}

	.ete-create-exam__option-remove,
	.ete-create-exam__option-add {
		width: 100%;
	}

	.ete-create-exam__odd-option {
		grid-template-columns: 1fr;
		align-items: stretch;
	}

	.ete-create-exam__odd-option-label,
	.ete-create-exam__odd-option-intruder {
		white-space: normal;
	}

	.ete-create-exam__odd-row-actions,
	.ete-create-exam__odd-editor-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.ete-create-exam__odd-option-add,
	.ete-create-exam__odd-row-add,
	.ete-create-exam__odd-option-remove,
	.ete-create-exam__odd-row-remove {
		width: 100%;
	}

	.ete-create-exam__true-false-options {
		gap: 0.75rem;
	}

	.ete-create-exam__fill-blank-alternative-row {
		flex-direction: column;
		align-items: stretch;
	}

	.ete-create-exam__fill-blank-alternative-add,
	.ete-create-exam__fill-blank-alternative-remove,
	.ete-create-exam__fill-blanks-insert {
		width: 100%;
	}
}

/* EMAIL-DELIVERY-2H — notification templates under each recipient (scoped) */
.ete-create-exam__notify-recipient {
	margin: 0 0 1.25rem;
	padding-bottom: 0.25rem;
}

.ete-create-exam__email-template-block {
	margin: 0.5rem 0 0.75rem 0.15rem;
	padding: 0.85rem 1rem 1rem;
	border: 1px solid #d0d7de;
	border-radius: 6px;
	background: #f6f8fa;
}

.ete-create-exam__email-template-block[hidden] {
	display: none;
}

.ete-create-exam__email-template-heading {
	margin: 0 0 0.4rem;
	font-size: 1rem;
	font-weight: 600;
	color: #1d2327;
}

.ete-create-exam__email-privacy-notice {
	margin: 0.5rem 0 0.85rem;
	padding: 0.55rem 0.75rem;
}

.ete-create-exam__email-body {
	min-height: 8rem;
	font-family: Consolas, "Courier New", Monaco, monospace;
	font-size: 0.9375rem;
	line-height: 1.5;
	color: #1d2327;
	background: #fff;
}

.ete-create-exam__email-placeholders {
	margin-top: 0.75rem;
}

.ete-create-exam__email-placeholders-title {
	margin: 0 0 0.25rem;
	font-size: 0.9375rem;
	font-weight: 600;
	color: #1d2327;
}

.ete-create-exam__email-placeholder-list {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	list-style: none;
	margin: 0.5rem 0 0;
	padding: 0;
}

.ete-create-exam__email-placeholder-item {
	margin: 0;
	padding: 0;
}

.ete-create-exam__email-placeholder-btn {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.35rem 0.65rem;
	width: 100%;
	margin: 0;
	padding: 0.45rem 0.65rem;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	background: #fff;
	color: #1d2327;
	cursor: pointer;
	text-align: left;
	font-size: 0.875rem;
	line-height: 1.4;
	box-sizing: border-box;
}

.ete-create-exam__email-placeholder-btn:hover:not(:disabled),
.ete-create-exam__email-placeholder-btn:focus:not(:disabled) {
	border-color: #2271b1;
	background: #f0f6fc;
	outline: none;
}

.ete-create-exam__email-placeholder-btn:disabled {
	opacity: 0.75;
	cursor: not-allowed;
}

.ete-create-exam__email-placeholder-token {
	display: inline-block;
	font-family: Consolas, "Courier New", Monaco, monospace;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.4;
	color: #0550ae;
	background: #ddf4ff;
	border: 1px solid #b6e3ff;
	border-radius: 3px;
	padding: 0.1rem 0.35rem;
	white-space: nowrap;
}

.ete-create-exam__email-placeholder-desc {
	display: inline;
	flex: 1 1 12rem;
	color: #50575e;
	font-size: 0.875rem;
	line-height: 1.4;
	white-space: normal;
}

@media (min-width: 720px) {
	.ete-create-exam__email-placeholder-btn {
		align-items: center;
	}
}

/* Question private categories selector (2H.5F-1B) */
.ete-create-exam__field--question-categories {
	margin-top: 0.75rem;
}

.ete-create-exam__field--question-categories .ete-create-exam__field-label {
	display: block;
	margin: 0 0 0.4rem;
	font-weight: 600;
	color: #1d2327;
}

.ete-create-exam__question-categories {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.35rem 1rem;
	margin: 0.35rem 0 0;
	padding: 0;
	list-style: none;
	max-width: 100%;
}

.ete-create-exam__question-category {
	margin: 0;
	padding: 0;
	min-width: 0;
}

.ete-create-exam__question-category-label {
	display: flex;
	align-items: flex-start;
	gap: 0.45rem;
	margin: 0;
	font-weight: 400;
	line-height: 1.35;
	color: #1d2327;
	cursor: pointer;
}

.ete-create-exam__question-category-input {
	flex: 0 0 auto;
	margin: 0.2rem 0 0;
}

.ete-create-exam__question-category-name {
	flex: 1 1 auto;
	min-width: 0;
	overflow-wrap: anywhere;
	word-break: break-word;
}

@media (min-width: 720px) {
	.ete-create-exam__question-categories {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 960px) {
	.ete-create-exam__question-categories {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* Exam private categories selector (2H.5G-1B / UX1) — display only */
.ete-create-exam__field--exam-categories {
	margin-top: 0.75rem;
	max-width: 100%;
}

.ete-create-exam__field--exam-categories .ete-create-exam__field-label {
	display: block;
	margin: 0 0 0.4rem;
	font-weight: 600;
	color: #1d2327;
}

.ete-create-exam__exam-categories-details {
	margin: 0.35rem 0 0;
	padding: 0;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	background: #fff;
	max-width: 100%;
	box-sizing: border-box;
}

.ete-create-exam__exam-categories-summary {
	display: block;
	padding: 0.65rem 0.75rem;
	font-weight: 600;
	line-height: 1.4;
	color: #1d2327;
	cursor: pointer;
	list-style-position: outside;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.ete-create-exam__exam-categories-summary::-webkit-details-marker {
	color: #1a3a5a;
}

.ete-create-exam__exam-categories-summary:focus {
	outline: none;
}

.ete-create-exam__exam-categories-summary:focus-visible {
	outline: 2px solid #1a3a5a;
	outline-offset: 2px;
}

.ete-create-exam__exam-categories-details[open] > .ete-create-exam__exam-categories-summary {
	border-bottom: 1px solid #dcdcde;
}

.ete-create-exam__exam-categories-details .ete-create-exam__exam-categories {
	margin: 0;
	padding: 0.65rem 0.75rem 0.75rem;
}

.ete-create-exam__exam-categories {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0.45rem;
	margin: 0.35rem 0 0;
	padding: 0;
	list-style: none;
	max-width: 100%;
	box-sizing: border-box;
}

.ete-create-exam__exam-category {
	margin: 0;
	padding: 0;
	min-width: 0;
}

.ete-create-exam__exam-category-label {
	display: flex;
	align-items: flex-start;
	gap: 0.45rem;
	margin: 0;
	font-weight: 400;
	line-height: 1.35;
	color: #1d2327;
	cursor: pointer;
}

.ete-create-exam__exam-category-input {
	flex: 0 0 auto;
	margin: 0.2rem 0 0;
	min-width: 1rem;
	min-height: 1rem;
}

.ete-create-exam__exam-category-input:focus {
	outline: none;
}

.ete-create-exam__exam-category-input:focus-visible {
	outline: 2px solid #1a3a5a;
	outline-offset: 2px;
}

.ete-create-exam__exam-category-name {
	flex: 1 1 auto;
	min-width: 0;
	overflow-wrap: anywhere;
	word-break: break-word;
}

/* Banco-2B — available bank masters (select + attach copies) */
.ete-create-exam__bank-picker {
	margin: 0.75rem 0 0;
}

.ete-create-exam__bank-picker-hint {
	margin: 0 0 1rem;
	font-size: 0.9375rem;
	line-height: 1.45;
	color: #475569;
}

.ete-create-exam__bank-picker-filters {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 0.75rem 1rem;
	margin: 0 0 1rem;
}

.ete-create-exam__bank-picker-field {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	flex: 1 1 10rem;
	min-width: 8rem;
	max-width: 18rem;
	margin: 0;
}

.ete-create-exam__bank-picker-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: center;
}

.ete-create-exam__bank-picker-attach {
	margin: 0 0 0.75rem;
}

.ete-create-exam__bank-picker-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin: 0 0 0.75rem;
}

.ete-create-exam__bank-picker-select-all {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin: 0;
	font-size: 0.9375rem;
	font-weight: 600;
	color: #1a3a5a;
	cursor: pointer;
}

.ete-create-exam__bank-picker-col-check {
	width: 2.5rem;
	text-align: center;
	vertical-align: middle;
}

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

.ete-create-exam__bank-picker-footer-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 0.5rem;
	margin: 0.75rem 0 0;
}

.ete-create-exam__bank-picker-table-wrap {
	overflow-x: auto;
	margin: 0 0 0.75rem;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
}

.ete-create-exam__bank-picker-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9375rem;
}

.ete-create-exam__bank-picker-table th,
.ete-create-exam__bank-picker-table td {
	padding: 0.65rem 0.75rem;
	text-align: left;
	border-bottom: 1px solid #e2e8f0;
	vertical-align: top;
}

.ete-create-exam__bank-picker-table th {
	font-weight: 600;
	color: #1a3a5a;
	background: #f8fafc;
}

.ete-create-exam__bank-picker-table tbody tr:last-child td {
	border-bottom: 0;
}

.ete-create-exam__bank-picker-pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin: 0 0 0.5rem;
}

.ete-create-exam__pagination-link {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0.4rem 0.85rem;
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
	color: #1a3a5a;
	background: #fff;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
}

.ete-create-exam__pagination-link:hover {
	background: #f1f5f9;
	text-decoration: none;
}

.ete-create-exam__pagination-link:focus {
	outline: none;
}

.ete-create-exam__pagination-link:focus-visible {
	outline: 2px solid #1a3a5a;
	outline-offset: 2px;
}

.ete-create-exam__pagination-status {
	font-size: 0.875rem;
	color: #475569;
}

.ete-create-exam__bank-picker-count {
	margin: 0;
	font-size: 0.875rem;
	color: #64748b;
}

@media (max-width: 720px) {
	.ete-create-exam__bank-picker-field {
		max-width: none;
		flex: 1 1 100%;
	}

	.ete-create-exam__bank-picker-table thead {
		display: none;
	}

	.ete-create-exam__bank-picker-table tr {
		display: block;
		padding: 0.75rem;
		border-bottom: 1px solid #e2e8f0;
	}

	.ete-create-exam__bank-picker-table td {
		display: flex;
		justify-content: space-between;
		gap: 0.75rem;
		border: 0;
		padding: 0.35rem 0;
	}

	.ete-create-exam__bank-picker-table td::before {
		content: attr(data-label);
		font-weight: 600;
		color: #1a3a5a;
		flex: 0 0 40%;
	}

	.ete-create-exam__bank-picker-col-check {
		width: auto;
		justify-content: flex-start;
	}

	.ete-create-exam__bank-picker-toolbar {
		flex-direction: column;
		align-items: stretch;
	}
}

.ete-create-exam__final-actions {
	margin-top: 1.75rem;
	padding: 1.25rem;
	border: 1px solid #bfdbfe;
	border-radius: 8px;
	background: #eff6ff;
	overflow-wrap: anywhere;
}

.ete-create-exam__dirty-alert {
	margin: 1rem 0 0;
	padding: 0.75rem 1rem;
	color: #7f1d1d;
	background: #fef2f2;
	border: 1px solid #fca5a5;
	border-left-width: 4px;
	border-radius: 6px;
	font-weight: 600;
}

.ete-create-exam__dirty-alert[hidden] {
	display: none;
}

.ete-create-exam__dirty-alert:focus-visible {
	outline: 3px solid #991b1b;
	outline-offset: 3px;
}

.ete-create-exam__dirty-badge {
	display: inline-flex;
	flex: 0 1 auto;
	align-items: center;
	margin-left: auto;
	padding: 0.2rem 0.55rem;
	color: #7f1d1d;
	background: #fef2f2;
	border: 1px solid #fca5a5;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1.3;
	white-space: normal;
}

.ete-create-exam__final-actions-heading h4 {
	margin: 0 0 0.4rem;
	color: #1a3a5a;
}

.ete-create-exam__final-actions-heading p {
	margin: 0;
	color: #475569;
}

.ete-create-exam__final-actions .ete-create-exam__form {
	margin: 1rem 0 0;
}

.ete-create-exam__final-actions .ete-create-exam__button-submit--publish:focus-visible {
	outline: 3px solid #1a3a5a;
	outline-offset: 3px;
}

@media (max-width: 480px) {
	.ete-create-exam__final-actions {
		padding: 1rem;
	}

	.ete-create-exam__dirty-badge {
		flex-basis: 100%;
		margin: 0.35rem 0 0;
	}

	.ete-create-exam__final-actions .ete-create-exam__form,
	.ete-create-exam__final-actions .ete-create-exam__button-submit--publish {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ete-create-exam__section-summary {
		transition: none;
	}
}
