/* Outage Kits builder. Tokens mirror docs/design/tokens. */

.okb {
	--teal-900: #123B38;
	--teal-800: #154643;
	--teal-700: #1D5C57;
	--teal-500: #3F7D76;
	--teal-300: #9CC0B9;
	--teal-100: #E1EDEA;
	--amber: #F0B24A;
	--amber-600: #E0A43A;
	--amber-ink: #2E2005;
	--paper: #F6F2EA;
	--surface: #FFFDF8;
	--sand-100: #F1ECE2;
	--sand-200: #E3DCCD;
	--sand-300: #D8D0C0;
	--sand-400: #BDB3A0;
	--ink: #1E2B2A;
	--ink-2: #2B3736;
	--ink-3: #4F5B59;
	--ink-4: #5E6A68;
	--green: #2F855A;
	--green-bg: #E6F2EA;
	--gutter: clamp(20px, 3.2vw, 40px);
	--card-w: 168px;
	--card-h: 270px;
	--card-gap: 12px;
	--pin: 56px;
	--lead: 1;
	--ease: cubic-bezier(.2, .8, .2, 1);
	--display: Nunito, ui-rounded, system-ui, sans-serif;
	font-family: Figtree, system-ui, sans-serif;
	color: var(--ink-2);
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}
.okb *, .okb *::before, .okb *::after { box-sizing: border-box; }
.okb button { font: inherit; color: inherit; }
.okb h1, .okb h2, .okb h3, .okb h4 { font-family: var(--display); font-weight: 800; letter-spacing: -.02em; color: var(--ink); margin: 0; }
.okb p { margin: 0; }
.okb-num { font-variant-numeric: tabular-nums; }
.okb a { color: var(--teal-700); }

/* Boot state ---------------------------------------------------------------- */
.okb-boot { min-height: 60vh; display: grid; place-content: center; justify-items: center; gap: 12px; color: var(--ink-3); }

/* Power O ------------------------------------------------------------------- */
.okb-o { display: block; flex: none; overflow: visible; }
.okb-o path { fill: none; stroke-linecap: round; stroke-width: 10; }
.okb-o__track { stroke: var(--sand-200); }
.okb-o__ring { stroke: var(--teal-700); transition: stroke-dasharray .6s var(--ease); }
.okb-o__line { stroke: var(--sand-400); transition: stroke .3s; }
.okb-o.is-lit .okb-o__line { stroke: var(--amber); }
.okb-o--current .okb-o__track { display: none; }
.okb-o--current .okb-o__ring { stroke-width: 12; }
.okb-o--current .okb-o__line { stroke-width: 12; }
.okb-o--loading .okb-o__track { stroke: rgba(255, 255, 255, .25); }
.okb-o--loading .okb-o__ring { stroke-dasharray: 22 100; animation: okb-spin 1.1s linear infinite; transform-origin: 50px 50px; }
.okb-o--loading .okb-o__line { stroke: var(--amber); animation: okb-pulse 1.1s ease-in-out infinite; }
.okb-boot .okb-o { width: 56px; height: 56px; }
.okb-boot__title { font-size: clamp(28px, 3.4vw, 38px); text-align: center; }
.okb-boot__lede { max-width: 34em; text-align: center; font-size: 17px; line-height: 1.5; margin: 0 0 8px !important; }
@keyframes okb-spin { to { transform: rotate(360deg); } }
@keyframes okb-pulse { 50% { opacity: .35; } }

