.moc-civ {
	--radius: 2px;
	--moc-civ-ink: var(--ast-global-color-0);
	--moc-civ-ink-soft: var(--ast-global-color-1);
	--moc-civ-text: var(--ast-global-color-3);
	--moc-civ-paper: var(--ast-global-color-5);
	--moc-civ-panel: var(--ast-global-color-4);
	--moc-civ-soft: var(--ast-global-color-6);
	--moc-civ-line: var(--ast-global-color-0);
	--moc-civ-success: #245c47;
	--moc-civ-danger: #6e2d28;
	--moc-civ-warning: var(--ast-global-color-1);
	--moc-civ-serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
	--moc-civ-sans: Inter, "Helvetica Neue", Arial, sans-serif;
	box-sizing: border-box;
	color: var(--moc-civ-text);
	font-family: var(--moc-civ-sans);
	line-height: 1.65;
	max-width: 1160px;
	margin: 0 auto;
	padding: clamp(38px, 5vw, 72px) 20px clamp(58px, 7vw, 96px);
}

.moc-civ *,
.moc-civ *::before,
.moc-civ *::after {
	box-sizing: border-box;
}

.moc-civ h1,
.moc-civ h2 {
	color: var(--moc-civ-ink);
	font-family: var(--moc-civ-serif);
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.2;
	margin: 0;
}

.moc-civ-result-kicker {
	color: var(--moc-civ-ink-soft);
	font-size: 0.77rem;
	font-weight: 700;
	letter-spacing: 0;
	margin: 0 0 14px;
	text-transform: uppercase;
}

.moc-civ-methods {
	display: grid;
	gap: clamp(18px, 3vw, 34px);
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 0 0 clamp(28px, 4vw, 46px);
	background: transparent;
}

.moc-civ-methods article {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	min-height: 280px;
	background: var(--moc-civ-paper);
	border: 1px solid var(--ast-global-color-0);
	border-radius: var(--radius);
	box-shadow: 0 12px 34px color-mix(in srgb, var(--ast-global-color-0) 6%, transparent);
	padding: 26px 28px 28px;
	text-align: center;
	transition: transform 180ms ease, box-shadow 180ms ease;
}

.moc-civ-methods article:hover {
	transform: translateY(-3px);
	box-shadow: 0 18px 44px color-mix(in srgb, var(--ast-global-color-0) 12%, transparent);
}

.moc-civ-icon {
	display: inline-grid;
	place-items: center;
	width: clamp(92px, 9vw, 118px);
	height: clamp(92px, 9vw, 118px);
	color: var(--ast-global-color-0);
	margin: 0 auto 14px;
	overflow: hidden;
}

.moc-civ-icon img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
	mix-blend-mode: multiply;
	transform: scale(1);
	transform-origin: center;
}

.moc-civ-icon-link img {
	transform: scale(0.92);
}

.moc-civ-icon-id img {
	transform: scale(0.98);
}

.moc-civ-methods h3 {
	font-family: "Libre Baskerville", Georgia, "Times New Roman", serif;
	font-size: 1.625rem !important;
	line-height: 1.3em;
	margin: 0 0 10px;
	max-width: 360px;
}

.moc-civ-methods p {
	margin: 0;
	max-width: 420px;
}

.moc-civ-lookup {
	width: 100%;
	margin: 0 0 24px;
	background: var(--moc-civ-paper);
	border: 1px solid var(--ast-global-color-0);
	border-radius: var(--radius);
	box-shadow: 0 12px 34px color-mix(in srgb, var(--ast-global-color-0) 8%, transparent);
	padding: clamp(26px, 4vw, 42px);
}

.moc-civ-lookup h2 {
	font-size: clamp(1.7rem, 3vw, 2.45rem);
	margin-bottom: 22px;
}

.moc-civ-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 164px;
	gap: 14px;
	align-items: end;
}

.moc-civ-row label {
	display: grid;
	gap: 8px;
	margin: 0;
}

.moc-civ-row label span {
	color: var(--moc-civ-ink-soft);
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
}

.moc-civ-row button[type="submit"] {
	align-self: end;
	height: 56px;
	min-height: 56px;
	text-align: center;
}

.moc-civ input[type="text"] {
	width: 100%;
	height: 56px;
	border: 1px solid var(--ast-global-color-0);
	border-radius: var(--radius);
	background: var(--ast-global-color-5);
	color: var(--moc-civ-ink);
	font-size: 1rem;
	font-weight: 650;
	padding: 0 18px;
	text-transform: uppercase;
}

