/**
 * HDA Bewerbungsprozess — frontend styles.
 *
 * Visual language matched to dasjahrmeineslebens.at:
 * brand green (#00976a), warm orange accent (#ed8d5e), light green tint
 * (#80c6ac), Open Sans, generous whitespace, clean card surfaces.
 * All colors expressed in OKLCH; scoped under .hda-bwp-frontend.
 */

.hda-bwp-frontend {
	/* Brand palette (OKLCH equivalents of the site's hex tokens). */
	--hda-green: oklch(0.59 0.115 165);        /* #00976a — accents, borders */
	--hda-green-ink: oklch(0.5 0.105 165);     /* darker green: text/buttons, ≥4.5:1 on white */
	--hda-green-tint: oklch(0.78 0.065 165);   /* #80c6ac */
	--hda-orange: oklch(0.73 0.115 45);        /* #ed8d5e — in review */
	--hda-orange-ink: oklch(0.55 0.13 45);     /* readable orange for text */
	--hda-ink: oklch(0.3 0 0);                 /* #313131 headings/body */
	--hda-muted: oklch(0.51 0 0);              /* #666 secondary text */
	--hda-line: oklch(0.9 0 0);                /* #e1e1e1 hairlines */
	--hda-surface: oklch(0.985 0 0);

	/* Status tokens consumed by the board/badges. */
	--hda-color-grey: oklch(0.72 0.01 250);
	--hda-color-amber: oklch(0.78 0.13 80);
	--hda-color-orange: var(--hda-orange);
	--hda-color-green: var(--hda-green);
	--hda-color-red: oklch(0.56 0.19 27);

	--hda-radius: 10px;
	--hda-ease-out: cubic-bezier(0.23, 1, 0.32, 1);

	font-family: 'Open Sans', inherit, system-ui, sans-serif;
	color: var(--hda-ink);
	max-width: 72ch;
	line-height: 1.6;
}

.hda-bwp-frontend h2,
.hda-bwp-frontend h3 {
	text-wrap: balance;
	letter-spacing: -0.015em;
	color: var(--hda-green-ink);
}

/* ------------------------------------------------------------------ */
/* Program section + step board (timeline rail with numbered markers). */
/* ------------------------------------------------------------------ */

.hda-program {
	margin: 0 0 3rem;
}

.hda-program__title {
	font-size: clamp(1.4rem, 3vw, 1.9rem);
	margin-bottom: 1.25rem;
}

.hda-board {
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: hda-step;
	display: flex;
	flex-direction: column;
}

.hda-board__item {
	--hda-dot: var(--hda-color-grey);
	counter-increment: hda-step;
	position: relative;
	display: grid;
	grid-template-columns: 2.4rem 1fr auto;
	align-items: center;
	column-gap: 0.9rem;
	padding: 0.9rem 1rem 0.9rem 0.75rem;
	background: #fff;
	border: 1px solid var(--hda-line);
	border-radius: var(--hda-radius);
	margin-bottom: 0.6rem;
}

/* Connecting rail between markers. */
.hda-board__item:not(:last-child)::after {
	content: "";
	position: absolute;
	left: calc(0.75rem + 1.2rem);
	top: 100%;
	width: 2px;
	height: 0.6rem;
	background: var(--hda-line);
}

