.hrc-checker {
	--hrc-ink: #18352e;
	--hrc-ink-soft: #526760;
	--hrc-green: #126b55;
	--hrc-green-deep: #0b4f3e;
	--hrc-green-pale: #e8f4ef;
	--hrc-amber: #9a5d08;
	--hrc-amber-pale: #fff4d8;
	--hrc-red: #a43c35;
	--hrc-red-pale: #fcecea;
	--hrc-cream: #fbf8f0;
	--hrc-paper: #ffffff;
	--hrc-line: #dbe5e0;
	--hrc-shadow: 0 24px 70px rgba(22, 61, 50, 0.11);
	--hrc-radius-lg: 28px;
	--hrc-radius-md: 18px;
	--hrc-radius-sm: 12px;
	position: relative;
	width: min(100%, 1120px);
	margin: clamp(2rem, 6vw, 5rem) auto;
	padding: clamp(1.25rem, 4vw, 3.25rem);
	overflow: hidden;
	border: 1px solid rgba(18, 107, 85, 0.13);
	border-radius: calc(var(--hrc-radius-lg) + 6px);
	background:
		radial-gradient(circle at 96% 4%, rgba(213, 173, 91, 0.16), transparent 26rem),
		radial-gradient(circle at 5% 22%, rgba(18, 107, 85, 0.11), transparent 24rem),
		var(--hrc-cream);
	color: var(--hrc-ink);
	box-shadow: var(--hrc-shadow);
	font-family: inherit;
	line-height: 1.55;
	box-sizing: border-box;
	isolation: isolate;
}

.hrc-checker *,
.hrc-checker *::before,
.hrc-checker *::after {
	box-sizing: border-box;
}

.hrc-checker::before {
	position: absolute;
	z-index: -1;
	top: -5.5rem;
	right: -4.5rem;
	width: 14rem;
	height: 14rem;
	border: 1px solid rgba(18, 107, 85, 0.11);
	border-radius: 50%;
	content: "";
}

.hrc-checker__intro {
	width: min(100%, 760px);
	margin: 0 auto clamp(1.5rem, 4vw, 2.5rem);
	text-align: center;
}

.hrc-checker__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	margin: 0 0 0.8rem;
	color: var(--hrc-green-deep);
	font-size: 0.77rem;
	font-weight: 760;
	letter-spacing: 0.1em;
	line-height: 1.35;
	text-transform: uppercase;
}

.hrc-checker__eyebrow-dot {
	width: 0.52rem;
	height: 0.52rem;
	border: 2px solid rgba(18, 107, 85, 0.24);
	border-radius: 50%;
	background: var(--hrc-green);
	box-shadow: 0 0 0 4px rgba(18, 107, 85, 0.08);
}

.hrc-checker__title {
	margin: 0;
	color: var(--hrc-ink);
	font-size: clamp(2rem, 5vw, 3.65rem);
	font-weight: 760;
	letter-spacing: -0.047em;
	line-height: 1.02;
	text-wrap: balance;
}

.hrc-checker__description {
	max-width: 680px;
	margin: 1rem auto 0;
	color: var(--hrc-ink-soft);
	font-size: clamp(1rem, 1.8vw, 1.13rem);
	line-height: 1.7;
	text-wrap: pretty;
}

.hrc-checker__form,
.hrc-result {
	width: min(100%, 860px);
	margin-right: auto;
	margin-left: auto;
}

.hrc-checker__form {
	position: relative;
	padding: clamp(1.1rem, 3.5vw, 2rem);
	border: 1px solid var(--hrc-line);
	border-radius: var(--hrc-radius-lg);
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 16px 45px rgba(22, 61, 50, 0.08);
	backdrop-filter: blur(8px);
}

.hrc-field + .hrc-field {
	margin-top: 1.2rem;
}

.hrc-field__heading,
.hrc-field__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.hrc-field__label {
	display: block;
	margin: 0 0 0.55rem;
	color: var(--hrc-ink);
	font-size: 0.91rem;
	font-weight: 750;
	letter-spacing: -0.01em;
}

.hrc-field__heading .hrc-field__label {
	margin-bottom: 0.55rem;
}

.hrc-text-button {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	margin: 0 0 0.55rem;
	padding: 10px 0;
	border: 0;
	background: transparent;
	color: var(--hrc-green);
	font: inherit;
	font-size: 0.86rem;
	font-weight: 720;
	text-decoration: underline;
	text-decoration-color: rgba(18, 107, 85, 0.33);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.22rem;
	cursor: pointer;
}

