.lonestar-register {
	--lsr-bg: #f6f8fb;
	--lsr-surface: #ffffff;
	--lsr-border: #dde2e9;
	--lsr-border-strong: #dde2e9;
	--lsr-text: #17263b;
	--lsr-text-soft: #5e6c80;
	--lsr-brand: #17263b;
	--lsr-brand-soft: #f0f4f8;
	--lsr-success: #36b24a;
	--lsr-success-soft: #eaf7ee;
	--lsr-focus: rgba(54, 178, 74, 0.15);
	--lsr-accent: #36b24a;
	--lsr-accent-strong: #27973a;
	--lsr-invalid: #b45309;
	--lsr-invalid-soft: #fff6ed;
	max-width: 740px;
	margin: 22px auto 56px;
	padding: 32px 28px;
	background: var(--lsr-surface);
	border: none;
	border-radius: 14px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.lonestar-register-success {
	padding: 26px;
	border: 1px solid var(--lsr-border);
	border-radius: 12px;
	background: linear-gradient(180deg, #ffffff 0%, #f9fcff 100%);
	box-shadow: 0 10px 30px rgba(17, 24, 39, 0.06);
}

.lonestar-register-success h2 {
	margin-bottom: 14px;
}

.lonestar-register-success p {
	margin: 0 0 14px;
	font-size: 15px;
	line-height: 1.55;
	color: #1f2937;
}

.lonestar-register-success p:last-of-type {
	margin-bottom: 18px;
}

.lonestar-register-success-signoff {
	display: grid;
	gap: 2px;
	color: #0f172a;
}

.lonestar-register-success-signoff span {
	font-size: 14px;
	color: #334155;
}

.lonestar-register-landing-header {
	margin: 0 0 18px;
}

.lonestar-register h2 {
	margin: 0 0 8px;
	padding-bottom: 0;
	font-size: 28px;
	line-height: 1.15;
	letter-spacing: -0.015em;
	font-weight: 700;
	color: var(--lsr-text);
	text-align: center;
	position: relative;
}

.lonestar-register h2::after {
	display: none;
}

.lonestar-register-subhead {
	font-size: 15px;
	color: var(--lsr-text-soft);
	text-align: center;
	margin: 0 0 24px;
}

.lonestar-register-intro {
	margin: 8px 0 22px;
	color: var(--lsr-text-soft);
	font-size: 15px;
	line-height: 1.45;
}

.lonestar-register-steps {
	margin: 0 0 28px;
	padding: 0 12px;
	border: none;
	border-radius: 0;
	background: transparent;
}

.lonestar-register-steps ol {
	position: relative;
	margin: 0;
	padding: 0 12px;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

.lonestar-register-steps ol::before {
	content: "";
	position: absolute;
	left: 52px;
	right: 52px;
	top: 22px;
	height: 1px;
	background: #dde2e9;
}

.lonestar-register-steps li {
	position: relative;
	z-index: 1;
	display: grid;
	justify-items: center;
	gap: 8px;
	text-align: center;
	color: #667085;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.01em;
}

.lonestar-step-icon {
	width: 44px;
	height: 44px;
	border-radius: 999px;
	border: 1px solid #dde2e9;
	background: #f6f8fb;
	color: #8896a8;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease, box-shadow 140ms ease;
}

.lonestar-step-icon svg {
	width: 20px;
	height: 20px;
	display: block;
	fill: currentColor;
}

.lonestar-step-label {
	max-width: 140px;
	line-height: 1.25;
}

.lonestar-register-steps li.is-active {
	color: var(--lsr-text);
}

.lonestar-register-steps li.is-active .lonestar-step-icon {
	background: #fff;
	border-color: var(--lsr-accent);
	color: var(--lsr-accent);
	box-shadow: 0 0 0 3px rgba(54, 178, 74, 0.15);
}

.lonestar-register-steps li.is-complete {
	color: #5e6c80;
}

.lonestar-register-steps li.is-complete .lonestar-step-icon {
	background: #eaf7ee;
	border-color: #b5dfbf;
	color: var(--lsr-success);
	opacity: 0.85;
}

.lonestar-register-section {
	margin: 0 0 18px;
	padding: 0;
	border: none;
	border-radius: 0;
	background: transparent;
}

.lonestar-register-section h3,
.lonestar-register-attestations legend,
.lonestar-register-signature legend {
	margin: 0 0 6px;
	font-size: 20px;
	line-height: 1.15;
	font-weight: 700;
	color: #1f2937;
}

.lonestar-register-attestations-intro {
	margin: 0 0 12px;
	color: var(--lsr-text-soft);
	font-size: 14px;
}

.lonestar-register-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px 16px;
}

.lonestar-register .form-row {
	float: none;
	width: 100%;
	margin: 0;
}

.lonestar-register .form-row.form-row-wide {
	grid-column: 1 / -1;
}

.lonestar-register label {
	display: block;
	margin-bottom: 6px;
	font-size: 14px;
	font-weight: 600;
	color: #253047;
}

.lonestar-register :is(input[type="text"], input[type="email"], input[type="password"], input[type="tel"], select) {
	width: 100%;
	height: 48px;
	min-height: 48px;
	padding: 0 14px;
	border: 1px solid var(--lsr-border-strong);
	border-radius: 8px;
	background: #fff;
	color: var(--lsr-text);
	font-size: 15px;
}

.lonestar-register :is(input[type="text"], input[type="email"], input[type="password"], input[type="tel"], select):focus {
	outline: 0;
	border-color: var(--lsr-accent);
	box-shadow: 0 0 0 3px rgba(54, 178, 74, 0.15);
}

.lonestar-register-section :is(input, select, textarea).is-invalid,
.lonestar-register-section :is(input, select, textarea):invalid:focus {
	border-color: var(--lsr-invalid);
	background: var(--lsr-invalid-soft);
	box-shadow: 0 0 0 3px rgba(180, 83, 9, 0.18);
}

.lonestar-register-attestation-check-all {
	margin: 0 0 12px;
}

.lonestar-register-attestation-check-all-control {
	width: 100%;
	position: relative;
	min-height: 52px;
	box-sizing: border-box;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 14px;
	text-align: center;
	line-height: 1.2;
	padding: 14px;
	border: 1px solid var(--lsr-border);
	border-radius: 12px;
	background: #f6f8fb;
	color: var(--lsr-text);
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.lonestar-register-attestation-check-all-control:hover {
	border-color: #b5c4d8;
	background: #f0f4f8;
}

.lonestar-register-attestation-check-all-control.is-checked {
	border-color: var(--lsr-accent);
	background: #eaf7ee;
}

.lonestar-register-attestation-check-all-control.is-indeterminate {
	border-color: var(--lsr-accent);
}

.lonestar-register-attestation-check-all-control:focus-within {
	border-color: var(--lsr-accent);
	box-shadow: 0 0 0 3px rgba(54, 178, 74, 0.15);
}

.lonestar-register-attestation-check-all-input {
	position: absolute;
	opacity: 0;
	height: 1px;
	width: 1px;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
	top: auto;
}

.lonestar-register-attestation-check-all-input:focus-visible + .lonestar-register-attestation-check-all-box {
	outline: 2px solid var(--lsr-accent);
	outline-offset: 2px;
}

.lonestar-register-attestation-check-all-box {
	flex: 0 0 22px;
	width: 22px;
	height: 22px;
	border: 2px solid #b5c4d8;
	border-radius: 6px;
	background: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	transition: background-color 0.15s ease, border-color 0.15s ease;
	position: relative;
	flex-shrink: 0;
}

.lonestar-register-attestation-check-all-input:checked + .lonestar-register-attestation-check-all-box,
.lonestar-register-attestation-check-all-input.is-indeterminate + .lonestar-register-attestation-check-all-box {
	background: var(--lsr-accent);
	border-color: var(--lsr-accent);
}

.lonestar-register-attestation-check-all-control.is-checked .lonestar-register-attestation-check-all-box,
.lonestar-register-attestation-check-all-control.is-indeterminate .lonestar-register-attestation-check-all-box {
	background: var(--lsr-accent);
	border-color: var(--lsr-accent);
}

.lonestar-register-attestation-check-all-box::after {
	content: '';
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	transform-origin: center;
	transform: translate(-50%, -50%) rotate(45deg);
	border-radius: 1px;
	width: 0;
	height: 0;
	background: transparent;
	transition: width 0.12s ease, height 0.12s ease;
}

.lonestar-register-attestation-check-all-input:checked + .lonestar-register-attestation-check-all-box::after {
	width: 6px;
	height: 12px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
}

.lonestar-register-attestation-check-all-control.is-checked .lonestar-register-attestation-check-all-box::after,
.lonestar-register-attestation-check-all-control.is-indeterminate .lonestar-register-attestation-check-all-box::after {
	width: 6px;
	height: 12px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
}

.lonestar-register-attestation-check-all-input.is-indeterminate + .lonestar-register-attestation-check-all-box::after {
	content: '';
	width: 10px;
	height: 2px;
	background: #fff;
	border-radius: 1px;
}

.lonestar-register-attestation-check-all-text {
	margin: 0;
	font-weight: 600;
	font-size: 15px;
	display: inline-flex;
	align-items: center;
	line-height: 1.25;
	text-align: center;
	color: var(--lsr-text);
}

.lonestar-register-agreement-preview {
	margin: 0 0 12px;
	border: 1px solid #ccd7e8;
	border-radius: 10px;
	background: #fff;
	overflow: hidden;
	max-width: 100%;
}

.lonestar-register-agreement-preview-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 12px;
	border-bottom: 1px solid #e0e7f3;
	background: #f6f9ff;
	color: #334155;
	font-size: 13px;
}

.lonestar-register-agreement-preview-head a {
	color: #0b57d0;
	text-decoration: underline;
	font-weight: 600;
	white-space: nowrap;
}

.lonestar-register-agreement-preview iframe {
	display: block;
	width: 100%;
	height: 300px;
	min-height: 300px;
	border: 0;
	background: #fff;
}

.lonestar-register-attestation-hint {
	width: 100%;
	margin: 6px 0 0;
	color: #9a3412;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.35;
}

.lonestar-register-agreement-preview-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 12px;
	border-top: 1px solid #e0e7f3;
	background: #f9fbff;
}

.lonestar-register-agreement-preview-help {
	margin: 0;
	color: #334155;
	font-size: 13px;
	line-height: 1.4;
}

.lonestar-register-agreement-preview-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.lonestar-register-agreement-preview-actions .button {
	min-width: 180px;
}

.lonestar-register-attestation-list {
	display: grid;
	gap: 0;
}

.lonestar-attestation-item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 10px 0;
	border: none;
	border-bottom: 1px solid #edf0f5;
	border-radius: 0;
	background: transparent;
}