.hda-board__item--grey { --hda-dot: var(--hda-color-grey); }
.hda-board__item--amber { --hda-dot: var(--hda-color-amber); }
.hda-board__item--orange { --hda-dot: var(--hda-color-orange); }
.hda-board__item--green { --hda-dot: var(--hda-color-green); background: color-mix(in oklch, var(--hda-green) 6%, #fff); border-color: color-mix(in oklch, var(--hda-green) 35%, var(--hda-line)); }
.hda-board__item--red { --hda-dot: var(--hda-color-red); border-color: color-mix(in oklch, var(--hda-color-red) 35%, var(--hda-line)); }

/* Numbered status marker. */
.hda-board__dot {
	inline-size: 2.4rem;
	block-size: 2.4rem;
	border-radius: 50%;
	background: color-mix(in oklch, var(--hda-dot) 18%, #fff);
	border: 2px solid var(--hda-dot);
	display: grid;
	place-items: center;
	font-weight: 700;
	font-size: 0.95rem;
	color: var(--hda-ink);
}

.hda-board__dot::before {
	content: counter(hda-step);
}

.hda-board__item--green .hda-board__dot {
	background: var(--hda-green);
	color: #fff;
}

.hda-board__item--green .hda-board__dot::before {
	content: "✓";
}

.hda-board__label {
	font-weight: 600;
	font-size: 1.02rem;
}

.hda-board__label a {
	color: var(--hda-green-ink);
	text-decoration: none;
}

.hda-board__label a:hover,
.hda-board__label a:focus-visible {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.hda-board__lock {
	font-size: 0.85rem;
	opacity: 0.6;
	margin-left: 0.3rem;
}

.hda-board__status {
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.01em;
	color: var(--hda-dot);
	white-space: nowrap;
}

.hda-board__item--orange .hda-board__status { color: var(--hda-orange-ink); }
.hda-board__item--amber .hda-board__status { color: oklch(0.55 0.12 80); }
.hda-board__item--green .hda-board__status { color: var(--hda-green-ink); }

.hda-board__time {
	grid-column: 2 / -1;
	font-size: 0.78rem;
	color: var(--hda-muted);
	margin-top: 0.15rem;
}

/* ------------------------------------------------------------------ */
/* Information board (admin → applicant messages).                      */
/* ------------------------------------------------------------------ */

.hda-infoboard {
	border: 1px solid var(--hda-line);
	border-left: 4px solid var(--hda-green-tint);
	border-radius: var(--hda-radius);
	background: var(--hda-surface);
	padding: 1rem 1.25rem;
	margin: 0 0 1.5rem;
}

.hda-infoboard__title {
	margin: 0 0 0.5rem;
	font-size: 1.02rem;
}

.hda-infoboard__item {
	padding: 0.6rem 0;
	border-top: 1px solid var(--hda-line);
}

.hda-infoboard__item:first-of-type {
	border-top: 0;
}

.hda-infoboard__body {
	margin: 0 0 0.15rem;
	white-space: pre-line;
}

.hda-infoboard__time {
	font-size: 0.75rem;
	color: var(--hda-muted);
}

/* ------------------------------------------------------------------ */
/* Interview card.                                                      */
/* ------------------------------------------------------------------ */

.hda-interview {
	border: 1px solid var(--hda-green-tint);
	border-left: 4px solid var(--hda-green);
	border-radius: var(--hda-radius);
	background: color-mix(in oklch, var(--hda-green) 5%, #fff);
	padding: 1.1rem 1.25rem;
	margin: 0 0 1.5rem;
}

.hda-interview--proposed {
	border-left-color: var(--hda-orange);
	border-color: color-mix(in oklch, var(--hda-orange) 40%, var(--hda-line));
	background: color-mix(in oklch, var(--hda-orange) 6%, #fff);
}

.hda-interview__title {
	margin: 0 0 0.25rem;
	font-size: 1.1rem;
}

.hda-interview__meta {
	margin: 0 0 0.5rem;
	color: var(--hda-muted);
	font-weight: 600;
	font-size: 0.9rem;
}

.hda-interview__notes {
	margin: 0 0 0.75rem;
}

.hda-interview__slots {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	margin: 0.5rem 0 1rem;
}

.hda-interview__slot {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.6rem 0.8rem;
	border: 1px solid var(--hda-line);
	border-radius: 8px;
	background: #fff;
	cursor: pointer;
	font-weight: 600;
}

.hda-interview__slot:has(input:checked) {
	border-color: var(--hda-green);
	box-shadow: inset 0 0 0 1px var(--hda-green);
	background: color-mix(in oklch, var(--hda-green) 7%, #fff);
}

.hda-interview__slot input {
	accent-color: var(--hda-green);
}

.hda-interview__confirmed {
	color: var(--hda-green-ink);
	font-size: 1.02rem;
}

/* Interview actions: stack both buttons full-width and evenly, so the
   "decline" outline button no longer sits as a small mismatched pill. */
.hda-interview .hda-form__actions {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	margin-top: 1.25rem;
}

.hda-interview .hda-form__actions .hda-btn {
	width: 100%;
	justify-content: center;
}

/* ------------------------------------------------------------------ */
/* Wizard.                                                              */
/* ------------------------------------------------------------------ */

.hda-wizard__title {
	font-size: clamp(1.3rem, 3vw, 1.7rem);
	margin-bottom: 0.4rem;
}

.hda-wizard__desc {
	color: var(--hda-muted);
	margin-top: 0;
}

.hda-wizard > p:first-child a {
	color: var(--hda-green-ink);
	text-decoration: none;
	font-weight: 600;
}

.hda-template-download {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	flex-wrap: wrap;
	padding: 1rem;
	background: var(--hda-surface);
	border: 1px dashed var(--hda-green-tint);
	border-radius: var(--hda-radius);
}

/* ------------------------------------------------------------------ */
/* Fields.                                                              */
/* ------------------------------------------------------------------ */

.hda-field {
	margin: 0 0 1.4rem;
}

.hda-field__heading {
	margin: 2rem 0 0.5rem;
	padding-bottom: 0.35rem;
	border-bottom: 2px solid var(--hda-green-tint);
}

.hda-field__label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.35rem;
}

.hda-field__required {
	color: var(--hda-color-red);
}

.hda-field__help {
	font-size: 0.85rem;
	color: var(--hda-muted);
	margin: 0.2rem 0 0.4rem;
}

.hda-field__control,
.hda-form textarea,
.hda-form select,
.hda-form input[type="text"],
.hda-form input[type="email"],
.hda-form input[type="tel"],
.hda-form input[type="number"],
.hda-form input[type="date"] {
	inline-size: 100%;
	padding: 0.65rem 0.8rem;
	border: 1px solid var(--hda-line);
	border-radius: 8px;
	font: inherit;
	color: var(--hda-ink);
	background: #fff;
	transition: border-color 0.15s var(--hda-ease-out), box-shadow 0.15s var(--hda-ease-out);
}

.hda-form :is(input, textarea, select):focus-visible {
	outline: none;
	border-color: var(--hda-green);
	box-shadow: 0 0 0 3px color-mix(in oklch, var(--hda-green) 22%, transparent);
}

.hda-field__choices {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.hda-field__choice,
.hda-field__checkbox {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	font-weight: 400;
}

.hda-field__choice input,
.hda-field__checkbox input {
	accent-color: var(--hda-green);
	margin-top: 0.3rem;
}

fieldset.hda-field {
	border: 1px solid var(--hda-line);
	border-radius: var(--hda-radius);
	padding: 1rem;
}

fieldset.hda-field legend {
	font-weight: 700;
	color: var(--hda-green-ink);
	padding: 0 0.4rem;
}

fieldset.hda-field input {
	margin-bottom: 0.5rem;
}

/* Matrix (A/B/C/D). */
.hda-field__matrix {
	inline-size: 100%;
	border-collapse: collapse;
	font-size: 0.92rem;
}

.hda-field__matrix th,
.hda-field__matrix td {
	border: 1px solid var(--hda-line);
	padding: 0.5rem;
	text-align: center;
}

.hda-field__matrix thead th {
	background: var(--hda-surface);
	color: var(--hda-green-ink);
}

.hda-field__matrix th[scope="row"] {
	text-align: start;
	font-weight: 400;
}

.hda-field__matrix tbody tr:nth-child(even) {
	background: var(--hda-surface);
}

.hda-field__matrix input[type="radio"] {
	accent-color: var(--hda-green);
}

/* Signature pad. */
.hda-signature__canvas {
	inline-size: 100%;
	max-inline-size: 500px;
	border: 1px solid var(--hda-line);
	border-radius: 8px;
	background: #fff;
	touch-action: none;
	cursor: crosshair;
}

.hda-signature__clear {
	margin-top: 0.4rem;
}

/* ------------------------------------------------------------------ */
/* Buttons — brand green primary, outline secondary (site style).      */
/* ------------------------------------------------------------------ */

.hda-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.7rem 1.5rem;
	border: 2px solid var(--hda-green-ink);
	border-radius: 8px;
	font: inherit;
	font-weight: 700;
	letter-spacing: 0.01em;
	cursor: pointer;
	text-decoration: none;
	transition: transform 0.12s var(--hda-ease-out), background-color 0.15s var(--hda-ease-out), color 0.15s var(--hda-ease-out);
}

.hda-btn--primary {
	background: var(--hda-green-ink);
	color: #fff;
}

.hda-btn--primary:hover,
.hda-btn--primary:focus-visible {
	background: color-mix(in oklch, var(--hda-green-ink) 88%, black);
	border-color: color-mix(in oklch, var(--hda-green-ink) 88%, black);
	color: #fff;
}

.hda-btn--outline {
	background: transparent;
	color: var(--hda-green-ink);
}

.hda-btn--outline:hover,
.hda-btn--outline:focus-visible {
	background: color-mix(in oklch, var(--hda-green) 10%, transparent);
	color: var(--hda-green-ink);
}

.hda-btn--ghost {
	background: transparent;
	border-color: var(--hda-line);
	color: var(--hda-muted);
	padding: 0.4rem 0.9rem;
	font-weight: 600;
	font-size: 0.85rem;
}

.hda-btn:active {
	transform: scale(0.97);
}

.hda-form__actions {
	margin-top: 1.75rem;
}

/* ------------------------------------------------------------------ */
/* Notices.                                                             */
/* ------------------------------------------------------------------ */

.hda-notice {
	list-style-position: inside;
	padding: 0.85rem 1.1rem;
	border-radius: var(--hda-radius);
	border: 1px solid var(--hda-line);
	border-left: 4px solid var(--hda-color-grey);
	background: var(--hda-surface);
	margin: 0 0 1.25rem;
}

.hda-notice--green {
	border-left-color: var(--hda-green);
	background: color-mix(in oklch, var(--hda-green) 8%, #fff);
	color: var(--hda-green-ink);
}

.hda-notice--orange {
	border-left-color: var(--hda-orange);
	background: color-mix(in oklch, var(--hda-orange) 10%, #fff);
	color: var(--hda-orange-ink);
}

.hda-notice--red {
	border-left-color: var(--hda-color-red);
	background: color-mix(in oklch, var(--hda-color-red) 7%, #fff);
	color: color-mix(in oklch, var(--hda-color-red) 85%, black);
}

/* ------------------------------------------------------------------ */
/* Registration form.                                                   */
/* ------------------------------------------------------------------ */

.hda-register {
	max-width: 30rem;
}

/* Honeypot: visually removed but present for bots. */
.hda-register__hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* wp_login_form styling inside [hda_login]. */
.hda-bwp-frontend #loginform p {
	margin: 0 0 1rem;
}

.hda-bwp-frontend #loginform label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.35rem;
}

.hda-bwp-frontend #loginform .button-primary {
	background: var(--hda-green-ink);
	border: 2px solid var(--hda-green-ink);
	border-radius: 8px;
	color: #fff;
	font-weight: 700;
	padding: 0.6rem 1.4rem;
	cursor: pointer;
}

/* ------------------------------------------------------------------ */
/* Reference module block.                                              */
/* ------------------------------------------------------------------ */

.hda-ref-block {
	border: 1px solid var(--hda-line);
	border-radius: var(--hda-radius);
	padding: 1rem;
}

.hda-ref-row {
	display: grid;
	grid-template-columns: 1fr 1fr 1.3fr;
	gap: 0.5rem;
	align-items: center;
	margin: 0.4rem 0;
}

.hda-ref-row > strong {
	grid-column: 1 / -1;
	font-size: 0.85rem;
	color: var(--hda-muted);
}

.hda-ref-status {
	margin: 0.3rem 0 0;
	padding-left: 1.1rem;
}

@media (max-width: 480px) {
	.hda-ref-row {
		grid-template-columns: 1fr;
	}
}

/* ------------------------------------------------------------------ */
/* Onboarding shell: aside timeline + main card.                        */
/* ------------------------------------------------------------------ */

.hda-bwp-frontend {
	max-width: none; /* The shell manages its own width. */
}

.hda-shell {
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr);
	gap: 1.5rem;
	max-width: 100%;
	margin: 0 auto 2.5rem;
	padding: 1.5rem;
	background: oklch(0.97 0.003 250);
	border-radius: 20px;
}

/* Dashboard variant: timeline · main · right rail (manager + profile). */
.hda-shell--three {
	grid-template-columns: 280px minmax(0, 1fr) 320px;
}

@media (max-width: 1100px) {
	.hda-shell--three {
		grid-template-columns: 280px minmax(0, 1fr);
	}

	.hda-shell--three .hda-shell__right {
		grid-column: 1 / -1;
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
		gap: 1rem;
	}
}

.hda-shell__right {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	min-width: 0;
}

.hda-shell__aside {
	padding: 1rem 0.5rem;
}

.hda-shell__brand {
	font-size: 1.05rem;
	margin: 0 0 1.5rem;
	color: var(--hda-green-ink);
	letter-spacing: -0.01em;
}

.hda-shell__main {
	background: #fff;
	border-radius: 16px;
	padding: clamp(1.25rem, 3vw, 2.25rem);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
	min-width: 0;
}

.hda-shell__back {
	margin: 0 0 1rem;
}

.hda-shell__back a {
	color: var(--hda-muted);
	text-decoration: none;
	font-size: 0.85rem;
	font-weight: 600;
}

/* Vertical timeline with connector rail. */
.hda-timeline {
	list-style: none;
	margin: 0;
	padding: 0;
}

.hda-timeline__item {
	position: relative;
	display: flex;
	gap: 0.8rem;
	padding: 0 0 1.4rem;
}

/* Connector line between markers. */
.hda-timeline__item:not(:last-child)::before {
	content: "";
	position: absolute;
	left: 13px;
	top: 28px;
	bottom: 0;
	width: 2px;
	background: var(--hda-line);
}

.hda-timeline__item--done:not(:last-child)::before {
	background: var(--hda-green);
}

.hda-timeline__marker {
	flex: none;
	inline-size: 28px;
	block-size: 28px;
	border-radius: 50%;
	border: 2px solid var(--hda-line);
	background: #fff;
	display: grid;
	place-items: center;
	color: #fff;
	position: relative;
	z-index: 1;
}

.hda-timeline__item--done .hda-timeline__marker {
	background: var(--hda-green);
	border-color: var(--hda-green);
}

.hda-timeline__item--active .hda-timeline__marker,
.hda-timeline__item--review .hda-timeline__marker {
	border-color: var(--hda-orange);
}

.hda-timeline__item--rejected .hda-timeline__marker {
	border-color: var(--hda-color-red);
}

.hda-timeline__item.is-current .hda-timeline__marker {
	border-color: var(--hda-green);
	box-shadow: 0 0 0 4px color-mix(in oklch, var(--hda-green) 18%, transparent);
}

.hda-timeline__body {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
	padding-top: 0.2rem;
	min-width: 0;
}

.hda-timeline__label {
	font-weight: 600;
	font-size: 0.92rem;
	color: var(--hda-ink);
	text-decoration: none;
}

a.hda-timeline__label:hover,
a.hda-timeline__label:focus-visible {
	color: var(--hda-green-ink);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.hda-timeline__item.is-current .hda-timeline__label {
	color: var(--hda-green-ink);
}

.hda-timeline__status {
	font-size: 0.75rem;
	color: var(--hda-muted);
}

.hda-timeline__item--done .hda-timeline__status {
	color: var(--hda-green-ink);
}

.hda-timeline__item--review .hda-timeline__status,
.hda-timeline__item--active .hda-timeline__status {
	color: var(--hda-orange-ink);
}

.hda-timeline__item--rejected .hda-timeline__status {
	color: var(--hda-color-red);
}

/* Mobile progress header (replaces the rail on small screens). */
.hda-progressbar {
	display: none;
	flex-direction: column;
	gap: 0.35rem;
	margin-bottom: 1rem;
}

.hda-progressbar__label {
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--hda-muted);
}

.hda-progressbar__track {
	display: block;
	block-size: 6px;
	border-radius: 999px;
	background: var(--hda-line);
	overflow: hidden;
}

.hda-progressbar__fill {
	display: block;
	block-size: 100%;
	border-radius: 999px;
	background: var(--hda-green);
}

@media (max-width: 800px) {
	.hda-shell {
		grid-template-columns: 1fr;
		padding: 0.9rem;
	}

	.hda-shell__aside .hda-timeline {
		display: none;
	}

	.hda-shell__brand {
		margin-bottom: 0.75rem;
	}

	.hda-progressbar {
		display: flex;
	}
}

@media (min-width: 801px) {
	.hda-progressbar {
		display: none;
	}
}

/* Start card + next-step CTA. */
.hda-startcard {
	max-width: 62rem;
	margin: 0 auto 2rem;
	padding: 2rem;
	background: #fff;
	border: 1px solid var(--hda-line);
	border-radius: 16px;
	text-align: center;
}

.hda-startcard__title {
	margin-top: 0;
}

.hda-nextstep {
	border: 1px solid var(--hda-line);
	border-radius: 12px;
	padding: 1.5rem;
	margin-top: 0.5rem;
}

.hda-nextstep__eyeline {
	margin: 0 0 0.3rem;
	font-size: 0.8rem;
	color: var(--hda-muted);
	font-weight: 600;
}

.hda-nextstep__title {
	margin: 0 0 0.4rem;
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--hda-ink);
}

.hda-nextstep__desc {
	margin: 0 0 1rem;
	color: var(--hda-muted);
}

.hda-nextstep--done {
	border-color: color-mix(in oklch, var(--hda-green) 40%, var(--hda-line));
	background: color-mix(in oklch, var(--hda-green) 6%, #fff);
}

/* Pill buttons (mock style). */
.hda-btn {
	border-radius: 999px;
}

/* Composite fields (name / address). */
.hda-composite {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
}

.hda-composite__part {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	flex: 1 1 10rem;
	min-width: 0;
}

.hda-composite__part--narrow {
	flex: 0 1 7rem;
}

.hda-composite__part--wide {
	flex: 1 1 100%;
}

.hda-composite__part input,
.hda-composite__part select {
	inline-size: 100%;
	padding: 0.6rem 0.75rem;
	border: 1px solid var(--hda-line);
	border-radius: 8px;
	font: inherit;
}

.hda-composite__part small {
	font-size: 0.72rem;
	color: var(--hda-muted);
}

.hda-field__html :first-child {
	margin-top: 0;
}

/* ------------------------------------------------------------------ */
/* Motion safety.                                                       */
/* ------------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
	.hda-btn,
	.hda-field__control,
	.hda-form :is(input, textarea, select) {
		transition: none;
	}
}

/* ------------------------------------------------------------------ */
/* v0.9: structure + new field modules.                                 */
/* ------------------------------------------------------------------ */

/* Column containers (stack on small screens). */
.hda-columns {
	display: grid;
	gap: 0 20px;
	align-items: start;
}

.hda-columns--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hda-columns--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hda-columns--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 640px) {
	.hda-columns--2,
	.hda-columns--3,
	.hda-columns--4 {
		grid-template-columns: 1fr;
	}
}

.hda-divider {
	border: 0;
	border-top: 1px solid oklch(0.9 0.005 250);
	margin: 22px 0;
}

/* Prefix/suffix input groups. */
.hda-affix {
	display: flex;
	align-items: stretch;
	width: 100%;
}

.hda-affix .hda-field__control {
	flex: 1;
	min-width: 0;
}

.hda-affix__label {
	display: flex;
	align-items: center;
	padding: 0 12px;
	background: oklch(0.965 0.004 250);
	border: 1px solid oklch(0.87 0.008 250);
	color: oklch(0.45 0.01 250);
	font-size: 0.9rem;
	white-space: nowrap;
}

.hda-affix__label:first-child {
	border-right: 0;
	border-radius: 8px 0 0 8px;
}

.hda-affix__label:last-child {
	border-left: 0;
	border-radius: 0 8px 8px 0;
}

.hda-affix__label:first-child + .hda-field__control {
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}

.hda-affix .hda-field__control:not(:last-child) {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}

/* Choice layouts. */
.hda-field__choices--inline {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
}

.hda-field__choices--2col,
.hda-field__choices--3col {
	display: grid;
	gap: 6px 18px;
}

.hda-field__choices--2col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hda-field__choices--3col { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 640px) {
	.hda-field__choices--2col,
	.hda-field__choices--3col {
		grid-template-columns: 1fr;
	}
}

/* Star rating (radio group; row-reversed so hover fills leftwards). */
.hda-rating {
	display: inline-flex;
	flex-direction: row-reverse;
	gap: 2px;
}

.hda-rating input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}

.hda-rating label {
	line-height: 1;
	color: oklch(0.87 0.008 250);
	cursor: pointer;
	transition: color 0.12s ease-out, transform 0.12s ease-out;
}

.hda-rating .hda-star {
	width: 1.7rem;
	height: 1.7rem;
	display: block;
}

.hda-rating label:hover,
.hda-rating label:hover ~ label,
.hda-rating input:checked ~ label {
	color: oklch(0.78 0.13 80);
}

.hda-rating label:active {
	transform: scale(0.95);
}

.hda-rating input:focus-visible + label {
	outline: 2px solid var(--hda-green, oklch(0.59 0.115 165));
	outline-offset: 2px;
	border-radius: 4px;
}

/* Range slider. */
.hda-range {
	display: flex;
	align-items: center;
	gap: 14px;
}

.hda-range input[type="range"] {
	flex: 1;
	accent-color: var(--hda-green, oklch(0.59 0.115 165));
}

.hda-range__value {
	min-width: 44px;
	text-align: center;
	font-weight: 700;
	color: var(--hda-green-ink, oklch(0.5 0.105 165));
	background: var(--hda-green-soft, oklch(0.97 0.02 165));
	border-radius: 999px;
	padding: 3px 10px;
	font-variant-numeric: tabular-nums;
}

/* Net Promoter Score 0–10. */
.hda-nps__scale {
	display: flex;
	gap: 4px;
	flex-wrap: wrap;
}

.hda-nps__item input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}

.hda-nps__item span {
	display: grid;
	place-items: center;
	min-width: 38px;
	height: 38px;
	border: 1.5px solid oklch(0.87 0.008 250);
	border-radius: 8px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.12s ease-out, border-color 0.12s ease-out;
}

.hda-nps__item span:hover {
	border-color: var(--hda-green, oklch(0.59 0.115 165));
}

.hda-nps__item input:checked + span {
	background: var(--hda-green, oklch(0.59 0.115 165));
	border-color: var(--hda-green, oklch(0.59 0.115 165));
	color: #fff;
}

.hda-nps__item input:focus-visible + span {
	outline: 2px solid var(--hda-green, oklch(0.59 0.115 165));
	outline-offset: 2px;
}

.hda-nps__legend {
	display: flex;
	justify-content: space-between;
	margin-top: 6px;
	font-size: 0.82rem;
	color: oklch(0.45 0.01 250);
}

/* Terms & conditions: scrollable text + acceptance checkbox. */
.hda-terms__text {
	max-height: 220px;
	overflow-y: auto;
	border: 1px solid oklch(0.87 0.008 250);
	border-radius: 8px;
	padding: 14px 16px;
	background: oklch(0.985 0.002 250);
	margin-bottom: 10px;
	font-size: 0.92rem;
}

.hda-terms__text > :first-child { margin-top: 0; }
.hda-terms__text > :last-child { margin-bottom: 0; }

/* Rich content blocks. */
.hda-field--content .hda-field__html > :first-child { margin-top: 0; }
.hda-field--content .hda-field__html > :last-child { margin-bottom: 0; }

@media (prefers-reduced-motion: reduce) {
	.hda-rating label,
	.hda-nps__item span {
		transition: none;
	}
}

/* ------------------------------------------------------------------ */
/* v0.11: extended reference block (roles + contact fields).            */
/* ------------------------------------------------------------------ */

.hda-ref-row {
	border: 1px solid oklch(0.9 0.005 250);
	border-radius: 10px;
	padding: 14px 16px;
	margin: 10px 0;
	background: oklch(0.99 0.002 250);
}

.hda-ref-row__title {
	display: block;
	font-size: 1rem;
	color: var(--hda-green-ink, oklch(0.5 0.105 165));
}

.hda-ref-row__note {
	display: block;
	font-size: 0.85rem;
	color: oklch(0.5 0.01 250);
	margin-bottom: 8px;
}

.hda-ref-row__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 8px;
	margin-top: 8px;
}

.hda-ref-row__christ {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 16px;
	margin-top: 10px;
	font-size: 0.9rem;
}

.hda-ref-row__christ-q {
	font-weight: 600;
}

/* Keep Yes/No side by side (never stacked on separate rows). */
.hda-ref-row__christ-opts {
	display: inline-flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 16px;
}

.hda-ref-row__christ label {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

/* ------------------------------------------------------------------ */
/* v0.12: mock-fidelity polish (onboarding shell like the reference).   */
/* ------------------------------------------------------------------ */

/* Top bar inside the white card: back pill left, user chip right. */
.hda-topbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	margin: 0 0 1.9rem;
}

.hda-topbar__back {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	color: var(--hda-ink);
	text-decoration: none;
	font-size: 0.86rem;
	font-weight: 600;
	border: 1px solid var(--hda-line);
	border-radius: 999px;
	padding: 0.45rem 1rem;
	background: #fff;
	transition: border-color 0.15s var(--hda-ease-out), color 0.15s var(--hda-ease-out);
}

.hda-topbar__back:hover,
.hda-topbar__back:focus-visible {
	border-color: var(--hda-green);
	color: var(--hda-green-ink);
}

.hda-userchip {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--hda-muted);
	min-width: 0;
}