.moc-civ input[type="text"]:focus {
	border-color: var(--moc-civ-ink);
	outline: 2px solid var(--ast-global-color-6);
	outline-offset: 2px;
}

.moc-civ button,
.moc-civ .moc-civ-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: auto;
	border-style: solid;
	border-top-width: 1px;
	border-right-width: 1px;
	border-left-width: 1px;
	border-bottom-width: 1px;
	border-color: var(--ast-global-color-0);
	border-top-left-radius: 40px;
	border-top-right-radius: 5px;
	border-bottom-right-radius: 40px;
	border-bottom-left-radius: 40px;
	background: transparent;
	background-color: rgba(255,255,255,0);
	color: var(--ast-global-color-0);
	cursor: pointer;
	font-family: "Libre Baskerville", Georgia, "Times New Roman", serif;
	font-size: 16px;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1em;
	padding: 12px 28px;
	text-decoration: none;
	text-transform: uppercase;
	transition: all 0.2s linear !important;
}

.moc-civ button:hover,
.moc-civ .moc-civ-btn:hover,
.moc-civ button:focus,
.moc-civ .moc-civ-btn:focus {
	background: var(--ast-global-color-0);
	border-color: var(--ast-global-color-0);
	color: var(--ast-global-color-8);
}

.moc-civ button:disabled {
	cursor: wait;
	opacity: 0.7;
}

.moc-civ-helper,
.moc-civ-config-warning,
.moc-civ-field-error {
	margin: 13px 0 0;
	font-size: 0.92rem;
}

.moc-civ-config-warning,
.moc-civ-field-error {
	color: var(--moc-civ-danger);
	font-weight: 700;
}

.moc-civ-loading {
	display: none;
	width: 100%;
	margin: 0 0 34px;
	padding: clamp(32px, 5vw, 56px);
	background: var(--moc-civ-paper);
	border: 1px solid var(--ast-global-color-0);
	border-radius: var(--radius);
	box-shadow: 0 18px 54px color-mix(in srgb, var(--ast-global-color-0) 8%, transparent);
}

.moc-civ-loading.is-visible {
	display: block;
}

.moc-civ-progress {
	height: 4px;
	background: var(--ast-global-color-4);
	border-radius: var(--radius);
	margin-top: clamp(22px, 3vw, 34px);
	overflow: hidden;
}

.moc-civ-progress span {
	display: block;
	height: 100%;
	width: 42%;
	background: var(--ast-global-color-0);
	animation: moc-civ-progress 860ms ease-in-out infinite alternate;
}

.moc-civ-loading p {
	max-width: 780px;
	margin: 14px 0 0;
	color: var(--moc-civ-ink-soft);
	font-size: 0.94rem;
}

.moc-civ-loading .moc-civ-loading-kicker {
	color: var(--moc-civ-ink-soft);
	font-size: 0.77rem;
	font-weight: 700;
	letter-spacing: 0;
	margin: 0 0 14px;
	text-transform: uppercase;
}

.moc-civ-loading h2 {
	font-size: clamp(1.9rem, 3.8vw, 3.35rem);
}

.moc-civ[data-loading-mode="static"] .moc-civ-progress span {
	animation: none;
	width: 100%;
}

.moc-civ[data-loading-mode="shimmer"] .moc-civ-progress span {
	width: 100%;
	animation: moc-civ-shimmer 1s linear infinite;
}

.moc-civ[data-loading-mode="seal"] .moc-civ-progress {
	height: 46px;
	width: 46px;
	border: 1px solid var(--ast-global-color-0);
	background: transparent;
	margin: 0 auto;
}

.moc-civ[data-loading-mode="seal"] .moc-civ-progress span {
	width: 100%;
	background: transparent;
	animation: moc-civ-seal 900ms linear infinite;
	border-top: 3px solid var(--ast-global-color-0);
}

.moc-civ-result {
	margin-top: clamp(28px, 4vw, 46px);
}

.moc-civ-result-card {
	background: var(--moc-civ-paper);
	border: 1px solid var(--ast-global-color-0);
	border-radius: var(--radius);
	box-shadow: 0 18px 54px color-mix(in srgb, var(--ast-global-color-0) 8%, transparent);
	padding: clamp(28px, 5vw, 54px);
}

.moc-civ-result-card:focus,
.moc-civ-result-card:focus-visible {
	outline: none;
}

