
.card_stack {
	display: flex;
	flex-direction: column;
	gap: 20px;
	min-width: 0;
}

.form_card {
	display: flex;
	flex-direction: column;
}

.form_card > .form_body {
	flex: 1;
}

.form_body {
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
	container-type: inline-size;
}

.form_fields {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-items: start;
	gap: 16px;
	min-width: 0;
}

@container (min-width: 640px) {
	.form_fields {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@container (min-width: 896px) {
	.form_fields {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.form_foot {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: auto;
	padding-top: 4px;
}

.form_foot_note {
	color: var(--color-text-sub-600);
}

.form_foot .form_submit {
	width: 100%;
}

@container (min-width: 384px) {
	.form_foot {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}

	.form_foot:not(:has(.form_foot_note)) {
		justify-content: flex-end;
	}

	.form_foot .form_submit {
		flex-shrink: 0;
		width: auto;
	}
}

.who_head {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.who_line {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 8px;
	min-width: 0;
}

.who_name {
	min-width: 0;
	color: var(--color-text-strong-950);
	overflow-wrap: anywhere;
}

.help_pairs {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px 32px;
	min-width: 0;
}

@container (min-width: 768px) {
	.help_pairs {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.help_pair {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.help_pair_name, .help_kind_name, .glossary_term {
	color: var(--color-text-strong-950);
}

.help_pair_text, .help_kind_desc, .help_note, .help_paragraphs p, .glossary_text, .glossary_how {
	color: var(--color-text-sub-600);
}

.help_kinds {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px 32px;
	min-width: 0;
}

@container (min-width: 768px) {
	.help_kinds {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.help_kind {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	min-width: 0;
}

.help_kind_text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
	padding-top: 6px;
}

.help_note {
	margin-top: 20px;
}

.help_paragraphs {
	min-width: 0;
	margin-bottom: -12px;
}

.help_paragraphs p {
	padding-bottom: 12px;
	break-inside: avoid;
}

@container (min-width: 896px) {
	.help_paragraphs {
		columns: 2;
		column-gap: 32px;
	}
}

.glossary_search {
	width: 288px;
	max-width: 100%;
}

@media (width < 640px) {
	.card_actions:has(> .glossary_search), .glossary_search {
		width: 100%;
	}
}

.glossary {
	min-width: 0;
	margin: -12px;
}

@container (min-width: 896px) {
	.glossary {
		columns: 2;
		column-gap: 16px;
	}
}

.glossary_row {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 12px;
	border-radius: 12px;
	break-inside: avoid;
}

.glossary_row[data-marked] {
	background: var(--color-bg-weak-50);
}

.glossary_how {
	margin-top: 4px;
}