/**
 * Nutrition Calculator & Meal Planner design system.
 * Every rule is scoped to .ncmp-app or a preview-page hook.
 */

@font-face {
	font-family: "Roboto";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/roboto-400.woff2") format("woff2");
}

@font-face {
	font-family: "Roboto";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("../fonts/roboto-500.woff2") format("woff2");
}

@font-face {
	font-family: "Roboto";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/roboto-700.woff2") format("woff2");
}

.ncmp-app {
	--ncmp-bg: transparent;
	--ncmp-surface: #ffffff;
	--ncmp-ink: #0b1220;
	--ncmp-muted: #64748b;
	--ncmp-line: #e7ecf2;
	--ncmp-primary: #0f172a;
	--ncmp-primary-hover: #020617;
	--ncmp-primary-soft: #f1f5f9;
	--ncmp-paid: #64748b;
	--ncmp-paid-soft: #f8fafc;
	--ncmp-danger: #e11d48;
	--ncmp-danger-soft: #fff1f2;
	--ncmp-info: #2563eb;
	--ncmp-info-soft: #eff6ff;
	--ncmp-success: #059669;
	--ncmp-success-soft: #ecfdf5;
	--ncmp-protein: #16a34a;
	--ncmp-carb: #ea580c;
	--ncmp-fat: #e11d48;
	--ncmp-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 32px rgba(15, 23, 42, 0.06);
	--ncmp-radius: 18px;
	box-sizing: border-box;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0;
	border-radius: 0;
	background: transparent;
	color: var(--ncmp-ink);
	font-family: inherit;
	font-size: 16px;
	line-height: 1.5;
	position: relative;
	width: 100%;
	min-width: 0;
}

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

.ncmp-app--preview {
	max-width: 1120px;
}

.ncmp-app h1,
.ncmp-app h2,
.ncmp-app h3,
.ncmp-app p,
.ncmp-app ul,
.ncmp-app ol,
.ncmp-app dl,
.ncmp-app fieldset {
	margin: 0;
	color: inherit;
}

.ncmp-app fieldset {
	padding: 0;
	border: 0;
	min-inline-size: 0;
}

.ncmp-app a {
	color: var(--ncmp-primary-hover);
	text-underline-offset: 3px;
}

.ncmp-banner,
.ncmp-header,
.ncmp-card,
.ncmp-notice,
.ncmp-block,
.ncmp-toolbar,
.ncmp-results,
.ncmp-admin-nav,
.ncmp-steps,
.ncmp-definitions,
.ncmp-status {
	margin-bottom: 16px;
}

.ncmp-banner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	padding: 10px 12px;
	border: 1px solid var(--ncmp-line);
	border-radius: 12px;
	background: var(--ncmp-surface);
}

.ncmp-banner p {
	flex: 1 1 220px;
}

.ncmp-kicker,
.ncmp-nav-label {
	margin-bottom: 4px;
	color: var(--ncmp-muted);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.ncmp-title {
	margin-bottom: 8px;
	font-size: 1.75rem;
	line-height: 1.2;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.ncmp-lead,
.ncmp-help,
.ncmp-result__note,
.ncmp-empty {
	color: var(--ncmp-muted);
}

.ncmp-lead {
	max-width: 68ch;
}

.ncmp-card {
	padding: 22px;
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 20px;
	background: var(--ncmp-surface);
	box-shadow: var(--ncmp-shadow);
}

.ncmp-card__title,
.ncmp-result__label {
	margin-bottom: 12px;
	font-size: 1.125rem;
	line-height: 1.3;
	font-weight: 700;
}

.ncmp-card--lock {
	background: var(--ncmp-paid-soft);
	border-color: #d5dbe3;
}

.ncmp-grid,
.ncmp-results,
.ncmp-stack,
.ncmp-split,
.ncmp-steps {
	display: grid;
	gap: 12px;
}

.ncmp-list {
	display: grid;
	gap: 8px;
	padding-left: 1.25rem;
}

.ncmp-fields {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.ncmp-field {
	display: grid;
	gap: 8px;
	margin-top: 12px;
}

.ncmp-fields .ncmp-field {
	margin-top: 0;
}

.ncmp-label {
	color: #334155;
	font-size: 0.875rem;
	font-weight: 650;
	letter-spacing: -0.01em;
}

.ncmp-req {
	margin-left: 6px;
	color: var(--ncmp-muted);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.ncmp-app input.ncmp-input,
.ncmp-app select.ncmp-select,
.ncmp-app textarea.ncmp-textarea {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	min-height: 46px;
	margin: 0;
	padding: 10px 14px;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	background: #f8fafc;
	color: var(--ncmp-ink);
	font: inherit;
	line-height: 1.4;
	box-shadow: none;
}

.ncmp-app textarea.ncmp-textarea {
	min-height: 120px;
	resize: vertical;
}

.ncmp-app input.ncmp-input:focus,
.ncmp-app select.ncmp-select:focus,
.ncmp-app textarea.ncmp-textarea:focus {
	border-color: #0f172a;
	background: #fff;
	outline: 0;
	box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.08);
}

.ncmp-help {
	font-size: 0.9375rem;
}

.ncmp-segment {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ncmp-segment--stack {
	flex-direction: column;
}

.ncmp-segment__option {
	position: relative;
	flex: 1 1 calc(50% - 8px);
	min-width: 0;
}

.ncmp-segment--stack .ncmp-segment__option {
	flex-basis: 100%;
}

.ncmp-segment__option input {
	position: absolute;
	inset: 0;
	z-index: 1;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}

.ncmp-segment__option span {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 8px 12px;
	border: 1px solid var(--ncmp-line);
	border-radius: 12px;
	background: #fff;
	text-align: center;
	font-weight: 650;
}

.ncmp-segment__option input:checked + span {
	border-color: var(--ncmp-primary);
	background: var(--ncmp-primary-soft);
	color: var(--ncmp-primary-hover);
}

.ncmp-segment__option input:focus-visible + span {
	box-shadow: 0 0 0 2px #fff, 0 0 0 5px #10281c;
}

.ncmp-app [data-ncmp-unit-panel="ft"],
.ncmp-app [data-ncmp-unit-panel="lb"] {
	display: none;
}

.ncmp-app [data-ncmp-unit="height"]:has(input[value="ft"]:checked) [data-ncmp-unit-panel="cm"],
.ncmp-app [data-ncmp-unit="weight"]:has(input[value="lb"]:checked) [data-ncmp-unit-panel="kg"] {
	display: none;
}

.ncmp-app [data-ncmp-unit="height"]:has(input[value="ft"]:checked) [data-ncmp-unit-panel="ft"] {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-top: 12px;
}

.ncmp-app [data-ncmp-unit="weight"]:has(input[value="lb"]:checked) [data-ncmp-unit-panel="lb"] {
	display: block;
	margin-top: 12px;
}

.ncmp-actions {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 20px;
}

.ncmp-app .ncmp-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	min-height: 48px;
	margin: 0;
	padding: 0 18px;
	border: 1px solid transparent;
	border-radius: 12px;
	font: inherit;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	appearance: none;
	box-shadow: none;
}

.ncmp-actions .ncmp-button,
.ncmp-toolbar .ncmp-button {
	width: 100%;
}

.ncmp-app .ncmp-button--primary {
	background: var(--ncmp-primary);
	border-color: var(--ncmp-primary);
	color: #fff;
}

.ncmp-app .ncmp-button--secondary {
	background: #fff;
	border-color: var(--ncmp-line);
	color: var(--ncmp-primary-hover);
}

.ncmp-app .ncmp-button:focus-visible,
.ncmp-app a:focus-visible,
.ncmp-app summary:focus-visible {
	outline: 0;
	box-shadow: 0 0 0 2px #fff, 0 0 0 5px #10281c;
}

@media (hover: hover) {
	.ncmp-app .ncmp-button--primary:hover {
		background: var(--ncmp-primary-hover);
		color: #fff;
	}

	.ncmp-app .ncmp-button--secondary:hover {
		border-color: var(--ncmp-primary);
		color: var(--ncmp-primary-hover);
	}
}

.ncmp-results {
	grid-template-columns: 1fr;
}

.ncmp-result {
	padding: 16px;
	border: 1px solid var(--ncmp-line);
	border-radius: var(--ncmp-radius);
	background: var(--ncmp-surface);
}

.ncmp-result__value {
	font-size: 1.75rem;
	line-height: 1.1;
	font-weight: 750;
	letter-spacing: -0.03em;
	font-variant-numeric: tabular-nums;
}

.ncmp-result__unit,
.ncmp-result__note {
	font-size: 0.9375rem;
}

.ncmp-section-head,
.ncmp-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 12px;
}

.ncmp-toolbar .ncmp-field {
	flex: 1 1 220px;
	margin-top: 0;
}

.ncmp-badge {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 0 8px;
	border-radius: 999px;
	background: #efeae2;
	color: var(--ncmp-ink);
	font-size: 0.75rem;
	font-weight: 750;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.ncmp-badge--free,
.ncmp-badge--zero {
	background: var(--ncmp-success-soft);
	color: var(--ncmp-success);
}

.ncmp-badge--paid {
	background: var(--ncmp-paid-soft);
	color: var(--ncmp-paid);
}

.ncmp-badge--sample {
	background: #ece7f7;
	color: #3d2f73;
}

.ncmp-badge--error {
	background: var(--ncmp-danger-soft);
	color: var(--ncmp-danger);
}

.ncmp-lock-list {
	display: grid;
	gap: 8px;
	margin: 12px 0;
	padding: 0;
	list-style: none;
}

.ncmp-lock-list li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 48px;
	padding: 8px 12px;
	border: 1px dashed var(--ncmp-line);
	border-radius: 12px;
	background: var(--ncmp-surface);
}

.ncmp-notice {
	padding: 12px 14px;
	border: 1px solid var(--ncmp-line);
	border-left-width: 4px;
	border-radius: 12px;
	background: var(--ncmp-info-soft);
	border-left-color: var(--ncmp-info);
}

.ncmp-notice--warning {
	background: var(--ncmp-paid-soft);
	border-color: #d5dbe3;
	border-left-color: var(--ncmp-paid);
}

.ncmp-notice--error {
	background: var(--ncmp-danger-soft);
	border-color: #f3c7c7;
	border-left-color: var(--ncmp-danger);
}

.ncmp-notice--success {
	background: var(--ncmp-success-soft);
	border-color: #b7e0c8;
	border-left-color: var(--ncmp-success);
}

.ncmp-admin-nav,
.ncmp-screen-nav {
	display: flex;
	gap: 8px;
	max-width: 100%;
	min-width: 0;
	overflow-x: auto;
	padding-bottom: 8px;
	scroll-snap-type: x proximity;
}

.ncmp-admin-nav a,
.ncmp-screen-nav a {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 14px;
	border: 1px solid var(--ncmp-line);
	border-radius: 999px;
	background: var(--ncmp-surface);
	color: var(--ncmp-ink);
	font-weight: 650;
	text-decoration: none;
	scroll-snap-align: start;
}

.ncmp-admin-nav a[aria-current="page"],
.ncmp-screen-nav a[aria-current="page"] {
	background: var(--ncmp-primary);
	border-color: var(--ncmp-primary);
	color: #fff;
}

.ncmp-nav-group {
	display: contents;
}

.ncmp-nav-label {
	display: none;
}

.ncmp-gallery .ncmp-panel {
	display: none;
	scroll-margin-top: 12px;
}

.ncmp-gallery .ncmp-panel.is-active,
.ncmp-gallery:has(.ncmp-panel:target) .ncmp-panel:target {
	display: block;
}

.ncmp-gallery:has(.ncmp-panel:target) .ncmp-panel {
	display: none;
}

.ncmp-gallery:has(.ncmp-panel:target) .ncmp-panel:target {
	display: block;
}

.ncmp-preview-layout,
.ncmp-gallery,
.ncmp-panel,
.ncmp-screen,
.ncmp-table-wrap,
.ncmp-planner,
.ncmp-planner__meals {
	min-width: 0;
	max-width: 100%;
}

.ncmp-table-wrap {
	overflow-x: auto;
	margin-top: 12px;
}

.ncmp-app table.ncmp-table {
	width: 100%;
	min-width: 0;
	border-collapse: collapse;
	background: transparent;
}

.ncmp-table caption {
	padding: 0 0 8px;
	text-align: left;
	font-weight: 700;
	color: var(--ncmp-ink);
}

.ncmp-app .ncmp-requirements th:nth-child(n + 2),
.ncmp-app .ncmp-requirements td:nth-child(n + 2) {
	text-align: right;
	white-space: nowrap;
}

.ncmp-table th,
.ncmp-table td {
	padding: 12px 10px;
	border-bottom: 1px solid var(--ncmp-line);
	text-align: left;
	vertical-align: top;
}

.ncmp-app code {
	padding: 0 4px;
	border-radius: 4px;
	background: var(--ncmp-primary-soft);
	font-family: ui-monospace, Consolas, monospace;
	font-size: 0.92em;
}

.ncmp-definitions {
	display: grid;
	gap: 10px;
}

.ncmp-definitions div,
.ncmp-meta div {
	display: grid;
	gap: 2px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--ncmp-line);
}

.ncmp-definitions dt,
.ncmp-meta dt {
	font-weight: 750;
}

.ncmp-meta,
.ncmp-balance {
	display: grid;
	gap: 8px;
	margin: 12px 0;
	padding: 0;
	list-style: none;
}

.ncmp-balance h4 {
	margin: 0 0 4px;
	font-size: 1rem;
}

.ncmp-balance dl {
	display: grid;
	gap: 4px;
	margin: 0 0 8px;
}

.ncmp-balance dl div {
	display: flex;
	justify-content: space-between;
	gap: 12px;
}

.ncmp-balance dd {
	margin: 0;
	text-align: right;
}

.ncmp-stepper {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 12px 0;
}

.ncmp-stepper span {
	min-width: 2ch;
	font-size: 1.25rem;
	font-weight: 750;
	font-variant-numeric: tabular-nums;
	text-align: center;
}

.ncmp-exchange {
	display: grid;
	gap: 8px;
}

.ncmp-action-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ncmp-empty {
	padding: 20px;
	border: 1px dashed var(--ncmp-line);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.55);
}