/* Buttons and links ----------------------------------------------------------- */
.okb-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 0 22px;
	border: 0;
	border-radius: 8px;
	background: var(--teal-700);
	color: #fff !important;
	font-weight: 700 !important;
	font-size: 16px;
	text-decoration: none;
	cursor: pointer;
	transition: background .2s;
}
.okb-btn:hover { background: var(--teal-800); }
.okb-btn--block { width: 100%; }
.okb-btn--big { min-height: 56px; font-size: 17px; padding: 0 28px; border-radius: 10px; }
.okb-btn--small { min-height: 40px; padding: 0 14px; font-size: 14px; }
.okb-btn--amber { background: var(--amber); color: var(--amber-ink) !important; }
.okb-btn--amber:hover { background: #F4C26A; }
.okb-btn--ghost { background: var(--surface); color: var(--ink) !important; border: 1px solid var(--sand-400); }
.okb-btn--ghost:hover { background: var(--sand-100); }
.okb-link {
	background: none;
	border: 0;
	padding: 0;
	color: var(--teal-700) !important;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
	font-size: inherit;
}
.okb-link--muted { color: var(--ink-4) !important; font-weight: 500; }
.okb-round {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid var(--sand-300);
	background: var(--surface);
	font-size: 22px;
	line-height: 1;
	display: grid;
	place-items: center;
	cursor: pointer;
	color: var(--ink);
	box-shadow: 0 2px 6px rgba(30, 43, 42, .08);
	transition: opacity .2s;
}
.okb-round:disabled { opacity: .3; cursor: default; }
/* Arrows on the product carousels and tip pager: bigger and heavier so they don't get lost. */
.okb-round--nav {
	width: 52px;
	height: 52px;
	border: 2px solid var(--teal-700);
	color: var(--teal-700);
	box-shadow: 0 4px 12px rgba(30, 43, 42, .16);
	transition: opacity .2s, background .2s, color .2s;
}
.okb-round--nav:not(:disabled):hover { background: var(--teal-700); color: #fff; }
.okb-chev { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.okb :focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

.okb-marker { background: linear-gradient(transparent 60%, var(--amber) 60% 88%, transparent 88%); padding: 0 .06em; }

/* Stage bar --------------------------------------------------------------- */
.okb-stages {
	background: var(--surface);
	border-bottom: 1px solid var(--sand-200);
	box-shadow: 0 8px 18px -14px rgba(30, 43, 42, .35);
	padding: 16px max(var(--gutter), calc((100% - 1200px) / 2)) 14px;
	display: grid;
	grid-template-columns: 120px minmax(0, 1fr);
	align-items: center;
	gap: 16px;
	position: relative;
	z-index: 2;
}
.okb-stages__where { display: flex; flex-direction: column; gap: 2px; }
.okb-stages__where span { font-size: 13px; color: var(--ink-4); }
.okb-stages__where strong { font-size: 16px; color: var(--ink); }
.okb-stages__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(var(--n), minmax(0, 1fr));
}
.okb-stages__list li { position: relative; }
.okb-stages__list li + li::before {
	content: "";
	position: absolute;
	top: 16px;
	right: 50%;
	width: 100%;
	height: 3px;
	background: var(--sand-200);
	z-index: 0;
}
.okb-stages__list li.is-done + li::before,
.okb-stages__list li.is-done + li.is-current::before { background: var(--teal-300); }
.okb-stages__list button {
	position: relative;
	z-index: 1;
	width: 100%;
	background: none;
	border: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	cursor: pointer;
}
.okb-stages__dot {
	width: 31px;
	height: 31px;
	border-radius: 50%;
	border: 2px solid #C9BFAC;
	background: var(--surface);
	display: grid;
	place-items: center;
	font-size: 13px;
	font-weight: 600;
	color: var(--ink-4);
}
.is-done .okb-stages__dot { background: var(--teal-700); border-color: var(--teal-700); color: #fff; }
.is-current .okb-stages__dot { border: 0; background: var(--surface); width: 33px; height: 33px; }
.okb-stages__label { font-size: 14px; color: var(--ink-3); text-align: center; line-height: 1.25; }
.is-current .okb-stages__label { color: var(--ink); font-weight: 700; }
.okb-stages__list button:hover .okb-stages__label { color: var(--ink); }

/* Page wrappers ---------------------------------------------------------- */
.okb-setup,
.okb-step,
.okb-review { max-width: calc(1200px + 2 * var(--gutter)); margin: 0 auto; padding: 32px var(--gutter) 72px; }
.okb-step__head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 8px 24px;
	flex-wrap: wrap;
	margin-bottom: 20px;
}
.okb-step__head h1 { font-size: 36px; line-height: 1.1; }
.okb-step__head p { color: var(--ink-3); margin-top: 6px; }
.okb-step__hh { font-size: 14px; color: var(--ink-3); }
.okb-body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 40px;
	align-items: start;
}
.okb-main { display: flex; flex-direction: column; gap: 24px; min-width: 0; }

/* Intro panel -------------------------------------------------------------- */
.okb-intro {
	background: var(--surface);
	border: 1px solid var(--sand-200);
	border-radius: 12px;
	display: grid;
	grid-template-columns: 180px minmax(0, 1fr);
	overflow: hidden;
}
.okb-intro__art { background: #E4EEEB; min-height: 200px; position: relative; }
.okb-intro__art svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.okb-intro__main { padding: 18px 24px 14px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.okb-intro__viewport { overflow: hidden; touch-action: pan-y; transition: height .35s var(--ease); }
.okb-intro__track { display: flex; align-items: flex-start; transition: transform .45s var(--ease); }
.okb-intro__main > .okb-pager { margin-top: auto; }
.okb-slide { flex: 0 0 100%; min-width: 0; padding-right: 8px; display: flex; flex-direction: column; gap: 8px; }
.okb-slide h3 { font-size: 20px; letter-spacing: -.01em; }
.okb-slide p { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.okb-slide__list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.okb-slide__list li { position: relative; padding-left: 22px; line-height: 1.5; }
.okb-slide__list li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--teal-500); }
.okb-slide__source { font-size: 12px !important; color: var(--ink-4) !important; }
.okb-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; margin: 4px 0 0; }
.okb-stats div { border-top: 3px solid var(--teal-100); padding-top: 10px; }
.okb-stats dt { font-family: var(--display); font-weight: 800; font-size: 30px; color: var(--teal-700); letter-spacing: -.02em; }
.okb-stats dd { margin: 4px 0 0; font-size: 14px; line-height: 1.4; color: var(--ink-3); }

.okb-pager {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	border-top: 1px solid #EDE7DB;
	padding-top: 10px;
}
.okb-intro .okb-round--nav { width: 44px; height: 44px; }
.okb-intro .okb-chev { width: 24px; height: 24px; }
.okb-pager__dots { display: flex; align-items: center; gap: 8px; }
.okb-pager__dots button {
	width: 8px;
	height: 8px;
	border-radius: 999px;
	border: 0;
	padding: 0;
	background: #CFC5B2;
	cursor: pointer;
	transition: width .3s var(--ease), background .3s;
	position: relative;
}
.okb-pager__dots button::after { content: ""; position: absolute; inset: -10px -4px; }
.okb-pager__dots button.is-on { width: 28px; background: var(--teal-700); }
.okb-pager__count { font-size: 13px; color: var(--ink-4); margin-left: 6px; }
.okb-pager__nav { display: flex; gap: 8px; }

/* Calculators ------------------------------------------------------------- */
.okb-calc { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 24px; align-items: end; }
.okb-calc__inputs { grid-column: 1; display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
.okb-calc__inputs .okb-seg { grid-column: 1 / -1; }
.okb-calc__inputs--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.okb-calc__inputs--4 .okb-stepper { grid-template-columns: 32px minmax(24px, 1fr) 32px; }
@media (max-width: 560px) { .okb-calc__inputs--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.okb-calc__total { grid-column: 2; display: flex; flex-direction: column; align-items: flex-start; }
.okb-calc__total strong { font-size: 36px; line-height: 1; font-weight: 700; color: var(--teal-700); font-family: Figtree, system-ui, sans-serif; letter-spacing: -.01em; }
.okb-calc__total span { font-size: 13px; color: var(--ink-4); margin-top: 4px; }
.okb-calc__working { grid-column: 1 / -1; font-size: 14px !important; line-height: 1.5 !important; color: var(--ink-3) !important; }
.okb-calc--power { grid-template-columns: minmax(0, 1fr); }
.okb-calc--power .okb-power-result { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: start; }
.okb-calc--power .okb-power-result > div:last-child { display: flex; flex-direction: column; gap: 12px; }
.okb-calc--power .okb-calc__total, .okb-calc--power .okb-calc__working { grid-column: auto; }

.okb-stepper-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.okb-stepper-field__label { font-size: 13px; color: var(--ink-3); line-height: 1.3; }
.okb-stepper-field__hint { font-size: 12px; color: var(--ink-4); margin-top: -2px; }
.okb-stepper {
	display: grid;
	grid-template-columns: 40px minmax(28px, 1fr) 40px;
	align-items: center;
	height: 44px;
	border: 1px solid var(--sand-300);
	border-radius: 8px;
	background: var(--surface);
	max-width: 140px;
}
.okb-stepper button { height: 100%; border: 0; background: none; font-size: 18px; cursor: pointer; color: var(--ink); }
.okb-stepper button:disabled { color: var(--sand-400); cursor: default; }
.okb-stepper output { text-align: center; font-weight: 700; font-size: 16px; }

.okb-devices { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 6px 14px; }
.okb-devices label {
	display: grid;
	grid-template-columns: 18px minmax(0, 1fr) auto;
	gap: 8px;
	align-items: center;
	padding: 7px 10px;
	border-radius: 8px;
	border: 1px solid var(--sand-200);
	font-size: 14px;
	cursor: pointer;
	background: var(--surface);
}
.okb-devices label.is-on { border-color: var(--teal-300); background: #F3F8F6; }
.okb-devices input { accent-color: var(--teal-700); width: 16px; height: 16px; margin: 0; }
.okb-devices__wh { color: var(--ink-4); font-size: 13px; }

/* Segmented options --------------------------------------------------------- */
.okb-seg { border: 0; padding: 0; margin: 0; min-width: 0; }
.okb-seg legend { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 10px; padding: 0; }
.okb-calc .okb-seg legend { font-size: 13px; font-weight: 400; color: var(--ink-3); margin-bottom: 6px; }
.okb-seg__opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.okb-seg__opt {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 12px 14px;
	border: 1px solid var(--sand-300);
	border-radius: 10px;
	background: var(--surface);
	cursor: pointer;
	transition: border-color .2s, box-shadow .2s;
}
.okb-seg__opt input { position: absolute; opacity: 0; pointer-events: none; }
.okb-seg__opt:has(input:focus-visible) { outline: 3px solid var(--amber); outline-offset: 2px; }
.okb-seg__opt.is-on { border: 2px solid var(--teal-700); padding: 11px 13px; background: #EEF5F3; box-shadow: 0 8px 20px -10px rgba(29, 92, 87, .45); }
.okb-seg__opt.is-on:has(.okb-seg__icon)::after {
	content: "";
	position: absolute;
	top: 14px;
	right: 14px;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--teal-700) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 18px no-repeat;
}
.okb-seg__title { font-weight: 700; color: var(--ink); }
.okb-seg__note { font-size: 13px; color: var(--ink-4); }
.okb-seg__icon { color: var(--teal-500); line-height: 0; margin-bottom: 10px; }
.okb-seg__opt.is-on .okb-seg__icon { color: var(--teal-700); }
.okb-calc .okb-seg__opt { padding: 8px 12px; }
.okb-calc .okb-seg__opt.is-on { padding: 7px 11px; }

/* Sliders (days, prepper level) ---------------------------------------------- */
.okb-slider__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.okb-slider__label { font-size: 17px; font-weight: 700; color: var(--ink); }
.okb-slider__value { font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--teal-700); white-space: nowrap; }
.okb-range {
	-webkit-appearance: none;
	appearance: none;
	display: block;
	width: 100%;
	height: 32px;
	margin: 0;
	background: transparent;
	cursor: pointer;
}
.okb-range::-webkit-slider-runnable-track {
	height: 8px;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--teal-700) var(--pct, 0%), var(--sand-200) var(--pct, 0%));
}
.okb-range::-moz-range-track { height: 8px; border-radius: 999px; background: var(--sand-200); }
.okb-range::-moz-range-progress { height: 8px; border-radius: 999px; background: var(--teal-700); }
.okb-range::-webkit-slider-thumb {
	-webkit-appearance: none;
	width: 28px;
	height: 28px;
	margin-top: -10px;
	border-radius: 50%;
	background: var(--surface);
	border: 3px solid var(--teal-700);
	box-shadow: 0 2px 8px rgba(30, 43, 42, .25);
}
.okb-range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--surface); border: 3px solid var(--teal-700); box-shadow: 0 2px 8px rgba(30, 43, 42, .25); }
.okb-range:focus-visible { outline: none; }
.okb-range:focus-visible::-webkit-slider-thumb { outline: 3px solid var(--amber); outline-offset: 2px; }
.okb-range:focus-visible::-moz-range-thumb { outline: 3px solid var(--amber); outline-offset: 2px; }
.okb-slider__marks { position: relative; height: 20px; font-size: 13px; color: var(--ink-4); }
.okb-slider__marks span { position: absolute; top: 0; left: calc(14px + (100% - 28px) * var(--p)); transform: translateX(-50%); }
.okb-slider__marks span.is-on { color: var(--teal-700); font-weight: 700; }
.okb-slider__note { font-size: 15px; color: var(--ink-3); margin-top: 6px !important; }
.okb-level__stops { list-style: none; margin: 4px 0 0; padding: 0; position: relative; min-height: 38px; }
.okb-level__stops li { position: absolute; top: 0; left: calc(14px + (100% - 28px) * var(--p)); transform: translateX(-50%); max-width: 23%; text-align: center; }
.okb-level__stops li:first-child { left: 0; transform: none; text-align: left; }
.okb-level__stops li:last-child { left: auto; right: 0; transform: none; text-align: right; }
.okb-level__stops button { background: none; border: 0; padding: 0; font-size: 14px; line-height: 1.25; color: var(--ink-4); cursor: pointer; }
.okb-level__stops button.is-on { color: var(--ink); font-weight: 700; }
.okb-level__card { margin-top: 10px; background: var(--teal-100); border-radius: 10px; padding: 14px 16px; }
.okb-level__card strong { font-family: var(--display); font-weight: 800; font-size: 18px; color: var(--ink); }
.okb-level__card p { font-size: 15px; line-height: 1.5; color: var(--ink-2); margin-top: 2px !important; }
.okb-ready { display: flex; flex-direction: column; gap: 32px; }