.hda-userchip img {
	border-radius: 50%;
	width: 34px;
	height: 34px;
	display: block;
}

/* Content column inside the white card: readable cap for plain forms, but
   the whole card already uses the full Divi width. Multi-column steps and
   the review card override this via their own full-width containers. */
.hda-shell__main > :not(.hda-topbar) {
	max-width: 55rem;
	margin-left: auto;
	margin-right: auto;
}

.hda-shell__main > .hda-columns,
.hda-shell__main > .hda-field--content,
.hda-shell__main > .hda-field__matrix {
	max-width: none;
}

.hda-shell__main .hda-wizard__title {
	text-align: center;
	color: var(--hda-ink);
	font-weight: 700;
	letter-spacing: -0.02em;
}

.hda-shell__main .hda-wizard__desc {
	text-align: center;
	margin-bottom: 1.9rem;
}

/* Labels + inputs tuned to the mock (small grey label, roomy input). */
.hda-field {
	margin-bottom: 1.15rem;
}

.hda-field__label {
	font-size: 0.86rem;
	color: oklch(0.42 0 0);
	margin-bottom: 0.3rem;
}

.hda-field__control,
.hda-form textarea,
.hda-form select,
.hda-form input[type="text"],
.hda-form input[type="email"],
.hda-form input[type="tel"],
.hda-form input[type="number"],
.hda-form input[type="date"],
.hda-form input[type="time"],
.hda-form input[type="url"] {
	padding: 0.72rem 0.9rem;
	border-color: oklch(0.88 0.004 250);
}

