.body {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding: 0.5rem 0.25rem;
}

.field {
	display: flex;
	flex-direction: column;
	gap: 0.375rem;
}

.label {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--text-primary-muted, var(--text-muted));
}

.input,
.textarea {
	width: 100%;
	padding: 0.625rem 0.75rem;
	border: 1px solid var(--background-modifier-accent);
	border-radius: 0.375rem;
	background-color: var(--background-primary);
	color: var(--text-primary);
	font: inherit;
	font-size: 0.875rem;
	outline: none;
	transition: border-color 0.12s;
}

.input:focus,
.textarea:focus {
	border-color: var(--brand-primary, #4641d9);
}

.answerList {
	display: flex;
	flex-direction: column;
	gap: 0.375rem;
}

.answerRow {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.answerRow .input {
	flex: 1;
}

.removeButton {
	flex-shrink: 0;
	width: 2rem;
	height: 2rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--background-modifier-accent);
	border-radius: 0.375rem;
	background-color: transparent;
	color: var(--text-tertiary);
	cursor: pointer;
	transition: color 0.12s, border-color 0.12s;
}

.removeButton:hover:not(:disabled) {
	color: var(--status-danger);
	border-color: var(--status-danger);
}

.removeButton:disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

.addButton {
	align-self: flex-start;
	margin-top: 0.125rem;
	padding: 0.375rem 0.75rem;
	border: 1px dashed var(--background-modifier-accent);
	border-radius: 0.375rem;
	background-color: transparent;
	color: var(--text-tertiary);
	font: inherit;
	font-size: 0.8125rem;
	font-weight: 600;
	cursor: pointer;
	transition: color 0.12s, border-color 0.12s;
}

.addButton:hover:not(:disabled) {
	color: var(--text-primary);
	border-color: var(--brand-primary, #4641d9);
}

.addButton:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.toggles {
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
}

.toggleRow {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.toggleLabel {
	display: flex;
	flex-direction: column;
	gap: 0.125rem;
}

.toggleName {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--text-primary);
}

.toggleHint {
	font-size: 0.75rem;
	color: var(--text-tertiary);
}

.toggleInput {
	width: 1.125rem;
	height: 1.125rem;
	accent-color: var(--brand-primary, #4641d9);
	cursor: pointer;
}

.actions {
	display: flex;
	justify-content: flex-end;
	gap: 0.5rem;
	margin-top: 0.25rem;
}

.error {
	color: var(--status-danger);
	font-size: 0.8125rem;
}