/* Step questions: one tap decides whether the heavier items are needed ------- */
.okb-q {
	background: var(--surface);
	border: 1px solid var(--sand-200);
	border-left: 4px solid var(--amber);
	border-radius: 12px;
	padding: 18px 20px;
}
.okb-q__text { font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -.01em; color: var(--ink); margin-bottom: 12px !important; }
.okb-q__opts { display: flex; flex-wrap: wrap; gap: 10px; }
.okb-q__opt {
	position: relative;
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	padding: 0 20px;
	border: 2px solid var(--sand-300);
	border-radius: 999px;
	background: var(--surface);
	font-weight: 700;
	font-size: 15px;
	color: var(--ink);
	cursor: pointer;
	transition: background .2s, border-color .2s, color .2s;
}
.okb-q__opt:hover { border-color: var(--teal-500); }
.okb-q__opt input { position: absolute; opacity: 0; pointer-events: none; }
.okb-q__opt.is-on { background: var(--teal-700); border-color: var(--teal-700); color: #fff; }
.okb-q__opt:has(input:focus-visible) { outline: 3px solid var(--amber); outline-offset: 2px; }
.okb-q__note { margin-top: 12px !important; font-size: 15px; line-height: 1.5; color: var(--ink-3); }

/* Rows above the household's level: small product cards, one tap to add ------ */
.okb-more { background: #FBF4E6; border: 1px solid #EED6AC; border-radius: 14px; padding: 20px 22px 22px; }
.okb-more__head h3 { font-size: 21px; }
.okb-more__head p { font-size: 15px; color: var(--ink-3); margin-top: 4px !important; }
.okb-more__list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.okb-more__item {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	padding: 10px;
	border: 1px solid var(--sand-200);
	border-radius: 10px;
	background: var(--surface);
	text-align: left;
	cursor: pointer;
	transition: border-color .2s, box-shadow .2s;
}
.okb-more__item:hover { border-color: var(--teal-500); box-shadow: 0 8px 20px -12px rgba(29, 92, 87, .45); }
.okb-more__img { width: 100%; height: 76px; border-radius: 6px; background: #fff; display: grid; place-items: center; overflow: hidden; margin-bottom: 4px; }
.okb-more__img img { max-width: 100%; max-height: 70px; object-fit: contain; }
.okb-more__name { font-size: 15px; font-weight: 700; line-height: 1.25; color: var(--ink); }
.okb-more__price { font-size: 14px; color: var(--ink-3); }
.okb-more__add { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 700; color: var(--teal-700); }

/* Rows -------------------------------------------------------------------- */
.okb-rows { border-top: 1px solid var(--sand-200); }
.okb-rows > div { border-bottom: 1px solid var(--sand-200); }
.okb-row { padding: 6px 0 10px; }
.okb-line {
	display: grid;
	grid-template-columns: 190px minmax(0, 1fr);
	gap: 16px;
	align-items: start;
	padding: 14px 0 4px;
}
.okb-line + .okb-line { border-top: 1px dashed var(--sand-200); }
.okb-line__label { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; min-width: 0; }
.okb-line__label h4 { font-size: 21px; line-height: 1.2; }
.okb-line__need { font-size: 16px; line-height: 1.4; color: var(--ink-3); }
.okb-line__need strong { color: var(--ink); font-weight: 700; }
.okb-line__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; font-size: 15px; margin-top: 2px; }
.okb-line__noopt { padding: 22px; border-radius: 10px; background: var(--sand-100); font-size: 14px; color: var(--ink-3); }

/* Carousel ---------------------------------------------------------------- */
.okb-carousel { position: relative; min-width: 0; }
.okb-carousel__viewport {
	position: relative;
	height: calc(var(--card-h) + 22px);
	overflow: hidden;
	touch-action: pan-y;
	/* Whole cards only: from --pin to the end of the third card. Beyond that is only slivers. */
	--okb-show-end: calc(var(--pin) + 3 * var(--card-w) + 2 * var(--card-gap));
	-webkit-mask-image: linear-gradient(90deg, transparent calc(var(--pin) - 10px), #000 calc(var(--pin) - 2px), #000 calc(var(--okb-show-end) + 2px), transparent calc(var(--okb-show-end) + 10px));
	mask-image: linear-gradient(90deg, transparent calc(var(--pin) - 10px), #000 calc(var(--pin) - 2px), #000 calc(var(--okb-show-end) + 2px), transparent calc(var(--okb-show-end) + 10px));
}
.okb-carousel__track {
	position: absolute;
	top: 10px;
	left: 0;
	display: flex;
	gap: var(--card-gap);
	align-items: flex-start;
	transform: translateX(calc(var(--pin) + (var(--lead) - var(--idx)) * (var(--card-w) + var(--card-gap))));
	transition: transform .42s var(--ease);
	will-change: transform;
}
.okb-carousel__slot { flex: none; width: var(--card-w); }
.okb-carousel__prev, .okb-carousel__next { position: absolute; top: calc(50% - 26px); z-index: 3; }
.okb-carousel__prev { left: 0; }
.okb-carousel__next { right: 0; }

.okb-card {
	position: relative;
	width: var(--card-w);
	height: var(--card-h);
	border: 1px solid var(--sand-200);
	border-radius: 10px;
	background: var(--surface);
	padding: 9px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	text-align: left;
	cursor: pointer;
	opacity: .72;
	transition: opacity .25s, border-color .25s, box-shadow .25s, background .25s;
}
.okb-card:hover { opacity: .92; }
.okb-card.is-selected {
	opacity: 1;
	border: 2px solid var(--teal-700);
	padding: 8px;
	box-shadow: 0 8px 20px -10px rgba(29, 92, 87, .45);
	cursor: default;
}
.okb-card--shop, .okb-card--have {
	opacity: .45;
	align-items: center;
	justify-content: center;
	gap: 10px;
	text-align: center;
	background: #F4F1EA;
}
.okb-card--have.is-selected { background: #EAF3EE; cursor: pointer; }
.okb-card--shop.is-selected { background: #FBF4E6; border-color: #8A6A2E; cursor: pointer; }
.okb-card__label { font-size: 14px; color: var(--ink-3); line-height: 1.35; padding: 0 8px; }
.okb-card.is-selected .okb-card__label { color: var(--ink); font-weight: 600; }
.okb-card__tick {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: 3px solid var(--green);
	color: var(--green);
	display: grid;
	place-items: center;
}
.okb-card__tick svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.okb-card__bag {
	width: 34px;
	height: 38px;
	margin-top: 10px;
	border: 3px solid #8A6A2E;
	border-radius: 4px 4px 8px 8px;
	position: relative;
}
.okb-card__bag::before {
	content: "";
	position: absolute;
	left: 50%;
	top: -12px;
	width: 16px;
	height: 13px;
	margin-left: -8px;
	border: 3px solid #8A6A2E;
	border-bottom: 0;
	border-radius: 7px 7px 0 0;
}
.okb-card__hit {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: transparent;
	border: 0;
	border-radius: 10px;
	cursor: pointer;
}
.is-selected > .okb-card__hit { cursor: default; }
.okb-card__img {
	height: 104px;
	flex: none;
	border-radius: 6px;
	background: #fff;
	display: grid;
	place-items: center;
	overflow: hidden;
	margin-bottom: 4px;
}
.okb-card__img img { max-width: 100%; max-height: 98px; object-fit: contain; }
.okb-card__ph { width: 24px; height: 40px; border-radius: 6px; background: var(--teal-300); }
/* The product name is the Amazon link; it sits above the card's select button. */
.okb a.okb-card__name {
	position: relative;
	z-index: 2;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--ink);
	text-decoration: none;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 39px;
}
.okb a.okb-card__name:hover { text-decoration: underline; text-underline-offset: 2px; color: var(--teal-800); }
.okb-card__spec { font-size: 13px; color: var(--ink-4); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.okb-card__fit { align-self: flex-start; font-size: 11px; font-weight: 700; color: var(--green); background: var(--green-bg); border-radius: 4px; padding: 1px 6px; white-space: nowrap; }
.okb-card__fit.is-partial { color: #7A5310; background: #FCF1DE; }
.okb-card__price { margin-top: auto; font-size: 18px; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.okb-card__price small { font-size: 13px; font-weight: 500; color: var(--ink-4); letter-spacing: 0; }
.okb-card__qty {
	position: relative;
	z-index: 2;
	margin-top: 6px;
	height: 36px;
	border-radius: 8px;
	background: var(--teal-700);
	color: #fff;
	display: grid;
	grid-template-columns: 44px 1fr 44px;
	align-items: center;
	flex: none;
}
.okb-card__qty button { height: 44px; margin: -4px 0; border: 0; background: none; color: #fff; font-size: 18px; cursor: pointer; }
.okb-card__qty button:disabled { opacity: .4; cursor: default; }
.okb-card__qty output { text-align: center; font-weight: 700; }

/* Prompts ------------------------------------------------- */
.okb-prompt {
	margin: 8px 0 6px 206px;
	padding: 12px 14px;
	border-radius: 10px;
	background: var(--teal-100);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 16px;
	font-size: 14px;
	color: var(--ink);
}
.okb-prompt__actions { display: flex; align-items: center; gap: 14px; }

/* End of a step: a clear card with the one button that moves on. */
.okb-step__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px 24px;
	margin-top: 8px;
	padding: 22px 24px;
	background: var(--teal-100);
	border-radius: 14px;
}
.okb-step__done { min-width: 0; flex: 1 1 260px; }
.okb-step__done p { font-size: 15px; line-height: 1.45; color: var(--ink-3); }
.okb-step__done strong { font-family: var(--display); font-weight: 800; font-size: 19px; color: var(--ink); }
.okb-step__count { font-size: 13px !important; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--teal-700) !important; margin-bottom: 4px !important; }
.okb-step__foot .okb-btn { flex: none; }
.okb-step__guide { font-size: 15px; }
.okb-step__guide a { font-weight: 600; text-underline-offset: 3px; }

/* Send to Amazon (review page). */
.okb-send {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px 28px;
	margin-bottom: 28px;
	padding: 24px 28px;
	border-radius: 14px;
	background: var(--teal-800);
	color: #E1EDEA;
}
.okb-send h2 { color: #fff; font-size: 26px; }
.okb-send__text { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.okb-send__text p { font-size: 16px; line-height: 1.5; }
.okb-send__text strong { color: #fff; }
.okb-send a:not(.okb-btn) { color: var(--amber); font-weight: 600; }
.okb-send .okb-btn { flex: none; }
.okb-send.is-sent { background: var(--surface); color: var(--ink-2); border: 2px solid var(--teal-700); }
.okb-send.is-sent h2 { color: var(--ink); }
.okb-send.is-sent .okb-send__text strong { color: var(--ink); }
.okb-send.is-sent a:not(.okb-btn) { color: var(--teal-700); }
.okb-send__again { font-size: 14px !important; color: var(--ink-4); }
.okb-send__admin { font-size: 14px !important; background: #FCF1DE; color: #5C3F0B; border-radius: 8px; padding: 8px 12px; margin-top: 4px !important; }
.okb-send__admin a { color: #5C3F0B !important; }
.okb-review__grid.is-sent .okb-store { order: -1; }

/* Summary ----------------------------------------------------------------- */
.okb-summary { position: sticky; top: 20px; }
.admin-bar .okb-summary { top: 52px; }
.okb-summary__card {
	background: var(--surface);
	border: 1px solid var(--sand-200);
	border-radius: 12px;
	padding: 22px;
	display: flex;
	flex-direction: column;
}
.okb-summary__label { font-size: 14px; color: var(--ink-3); }
.okb-summary__total { font-size: 30px; font-weight: 700; color: var(--ink); margin-top: 2px !important; letter-spacing: -.01em; }
.okb-summary__note { font-size: 12px; color: var(--ink-4); }
.okb-summary__ready {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px solid var(--sand-200);
}
.okb-summary__ready strong { display: block; font-family: var(--display); font-weight: 800; font-size: 18px; line-height: 1.25; color: var(--ink); }
.okb-summary__ready span { display: block; margin-top: 2px; font-size: 13px; line-height: 1.4; color: var(--ink-3); }
.okb-summary__counts { margin: 18px 0 18px; }
.okb-summary__counts div { display: flex; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--sand-200); font-size: 14px; }
.okb-summary__counts dt { color: var(--ink-2); }
.okb-summary__counts dd { margin: 0; font-weight: 600; color: var(--ink); }
.okb-summary__counts dd.is-covered { color: var(--green); }
.okb-summary__send-note { font-size: 13px; line-height: 1.4; color: var(--ink-3); margin-top: 8px !important; text-align: center; }
.okb-summary__alt { align-self: center; margin-top: 12px; font-size: 14px; color: var(--ink-3) !important; font-weight: 500; }
.okb-summary__disclosure { font-size: 12px; line-height: 1.45; color: var(--ink-4); margin-top: 14px !important; }
.okb-summary__guide { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--sand-200); display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.okb-summary__guide span { color: var(--ink-4); font-size: 13px; }
.okb-summary__guide a { font-weight: 600; text-underline-offset: 3px; }
.okb-bar { display: none; }

/* First visit: three short questions, aligned to the same frame as the steps --- */
.okb-setup__grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; }
.okb-setup__main { max-width: 760px; min-width: 0; }
.okb-setup__count { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; color: var(--ink-3); margin-bottom: 14px !important; }
.okb-setup__dots { display: inline-flex; gap: 6px; }
.okb-setup__dots span { width: 8px; height: 8px; border-radius: 999px; background: var(--sand-300); transition: width .3s var(--ease), background .3s; }
.okb-setup__dots span.is-done { background: var(--teal-300); }
.okb-setup__dots span.is-on { width: 28px; background: var(--teal-700); }
.okb-setup .okb-setup__kicker { font-family: Figtree, system-ui, sans-serif; font-size: 15px; font-weight: 700; letter-spacing: .01em; color: var(--teal-700); margin-bottom: 10px; }
.okb-setup .okb-setup__title { font-size: clamp(32px, 4vw, 44px); line-height: 1.1; }
.okb-setup .okb-setup__title:focus { outline: none; }
.okb-setup__lede { font-size: 18px; line-height: 1.5; color: var(--ink-3); margin-top: 10px !important; }
.okb-setup__preset { margin-top: 18px !important; background: var(--teal-100); border-radius: 10px; padding: 12px 16px; font-size: 15px; color: var(--ink); }
.okb-setup__card { margin-top: 24px; background: var(--surface); border: 1px solid var(--sand-200); border-radius: 14px; padding: clamp(20px, 3vw, 32px); }
.okb-setup__nav { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
.okb-setup__nav .okb-link { margin-left: 6px; color: var(--ink-3) !important; font-weight: 500; }
.okb-setup__card--1 .okb-seg__opts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.okb-setup__card--1 .okb-seg__opt { padding: 22px; min-height: 170px; justify-content: flex-end; }
.okb-setup__card--1 .okb-seg__opt.is-on { padding: 21px; }
.okb-setup__card--1 .okb-seg__title { font-family: var(--display); font-weight: 800; font-size: 21px; }
.okb-setup__card--1 .okb-seg__note { font-size: 15px; line-height: 1.4; color: var(--ink-3); }

.okb-who { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.okb-who .okb-stepper { max-width: none; }
.okb-setup .okb-who .okb-stepper { height: 60px; grid-template-columns: 56px minmax(28px, 1fr) 56px; border-radius: 12px; }
.okb-setup .okb-who .okb-stepper output { font-size: 26px; font-family: var(--display); font-weight: 800; }
.okb-setup .okb-who .okb-stepper button { font-size: 26px; }
.okb-setup .okb-who .okb-stepper-field__label { font-size: 18px; font-weight: 700; color: var(--ink); }
.okb-setup .okb-who .okb-stepper-field__hint { font-size: 14px; margin-top: 0; }

/* A live look at the kit beside the questions. */
.okb-preview { position: sticky; top: 20px; background: var(--teal-800); color: #fff; border-radius: 14px; padding: 24px; }
.admin-bar .okb-preview { top: 52px; }
.okb-preview__label { font-size: 14px; color: var(--teal-300); }
.okb-preview__total { font-family: var(--display); font-weight: 800; font-size: 38px; line-height: 1.1; color: #fff; margin-top: 2px !important; }
.okb-preview__sub { font-size: 14px; color: #CFE0DB; }
.okb-preview__facts { list-style: none; margin: 18px 0 0; padding: 0; }
.okb-preview__facts li { padding: 11px 0; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 15px; line-height: 1.4; color: #E1EDEA; }
.okb-preview__facts strong { font-size: 19px; color: var(--amber); }
.okb-preview__note { font-size: 12px; line-height: 1.45; color: var(--teal-300); margin-top: 12px !important; }

.okb-hh { display: flex; flex-direction: column; gap: 30px; }

/* Drawer -------------------------------------------------------------------- */
.okb-drawer { position: fixed; inset: 0; z-index: 100000; }
.okb-drawer[hidden] { display: none; }
.okb-drawer__scrim { position: absolute; inset: 0; background: rgba(18, 59, 56, .35); }
.okb-drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(600px, 100%);
	background: var(--paper);
	box-shadow: -20px 0 50px -20px rgba(30, 43, 42, .45);
	padding: 24px clamp(20px, 3vw, 32px) 32px;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	gap: 24px;
	animation: okb-slide-in .3s var(--ease);
}
.okb-drawer__head { display: flex; justify-content: space-between; align-items: center; }
.okb-drawer__head h2 { font-size: 26px; }
html.okb-lock { overflow: hidden; }
@keyframes okb-slide-in { from { transform: translateX(40px); opacity: 0; } }

/* Review --------------------------------------------------------------------- */
/* Stacked: Amazon first, then the store list (store list first once the kit is sent). Each lays
   its groups out in two columns on wide screens, so neither leaves an empty side. */
.okb-review__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start; }
.okb-amazon__groups, .okb-review .okb-store__groups { columns: 2; column-gap: 48px; }
.okb-amazon__group, .okb-review .okb-store__group { break-inside: avoid; }
.okb-review .okb-cart { max-width: 420px; }
.okb-amazon, .okb-store { background: var(--surface); border: 1px solid var(--sand-200); border-radius: 12px; padding: clamp(18px, 2.4vw, 28px); }
.okb-amazon__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.okb-amazon__head h2, .okb-store__head h2 { font-size: 26px; }
.okb-amazon__total { font-size: 26px; font-weight: 700; color: var(--ink); }
.okb-amazon__group { padding-top: 18px; }
.okb-amazon__group h3 { font-size: 17px; font-family: Figtree, system-ui, sans-serif; letter-spacing: 0; margin-bottom: 4px; }
.okb-amazon__group h3 .okb-link { color: var(--ink) !important; text-decoration: none; font-weight: 700; }
.okb-amazon ul, .okb-store ul, .okb-todo ul, .okb-covered ul { list-style: none; margin: 0; padding: 0; }
.okb-amazon li {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr) auto 34px;
	gap: 14px;
	align-items: center;
	padding: 12px 0;
	border-top: 1px solid var(--sand-200);
}
.okb-amazon__img { width: 56px; height: 56px; border-radius: 8px; background: #fff; display: grid; place-items: center; overflow: hidden; }
.okb-amazon__img img { max-width: 50px; max-height: 50px; object-fit: contain; }
.okb-amazon__name { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.okb-amazon__name a { color: var(--ink) !important; font-size: 16px; font-weight: 700; line-height: 1.3; text-decoration: none; }
.okb-amazon__name a:hover { text-decoration: underline; text-underline-offset: 3px; }
.okb-amazon__name small { color: var(--ink-3); font-size: 13px; }
.okb-amazon__buy { display: flex; align-items: baseline; gap: 10px; white-space: nowrap; }
.okb-amazon__qty { color: var(--ink-3); font-size: 15px; }
.okb-amazon__price { font-size: 17px; font-weight: 800; color: var(--ink); }
.okb-amazon__remove {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1px solid var(--sand-300);
	background: var(--surface);
	color: var(--ink-3);
	display: grid;
	place-items: center;
	cursor: pointer;
	padding: 0;
}
.okb-amazon__remove:hover { border-color: var(--ink-3); color: var(--ink); }
.okb-amazon__remove svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.okb-cart { margin-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.okb-cart__note { font-size: 12px; line-height: 1.5; color: var(--ink-4); }
.okb-todo, .okb-covered { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--sand-200); }
.okb-todo h3, .okb-covered h3 { font-size: 17px; margin-bottom: 8px; }
.okb-todo li { padding: 4px 0; font-size: 14px; }
.okb-todo li span { color: var(--ink-4); }
.okb-covered li { padding: 4px 0 4px 26px; font-size: 14px; position: relative; }
.okb-covered li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.okb-empty { color: var(--ink-3); padding: 18px 0; }
.okb-review__foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 28px; font-size: 15px; }
.okb-review__foot-right { display: flex; gap: 20px; flex-wrap: wrap; }

.okb-store__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px 20px; flex-wrap: wrap; }
.okb-store__head p { font-size: 14px; color: var(--ink-3); margin-top: 4px !important; }
.okb-store__tools { display: flex; gap: 8px; flex-wrap: wrap; }
.okb-store__groups { margin-top: 10px; }
.okb-store__group { margin-top: 18px; }
.okb-store__group h3 { font-size: 17px; font-family: Figtree, system-ui, sans-serif; font-weight: 700; letter-spacing: 0; color: var(--ink); text-transform: none; margin-bottom: 4px; }
.okb-store li { border-top: 1px solid var(--sand-200); padding: 11px 0; }
.okb-store label { display: grid; grid-template-columns: 1.45rem minmax(0, 1fr); gap: 12px; align-items: start; cursor: pointer; font-size: 17px; line-height: 1.4; }
/* Same bold tick box as the checklists (theme style.css, .is-style-ok-checklist). */
.okb-store input[type="checkbox"] {
	appearance: none;
	-webkit-appearance: none;
	width: 1.45rem;
	height: 1.45rem;
	margin: 0;
	border: 2px solid var(--teal-700);
	border-radius: 5px;
	background: var(--surface);
	display: grid;
	place-items: center;
	cursor: pointer;
}
.okb-store input[type="checkbox"]:checked { background: var(--teal-700); }
.okb-store input[type="checkbox"]:checked::before {
	content: "";
	width: .7rem;
	height: .38rem;
	border: solid #fff;
	border-width: 0 0 3px 3px;
	transform: translateY(-.08rem) rotate(-45deg);
}
.okb-store__item { display: flex; justify-content: space-between; gap: 12px; color: var(--ink); }
.okb-store__qty { color: var(--ink); font-size: 16px; font-weight: 700; white-space: nowrap; }
.okb-store__note { font-size: 14px; color: var(--ink-3); margin: 3px 0 0 calc(1.45rem + 12px) !important; line-height: 1.45; }
.okb-store li.is-ticked .okb-store__item { color: var(--ink-4); }
.okb-store li.is-ticked .okb-store__item span:first-child { text-decoration: line-through; }
.okb-store__household { display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; margin-top: 16px; padding: 14px 16px; background: var(--teal-100); border-radius: 10px; }
.okb-store__household p { margin: 0 !important; display: flex; flex-direction: column; gap: 2px; }
.okb-store__household strong { font-size: 17px; color: var(--ink); }
.okb-store__household span { font-size: 14px; color: var(--ink-3); }
.okb-app--store { margin-block-start: 28px; }
.okb-store-cta { margin-top: 28px; padding: clamp(22px, 3vw, 32px); border-radius: 12px; background: var(--teal-800); color: #CFE3DF; }
.okb-store-cta h2 { color: #fff; font-size: clamp(22px, 2.4vw, 28px); margin: 0 0 8px; }
.okb-store-cta p { margin: 0 0 18px !important; font-size: 16px; max-width: 34em; }
.okb-btn--amber { background: var(--amber); color: #2E2005 !important; }
.okb-btn--amber:hover { background: #F4C26A; }

.okb-app--store { padding: 8px 0 24px; }

.okb-app.is-loading .okb-body,
.okb-app.is-loading .okb-review__grid { opacity: .5; pointer-events: none; transition: opacity .2s; }

/* Narrow screens ------------------------------------------------------------ */
@media (max-width: 1080px) {
	.okb-body { grid-template-columns: minmax(0, 1fr) 260px; gap: 28px; }
	.okb-line { grid-template-columns: 160px minmax(0, 1fr); }
	.okb-prompt { margin-left: 176px; }
}
@media (max-width: 900px) {
	.okb { --pin: 4px; --lead: 0; }
	.okb-body, .okb-setup__grid { grid-template-columns: minmax(0, 1fr); }
	.okb-preview { position: static; }
	.okb-summary { position: static; }
	.okb-summary__card { display: none; }
	.okb-bar {
		display: flex;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 50;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
		background: var(--surface);
		border-top: 1px solid var(--sand-200);
		box-shadow: 0 -10px 24px -18px rgba(30, 43, 42, .5);
	}
	.okb-bar__est { display: flex; flex-direction: column; }
	.okb-bar__est strong { font-size: 18px; color: var(--ink); }
	.okb-bar__est span { font-size: 12px; color: var(--ink-4); }
	.okb-bar .okb-btn { min-height: 44px; font-size: 15px; padding: 0 16px; }
	.okb-step, .okb-setup { padding-bottom: 110px; }
	/* The pinned bar carries Next / Build my kit on phones; the page keeps Back and Skip. */
	.okb-setup__nav .okb-btn:not(.okb-btn--ghost) { display: none; }
	.okb-line { grid-template-columns: minmax(0, 1fr); gap: 4px; }
	.okb-line__label { padding-top: 0; }
	.okb-line__actions { flex-direction: row; flex-wrap: wrap; gap: 4px 16px; }
	.okb-prompt { margin-left: 0; }
	.okb-intro { grid-template-columns: minmax(0, 1fr); }
	.okb-intro__art { min-height: 150px; height: 150px; }
	.okb-review__grid { grid-template-columns: minmax(0, 1fr); }
	.okb-amazon__groups, .okb-review .okb-store__groups { columns: 1; }
	.okb-stages { grid-template-columns: minmax(0, 1fr); padding-top: 12px; padding-bottom: 10px; }
	.okb-stages__where { flex-direction: row; gap: 8px; align-items: baseline; }
	.okb-stages__list { display: flex; overflow-x: auto; scrollbar-width: none; gap: 0; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); }
	.okb-stages__list li { flex: 0 0 76px; }
	.okb-stages__label { font-size: 12px; }
}
@media (max-width: 560px) {
	.okb { --card-w: 150px; --card-h: 262px; }
	.okb-card__img { height: 92px; }
	.okb-card__img img { max-height: 86px; }
	.okb-step__head h1 { font-size: 30px; }
	.okb-line__label h4 { font-size: 19px; }
	.okb-who { grid-template-columns: minmax(0, 1fr); gap: 14px; }
	.okb-who .okb-stepper-field { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "label stepper" "hint stepper"; align-items: center; column-gap: 12px; row-gap: 0; }
	.okb-who .okb-stepper-field__label { grid-area: label; align-self: end; }
	.okb-who .okb-stepper-field__hint { grid-area: hint; align-self: start; }
	.okb-who .okb-stepper { grid-area: stepper; width: 150px; }
	.okb-setup .okb-who .okb-stepper { height: 52px; grid-template-columns: 48px minmax(28px, 1fr) 48px; }
	.okb-setup__card--1 .okb-seg__opts { grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.okb-setup__card--1 .okb-seg__opt { min-height: 0; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; align-items: center; column-gap: 14px; }
	.okb-setup__card--1 .okb-seg__icon { margin: 0; }
	.okb-setup__card--1 .okb-seg__note { flex-basis: 100%; }
	.okb-setup__nav .okb-btn { flex: 1; }
	.okb-setup__nav .okb-link { flex-basis: 100%; text-align: center; margin: 4px 0 0; }
	.okb-level__stops button { font-size: 12px; }
	.okb-q { padding: 16px; }
	.okb-step__foot, .okb-send { padding: 18px; }
	.okb-step__foot .okb-btn, .okb-send .okb-btn { width: 100%; }
	.okb-q__opt { width: 100%; border-radius: 12px; }
	.okb-calc { grid-template-columns: minmax(0, 1fr); }
	.okb-calc__total { grid-column: 1; flex-direction: row; align-items: baseline; gap: 8px; }
	.okb-intro__main { padding: 18px 16px 14px; }
	/* Phones: photo, name, then "× 3  $120.27" on one line under it, ✕ at the right. */
	.okb-amazon li { grid-template-columns: 48px minmax(0, 1fr) 34px; gap: 4px 12px; align-items: start; }
	.okb-amazon__img { width: 48px; height: 48px; grid-row: span 2; }
	.okb-amazon__img img { max-width: 44px; max-height: 44px; }
	.okb-amazon__name { grid-column: 2; }
	.okb-amazon__name a { font-size: 15px; }
	.okb-amazon__buy { grid-column: 2; grid-row: 2; }
	.okb-amazon__remove { grid-column: 3; grid-row: 1; }
	.okb-carousel__prev, .okb-carousel__next { display: none; }
}
.okb-line__quick { display: none; }
@media (max-width: 900px) {
	.okb-carousel__viewport {
		-webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent 100%);
		mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent 100%);
	}
	.okb-line__quick { display: inline-flex; gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
	.okb *, .okb *::before, .okb *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Print: the store list only (no Amazon links on paper, per the Associates rules). */
@media print {
	html.okb-print-store body * { visibility: hidden; }
	html.okb-print-store .okb-store, html.okb-print-store .okb-store * { visibility: visible; }
	html.okb-print-store .okb-store { position: absolute; left: 0; top: 0; width: 100%; border: 0; }
	html.okb-print-store .okb-store__tools,
	html.okb-print-store .okb-store__household button { display: none; }
	html.okb-print-store .okb-store__household { background: none; padding: 0; }
	.okb-store input[type="checkbox"]:checked { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
	.okb-bar, .okb-stages { display: none !important; }
	.okb-store-cta, .okb-store__tools, .okb-store__household button { display: none !important; }
	.okb-store__household { background: none !important; padding: 0 !important; }
}