.ncmp-skeleton {
	display: grid;
	gap: 8px;
	margin-bottom: 12px;
}

.ncmp-skeleton span {
	display: block;
	height: 14px;
	border-radius: 8px;
	background: linear-gradient(90deg, #efeae2, #f7f4ee, #efeae2);
	background-size: 200% 100%;
	animation: ncmp-shimmer 1.4s ease infinite;
}

.ncmp-skeleton span:nth-child(2) {
	width: 86%;
}

.ncmp-skeleton span:nth-child(3) {
	width: 64%;
}

.ncmp-status:empty {
	display: none;
}

.ncmp-status {
	min-height: 1.5em;
	font-weight: 650;
}

.ncmp-skip {
	position: absolute;
	left: 12px;
	top: -48px;
	z-index: 2;
	padding: 8px 12px;
	background: #fff;
}

.ncmp-skip:focus {
	top: 12px;
}

.ncmp-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@keyframes ncmp-shimmer {
	0% { background-position: 100% 0; }
	100% { background-position: -100% 0; }
}

@media (min-width: 640px) {
	.ncmp-app {
		padding: 0;
	}

	.ncmp-card {
		padding: 24px;
	}

	.ncmp-results {
		grid-template-columns: 1fr 1fr;
	}

	.ncmp-actions {
		flex-direction: row;
		align-items: center;
	}

	.ncmp-toolbar .ncmp-button {
		width: auto;
		min-width: 160px;
	}
}

@media (min-width: 720px) {
	.ncmp-grid--2,
	.ncmp-split--top {
		grid-template-columns: 1fr 1fr;
		align-items: start;
	}

	.ncmp-field--wide {
		grid-column: 1 / -1;
	}
}

@media (max-width: 719px) {
	.ncmp-admin-nav {
		flex-wrap: wrap;
		overflow: visible;
	}

	.ncmp-app table.ncmp-table--stack {
		min-width: 0;
	}

	.ncmp-table--stack thead {
		display: none;
	}

	.ncmp-table--stack tr {
		display: block;
		margin-bottom: 12px;
		padding: 8px 12px;
		border: 1px solid var(--ncmp-line);
		border-radius: 12px;
		background: #fff;
	}

	.ncmp-table--stack td,
	.ncmp-table--stack th[scope="row"] {
		display: block;
		padding: 8px 0;
		border: 0;
	}

	.ncmp-table--stack td::before,
	.ncmp-table--stack th[scope="row"]::before {
		content: attr(data-label);
		display: block;
		margin-bottom: 2px;
		color: var(--ncmp-muted);
		font-size: 0.75rem;
		font-weight: 700;
		letter-spacing: 0.04em;
		text-transform: uppercase;
	}
}

@media (min-width: 960px) {
	.ncmp-preview-layout {
		display: grid;
		grid-template-columns: 240px minmax(0, 1fr);
		gap: 20px;
		align-items: start;
	}

	.ncmp-screen-nav {
		position: sticky;
		top: 12px;
		flex-direction: column;
		max-height: calc(100vh - 24px);
		overflow: auto;
		padding-right: 4px;
	}

	.ncmp-nav-group {
		display: grid;
		gap: 8px;
		margin-bottom: 16px;
	}

	.ncmp-nav-label {
		display: block;
	}

	.ncmp-screen-nav a {
		width: 100%;
		border-radius: 10px;
	}

	.ncmp-planner {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 300px;
		gap: 16px;
		align-items: start;
	}

	.ncmp-planner__summary {
		grid-column: 2;
		grid-row: 1;
		position: sticky;
		top: 12px;
	}

	.ncmp-planner__meals {
		grid-column: 1;
		grid-row: 1;
		display: grid;
		gap: 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ncmp-app *,
	.ncmp-app *::before,
	.ncmp-app *::after {
		animation: none !important;
		transition: none !important;
		scroll-behavior: auto !important;
	}
}

#wpbody-content .ncmp-app {
	margin-top: 12px;
}

#wpbody-content .ncmp-app .ncmp-title {
	padding: 0;
	line-height: 1.2;
}

.ncmp-screen {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.ncmp-screen > .ncmp-card,
.ncmp-screen .ncmp-header,
.ncmp-screen .ncmp-after-calc,
.ncmp-screen .ncmp-results {
	margin-bottom: 0;
}

.ncmp-composer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px 16px;
	margin-bottom: 20px;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--ncmp-line);
}

.ncmp-composer__head .ncmp-title {
	margin: 0;
	font-size: 1.375rem;
	line-height: 1.15;
	letter-spacing: -0.035em;
}

.ncmp-label-row {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
	flex-wrap: wrap;
}

.ncmp-switch {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	max-width: 100%;
	padding: 3px;
	border: 1px solid #e8edf3;
	border-radius: 999px;
	background: #f1f5f9;
}

.ncmp-switch__opt {
	position: relative;
}

.ncmp-switch__opt input {
	position: absolute;
	inset: 0;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}

.ncmp-switch__opt span,
.ncmp-app .ncmp-switch button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	min-height: 30px;
	margin: 0;
	padding: 0 12px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: #64748b;
	font: inherit;
	font-size: 0.8125rem;
	font-weight: 650;
	line-height: 1.2;
	letter-spacing: -0.01em;
	white-space: nowrap;
	box-shadow: none;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.ncmp-switch__opt input:checked + span,
.ncmp-app .ncmp-switch button[aria-pressed="true"] {
	background: #fff;
	color: #0f172a;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08), 0 1px 1px rgba(15, 23, 42, 0.04);
}

.ncmp-switch__opt input:focus-visible + span {
	box-shadow: 0 0 0 2px #fff, 0 0 0 4px #16181d;
}

.ncmp-audience {
	margin: 0;
}

.ncmp-card--composer .ncmp-actions {
	margin: 22px 0 0;
	padding-top: 18px;
	border-top: 1px solid var(--ncmp-line);
}