.lonestar-attestation-item:last-child {
	border-bottom: none;
}

.lonestar-attestation-item input[type="checkbox"] {
	margin-top: 3px;
}

.lonestar-attestation-item span {
	color: #1f2937;
	font-size: 14px;
	line-height: 1.4;
}

.lonestar-attestation-item a {
	color: #0b57d0;
	font-weight: 700;
	text-decoration: underline;
}

.lonestar-attestation-item.is-locked {
	opacity: 0.65;
	border-color: #cfd7e5;
	background: #f8fafc;
}

.lonestar-attestation-item.is-locked span {
	color: #64748b;
}

.lonestar-attestation-item.is-locked input[type="checkbox"] {
	pointer-events: none;
}

.lonestar-attestation-item.is-ready {
	border-color: #93c5fd;
	background: #eff6ff;
}

.lonestar-attestation-item.is-ready span {
	color: #0f172a;
}

.lonestar-register-agreement-preview-actions .button[disabled],
.lonestar-register-agreement-preview-actions .button[disabled]:hover {
	opacity: 0.6;
	cursor: default;
}

.lonestar-register-agreement-link {
	color: #0b57d0;
	text-decoration: underline;
	text-decoration-thickness: 2px;
	font-weight: 700;
}

.lonestar-register .button:disabled {
	opacity: 0.72;
	filter: grayscale(0.08);
}