.moc-civ-result-card.is-warning {
	border-color: var(--ast-global-color-1);
}

.moc-civ-result-card.is-danger {
	border-color: var(--ast-global-color-7);
}

.moc-civ-credential-heading {
	margin-bottom: 24px;
	padding: 0;
}

.moc-civ-credential-heading p {
	margin: 8px 0 0;
}

.moc-civ-details {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	background: var(--ast-global-color-5);
	border: 1px solid var(--ast-global-color-0);
	border-radius: var(--radius);
	box-shadow: 0 14px 34px color-mix(in srgb, var(--ast-global-color-0) 9%, transparent);
	overflow: visible;
}

.moc-civ-detail {
	min-height: 96px;
	padding: 18px;
	background: var(--ast-global-color-5);
	border-right: 1px solid var(--ast-global-color-0);
	border-bottom: 1px solid var(--ast-global-color-0);
}

.moc-civ-detail-wide {
	grid-column: 1 / -1;
	border-right: 0;
}

.moc-civ-detail-label {
	display: block;
	color: var(--moc-civ-text);
	font-size: 0.75rem;
	font-weight: 800;
	margin-bottom: 8px;
	text-transform: uppercase;
}

.moc-civ-detail-value {
	color: var(--moc-civ-ink);
	font-size: 1.02rem;
	font-weight: 650;
	overflow-wrap: anywhere;
}

.moc-civ-detail-value.code {
	font-family: inherit;
	letter-spacing: 0;
}

.moc-civ-additional-info {
	display: block;
	font-weight: 400;
	white-space: pre-line;
}

.moc-civ-detail-value.status-active {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	border: 1px solid var(--moc-civ-success);
	border-radius: var(--radius);
	background: color-mix(in srgb, var(--moc-civ-success) 8%, transparent);
	color: var(--moc-civ-success);
	padding: 4px 10px;
}

.moc-civ-detail-value.status-revoked {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	border: 1px solid var(--moc-civ-danger);
	border-radius: var(--radius);
	background: color-mix(in srgb, var(--moc-civ-danger) 8%, transparent);
	color: var(--moc-civ-danger);
	padding: 4px 10px;
}

.moc-civ-detail-value a {
	color: inherit;
	border-bottom: 1px dotted currentColor;
	text-decoration: none;
	text-underline-offset: 0.18em;
}

.moc-civ-detail-value a:hover,
.moc-civ-detail-value a:focus {
	color: inherit;
	border-bottom-style: solid;
	text-decoration: none;
}

.moc-civ-result-line {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	width: 100%;
}

.moc-civ .moc-civ-info {
	position: static;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 28px;
	width: 28px;
	min-width: 28px;
	height: 28px;
	min-height: 28px;
	padding: 0;
	border: 1px solid var(--ast-global-color-0);
	border-radius: 999px;
	background: transparent;
	color: var(--ast-global-color-0);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 0.95rem;
	font-style: italic;
	font-weight: 700;
	line-height: 1;
	text-transform: none;
	transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.moc-civ .moc-civ-info:hover,
.moc-civ .moc-civ-info:focus {
	background: var(--ast-global-color-0);
	border-color: var(--ast-global-color-0);
	color: var(--ast-global-color-5);
	transform: none;
}

.moc-civ .moc-civ-tooltip {
	position: absolute;
	right: 18px;
	bottom: calc(100% + 10px);
	z-index: 5;
	width: min(420px, calc(100% - 36px));
	padding: 16px 18px;
	background: var(--ast-global-color-0);
	border: 1px solid var(--ast-global-color-5);
	border-radius: var(--radius);
	box-shadow: 0 18px 44px color-mix(in srgb, var(--ast-global-color-0) 16%, transparent);
	color: var(--ast-global-color-5);
	font-family: var(--moc-civ-sans);
	font-size: 0.86rem;
	font-style: normal;
	font-weight: 500;
	line-height: 1.5;
	opacity: 0;
	pointer-events: none;
	text-align: left;
	text-transform: none;
	transform: translateY(4px);
	transition: opacity 140ms ease, transform 140ms ease;
}

.moc-civ .moc-civ-tooltip-title {
	display: block;
	margin-bottom: 12px;
	color: var(--ast-global-color-5);
}

.moc-civ .moc-civ-tooltip-title strong {
	color: var(--ast-global-color-5);
	font-weight: 700;
}

.moc-civ .moc-civ-scale-list {
	display: grid;
	gap: 6px;
}

.moc-civ .moc-civ-scale-row {
	display: flex;
	justify-content: space-between;
	gap: 18px;
	border-top: 1px solid color-mix(in srgb, var(--ast-global-color-5) 22%, transparent);
	padding-top: 6px;
}

.moc-civ .moc-civ-scale-row strong {
	color: var(--ast-global-color-5);
	font-weight: 700;
}

.moc-civ .moc-civ-info:hover .moc-civ-tooltip,
.moc-civ .moc-civ-info:focus .moc-civ-tooltip,
.moc-civ .moc-civ-info:focus-visible .moc-civ-tooltip {
	opacity: 1;
	transform: translateY(0);
}

.moc-civ-block {
	margin-top: 30px;
}

.moc-civ-block h2 {
	font-size: 1.35rem;
	margin-bottom: 10px;
}

.moc-civ-not-found-copy p {
	max-width: none;
	overflow-wrap: normal;
	word-break: normal;
}

.moc-civ-confirm-list {
	display: grid;
	gap: 10px;
	list-style: none;
	margin: 18px 0 0;
	padding: 0;
}

.moc-civ-confirm-list li {
	position: relative;
	padding-left: 24px;
}

.moc-civ-confirm-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.82em;
	width: 8px;
	height: 8px;
	border: 1px solid var(--ast-global-color-0);
	background: var(--ast-global-color-0);
	transform: translateY(-50%);
}