.hda-field__control::placeholder,
.hda-form :is(input, textarea)::placeholder {
	color: oklch(0.68 0.005 250);
}

/* Section headings inside a step: quiet ink dividers, not green bars. */
.hda-field__heading {
	border-bottom: 1px solid var(--hda-line);
	padding-bottom: 0.5rem;
	color: var(--hda-ink);
	font-size: 1.05rem;
	margin: 2.1rem 0 0.4rem;
}

.hda-field--heading:first-child .hda-field__heading {
	margin-top: 0;
}

/* Submit: full-width green pill like the mock's "Next". */
.hda-form__actions .hda-btn--primary,
.hda-startcard .hda-btn--primary,
.hda-nextstep .hda-btn--primary {
	justify-content: center;
	padding: 0.85rem 1.6rem;
}

.hda-form__actions .hda-btn--primary {
	width: 100%;
}

/* Timeline: "Schritt N" eyebrow above each label (mock style). */
.hda-timeline__step {
	font-size: 0.72rem;
	font-weight: 600;
	color: var(--hda-muted);
}

/* Aside footer: logged-in identity (mock's "Already have an account?"). */
.hda-shell__aside {
	display: flex;
	flex-direction: column;
}

.hda-shell__aside .hda-timeline {
	flex: 1;
}