.lonestar-register-success {
	display: grid;
	gap: 14px;
}

.lonestar-register-success .button,
.lonestar-register-success .button.alt {
	border-radius: 10px;
	min-height: 44px;
	background: #e2e8f0;
	border-color: #cbd5e1;
	color: #0f172a;
	pointer-events: none;
}

.lonestar-register-success .button.alt.is-loading::after {
	border-color: rgba(15, 23, 42, 0.35);
	border-top-color: #0f172a;
}

.lonestar-register-nav {
	margin-top: 15px;
	display: flex;
	justify-content: flex-end;
	gap: 10px;
}

.lonestar-register-nav .button,
.lonestar-register-submit .button {
	min-height: 48px;
	min-width: 96px;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 700;
	transition: background 0.15s, border-color 0.15s, transform 0.15s;
	background: transparent;
	border: 1px solid var(--lsr-border);
	color: var(--lsr-text);
}

.lonestar-register-nav .button:hover,
.lonestar-register-submit .button:hover {
	border-color: var(--lsr-text-soft);
}

.lonestar-register-nav .button.alt,
.lonestar-register-submit .button.alt {
	min-width: 140px;
	font-weight: 700;
	background: var(--lsr-accent);
	color: #fff;
	border: none;
}

.lonestar-register-nav .button.alt:hover,
.lonestar-register-submit .button.alt:hover {
	background: var(--lsr-accent-strong);
	transform: translateY(-1px);
}

