.paper-intake-page {
	background:
		radial-gradient(circle at top left, rgba(255, 174, 0, 0.18), transparent 28%),
		radial-gradient(circle at top right, rgba(87, 152, 254, 0.15), transparent 24%),
		linear-gradient(180deg, #fffdf7 0%, #fff7ed 100%);
}

.pdf-capture-mode,
.pdf-capture-mode body {
	background: #ffffff !important;
}

.pdf-capture-mode .intake-header,
.pdf-capture-mode .intake-hero,
.pdf-capture-mode .intake-sidebar,
.pdf-capture-mode .form-actions,
.pdf-capture-mode .paper-status {
	display: none !important;
}

.pdf-capture-mode .intake-section {
	padding: 0 !important;
}

.pdf-capture-mode .intake-grid {
	display: block !important;
}

.pdf-capture-mode .intake-main {
	width: 100% !important;
}

.pdf-capture-mode .intake-sheet {
	background: #ffffff !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	padding: 12px 12px 14px !important;
}

.pdf-capture-mode .sheet-logo img {
	max-width: 120px;
}

.pdf-capture-mode .review-title,
.pdf-capture-mode .sheet-heading h2,
.pdf-capture-mode .sheet-heading h3,
.pdf-capture-mode .sheet-subheading h4 {
	color: #111 !important;
}

.pdf-capture-mode .sheet-heading {
	margin-bottom: 12px;
}

.pdf-capture-mode .sheet-heading p {
	font-size: 11px;
}

.pdf-capture-mode .form-row {
	margin-bottom: 8px;
}

.pdf-capture-mode .field label {
	font-size: 12px;
	margin-bottom: 4px;
}

.pdf-capture-mode .paper-control {
	height: 22px;
	font-size: 11px;
	padding: 0 4px;
}

.pdf-capture-mode textarea.paper-control {
	min-height: 44px;
}

.pdf-capture-mode .radio-row {
	gap: 12px;
	padding-top: 2px;
}

.pdf-capture-mode .radio-row label {
	font-size: 12px;
}

.pdf-capture-mode .small-note {
	font-size: 11px;
}

.pdf-capture-mode .sheet-subheading {
	margin: 12px 0 8px;
	padding-top: 8px;
}

.pdf-capture-mode .sheet-subheading h4 {
	font-size: 15px;
}

.pdf-capture-mode .employment-grid {
	gap: 12px;
}

.pdf-capture-mode .employment-col {
	padding-left: 12px;
}

.pdf-capture-mode .employment-col:first-child {
	padding-left: 0;
}

.pdf-capture-mode .intake-sheet * {
	box-shadow: none !important;
}

.intake-header {
	box-shadow: 0 8px 26px rgba(0, 0, 0, 0.06);
}

.intake-hero {
	padding: 68px 0 24px;
}

.intake-hero .auto-container,
.intake-section .auto-container {
	max-width: none;
	width: 100%;
	padding-left: 32px;
	padding-right: 32px;
}

.intake-hero-copy {
	max-width: 900px;
}

.eyebrow {
	display: inline-block;
	font-family: 'Fredoka One', cursive;
	font-size: 14px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #ff4880;
	margin-bottom: 12px;
}

.intake-hero h1,
.sheet-heading h2,
.sheet-heading h3,
.sheet-subheading h4 {
	font-family: 'Fredoka One', cursive;
	color: #26233a;
}

.intake-hero h1 {
	font-size: clamp(2.2rem, 5vw, 3.8rem);
	line-height: 1.05;
	margin-bottom: 16px;
}

.intake-hero p {
	max-width: 760px;
	font-size: 18px;
	color: #5f5b75;
}

.intake-section {
	padding: 10px 0 80px;
}

.intake-grid {
	display: block;
}

.intake-main {
	width: 100%;
}

.intake-sheet {
	background: #ffffff;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 26px;
	box-shadow: 0 22px 60px rgba(57, 61, 114, 0.1);
	padding: 28px 28px 36px;
	width: 100%;
}

.sheet-top {
	display: grid;
	grid-template-columns: 1fr 260px;
	align-items: start;
	gap: 18px;
}

.sheet-logo {
	text-align: center;
}

.sheet-logo img {
	max-width: 160px;
	height: auto;
	display: inline-block;
}

.review-dates {
	justify-self: end;
	width: 100%;
	max-width: 220px;
}

.review-title {
	font-family: 'Fredoka One', cursive;
	font-size: 18px;
	text-align: center;
	color: #26233a;
	margin-bottom: 10px;
}

.review-grid {
	display: grid;
	gap: 10px;
}

.review-grid input {
	width: 100%;
	height: 34px;
	border: 0;
	border-bottom: 1px solid #111;
	background: transparent;
	text-align: center;
	font-size: 14px;
}

.sheet-heading {
	text-align: center;
	margin: 8px 0 24px;
}

.sheet-heading h2 {
	font-size: clamp(1.8rem, 3vw, 2.4rem);
	line-height: 1.15;
	margin-bottom: 4px;
}

.sheet-heading h3 {
	font-size: clamp(1.25rem, 2vw, 1.8rem);
	margin-bottom: 8px;
}

.sheet-heading p {
	font-size: 15px;
	color: #2c2c2c;
}

.form-row {
	margin-bottom: 14px;
}

.two-col,
.three-col,
.four-col,
.allergies-grid {
	display: grid;
	gap: 14px;
}

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

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

.four-col {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.allergies-grid {
	grid-template-columns: 1fr 1fr;
}

.field {
	min-width: 0;
}

.field label {
	display: block;
	font-family: 'Fredoka One', cursive;
	font-size: 15px;
	color: #222;
	margin-bottom: 8px;
}

.paper-control {
	width: 100%;
	height: 30px;
	border: 0;
	border-bottom: 1px solid #2c2c2c;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	padding: 0 6px;
	font-size: 14px;
	color: #111;
}

.paper-control:focus {
	outline: none;
	box-shadow: none;
	border-bottom-color: #ffae00;
}

textarea.paper-control {
	min-height: 66px;
	resize: vertical;
}

.block-field {
	display: block;
}

.radio-row {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	align-items: center;
	padding-top: 4px;
}

.radio-row label {
	font-family: 'Rubik', sans-serif;
	font-size: 15px;
	font-weight: 500;
	margin-bottom: 0;
	color: #1f1f1f;
	display: inline-flex;
	gap: 8px;
	align-items: center;
}

.radio-row input {
	width: auto;
	height: auto;
	accent-color: #ff4880;
}

.small-note {
	font-size: 13px;
	color: #5d596b;
	margin-top: 6px;
}

.sheet-subheading {
	margin: 22px 0 12px;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	padding-top: 14px;
}

.sheet-subheading h4 {
	font-size: 20px;
	margin: 0;
}

.employment-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 22px;
}

.employment-col {
	border-left: 1px solid rgba(0, 0, 0, 0.08);
	padding-left: 20px;
}

.employment-col:first-child {
	border-left: 0;
	padding-left: 0;
}

.custody-entry,
.emergency-block {
	margin-top: 8px;
}

.empty-field {
	visibility: hidden;
}

.delivery-row {
	margin-top: 8px;
}

.form-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 18px;
}

.paper-status {
	margin-top: 16px;
	font-size: 15px;
	line-height: 1.65;
}

.paper-status.success {
	color: #1d7b4a;
}

.paper-status.error {
	color: #b32552;
}

@media only screen and (max-width: 1139px) {
	.intake-hero .auto-container,
	.intake-section .auto-container {
		padding-left: 24px;
		padding-right: 24px;
	}
}

@media only screen and (max-width: 767px) {
	.intake-hero {
		padding-top: 48px;
	}

	.intake-sheet {
		padding: 20px 16px 24px;
		border-radius: 20px;
	}

	.sheet-top {
		grid-template-columns: 1fr;
	}

	.review-dates {
		justify-self: stretch;
		max-width: none;
	}

	.two-col,
	.three-col,
	.four-col,
	.allergies-grid,
	.employment-grid {
		grid-template-columns: 1fr;
	}

	.employment-col {
		border-left: 0;
		padding-left: 0;
	}

	.form-actions .theme-btn {
		width: 100%;
		text-align: center;
	}
}