.hrc-text-button:hover {
	color: var(--hrc-green-deep);
	text-decoration-color: currentColor;
}

.hrc-field__textarea,
.hrc-field__select {
	width: 100%;
	border: 1px solid #c8d7d0;
	border-radius: var(--hrc-radius-sm);
	background-color: #fcfdfc;
	color: var(--hrc-ink);
	font: inherit;
	box-shadow: inset 0 1px 2px rgba(18, 51, 42, 0.04);
	transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.hrc-field__textarea {
	min-height: 11.5rem;
	padding: 1rem 1.05rem;
	resize: vertical;
	font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
	font-size: 0.93rem;
	line-height: 1.65;
}

.hrc-field__select {
	appearance: auto;
	min-height: 3rem;
	padding: 0.65rem 2.4rem 0.65rem 0.9rem;
}

.hrc-field__textarea::placeholder {
	color: #869891;
	opacity: 1;
}

.hrc-field__textarea:hover,
.hrc-field__select:hover {
	border-color: #9fb9ae;
	background: #fff;
}

.hrc-field__textarea:focus,
.hrc-field__select:focus,
.hrc-text-button:focus-visible,
.hrc-button:focus-visible,
.hrc-item__summary:focus-visible,
.hrc-item__source-link:focus-visible,
.hrc-result__sources a:focus-visible {
	outline: 3px solid rgba(38, 139, 111, 0.22);
	outline-offset: 2px;
}

.hrc-field__textarea:focus,
.hrc-field__select:focus {
	border-color: var(--hrc-green);
	background: #fff;
	box-shadow: 0 0 0 4px rgba(18, 107, 85, 0.09);
}

.hrc-field__textarea[aria-invalid="true"] {
	border-color: var(--hrc-red);
	box-shadow: 0 0 0 4px rgba(164, 60, 53, 0.09);
}

.hrc-field__meta,
.hrc-field__help {
	color: #6a7b75;
	font-size: 0.78rem;
	line-height: 1.5;
}

.hrc-field__meta {
	margin-top: 0.45rem;
}

.hrc-field__meta span:last-child {
	flex: 0 0 auto;
	font-variant-numeric: tabular-nums;
}

.hrc-field--compact {
	display: grid;
	grid-template-columns: minmax(13rem, 0.8fr) minmax(15rem, 1.2fr);
	column-gap: 1.25rem;
	align-items: end;
	padding: 1rem;
	border: 1px solid rgba(18, 107, 85, 0.11);
	border-radius: var(--hrc-radius-sm);
	background: var(--hrc-green-pale);
}

.hrc-field--compact .hrc-field__label {
	grid-column: 1;
}

.hrc-field--compact .hrc-field__select {
	grid-column: 1;
}

.hrc-field--compact .hrc-field__help {
	grid-row: 1 / span 2;
	grid-column: 2;
	align-self: center;
	margin: 0;
	color: #45635a;
}

.hrc-checker__error {
	margin: 1rem 0 0;
	padding: 0.75rem 0.9rem;
	border-left: 3px solid var(--hrc-red);
	border-radius: 4px var(--hrc-radius-sm) var(--hrc-radius-sm) 4px;
	background: var(--hrc-red-pale);
	color: #7f2a25;
	font-size: 0.9rem;
	font-weight: 650;
}

.hrc-checker__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
	margin-top: 1.35rem;
}