.lonestar-register .button.is-loading {
	position: relative;
	color: transparent !important;
	pointer-events: none;
}

.lonestar-register .button.is-loading::after {
	content: "";
	position: absolute;
	inset: 50% auto auto 50%;
	width: 16px;
	height: 16px;
	margin-left: -8px;
	margin-top: -8px;
	border-radius: 999px;
	border: 2px solid rgba(255, 255, 255, 0.35);
	border-top-color: #ffffff;
	animation: lonestar-register-spin 0.8s linear infinite;
}

@keyframes lonestar-register-spin {
	to {
		transform: rotate(360deg);
	}
}

.lonestar-register-modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 18px;
}

.lonestar-register-modal[hidden] {
	display: none !important;
	pointer-events: none !important;
}

.lonestar-register-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.45);
}

.lonestar-register-modal-dialog {
	position: relative;
	z-index: 2;
	width: min(520px, 100%);
	padding: 20px;
	border-radius: 12px;
	border: 1px solid #d4deee;
	background: #fff;
	box-shadow: 0 18px 42px rgba(15, 23, 42, 0.28);
}

.lonestar-register-modal-dialog h3 {
	margin: 0 0 10px;
	font-size: 22px;
	line-height: 1.2;
	color: #0f172a;
}

.lonestar-register-modal-dialog p {
	margin: 0;
	color: #334155;
	font-size: 14px;
	white-space: pre-line;
}

.lonestar-register-modal-actions {
	margin-top: 16px;
	display: flex;
	justify-content: flex-end;
	gap: 8px;
}

.lonestar-register-signature-grid {
	display: grid;
	gap: 12px;
}

.lonestar-signature-mode {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.lonestar-signature-mode label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 6px 10px;
	border-radius: 999px;
	border: 1px solid #d8e2f1;
	background: #f8fbff;
}

.lonestar-signature-pad-wrap {
	border: 1px solid #cdd8ea;
	border-radius: 12px;
	background: #fff;
	padding: 16px;
}

.lonestar-signature-pad {
	display: block;
	width: 100%;
	height: 200px;
	border: 1px dashed #c8d2de;
	border-radius: 10px;
	background: #fcfdff;
	touch-action: none;
	cursor: crosshair;
}

.lonestar-signature-pad-actions {
	margin-top: 8px;
	display: flex;
	justify-content: flex-end;
}

.lonestar-signature-typed-preview {
	border: 1px solid #ccd8ea;
	border-radius: 12px;
	background: #fff;
	padding: 16px 18px;
}