.hda-asidefoot {
	margin-top: 1.25rem;
	font-size: 0.8rem;
	color: var(--hda-muted);
}

.hda-asidefoot a {
	color: var(--hda-green-ink);
	font-weight: 600;
	text-decoration: none;
}

.hda-asidefoot a:hover,
.hda-asidefoot a:focus-visible {
	text-decoration: underline;
	text-underline-offset: 3px;
}

@media (max-width: 800px) {
	.hda-asidefoot {
		display: none;
	}
}

/* ------------------------------------------------------------------ */
/* v0.12.1: all-in-one auth card (login | register toggle).             */
/* ------------------------------------------------------------------ */

.hda-auth {
	max-width: 30rem;
	margin: 0 auto 2.5rem;
	background: #fff;
	border: 1px solid var(--hda-line);
	border-radius: 16px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
	padding: clamp(1.5rem, 4vw, 2.25rem);
}

.hda-auth__title {
	text-align: center;
	color: var(--hda-ink);
	font-weight: 700;
	letter-spacing: -0.02em;
	margin: 0 0 0.4rem;
}

.hda-auth__intro {
	text-align: center;
	color: var(--hda-muted);
	margin: 0 0 1.5rem;
}

/* Segmented tabs — hidden until JS upgrades the card. */
.hda-auth__tabs {
	display: none;
}

