.spdk-app {
	--spdk-ink: #24231f;
	--spdk-olive: #9e895e;
	--spdk-olive-dark: #735f38;
	--spdk-paper: #f7f4ed;
	--spdk-soft: #f0ece3;
	--spdk-muted: #6f6a63;
	--spdk-line: rgba(36, 35, 31, .13);
	color: var(--spdk-ink);
	container-name: spdk-quiz;
	container-type: inline-size;
	font-family: Baskerville, "Baskerville MT", "Iowan Old Style", Georgia, serif;
	font-size: 16px;
	line-height: 1.5;
	margin: 28px auto;
	max-width: 1280px;
	width: 100%;
}

.spdk-app *, .spdk-app *::before, .spdk-app *::after { box-sizing: border-box; }
.spdk-app *, .spdk-app button, .spdk-app input, .spdk-app select, .spdk-app textarea { font-family: inherit !important; font-style: normal !important; }
.spdk-app button, .spdk-app input, .spdk-app select { font-size: inherit; text-transform: none !important; }
.spdk-app button, .spdk-app input, .spdk-app select, .spdk-app label, .spdk-app legend { letter-spacing: normal !important; }
.spdk-app button { cursor: pointer; }
.spdk-app button:disabled { cursor: not-allowed; opacity: .45; }
.spdk-app h2, .spdk-app h3, .spdk-app p { margin-top: 0; }
.spdk-ui-icon { display: inline-block; flex: 0 0 auto; height: 1.05em; pointer-events: none; vertical-align: -.16em; width: 1.05em; }

.spdk-shell {
	background: #fff;
	border: 1px solid var(--spdk-line);
	border-radius: 28px;
	box-shadow: 0 28px 90px rgba(51, 43, 29, .08);
	overflow: hidden;
}