.lonestar-signature-typed-preview-label {
	margin: 0 0 8px;
	font-size: 11px;
	font-weight: 700;
	color: #64748b;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.lonestar-signature-typed-preview-value {
	margin: 0;
	min-height: 48px;
	border-bottom: 1px solid #d5dce8;
	color: #0f172a;
	font-size: 38px;
	line-height: 1.08;
	font-family: "Snell Roundhand", "Segoe Script", "Brush Script MT", "Lucida Handwriting", cursive;
	font-style: italic;
	font-weight: 500;
}

/* ── Page background ── */
.entry-content:has(.lonestar-register),
.lonestar-register-wrap {
	background: #f6f8fb;
	padding: 1px 0; /* collapse margin containment */
	/* Break out of .site-container so the gray spans full viewport width */
	width: 100vw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
}

/* ── Sticky footer on register page ── */
body:has(.lonestar-register) #page {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}
body:has(.lonestar-register) .site-content {
	flex: 1;
	background: #f6f8fb;
}

/* ── Progress bar ── */
.lonestar-register-progress {
	margin: 0 0 24px;
}

.lonestar-register-progress-track {
	height: 8px;
	border-radius: 999px;
	background: #e8ecf1;
	overflow: hidden;
}

.lonestar-register-progress-fill {
	height: 100%;
	border-radius: 999px;
	background: var(--lsr-accent);
	transition: width 280ms cubic-bezier(0.4, 0, 0.2, 1);
	width: 0%;
}

.lonestar-register-progress-text {
	font-size: 12px;
	font-weight: 600;
	color: var(--lsr-text-soft);
	text-align: right;
	margin: 6px 0 0;
}

.lonestar-register-progress.is-complete .lonestar-register-progress-fill {
	animation: lonestar-progress-pulse 1.2s ease-out;
}

@keyframes lonestar-progress-pulse {
	0% { opacity: 1; }
	50% { opacity: 0.7; }
	100% { opacity: 1; }
}

/* ── Step transitions ── */
.lonestar-register-section {
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 200ms ease, transform 200ms ease;
}