.hda-auth.is-js .hda-auth__tabs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4px;
	padding: 4px;
	background: oklch(0.955 0.004 250);
	border-radius: 999px;
	margin-bottom: 1.5rem;
}

.hda-auth__tab {
	appearance: none;
	border: 0;
	background: transparent;
	border-radius: 999px;
	padding: 0.55rem 1rem;
	font: inherit;
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--hda-muted);
	cursor: pointer;
	transition: background-color 0.15s var(--hda-ease-out), color 0.15s var(--hda-ease-out);
}

.hda-auth__tab.is-active {
	background: #fff;
	color: var(--hda-green-ink);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.hda-auth__tab:focus-visible {
	outline: 2px solid var(--hda-green);
	outline-offset: 2px;
}

/* Panels: stacked without JS (with their headings), tabbed with JS. */
.hda-auth__panel {
	margin-bottom: 1.5rem;
}

.hda-auth.is-js .hda-auth__panel {
	margin-bottom: 0;
}

.hda-auth.is-js .hda-auth__panel:not(.is-active) {
	display: none;
}

.hda-auth.is-js .hda-auth__panel-title {
	display: none;
}

.hda-auth__panel-title {
	margin: 0 0 0.75rem;
	font-size: 1.05rem;
	color: var(--hda-ink);
}

.hda-auth__aux {
	margin: 0.75rem 0 0;
	font-size: 0.85rem;
	text-align: center;
}

.hda-auth__aux a {
	color: var(--hda-green-ink);
	font-weight: 600;
	text-decoration: none;
}

.hda-auth__aux a:hover,
.hda-auth__aux a:focus-visible {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Core wp_login_form styling inside the card. */
.hda-auth #loginform p {
	margin: 0 0 1.1rem;
}

.hda-auth #loginform label {
	display: block;
	font-weight: 600;
	font-size: 0.86rem;
	color: oklch(0.42 0 0);
	margin-bottom: 0.3rem;
}