.moc-civ-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 34px;
}

.moc-civ-result-kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.moc-civ-result-mark {
	display: inline-grid;
	place-items: center;
	width: 1.22em;
	height: 1.22em;
	flex: 0 0 1.22em;
	line-height: 1;
}

.moc-civ-result-mark svg {
	display: block;
	width: 100%;
	height: 100%;
	overflow: visible;
}

.moc-civ-result-mark circle,
.moc-civ-result-mark path {
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	vector-effect: non-scaling-stroke;
}

.moc-civ-result-mark circle {
	stroke-width: 1.8;
}

.moc-civ-result-mark path {
	stroke-width: 2.45;
}

.moc-civ-result-kicker.is-valid {
	color: var(--moc-civ-success);
}

.moc-civ-result-kicker.is-invalid {
	color: var(--moc-civ-danger);
}

@keyframes moc-civ-progress {
	from { transform: translateX(-14%); }
	to { transform: translateX(150%); }
}

@keyframes moc-civ-shimmer {
	from { transform: translateX(-100%); opacity: 0.25; }
	to { transform: translateX(100%); opacity: 1; }
}

@keyframes moc-civ-seal {
	to { transform: rotate(360deg); }
}

@media (max-width: 780px) {
	.moc-civ {
		left: auto;
		margin-left: auto;
		margin-right: auto;
		max-width: 100%;
		overflow-x: clip;
		padding: 28px 14px 56px;
		position: relative;
		transform: none;
		width: 100%;
	}

	.moc-civ-methods,
	.moc-civ-details {
		grid-template-columns: 1fr;
	}

	.moc-civ-methods,
	.moc-civ-methods article,
	.moc-civ-lookup,
	.moc-civ-loading,
	.moc-civ-result-card,
	.moc-civ-details,
	.moc-civ-detail {
		max-width: 100%;
		min-width: 0;
		width: 100%;
	}

	.moc-civ-lookup,
	.moc-civ-loading,
	.moc-civ-result-card {
		padding: 22px 14px;
	}

	.moc-civ-detail {
		padding: 18px 14px;
	}

	.moc-civ-row {
		grid-template-columns: 1fr;
	}

	.moc-civ-row label,
	.moc-civ input[type="text"] {
		min-width: 0;
	}

	.moc-civ button,
	.moc-civ .moc-civ-btn {
		justify-content: center;
		text-align: center;
		white-space: normal;
		width: 100%;
	}

	.moc-civ .moc-civ-info {
		width: 28px;
		min-width: 28px;
		max-width: 28px;
	}

	.moc-civ .moc-civ-tooltip {
		right: 14px;
		width: calc(100% - 28px);
		padding: 14px;
	}

	.moc-civ .moc-civ-scale-row {
		display: grid;
		gap: 2px;
	}

	.moc-civ-methods article {
		min-height: auto;
	}
}

@media print {
	.moc-civ-methods,
	.moc-civ-lookup,
	.moc-civ-actions {
		display: none;
	}

	.moc-civ {
		padding: 0;
		max-width: none;
	}

	.moc-civ-result-card {
		box-shadow: none;
	}
}