.spdk-profile-zone { background: var(--spdk-paper); border-bottom: 1px solid var(--spdk-line); padding: clamp(16px, 2.2vw, 24px) clamp(20px, 4.5vw, 58px); }
.spdk-profile-zone .spdk-login-note, .spdk-profile-zone .spdk-profile-picker { background: #fff; margin: 0; }
.spdk-profile-zone .spdk-profile-picker.has-resume { display: grid; gap: 14px; grid-template-columns: minmax(0, .9fr) minmax(380px, 1.1fr); }
.spdk-profile-zone .spdk-profile-picker.has-resume .spdk-subhead { grid-column: 1 / -1; margin-bottom: 0; }
.spdk-profile-zone .spdk-profile-picker.has-resume .spdk-dog-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.spdk-profile-zone .spdk-profile-picker.has-resume .spdk-resume { margin-top: 0; }

.spdk-steps {
	align-items: flex-start;
	border-bottom: 1px solid var(--spdk-line);
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	justify-content: center;
	list-style: none;
	margin: 0;
	padding: 22px clamp(18px, 4vw, 54px);
}

.spdk-steps li { align-items: center; color: #8f8a82; display: flex; flex-direction: column; gap: 8px; justify-content: flex-start; min-width: 0; position: relative; text-align: center; }
.spdk-steps li:not(:last-child)::after { background: #ddd8ce; content: ""; height: 1px; left: calc(50% + 24px); position: absolute; right: calc(-50% + 24px); top: 18px; }
.spdk-steps li.is-done::after { background: var(--spdk-olive); }
.spdk-step-number { align-items: center; border: 1px solid #d7d2c9; border-radius: 50%; display: flex; flex: 0 0 36px; font-size: 12px; font-weight: 800; height: 36px; justify-content: center; min-height: 36px; min-width: 36px; position: relative; width: 36px; z-index: 1; }
.spdk-step-number .spdk-ui-icon { height: 16px; width: 16px; }
.spdk-steps li > span:last-child { min-width: 0; position: relative; z-index: 1; }
.spdk-steps li.is-current, .spdk-steps li.is-done { color: var(--spdk-ink); }
.spdk-steps li.is-current .spdk-step-number { background: var(--spdk-ink); border-color: var(--spdk-ink); color: #fff; }
.spdk-steps li.is-done .spdk-step-number { background: var(--spdk-olive); border-color: var(--spdk-olive); color: #fff; }
.spdk-steps strong, .spdk-steps small { display: block; }
.spdk-steps strong { font-size: 13px; font-weight: 700; line-height: 1.2; }
.spdk-steps small { font-size: 11.5px; line-height: 1.3; margin-top: 3px; }

.spdk-content { padding: clamp(30px, 4.5vw, 56px) clamp(22px, 5vw, 64px) clamp(36px, 5vw, 64px); scroll-margin-top: 110px; }
.spdk-section-head { margin: 0 auto 32px; max-width: 780px; text-align: center; }
.spdk-section-head > span, .spdk-selected > span { color: var(--spdk-olive-dark); display: block; font-size: 13px; font-weight: 700; letter-spacing: .08em; margin-bottom: 8px; }
.spdk-section-head h2 { font-size: clamp(34px, 3.7vw, 48px) !important; font-style: italic !important; font-weight: 500; letter-spacing: -.015em; line-height: 1.08 !important; margin-bottom: 12px; }
.spdk-section-head p { color: var(--spdk-muted); font-size: 16px; line-height: 1.55; margin-bottom: 0; }

.spdk-fields { display: grid; gap: 22px 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.spdk-stack { display: grid; gap: 24px; }
.spdk-field { border: 0; display: block; margin: 0; min-width: 0; padding: 0; }
.spdk-field > span, .spdk-field > legend, .spdk-field > label { color: var(--spdk-ink); display: block; font-size: 15px; font-weight: 700; margin-bottom: 9px; padding: 0; }
.spdk-field > span small { color: var(--spdk-muted); font-size: 12px; font-weight: 500; }
.spdk-field input[type="text"], .spdk-field input[type="date"], .spdk-field input[type="number"], .spdk-field select, .spdk-manual input, .spdk-split select {
	background: #fff;
	border: 1px solid rgba(36, 35, 31, .18);
	border-radius: 13px;
	box-shadow: none;
	color: var(--spdk-ink);
	height: 50px;
	margin: 0;
	outline: 0;
	padding: 0 15px;
	width: 100%;
}
.spdk-field input:focus, .spdk-field select:focus, .spdk-manual input:focus, .spdk-split select:focus { border-color: var(--spdk-olive); box-shadow: 0 0 0 3px rgba(158, 137, 94, .16); }
.spdk-help, .spdk-field-copy { color: var(--spdk-muted); display: block; font-size: 13px; font-weight: 400; line-height: 1.45; margin: 7px 0 12px; }
.spdk-full { grid-column: 1 / -1; }
.spdk-locked { background: #f5f0e5; border-radius: 10px; color: var(--spdk-olive-dark); font-size: 12px; margin-bottom: 12px; padding: 9px 12px; }

.spdk-choice-grid { display: grid; gap: 12px; }
.spdk-choice-grid.spdk-two { grid-template-columns: repeat(2, 1fr); }
.spdk-choice-grid.spdk-three { grid-template-columns: repeat(3, 1fr); }
.spdk-choice-grid.spdk-four { grid-template-columns: repeat(4, 1fr); }
.spdk-choice {
	align-items: flex-start;
	background: #fff;
	border: 1px solid var(--spdk-line);
	border-radius: 17px;
	color: var(--spdk-ink);
	display: flex;
	gap: 12px;
	justify-content: space-between;
	min-height: 72px;
	padding: 14px 15px;
	text-align: left;
	transition: border-color .15s, background .15s, transform .15s;
}
.spdk-choice:hover { border-color: rgba(36, 35, 31, .32); transform: translateY(-1px); }
.spdk-choice.is-selected { background: #f5f0e5; border-color: var(--spdk-olive); box-shadow: inset 0 0 0 1px var(--spdk-olive); }
.spdk-choice span { min-width: 0; }
.spdk-choice strong, .spdk-choice small { display: block; }
.spdk-choice strong { font-size: 15px; line-height: 1.35; }
.spdk-choice small { color: var(--spdk-muted); font-size: 12px; line-height: 1.4; margin-top: 3px; }
.spdk-choice i { align-items: center; border: 1px solid rgba(36, 35, 31, .22); border-radius: 50%; display: flex; flex: 0 0 20px; font-size: 11px; font-style: normal; height: 20px; justify-content: center; }
.spdk-choice i .spdk-ui-icon { height: 12px; width: 12px; }
.spdk-choice.is-selected i { background: var(--spdk-olive); border-color: var(--spdk-olive); color: #fff; }
.spdk-gender-symbol { align-items: center; color: var(--spdk-olive-dark); display: inline-flex !important; margin-right: 8px; min-width: auto !important; vertical-align: -.18em; }
.spdk-gender-symbol .spdk-ui-icon { height: 18px; width: 18px; }

.spdk-weight { align-items: center; display: grid; gap: 24px; grid-template-columns: 1fr 140px; }
.spdk-weight input[type="range"] { accent-color: var(--spdk-olive); margin: 0; width: 100%; }
.spdk-weight label { align-items: center; display: flex; position: relative; }
.spdk-weight label span { color: var(--spdk-muted); font-size: 13px; pointer-events: none; position: absolute; right: 15px; }
.spdk-weight label input { padding-right: 40px !important; }

.spdk-secondary-action, .spdk-link-button { background: transparent; border: 0; color: var(--spdk-olive-dark); font-size: 13px; font-weight: 700; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.spdk-secondary-action { margin-top: 14px; }
.spdk-link-button.is-danger { color: #a24035; }
.spdk-save-row { align-items: center; border-top: 1px solid var(--spdk-line); display: flex; gap: 20px; margin-top: 30px; padding-top: 24px; }
.spdk-save-note { color: var(--spdk-muted); flex: 1; font-size: 11px; }

.spdk-login-note, .spdk-profile-picker { background: var(--spdk-paper); border: 1px solid var(--spdk-line); border-radius: 18px; margin-bottom: 24px; padding: 18px; }
.spdk-login-note { align-items: center; display: flex; gap: 15px; }
.spdk-login-note > span { align-items: center; background: var(--spdk-olive); border-radius: 50%; color: #fff; display: flex; flex: 0 0 38px; height: 38px; justify-content: center; }
.spdk-login-note div { flex: 1; }
.spdk-login-note strong, .spdk-login-note p { display: block; }
.spdk-login-note p { color: var(--spdk-muted); font-size: 13px; margin: 2px 0 0; }
.spdk-login-note a { color: var(--spdk-ink); font-size: 14px; font-weight: 800; white-space: nowrap; }
.spdk-subhead { align-items: center; display: flex; justify-content: space-between; margin-bottom: 14px; }
.spdk-subhead strong, .spdk-subhead small { display: block; }
.spdk-subhead small { color: var(--spdk-muted); font-size: 12px; margin-top: 2px; }
.spdk-dog-grid { display: grid; gap: 10px; grid-template-columns: repeat(3, 1fr); }
.spdk-dog-card { align-items: center; background: #fff; border: 1px solid var(--spdk-line); border-radius: 14px; color: var(--spdk-ink); display: flex; gap: 10px; padding: 11px; text-align: left; }
.spdk-dog-card.is-selected { border-color: var(--spdk-olive); box-shadow: inset 0 0 0 1px var(--spdk-olive); }
.spdk-dog-card > span:nth-child(2) { flex: 1; min-width: 0; }
.spdk-dog-card strong, .spdk-dog-card small, .spdk-dog-card em { display: block; }
.spdk-dog-card em { color: var(--spdk-olive-dark); font-size: 11px; font-style: normal; font-weight: 700; margin-top: 3px; }
.spdk-resume { align-items: center; background: #fff; border: 1px solid rgba(158, 137, 94, .45); border-radius: 15px; display: flex; gap: 18px; justify-content: space-between; margin-top: 14px; padding: 14px; }
.spdk-resume strong, .spdk-resume small { display: block; }
.spdk-resume small { color: var(--spdk-muted); font-size: 12px; margin-top: 2px; }
.spdk-resume .spdk-button { flex: 0 0 auto; }
.spdk-dog-card > span:nth-child(2) { flex: 1; min-width: 0; }
.spdk-dog-card strong, .spdk-dog-card small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.spdk-dog-card small { color: var(--spdk-muted); font-size: 12px; }
.spdk-dog-card i { font-style: normal; }
.spdk-dog-avatar { align-items: center; background: var(--spdk-soft); border-radius: 50%; display: flex; flex: 0 0 32px; height: 32px; justify-content: center; }
.spdk-empty-small { color: var(--spdk-muted); font-size: 13px; margin: 0; }

.spdk-bcs { background: var(--spdk-paper); border: 1px solid var(--spdk-line); border-radius: 20px; margin-top: 18px; overflow: hidden; padding: 20px; }
.spdk-bcs-intro { display: block; }
.spdk-bcs-copy { margin-bottom: 16px; }
.spdk-bcs-intro figure { margin: 0; }
.spdk-bcs-intro img { background: #fff; border: 1px solid var(--spdk-line); border-radius: 16px 16px 0 0; display: block; height: auto; padding: 0; width: 100%; }
.spdk-bcs-intro p, .spdk-bcs-question p { color: var(--spdk-muted); font-size: 13px; margin: 4px 0 0; }
.spdk-bcs-labels { background: #fff; border: 1px solid var(--spdk-line); border-radius: 0 0 16px 16px; border-top: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.spdk-bcs-labels span { padding: 12px 8px; text-align: center; }
.spdk-bcs-labels span + span { border-left: 1px solid var(--spdk-line); }
.spdk-bcs-labels strong, .spdk-bcs-labels small { display: block; }
.spdk-bcs-labels strong { font-size: 14px; }
.spdk-bcs-labels small { color: var(--spdk-muted); font-size: 11px; margin-top: 2px; }
.spdk-bcs-question { border: 0; border-top: 1px solid var(--spdk-line); margin: 18px 0 0; padding: 18px 0 0; }
.spdk-bcs-question legend { font-size: 14px; font-weight: 800; padding: 0; }
.spdk-bcs-question > div { display: grid; gap: 8px; grid-template-columns: repeat(3, 1fr); margin-top: 10px; }
.spdk-bcs-question button { background: #fff; border: 1px solid var(--spdk-line); border-radius: 11px; color: var(--spdk-ink); font-size: 12.5px; min-height: 48px; padding: 8px; }
.spdk-bcs-question button.is-selected { background: var(--spdk-ink); border-color: var(--spdk-ink); color: #fff; }
.spdk-bcs-result { align-items: center; background: #eae2d1; border-radius: 13px; display: flex; justify-content: space-between; margin-top: 18px; padding: 15px; }
.spdk-bcs-result span, .spdk-bcs-result strong { display: block; }
.spdk-bcs-result span { color: var(--spdk-muted); font-size: 10px; text-transform: uppercase; }
.spdk-bcs-result strong small { font-weight: 500; }
.spdk-bcs-result button { background: var(--spdk-ink); border: 0; border-radius: 999px; color: #fff; font-size: 12px; font-weight: 800; padding: 10px 16px; }

.spdk-binary-card { align-items: center; border: 1px solid var(--spdk-line); border-radius: 20px; display: flex; gap: 20px; justify-content: space-between; padding: 22px; }
.spdk-binary-card p { color: var(--spdk-muted); font-size: 13px; margin: 4px 0 0; }
.spdk-segmented { background: #eeeae1; border: 1px solid var(--spdk-line); border-radius: 999px; display: grid; flex: 0 0 auto; gap: 4px; grid-template-columns: repeat(2, 68px); padding: 4px; }
.spdk-segmented button { background: transparent; border: 0; border-radius: 999px; color: #6f695f; font-size: 13px; font-weight: 800; height: 38px; margin: 0; padding: 0; width: 100%; }
.spdk-segmented button.is-active { background: var(--spdk-ink); color: #fff; box-shadow: 0 2px 7px rgba(0, 0, 0, .12); }
.spdk-segmented button:last-child.is-active { background: var(--spdk-olive); }

.spdk-group { border-top: 1px solid var(--spdk-line); margin-top: 30px; padding-top: 26px; }
.spdk-group:first-of-type { border-top: 0; margin-top: 0; padding-top: 0; }
.spdk-group h3, .spdk-setting h3, .spdk-manual h3 { font-family: Baskerville, "Iowan Old Style", Georgia, serif; font-size: 26px; font-weight: 600; line-height: 1.2; margin-bottom: 6px; }
.spdk-group > p, .spdk-setting > p, .spdk-manual > p { color: var(--spdk-muted); font-size: 14px; margin-bottom: 16px; }
.spdk-tags { display: flex; flex-wrap: wrap; gap: 9px; }
.spdk-tags button { align-items: center; background: #fff; border: 1px solid var(--spdk-line); border-radius: 999px; color: var(--spdk-ink); display: inline-flex; font-size: 14px; gap: 8px; min-height: 40px; padding: 8px 14px; }
.spdk-tags button.is-selected { background: var(--spdk-ink); border-color: var(--spdk-ink); color: #fff; }
.spdk-tags button i { align-items: center; background: rgba(255, 255, 255, .16); border-radius: 50%; display: flex; font-style: normal; height: 20px; justify-content: center; width: 20px; }
.spdk-tags button i .spdk-ui-icon { height: 12px; width: 12px; }
.spdk-preferred-tags { margin-top: 9px; }
.spdk-info { background: var(--spdk-paper); border-radius: 15px; margin-top: 28px; padding: 16px; }
.spdk-info strong, .spdk-info p { display: block; }
.spdk-info p { color: var(--spdk-muted); font-size: 12px; margin: 3px 0 0; }
.spdk-needs { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.spdk-need { align-items: center; background: #fff; border: 1px solid var(--spdk-line); border-radius: 16px; color: var(--spdk-ink); display: flex; gap: 13px; min-height: 82px; padding: 14px; text-align: left; }
.spdk-need.is-selected { background: #f5f0e5; border-color: var(--spdk-olive); box-shadow: inset 0 0 0 1px var(--spdk-olive); }
.spdk-need img { flex: 0 0 38px; height: 38px; object-fit: contain; width: 38px; }
.spdk-need span { flex: 1; min-width: 0; }
.spdk-need strong, .spdk-need small { display: block; }
.spdk-need strong { font-size: 15px; line-height: 1.25; }
.spdk-need small { color: var(--spdk-muted); font-size: 12px; line-height: 1.35; margin-top: 3px; }
.spdk-need i { align-items: center; border: 1px solid var(--spdk-line); border-radius: 50%; display: flex; flex: 0 0 20px; font-size: 10px; font-style: normal; height: 20px; justify-content: center; }
.spdk-need i .spdk-ui-icon { height: 12px; width: 12px; }
.spdk-need.is-selected i { background: var(--spdk-olive); color: #fff; }

.spdk-suggestion-group { margin-top: 42px; }
.spdk-form-heading { align-items: center; display: flex; gap: 14px; margin-bottom: 14px; }
.spdk-form-heading img { height: 48px; object-fit: contain; width: 48px; }
.spdk-form-heading h3 { font-family: Baskerville, "Iowan Old Style", Georgia, serif; font-size: 30px; margin: 0; }
.spdk-form-heading p { color: var(--spdk-muted); font-size: 13px; margin: 2px 0 0; }
.spdk-recipe { border: 1px solid rgba(158, 137, 94, .5); border-radius: 25px; box-shadow: 0 18px 55px rgba(62, 50, 27, .1); overflow: hidden; }
.spdk-recipe-ribbon { background: var(--spdk-olive); color: #fff; display: flex; font-size: 12px; font-weight: 700; justify-content: space-between; letter-spacing: .02em; padding: 9px 18px; }
.spdk-recipe-main { display: grid; grid-template-columns: 240px minmax(0, 1fr); }
.spdk-product-image { align-items: center; background: var(--spdk-soft); display: flex; justify-content: center; min-height: 230px; padding: 24px; }
.spdk-product-image img { background: #fff; border: 1px solid rgba(36, 35, 31, .08); border-radius: 22px; box-shadow: 0 12px 32px rgba(44, 38, 28, .08); display: block; height: 185px; max-width: 100%; object-fit: contain; padding: 12px; width: 185px; }
.spdk-recipe-copy { min-width: 0; padding: 27px; }
.spdk-badges { display: flex; flex-wrap: wrap; gap: 7px; }
.spdk-badges span, .spdk-badges em { border-radius: 999px; display: inline-block; font-size: 11px; font-style: normal; font-weight: 700; letter-spacing: .01em; padding: 5px 9px; }
.spdk-badges span { background: var(--spdk-ink); color: #fff; }
.spdk-badges em { background: #efe0bd; color: #6d5525; }
.spdk-recipe-title { align-items: flex-start; display: flex; gap: 15px; justify-content: space-between; margin-top: 14px; }
.spdk-recipe-title h3 { font-family: Baskerville, "Iowan Old Style", Georgia, serif; font-size: clamp(25px, 3vw, 36px); line-height: 1.08; margin: 0; overflow-wrap: anywhere; }
.spdk-recipe-title p { color: var(--spdk-muted); font-size: 13px; margin: 5px 0 0; }
.spdk-recipe-title > strong { border: 1px solid var(--spdk-line); border-radius: 999px; flex: 0 0 auto; font-size: 12px; padding: 6px 9px; }
.spdk-product-link, .spdk-plan-actions a { color: var(--spdk-olive-dark); display: inline-block; font-size: 13px; font-weight: 750; margin-top: 13px; text-decoration: underline; text-underline-offset: 4px; }
.spdk-product-link .spdk-ui-icon, .spdk-plan-actions a .spdk-ui-icon { margin-left: 3px; }
.spdk-reasons { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; margin: 18px 0 0; padding: 0; }
.spdk-reasons li { align-items: center; background: #f3f0e8; border-radius: 999px; color: #5f594f; display: flex; font-size: 12px; gap: 5px; padding: 6px 10px; }
.spdk-reasons li span { color: var(--spdk-olive-dark); }
.spdk-reasons li .spdk-ui-icon { height: 11px; width: 11px; }
.spdk-warning { background: #fff8e8; border: 1px solid rgba(196, 154, 72, .35); border-radius: 12px; color: #695126; font-size: 12.5px; line-height: 1.55; margin-top: 16px; padding: 12px; }
.spdk-warning strong { display: inline; }
.spdk-warning-wide { font-size: 13px; margin: 22px 0; padding: 16px; }
.spdk-recipe-actions { border-top: 1px solid var(--spdk-line); display: grid; gap: 10px; grid-template-columns: 1fr 1fr; margin-top: 20px; padding-top: 18px; }

.spdk-button { align-items: center; background: var(--spdk-ink); border: 1px solid var(--spdk-ink); border-radius: 999px; color: #fff; display: inline-flex; font-size: 14px; font-weight: 700; justify-content: center; line-height: 1.2; min-height: 46px; padding: 10px 20px; text-align: center; text-decoration: none; transition: background .15s, color .15s; }
.spdk-button .spdk-ui-icon { height: 16px; margin: 0 2px; width: 16px; }
.spdk-button:hover { background: var(--spdk-olive); border-color: var(--spdk-olive); color: #fff; }
.spdk-button-light { background: #f8f5ee; border-color: var(--spdk-line); color: var(--spdk-ink); }
.spdk-button-light:hover { background: #ece6da; border-color: rgba(36, 35, 31, .22); color: var(--spdk-ink); }

.spdk-selected { background: #f8f6f0; border: 1px solid var(--spdk-line); border-radius: 23px; margin-top: 32px; padding: 24px; }
.spdk-selected h3 { font-family: Baskerville, "Iowan Old Style", Georgia, serif; font-size: 30px; margin: 0; }
.spdk-selected-grid { display: grid; gap: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 18px; }
.spdk-selected-grid article { align-items: center; background: #fff; border: 1px solid var(--spdk-line); border-radius: 13px; display: flex; gap: 10px; min-width: 0; padding: 9px; }
.spdk-selected-thumb { align-items: center; background: #fff; border: 1px solid var(--spdk-line); border-radius: 10px; display: flex; flex: 0 0 54px; height: 54px; justify-content: center; overflow: hidden; }
.spdk-selected-thumb img { height: 100%; object-fit: contain; padding: 4px; width: 100%; }
.spdk-selected-grid article > div:nth-child(2) { flex: 1; min-width: 0; }
.spdk-selected-grid strong, .spdk-selected-grid small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.spdk-selected-grid strong { font-size: 13px; }
.spdk-selected-grid small { color: var(--spdk-muted); font-size: 11px; }
.spdk-selected-grid article > button { align-items: center; background: transparent; border: 0; color: var(--spdk-muted); display: flex; flex: 0 0 28px; height: 28px; justify-content: center; padding: 0; }
.spdk-selected-grid article > button .spdk-ui-icon { height: 16px; width: 16px; }
.spdk-selected-grid .is-manual .spdk-selected-thumb { background: var(--spdk-soft); color: var(--spdk-olive-dark); font-family: Baskerville, Georgia, serif; font-weight: 800; }
.spdk-rejected { background: #fbfaf7; border: 1px solid var(--spdk-line); border-radius: 23px; margin-top: 18px; padding: 22px 24px; }
.spdk-rejected-head { align-items: center; display: flex; gap: 24px; justify-content: space-between; }
.spdk-rejected-head > div { min-width: 0; }
.spdk-rejected-head > div > span { color: var(--spdk-olive-dark); display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; margin-bottom: 5px; }
.spdk-rejected-head h3 { font-family: Baskerville, "Iowan Old Style", Georgia, serif; font-size: 27px; margin: 0; }
.spdk-rejected-head p { color: var(--spdk-muted); font-size: 13px; margin: 4px 0 0; }
.spdk-rejected-head > button { flex: 0 0 auto; }
.spdk-rejected-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); margin-top: 17px; }
.spdk-rejected-grid article { align-items: center; background: #fff; border: 1px solid var(--spdk-line); border-radius: 13px; display: flex; gap: 10px; min-width: 0; padding: 9px; }
.spdk-rejected-grid article > div:nth-child(2) { flex: 1; min-width: 0; }
.spdk-rejected-grid strong, .spdk-rejected-grid small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.spdk-rejected-grid strong { font-size: 13px; }
.spdk-rejected-grid small { color: var(--spdk-muted); font-size: 11px; }
.spdk-rejected-grid a { align-items: center; color: var(--spdk-olive-dark); display: inline-flex; font-size: 11px; gap: 3px; margin-top: 3px; }
.spdk-rejected-grid a .spdk-ui-icon { height: 11px; width: 11px; }
.spdk-rejected-grid article > button { align-items: center; background: var(--spdk-soft); border: 1px solid var(--spdk-line); border-radius: 999px; color: var(--spdk-ink); display: inline-flex; flex: 0 0 auto; font-size: 12px; font-weight: 700; gap: 5px; min-height: 34px; padding: 6px 10px; }
.spdk-rejected-grid article > button:hover { background: #ece6da; }
.spdk-rejected-grid article > button .spdk-ui-icon { height: 14px; width: 14px; }
.spdk-manual { border: 1px solid var(--spdk-line); border-radius: 23px; margin-top: 32px; padding: 24px; }
.spdk-manual > div { display: grid; gap: 10px; grid-template-columns: 1fr auto; }
.spdk-empty-result { background: var(--spdk-paper); border: 1px dashed rgba(36, 35, 31, .22); border-radius: 18px; padding: 25px; text-align: center; }
.spdk-empty-result p { color: var(--spdk-muted); font-size: 13px; margin: 4px 0 0; }
.spdk-results-next { display: flex; justify-content: flex-end; margin-top: 28px; }
.spdk-between { justify-content: space-between; }
.spdk-restart-row { border-top: 1px solid var(--spdk-line); margin-top: 24px; padding-top: 20px; text-align: center; }
.spdk-results-loading, .spdk-loader { align-items: center; color: var(--spdk-muted); display: flex; flex-direction: column; gap: 15px; justify-content: center; min-height: 320px; padding: 40px; text-align: center; }
.spdk-loader { background: #fff; border: 1px solid var(--spdk-line); border-radius: 28px; }
.spdk-spinner { animation: spdk-spin .8s linear infinite; border: 3px solid #ddd5c5; border-radius: 50%; border-top-color: var(--spdk-olive); display: block; height: 32px; width: 32px; }
@keyframes spdk-spin { to { transform: rotate(360deg); } }

.spdk-settings { display: grid; gap: 16px; margin-top: 25px; }
.spdk-setting { border: 1px solid var(--spdk-line); border-radius: 20px; padding: 22px; }
.spdk-option-row { display: flex; flex-wrap: wrap; gap: 9px; }
.spdk-option-row button { background: #fff; border: 1px solid var(--spdk-line); border-radius: 999px; color: var(--spdk-ink); font-size: 14px; font-weight: 700; min-height: 42px; padding: 8px 16px; }
.spdk-option-row button.is-selected { background: var(--spdk-ink); color: #fff; }
.spdk-split { align-items: center; display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
.spdk-split-side { background: var(--spdk-paper); border: 1px solid var(--spdk-line); border-radius: 15px; display: grid; gap: 8px; grid-template-rows: auto 50px; margin: 0; min-width: 0; padding: 14px; }
.spdk-split-side > span { display: block; font-size: 14px; font-weight: 700; line-height: 1.25; }
.spdk-split select { background: #fff; height: 50px; margin: 0; }
.spdk-split-plus { color: var(--spdk-muted); font-size: 24px; text-align: center; }
.spdk-split-value { align-items: center; background: #fff; border: 1px solid rgba(36, 35, 31, .12); border-radius: 13px; display: flex; font-size: 15px; gap: 5px; height: 50px; justify-content: center; padding: 0 15px; text-align: center; }

.spdk-summary { background: var(--spdk-ink); border-radius: 22px; color: #fff; display: grid; gap: 1px; grid-template-columns: repeat(4, 1fr); overflow: hidden; }
.spdk-summary > div { background: rgba(255, 255, 255, .04); min-width: 0; padding: 22px; }
.spdk-summary span, .spdk-summary strong { display: block; overflow-wrap: anywhere; }
.spdk-summary span { color: rgba(255, 255, 255, .72); font-size: 11px; font-weight: 700; letter-spacing: .02em; }
.spdk-summary strong { font-family: Baskerville, Georgia, serif; font-size: clamp(20px, 2.4vw, 31px); font-weight: 500; margin-top: 4px; }
.spdk-plan-list { display: grid; gap: 18px; margin-top: 24px; }
.spdk-plan-card { border: 1px solid var(--spdk-line); border-radius: 22px; overflow: hidden; }
.spdk-plan-top { display: grid; grid-template-columns: 200px minmax(0, 1fr); }
.spdk-plan-top > div:last-child { min-width: 0; padding: 24px; }
.spdk-plan-top .spdk-product-image { min-height: 200px; }
.spdk-plan-top .spdk-product-image img { height: 155px; width: 155px; }
.spdk-eyebrow { align-items: center; color: var(--spdk-olive-dark); display: flex; font-size: 11px; font-weight: 700; gap: 6px; letter-spacing: .02em; }
.spdk-eyebrow img { height: 22px; object-fit: contain; width: 22px; }
.spdk-plan-top h3 { font-family: Baskerville, Georgia, serif; font-size: 29px; line-height: 1.1; margin: 11px 0 6px; overflow-wrap: anywhere; }
.spdk-plan-top p { color: var(--spdk-muted); font-size: 13px; margin: 0; }
.spdk-metrics { border-top: 1px solid var(--spdk-line); display: grid; gap: 9px; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 20px; }
.spdk-metrics > div { background: #f8f6f0; border-radius: 12px; min-width: 0; padding: 13px; }
.spdk-metrics span, .spdk-metrics strong, .spdk-metrics small { display: block; overflow-wrap: anywhere; }
.spdk-metrics span { color: var(--spdk-muted); font-size: 10.5px; font-weight: 700; letter-spacing: .02em; }
.spdk-metrics strong { font-family: Baskerville, Georgia, serif; font-size: 20px; line-height: 1.15; margin-top: 4px; }
.spdk-metrics small { color: var(--spdk-muted); font-size: 11px; margin-top: 2px; }
.spdk-plan-actions { align-items: center; border-top: 1px solid var(--spdk-line); display: flex; gap: 15px; justify-content: space-between; padding: 18px 20px; }
.spdk-plan-actions a { margin-top: 0; }
.spdk-calculation { background: var(--spdk-paper); border-radius: 20px; margin-top: 24px; padding: 24px; }
.spdk-calculation h3 { font-family: Baskerville, Georgia, serif; font-size: 25px; margin-bottom: 8px; }
.spdk-calculation p { color: var(--spdk-muted); font-size: 13px; line-height: 1.6; margin-bottom: 8px; }
.spdk-calculation p:last-child { margin-bottom: 0; }

.spdk-nav { align-items: center; border-top: 1px solid var(--spdk-line); display: flex; justify-content: space-between; padding: 22px clamp(24px, 6vw, 76px); }
.spdk-notice { background: #edf5e8; border-bottom: 1px solid #c7dac0; color: #315128; font-size: 13px; padding: 12px 24px; text-align: center; }
.spdk-notice.is-error { background: #fff0ee; border-color: #efc4be; color: #7a2d24; }
.spdk-notice a { color: inherit; font-weight: 800; margin-left: 5px; }
.spdk-fatal { background: #fff0ee; border: 1px solid #efc4be; border-radius: 18px; color: #7a2d24; padding: 24px; }
.spdk-fatal p { margin: 4px 0 0; }

@media (max-width: 960px) {
	.spdk-profile-zone .spdk-profile-picker.has-resume { display: block; }
	.spdk-profile-zone .spdk-profile-picker.has-resume .spdk-subhead { margin-bottom: 14px; }
	.spdk-profile-zone .spdk-profile-picker.has-resume .spdk-dog-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
	.spdk-profile-zone .spdk-profile-picker.has-resume .spdk-resume { margin-top: 14px; }
	.spdk-steps li > span:last-child { display: none; }
	.spdk-steps li:not(:last-child)::after { left: calc(50% + 24px); right: calc(-50% + 24px); }
	.spdk-choice-grid.spdk-four { grid-template-columns: repeat(2, 1fr); }
	.spdk-needs { grid-template-columns: repeat(2, 1fr); }
	.spdk-recipe-main { grid-template-columns: 200px minmax(0, 1fr); }
	.spdk-selected-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.spdk-summary, .spdk-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
	.spdk-app { margin: 12px auto; }
	.spdk-shell { border-radius: 20px; }
	.spdk-profile-zone { padding: 14px; }
	.spdk-steps { padding: 16px 13px; }
	.spdk-step-number { flex-basis: 30px; height: 30px; min-height: 30px; min-width: 30px; width: 30px; }
	.spdk-steps li:not(:last-child)::after { left: calc(50% + 18px); right: calc(-50% + 18px); top: 15px; }
	.spdk-content { padding: 30px 18px; }
	.spdk-section-head { margin-bottom: 28px; text-align: left; }
	.spdk-section-head h2 { font-size: 35px !important; }
	.spdk-fields { grid-template-columns: 1fr; }
	.spdk-full { grid-column: auto; }
	.spdk-choice-grid.spdk-three, .spdk-choice-grid.spdk-four { grid-template-columns: 1fr; }
	.spdk-weight { gap: 12px; grid-template-columns: 1fr 112px; }
	.spdk-login-note { align-items: flex-start; flex-wrap: wrap; }
	.spdk-login-note div { min-width: calc(100% - 60px); }
	.spdk-login-note a { margin-left: 53px; }
	.spdk-dog-grid { grid-template-columns: 1fr; }
	.spdk-profile-zone .spdk-profile-picker.has-resume .spdk-dog-grid { grid-template-columns: 1fr; }
	.spdk-save-row { align-items: flex-start; flex-direction: column; }
	.spdk-resume { align-items: stretch; flex-direction: column; }
	.spdk-resume .spdk-button { width: 100%; }
	.spdk-bcs-labels strong { font-size: 11px; }
	.spdk-bcs-labels small { font-size: 9px; }
	.spdk-bcs-question > div { grid-template-columns: 1fr; }
	.spdk-bcs-result { align-items: flex-start; flex-direction: column; gap: 10px; }
	.spdk-binary-card { align-items: flex-start; flex-direction: column; }
	.spdk-segmented { grid-template-columns: repeat(2, minmax(86px, 1fr)); width: 100%; }
	.spdk-needs { grid-template-columns: 1fr; }
	.spdk-form-heading h3 { font-size: 27px; }
	.spdk-recipe-main { grid-template-columns: 1fr; }
	.spdk-product-image { min-height: 210px; }
	.spdk-recipe-copy { padding: 20px; }
	.spdk-recipe-title { flex-direction: column; }
	.spdk-recipe-actions { grid-template-columns: 1fr; }
	.spdk-selected { padding: 18px; }
	.spdk-selected-grid { grid-template-columns: 1fr; }
	.spdk-rejected { padding: 18px; }
	.spdk-rejected-head { align-items: stretch; flex-direction: column; gap: 14px; }
	.spdk-rejected-head > button { width: 100%; }
	.spdk-rejected-grid { grid-template-columns: 1fr; }
	.spdk-manual { padding: 18px; }
	.spdk-manual > div { grid-template-columns: 1fr; }
	.spdk-results-next, .spdk-between { align-items: stretch; flex-direction: column-reverse; gap: 10px; }
	.spdk-results-next .spdk-button { width: 100%; }
	.spdk-split { grid-template-columns: 1fr; }
	.spdk-split > span { text-align: center; }
	.spdk-summary { grid-template-columns: 1fr 1fr; }
	.spdk-summary > div { padding: 16px; }
	.spdk-plan-top { grid-template-columns: 1fr; }
	.spdk-plan-top .spdk-product-image { min-height: 190px; }
	.spdk-metrics { grid-template-columns: 1fr 1fr; padding: 14px; }
	.spdk-plan-actions { align-items: stretch; flex-direction: column; }
	.spdk-plan-actions .spdk-button { width: 100%; }
	.spdk-nav { padding: 16px 18px; }
}

@media (max-width: 420px) {
	.spdk-choice-grid.spdk-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.spdk-choice-grid.spdk-two .spdk-choice { min-height: 68px; }
	.spdk-summary, .spdk-metrics { grid-template-columns: 1fr; }
	.spdk-summary strong { font-size: 24px; }
}

/* Quiz może być wąski również w szerokim oknie, np. w kolumnie „Moje konto”. */
@container spdk-quiz (max-width: 960px) {
	.spdk-profile-zone .spdk-profile-picker.has-resume { display: block; }
	.spdk-profile-zone .spdk-profile-picker.has-resume .spdk-subhead { margin-bottom: 14px; }
	.spdk-profile-zone .spdk-profile-picker.has-resume .spdk-dog-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
	.spdk-profile-zone .spdk-profile-picker.has-resume .spdk-resume { margin-top: 14px; }
	.spdk-steps li > span:last-child { display: none; }
	.spdk-steps li:not(:last-child)::after { left: calc(50% + 24px); right: calc(-50% + 24px); }
	.spdk-choice-grid.spdk-four { grid-template-columns: repeat(2, 1fr); }
	.spdk-needs { grid-template-columns: repeat(2, 1fr); }
	.spdk-recipe-main { grid-template-columns: 200px minmax(0, 1fr); }
	.spdk-selected-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.spdk-summary, .spdk-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@container spdk-quiz (max-width: 680px) {
	.spdk-shell { border-radius: 20px; }
	.spdk-profile-zone { padding: 14px; }
	.spdk-steps { padding: 16px 13px; }
	.spdk-step-number { flex-basis: 30px; height: 30px; min-height: 30px; min-width: 30px; width: 30px; }
	.spdk-steps li:not(:last-child)::after { left: calc(50% + 18px); right: calc(-50% + 18px); top: 15px; }
	.spdk-content { padding: 30px 18px; }
	.spdk-section-head { margin-bottom: 28px; text-align: left; }
	.spdk-section-head h2 { font-size: 35px !important; }
	.spdk-fields { grid-template-columns: 1fr; }
	.spdk-full { grid-column: auto; }
	.spdk-choice-grid.spdk-three, .spdk-choice-grid.spdk-four { grid-template-columns: 1fr; }
	.spdk-weight { gap: 12px; grid-template-columns: 1fr 112px; }
	.spdk-login-note { align-items: flex-start; flex-wrap: wrap; }
	.spdk-login-note div { min-width: calc(100% - 60px); }
	.spdk-login-note a { margin-left: 53px; }
	.spdk-dog-grid, .spdk-profile-zone .spdk-profile-picker.has-resume .spdk-dog-grid { grid-template-columns: 1fr; }
	.spdk-save-row { align-items: flex-start; flex-direction: column; }
	.spdk-resume { align-items: stretch; flex-direction: column; }
	.spdk-resume .spdk-button { width: 100%; }
	.spdk-bcs-labels strong { font-size: 11px; }
	.spdk-bcs-labels small { font-size: 9px; }
	.spdk-bcs-question > div { grid-template-columns: 1fr; }
	.spdk-bcs-result { align-items: flex-start; flex-direction: column; gap: 10px; }
	.spdk-binary-card { align-items: flex-start; flex-direction: column; }
	.spdk-segmented { grid-template-columns: repeat(2, minmax(86px, 1fr)); width: 100%; }
	.spdk-needs { grid-template-columns: 1fr; }
	.spdk-form-heading h3 { font-size: 27px; }
	.spdk-recipe-main { grid-template-columns: 1fr; }
	.spdk-product-image { min-height: 210px; }
	.spdk-recipe-copy { padding: 20px; }
	.spdk-recipe-title { flex-direction: column; }
	.spdk-recipe-actions { grid-template-columns: 1fr; }
	.spdk-selected { padding: 18px; }
	.spdk-selected-grid { grid-template-columns: 1fr; }
	.spdk-rejected { padding: 18px; }
	.spdk-rejected-head { align-items: stretch; flex-direction: column; gap: 14px; }
	.spdk-rejected-head > button { width: 100%; }
	.spdk-rejected-grid { grid-template-columns: 1fr; }
	.spdk-manual { padding: 18px; }
	.spdk-manual > div { grid-template-columns: 1fr; }
	.spdk-results-next, .spdk-between { align-items: stretch; flex-direction: column-reverse; gap: 10px; }
	.spdk-results-next .spdk-button { width: 100%; }
	.spdk-split { grid-template-columns: 1fr; }
	.spdk-split > span { text-align: center; }
	.spdk-summary { grid-template-columns: 1fr 1fr; }
	.spdk-summary > div { padding: 16px; }
	.spdk-plan-top { grid-template-columns: 1fr; }
	.spdk-plan-top .spdk-product-image { min-height: 190px; }
	.spdk-metrics { grid-template-columns: 1fr 1fr; padding: 14px; }
	.spdk-plan-actions { align-items: stretch; flex-direction: column; }
	.spdk-plan-actions .spdk-button { width: 100%; }
	.spdk-nav { padding: 16px 18px; }
}

@container spdk-quiz (max-width: 420px) {
	.spdk-choice-grid.spdk-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.spdk-choice-grid.spdk-two .spdk-choice { min-height: 68px; }
	.spdk-summary, .spdk-metrics { grid-template-columns: 1fr; }
	.spdk-summary strong { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) { .spdk-choice { transition: none; } }
