.nke-df {
	--nke-green: #2a4744;
	--nke-green-soft: #d5ddd3;
	--nke-sel: #e9e9df;
	--nke-bg: #f7f2ea;
	--nke-card: #faf8f3;
	--nke-line: #dcd8cf;
	--nke-text: #1f2d2b;
	--nke-muted: #6b716f;
	--nke-err: #b3261e;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	padding: 28px 16px;
	container-type: inline-size;
	container-name: nke;
	background: var(--nke-bg);
	color: var(--nke-text);
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 14px;
	line-height: 1.5;
}
.nke-df *, .nke-df *::before, .nke-df *::after { box-sizing: inherit; }
.nke-df [hidden] { display: none !important; }

/* Progress tabs */
.nke-tabs {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	margin: 0;
	padding: 0;
	list-style: none;
	background: #fff;
	border: 1px solid var(--nke-line);
}
.nke-tab {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 0;
	padding: 14px 8px;
	font-size: 12.5px;
	color: var(--nke-muted);
	border-left: 1px solid var(--nke-line);
	white-space: nowrap;
}
.nke-tab__label { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.nke-tab:first-child { border-left: 0; }
.nke-tab__icon {
	display: inline-grid;
	place-items: center;
	width: 20px; height: 20px;
	border: 1px solid currentColor;
	border-radius: 50%;
	font-size: 10px;
	flex: none;
}
.nke-tab__check { display: none; }
.nke-tab.is-done { background: var(--nke-green-soft); color: var(--nke-green); }
.nke-tab.is-done .nke-tab__num { display: none; }
.nke-tab.is-done .nke-tab__check { display: block; }
.nke-tab.is-done[role="button"], .nke-tab.is-done { cursor: pointer; }
.nke-tab.is-current { background: var(--nke-green); color: #fff; }

/* Card */
.nke-card {
	margin-top: 14px;
	padding: 40px 28px 28px;
	background: var(--nke-card);
	border: 1px solid var(--nke-line);
	border-top: 6px solid var(--nke-green-soft);
}
.nke-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.nke-h {
	margin: 0 0 6px;
	font-size: 26px;
	line-height: 1.15;
	font-weight: 800;
	letter-spacing: -0.035em;
	color: var(--nke-green);
}
.nke-sub { margin: 0 0 28px; color: var(--nke-muted); font-size: 14px; }
.nke-step:focus { outline: none; }

/* Fields */
.nke-field { margin: 0 0 22px; padding: 0; border: 0; min-width: 0; }
.nke-label { display: block; margin: 0 0 8px; padding: 0; font-size: 13px; font-weight: 500; color: var(--nke-text); }
.nke-req { color: var(--nke-text); }
.nke-opt { margin-left: 4px; font-size: 11px; font-weight: 400; color: var(--nke-muted); }
.nke-opt--inline { font-size: 12px; }

.nke-input {
	display: block;
	width: 100%;
	max-width: 100%;
	padding: 12px 14px;
	font: inherit;
	color: var(--nke-text);
	background: #fff;
	border: 1px solid var(--nke-line);
	border-radius: 6px;
	transition: border-color .15s, box-shadow .15s;
}
.nke-input::placeholder { color: #8d928f; }
.nke-input:focus { outline: none; border-color: var(--nke-green); box-shadow: 0 0 0 3px rgba(42, 71, 68, .15); }
.nke-df .nke-input.is-invalid { border-color: var(--nke-err); }
.nke-textarea { resize: vertical; min-height: 110px; }
.nke-select {
	appearance: none;
	padding-right: 38px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%232a4744' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
}

.nke-hint { margin: 8px 0 0; font-size: 11.5px; color: var(--nke-muted); }
.nke-hint--tight { margin-top: -10px; margin-bottom: 8px; }
.nke-count { margin: 6px 0 0; text-align: right; font-size: 11.5px; color: var(--nke-muted); }
.nke-error { margin: 6px 0 0; font-size: 12.5px; color: var(--nke-err); }
.nke-error:empty { display: none; }
.nke-error--form { margin-top: 16px; font-size: 13.5px; }
.nke-rule { margin: 8px 0 24px; border: 0; border-top: 1px solid var(--nke-line); }
.nke-split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* Radio cards */
.nke-radios { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.nke-radio { position: relative; display: block; cursor: pointer; }
.nke-radio input { position: absolute; opacity: 0; }
.nke-radio__body {
	min-width: 0;
	display: flex; gap: 10px; align-items: flex-start;
	height: 100%; padding: 16px 14px;
	background: var(--nke-card);
	border: 1px solid var(--nke-line);
	transition: background .15s, border-color .15s;
}
.nke-radio__body strong { display: block; font-weight: 500; font-size: 13px; }
.nke-radio__body small { display: block; font-size: 11.5px; color: var(--nke-muted); }
.nke-radio__dot {
	flex: none; width: 13px; height: 13px; margin-top: 3px;
	border: 1px solid var(--nke-muted); border-radius: 50%;
	background: #fff;
}
.nke-radio input:checked + .nke-radio__body { background: var(--nke-sel); border-color: var(--nke-green); }
.nke-radio input:checked + .nke-radio__body .nke-radio__dot { border: 4px solid var(--nke-green); }
.nke-radio input:focus-visible + .nke-radio__body { outline: 2px solid var(--nke-green); outline-offset: 2px; }

/* Checkboxes */
.nke-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.nke-check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 13px; }
.nke-check input { position: absolute; opacity: 0; }
.nke-check__box {
	flex: none; width: 16px; height: 16px; margin-top: 1px;
	background: #fff; border: 1px solid var(--nke-muted); border-radius: 2px;
	display: grid; place-items: center;
}
.nke-check input:checked + .nke-check__box { background: var(--nke-green); border-color: var(--nke-green); }
.nke-check input:checked + .nke-check__box::after {
	content: ""; width: 8px; height: 4px; margin-top: -2px;
	border-left: 1.8px solid #fff; border-bottom: 1.8px solid #fff; transform: rotate(-45deg);
}
.nke-check input:focus-visible + .nke-check__box { outline: 2px solid var(--nke-green); outline-offset: 2px; }
.nke-check small { display: block; margin-top: 2px; font-size: 11.5px; color: var(--nke-muted); }
.nke-check--small { margin-top: 10px; font-size: 11.5px; color: var(--nke-muted); }

/* Photo drop */
.nke-drop {
	position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
	gap: 10px; min-height: 150px; padding: 20px; overflow: hidden;
	text-align: center; font-size: 12px; color: var(--nke-muted);
	background: #f5f0e8; border: 1px dashed #c9c4b8; cursor: pointer;
}
.nke-drop:hover, .nke-drop:focus-within { border-color: var(--nke-green); }
.nke-drop__input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.nke-drop__icon { color: var(--nke-green); }
.nke-drop__preview { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .35; }
.nke-drop__text, .nke-drop__icon { position: relative; }

/* Review */
.nke-rev { padding: 20px 0; border-top: 1px solid var(--nke-line); }
.nke-rev__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; margin-bottom: 12px; }
.nke-rev__title { margin: 0; font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.nke-rev__edit {
	padding: 4px 0; font: inherit; font-size: 11.5px; font-weight: 600; color: var(--nke-green);
	background: none; border: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px;
}
.nke-rev__body p { margin: 0 0 3px; font-size: 12.5px; color: #4b5351; word-break: break-word; }
.nke-rev__body p.is-strong { font-weight: 700; color: var(--nke-text); }
.nke-rev__body p.is-gap { margin-top: 12px; }
.nke-rev__body p.is-small { margin-top: 12px; font-size: 11px; color: var(--nke-muted); }
.nke-rev__photo { display: block; width: 72px; height: 72px; margin-bottom: 10px; object-fit: cover; border-radius: 4px; }

.nke-consent { margin: 14px 0 0; padding: 16px; background: var(--nke-card); border: 1px solid var(--nke-line); }
.nke-fine { margin: 22px 0 0; font-size: 11px; color: var(--nke-muted); }
.nke-fine a { color: var(--nke-green); }

/* Actions */
.nke-actions {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
	margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--nke-line);
}
.nke-stepof { font-size: 12px; color: var(--nke-muted); margin-right: auto; }
.nke-back {
	display: inline-flex; align-items: center; gap: 8px; margin-right: auto; order: -1;
	padding: 8px 4px; font: inherit; font-size: 12.5px; color: var(--nke-text);
	background: none; border: 0; cursor: pointer;
}
.nke-back:hover { color: var(--nke-green); }
.nke-btn {
	display: inline-flex; align-items: center; gap: 12px;
	padding: 15px 28px; font: inherit; font-size: 13px; font-weight: 600; color: #fff;
	background: var(--nke-green); border: 1px solid var(--nke-green); border-radius: 999px; cursor: pointer;
	transition: background .15s, transform .1s;
}
.nke-btn:hover { background: #1e3633; }
.nke-btn:active { transform: translateY(1px); }
.nke-btn:focus-visible, .nke-back:focus-visible, .nke-rev__edit:focus-visible { outline: 2px solid var(--nke-green); outline-offset: 3px; }
.nke-btn[disabled] { opacity: .6; cursor: progress; }
.nke-df.has-back .nke-stepof { display: none; }

.nke-success { padding: 12px 0 28px; }
.nke-df.is-done .nke-actions { display: none; }

/* Same small-width layout as the original design, driven by the container's width. */
@container nke (max-width: 560px) {
	.nke-card { padding: 28px 18px 22px; }
	.nke-tab__label { display: none; }
	.nke-tab.is-current .nke-tab__label { display: inline; }
	.nke-tabs { grid-template-columns: 1fr 1fr 1fr 2fr; }
	.nke-radios, .nke-checks, .nke-split { grid-template-columns: 1fr; }
	.nke-h { font-size: 23px; }
}

/* Fallback for browsers without container query support. */
@supports not (container-type: inline-size) {
	@media (max-width: 560px) {
		.nke-card { padding: 28px 18px 22px; }
		.nke-tab__label { display: none; }
		.nke-tab.is-current .nke-tab__label { display: inline; }
		.nke-tabs { grid-template-columns: 1fr 1fr 1fr 2fr; }
		.nke-radios, .nke-checks, .nke-split { grid-template-columns: 1fr; }
		.nke-h { font-size: 23px; }
	}
}

@media (prefers-reduced-motion: reduce) {
	.nke-df * { transition: none !important; }
}

/* Trim stray space at the bottom of each step and keep hidden inputs from affecting layout. */
.nke-check { position: relative; }
.nke-step > :last-child { margin-bottom: 0; }
.nke-card { margin-bottom: 0; }
.nke-hp { position: absolute; top: 0; left: -9999px; margin: 0; padding: 0; }

/* Services repeater */
.nke-sub--tight { margin: 0 0 18px; }
.nke-svc { margin-bottom: 4px; }
.nke-svc__remove {
	margin: 14px 0 22px; padding: 0; font: inherit; font-size: 12.5px; color: var(--nke-green);
	background: none; border: 0; cursor: pointer; display: block;
}
.nke-svc__remove:hover { text-decoration: underline; }
.nke-svc__remove:focus-visible, .nke-add:focus-visible { outline: 2px solid var(--nke-green); outline-offset: 3px; }
.nke-add {
	display: block; width: 100%; padding: 15px 20px; font: inherit; font-size: 13px; font-weight: 600;
	color: var(--nke-text); background: transparent; border: 1px solid var(--nke-line); border-radius: 999px; cursor: pointer;
	transition: border-color .15s, background .15s;
}
.nke-add:hover { border-color: var(--nke-green); background: #fff; }
.nke-add[disabled] { opacity: .5; cursor: not-allowed; }
