.nchp {
	--nchp-green: #016630;
	--nchp-green-dark: #008236;
	--nchp-orange: #ff6900;
	--nchp-text: #364153;
	--nchp-ink: #1e2939;
	--nchp-mint: #f0fdf4;
	--nchp-leaf: #dcfce7;
	--nchp-line: #e5e7eb;
	box-sizing: border-box;
	max-width: 1140px;
	margin: 0 auto 48px;
	padding: 8px 16px 32px;
	color: var(--nchp-text);
	font-family: Inter, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.5;
}

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

.nchp-brand img {
	display: block;
	width: min(280px, 70vw);
	height: auto;
}

.nchp-tagline {
	margin: 8px 0 0;
	color: var(--nchp-green);
	font-weight: 700;
}

.nchp h1,
.nchp h2 {
	color: var(--nchp-ink);
	line-height: 1.2;
}

.nchp h1 {
	margin: 20px 0 12px;
	font-size: 32px;
}

.nchp-instructions,
.nchp-form,
.nchp-summary,
.nchp-child-card,
.nchp-day {
	background: #fff;
	border: 1px solid var(--nchp-line);
	border-radius: 14px;
}

.nchp-instructions {
	padding: 16px 18px;
	background: var(--nchp-mint);
}

.nchp-instructions ol {
	margin: 8px 0 0;
	padding-left: 20px;
}

.nchp-banner {
	margin: 16px 0;
	padding: 12px 14px;
	border-radius: 12px;
	background: #fff7ed;
	color: #9a3412;
}

.nchp-banner-ok {
	background: var(--nchp-leaf);
	color: var(--nchp-green);
}

.nchp-form,
.nchp-summary {
	display: grid;
	gap: 14px;
	margin-top: 16px;
	padding: 18px;
}

.nchp label {
	display: grid;
	gap: 6px;
	font-weight: 600;
	color: var(--nchp-ink);
}

.nchp input,
.nchp select,
.nchp textarea {
	width: 100%;
	min-height: 48px;
	padding: 10px 12px;
	border: 1px solid #d1d5dc;
	border-radius: 10px;
	color: var(--nchp-text);
	font: inherit;
	font-weight: 400;
}

.nchp textarea {
	min-height: 84px;
}

.nchp-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.nchp-child {
	margin: 0;
	padding: 14px;
	border: 1px solid var(--nchp-line);
	border-radius: 12px;
}

.nchp-child legend {
	padding: 0 6px;
	color: var(--nchp-green);
	font-weight: 700;
}

.nchp button,
.nchp .nchp-checkout {
	max-width: 100%;
	white-space: normal;
	text-transform: none;
	letter-spacing: normal;
	line-height: 1.35;
	box-shadow: none;
}

.nchp button.nchp-primary,
.nchp button.nchp-secondary,
.nchp button.nchp-text-button,
.nchp a.nchp-checkout {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 18px;
	border-radius: 999px;
	font: inherit;
	font-weight: 700;
	text-decoration: none;
	text-align: center;
	cursor: pointer;
}

.nchp button.nchp-primary,
.nchp a.nchp-checkout {
	border: 0;
	background: var(--nchp-green);
	color: #fff;
}

.nchp button.nchp-primary:hover,
.nchp a.nchp-checkout:hover {
	background: var(--nchp-green-dark);
	color: #fff;
}

.nchp button.nchp-secondary,
.nchp button.nchp-text-button {
	border: 1px solid var(--nchp-green);
	background: #fff;
	color: var(--nchp-green);
}

.nchp button.nchp-secondary:hover,
.nchp button.nchp-text-button:hover {
	background: var(--nchp-mint);
	color: var(--nchp-green);
}

.nchp button.nchp-text-button {
	width: auto;
	min-height: 36px;
	padding: 6px 12px;
	border-color: #bbf7d0;
	background: var(--nchp-mint);
	font-size: 13px;
	white-space: nowrap;
}

.nchp-primary:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.nchp-child-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 12px;
	margin-top: 16px;
}

.nchp-child-card {
	display: grid;
	gap: 4px;
	padding: 14px;
	color: inherit;
	text-decoration: none;
}

.nchp-child-card.is-selected {
	border-color: var(--nchp-green);
	box-shadow: inset 0 0 0 2px var(--nchp-green);
	background: var(--nchp-mint);
}

.nchp-month-nav,
.nchp-actions,
.nchp-weekdays,
.nchp-week {
	display: grid;
	gap: 8px;
}

.nchp-month-nav {
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	margin-top: 18px;
}

.nchp-month-nav h2 {
	margin: 0;
	text-align: center;
}

.nchp-month-nav a:last-child {
	justify-self: end;
}

.nchp-actions {
	grid-template-columns: repeat(2, max-content);
	margin: 8px 0 12px;
}