.hda-auth #loginform input[type="text"],
.hda-auth #loginform input[type="password"] {
	inline-size: 100%;
	padding: 0.72rem 0.9rem;
	border: 1px solid oklch(0.88 0.004 250);
	border-radius: 8px;
	font: inherit;
	box-sizing: border-box;
}

.hda-auth #loginform .login-remember label {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	font-weight: 400;
}

.hda-auth #loginform input[type="checkbox"] {
	accent-color: var(--hda-green);
}

.hda-auth #loginform .button-primary {
	width: 100%;
	background: var(--hda-green-ink);
	border: 2px solid var(--hda-green-ink);
	border-radius: 999px;
	color: #fff;
	font-weight: 700;
	font-size: 1rem;
	padding: 0.75rem 1.4rem;
	cursor: pointer;
}

.hda-auth #loginform .button-primary:hover,
.hda-auth #loginform .button-primary:focus-visible {
	background: color-mix(in oklch, var(--hda-green-ink) 88%, black);
}

/* Register form inside the card: full-width submit like the mock. */
.hda-auth .hda-register {
	max-width: none;
}

.hda-auth .hda-form__actions .hda-btn--primary {
	width: 100%;
	justify-content: center;
}

@media (prefers-reduced-motion: reduce) {
	.hda-auth__tab {
		transition: none;
	}
}

/* ------------------------------------------------------------------ */
/* v0.15: password eye toggle + right rail cards + notifications.       */
/* ------------------------------------------------------------------ */

.hda-pass-wrap {
	position: relative;
	display: block;
}

.hda-pass-wrap input {
	width: 100%;
	box-sizing: border-box;
	padding-right: 2.8rem;
}

.hda-pass-toggle {
	position: absolute;
	right: 0.4rem;
	top: 50%;
	transform: translateY(-50%);
	border: 0;
	background: transparent;
	cursor: pointer;
	font-size: 1.05rem;
	line-height: 1;
	padding: 0.35rem;
	opacity: 0.55;
	border-radius: 6px;
}

.hda-pass-toggle:hover,
.hda-pass-toggle.is-on {
	opacity: 1;
}

/* Right-rail cards: program manager + profile. */
.hda-sidecard {
	background: #fff;
	border: 1px solid var(--hda-line);
	border-radius: 16px;
	padding: 1.25rem;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.hda-sidecard__eyeline {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--hda-muted);
	margin: 0 0 0.75rem;
}

.hda-manager__head {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	margin-bottom: 0.75rem;
}

.hda-manager__head img {
	border-radius: 50%;
	width: 52px;
	height: 52px;
	object-fit: cover;
	flex: none;
}

.hda-manager__name {
	font-weight: 700;
	color: var(--hda-ink);
	line-height: 1.2;
}

.hda-manager__role {
	font-size: 0.82rem;
	color: var(--hda-muted);
}

.hda-manager__desc {
	font-size: 0.88rem;
	color: oklch(0.42 0 0);
	margin: 0 0 0.9rem;
}

.hda-manager__contact {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.hda-manager__contact li {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	font-size: 0.9rem;
}

.hda-manager__contact a {
	color: var(--hda-green-ink);
	text-decoration: none;
	word-break: break-word;
}

.hda-manager__contact a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Profile card. */
.hda-profilecard__head {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	margin-bottom: 1rem;
}

.hda-profilecard__head img {
	border-radius: 50%;
	width: 52px;
	height: 52px;
	object-fit: cover;
	flex: none;
}

.hda-profilecard__name {
	font-weight: 700;
	color: var(--hda-ink);
}

.hda-profilecard__mail {
	font-size: 0.82rem;
	color: var(--hda-muted);
	word-break: break-word;
}

.hda-profilecard summary {
	cursor: pointer;
	font-weight: 600;
	font-size: 0.88rem;
	color: var(--hda-green-ink);
	margin-top: 0.25rem;
}

.hda-profilecard form {
	margin-top: 0.9rem;
}

.hda-profilecard .hda-field {
	margin-bottom: 0.8rem;
}

/* Notification bell + dropdown (topbar). */
.hda-bell {
	position: relative;
	display: inline-flex;
}

.hda-bell__btn {
	border: 1px solid var(--hda-line);
	background: #fff;
	border-radius: 50%;
	width: 40px;
	height: 40px;
	display: grid;
	place-items: center;
	cursor: pointer;
	font-size: 1.1rem;
	line-height: 1;
	position: relative;
}

.hda-bell__count {
	position: absolute;
	top: -4px;
	right: -4px;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	border-radius: 999px;
	background: var(--hda-color-red);
	color: #fff;
	font-size: 0.68rem;
	font-weight: 700;
	display: grid;
	place-items: center;
}

.hda-bell__menu {
	position: absolute;
	right: 0;
	top: calc(100% + 8px);
	width: min(20rem, 80vw);
	background: #fff;
	border: 1px solid var(--hda-line);
	border-radius: 12px;
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14);
	padding: 0.5rem;
	z-index: 30;
	display: none;
}