.ncmp-card--composer .ncmp-actions .ncmp-button {
	width: 100%;
	min-height: 48px;
	border-radius: 12px;
	letter-spacing: -0.015em;
	transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.ncmp-after-calc {
	display: grid;
	gap: 12px;
	margin-top: 0;
}

.ncmp-after-calc[hidden],
.ncmp-field[hidden],
[data-ncmp-carb-panel][hidden],
[data-ncmp-life-choice][hidden],
.ncmp-food-matches[hidden] {
	display: none;
}

.ncmp-screen .ncmp-results {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.ncmp-app .ncmp-plan-target {
	margin: 0 0 14px;
	padding: 0;
	list-style: none;
	color: #243028;
	font-weight: 650;
}

.ncmp-app .ncmp-plan-target li {
	margin: 0;
	line-height: 1.5;
}

.ncmp-plan-hint {
	margin: 12px 0;
}

.ncmp-plan-hint--over {
	color: #e11d48;
	font-weight: 650;
}

.ncmp-input--servings {
	width: 88px;
	max-width: 100%;
}

.ncmp-meal-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 88px auto;
	gap: 8px;
	align-items: center;
	margin-bottom: 10px;
}

.ncmp-meal-row [data-ncmp-portion] {
	grid-column: 1 / -1;
	margin: 0;
}

.ncmp-meal-balance {
	margin: 16px 0;
}

.ncmp-status-word--balanced {
	color: #3f6212;
}

.ncmp-status-word--surplus {
	color: #e11d48;
}

.ncmp-status-word--short {
	color: #c2410c;
}

.ncmp-micro-list {
	display: grid;
	margin: 0;
	border: 1px solid #eadfce;
	border-radius: 12px;
	background: #fff;
	overflow: hidden;
}

.ncmp-micro-list div {
	display: grid;
	grid-template-columns: max-content minmax(0, 1fr);
	align-items: baseline;
	column-gap: 16px;
	padding: 11px 14px;
	border-top: 1px solid #f3ebe0;
}

.ncmp-micro-list div:first-child {
	border-top: 0;
}

.ncmp-micro-list dt,
.ncmp-micro-list dd {
	margin: 0;
}

.ncmp-micro-list dt {
	font-weight: 700;
	white-space: nowrap;
	color: #3c3228;
}

.ncmp-micro-list dd {
	color: #3c3228;
	font-variant-numeric: tabular-nums;
	text-align: right;
}

[data-ncmp-meals][hidden] {
	display: none;
}

.ncmp-deficit-note {
	margin: 0;
	padding: 14px 16px;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	background: linear-gradient(180deg, #f8fafc 0%, #fff 70%);
	color: #243028;
	font-size: 0.9375rem;
	line-height: 1.5;
}

.ncmp-screen .ncmp-result[hidden] {
	display: none;
}

.ncmp-screen .ncmp-result {
	display: flex;
	flex-direction: column;
	min-height: 118px;
	padding: 16px;
	border-radius: 16px;
	box-shadow: none;
}

.ncmp-screen .ncmp-result__label {
	margin: 0 0 12px;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.07em;
	line-height: 1.2;
	text-transform: uppercase;
}

.ncmp-screen .ncmp-result__value {
	margin-top: 0;
	font-size: 1.85rem;
	letter-spacing: -0.045em;
}

.ncmp-screen .ncmp-result__unit {
	margin-top: 2px;
	font-size: 0.8125rem;
}

.ncmp-result--energy {
	background: linear-gradient(180deg, #f8fafc 0%, #fff 70%);
	border-color: #e2e8f0;
}

.ncmp-result--energy .ncmp-result__label,
.ncmp-result--energy .ncmp-result__value {
	color: #0f172a;
}

.ncmp-result--protein {
	background: linear-gradient(180deg, #ecfdf3 0%, #fff 68%);
	border-color: #bbf7d0;
}

.ncmp-result--protein .ncmp-result__label,
.ncmp-result--protein .ncmp-result__value {
	color: var(--ncmp-protein);
}

.ncmp-result--carb {
	background: linear-gradient(180deg, #fff7ed 0%, #fff 68%);
	border-color: #ffedd5;
}

.ncmp-result--carb .ncmp-result__label,
.ncmp-result--carb .ncmp-result__value {
	color: #c2410c;
}

.ncmp-result--fat {
	background: linear-gradient(180deg, #fff1f2 0%, #fff 68%);
	border-color: #ffe4e6;
}

.ncmp-result--fat .ncmp-result__label,
.ncmp-result--fat .ncmp-result__value {
	color: #e11d48;
}

@media (hover: hover) {
	.ncmp-screen .ncmp-result,
	.ncmp-app a.ncmp-cta,
	.ncmp-card--composer .ncmp-button--primary {
		transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
	}

	.ncmp-screen .ncmp-result:hover {
		transform: translateY(-2px);
		box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
	}

	.ncmp-card--composer .ncmp-button--primary:hover {
		transform: translateY(-1px);
		box-shadow: 0 8px 18px rgba(15, 23, 42, 0.18);
	}

	.ncmp-app a.ncmp-cta:hover {
		transform: translateY(-1px);
		background: #963e39;
		box-shadow: 0 14px 28px rgba(120, 40, 36, 0.2);
		color: #fff;
	}
}

.ncmp-ratio {
	display: grid;
	gap: 14px;
}

.ncmp-ratio {
	gap: 16px;
}

.ncmp-range {
	display: grid;
	gap: 8px;
	color: #334155;
	font-size: 0.875rem;
	font-weight: 650;
}

.ncmp-range > span {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}

.ncmp-range strong {
	font-variant-numeric: tabular-nums;
	letter-spacing: -0.02em;
}

.ncmp-app .ncmp-range input[type="range"] {
	width: 100%;
	height: 18px;
	margin: 2px 0;
	background: transparent;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
}

.ncmp-app .ncmp-range input[type="range"]::-webkit-slider-runnable-track {
	height: 6px;
	border-radius: 999px;
	background: #e2e8f0;
}

.ncmp-app .ncmp-range input[type="range"]::-webkit-slider-thumb {
	width: 18px;
	height: 18px;
	margin-top: -6px;
	border: 2px solid #0f172a;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.22);
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
}

.ncmp-app .ncmp-range input[type="range"]::-moz-range-thumb {
	width: 18px;
	height: 18px;
	border: 2px solid #0f172a;
	border-radius: 50%;
	background: #fff;
	cursor: pointer;
}

.ncmp-app .ncmp-range input[type="range"]::-moz-range-track {
	height: 6px;
	border: 0;
	border-radius: 999px;
	background: #e2e8f0;
}

.ncmp-app .ncmp-range--carb input[type="range"]::-webkit-slider-thumb { border-color: var(--ncmp-carb); }
.ncmp-app .ncmp-range--protein input[type="range"]::-webkit-slider-thumb { border-color: var(--ncmp-protein); }
.ncmp-app .ncmp-range--fat input[type="range"]::-webkit-slider-thumb { border-color: var(--ncmp-fat); }
.ncmp-app .ncmp-range--carb input[type="range"]::-moz-range-thumb { border-color: var(--ncmp-carb); }
.ncmp-app .ncmp-range--protein input[type="range"]::-moz-range-thumb { border-color: var(--ncmp-protein); }
.ncmp-app .ncmp-range--fat input[type="range"]::-moz-range-thumb { border-color: var(--ncmp-fat); }

.ncmp-app a.ncmp-cta {
	position: relative;
	display: grid;
	gap: 6px;
	padding: 22px 52px 22px 22px;
	border-radius: 18px;
	background: #a84842;
	color: #fff;
	text-decoration: none;
	box-shadow: none;
}

.ncmp-app a.ncmp-cta::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 24px;
	width: 8px;
	height: 8px;
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
	transform: translateY(-50%) rotate(45deg);
}

.ncmp-cta h3,
.ncmp-cta p {
	color: #fff;
}

.ncmp-cta h3 {
	font-size: 1.125rem;
	letter-spacing: -0.025em;
}

.ncmp-cta p {
	color: rgba(255, 255, 255, 0.9);
	font-size: 0.9375rem;
}

.ncmp-micros {
	display: grid;
	gap: 14px;
	border-color: #e4d3b8;
	background: linear-gradient(180deg, #fbf8f4 0%, #fff 72%);
}

.ncmp-micros h3 {
	margin: 0;
	font-size: 1.05rem;
	letter-spacing: -0.02em;
	color: #3c3228;
}

.ncmp-micros .ncmp-button {
	width: 100%;
	background: #fff;
	border-color: #e4d3b8;
	color: #3c3228;
}

@media (hover: hover) {
	.ncmp-micros .ncmp-button:hover {
		border-color: #c4b09a;
		background: #faf7f2;
		color: #3c3228;
	}
}

.ncmp-app .ncmp-field--invalid input.ncmp-input,
.ncmp-app .ncmp-field--invalid select.ncmp-select,
.ncmp-app input.ncmp-input.ncmp-input--invalid,
.ncmp-app select.ncmp-select.ncmp-input--invalid {
	border-color: var(--ncmp-danger);
	background: var(--ncmp-danger-soft);
}

.ncmp-field--invalid .ncmp-switch {
	box-shadow: 0 0 0 1px var(--ncmp-danger);
}

.ncmp-field--height.ncmp-field--invalid .ncmp-switch,
.ncmp-field--weight.ncmp-field--invalid .ncmp-switch {
	box-shadow: none;
}

@media (max-width: 640px) {
	.ncmp-composer__head {
		align-items: flex-start;
		flex-direction: column;
	}

	.ncmp-screen .ncmp-result {
		min-height: 104px;
		padding: 14px;
	}

	.ncmp-screen .ncmp-result__value {
		font-size: 1.6rem;
	}

}

@media (max-width: 781px) {
	.ncmp-app.ncmp-app--single {
		width: 100%;
		max-width: none;
		margin: 0;
		padding: 0;
		border-radius: 0;
		background: transparent;
	}
}

.ncmp-app .ncmp-card--composer {
	padding: 28px;
	border: 1px solid #e4d3b8;
	border-radius: 22px;
	background: linear-gradient(148deg, #f3f7f1 0%, #f7f4ec 52%, #f8f1f0 100%);
	color: #3c3228;
	box-shadow: 0 14px 36px rgba(92, 64, 40, 0.07);
}

.ncmp-card--composer .ncmp-title,
.ncmp-card--composer .ncmp-label {
	color: #3c3228;
}

.ncmp-card--composer .ncmp-composer__head {
	border-color: rgba(60, 50, 40, 0.1);
}

.ncmp-card--composer .ncmp-switch {
	flex-wrap: wrap;
	gap: 8px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
}

.ncmp-card--composer .ncmp-switch__opt span,
.ncmp-app .ncmp-card--composer .ncmp-switch button {
	min-height: 42px;
	padding: 0 16px;
	border: 1px solid #e4d3b8;
	border-radius: 12px;
	background: #fff;
	color: #3c3228;
	box-shadow: none;
}

.ncmp-card--composer .ncmp-switch__opt input:checked + span,
.ncmp-app .ncmp-card--composer .ncmp-switch button[aria-pressed="true"] {
	border-color: #b7d0ad;
	background: #cfe0c6;
	color: #243028;
	box-shadow: none;
}

.ncmp-app .ncmp-card--composer input.ncmp-input,
.ncmp-app .ncmp-card--composer select.ncmp-select {
	border: 1px solid #c5ddd4;
	border-radius: 8px;
	background: #fff;
	color: #3c3228;
	box-shadow: none;
}

.ncmp-app .ncmp-card--composer input.ncmp-input:focus,
.ncmp-app .ncmp-card--composer select.ncmp-select:focus {
	border-color: #7f9e74;
	background: #fff;
	box-shadow: 0 0 0 4px rgba(127, 158, 116, 0.22);
}

.ncmp-app .ncmp-card--composer .ncmp-field--invalid input.ncmp-input,
.ncmp-app .ncmp-card--composer .ncmp-field--invalid select.ncmp-select {
	border-color: #e11d48;
	background: #fff1f2;
}

.ncmp-app .ncmp-card--composer .ncmp-button--primary {
	width: auto;
	min-width: 148px;
	min-height: 46px;
	border-color: #b7d0ad;
	border-radius: 8px;
	background: #cfe0c6;
	color: #243028;
	box-shadow: none;
}

@media (hover: hover) {
	.ncmp-app .ncmp-card--composer .ncmp-button--primary:hover {
		border-color: #a9c49e;
		background: #c3d8b8;
		color: #243028;
		box-shadow: none;
	}
}

@media (min-width: 960px) {
	.ncmp-screen:has(.ncmp-card--composer) {
		max-width: 900px;
		margin-right: auto;
		margin-left: auto;
	}
}

.ncmp-app .ncmp-fields .ncmp-line {
	display: grid;
	grid-template-columns: 11.75rem minmax(0, 1fr);
	align-items: center;
	gap: 8px 16px;
	margin-top: 0;
	min-width: 0;
}

.ncmp-app .ncmp-fields .ncmp-line[hidden] {
	display: none;
}

.ncmp-field--height,
.ncmp-field--weight {
	grid-template-areas:
		". tools"
		"label value";
}

.ncmp-field--height > .ncmp-label,
.ncmp-field--weight > .ncmp-label {
	grid-area: label;
}

.ncmp-field--height > .ncmp-switch,
.ncmp-field--weight > .ncmp-switch {
	grid-area: tools;
	justify-self: start;
}

.ncmp-field--height > .ncmp-measures,
.ncmp-field--weight > .ncmp-measures {
	grid-area: value;
	min-width: 0;
}

.ncmp-app .ncmp-card--composer .ncmp-input--age {
	width: 112px;
	max-width: 100%;
}

.ncmp-app .ncmp-fields .ncmp-line--pair {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	gap: 12px 28px;
}

.ncmp-line--pair > .ncmp-field--age,
.ncmp-line--pair > .ncmp-field--gender {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 16px;
	min-width: 0;
}

.ncmp-line--pair .ncmp-radios {
	flex-wrap: nowrap;
}

.ncmp-line--pair > .ncmp-field--age > .ncmp-label {
	flex: 0 0 11.75rem;
	width: 11.75rem;
}

.ncmp-control {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.ncmp-app .ncmp-control > .ncmp-select {
	flex: 1 1 180px;
	width: auto;
	min-width: 0;
	max-width: 100%;
}

.ncmp-radios {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 16px;
	min-width: 0;
}

.ncmp-radio {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	color: #3c3228;
	font-weight: 650;
	cursor: pointer;
}

.ncmp-app .ncmp-radio input {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: #7f9e74;
}

.ncmp-measures,
.ncmp-affix {
	position: relative;
	width: 100%;
	min-width: 0;
}

.ncmp-affix .ncmp-input {
	padding-right: 44px;
}

.ncmp-affix__unit {
	position: absolute;
	top: 50%;
	right: 14px;
	color: #7d8b82;
	font-size: 0.875rem;
	font-weight: 650;
	line-height: 1;
	pointer-events: none;
	transform: translateY(-50%);
}

.ncmp-app .ncmp-card--composer [data-ncmp-unit="height"]:has(input[value="ft"]:checked) [data-ncmp-unit-panel="ft"],
.ncmp-app .ncmp-card--composer [data-ncmp-unit="weight"]:has(input[value="lb"]:checked) [data-ncmp-unit-panel="lb"] {
	width: 100%;
	margin-top: 0;
}

@media (max-width: 700px) {
	.ncmp-app .ncmp-fields .ncmp-line {
		grid-template-columns: minmax(0, 1fr);
	}

	.ncmp-app .ncmp-fields .ncmp-line--pair {
		align-items: flex-start;
		gap: 16px;
	}

	.ncmp-line--pair > .ncmp-field--age,
	.ncmp-line--pair > .ncmp-field--gender {
		flex-direction: column;
		align-items: flex-start;
		gap: 6px;
	}

	.ncmp-line--pair > .ncmp-field--age > .ncmp-label {
		flex: 0 0 auto;
		width: auto;
	}

	.ncmp-app .ncmp-card--composer .ncmp-line--pair .ncmp-input--age {
		width: 104px;
	}

	.ncmp-field--height,
	.ncmp-field--weight {
		grid-template-areas:
			"label"
			"tools"
			"value";
	}

	.ncmp-app .ncmp-card--composer {
		padding: 18px 16px;
	}

	.ncmp-app .ncmp-control > .ncmp-select,
	.ncmp-app .ncmp-card--composer .ncmp-button--primary {
		flex-basis: 100%;
		width: 100%;
	}

	.ncmp-screen .ncmp-results {
		grid-template-columns: 1fr;
	}
}

.ncmp-label__unit {
	color: #7d8b82;
	font-size: 0.85em;
	font-weight: 500;
}

.ncmp-switch--presets {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	max-width: 100%;
	border-radius: 0;
}

.ncmp-app .ncmp-switch button[hidden] {
	display: none;
}

.ncmp-ratio,
.ncmp-after-calc,
.ncmp-results,
.ncmp-screen,
.ncmp-card,
.ncmp-cta {
	min-width: 0;
	max-width: 100%;
}

.ncmp-app .ncmp-field--invalid .ncmp-radio input {
	outline: 2px solid #e11d48;
	outline-offset: 2px;
}

.ncmp-field--life:has([data-ncmp-life-choice][hidden]) {
	grid-template-columns: minmax(0, 1fr);
}

.ncmp-field--life:has([data-ncmp-life-choice][hidden]) .ncmp-control {
	justify-content: flex-end;
}

.ncmp-field--target:has([data-ncmp-weight-target][hidden]) {
	grid-template-columns: minmax(0, 1fr);
}

.ncmp-field--target:has([data-ncmp-weight-target][hidden]) .ncmp-control {
	justify-content: flex-end;
}

.ncmp-field--target > .ncmp-label[hidden],
.ncmp-field--target [data-ncmp-weight-target][hidden] {
	display: none;
}

.ncmp-food-find {
	position: relative;
	min-width: 0;
}

.ncmp-food-matches {
	list-style: none;
	margin: 6px 0 0;
	padding: 4px;
	border: 1px solid #c5ddd4;
	border-radius: 8px;
	background: #fff;
	max-height: 220px;
	overflow: auto;
}

.ncmp-food-matches button {
	display: block;
	width: 100%;
	padding: 8px 10px;
	border: 0;
	border-radius: 6px;
	background: transparent;
	color: #3c3228;
	font: inherit;
	text-align: left;
	cursor: pointer;
}

.ncmp-food-matches button:hover,
.ncmp-food-matches button:focus {
	background: #f3f7f1;
}

.ncmp-app .ncmp-serving-board {
	margin: 0 0 16px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.ncmp-app .ncmp-plan-for {
	margin: 0 0 18px;
	padding: 14px 16px;
	border: 1px solid #e4ddd2;
	border-radius: 12px;
	background: #fffdf9;
}

.ncmp-app .ncmp-plan-for__label {
	margin: 0;
	color: #243028;
	font-size: 15px;
	font-weight: 400;
}

.ncmp-app .ncmp-plan-for__choices {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4px;
	margin-top: 10px;
	padding: 4px;
	border-radius: 12px;
	background: #f3efe8;
}

.ncmp-app .ncmp-plan-for__choices label {
	position: relative;
	margin: 0;
}

.ncmp-app .ncmp-plan-for__choices input {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

.ncmp-app .ncmp-plan-for__choices span {
	display: block;
	padding: 10px 8px;
	border-radius: 9px;
	color: #3d4a40;
	font-size: 15px;
	font-weight: 400;
	text-align: center;
	cursor: pointer;
}

.ncmp-app .ncmp-plan-for__choices input:checked + span {
	background: #fff;
	color: #1d2b22;
	box-shadow: 0 1px 2px rgba(36, 48, 40, 0.12);
}

.ncmp-app .ncmp-plan-for__choices input:focus-visible + span {
	outline: 2px solid #7f9e74;
	outline-offset: 2px;
}

.ncmp-app .ncmp-plan-client {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px 16px;
	margin-top: 14px;
}

.ncmp-app .ncmp-plan-client[hidden] {
	display: none;
}

.ncmp-app .ncmp-plan-client p {
	grid-column: 1 / -1;
	margin: 0;
	color: #5c675f;
	font-size: 14px;
	font-weight: 400;
}

.ncmp-app .ncmp-plan-client label {
	display: flex;
	flex-direction: column;
	gap: 4px;
	color: #243028;
	font-size: 14px;
	font-weight: 400;
}

.ncmp-app .ncmp-plan-client__note {
	grid-column: 1 / -1;
}

.ncmp-app .ncmp-serving-board .ncmp-card__title,
.ncmp-app .ncmp-guidelines .ncmp-card__title {
	margin: 0 0 10px;
	color: #243028;
	font-size: 1.05rem;
}

.ncmp-app .ncmp-exchange {
	display: table;
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: separate;
	border-spacing: 0 8px;
	table-layout: fixed;
}

.ncmp-app .ncmp-exchange th,
.ncmp-app .ncmp-exchange td {
	padding: 10px 12px;
	border: 0;
	background: transparent;
	vertical-align: middle;
	text-align: left;
}

.ncmp-app .ncmp-exchange thead th {
	padding: 0 12px 2px;
	color: #6d7882;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.ncmp-app .ncmp-exchange thead th:nth-child(1) {
	width: 24%;
}

.ncmp-app .ncmp-exchange thead th:nth-child(3) {
	width: 28%;
}

.ncmp-app .ncmp-exchange tbody th {
	color: #243028;
	font-size: 0.98rem;
	font-weight: 700;
}

.ncmp-app .ncmp-exchange tbody th:first-child {
	border-radius: 10px 0 0 10px;
}

.ncmp-app .ncmp-exchange tbody td:last-child {
	border-radius: 0 10px 10px 0;
}

.ncmp-app .ncmp-serving--fruit th,
.ncmp-app .ncmp-serving--fruit td {
	background: #fff1e6;
}

.ncmp-app .ncmp-serving--vegetable th,
.ncmp-app .ncmp-serving--vegetable td {
	background: #eaf6e9;
}

.ncmp-app .ncmp-serving--milk th,
.ncmp-app .ncmp-serving--milk td {
	background: #eaf2fc;
}

.ncmp-app .ncmp-serving--starch th,
.ncmp-app .ncmp-serving--starch td {
	background: #fff7df;
}

.ncmp-app .ncmp-serving--meat th,
.ncmp-app .ncmp-serving--meat td {
	background: #f8e9ed;
}

.ncmp-app .ncmp-serving--fat th,
.ncmp-app .ncmp-serving--fat td {
	background: #f1ecfa;
}

.ncmp-app .ncmp-serving-board select.ncmp-select {
	box-sizing: border-box;
	width: 100%;
	max-width: min(220px, 100%);
	min-width: 0;
	min-height: 36px;
	padding: 6px 10px;
	border: 1px solid #d9e1e8;
	border-radius: 8px;
	background: #fff;
	color: #243028;
	font-size: 0.85rem;
	font-weight: 550;
	line-height: 1.3;
}

.ncmp-app .ncmp-serving-board [data-ncmp-high-note] {
	max-width: 280px;
	margin: 6px 0 0;
	color: #5c6770;
	font-size: 0.78rem;
	line-height: 1.4;
}

.ncmp-app .ncmp-exchange [hidden] {
	display: none !important;
}

.ncmp-app .ncmp-serving__count {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 8px;
	margin: 0;
	color: #6d7882;
	font-size: 0.75rem;
	font-weight: 650;
}

.ncmp-app .ncmp-serving-board input.ncmp-input {
	width: 76px;
	min-height: 40px;
	padding: 6px 10px;
	border: 1px solid #d9e1e8;
	border-radius: 8px;
	background: #fff;
	color: #243028;
	font-size: calc(1em + 1px);
	font-weight: 700;
	text-align: left;
	box-shadow: none;
}

.ncmp-app .ncmp-serving-board input.ncmp-input:focus,
.ncmp-app .ncmp-serving-board select.ncmp-select:focus {
	border-color: #8aa882;
	background: #fff;
	outline: 2px solid #d7e6d1;
	outline-offset: 1px;
	box-shadow: none;
}

.ncmp-app .ncmp-plan-totals {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	margin: 16px 0 0;
	padding: 16px 0 0;
	border-top: 1px solid #e4ebe6;
}

.ncmp-app .ncmp-plan-totals p {
	display: grid;
	gap: 2px;
	margin: 0;
	padding: 10px 12px;
	border: 1px solid #e6ece8;
	border-radius: 10px;
	background: #fff;
}

.ncmp-app .ncmp-plan-totals span {
	color: #6d7882;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.ncmp-app .ncmp-plan-totals strong {
	color: #243028;
	font-size: 1.35rem;
	letter-spacing: -0.03em;
}

.ncmp-app .ncmp-plan-totals em {
	color: #6d7882;
	font-style: normal;
	font-size: 0.78rem;
}

.ncmp-app .ncmp-guidelines {
	margin: 0 0 18px;
}

.ncmp-app .ncmp-guidelines ul {
	display: block;
	margin: 0;
	padding: 0 0 0 1.2rem;
	list-style: disc;
}

.ncmp-app .ncmp-guidelines li,
.ncmp-app .ncmp-guidelines .ncmp-plan-hint,
.ncmp-app .ncmp-guidelines .ncmp-plan-hint--over {
	display: list-item;
	margin: 0 0 6px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #243028;
	font-size: 0.92rem;
	font-weight: 500;
	line-height: 1.45;
}

.ncmp-app .ncmp-guidelines [data-ncmp-whole]:empty {
	display: none;
}

.ncmp-plan-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	margin: 8px 0 14px;
}

.ncmp-plan-actions .ncmp-button {
	width: auto;
}

.ncmp-plan-actions p {
	margin: 0;
	color: #3f6212;
	font-weight: 650;
}

.ncmp-app .ncmp-day {
	margin: 0 0 16px;
	padding: 18px;
	border: 1px solid #d9e4f2;
	border-radius: 18px;
	background: #f5f8fc;
	box-shadow: 0 1px 2px rgba(36, 48, 64, 0.05);
}

.ncmp-app .ncmp-day__status {
	margin: 0 0 10px;
	font-size: 1rem;
}

.ncmp-app .ncmp-day .ncmp-status-word {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 0.82rem;
	font-weight: 700;
	line-height: 1.3;
}

.ncmp-app .ncmp-day .ncmp-status-word--balanced {
	color: #27833d;
	background: #eaf5ec;
}

.ncmp-app .ncmp-day .ncmp-status-word--short,
.ncmp-app .ncmp-day .ncmp-status-word--surplus {
	color: #d32f2f;
	background: #fdecec;
}

.ncmp-app .ncmp-day__figures {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ncmp-app .ncmp-day__figures li {
	display: grid;
	gap: 3px;
	align-content: start;
	min-width: 0;
	padding: 12px 12px 10px;
	border: 1px solid #e3eaf2;
	border-radius: 12px;
	background: #fff;
}

.ncmp-app .ncmp-day__figures > li > span {
	color: #6d7882;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.ncmp-app .ncmp-day__figures strong,
.ncmp-app .ncmp-day__figures strong span {
	color: #243028;
	font-size: 1.25rem;
	font-weight: 750;
	letter-spacing: 0;
	line-height: 1.2;
	text-transform: none;
}

.ncmp-app .ncmp-day__figures em {
	color: #6d7882;
	font-style: normal;
	font-size: 0.78rem;
	line-height: 1.35;
}

.ncmp-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

.ncmp-app p.ncmp-day__note,
.ncmp-app p.ncmp-day__note--over {
	margin: 0 0 14px;
	color: #3d4750;
	font-size: 0.92rem;
	font-weight: 450;
	line-height: 1.55;
}

.ncmp-app p.ncmp-day__oil {
	margin: 12px 0 0;
	color: #3d4750;
	font-size: 0.92rem;
	font-weight: 450;
	line-height: 1.55;
}

.ncmp-app p.ncmp-missing {
	margin: 10px 0 0;
	color: #d32f2f;
	font-size: 0.92rem;
	font-weight: 650;
	line-height: 1.45;
}

.ncmp-app p.ncmp-missing[hidden] {
	display: none;
}

.ncmp-occasion-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
}

@media (min-width: 960px) {
	.ncmp-occasion-grid {
		grid-template-columns: 1fr 1fr;
	}
}

.ncmp-occasion {
	padding: 14px 14px 12px;
	border: 1px solid #e1e7e2;
	border-radius: 16px;
	background: #f4f7f5;
	box-shadow: none;
}

.ncmp-app .ncmp-occasion[data-ncmp-meal="morning"],
.ncmp-app .ncmp-occasion[data-ncmp-meal="afternoon"],
.ncmp-app .ncmp-occasion[data-ncmp-meal="evening"] {
	border-color: #d6e4f5;
	background: #f0f6ff;
}

.ncmp-occasion h3 {
	margin: 0 0 8px;
	color: #243028;
	font-size: 1.05rem;
}

.ncmp-app .ncmp-meal-totals {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 6px;
	margin: 10px 0 0;
	padding: 0;
	list-style: none;
}

.ncmp-app .ncmp-meal-totals li {
	display: grid;
	gap: 2px;
	align-content: start;
	min-width: 0;
	padding: 8px 8px 7px;
	border: 1px solid #e6ece8;
	border-radius: 10px;
	background: #fff;
}

.ncmp-app .ncmp-meal-totals span {
	color: #6d7882;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.ncmp-app .ncmp-meal-totals strong,
.ncmp-app .ncmp-meal-totals strong span {
	color: #243028;
	font-size: 0.95rem;
	font-weight: 750;
	letter-spacing: 0;
	line-height: 1.2;
	text-transform: none;
}

@media (max-width: 480px) {
	.ncmp-app .ncmp-meal-totals {
		grid-template-columns: 1fr 1fr;
	}
}

.ncmp-meal-table {
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
}

.ncmp-meal-table th {
	padding: 0 0 6px;
	color: #7d8b82;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-align: left;
	text-transform: uppercase;
}

.ncmp-meal-table th:nth-child(2) {
	width: 196px;
	text-align: right;
}

.ncmp-meal-table th:nth-child(3) {
	width: 84px;
}

.ncmp-dish td {
	padding: 0;
	border: 0;
	vertical-align: top;
}

.ncmp-dish.is-open {
	position: relative;
	z-index: 6;
}

.ncmp-app .ncmp-dish__row {
	display: grid;
	gap: 0;
	padding: 8px 0 10px;
	border-top: 1px solid #dee5e0;
}

.ncmp-app .ncmp-dish:first-child .ncmp-dish__row {
	border-top: 0;
	padding-top: 0;
}

.ncmp-dish__line {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 76px 84px;
	gap: 8px;
	align-items: center;
}

.ncmp-dish__finder {
	position: relative;
	min-width: 0;
}

.ncmp-app input.ncmp-dish__food,
.ncmp-app .ncmp-dish__line > input.ncmp-input {
	width: 100%;
	min-width: 0;
	height: 42px;
	min-height: 42px;
	max-width: 100%;
	margin: 0;
	padding: 8px 10px;
	border: 1px solid #d7dee5;
	border-radius: 8px;
	background: #fff;
	color: #243028;
	font: inherit;
	font-weight: 650;
	box-shadow: none;
}

.ncmp-app .ncmp-dish__line > input.ncmp-input {
	padding: 8px 6px;
	border-color: #8aa882;
	font-weight: 700;
	text-align: center;
}

.ncmp-dish__list {
	position: absolute;
	z-index: 8;
	left: 0;
	right: 0;
	top: calc(100% + 4px);
	max-height: 240px;
	overflow: auto;
	margin: 0;
	padding: 4px;
	border: 1px solid #c5ddd4;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 10px 24px rgba(36, 48, 40, 0.12);
}

.ncmp-app button.ncmp-dish__match {
	display: block;
	width: 100%;
	padding: 8px 10px;
	border: 0;
	border-radius: 6px;
	background: transparent;
	color: #243028;
	font: inherit;
	font-weight: 650;
	text-align: left;
	cursor: pointer;
	box-shadow: none;
}

.ncmp-app button.ncmp-dish__match:hover,
.ncmp-app button.ncmp-dish__match:focus,
.ncmp-app button.ncmp-dish__match.is-active {
	background: #e4ede0;
	color: #243028;
	box-shadow: none;
}

.ncmp-dish__none {
	margin: 0;
	padding: 8px 10px;
	color: #7d8b82;
	font-size: 0.85rem;
}

.ncmp-app p.ncmp-dish__left {
	margin: 5px 0 0;
	color: #27833d;
	font-size: 0.78rem;
	font-weight: 650;
	line-height: 1.35;
}

.ncmp-app p.ncmp-dish__left--short,
.ncmp-app p.ncmp-dish__left--over {
	color: #d32f2f;
}

.ncmp-app p.ncmp-dish__left--met {
	color: #27833d;
	font-weight: 600;
}

.ncmp-dish__remove {
	height: 42px;
	padding: 0 8px;
	border: 0;
	border-radius: 8px;
	background: #fff1f2;
	color: #9f1239;
	font: inherit;
	font-size: 0.78rem;
	font-weight: 700;
	cursor: pointer;
}

.ncmp-occasion__add {
	margin-top: 10px;
	padding: 8px 12px;
	border: 0;
	border-radius: 8px;
	background: #cfe0c6;
	color: #243028;
	font: inherit;
	font-size: 0.875rem;
	font-weight: 700;
	cursor: pointer;
}

.ncmp-app p.ncmp-dish__group {
	margin: 0 0 4px;
	color: #243028;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.ncmp-group-picker {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 8px;
}

.ncmp-group-picker[hidden] {
	display: none;
}

.ncmp-group-picker button {
	padding: 6px 10px;
	border: 1px solid #7f9e74;
	border-radius: 8px;
	background: #fff;
	color: #243028;
	font: inherit;
	font-size: 0.8rem;
	font-weight: 700;
	cursor: pointer;
}

.ncmp-letter {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

@media (max-width: 860px) {
	.ncmp-app .ncmp-day__figures {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 700px) {
	.ncmp-app .ncmp-plan-totals {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 640px) {
	.ncmp-app .ncmp-exchange,
	.ncmp-app .ncmp-exchange tbody,
	.ncmp-app .ncmp-exchange tbody tr,
	.ncmp-app .ncmp-exchange tbody th,
	.ncmp-app .ncmp-exchange tbody td {
		display: block;
		width: auto;
	}

	.ncmp-app .ncmp-exchange thead,
	.ncmp-app .ncmp-exchange thead tr {
		display: block;
	}

	.ncmp-app .ncmp-exchange thead tr {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: end;
		margin: 0 0 4px;
		padding: 0 12px;
	}

	.ncmp-app .ncmp-exchange thead th {
		display: block;
		width: auto;
		padding: 0;
		white-space: nowrap;
	}

	.ncmp-app .ncmp-exchange thead th:nth-child(1),
	.ncmp-app .ncmp-exchange thead th:nth-child(3) {
		width: auto;
	}

	.ncmp-app .ncmp-exchange thead th:nth-child(2) {
		display: none;
	}

	.ncmp-app .ncmp-exchange thead th:nth-child(3) {
		width: auto;
		min-width: 72px;
		text-align: left;
	}

	.ncmp-app .ncmp-exchange {
		border-spacing: 0;
	}

	.ncmp-app .ncmp-exchange tbody tr {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 4px 10px;
		align-items: center;
		margin: 0 0 8px;
		padding: 10px 12px;
		border-radius: 10px;
	}

	.ncmp-app .ncmp-exchange tbody th,
	.ncmp-app .ncmp-exchange tbody td {
		padding: 0;
		border-radius: 0;
		background: transparent;
	}

	.ncmp-app .ncmp-serving__type:empty {
		display: none;
	}

	.ncmp-app .ncmp-exchange tbody td:last-child {
		grid-column: 2;
		grid-row: 1 / span 2;
	}

	.ncmp-app .ncmp-serving--milk .ncmp-serving__type,
	.ncmp-app .ncmp-serving--meat .ncmp-serving__type {
		grid-column: 1;
		grid-row: 2;
		align-self: center;
	}

	.ncmp-app .ncmp-exchange tbody tr.ncmp-serving--milk td:last-child,
	.ncmp-app .ncmp-exchange tbody tr.ncmp-serving--meat td:last-child {
		grid-column: 2;
		grid-row: 2;
		align-self: center;
	}

	.ncmp-app .ncmp-serving-board select.ncmp-select {
		height: 42px;
		min-height: 42px;
	}

	.ncmp-app .ncmp-serving--fruit {
		background: #fff1e6;
	}

	.ncmp-app .ncmp-serving--vegetable {
		background: #eaf6e9;
	}

	.ncmp-app .ncmp-serving--milk {
		background: #eaf2fc;
	}

	.ncmp-app .ncmp-serving--starch {
		background: #fff7df;
	}

	.ncmp-app .ncmp-serving--meat {
		background: #f8e9ed;
	}

	.ncmp-app .ncmp-serving--fat {
		background: #f1ecfa;
	}

	.ncmp-app .ncmp-serving-board input.ncmp-input {
		width: 72px;
		min-height: 42px;
	}

	.ncmp-app .ncmp-plan-client {
		grid-template-columns: 1fr;
	}

	.ncmp-dish__line {
		grid-template-columns: minmax(0, 1fr) 64px 76px;
		gap: 6px;
	}
}

@media print {
	@page {
		size: A4 landscape;
		margin: 18mm 5mm 18mm 5mm;
	}

	body.ncmp-printing {
		margin: 0 !important;
		padding: 0 !important;
		background: #fff !important;
	}

	body.ncmp-printing > * {
		display: none !important;
	}

	body.ncmp-printing > .ncmp-letter {
		display: block !important;
		position: static !important;
		width: 100% !important;
		height: auto !important;
		overflow: visible !important;
		clip: auto !important;
		padding: 0;
		color: #243028;
		background: #fff;
		font-family: "Segoe UI", Calibri, sans-serif;
		font-size: 10pt;
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
	}

	body.ncmp-printing > .ncmp-letter * {
		visibility: visible;
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
	}

	.ncmp-letter__head {
		width: 100%;
		margin: 0 0 12px;
		border: none;
	}

	.ncmp-letter__head td {
		border: none;
		padding: 0;
		background: transparent;
		vertical-align: baseline;
	}

	.ncmp-letter__head td:last-child {
		text-align: right;
	}

	.ncmp-letter h2 {
		margin: 0;
		color: #243028;
		font-size: 18pt;
		font-weight: 700;
	}

	.ncmp-letter h3 {
		margin: 0 0 6px;
		color: #243028;
		font-size: 12pt;
		font-weight: 700;
		break-after: avoid;
		page-break-after: avoid;
	}

	.ncmp-letter__date {
		margin: 0;
		color: #5c6770;
		font-size: 10pt;
		text-align: right;
	}

	.ncmp-letter__break {
		break-before: page;
		page-break-before: always;
	}

	.ncmp-letter table {
		width: 100%;
		margin: 0;
		border-collapse: collapse;
		break-inside: auto;
	}

	.ncmp-letter thead {
		display: table-header-group;
	}

	.ncmp-letter tr {
		break-inside: avoid;
		page-break-inside: avoid;
	}

	.ncmp-letter th,
	.ncmp-letter td {
		padding: 4px 6px;
		border: 1px solid #d5dee8;
		vertical-align: top;
		overflow-wrap: break-word;
		word-break: normal;
	}

	.ncmp-letter__head,
	.ncmp-letter__head td,
	.ncmp-letter .ncmp-letter__brand td,
	.ncmp-letter .ncmp-letter__banner td,
	.ncmp-letter .ncmp-letter__gap td {
		border: none;
		background: transparent;
	}

	.ncmp-letter .ncmp-letter__brand,
	.ncmp-letter .ncmp-letter__details,
	.ncmp-letter .ncmp-letter__banner {
		width: 100%;
		border-collapse: collapse;
		border-spacing: 0;
	}

	.ncmp-letter .ncmp-letter__brand td,
	.ncmp-letter .ncmp-letter__lines,
	.ncmp-letter .ncmp-letter__lines td {
		border: none;
		background: #5b92d4;
		color: #fff;
		vertical-align: top;
	}

	.ncmp-letter .ncmp-letter__identity {
		width: 58%;
	}

	.ncmp-letter .ncmp-letter__contact {
		width: 42%;
		text-align: right;
	}

	.ncmp-letter .ncmp-letter__identity strong {
		color: #fff;
		font-size: 29px;
	}

	.ncmp-letter .ncmp-letter__details tr:first-child td,
	.ncmp-letter .ncmp-letter__banner td {
		border: none;
		background: #1e4b86;
		color: #fff;
		font-weight: 700;
	}

	.ncmp-letter .ncmp-letter__details tr:first-child td {
		font-size: 16px;
	}

	.ncmp-letter .ncmp-letter__banner td {
		text-align: left;
		font-size: 16pt;
	}

	.ncmp-letter .ncmp-letter__details th {
		width: 36%;
		background: #f4f8fc;
		color: #1e4b86;
		text-align: left;
	}

	.ncmp-letter thead th {
		background: #d6e4f2;
		color: #243028;
		font-size: 8.5pt;
		font-weight: 700;
		text-align: left;
	}

	.ncmp-letter td {
		font-size: 9pt;
	}

	.ncmp-letter__stripe td {
		background: #f4f8fb;
	}

	.ncmp-letter__num {
		text-align: right;
		white-space: nowrap;
	}

	.ncmp-letter__meal h3,
	.ncmp-letter__summary h3 {
		font-size: 15px;
	}

	.ncmp-letter__meal th,
	.ncmp-letter__meal td,
	.ncmp-letter__summary th,
	.ncmp-letter__summary td {
		padding: 8px 6px;
		font-size: 12px;
		white-space: normal;
		overflow-wrap: anywhere;
		word-break: break-word;
	}

	.ncmp-letter__meal thead th {
		font-size: 12px;
		text-align: left;
	}

	.ncmp-letter__meal .ncmp-letter__num {
		text-align: left;
	}

	.ncmp-letter__meal table {
		width: 100%;
		table-layout: fixed;
	}

	.ncmp-letter__food {
		width: 32%;
	}

	.ncmp-letter__qty {
		width: 18%;
	}

	.ncmp-letter__meal .ncmp-letter__num {
		width: 12.5%;
	}

	.ncmp-letter__total th,
	.ncmp-letter__total td {
		background: #dcebdd;
		font-weight: 700;
		text-align: left;
	}

	.ncmp-letter__targets {
		margin: 0 0 22pt;
		padding: 0;
		background: #dcebdd;
		border: 1px solid #c5ddc8;
	}

	.ncmp-targets-wrap,
	.ncmp-targets-wrap td {
		border: none;
		background: #dcebdd;
		padding: 18px 22px;
	}

	.ncmp-letter__targets h3 {
		margin: 0 0 8px;
		color: #243028;
		font-size: 16pt;
	}

	.ncmp-targets-wrap table th,
	.ncmp-targets-wrap table td {
		width: 25%;
		text-align: center;
		font-weight: 700;
	}

	.ncmp-targets-wrap table thead th {
		font-size: 11pt;
		text-align: center;
		background: #d0deee;
	}

	.ncmp-targets-wrap table th,
	.ncmp-targets-wrap table td {
		padding: 12px 10px;
	}

	.ncmp-targets-wrap table td {
		font-size: 14pt;
		background: #fff;
	}

	.ncmp-letter__meal {
		margin: 0 0 22pt;
		break-inside: auto;
	}

	.ncmp-letter__summary {
		margin: 8px 0 0;
		padding: 12px 14px;
		background: #f3f7fb;
		border: 1px solid #c9d7e6;
		break-inside: avoid;
		page-break-inside: avoid;
	}

	.ncmp-letter__summary h3 {
		margin: 0 0 8px;
		font-size: 15px;
	}

	.ncmp-letter__summary th,
	.ncmp-letter__summary td {
		font-weight: 700;
		text-align: left;
	}

	.ncmp-letter__met th,
	.ncmp-letter__met td {
		background: #e7f6ea;
		color: #1e6b32;
	}

	.ncmp-letter__surplus th,
	.ncmp-letter__surplus td {
		background: #fff4d6;
		color: #8a5a00;
	}

	.ncmp-letter__deficient th,
	.ncmp-letter__deficient td {
		background: #fdecec;
		color: #b42318;
	}

	.ncmp-note-gap {
		display: none;
	}

	.ncmp-letter__note {
		margin: 18px 0 0;
		color: #5c6770;
		font-size: 8.5pt;
		font-weight: 500;
	}
}

/* Public calculators. Soft skeuomorphic surface. */
.ncmp-app .ncmp-public-calc {
	font-family: "Roboto", sans-serif;
}

.ncmp-app .ncmp-public-calc .ncmp-card--composer,
.ncmp-app .ncmp-public-calc .ncmp-ratio,
.ncmp-app .ncmp-public-calc .ncmp-micros {
	border: 1px solid #ddd6c8;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0) 34%),
		linear-gradient(165deg, #fafaf6 0%, #f3f1ea 55%, #efece4 100%);
	color: #26372b;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.92),
		inset 0 -1px 0 rgba(90, 72, 48, 0.05),
		0 1px 1px rgba(62, 48, 30, 0.04),
		0 12px 28px rgba(62, 48, 30, 0.08);
}

.ncmp-app .ncmp-public-calc .ncmp-title,
.ncmp-app .ncmp-public-calc .ncmp-label,
.ncmp-app .ncmp-public-calc .ncmp-radio,
.ncmp-app .ncmp-public-calc .ncmp-micros h3,
.ncmp-app .ncmp-public-calc .ncmp-range {
	color: #26372b;
}

.ncmp-app .ncmp-public-calc .ncmp-composer__head {
	border-bottom-color: transparent;
	box-shadow: inset 0 -1px 0 rgba(90, 72, 48, 0.14), inset 0 -2px 0 rgba(255, 255, 255, 0.7);
}

.ncmp-app .ncmp-public-calc .ncmp-switch__opt span,
.ncmp-app .ncmp-public-calc .ncmp-switch button {
	border: 1px solid #ddd6c8;
	background: linear-gradient(180deg, #fffcf8 0%, #f3efe6 100%);
	color: #26372b;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.9),
		0 1px 0 rgba(255, 255, 255, 0.45),
		0 2px 3px rgba(70, 55, 35, 0.1);
}

.ncmp-app .ncmp-public-calc .ncmp-switch__opt input:checked + span,
.ncmp-app .ncmp-public-calc .ncmp-switch button[aria-pressed="true"] {
	border-color: #a9c49a;
	background: linear-gradient(180deg, #b7cfad 0%, #c8ddbf 55%, #d5e6cc 100%);
	color: #26372b;
	box-shadow:
		inset 0 2px 4px rgba(38, 55, 43, 0.18),
		inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.ncmp-app .ncmp-public-calc .ncmp-switch__opt input:focus-visible + span,
.ncmp-app .ncmp-public-calc .ncmp-switch button:focus-visible {
	outline: 0;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.8),
		0 0 0 2px #fafaf6,
		0 0 0 4px #6e8b62;
}

.ncmp-app .ncmp-public-calc input.ncmp-input,
.ncmp-app .ncmp-public-calc select.ncmp-select {
	border: 1px solid #d5cdbf;
	background: linear-gradient(180deg, #e6e0d4 0%, #f6f3ec 22%, #fcfbf8 100%);
	color: #26372b;
	box-shadow:
		inset 0 2px 4px rgba(70, 55, 35, 0.14),
		inset 0 1px 0 rgba(255, 255, 255, 0.35),
		0 1px 0 rgba(255, 255, 255, 0.75);
}

.ncmp-app .ncmp-public-calc input.ncmp-input:focus,
.ncmp-app .ncmp-public-calc select.ncmp-select:focus {
	border-color: #7f9e74;
	background: linear-gradient(180deg, #efeae0 0%, #fffdf9 24%, #fff 100%);
	box-shadow:
		inset 0 2px 3px rgba(70, 55, 35, 0.1),
		0 0 0 4px rgba(127, 158, 116, 0.24);
}

.ncmp-app .ncmp-public-calc .ncmp-field--invalid input.ncmp-input,
.ncmp-app .ncmp-public-calc .ncmp-field--invalid select.ncmp-select,
.ncmp-app .ncmp-public-calc input.ncmp-input.ncmp-input--invalid,
.ncmp-app .ncmp-public-calc select.ncmp-select.ncmp-input--invalid {
	border-color: #e11d48;
	background: linear-gradient(180deg, #f8d7dc 0%, #fff5f6 30%, #fff 100%);
}

.ncmp-app .ncmp-public-calc .ncmp-affix__unit,
.ncmp-app .ncmp-public-calc .ncmp-label__unit {
	color: #6d7c72;
}

.ncmp-app .ncmp-public-calc .ncmp-affix__unit {
	font-weight: 400;
}

.ncmp-app .ncmp-public-calc .ncmp-field--gender .ncmp-radio {
	font-weight: 400;
}

.ncmp-app .ncmp-public-calc .ncmp-label {
	font-size: 16px;
}

.ncmp-app .ncmp-public-calc .ncmp-label__unit {
	font-size: 11.9px;
}

.ncmp-app .ncmp-public-calc .ncmp-composer__head .ncmp-title,
.ncmp-app .ncmp-public-calc > .ncmp-header .ncmp-title {
	font-size: calc(1.375rem + 3px);
	font-weight: 400;
}

.ncmp-app .ncmp-public-calc .ncmp-switch__opt span {
	font-size: 14px;
}

.ncmp-app .ncmp-public-calc .ncmp-result__label {
	font-size: calc(0.72rem + 1px);
}

.ncmp-app .ncmp-public-calc .ncmp-result__unit,
.ncmp-app .ncmp-public-calc .ncmp-result__note {
	font-size: calc(0.8125rem + 1px);
}

.ncmp-app .ncmp-public-calc .ncmp-range > span {
	font-size: calc(0.875rem + 1px);
}

.ncmp-app .ncmp-public-calc .ncmp-micros h3 {
	font-size: calc(1.05rem + 1px);
}

.ncmp-app .ncmp-public-calc .ncmp-micro-list dt {
	font-size: 16px;
}

.ncmp-app .ncmp-public-calc .ncmp-micro-list dd {
	font-size: 14px;
}

.ncmp-app .ncmp-public-calc .ncmp-audience .ncmp-switch__opt span {
	font-size: 15px;
}

.ncmp-app [data-ncmp-calculator="carb-counting"] > .ncmp-audience .ncmp-switch,
.ncmp-app [data-ncmp-calculator="carb-counting"] > .ncmp-audience .ncmp-switch__opt span {
	border-radius: 8px;
}

.ncmp-app [data-ncmp-calculator="carb-child"] .ncmp-fields + .ncmp-fields {
	margin-top: 18px;
}

.ncmp-app .ncmp-public-calc [data-ncmp-calculate] {
	font-size: 17px;
}

.ncmp-app .ncmp-public-calc .ncmp-line--pair {
	flex-wrap: wrap;
}

.ncmp-app .ncmp-public-calc .ncmp-field--gender {
	flex-shrink: 0;
	min-width: max-content;
}

.ncmp-app .ncmp-public-calc .ncmp-field--gender > .ncmp-label,
.ncmp-app .ncmp-public-calc .ncmp-field--gender .ncmp-radio {
	flex-shrink: 0;
	white-space: nowrap;
}

.ncmp-app .ncmp-public-calc .ncmp-field--height .ncmp-switch__opt span,
.ncmp-app .ncmp-public-calc .ncmp-field--weight .ncmp-switch__opt span {
	font-weight: 400;
}

.ncmp-app .ncmp-public-calc .ncmp-switch--presets {
	justify-content: center;
	column-gap: 7px;
	row-gap: 9px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.ncmp-app .ncmp-public-calc .ncmp-switch--presets button {
	padding: 0 8px;
	border: 1px solid #c4b8a4;
	border-radius: 1px;
	background: #fff;
	color: #26372b;
	font-size: 14px;
	font-weight: 400;
	box-shadow: none;
	transform: none;
	transition: none;
}

.ncmp-app .ncmp-public-calc .ncmp-switch--presets button[aria-pressed="true"] {
	border-color: #b7d0ad;
	background: #cfe0c6;
	color: #26372b;
	font-weight: 400;
	box-shadow: none;
}

.ncmp-app .ncmp-public-calc .ncmp-range--carb input[type="range"]::-webkit-slider-runnable-track {
	background: linear-gradient(90deg, #f4c79a, #ea7a2f);
}

.ncmp-app .ncmp-public-calc .ncmp-range--protein input[type="range"]::-webkit-slider-runnable-track {
	background: linear-gradient(90deg, #c8ddbf, #5f8f52);
}

.ncmp-app .ncmp-public-calc .ncmp-range--fat input[type="range"]::-webkit-slider-runnable-track {
	background: linear-gradient(90deg, #f3b4ae, #d24b45);
}

.ncmp-app .ncmp-public-calc .ncmp-range--carb input[type="range"]::-moz-range-track {
	background: linear-gradient(90deg, #f4c79a, #ea7a2f);
}

.ncmp-app .ncmp-public-calc .ncmp-range--protein input[type="range"]::-moz-range-track {
	background: linear-gradient(90deg, #c8ddbf, #5f8f52);
}

.ncmp-app .ncmp-public-calc .ncmp-range--fat input[type="range"]::-moz-range-track {
	background: linear-gradient(90deg, #f3b4ae, #d24b45);
}

.ncmp-app .ncmp-public-calc .ncmp-range--carb input[type="range"]::-webkit-slider-thumb {
	border-color: #ea7a2f;
	background: radial-gradient(circle at 40% 35%, #fff 0 28%, #f4a15a 30%, #ea7a2f 100%);
}

.ncmp-app .ncmp-public-calc .ncmp-range--protein input[type="range"]::-webkit-slider-thumb {
	border-color: #5f8f52;
	background: radial-gradient(circle at 40% 35%, #fff 0 28%, #8fb583 30%, #5f8f52 100%);
}

.ncmp-app .ncmp-public-calc .ncmp-range--fat input[type="range"]::-webkit-slider-thumb {
	border-color: #d24b45;
	background: radial-gradient(circle at 40% 35%, #fff 0 28%, #e07a74 30%, #d24b45 100%);
}

.ncmp-app .ncmp-public-calc .ncmp-range--carb input[type="range"]::-moz-range-thumb {
	border-color: #ea7a2f;
	background: #ea7a2f;
}

.ncmp-app .ncmp-public-calc .ncmp-range--protein input[type="range"]::-moz-range-thumb {
	border-color: #5f8f52;
	background: #5f8f52;
}

.ncmp-app .ncmp-public-calc .ncmp-range--fat input[type="range"]::-moz-range-thumb {
	border-color: #d24b45;
	background: #d24b45;
}

.ncmp-app .ncmp-public-calc a.ncmp-cta h3 {
	font-size: calc(1.45rem + 1px);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.ncmp-app .ncmp-public-calc a.ncmp-cta p {
	font-size: calc(0.9375rem + 1px);
}

@media (max-width: 782px) {
	.ncmp-app .ncmp-public-calc a.ncmp-cta h3 {
		font-size: calc(1.125rem + 1px);
		letter-spacing: 0.02em;
	}

	.ncmp-app .ncmp-public-calc .ncmp-switch--presets {
		column-gap: 5px;
	}

	.ncmp-app .ncmp-public-calc .ncmp-switch--presets button {
		padding: 0 4px;
		font-size: 13px;
	}
}

@media (max-width: 700px) {
	.ncmp-app .ncmp-public-calc {
		width: 100vw;
		max-width: 100vw;
		margin-right: calc(50% - 50vw);
		margin-left: calc(50% - 50vw);
	}

	.ncmp-app .ncmp-public-calc > .ncmp-header,
	.ncmp-app .ncmp-public-calc > .ncmp-audience,
	.ncmp-app .ncmp-public-calc .ncmp-card--composer,
	.ncmp-app .ncmp-public-calc .ncmp-after-calc {
		margin-right: var(--wp--preset--spacing--40, 1rem);
		margin-left: var(--wp--preset--spacing--40, 1rem);
	}

	.ncmp-app .ncmp-public-calc .ncmp-card--composer {
		padding-right: var(--wp--preset--spacing--40, 1rem);
		padding-left: var(--wp--preset--spacing--40, 1rem);
	}
}

@media (max-width: 480px) {
	.ncmp-app .ncmp-public-calc .ncmp-ratio .ncmp-switch--presets {
		width: calc(100% + 44px);
		max-width: none;
		margin-right: -22px;
		margin-left: -22px;
		padding-right: 6px;
		padding-left: 6px;
	}
}

.ncmp-app .ncmp-public-calc .ncmp-micros .ncmp-plan-link {
	justify-content: flex-start;
	text-align: left;
}

.ncmp-app .ncmp-public-calc .ncmp-radio input {
	width: 18px;
	height: 18px;
	border: 1px solid #c9bfae;
	border-radius: 50%;
	background: linear-gradient(180deg, #e8e2d6, #fbf9f4);
	box-shadow: inset 0 2px 3px rgba(70, 55, 35, 0.16), 0 1px 0 #fff;
	accent-color: transparent;
	appearance: none;
}

.ncmp-app .ncmp-public-calc .ncmp-radio input:checked {
	border-color: #8eae82;
	background:
		radial-gradient(circle at 50% 50%, #3f5c3a 0 4.5px, transparent 5px),
		linear-gradient(180deg, #d7e6ce, #f4f8f1);
	box-shadow: inset 0 1px 2px rgba(38, 55, 43, 0.18), 0 1px 0 #fff;
}

.ncmp-app .ncmp-public-calc .ncmp-radio input:focus-visible {
	outline: 0;
	box-shadow: 0 0 0 2px #fafaf6, 0 0 0 4px #6e8b62;
}

.ncmp-app .ncmp-public-calc .ncmp-button--primary {
	border: 1px solid #a9c49a;
	background: linear-gradient(180deg, #e3f0da 0%, #c8ddbf 48%, #b7d0ad 100%);
	color: #26372b;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.85),
		0 2px 0 #9aaf8c,
		0 5px 10px rgba(62, 80, 48, 0.14);
}

.ncmp-app .ncmp-public-calc .ncmp-button--primary:active {
	transform: translateY(1px);
	box-shadow:
		inset 0 2px 4px rgba(38, 55, 43, 0.16),
		0 1px 0 #9aaf8c;
}

.ncmp-app .ncmp-public-calc .ncmp-result {
	border: 1px solid #ddd6c8;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0) 42%),
		linear-gradient(180deg, #fafaf6, #f3f1ea);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.9),
		0 1px 2px rgba(62, 48, 30, 0.06);
}

.ncmp-app .ncmp-public-calc .ncmp-result--energy {
	border-color: #ddd6c8;
}

.ncmp-app .ncmp-public-calc .ncmp-result--energy .ncmp-result__label,
.ncmp-app .ncmp-public-calc .ncmp-result--energy .ncmp-result__value {
	color: #26372b;
}

.ncmp-app .ncmp-public-calc .ncmp-result--protein {
	border-color: #c5d7b8;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 46%),
		linear-gradient(180deg, #e7f3df, #f7faf4);
}

.ncmp-app .ncmp-public-calc .ncmp-result--carb {
	border-color: #ead7bf;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 46%),
		linear-gradient(180deg, #f8ecdc, #fbf7f1);
}

.ncmp-app .ncmp-public-calc .ncmp-result--fat {
	border-color: #edd4d2;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 46%),
		linear-gradient(180deg, #f8e4e2, #fbf6f5);
}

.ncmp-app .ncmp-public-calc .ncmp-range input[type="range"]::-webkit-slider-runnable-track {
	height: 8px;
	background: linear-gradient(180deg, #ddd4c6, #f7f3eb);
	box-shadow: inset 0 2px 3px rgba(70, 55, 35, 0.18), 0 1px 0 rgba(255, 255, 255, 0.8);
}

.ncmp-app .ncmp-public-calc .ncmp-range input[type="range"]::-moz-range-track {
	height: 8px;
	background: linear-gradient(180deg, #ddd4c6, #f7f3eb);
	box-shadow: inset 0 2px 3px rgba(70, 55, 35, 0.18);
}

.ncmp-app .ncmp-public-calc .ncmp-range input[type="range"]::-webkit-slider-thumb {
	border-color: #8eae82;
	background: linear-gradient(180deg, #fff, #e7f0e1);
	box-shadow: inset 0 1px 0 #fff, 0 2px 3px rgba(62, 48, 30, 0.25);
}

.ncmp-app .ncmp-public-calc .ncmp-range input[type="range"]::-moz-range-thumb {
	border-color: #8eae82;
	background: linear-gradient(180deg, #fff, #e7f0e1);
	box-shadow: inset 0 1px 0 #fff, 0 2px 3px rgba(62, 48, 30, 0.25);
}

.ncmp-app .ncmp-public-calc .ncmp-range input[type="range"]:focus-visible {
	outline: 0;
}

.ncmp-app .ncmp-public-calc .ncmp-range input[type="range"]:focus-visible::-webkit-slider-thumb {
	box-shadow: 0 0 0 2px #fafaf6, 0 0 0 4px #6e8b62;
}

.ncmp-app .ncmp-public-calc a.ncmp-cta {
	border: 1px solid #8d3e39;
	background: linear-gradient(180deg, #c46a64 0%, #a84842 52%, #96423d 100%);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.28),
		0 2px 0 #7d332f,
		0 8px 16px rgba(120, 40, 36, 0.18);
}

.ncmp-app .ncmp-public-calc .ncmp-micro-list {
	border: 1px solid #ddd6c8;
	background: linear-gradient(180deg, #ece7dc, #fafaf6 30%);
	box-shadow: inset 0 2px 5px rgba(70, 55, 35, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.ncmp-app .ncmp-public-calc .ncmp-micro-list div {
	border-top-color: rgba(90, 72, 48, 0.1);
}

.ncmp-app .ncmp-public-calc .ncmp-micro-list dt,
.ncmp-app .ncmp-public-calc .ncmp-micro-list dd {
	color: #26372b;
}

@media (hover: hover) {
	.ncmp-app .ncmp-public-calc .ncmp-switch__opt span:hover,
	.ncmp-app .ncmp-public-calc .ncmp-switch button:hover {
		border-color: #cfc4b0;
	}

	.ncmp-app .ncmp-public-calc .ncmp-button--primary:hover {
		border-color: #9bb48c;
		background: linear-gradient(180deg, #edf6e6 0%, #d3e6c8 50%, #c2d8b4 100%);
		color: #26372b;
		box-shadow:
			inset 0 1px 0 rgba(255, 255, 255, 0.9),
			0 2px 0 #9aaf8c,
			0 7px 14px rgba(62, 80, 48, 0.16);
	}

	.ncmp-app .ncmp-public-calc .ncmp-result:hover {
		transform: none;
		box-shadow:
			inset 0 1px 0 rgba(255, 255, 255, 0.9),
			0 1px 2px rgba(62, 48, 30, 0.06);
	}

	.ncmp-app .ncmp-public-calc a.ncmp-cta:hover {
		background: linear-gradient(180deg, #cf756f 0%, #b2524c 54%, #9d463f 100%);
		color: #fff;
		box-shadow:
			inset 0 1px 0 rgba(255, 255, 255, 0.32),
			0 2px 0 #7d332f,
			0 12px 22px rgba(120, 40, 36, 0.22);
	}
}

.ncmp-app .ncmp-public-calc .ncmp-range--carb input[type="range"]::-webkit-slider-runnable-track {
	background: #ea7a2f;
	box-shadow: none;
}

.ncmp-app .ncmp-public-calc .ncmp-range--protein input[type="range"]::-webkit-slider-runnable-track {
	background: #5f8f52;
	box-shadow: none;
}

.ncmp-app .ncmp-public-calc .ncmp-range--fat input[type="range"]::-webkit-slider-runnable-track {
	background: #d24b45;
	box-shadow: none;
}

.ncmp-app .ncmp-public-calc .ncmp-range--carb input[type="range"]::-moz-range-track {
	background: #ea7a2f;
	box-shadow: none;
}

.ncmp-app .ncmp-public-calc .ncmp-range--protein input[type="range"]::-moz-range-track {
	background: #5f8f52;
	box-shadow: none;
}

.ncmp-app .ncmp-public-calc .ncmp-range--fat input[type="range"]::-moz-range-track {
	background: #d24b45;
	box-shadow: none;
}

.ncmp-app .ncmp-public-calc .ncmp-range--carb input[type="range"]::-webkit-slider-thumb {
	border-color: #c45e18;
	background: #ea7a2f;
}

.ncmp-app .ncmp-public-calc .ncmp-range--protein input[type="range"]::-webkit-slider-thumb {
	border-color: #3f6b36;
	background: #5f8f52;
}

.ncmp-app .ncmp-public-calc .ncmp-range--fat input[type="range"]::-webkit-slider-thumb {
	border-color: #a33a36;
	background: #d24b45;
}

.ncmp-app .ncmp-public-calc .ncmp-range--carb input[type="range"]::-moz-range-thumb {
	border-color: #c45e18;
	background: #ea7a2f;
}

.ncmp-app .ncmp-public-calc .ncmp-range--protein input[type="range"]::-moz-range-thumb {
	border-color: #3f6b36;
	background: #5f8f52;
}

.ncmp-app .ncmp-public-calc .ncmp-range--fat input[type="range"]::-moz-range-thumb {
	border-color: #a33a36;
	background: #d24b45;
}

body.ncmp-account-screen .entry-hero,
body.ncmp-plan-screen .entry-hero {
	display: none;
}

body.ncmp-account-screen .entry.content-bg,
body.ncmp-plan-screen .entry.content-bg {
	background: transparent;
	box-shadow: none;
}

body.ncmp-account-screen .content-wrap,
body.ncmp-plan-screen .content-wrap {
	padding-top: 0;
}

body.ncmp-account-screen .entry-content-wrap,
body.ncmp-plan-screen .entry-content-wrap {
	padding-top: 36px;
	padding-bottom: 48px;
}

.ncmp-account-page {
	max-width: 26rem;
	margin: 12px auto 48px;
	padding: 28px 28px 22px;
	border: 1px solid #e6dfd4;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 16px 40px rgba(36, 48, 40, 0.08);
	font-size: 16px;
}

.ncmp-account-page--settings {
	max-width: 40rem;
}

.ncmp-account-page--settings .ncmp-account-page__submit {
	width: auto;
	min-width: 11rem;
	justify-self: start;
}

.ncmp-auth__radio {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

.ncmp-auth__tabs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4px;
	margin-bottom: 22px;
	padding: 4px;
	border-radius: 12px;
	background: #f3efe8;
}

.ncmp-auth__tabs label {
	margin: 0;
	padding: 10px 8px;
	border-radius: 9px;
	color: #3d4a40;
	font-size: 15px;
	font-weight: 500;
	text-align: center;
	cursor: pointer;
}

#ncmp-auth-login:checked ~ .ncmp-auth__tabs label[for="ncmp-auth-login"],
#ncmp-auth-signup:checked ~ .ncmp-auth__tabs label[for="ncmp-auth-signup"] {
	background: #fff;
	color: #1d2b22;
	box-shadow: 0 1px 2px rgba(36, 48, 40, 0.12);
}

#ncmp-auth-login:checked ~ .ncmp-auth__panel--signup,
#ncmp-auth-signup:checked ~ .ncmp-auth__panel--login {
	display: none;
}

.ncmp-account-page__heading {
	margin: 0 0 6px;
	font-size: 1.35rem;
	font-weight: 500;
	letter-spacing: -0.02em;
}

.ncmp-account-page__saved {
	display: grid;
	grid-template-columns: minmax(8rem, 14rem) 1fr;
	gap: 6px 16px;
	margin: 0 0 20px;
}

.ncmp-account-page__saved dt {
	margin: 0;
	font-weight: 400;
}

.ncmp-account-page__saved dd {
	margin: 0;
}

.ncmp-account-page__notice,
.ncmp-account-page__lead,
.ncmp-account-page__hint {
	margin: 0 0 16px;
	color: #5c675f;
	font-size: 14px;
}

.ncmp-account-page__hint--center {
	margin-top: 14px;
	text-align: center;
}

.ncmp-account-page__notice {
	color: #8a3d32;
}

.ncmp-account-page__notice.is-success {
	color: #2d5a32;
}

.ncmp-account-page__form {
	display: grid;
	gap: 8px;
}

.ncmp-account-page__label {
	margin-top: 8px;
	font-weight: 400;
}

.ncmp-account-page__input {
	width: 100%;
	min-height: 46px;
	padding: 10px 12px;
	border: 1px solid #ddd4c6;
	border-radius: 10px;
	background: #fff;
	color: #1d2b22;
	font: inherit;
}

.ncmp-account-page__input:focus {
	border-color: #7d9a78;
	outline: 2px solid rgba(95, 143, 82, 0.25);
	outline-offset: 1px;
}

textarea.ncmp-account-page__input {
	min-height: 88px;
	resize: vertical;
}

.ncmp-account-page__submit,
.ncmp-account-page__login {
	width: 100%;
	margin-top: 8px;
	padding: 12px 16px;
	border: 0;
	border-radius: 10px;
	background: #2f4a34;
	color: #fff;
	font: inherit;
	font-weight: 500;
	text-decoration: none;
	cursor: pointer;
}

.ncmp-account-page__submit:hover,
.ncmp-account-page__login:hover {
	background: #243828;
}

.ncmp-plans {
	width: 100%;
	max-width: 1120px;
	margin: 20px auto 0;
}

.ncmp-plans__notice {
	margin: 0 0 16px;
	color: #6b4a32;
	font-size: 15px;
}

.ncmp-plans__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
	align-items: stretch;
}

.ncmp-plans__card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-height: 340px;
	padding: 28px 28px 24px;
	border: 1px solid #e4ddd2;
	border-top: 6px solid #c4a574;
	border-radius: 18px;
	background: #fffdf9;
	box-shadow: 0 16px 36px rgba(36, 48, 40, 0.08);
}

.ncmp-plans__card--month {
	background: #fffdf9;
	border-color: #eadfce;
	border-top-color: #c4a574;
}

.ncmp-plans__card--half {
	background: #243828;
	border-color: #243828;
	border-top-color: #8fb58a;
	color: #f7f4ef;
	box-shadow: 0 20px 40px rgba(36, 56, 40, 0.22);
}

.ncmp-plans__card--year {
	background: #f3f7f1;
	border-color: #d5e3d0;
	border-top-color: #5f8f52;
}

.ncmp-plans p.ncmp-plans__badge {
	margin: 0 0 18px;
	padding: 6px 12px;
	border-radius: 999px;
	background: #f3e6d4;
	color: #6b4a32;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.2;
}

.ncmp-plans .ncmp-plans__card--half p.ncmp-plans__badge {
	background: #f6f3ee;
	color: #243828;
}

.ncmp-plans__card--year .ncmp-plans__badge {
	background: #e3efe0;
	color: #2f4a34;
}

.ncmp-plans .ncmp-plans__card h3 {
	margin: 0;
	color: #1d2b22;
	font-size: 1.25rem;
	font-weight: 500;
	line-height: 1.3;
}

.ncmp-plans .ncmp-plans__card--half h3 {
	color: #fff;
}

.ncmp-plans p.ncmp-plans__was {
	margin: 22px 0 0;
	color: #8a8176;
	font-size: 1.05rem;
	line-height: 1;
	text-decoration: line-through;
}

.ncmp-plans .ncmp-plans__card--half p.ncmp-plans__was {
	color: #c9d4c6;
}

.ncmp-plans p.ncmp-plans__price {
	margin: 6px 0 0;
	color: #1d2b22;
	font-size: 2.75rem;
	font-weight: 500;
	letter-spacing: -0.03em;
	line-height: 1;
}

.ncmp-plans .ncmp-plans__card--half p.ncmp-plans__price {
	color: #fff;
}

.ncmp-plans p.ncmp-plans__every {
	margin: 10px 0 0;
	color: #5c675f;
	font-size: 15px;
}

.ncmp-plans .ncmp-plans__card--half p.ncmp-plans__every {
	color: #d7e0d4;
}

.ncmp-plans__card button {
	width: 100%;
	margin-top: auto;
	padding: 14px 16px;
	border: 0;
	border-radius: 12px;
	background: #2f4a34;
	color: #fff;
	font: inherit;
	font-size: 16px;
	font-weight: 500;
	cursor: pointer;
}

.ncmp-plans__card--half button {
	background: #f6f3ee;
	color: #243828;
}

.ncmp-plans__card button:hover {
	background: #243828;
}

.ncmp-plans .ncmp-plans__card--half button:hover,
.ncmp-plans .ncmp-plans__card--half button:focus,
.ncmp-plans .ncmp-plans__card--half button:focus-visible {
	background: #fff;
	color: #243828;
}

.ncmp-plans__card button:disabled {
	background: #d9d3c8;
	color: #5c675f;
	cursor: default;
}

@media (max-width: 782px) {
	.ncmp-plans {
		margin-top: 8px;
	}

	.ncmp-plans__grid {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.ncmp-plans__card {
		min-height: 0;
		padding: 22px 18px 18px;
	}

	.ncmp-plans p.ncmp-plans__badge {
		margin-bottom: 14px;
	}

	.ncmp-plans p.ncmp-plans__was {
		margin-top: 16px;
	}

	.ncmp-plans__price {
		font-size: 2.35rem;
	}

	.ncmp-plans__card button {
		margin-top: 22px;
	}
}