.nchp-weekdays,
.nchp-week {
	grid-template-columns: repeat(5, minmax(0, 1fr));
	align-items: stretch;
}

.nchp-weekdays {
	margin: 4px 0 0;
	color: #6a7282;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-align: center;
	text-transform: uppercase;
}

.nchp-calendar {
	display: grid;
	gap: 16px;
	margin-top: 12px;
}

.nchp [data-nchp-month-panel].is-loading {
	opacity: 0.55;
	pointer-events: none;
}

.nchp-week-block {
	margin: 0;
}

.nchp-week-head {
	display: flex;
	margin: 0 0 8px;
}

.nchp .nchp-week > .nchp-day,
.nchp button.nchp-day {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 6px;
	width: 100%;
	min-width: 0;
	max-width: 100%;
	min-height: 148px;
	margin: 0;
	padding: 12px;
	overflow: hidden;
	border: 1px solid var(--nchp-line);
	border-radius: 16px;
	background: #fff;
	color: var(--nchp-text);
	box-shadow: 0 1px 2px rgba(30, 41, 57, 0.04);
	font: inherit;
	font-weight: 400;
	line-height: 1.35;
	text-align: left;
	text-transform: none;
	white-space: normal;
	cursor: pointer;
}

.nchp button.nchp-day:hover {
	border-color: #86efac;
	background: var(--nchp-mint);
	color: var(--nchp-text);
}

.nchp-day.is-outside {
	visibility: hidden;
}

.nchp .nchp-day.is-closed {
	background: #f8fafc;
	border-style: dashed;
	color: #6a7282;
	box-shadow: none;
	cursor: default;
}

.nchp .nchp-day.is-open {
	background: #fff;
}

.nchp button.nchp-day.is-selected,
.nchp button.nchp-day.is-selected:hover {
	border-color: var(--nchp-orange);
	background: #fff7ed;
	box-shadow: inset 0 0 0 2px var(--nchp-orange);
	color: var(--nchp-text);
}

.nchp .nchp-day-num,
.nchp .nchp-meal,
.nchp .nchp-sides {
	display: block;
	max-width: 100%;
	min-width: 0;
	overflow-wrap: anywhere;
	white-space: normal;
}

.nchp .nchp-day-num {
	color: var(--nchp-green);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.nchp .nchp-meal {
	color: var(--nchp-ink);
	font-size: 15px;
	font-weight: 700;
}

.nchp .nchp-sides {
	margin-top: auto;
	color: #6a7282;
	font-size: 12px;
	line-height: 1.4;
}

.nchp-foot,
.nchp-current {
	font-size: 14px;
}

.nchp .nchp-month-nav a {
	color: var(--nchp-green);
	font-weight: 700;
	text-decoration: none;
}

.nchp-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 28px;
	align-items: start;
	margin-top: 8px;
}

.nchp-main {
	min-width: 0;
}

.nchp-summary {
	position: sticky;
	top: 96px;
	z-index: 4;
	align-self: start;
	margin-top: 0;
	max-height: calc(100vh - 120px);
	overflow: auto;
	box-shadow: 0 8px 24px rgba(30, 41, 57, 0.08);
}

.nchp-summary h2,
.nchp-summary p {
	margin: 0;
}

.nchp-error {
	color: #9a3412;
	font-weight: 700;
}

.nchp-lines {
	margin: 0;
	padding-left: 18px;
}

.nchp-checkout {
	width: 100%;
}

.nchp-allergy {
	margin-top: 8px;
}

.nchp-hint {
	margin: 0;
	color: var(--nchp-muted, #4b5563);
	font-size: 14px;
}

.nchp-foot {
	margin-top: 18px;
}

.nchp-foot a {
	color: var(--nchp-green);
}

@media (max-width: 720px) {
	.nchp {
		padding-left: 12px;
		padding-right: 12px;
		padding-bottom: 220px;
	}

	.nchp h1 {
		font-size: 26px;
	}

	.nchp-split,
	.nchp-actions,
	.nchp-month-nav {
		grid-template-columns: 1fr;
	}

	.nchp-month-nav a:last-child {
		justify-self: start;
	}

	.nchp-weekdays {
		display: none;
	}

	.nchp-week {
		grid-template-columns: 1fr;
	}

	.nchp .nchp-day,
	.nchp button.nchp-day,
	.nchp .nchp-child-card,
	.nchp button.nchp-primary,
	.nchp button.nchp-secondary {
		min-height: 72px;
	}

	.nchp-day.is-outside {
		display: none;
	}

	.nchp-layout {
		display: block;
	}

	.nchp-summary {
		position: fixed;
		top: auto;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 5;
		max-height: 200px;
		overflow: auto;
		margin-top: 0;
		border-radius: 16px 16px 0 0;
	}
}
