.pathwayslxp-question-block {
	border: 1px solid #dcdcde;
	border-radius: 4px;
	padding: 1rem;
	margin: 1rem 0;
	background: #fff;
	font-family: var(--pathwayslxp-body-font-family, inherit);
	font-weight: var(--pathwayslxp-body-font-weight, inherit);
	font-size: var(--pathwayslxp-body-font-size, inherit);
	line-height: var(--pathwayslxp-body-line-height, inherit);
	letter-spacing: var(--pathwayslxp-body-letter-spacing, inherit);
	text-transform: var(--pathwayslxp-body-text-transform, none);
	text-decoration: var(--pathwayslxp-body-text-decoration, none);
	color: var(--pathwayslxp-body-color, #1d2327);
}

/* One-at-a-time: hide questions until JS picks the active block (avoids a flash of all items). */
body.pathwayslxp-quiz-sequential-pending .pathwayslxp-question-block {
	visibility: hidden;
}

body.pathwayslxp-quiz-sequential-ready .pathwayslxp-question-block {
	visibility: visible;
}

.pathwayslxp-question-block--sequential-hidden {
	display: none !important;
}

.pathwayslxp-quiz-sequential-progress {
	margin: 0 0 1rem;
	font-weight: 600;
	color: var(--pathwayslxp-body-color, #1d2327);
}

.pathwayslxp-question-block__meta {
	font-size: 0.85em;
	color: var(--pathwayslxp-body-color, #646970);
	margin: 0.5rem 0 0;
}

.pathwayslxp-question__prompt {
	margin-bottom: 0.75rem;
}

.pathwayslxp-question__calc-vars {
	margin: 0 0 0.75rem;
	padding: 0.5rem 0.75rem;
	background: #f0f6fc;
	border: 1px solid #c5d9ed;
	border-radius: 4px;
	font-size: 0.95em;
}

.pathwayslxp-question__calc-vars-label {
	margin: 0 0 0.25rem;
	font-weight: 600;
	color: var(--pathwayslxp-body-color, #1d2327);
}

.pathwayslxp-question__calc-vars-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
}

.pathwayslxp-question__calc-vars-list li {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* MC / MS: multi-column answer list (short labels use horizontal space). */
.pathwayslxp-question__choices,
.pathwayslxp-question__tf {
	margin: 0;
	padding: 0.5rem 0.65rem;
	border: 1px solid #dcdcde;
	border-radius: 4px;
	min-width: 0;
}

.pathwayslxp-question__choices {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr));
	gap: 0.3rem 1rem;
}

.pathwayslxp-question__choice {
	display: flex;
	align-items: flex-start;
	gap: 0.35rem;
	margin: 0;
	min-width: 0;
}

.pathwayslxp-question__choice input {
	flex-shrink: 0;
	margin-top: 0.15em;
}

.pathwayslxp-question__choice span {
	min-width: 0;
	line-height: 1.35;
}

.pathwayslxp-question__tf {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 1.5rem;
}

.pathwayslxp-question__tf label {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin: 0;
}

@media (max-width: 520px) {
	.pathwayslxp-question__choices {
		grid-template-columns: 1fr;
	}
}

.pathwayslxp-question__actions {
	margin-top: 1rem;
}

.pathwayslxp-question__mat-row {
	display: flex;
	gap: 0.75rem;
	align-items: center;
	margin: 0.5rem 0;
}

.pathwayslxp-question__mat--dnd {
	margin-top: 0.5rem;
}

.pathwayslxp-question__mat-grid {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.pathwayslxp-question__mat-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.25rem;
	align-items: end;
}

.pathwayslxp-question__mat-row--headings {
	align-items: end;
	margin-bottom: 0.15rem;
}

@media (max-width: 640px) {
	.pathwayslxp-question__mat-row {
		grid-template-columns: 1fr;
		gap: 0.5rem;
	}

	.pathwayslxp-question__mat-row--headings .pathwayslxp-question__mat-heading--right {
		margin-top: 0.35rem;
	}
}

.pathwayslxp-question__mat-heading {
	margin: 0;
	font-size: 0.9em;
	font-weight: 600;
	color: var(--pathwayslxp-body-color, #1d2327);
}

.pathwayslxp-question__mat-row-left,
.pathwayslxp-question__mat-row-right {
	min-width: 0;
}

.pathwayslxp-question__mat-row-left {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}

.pathwayslxp-question__mat-row-right {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}

.pathwayslxp-question__mat-target {
	margin-bottom: 0;
}

.pathwayslxp-question__mat-target-label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.35rem;
	line-height: 1.3;
}

.pathwayslxp-question__mat-drop {
	min-height: 2.75rem;
	border: 2px dashed #c3c4c7;
	border-radius: 4px;
	padding: 0.35rem;
	background: #f6f7f7;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.pathwayslxp-question__mat-drop.has-item,
.pathwayslxp-question__mat-drop:has(.pathwayslxp-question__mat-item) {
	border-style: solid;
	background: #fff;
}

.pathwayslxp-question__mat-drop-placeholder {
	display: block;
	color: var(--pathwayslxp-body-color, #646970);
	font-size: 0.9em;
	padding: 0.35rem 0.5rem;
}

.pathwayslxp-question__mat-drop-placeholder[hidden] {
	display: none;
}

.pathwayslxp-question__mat-bank-slot {
	min-height: 2.75rem;
	border: 2px dashed #c3c4c7;
	border-radius: 4px;
	padding: 0.35rem;
	background: #fff;
	display: flex;
	align-items: center;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.pathwayslxp-question__mat-bank-slot:empty,
.pathwayslxp-question__mat-bank-slot:not(:has(.pathwayslxp-question__mat-item)) {
	background: #f6f7f7;
}

.pathwayslxp-question__mat-bank-slot:has(.pathwayslxp-question__mat-item) {
	border-style: solid;
}

.pathwayslxp-question__mat-item {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	width: 100%;
	margin: 0;
	padding: 0.45rem 0.6rem;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	background: #f6f7f7;
	cursor: grab;
	user-select: none;
	box-sizing: border-box;
}

.pathwayslxp-question__mat-item.is-dragging {
	opacity: 0.55;
}

.pathwayslxp-question__mat-drag-handle {
	color: var(--pathwayslxp-body-color, #646970);
	font-size: 0.85em;
	letter-spacing: -0.05em;
}

.pathwayslxp-question-editor__mat-heading {
	margin: 1rem 0 0.5rem;
	font-size: 13px;
}

.pathwayslxp-question-editor__mat-row {
	margin-bottom: 0.5rem;
}

.pathwayslxp-question__order--dnd {
	margin-top: 0.5rem;
}

.pathwayslxp-question__order-heading {
	margin: 0 0 0.75rem;
	font-size: 0.9em;
	font-weight: 600;
	color: var(--pathwayslxp-body-color, #1d2327);
}

.pathwayslxp-question__order-list {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid #dcdcde;
}

.pathwayslxp-question__order-row {
	display: grid;
	grid-template-columns: 2.25rem 1fr;
	gap: 0.65rem;
	align-items: stretch;
	padding: 0.5rem 0;
	border-bottom: 1px dashed #dcdcde;
}

.pathwayslxp-question__order-index {
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	color: var(--pathwayslxp-body-color, #1d2327);
	background: #f0f0f1;
	border-radius: 4px;
	min-height: 2.5rem;
}

.pathwayslxp-question__order-slot {
	min-height: 2.5rem;
	border: 2px dashed #c3c4c7;
	border-radius: 4px;
	padding: 0.25rem;
	background: #f6f7f7;
}

.pathwayslxp-question__order-slot:has(.pathwayslxp-question__order-item) {
	border-style: solid;
	background: #fff;
}

.pathwayslxp-question__order-item {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.4rem 0.55rem;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	background: #f6f7f7;
	cursor: grab;
	user-select: none;
}

.pathwayslxp-question__order-item.is-dragging {
	opacity: 0.55;
}

.pathwayslxp-question__order-drag-handle {
	color: var(--pathwayslxp-body-color, #646970);
	font-size: 0.85em;
	letter-spacing: -0.05em;
}

.pathwayslxp-question-editor__order-row {
	display: grid;
	grid-template-columns: 2rem 1fr;
	gap: 0.5rem;
	align-items: start;
}

.pathwayslxp-question-editor__order-pos {
	font-weight: 700;
	padding-top: 1.85rem;
}

.pathwayslxp-question-editor__order-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	margin-top: 0.35rem;
}

.pathwayslxp-question__fill--dnd {
	margin-top: 0.5rem;
}

.pathwayslxp-question__fill-passage {
	line-height: 2.2;
	margin-bottom: 1rem;
}

.pathwayslxp-question__fill-drop {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 7rem;
	min-height: 2rem;
	margin: 0 0.2rem;
	padding: 0.15rem 0.35rem;
	vertical-align: middle;
	border: 2px dashed #c3c4c7;
	border-radius: 4px;
	background: #f6f7f7;
}

.pathwayslxp-question__fill-drop.has-chip,
.pathwayslxp-question__fill-drop:has(.pathwayslxp-question__fill-chip) {
	border-style: solid;
	background: #fff;
	padding: 0.1rem;
}

.pathwayslxp-question__fill-drop-placeholder {
	color: var(--pathwayslxp-body-color, #646970);
	font-size: 0.85em;
	padding: 0 0.25rem;
}

.pathwayslxp-question__fill-drop-placeholder[hidden] {
	display: none;
}

.pathwayslxp-question__fill-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	padding: 0.2rem 0.45rem;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	background: #f6f7f7;
	cursor: grab;
	user-select: none;
	font-size: 0.95em;
}

.pathwayslxp-question__fill-chip.is-dragging {
	opacity: 0.55;
}

.pathwayslxp-question__fill-drag-handle {
	color: var(--pathwayslxp-body-color, #646970);
	font-size: 0.8em;
}

.pathwayslxp-question__fill-bank-wrap {
	border-top: 1px dashed #dcdcde;
	padding-top: 0.75rem;
}

.pathwayslxp-question__fill-bank-heading {
	margin: 0 0 0.5rem;
	font-size: 0.9em;
	font-weight: 600;
}

.pathwayslxp-question__fill-bank {
	list-style: none;
	margin: 0;
	padding: 0.75rem;
	border: 2px dashed #c3c4c7;
	border-radius: 4px;
	min-height: 3rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	background: #fff;
}

.pathwayslxp-question-editor__fill-heading {
	margin: 1rem 0 0.5rem;
	font-size: 13px;
}

.pathwayslxp-question-editor__fill-blank .components-base-control {
	margin-bottom: 8px;
}

.pathwayslxp-question__latex {
	line-height: 1.6;
	word-wrap: break-word;
}

.pathwayslxp-question__latex .katex {
	font-size: 1.05em;
}

.pathwayslxp-question-editor__latex-preview-wrap {
	margin: 0.5rem 0 1rem;
	padding: 0.75rem;
	border: 1px solid #c3c4c7;
	background: #fff;
}

.pathwayslxp-question-editor__latex-label {
	margin: 0 0 0.35rem;
	font-size: 12px;
	font-weight: 600;
}

.pathwayslxp-question-editor__latex-preview {
	min-height: 2rem;
}

.pathwayslxp-question-editor__likert-heading {
	margin: 1rem 0 0.5rem;
	font-size: 13px;
	font-weight: 600;
}

.pathwayslxp-question-editor__likert-scale-row {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 0.5rem;
	align-items: end;
}

.pathwayslxp-question-editor__likert-statement {
	margin: 0 0 1rem;
	padding: 0.75rem;
	border: 1px solid #dcdcde;
	border-radius: 4px;
	background: #f6f7f7;
}

.pathwayslxp-question__likert-instructions {
	margin: 0 0 0.75rem;
	color: var(--pathwayslxp-body-color, #1d2327);
}

.pathwayslxp-question__likert {
	width: 100%;
	border-collapse: collapse;
	margin: 0.5rem 0 0;
	font-size: 0.95em;
}

.pathwayslxp-question__likert th,
.pathwayslxp-question__likert td {
	border: 1px solid #dcdcde;
	padding: 0.5rem 0.65rem;
	text-align: center;
	vertical-align: middle;
}

.pathwayslxp-question__likert th[scope="row"] {
	text-align: left;
	font-weight: 600;
	min-width: 10rem;
}

.pathwayslxp-question__likert thead th {
	background: #f6f7f7;
	font-weight: 600;
}

.pathwayslxp-question__likert input[type="radio"] {
	margin: 0;
}

@media (max-width: 720px) {
	.pathwayslxp-question__likert {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
}

.pathwayslxp-question__matrix {
	width: 100%;
	border-collapse: collapse;
	margin: 0.5rem 0 0;
	font-size: 0.95em;
}

.pathwayslxp-question__matrix th,
.pathwayslxp-question__matrix td {
	border: 1px solid #dcdcde;
	padding: 0.5rem 0.65rem;
	text-align: center;
	vertical-align: middle;
	transition: background-color 0.12s ease;
}

.pathwayslxp-question__matrix th[scope="row"] {
	text-align: left;
	font-weight: 600;
	min-width: 10rem;
}

.pathwayslxp-question__matrix thead th {
	background: #f6f7f7;
	font-weight: 600;
}

.pathwayslxp-question__matrix-cell {
	min-width: 3.25rem;
}

.pathwayslxp-question__matrix input[type="checkbox"],
.pathwayslxp-question__matrix input[type="radio"] {
	margin: 0;
	width: 1.05rem;
	height: 1.05rem;
	cursor: pointer;
	accent-color: #2271b1;
}

.pathwayslxp-question__matrix input[type="checkbox"]:disabled {
	cursor: not-allowed;
	opacity: 0.45;
}

.pathwayslxp-question__matrix [data-row].is-matrix-row-hover,
.pathwayslxp-question__matrix [data-col].is-matrix-col-hover {
	background: #e8f0fe;
}

.pathwayslxp-question__matrix th[scope="row"].is-matrix-row-hover,
.pathwayslxp-question__matrix td.is-matrix-row-hover.is-matrix-col-hover {
	background: #c5d9f8;
}

@media (max-width: 720px) {
	.pathwayslxp-question__matrix {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
}

.pathwayslxp-question-editor__matrix-heading {
	margin: 1rem 0 0.5rem;
	font-size: 13px;
	font-weight: 600;
}

.pathwayslxp-question-editor__matrix-col,
.pathwayslxp-question-editor__matrix-row {
	margin-bottom: 0.75rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid #dcdcde;
}

.pathwayslxp-question-editor__matrix-expected-multi {
	margin: 0.35rem 0 0.5rem;
}

.pathwayslxp-question-editor__matrix-expected-label {
	margin: 0 0 0.35rem;
	font-size: 12px;
	font-weight: 600;
}

.pathwayslxp-question-editor__cloze-heading {
	margin: 1rem 0 0.5rem;
	font-size: 13px;
	font-weight: 600;
}

.pathwayslxp-question-editor__cloze-gap {
	margin: 0 0 1rem;
	padding: 0.75rem;
	border: 1px solid #dcdcde;
	border-radius: 4px;
	background: #f6f7f7;
}

.pathwayslxp-question-editor__cloze-gap-label {
	margin: 0 0 0.5rem;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-weight: 600;
}

.pathwayslxp-question-editor__cloze-variant {
	display: grid;
	grid-template-columns: 1fr minmax(7rem, 9rem) auto;
	gap: 0.5rem;
	align-items: end;
}

@media (max-width: 600px) {
	.pathwayslxp-question-editor__cloze-variant {
		grid-template-columns: 1fr;
	}
}

.pathwayslxp-question__cloze {
	line-height: 1.75;
	font-size: inherit;
}

/* Inline sentence flow — override theme rules that set inputs to width:100%. */
.pathwayslxp-question-block .pathwayslxp-question__cloze p {
	display: inline;
	margin: 0;
	padding: 0;
}

.pathwayslxp-question-block .pathwayslxp-question__cloze input[type="text"].pathwayslxp-question__gap,
.pathwayslxp-question-block .pathwayslxp-question__cloze .pathwayslxp-question__gap {
	display: inline-block;
	width: auto;
	min-width: 4ch;
	max-width: min(48ch, 100%);
	margin: 0 0.15em;
	padding: 0.15em 0.4em;
	vertical-align: baseline;
	border: 1px solid #8c8f94;
	border-radius: 3px;
	font: inherit;
	line-height: 1.4;
	box-sizing: border-box;
}

.pathwayslxp-question-editor__calc-heading {
	margin: 1rem 0 0.5rem;
	font-size: 13px;
}

.pathwayslxp-question-editor__calc-var-row {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr auto;
	gap: 0.5rem;
	align-items: end;
}

.pathwayslxp-question__hotspot {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 0.75rem 0;
}

.pathwayslxp-question__hotspot-hint {
	align-self: stretch;
	margin: 0 0 0.5rem;
	font-size: 0.85rem;
	color: var(--pathwayslxp-body-color, #50575e);
}

.pathwayslxp-question__hotspot-stage {
	position: relative;
	display: inline-block;
	width: auto;
	max-width: 100%;
	margin: 0 auto;
	border: 1px solid #c3c4c7;
	background: #f6f7f7;
	overflow: hidden;
}

.pathwayslxp-question__hotspot-stage.is-no-image {
	display: block;
	min-height: 220px;
}

.pathwayslxp-question__hotspot-stage.is-sized {
	display: block;
}

.pathwayslxp-question__hotspot-image {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
}

.pathwayslxp-question__hotspot-stage.is-sized .pathwayslxp-question__hotspot-image {
	width: 100%;
	height: auto;
}

.pathwayslxp-question__hotspot-stage.is-sized.is-fixed-height .pathwayslxp-question__hotspot-image {
	height: 100%;
	object-fit: contain;
}

.pathwayslxp-question__hotspot-region {
	position: absolute;
	box-sizing: border-box;
	border: 2px solid rgba(0, 115, 170, 0.65);
	background: rgba(0, 115, 170, 0.15);
	cursor: pointer;
	padding: 0.15rem 0.25rem;
	text-align: left;
}

.pathwayslxp-question__hotspot-region-label {
	display: block;
	font-size: 0.7rem;
	font-weight: 600;
	line-height: 1.2;
	color: var(--pathwayslxp-body-color, #1d2327);
	text-shadow: 0 0 3px #fff, 0 0 3px #fff;
	pointer-events: none;
}

.pathwayslxp-question__hotspot-region.is-selected {
	border-color: #0073aa;
	background: rgba(0, 115, 170, 0.4);
	box-shadow: inset 0 0 0 1px #0073aa;
}

.pathwayslxp-question-editor__hotspot-heading {
	margin: 1rem 0 0.5rem;
	font-size: 13px;
}

.pathwayslxp-question-editor__hotspot-stage {
	position: relative;
	display: block;
	width: auto;
	max-width: 100%;
	min-height: 180px;
	margin: 0.75rem auto;
	border: 1px solid #c3c4c7;
	background-color: #f6f7f7;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

.pathwayslxp-question-editor__hotspot-region-preview {
	position: absolute;
	box-sizing: border-box;
	border: 2px dashed #0073aa;
	background: rgba(0, 115, 170, 0.18);
	font-size: 10px;
	line-height: 1.2;
	padding: 2px 4px;
	overflow: hidden;
	color: var(--pathwayslxp-body-color, #1d2327);
	cursor: move;
	user-select: none;
}

.pathwayslxp-question-editor__hotspot-region-preview.is-correct {
	border-color: #00a32a;
	background: rgba(0, 163, 42, 0.2);
}

.pathwayslxp-question-editor__hotspot-resize-handle {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 12px;
	height: 12px;
	cursor: se-resize;
	background: #0073aa;
	border-radius: 2px 0 0 0;
}

.pathwayslxp-question-editor__hotspot-size-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.75rem;
	margin: 0.5rem 0;
}

.pathwayslxp-question-editor__hotspot-pos-row {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0.5rem;
}

.pathwayslxp-question-editor__hotspot-region-row .components-base-control {
	margin-bottom: 8px;
}

.pathwayslxp-question__hottext {
	line-height: 1.75;
	margin: 0.75rem 0 0;
}

.pathwayslxp-question__hottext-seg.is-selectable {
	cursor: pointer;
	border: none;
	background: transparent;
	font: inherit;
	color: inherit;
	padding: 0 2px;
	margin: 0 1px;
	border-radius: 2px;
	text-decoration: underline;
	text-decoration-color: rgba( 29, 35, 39, 0.28 );
	text-underline-offset: 2px;
	transition: background 0.15s ease, color 0.15s ease;
}

.pathwayslxp-question__hottext-seg.is-selectable:hover,
.pathwayslxp-question__hottext-seg.is-selectable:focus-visible {
	background: #e7f5ff;
	outline: none;
}

.pathwayslxp-question__hottext-seg.is-selected {
	background: #2271b1;
	color: #fff;
	text-decoration: none;
}

.pathwayslxp-question-editor__hottext-heading {
	margin: 1rem 0 0.5rem;
	font-size: 13px;
	font-weight: 600;
}

.pathwayslxp-question-editor__hottext-segment {
	margin: 0 0 0.75rem;
	padding: 0.75rem;
	border: 1px solid #dcdcde;
	border-radius: 4px;
	background: #f6f7f7;
}

.pathwayslxp-question-editor__hottext-segment-label {
	margin: 0 0 0.35rem;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-weight: 600;
}

.pathwayslxp-question-editor__hottext-segment-display {
	margin: 0 0 0.5rem;
	font-size: 12px;
	color: var(--pathwayslxp-body-color, #646970);
}

.pathwayslxp-question__drag {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 0.75rem 0;
}

.pathwayslxp-question__drag-stage {
	position: relative;
	display: inline-block;
	width: auto;
	max-width: 100%;
	margin: 0 auto 0.75rem;
	border: 1px solid #c3c4c7;
	background: #f6f7f7;
	overflow: hidden;
	vertical-align: top;
}

.pathwayslxp-question__drag-bank-heading,
.pathwayslxp-question__drag-bank {
	align-self: stretch;
	width: 100%;
}

.pathwayslxp-question__drag-stage.is-no-image {
	display: block;
	min-height: 220px;
}

.pathwayslxp-question__drag-stage.is-sized {
	display: block;
}

.pathwayslxp-question__drag-image {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
	vertical-align: top;
}

.pathwayslxp-question__drag-stage.is-sized .pathwayslxp-question__drag-image {
	width: 100%;
	height: auto;
}

.pathwayslxp-question__drag-stage.is-sized.is-fixed-height .pathwayslxp-question__drag-image {
	height: 100%;
	object-fit: contain;
}

.pathwayslxp-question__drag-stage .pathwayslxp-question__zone {
	position: absolute;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	padding: 0.2rem;
}

.pathwayslxp-question__zone-label {
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1.2;
	margin-bottom: 0.15rem;
	color: var(--pathwayslxp-body-color, #1d2327);
	text-shadow: 0 0 3px #fff, 0 0 3px #fff;
}

.pathwayslxp-question__zone-drop {
	flex: 1;
	min-height: 2rem;
	border: 2px dashed rgba(0, 115, 170, 0.65);
	border-radius: 3px;
	background: rgba(255, 255, 255, 0.72);
	padding: 0.2rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

.pathwayslxp-question__zone-drop.has-item,
.pathwayslxp-question__zone-drop:has(.pathwayslxp-question__drag-item) {
	justify-content: flex-start;
	align-items: flex-start;
}

.pathwayslxp-question__zone-drop-placeholder {
	font-size: 0.7rem;
	color: var(--pathwayslxp-body-color, #646970);
	text-align: center;
	pointer-events: none;
}

.pathwayslxp-question__zone-drop.has-item .pathwayslxp-question__zone-drop-placeholder,
.pathwayslxp-question__zone-drop:has(.pathwayslxp-question__drag-item) .pathwayslxp-question__zone-drop-placeholder {
	display: none;
}

.pathwayslxp-question__drag-bank-heading {
	margin: 0 0 0.35rem;
	font-size: 0.85rem;
	font-weight: 600;
}

.pathwayslxp-question__drag-bank {
	list-style: none;
	margin: 0;
	padding: 0.75rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	border: 2px dashed #c3c4c7;
	border-radius: 4px;
	min-height: 3rem;
	background: #fff;
}

.pathwayslxp-question__drag-item {
	padding: 0.35rem 0.6rem;
	border: 1px solid #c3c4c7;
	background: #f6f7f7;
	cursor: grab;
	list-style: none;
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
}

.pathwayslxp-question__drag-item.is-dragging {
	opacity: 0.55;
}

.pathwayslxp-question__drag-handle {
	color: var(--pathwayslxp-body-color, #646970);
	font-size: 0.85em;
	user-select: none;
}

.pathwayslxp-question-editor__drag-heading {
	margin: 1rem 0 0.5rem;
	font-size: 13px;
}

.pathwayslxp-question-editor--drag .pathwayslxp-question-editor__drag-stage {
	position: relative;
	display: block;
	width: auto;
	max-width: 100%;
	min-height: 180px;
	margin: 0.75rem auto;
	border: 1px solid #c3c4c7;
	background-color: #f6f7f7;
}

.pathwayslxp-question-editor__drag-size-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.75rem;
	margin: 0.5rem 0;
}

.pathwayslxp-question-editor__drag-zone-preview {
	position: absolute;
	box-sizing: border-box;
	border: 2px dashed #0073aa;
	background: rgba(0, 115, 170, 0.2);
	font-size: 10px;
	line-height: 1.2;
	padding: 2px 4px;
	overflow: hidden;
	color: var(--pathwayslxp-body-color, #1d2327);
	pointer-events: none;
}

.pathwayslxp-question-editor__drag-pos-row {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0.5rem;
}

.pathwayslxp-question-editor__drag-zone-row .components-base-control {
	margin-bottom: 8px;
}

.pathwayslxp-question__feedback {
	margin-top: 0.75rem;
	padding: 0.5rem 0.75rem;
	background: #f0f6fc;
	border-left: 3px solid #0073aa;
}

.pathwayslxp-question__feedback.is-pending-review,
.pathwayslxp-question__feedback.is-success {
	background: #edfaef;
	border-left-color: #00a32a;
}

.pathwayslxp-question__feedback.is-error {
	background: #fcf0f1;
	border-left-color: #d63638;
}

.pathwayslxp-question-block--submitted .pathwayslxp-question__submit {
	opacity: 0.65;
	cursor: default;
}

.pathwayslxp-question-block--locked .pathwayslxp-question__submit {
	display: none;
}

.pathwayslxp-question__lock-notice {
	margin: 0.75rem 0 0;
	padding: 0.5rem 0.75rem;
	background: #f0f6fc;
	border-left: 3px solid #2271b1;
	font-size: 0.9em;
}

.pathwayslxp-question-editor__row {
	margin-bottom: 0.75rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid #dcdcde;
}

.pathwayslxp-question-editor__assessment-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px;
	margin-top: 1rem;
	padding-top: 0.75rem;
	border-top: 1px solid #dcdcde;
}

.pathwayslxp-question-editor__assessment-toolbar-points {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex: 0 0 auto;
}

.pathwayslxp-question-editor__assessment-toolbar-label {
	margin: 0;
	font-size: 11px;
	font-weight: 500;
	line-height: 1.4;
	text-transform: uppercase;
	color: #1e1e1e;
}

.pathwayslxp-question-editor__assessment-toolbar-points .components-base-control {
	margin-bottom: 0;
	width: auto;
}

.pathwayslxp-question-editor__assessment-toolbar-points .components-text-control__input,
.pathwayslxp-question-editor__points-input input[type="number"] {
	width: 6ch;
	min-width: 6ch;
	max-width: 6ch;
	padding-left: 0.4rem;
	padding-right: 0.4rem;
}

.pathwayslxp-question-editor__assessment-toolbar-toggles {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px;
	flex: 1 1 auto;
}

.pathwayslxp-question-editor__assessment-toolbar-toggles .components-base-control {
	margin-bottom: 0;
}

.pathwayslxp-question-editor__assessment {
	margin-top: 0.75rem;
}

.pathwayslxp-question-editor__assessment.components-panel {
	background: transparent;
}

.pathwayslxp-question-editor__assessment > .components-panel__body-title {
	font-weight: 600;
}