.hda-bell.is-open .hda-bell__menu {
	display: block;
}

.hda-bell__title {
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--hda-muted);
	padding: 0.4rem 0.6rem;
}

.hda-bell__item {
	display: block;
	padding: 0.55rem 0.6rem;
	border-radius: 8px;
	text-decoration: none;
	color: var(--hda-ink);
	font-size: 0.88rem;
}

.hda-bell__item:hover {
	background: var(--hda-surface);
}

.hda-bell__item + .hda-bell__item {
	border-top: 1px solid var(--hda-surface);
}

.hda-bell__item time {
	display: block;
	font-size: 0.72rem;
	color: var(--hda-muted);
	margin-top: 0.15rem;
}

.hda-bell__empty {
	padding: 1rem 0.6rem;
	text-align: center;
	color: var(--hda-muted);
	font-size: 0.85rem;
}

.hda-topbar__tools {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

/* Autosave status pill (wizard step). */
.hda-autosave {
	display: inline-block;
	margin-top: 0.75rem;
	font-size: 0.8rem;
	color: var(--hda-green-ink);
	opacity: 0;
	transition: opacity 0.2s var(--hda-ease-out);
}

.hda-autosave.is-visible {
	opacity: 1;
}

.hda-nextstep--inline {
	margin-top: 1.5rem;
}

@media (prefers-reduced-motion: reduce) {
	.hda-autosave {
		transition: none;
	}
}

/* Inline SVG icons: align to text, inherit colour. */
.hda-ico {
	display: inline-block;
	vertical-align: middle;
	flex: none;
}

.hda-bell__row {
	display: flex;
	gap: 0.5rem;
	align-items: flex-start;
}

.hda-bell__row .hda-ico {
	margin-top: 0.1rem;
	color: var(--hda-green-ink);
}

.hda-manager__contact .hda-ico {
	color: var(--hda-green-ink);
}

.hda-infoboard__title .hda-ico,
.hda-interview__title .hda-ico {
	color: var(--hda-green-ink);
}

.hda-nextstep__title .hda-ico {
	color: var(--hda-green-ink);
	margin-right: 0.25rem;
}

/* ------------------------------------------------------------------ */
/* v0.19: sign in with Google / Microsoft.                              */
/* ------------------------------------------------------------------ */

.hda-sso {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	margin: 1.25rem 0 0;
}

.hda-sso__sep {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0;
	color: var(--hda-muted);
	font-size: 0.82rem;
}

.hda-sso__sep::before,
.hda-sso__sep::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--hda-line);
}

.hda-sso__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.7rem;
	padding: 0.75rem 1.25rem;
	border: 1px solid var(--hda-line);
	border-radius: 8px;
	background: #fff;
	color: var(--hda-ink);
	font-weight: 600;
	text-decoration: none;
	transition: transform 0.12s var(--hda-ease-out), background-color 0.15s var(--hda-ease-out), border-color 0.15s var(--hda-ease-out);
}

.hda-sso__btn:hover,
.hda-sso__btn:focus-visible {
	background: var(--hda-surface);
	border-color: var(--hda-green-tint);
	color: var(--hda-ink);
}

.hda-sso__btn:active {
	transform: scale(0.97);
}

.hda-sso__btn svg {
	width: 1.15em;
	height: 1.15em;
	flex: none;
}

@media (prefers-reduced-motion: reduce) {
	.hda-sso__btn {
		transition: none;
	}

	.hda-sso__btn:active {
		transform: none;
	}
}

/* Initials badge shown when the site has no avatar image for a user. */
.hda-avatar-fallback {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: color-mix(in oklch, var(--hda-green) 18%, #fff);
	color: var(--hda-green-ink);
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.01em;
	flex: none;
}

/* Admin-attached document offered for download inside a module. */
.hda-field__attach {
	margin: 0.5rem 0 0.75rem;
}

.hda-field__attach .hda-btn {
	padding: 0.5rem 1rem;
	font-size: 0.9rem;
}

/* Individual information: a text the team wrote for this applicant only. */
.hda-field--adminfo {
	background: color-mix(in oklch, var(--hda-green) 6%, #fff);
	border: 1px solid color-mix(in oklch, var(--hda-green) 30%, var(--hda-line));
	border-radius: 0.6rem;
	padding: 0.9rem 1.1rem;
}

.hda-adminfo__label {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	margin: 0 0 0.4rem;
	font-weight: 600;
	color: var(--hda-green-ink);
}

.hda-adminfo__label svg {
	flex: none;
}

.hda-field--adminfo .hda-field__html > *:first-child {
	margin-top: 0;
}

.hda-field--adminfo .hda-field__html > *:last-child {
	margin-bottom: 0;
}

/* Personalised form module: download the PDF with your own data in it. */
.hda-field--form {
	border: 1px solid var(--hda-line);
	border-radius: 0.6rem;
	padding: 0.9rem 1.1rem;
}

.hda-form-module__label {
	margin: 0 0 0.35rem;
	font-weight: 600;
}

.hda-field--form .hda-field__attach {
	margin-bottom: 0;
}

/* An optional referee: same card, quieter heading. */
.hda-ref-row__optional {
	font-weight: 400;
	font-size: 0.85rem;
	color: var(--hda-muted);
}
