/**
 * In The Kibble: My Dogs
 *
 * The theme runs Tailwind with `corePlugins.preflight = false` and Bootstrap 5's Reboot
 * no longer ships a global `img` rule, so there is no site-wide `max-width: 100%` to lean
 * on. Every component below therefore resets what it needs itself, and every image gets
 * an explicit box. Nothing here relies on a reset existing.
 *
 * Palette follows the site: amber/orange warmth on stone text.
 */

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

/* ------------------------------------------------------------------ nav button */

.itk-dogs-nav-item .itk-dogs-nav {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
}

.itk-dogs-nav-avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	flex: 0 0 26px;
	border-radius: 999px;
	background: #fef3c7;
	font-size: 0.85rem;
	line-height: 1;
	overflow: hidden;
}

.itk-dogs-nav-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.itk-dogs-nav-has-dog .itk-dogs-nav-label {
	font-weight: 600;
}

/* -------------------------------------------------------------------- launcher */

/* Only rendered when the header nav item cannot be seen, see UI.ensureLauncher(). */
.itk-dogs-launcher {
	position: fixed;
	/* Bottom-left on purpose: the reCAPTCHA badge and most chat widgets live in the
	   bottom-right corner, and this would sit on top of them. */
	left: 1rem;
	bottom: 1rem;
	z-index: 99990;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	max-width: calc(100vw - 2rem);
	padding: 0.5rem 0.95rem 0.5rem 0.5rem;
	background: #fff;
	border: 1px solid #e7e5e4;
	border-radius: 999px;
	box-shadow: 0 10px 28px -8px rgb(28 25 23 / 0.3);
	font: inherit;
	font-size: 0.9rem;
	font-weight: 600;
	color: #292524;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.itk-dogs-launcher:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 34px -8px rgb(28 25 23 / 0.36);
}

.itk-dogs-launcher .itk-dogs-nav-label {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 9rem;
}

/* ----------------------------------------------------------------------- panel */

.itk-dogs-panel {
	position: fixed;
	z-index: 100000;
	width: 340px;
	max-width: calc(100vw - 24px);
	background: #fff;
	border: 1px solid #e7e5e4;
	border-radius: 1rem;
	box-shadow: 0 24px 48px -16px rgb(28 25 23 / 0.28);
	padding: 0.85rem;
	font-size: 0.9rem;
	color: #292524;
}

/* Below the desktop breakpoint the navbar collapses, so there is nothing sensible to
   anchor to, become a bottom sheet instead. */
.itk-dogs-panel-sheet {
	top: auto !important;
	left: 0 !important;
	right: 0;
	bottom: 0;
	width: auto;
	max-width: none;
	border-radius: 1.25rem 1.25rem 0 0;
	border-bottom: 0;
}

.itk-dogs-panel-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.15rem 0.25rem 0.6rem;
	border-bottom: 1px solid #f5f5f4;
	margin-bottom: 0.5rem;
}

.itk-dogs-x {
	appearance: none;
	background: none;
	border: 0;
	font-size: 1.4rem;
	line-height: 1;
	color: #a8a29e;
	cursor: pointer;
	padding: 0 0.25rem;
}

.itk-dogs-x:hover {
	color: #57534e;
}

.itk-dogs-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.itk-dogs-list-item {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	width: 100%;
	text-align: left;
	background: none;
	border: 1px solid transparent;
	border-radius: 0.7rem;
	padding: 0.5rem;
	cursor: pointer;
	font: inherit;
	color: inherit;
}

.itk-dogs-list-item:hover {
	background: #fffbeb;
}

.itk-dogs-list-item.is-active {
	background: #fffbeb;
	border-color: #fcd34d;
}

.itk-dogs-avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	flex: 0 0 38px;
	border-radius: 999px;
	background: #fef3c7;
	overflow: hidden;
	font-size: 1.05rem;
}