.hrc-button {
	display: inline-flex;
	min-height: 3.05rem;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	padding: 0.72rem 1.1rem;
	border: 1px solid transparent;
	border-radius: 999px;
	font: inherit;
	font-size: 0.91rem;
	font-weight: 760;
	line-height: 1;
	cursor: pointer;
	transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.hrc-button svg {
	width: 1.1rem;
	height: 1.1rem;
	transition: transform 160ms ease;
}

.hrc-button--primary {
	min-width: 12rem;
	background: var(--hrc-green);
	color: #fff;
	box-shadow: 0 9px 22px rgba(18, 107, 85, 0.2);
}

.hrc-button--primary:hover {
	background: var(--hrc-green-deep);
	box-shadow: 0 11px 25px rgba(18, 107, 85, 0.26);
	transform: translateY(-1px);
}

.hrc-button--primary:hover svg {
	transform: translateX(2px);
}

.hrc-button--secondary {
	border-color: var(--hrc-line);
	background: #fff;
	color: var(--hrc-ink);
}

.hrc-button--secondary:hover {
	border-color: #b5c8bf;
	background: #f7faf8;
}

.hrc-button:active {
	transform: translateY(0);
}

.hrc-checker__privacy {
	display: flex;
	align-items: flex-start;
	gap: 0.45rem;
	margin: 0.95rem 0 0;
	color: #60726b;
	font-size: 0.77rem;
	line-height: 1.5;
}

.hrc-checker__privacy svg {
	width: 1rem;
	height: 1rem;
	flex: 0 0 auto;
	margin-top: 0.07rem;
	color: var(--hrc-green);
}

.hrc-result {
	margin-top: clamp(1.25rem, 4vw, 2rem);
	scroll-margin-top: 2rem;
}

.hrc-result[hidden] {
	display: none !important;
}

.hrc-result__summary {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: clamp(0.9rem, 2.5vw, 1.35rem);
	align-items: start;
	padding: clamp(1.1rem, 3.2vw, 1.65rem);
	border: 1px solid var(--hrc-line);
	border-radius: var(--hrc-radius-md);
	background: #fff;
	box-shadow: 0 12px 32px rgba(22, 61, 50, 0.07);
}

.hrc-result__summary[data-status="acceptable"] {
	border-color: rgba(18, 107, 85, 0.25);
	background: linear-gradient(140deg, #fff, #eff8f4);
}

.hrc-result__summary[data-status="verify"] {
	border-color: rgba(154, 93, 8, 0.25);
	background: linear-gradient(140deg, #fff, #fff8e7);
}

.hrc-result__summary[data-status="disallowed"] {
	border-color: rgba(164, 60, 53, 0.25);
	background: linear-gradient(140deg, #fff, #fff1ef);
}

.hrc-result__status-icon {
	display: grid;
	width: 3.2rem;
	height: 3.2rem;
	place-items: center;
	border-radius: 50%;
	font-size: 1.25rem;
	font-weight: 800;
	line-height: 1;
}

[data-status="acceptable"] .hrc-result__status-icon {
	background: var(--hrc-green-pale);
	color: var(--hrc-green);
}

[data-status="verify"] .hrc-result__status-icon {
	background: var(--hrc-amber-pale);
	color: var(--hrc-amber);
}

[data-status="disallowed"] .hrc-result__status-icon {
	background: var(--hrc-red-pale);
	color: var(--hrc-red);
}

.hrc-result__kicker {
	margin: 0 0 0.18rem;
	color: var(--hrc-ink-soft);
	font-size: 0.72rem;
	font-weight: 760;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.hrc-result__title {
	margin: 0;
	color: var(--hrc-ink);
	font-size: clamp(1.25rem, 3vw, 1.75rem);
	font-weight: 760;
	letter-spacing: -0.025em;
	line-height: 1.2;
}

.hrc-result__message {
	margin: 0.55rem 0 0;
	color: var(--hrc-ink-soft);
	font-size: 0.93rem;
	line-height: 1.65;
}

.hrc-result__counts {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.7rem;
	margin-top: 0.8rem;
}

.hrc-count {
	display: flex;
	align-items: baseline;
	gap: 0.55rem;
	min-width: 0;
	padding: 0.8rem 0.9rem;
	border: 1px solid var(--hrc-line);
	border-radius: var(--hrc-radius-sm);
	background: rgba(255, 255, 255, 0.82);
}

.hrc-count__number {
	font-size: 1.35rem;
	font-variant-numeric: tabular-nums;
	line-height: 1;
}

.hrc-count__label {
	overflow: hidden;
	color: var(--hrc-ink-soft);
	font-size: 0.78rem;
	font-weight: 650;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hrc-count--acceptable .hrc-count__number {
	color: var(--hrc-green);
}

.hrc-count--verify .hrc-count__number {
	color: var(--hrc-amber);
}

.hrc-count--disallowed .hrc-count__number {
	color: var(--hrc-red);
}

.hrc-result__next-step,
.hrc-result__sources {
	margin-top: 0.8rem;
	padding: 1rem 1.1rem;
	border: 1px solid rgba(18, 107, 85, 0.13);
	border-radius: var(--hrc-radius-sm);
	background: rgba(232, 244, 239, 0.7);
}

.hrc-result__next-step h4,
.hrc-result__sources h4,
.hrc-result__details-heading h4 {
	margin: 0;
	color: var(--hrc-ink);
	font-size: 0.9rem;
	font-weight: 770;
	letter-spacing: -0.01em;
	line-height: 1.35;
}

.hrc-result__next-step p,
.hrc-result__sources p {
	margin: 0.35rem 0 0;
	color: var(--hrc-ink-soft);
	font-size: 0.86rem;
	line-height: 1.65;
}

.hrc-result__details {
	margin-top: clamp(1.5rem, 4vw, 2.2rem);
}

.hrc-result__details-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 1rem;
	margin: 0 0 0.65rem;
	padding: 0 0.1rem;
}

.hrc-result__details-heading p {
	margin: 0;
	color: #6b7c75;
	font-size: 0.75rem;
}

.hrc-result__items {
	display: grid;
	gap: 0.55rem;
}

.hrc-item {
	overflow: clip;
	border: 1px solid var(--hrc-line);
	border-radius: var(--hrc-radius-sm);
	background: #fff;
	transition: border-color 160ms ease, box-shadow 160ms ease;
}

.hrc-item[open] {
	border-color: #b9ccc3;
	box-shadow: 0 9px 26px rgba(22, 61, 50, 0.06);
}

.hrc-item--verify[open] {
	border-color: rgba(154, 93, 8, 0.32);
}

.hrc-item--disallowed[open] {
	border-color: rgba(164, 60, 53, 0.32);
}

.hrc-item__summary {
	position: relative;
	display: grid;
	grid-template-columns: 2rem minmax(0, 1fr) auto;
	gap: 0.75rem;
	align-items: center;
	min-height: 3.8rem;
	padding: 0.7rem 2.3rem 0.7rem 0.9rem;
	list-style: none;
	cursor: pointer;
}

.hrc-item__summary::-webkit-details-marker {
	display: none;
}

.hrc-item__summary::after {
	position: absolute;
	top: 50%;
	right: 1rem;
	display: block;
	width: 0.5rem;
	height: 0.5rem;
	border-right: 1.5px solid #7a8c85;
	border-bottom: 1.5px solid #7a8c85;
	content: "";
	transform: translateY(-70%) rotate(45deg);
	transition: transform 160ms ease;
}

.hrc-item[open] > .hrc-item__summary::after {
	transform: translateY(-25%) rotate(225deg);
}

.hrc-item__number {
	color: #8a9b94;
	font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
	font-size: 0.71rem;
	font-variant-numeric: tabular-nums;
}

.hrc-item__name-wrap {
	display: flex;
	min-width: 0;
	flex-direction: column;
}

.hrc-item__name {
	overflow-wrap: anywhere;
	color: var(--hrc-ink);
	font-size: 0.88rem;
	font-weight: 700;
	line-height: 1.4;
}

.hrc-item__context {
	margin-top: 0.08rem;
	overflow: hidden;
	color: #71827b;
	font-size: 0.7rem;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hrc-status-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.38rem;
	padding: 0.33rem 0.55rem;
	border-radius: 999px;
	font-size: 0.69rem;
	font-weight: 760;
	line-height: 1;
	white-space: nowrap;
}

.hrc-status-pill__dot {
	width: 0.38rem;
	height: 0.38rem;
	border-radius: 50%;
	background: currentColor;
}

.hrc-status-pill--acceptable {
	background: var(--hrc-green-pale);
	color: var(--hrc-green);
}

.hrc-status-pill--verify {
	background: var(--hrc-amber-pale);
	color: var(--hrc-amber);
}

.hrc-status-pill--disallowed {
	background: var(--hrc-red-pale);
	color: var(--hrc-red);
}

.hrc-item__body {
	padding: 0 1rem 1rem 3.65rem;
	border-top: 1px solid #edf1ef;
}

.hrc-item__definitions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0;
	margin: 0;
}

.hrc-item__definition {
	padding: 0.9rem 1rem 0.1rem 0;
}

.hrc-item__term {
	margin: 0 0 0.22rem;
	color: var(--hrc-ink);
	font-size: 0.71rem;
	font-weight: 760;
	letter-spacing: 0.025em;
	line-height: 1.35;
	text-transform: uppercase;
}

.hrc-item__value {
	margin: 0;
	color: var(--hrc-ink-soft);
	font-size: 0.8rem;
	line-height: 1.58;
}

.hrc-item__evidence {
	margin-top: 0.9rem;
	padding-top: 0.85rem;
	border-top: 1px solid #edf1ef;
}

.hrc-item__evidence-title {
	margin: 0 0 0.55rem;
	color: var(--hrc-ink);
	font-size: 0.71rem;
	font-weight: 760;
	letter-spacing: 0.025em;
	text-transform: uppercase;
}

.hrc-item__source-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hrc-item__source-link {
	display: flex;
	min-height: 100%;
	flex-direction: column;
	padding: 0.7rem;
	border: 1px solid #e3eae6;
	border-radius: 9px;
	background: #fafcfb;
	color: inherit;
	text-decoration: none;
	transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.hrc-item__source-link:hover {
	border-color: #b7ccc2;
	background: #f4f9f6;
	transform: translateY(-1px);
}

.hrc-item__source-publisher {
	color: var(--hrc-green);
	font-size: 0.66rem;
	font-weight: 760;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.hrc-item__source-title {
	margin-top: 0.12rem;
	color: var(--hrc-ink);
	font-size: 0.77rem;
	font-weight: 680;
	line-height: 1.35;
}

.hrc-item__source-reviewed {
	margin-top: auto;
	padding-top: 0.35rem;
	color: #7b8b85;
	font-size: 0.64rem;
}

.hrc-result__sources {
	margin-top: 1.25rem;
	background: rgba(255, 255, 255, 0.58);
}

.hrc-result__sources a {
	display: inline-flex;
	gap: 0.35rem;
	align-items: center;
	color: var(--hrc-green);
	font-weight: 720;
	text-decoration-color: rgba(18, 107, 85, 0.35);
	text-underline-offset: 0.2rem;
}

.hrc-checker__noscript {
	width: min(100%, 860px);
	margin: 1rem auto 0;
	padding: 0.9rem 1rem;
	border-radius: var(--hrc-radius-sm);
	background: var(--hrc-amber-pale);
	color: #70460c;
	font-size: 0.88rem;
}

@media (max-width: 700px) {
	.hrc-checker {
		margin: 1.25rem auto;
		padding: 1.1rem;
		border-radius: 24px;
	}

	.hrc-checker__title {
		font-size: clamp(1.85rem, 11vw, 2.65rem);
	}

	.hrc-checker__form {
		padding: 1rem;
		border-radius: 18px;
	}

	.hrc-field--compact {
		display: block;
	}

	.hrc-field--compact .hrc-field__help {
		margin-top: 0.55rem;
	}

	.hrc-field__meta {
		align-items: flex-start;
	}

	.hrc-field__meta span:first-child {
		max-width: 70%;
	}

	.hrc-checker__actions {
		display: grid;
		grid-template-columns: 1fr auto;
	}

	.hrc-button--primary {
		min-width: 0;
	}

	.hrc-result__summary {
		grid-template-columns: 2.65rem minmax(0, 1fr);
	}

	.hrc-result__status-icon {
		width: 2.65rem;
		height: 2.65rem;
	}

	.hrc-result__counts {
		grid-template-columns: 1fr;
	}

	.hrc-count {
		justify-content: space-between;
	}

	.hrc-result__details-heading {
		display: block;
	}

	.hrc-result__details-heading p {
		margin-top: 0.2rem;
	}

	.hrc-item__summary {
		grid-template-columns: 1.55rem minmax(0, 1fr) auto;
		gap: 0.55rem;
		padding: 0.72rem 0.82rem;
	}

	.hrc-item__summary::after {
		display: none;
	}

	.hrc-status-pill {
		padding: 0.33rem 0.42rem;
	}

	.hrc-status-pill__dot {
		display: none;
	}

	.hrc-item__body {
		padding: 0 0.8rem 0.8rem 2.8rem;
	}

	.hrc-item__definitions,
	.hrc-item__source-list {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 430px) {
	.hrc-checker {
		padding: 0.85rem;
		border-right: 0;
		border-left: 0;
		border-radius: 0;
	}

	.hrc-checker__actions {
		grid-template-columns: 1fr;
	}

	.hrc-button {
		width: 100%;
	}

	.hrc-item__summary {
		grid-template-columns: minmax(0, 1fr) auto;
	}

	.hrc-item__number {
		display: none;
	}

	.hrc-item__body {
		padding-left: 0.8rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hrc-checker *,
	.hrc-checker *::before,
	.hrc-checker *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}

@media (prefers-contrast: more) {
	.hrc-checker {
		--hrc-line: #7a8d85;
	}

	.hrc-field__textarea,
	.hrc-field__select,
	.hrc-item,
	.hrc-result__summary {
		border-width: 2px;
	}
}