.lonestar-register-section.is-active-step {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.lonestar-register-progress-fill {
		transition: none;
	}

	.lonestar-register-progress.is-complete .lonestar-register-progress-fill {
		animation: none;
	}

	.lonestar-register-section {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* ── Mobile: tablets and smaller (≤900px) ── */
@media (max-width: 900px) {
	.lonestar-register {
		max-width: 92vw;
		margin: 12px auto 28px;
		padding: 20px 16px;
		border-radius: 10px;
	}

	.lonestar-register h2 {
		font-size: 24px;
		letter-spacing: -0.01em;
		margin-bottom: 6px;
	}

	.lonestar-register-subhead {
		font-size: 14px;
		margin-bottom: 18px;
	}

	.lonestar-register-intro {
		margin: 6px 0 16px;
		font-size: 14px;
	}

	/* Step indicator: horizontal 4-column, compact icons */
	.lonestar-register-steps {
		margin: 0 0 18px;
		padding: 0 4px;
	}

	.lonestar-register-steps ol {
		padding: 0;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 4px;
	}

	.lonestar-register-steps ol::before {
		display: none;
	}

	.lonestar-step-icon {
		width: 36px;
		height: 36px;
	}

	.lonestar-step-icon svg {
		width: 16px;
		height: 16px;
	}

	.lonestar-step-label {
		max-width: none;
		font-size: 10px;
		line-height: 1.2;
	}

	/* Form sections */
	.lonestar-register-section {
		padding: 0;
	}

	.lonestar-register-section h3,
	.lonestar-register-attestations legend,
	.lonestar-register-signature legend {
		font-size: 20px;
		margin-bottom: 8px;
	}

	.lonestar-register-attestations-intro {
		font-size: 13px;
		margin-bottom: 10px;
	}

	/* Form grid: single column */
	.lonestar-register-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	/* Inputs: ensure touch-friendly */
	.lonestar-register :is(input[type="text"], input[type="email"], input[type="password"], input[type="tel"], select) {
		min-height: 48px;
		font-size: 16px; /* prevents iOS zoom on focus */
		padding: 10px 12px;
	}

	.lonestar-register label {
		font-size: 13px;
		margin-bottom: 4px;
	}

	/* Navigation buttons: primary action on top */
	.lonestar-register-nav {
		flex-direction: column-reverse;
		gap: 8px;
	}

	.lonestar-register-nav .button,
	.lonestar-register-submit .button,
	.lonestar-register-submit .button.alt {
		width: 100%;
		min-height: 48px;
		font-size: 15px;
	}

	/* Agreement: check-all control */
	.lonestar-register-attestation-check-all-control {
		padding: 12px;
		gap: 10px;
		border-radius: 10px;
	}

	.lonestar-register-attestation-check-all-text {
		font-size: 14px;
	}

	/* Agreement preview */
	.lonestar-register-agreement-preview iframe {
		height: 240px;
		min-height: 240px;
	}

	.lonestar-register-agreement-preview-head {
		flex-direction: column;
		align-items: flex-start;
		gap: 6px;
		padding: 8px 12px;
		font-size: 12px;
	}

	.lonestar-register-agreement-preview-actions {
		flex-direction: column;
		align-items: stretch;
		gap: 8px;
		padding: 10px 12px;
	}

	.lonestar-register-agreement-preview-actions .button {
		min-width: auto;
		width: 100%;
	}

	.lonestar-register-agreement-preview-help {
		font-size: 12px;
	}

	/* Attestation items */
	.lonestar-attestation-item {
		padding: 8px 0;
		gap: 8px;
	}

	.lonestar-attestation-item span {
		font-size: 13px;
		line-height: 1.35;
	}

	/* Signature section */
	.lonestar-signature-pad {
		height: 160px;
	}

	.lonestar-signature-typed-preview-value {
		font-size: 28px;
	}

	.lonestar-signature-mode label {
		padding: 8px 12px;
		font-size: 14px;
	}

	/* Modal */
	.lonestar-register-modal {
		padding: 12px;
	}

	.lonestar-register-modal-dialog {
		padding: 16px;
	}

	.lonestar-register-modal-dialog h3 {
		font-size: 18px;
	}

	.lonestar-register-modal-dialog p {
		font-size: 13px;
	}

	.lonestar-register-modal-actions {
		flex-direction: column;
		gap: 6px;
	}

	.lonestar-register-modal-actions .button {
		width: 100%;
	}

	/* Success page */
	.lonestar-register-success {
		padding: 20px 16px;
	}

	.lonestar-register-success h2 {
		font-size: 24px;
	}

	.lonestar-register-success p {
		font-size: 14px;
	}
}

/* ── Small phones (≤480px) ── */
@media (max-width: 480px) {
	.lonestar-register {
		margin: 8px;
		padding: 14px 12px;
		border-radius: 8px;
		border: none;
	}

	.lonestar-register h2 {
		font-size: 22px;
		margin-bottom: 4px;
	}

	.lonestar-register-subhead {
		font-size: 13px;
		margin-bottom: 14px;
	}

	.lonestar-register-steps {
		padding: 0 2px;
	}

	.lonestar-register-steps ol {
		gap: 2px;
	}

	.lonestar-step-icon {
		width: 32px;
		height: 32px;
	}

	.lonestar-step-icon svg {
		width: 14px;
		height: 14px;
	}

	.lonestar-step-label {
		font-size: 9px;
	}

	.lonestar-register-section {
		padding: 0;
	}

	.lonestar-register-progress-track {
		height: 6px;
	}

	.lonestar-register-section h3,
	.lonestar-register-attestations legend,
	.lonestar-register-signature legend {
		font-size: 18px;
	}

	.lonestar-register-agreement-preview iframe {
		height: 200px;
		min-height: 200px;
	}

	.lonestar-signature-pad {
		height: 140px;
	}

	.lonestar-signature-typed-preview-value {
		font-size: 24px;
	}

	.lonestar-register-modal-dialog {
		border-radius: 10px;
	}

	.lonestar-register-success {
		padding: 16px 12px;
	}

	.lonestar-register-success h2 {
		font-size: 22px;
	}
}