.itk-dogs-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.itk-dogs-list-text {
	display: flex;
	flex-direction: column;
	min-width: 0;
	flex: 1 1 auto;
}

.itk-dogs-list-name {
	font-weight: 600;
}

.itk-dogs-list-sub {
	font-size: 0.78rem;
	color: #78716c;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.itk-dogs-tick {
	color: #ea580c;
	font-weight: 700;
}

.itk-dogs-switch {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0.6rem 0.25rem 0.25rem;
	font-size: 0.83rem;
	color: #57534e;
	cursor: pointer;
}

.itk-dogs-panel-actions {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	margin-top: 0.6rem;
	padding-top: 0.6rem;
	border-top: 1px solid #f5f5f4;
}

.itk-dogs-cta {
	margin-top: 0.6rem;
	padding: 0.75rem;
	background: #fffbeb;
	border-radius: 0.75rem;
	text-align: center;
}

.itk-dogs-cta p {
	margin: 0 0 0.5rem;
	font-size: 0.8rem;
	color: #78716c;
}

/* --------------------------------------------------------------------- buttons */

.itk-dogs-btn,
.itk-dogs-btn-ghost {
	display: inline-block;
	text-align: center;
	font: inherit;
	font-weight: 600;
	font-size: 0.88rem;
	border-radius: 0.6rem;
	padding: 0.6rem 1rem;
	cursor: pointer;
	text-decoration: none;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.itk-dogs-btn {
	background: #ea580c;
	border: 1px solid #ea580c;
	color: #fff;
}

.itk-dogs-btn:hover {
	background: #c2410c;
	border-color: #c2410c;
	color: #fff;
}

.itk-dogs-btn:disabled {
	opacity: 0.6;
	cursor: default;
}

.itk-dogs-btn-ghost {
	background: #fff;
	border: 1px solid #e7e5e4;
	color: #292524;
}

.itk-dogs-btn-ghost:hover {
	border-color: #fbbf24;
	background: #fffbeb;
	color: #292524;
}

.itk-dogs-btn-text {
	appearance: none;
	background: none;
	border: 0;
	padding: 0.4rem 0.2rem;
	font: inherit;
	font-size: 0.85rem;
	color: #78716c;
	cursor: pointer;
	text-decoration: underline;
}

.itk-dogs-btn-text:hover {
	color: #292524;
}

.itk-dogs-danger:hover {
	color: #b91c1c;
}

.itk-dogs-inline-btn {
	appearance: none;
	background: none;
	border: 0;
	padding: 0;
	font: inherit;
	color: inherit;
	text-decoration: underline;
	cursor: pointer;
}

/* ---------------------------------------------------------------- breed picker */

/* The chosen breeds. One slot for a pure breed, two for a mix, and the active one is
   where the next pick from the wheel lands. */
.itk-dogs-slots {
	display: flex;
	gap: 0.4rem;
	margin-bottom: 0.75rem;
}

.itk-dogs-slot {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	flex: 1 1 0;
	min-width: 0;
	padding: 0.55rem 0.7rem;
	border: 1px dashed #d6d3d1;
	border-radius: 0.7rem;
	background: #fdfcfb;
	font: inherit;
	font-size: 0.86rem;
	color: #a8a29e;
	cursor: pointer;
	text-align: left;
	transition: all 0.14s ease;
}

.itk-dogs-slot.is-filled {
	border-style: solid;
	color: #292524;
	font-weight: 600;
	background: #fff;
}

.itk-dogs-slot.is-active {
	border-color: #ea580c;
	box-shadow: 0 0 0 3px rgb(234 88 12 / 0.13);
}

.itk-dogs-slot-index {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
	border-radius: 999px;
	background: #f5f0eb;
	font-size: 0.68rem;
	font-weight: 700;
	color: #78716c;
}

.itk-dogs-slot.is-active .itk-dogs-slot-index {
	background: #ea580c;
	color: #fff;
}

.itk-dogs-slot-name {
	flex: 1 1 auto;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.itk-dogs-slot-x {
	flex: 0 0 auto;
	font-size: 1rem;
	line-height: 1;
	color: #a8a29e;
	padding: 0 0.15rem;
}

.itk-dogs-slot-x:hover {
	color: #b91c1c;
}

.itk-dogs-search {
	margin-bottom: 0.7rem;
}

.itk-dogs-search input {
	font-size: 0.92rem;
	padding: 0.55rem 0.8rem;
}

/* Horizontal, snap-scrolling wheel of breed cards. */
.itk-dogs-wheel {
	display: flex;
	gap: 0.55rem;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	padding: 0.2rem 0.15rem 0.6rem;
	scrollbar-width: thin;
}

.itk-dogs-wheel::-webkit-scrollbar {
	height: 6px;
}

.itk-dogs-wheel::-webkit-scrollbar-thumb {
	background: #e0dbd6;
	border-radius: 999px;
}

.itk-dogs-breed {
	scroll-snap-align: center;
	flex: 0 0 auto;
	width: 86px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.35rem;
	padding: 0.4rem 0.2rem 0.5rem;
	border: 1px solid transparent;
	border-radius: 0.8rem;
	background: none;
	font: inherit;
	cursor: pointer;
	transition: background-color 0.14s ease, border-color 0.14s ease;
}

.itk-dogs-breed:hover {
	background: #fffbeb;
}

.itk-dogs-breed.is-on {
	border-color: #ea580c;
	background: #fff7ed;
}

.itk-dogs-breed:focus-visible {
	outline: 2px solid #1c1917;
	outline-offset: 1px;
}

.itk-dogs-breed-photo {
	display: block;
	width: 62px;
	height: 62px;
	border-radius: 999px;
	overflow: hidden;
	background: #f5f0eb;
	box-shadow: 0 1px 3px rgb(28 25 23 / 0.12);
}

.itk-dogs-breed-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.itk-dogs-breed.is-on .itk-dogs-breed-photo {
	box-shadow: 0 0 0 2px #ea580c;
}

/* Stand-in until a real photo exists: hue derived from the breed name so each one is
   at least distinguishable, with the initials on top. */
.itk-dogs-breed-fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		135deg,
		hsl(var(--itk-hue) 62% 86%),
		hsl(var(--itk-hue) 55% 72%)
	);
	color: hsl(var(--itk-hue) 55% 26%);
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.itk-dogs-breed-name {
	font-size: 0.7rem;
	line-height: 1.2;
	text-align: center;
	color: #57534e;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.itk-dogs-breed.is-on .itk-dogs-breed-name {
	color: #9a3412;
	font-weight: 600;
}

.itk-dogs-wheel-empty {
	margin: 0 0 0.5rem;
	font-size: 0.83rem;
	color: #a8a29e;
}

/* ------------------------------------------------------------------ flow chrome */

.itk-dogs-sheet-body {
	overflow: hidden;
	transition: height 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Content fades out before the height animates to the next step's size. */
.itk-dogs-flow-out {
	opacity: 0;
	transition: opacity 0.12s ease;
}

.itk-dogs-flow-progress {
	height: 3px;
	background: #f5f0eb;
	border-radius: 999px;
	overflow: hidden;
	margin-bottom: 1rem;
}

.itk-dogs-flow-progress span {
	display: block;
	height: 100%;
	background: linear-gradient(90deg, #fbbf24, #ea580c);
	border-radius: 999px;
	transition: width 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.itk-dogs-flow-head {
	display: flex;
	align-items: flex-start;
	gap: 0.7rem;
	margin-bottom: 0.45rem;
}

.itk-dogs-flow-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	flex: 0 0 34px;
	border-radius: 999px;
	background: linear-gradient(135deg, #fef3c7, #fed7aa);
	font-size: 1rem;
	line-height: 1;
}

.itk-dogs-flow-head .itk-dogs-kicker {
	margin-bottom: 0.1rem;
}

.itk-dogs-flow-head .itk-dogs-title {
	font-size: 1.22rem;
	line-height: 1.25;
	margin: 0;
}

.itk-dogs-sheet .itk-dogs-lede {
	font-size: 0.86rem;
	margin-bottom: 0.9rem;
}

/* Text input with the submit tucked inside it, one obvious next move per step. */
.itk-dogs-namefield {
	position: relative;
	display: flex;
	align-items: center;
}

.itk-dogs-namefield input {
	font: inherit;
	font-size: 1rem;
	width: 100%;
	padding: 0.72rem 0.9rem;
	border: 1px solid #e0dbd6;
	border-radius: 0.75rem;
	background: #fdfcfb;
	color: #1c1917;
	box-sizing: border-box;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

.itk-dogs-namefield input:focus {
	outline: none;
	border-color: #fbbf24;
	background: #fff;
	box-shadow: 0 0 0 3px rgb(251 191 36 / 0.22);
}

.itk-dogs-go {
	position: absolute;
	right: 0.35rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 999px;
	background: #ea580c;
	color: #fff;
	font-size: 1rem;
	cursor: pointer;
	transition: background-color 0.15s ease, transform 0.15s ease;
}

.itk-dogs-go:hover {
	background: #c2410c;
	transform: translateX(2px);
}

/* ------------------------------------------------------------ size cards + misc */

.itk-dogs-choice {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.4rem;
}

.itk-dogs-option {
	margin: 0;
	cursor: pointer;
}

.itk-dogs-option input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}

.itk-dogs-option span {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	height: 100%;
	padding: 0.6rem 0.5rem;
	border: 1px solid #e7e5e4;
	border-radius: 0.7rem;
	background: #fff;
	text-align: center;
	transition: all 0.14s ease;
}

.itk-dogs-option strong {
	font-size: 0.88rem;
	font-weight: 700;
	color: #292524;
}

.itk-dogs-option em {
	font-style: normal;
	font-size: 0.68rem;
	line-height: 1.25;
	color: #a8a29e;
}

.itk-dogs-option:hover span {
	border-color: #fbbf24;
}

.itk-dogs-option input:checked + span {
	border-color: #ea580c;
	background: #fff7ed;
	box-shadow: 0 0 0 1px #ea580c inset;
}

.itk-dogs-option input:checked + span em {
	color: #b45309;
}

.itk-dogs-option input:focus-visible + span {
	outline: 2px solid #1c1917;
	outline-offset: 2px;
}

.itk-dogs-inline-field {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-top: 0.9rem;
}

.itk-dogs-inline-field label {
	font-size: 0.84rem;
	font-weight: 600;
	color: #44403c;
}

.itk-dogs-inline-field label span {
	font-weight: 400;
	color: #a8a29e;
}

.itk-dogs-inline-field input[type='date'],
.itk-dogs-unitwrap {
	display: flex;
	align-items: center;
	border: 1px solid #e0dbd6;
	border-radius: 0.6rem;
	background: #fdfcfb;
	overflow: hidden;
}

.itk-dogs-inline-field input[type='date'] {
	font: inherit;
	font-size: 0.92rem;
	padding: 0.5rem 0.7rem;
	color: #1c1917;
}

.itk-dogs-unitwrap input {
	font: inherit;
	font-size: 0.92rem;
	width: 5rem;
	padding: 0.5rem 0.6rem;
	border: 0;
	background: transparent;
	color: #1c1917;
	text-align: right;
}

.itk-dogs-unitwrap input:focus,
.itk-dogs-inline-field input[type='date']:focus {
	outline: none;
}

.itk-dogs-unitwrap select {
	font: inherit;
	font-size: 0.82rem;
	padding: 0.5rem 0.4rem;
	border: 0;
	border-left: 1px solid #eee8e2;
	background: #f8f5f2;
	color: #57534e;
	cursor: pointer;
}

/* What we worked out from the birthday, shown rather than silently applied. */
.itk-dogs-derived {
	margin: 0.7rem 0 0;
	padding: 0.5rem 0.7rem;
	background: #f0fdf4;
	border-radius: 0.5rem;
	font-size: 0.82rem;
	color: #14532d;
}

.itk-dogs-chips-stage {
	margin-top: 0.7rem;
}

.itk-dogs-picker-compact {
	max-height: 190px;
}

.itk-dogs-skip-step {
	margin-left: auto;
}

/* -------------------------------------------------------------- fit notes */

.itk-dogs-fit {
	margin: 0.6rem 0 0;
	padding: 0;
	list-style: none;
	font-size: 0.87rem;
}

.itk-dogs-fit li {
	position: relative;
	padding-left: 1.35rem;
	margin-top: 0.25rem;
}

.itk-dogs-fit li::before {
	position: absolute;
	left: 0;
	top: 0;
}

.itk-dogs-fit-yes::before {
	content: '✓';
	color: #16a34a;
	font-weight: 700;
}

.itk-dogs-fit-no::before {
	content: '!';
	color: #d97706;
	font-weight: 700;
}

/* ---------------------------------------------------------------- sheet/wizard */

.itk-dogs-locked {
	overflow: hidden;
}

/* The one presentation for the profile flow: centred on desktop, a bottom sheet on
   phones where a centred card fights the on-screen keyboard. */
.itk-dogs-sheet {
	position: fixed;
	inset: 0;
	z-index: 100001;
	background: rgb(28 25 23 / 0);
	backdrop-filter: blur(0);
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding: 0;
	transition: background-color 0.22s ease, backdrop-filter 0.22s ease;
}

.itk-dogs-sheet-in {
	background: rgb(28 25 23 / 0.5);
	backdrop-filter: blur(3px);
}

@media (min-width: 640px) {
	.itk-dogs-sheet {
		align-items: center;
		padding: 1.5rem;
	}
}

.itk-dogs-sheet-panel {
	position: relative;
	background: #fff;
	width: 100%;
	max-width: 540px;
	max-height: 92vh;
	overflow-y: auto;
	border-radius: 1.5rem 1.5rem 0 0;
	padding: 1.6rem 1.25rem 1.5rem;
	box-shadow: 0 -12px 40px rgb(28 25 23 / 0.25);

	opacity: 0;
	transform: translateY(18px) scale(0.98);
	transition: opacity 0.26s ease, transform 0.26s cubic-bezier(0.22, 1, 0.36, 1);
}

.itk-dogs-sheet-in .itk-dogs-sheet-panel {
	opacity: 1;
	transform: translateY(0) scale(1);
}

@media (min-width: 640px) {
	.itk-dogs-sheet-panel {
		border-radius: 1.5rem;
		padding: 2rem;
		box-shadow: 0 32px 64px -18px rgb(28 25 23 / 0.4);
	}
}

@media (prefers-reduced-motion: reduce) {
	.itk-dogs-sheet,
	.itk-dogs-sheet-panel {
		transition: none;
	}

	.itk-dogs-sheet-panel {
		opacity: 1;
		transform: none;
	}
}

.itk-dogs-sheet-x {
	position: absolute;
	top: 0.6rem;
	right: 0.8rem;
}

@keyframes itk-dogs-fade {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes itk-dogs-rise {
	from { transform: translateY(24px); opacity: 0; }
	to { transform: translateY(0); opacity: 1; }
}

.itk-dogs-kicker {
	margin: 0 0 0.35rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #d97706;
}

.itk-dogs-title {
	margin: 0 0 0.4rem;
	font-size: 1.55rem;
	line-height: 1.2;
	font-weight: 700;
	color: #1c1917;
}

.itk-dogs-lede {
	margin: 0 0 1.1rem;
	color: #57534e;
	font-size: 0.92rem;
	line-height: 1.5;
}

/* ----------------------------------------------------------------------- forms */

.itk-dogs-form {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

.itk-dogs-field {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
}

.itk-dogs-label {
	font-size: 0.82rem;
	font-weight: 600;
	color: #44403c;
}

.itk-dogs-field input {
	font: inherit;
	font-size: 1rem;
	padding: 0.65rem 0.8rem;
	border: 1px solid #d6d3d1;
	border-radius: 0.6rem;
	background: #fff;
	color: #1c1917;
	width: 100%;
	box-sizing: border-box;
}

.itk-dogs-field input:focus {
	outline: 2px solid #fbbf24;
	outline-offset: 1px;
	border-color: #fbbf24;
}

.itk-dogs-hint,
.itk-dogs-fineprint {
	font-size: 0.78rem;
	color: #78716c;
	margin: 0;
}

.itk-dogs-check {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.86rem;
	color: #57534e;
}

.itk-dogs-error {
	margin: 0;
	padding: 0.55rem 0.7rem;
	background: #fef2f2;
	border: 1px solid #fecaca;
	border-radius: 0.5rem;
	color: #b91c1c;
	font-size: 0.85rem;
}

.itk-dogs-actions {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-wrap: wrap;
}

/* Off-screen rather than display:none, a bot that only skips hidden fields still
   fills this one in. */
.itk-dogs-hp {
	position: absolute;
	left: -9999px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* ------------------------------------------------------------- allergen picker */

.itk-dogs-picker {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	max-height: 46vh;
	overflow-y: auto;
	padding-right: 0.2rem;
}

.itk-dogs-group-title {
	margin: 0 0 0.45rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #a8a29e;
}

.itk-dogs-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.itk-dogs-chip {
	display: inline-flex;
	align-items: center;
	cursor: pointer;
	margin: 0;
}

.itk-dogs-chip input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}

.itk-dogs-chip span {
	display: inline-block;
	padding: 0.42rem 0.75rem;
	border: 1px solid #e7e5e4;
	border-radius: 999px;
	font-size: 0.86rem;
	background: #fff;
	color: #44403c;
	transition: all 0.12s ease;
	user-select: none;
}

.itk-dogs-chip:hover span {
	border-color: #fbbf24;
}

.itk-dogs-chip input:checked + span {
	background: #ea580c;
	border-color: #ea580c;
	color: #fff;
	font-weight: 600;
}

.itk-dogs-chip input:focus-visible + span {
	outline: 2px solid #1c1917;
	outline-offset: 2px;
}

.itk-dogs-chip-extra {
	display: none;
}

.itk-dogs-group-open .itk-dogs-chip-extra {
	display: inline-flex;
}

.itk-dogs-more {
	appearance: none;
	background: none;
	border: 0;
	margin-top: 0.4rem;
	padding: 0;
	font: inherit;
	font-size: 0.82rem;
	color: #d97706;
	cursor: pointer;
	text-decoration: underline;
}

/* -------------------------------------------------------------- product verdict */

.itk-dogs-verdict {
	display: flex;
	align-items: flex-start;
	gap: 0.85rem;
	margin: 1rem 0 1.25rem;
	padding: 1rem 1.1rem;
	border-radius: 0.9rem;
	border: 2px solid;
	font-size: 0.92rem;
	line-height: 1.5;
}

/* Direct child only. The <strong> inside the matched-ingredient list must stay inline,
   otherwise "Chicken: chicken fat" breaks after the label and strands the colon. */
.itk-dogs-verdict > div > strong {
	display: block;
	font-size: 1rem;
	margin-bottom: 0.15rem;
}

.itk-dogs-verdict p {
	margin: 0;
}

.itk-dogs-verdict-icon {
	font-size: 1.35rem;
	line-height: 1.2;
	flex: 0 0 auto;
}

.itk-dogs-verdict-list {
	margin: 0.5rem 0 0;
	padding-left: 1.1rem;
}

.itk-dogs-verdict-list li {
	margin-bottom: 0.15rem;
}

.itk-dogs-verdict-bad {
	background: #fef2f2;
	border-color: #fca5a5;
	color: #7f1d1d;
}

.itk-dogs-verdict-good {
	background: #f0fdf4;
	border-color: #86efac;
	color: #14532d;
}

.itk-dogs-verdict-unknown {
	background: #fffbeb;
	border-color: #fcd34d;
	color: #78350f;
}

.itk-dogs-verdict-neutral {
	background: #fafaf9;
	border-color: #e7e5e4;
	color: #44403c;
}

/* ------------------------------------------------------------------ card flags */

.itk-dogs-flagged {
	position: relative;
}

.itk-dogs-flag {
	position: absolute;
	top: 0.45rem;
	left: 0.45rem;
	z-index: 5;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 999px;
	background: #fef2f2;
	border: 2px solid #fca5a5;
	font-size: 0.9rem;
	line-height: 1;
	pointer-events: none;
}

/* Text links, a related-posts entry, a sidebar list, get a marker in the line rather
   than a badge floated over the words. */
.itk-dogs-flag-inline {
	display: inline-block;
	margin-left: 0.35rem;
	font-size: 0.85em;
	line-height: 1;
	vertical-align: baseline;
	cursor: help;
}

.itk-dogs-hidden {
	display: none !important;
}

.itk-dogs-hidden-note {
	grid-column: 1 / -1;
	width: 100%;
	margin: 0.5rem 0;
	padding: 0.7rem 0.9rem;
	background: #fffbeb;
	border: 1px dashed #fcd34d;
	border-radius: 0.7rem;
	font-size: 0.85rem;
	color: #78350f;
}

/* ----------------------------------------------------------------------- toast */

.itk-dogs-toast {
	position: fixed;
	left: 50%;
	bottom: 1.25rem;
	z-index: 100002;
	transform: translate(-50%, 1rem);
	opacity: 0;
	transition: opacity 0.25s ease, transform 0.25s ease;
	max-width: calc(100vw - 2rem);
	padding: 0.7rem 1.1rem;
	background: #1c1917;
	color: #fff;
	border-radius: 999px;
	font-size: 0.88rem;
	box-shadow: 0 12px 28px rgb(28 25 23 / 0.3);
}

.itk-dogs-toast-in {
	opacity: 1;
	transform: translate(-50%, 0);
}

/* ---------------------------------------------------------------- account page */

.itk-dogs-account {
	max-width: 960px;
	margin: 0 auto;
	padding: 2.5rem 1rem 4rem;
	color: #292524;
}

.itk-dogs-account img {
	max-width: 100%;
}

.itk-dogs-account-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	margin-bottom: 1.75rem;
}

.itk-dogs-page-title {
	margin: 0;
	font-size: 2rem;
	font-weight: 700;
	color: #1c1917;
}

.itk-dogs-empty {
	text-align: center;
	padding: 3rem 1.5rem;
	background: #fffbeb;
	border: 1px dashed #fcd34d;
	border-radius: 1.25rem;
	margin-bottom: 2rem;
}

.itk-dogs-empty span {
	font-size: 2.75rem;
	display: block;
	margin-bottom: 0.5rem;
}

.itk-dogs-empty h2 {
	margin: 0 0 0.4rem;
	font-size: 1.3rem;
	font-weight: 700;
}

.itk-dogs-empty p {
	margin: 0 auto 1.25rem;
	max-width: 34rem;
	color: #78716c;
}

.itk-dogs-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 1.25rem;
	margin-bottom: 1.5rem;
}

.itk-dogs-profile {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #e7e5e4;
	border-radius: 1rem;
	overflow: hidden;
	box-shadow: 0 1px 2px rgb(15 23 42 / 0.04);
}

.itk-dogs-photo {
	position: relative;
	aspect-ratio: 4 / 3;
	background: #fef3c7;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2.5rem;
	overflow: hidden;
}

.itk-dogs-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.itk-dogs-photo-btn {
	position: absolute;
	right: 0.6rem;
	bottom: 0.6rem;
	margin: 0;
	padding: 0.35rem 0.7rem;
	background: rgb(255 255 255 / 0.94);
	border-radius: 999px;
	font-size: 0.76rem;
	font-weight: 600;
	color: #44403c;
	cursor: pointer;
	box-shadow: 0 2px 6px rgb(28 25 23 / 0.18);
}

.itk-dogs-photo-hint {
	position: absolute;
	right: 0.6rem;
	bottom: 0.6rem;
	padding: 0.3rem 0.6rem;
	background: rgb(255 255 255 / 0.9);
	border-radius: 999px;
	font-size: 0.72rem;
	color: #78716c;
}

.itk-dogs-profile-body {
	padding: 1rem;
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	flex: 1 1 auto;
}

.itk-dogs-profile-body h2 {
	margin: 0;
	font-size: 1.15rem;
	font-weight: 700;
}

.itk-dogs-profile-meta {
	margin: -0.3rem 0 0;
	font-size: 0.83rem;
	color: #78716c;
}

.itk-dogs-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.3rem;
	flex: 1 1 auto;
	align-content: flex-start;
}

.itk-dogs-tag {
	display: inline-block;
	padding: 0.22rem 0.55rem;
	background: #fef3c7;
	border-radius: 999px;
	font-size: 0.76rem;
	color: #78350f;
}

.itk-dogs-tag-muted {
	background: #f5f5f4;
	color: #a8a29e;
}

.itk-dogs-profile-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	border-top: 1px solid #f5f5f4;
	padding-top: 0.6rem;
}

/* --------------------------------------------------------------------- auth box */

.itk-dogs-authbox {
	display: grid;
	gap: 1.75rem;
	margin-top: 2.5rem;
	padding: 1.75rem;
	background: linear-gradient(180deg, #fffbeb, #fff7ed);
	border: 1px solid #fde68a;
	border-radius: 1.25rem;
}

@media (min-width: 820px) {
	.itk-dogs-authbox {
		grid-template-columns: 1fr 1fr;
		align-items: start;
		gap: 2.5rem;
	}
}

.itk-dogs-authbox-copy h2 {
	margin: 0 0 0.6rem;
	font-size: 1.45rem;
	font-weight: 700;
	color: #1c1917;
}

.itk-dogs-authbox-copy p {
	margin: 0;
	color: #57534e;
	line-height: 1.6;
}

.itk-dogs-authbox-forms {
	background: #fff;
	border: 1px solid #e7e5e4;
	border-radius: 1rem;
	padding: 1.25rem;
}

.itk-dogs-tabs {
	display: flex;
	gap: 0.25rem;
	margin-bottom: 1.1rem;
	background: #f5f5f4;
	border-radius: 0.6rem;
	padding: 0.22rem;
}

.itk-dogs-tabs button {
	flex: 1 1 auto;
	appearance: none;
	background: none;
	border: 0;
	border-radius: 0.45rem;
	padding: 0.5rem;
	font: inherit;
	font-size: 0.86rem;
	font-weight: 600;
	color: #78716c;
	cursor: pointer;
}

.itk-dogs-tabs button.is-active {
	background: #fff;
	color: #1c1917;
	box-shadow: 0 1px 3px rgb(28 25 23 / 0.1);
}

.itk-dogs-noscript {
	padding: 1rem;
	background: #fffbeb;
	border: 1px solid #fcd34d;
	border-radius: 0.75rem;
	color: #78350f;
}
