/* Ported mechanically from training-puppies-hello-child 0.5.34 assets/css/tp-nav-v2.css by BUILD/block-migration/chrome/port_css.py
   (colours -> theme.json tokens, translucent ones -> legacy alpha tokens; TOKEN-MAP-2026-11-11.md). Mode A parity CSS: change the tokens, not this file. */
/* Navigation v2 (0.5.7): desktop mega panels + full-screen compact menu.
   A layer over the live 0.5.6 header: same markup contract (tp-shell.js keeps every behaviour), plus a thumb per
   guide, a group intro in the kicker row and a featured "free printable plan" card. Paper card, ink hairline,
   offset paper shadow, as the 0.5.4 panels. */

.tp-site-header { --nv-ink: var(--wp--preset--color--text); --nv-muted: var(--wp--preset--color--text-muted); --nv-green: var(--wp--preset--color--action); --nv-green-d: var(--wp--preset--color--action-hover); --nv-tint: var(--wp--custom--color--tint);
	--nv-paper: var(--wp--preset--color--surface); --nv-cream: var(--wp--preset--color--base); --nv-deep: var(--wp--preset--color--surface-alt); --nv-rule: var(--wp--preset--color--border); --nv-rust: var(--wp--preset--color--accent); --nv-shadow: var(--wp--custom--legacy--color--shadow-sand);
	--nv-ease: cubic-bezier(0.23, 1, 0.32, 1); --nv-spring: cubic-bezier(0.34, 1.56, 0.64, 1); }

/* Shared pieces ---------------------------------------------------------------------------------------- */
.tp-site-header .tp-sub-link { grid-template-columns: 48px minmax(0, 1fr); column-gap: 14px; align-items: center; }
.tp-site-header .tp-sub-thumb { grid-row: 1 / span 2; display: block; width: 48px; height: 48px; border-radius: 12px; overflow: hidden; background: var(--nv-deep); box-shadow: inset 0 0 0 1px var(--wp--custom--legacy--alpha--text-8); transition: transform 300ms var(--nv-spring); }
.tp-site-header .tp-sub-thumb img, .tp-site-header .tp-sub-thumb svg { display: block; width: 100%; height: 100%; object-fit: cover; }
.tp-site-header .tp-sub-title, .tp-site-header .tp-sub-desc { grid-column: 2; }
.tp-site-header .tp-sub-link:hover .tp-sub-thumb, .tp-site-header .tp-sub-link:focus-visible .tp-sub-thumb { transform: rotate(-4deg) scale(1.06); }
.tp-site-header .tp-sub-k { display: block; color: var(--nv-rust); font: 600 13px/1.3 var(--tp-sans); }
.tp-site-header .tp-sub-group, .tp-site-header .tp-sub-intro, .tp-site-header .tp-sub-count { display: none; }

.tp-site-header .tp-feature { position: relative; display: flex; flex-direction: column; height: 100%; padding: 18px 18px 16px; border-radius: 14px; background: var(--nv-green); color: var(--wp--custom--color--on-action); text-decoration: none; overflow: hidden; isolation: isolate; transition: transform 200ms var(--nv-ease); }
.tp-site-header .tp-feature:hover { transform: translateY(-2px); }
.tp-site-header .tp-feature:focus-visible { outline: 3px solid var(--nv-ink); outline-offset: 3px; }
.tp-site-header .tp-feature-k { font: 700 11.5px/1 var(--tp-sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--wp--custom--legacy--color--tint-2); }
.tp-site-header .tp-feature-t { margin-top: 8px; font: 560 21px/1.12 var(--tp-display); color: var(--wp--custom--color--on-action); max-width: 13ch; }
.tp-site-header .tp-feature-d { margin-top: 6px; font: 400 13.5px/1.4 var(--tp-sans); color: var(--wp--custom--legacy--color--tint-3); max-width: 22ch; }
.tp-site-header .tp-feature-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 14px; font: 700 14px/1 var(--tp-sans); color: var(--wp--custom--color--on-action); }
.tp-site-header .tp-feature-cta i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--wp--custom--legacy--alpha--on-action-18); font-style: normal; transition: transform 300ms var(--nv-spring); }
.tp-site-header .tp-feature:hover .tp-feature-cta i { transform: translateX(3px); }
.tp-site-header .tp-feature-art { position: absolute; z-index: -1; right: -18px; bottom: -26px; width: 128px; height: 150px; }
.tp-site-header .tp-feature-art img { position: absolute; right: 8px; bottom: 0; width: 104px; height: auto; border-radius: 4px; transform: rotate(8deg); box-shadow: 0 14px 26px -12px var(--wp--custom--legacy--alpha--black-55); transition: transform 500ms var(--nv-ease); }
.tp-site-header .tp-feature-art svg { position: absolute; left: -16px; top: -6px; width: 74px; transform: rotate(-8deg); transform-origin: 50% 85%; }
.tp-site-header .tp-feature:hover .tp-feature-art img { transform: rotate(4deg) translateY(-6px); }
.tp-site-header .tp-nav-extra { display: none; }

/* Desktop (>= 1024px): one wide panel under the header ------------------------------------------------- */
@media (min-width: 1024px) {
	.tp-site-header .tp-header-inner { position: relative; }
	.tp-site-header .tp-nav-item.tp-nav-group { position: static; }
	.tp-nav-ready .tp-site-header .tp-sub,
	.tp-nav-ready .tp-site-header .tp-nav-item:last-child .tp-sub {
		left: var(--tp-gutter); right: var(--tp-gutter); top: calc(100% + 8px);
		width: auto; max-width: none;
		display: grid; grid-template-columns: 220px repeat(2, minmax(0, 1fr)) 262px; grid-auto-rows: min-content;
		column-gap: 8px; row-gap: 2px; padding: 22px 22px 22px 26px; border-radius: 20px;
	}
	/* Same weight as the last-child rule above, so a collapsed panel in the last group (Puppy Care since 0.5.17) stays hidden. */
	.tp-nav-ready .tp-site-header .tp-sub[hidden], .tp-nav-ready .tp-site-header .tp-nav-item:last-child .tp-sub[hidden] { display: none; }
	.tp-nav-ready .tp-site-header .tp-sub .tp-sub-kicker { grid-column: 1; grid-row: 1 / span 3; padding: 4px 18px 0 0; margin-right: 10px; border-right: 1px solid var(--nv-rule); }
	.tp-nav-ready .tp-site-header .tp-sub-group { display: block; margin-top: 10px; font: 560 26px/1.05 var(--tp-display); color: var(--nv-ink); letter-spacing: -0.01em; }
	.tp-nav-ready .tp-site-header .tp-sub-intro { display: block; margin-top: 10px; font: 400 14.5px/1.45 var(--tp-sans); color: var(--nv-muted); }
	.tp-nav-ready .tp-site-header .tp-sub-count { display: inline-block; margin-top: 16px; padding: 5px 10px; border-radius: 999px; background: var(--nv-tint); color: var(--nv-green-d); font: 700 12.5px/1 var(--tp-sans); }
	.tp-nav-ready .tp-site-header .tp-sub-feature { grid-column: 4; grid-row: 1 / span 3; margin-left: 10px; min-height: 236px; }
	.tp-nav-ready .tp-site-header .tp-sub-link { padding: 11px 12px; }

	/* 1024-1199: the intro becomes a top row, so the guides keep two readable columns */
	@media (max-width: 1199px) {
		.tp-nav-ready .tp-site-header .tp-sub, .tp-nav-ready .tp-site-header .tp-nav-item:last-child .tp-sub { grid-template-columns: repeat(2, minmax(0, 1fr)) 236px; padding: 18px 18px 18px 20px; }
		.tp-nav-ready .tp-site-header .tp-sub .tp-sub-kicker { grid-column: 1 / span 2; grid-row: auto; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 0 0 8px; padding: 0 12px 12px; border-right: 0; border-bottom: 1px solid var(--nv-rule); }
		.tp-nav-ready .tp-site-header .tp-sub-group { margin: 0; font-size: 22px; order: -1; }
		.tp-nav-ready .tp-site-header .tp-sub-k { flex-basis: 100%; order: -2; }
		.tp-nav-ready .tp-site-header .tp-sub-intro { margin: 0; flex: 1; }
		.tp-nav-ready .tp-site-header .tp-sub-count { margin: 0; }
		.tp-nav-ready .tp-site-header .tp-sub-feature { grid-column: 3; grid-row: 1 / span 4; }
	}
	/* the page dims a little under an open panel */
	html.tp-mega-open body::after { content: ""; position: fixed; inset: 0; z-index: 40; background: var(--wp--custom--legacy--alpha--text-16); pointer-events: none; animation: tp-nv-fade 200ms var(--nv-ease) both; }
}

/* Compact (<= 1023px): the menu becomes a full-screen sheet ------------------------------------------- */
@media (max-width: 1023px) {
	html.tp-menu-lock, html.tp-menu-lock body { overflow: hidden; }
	.tp-js .tp-site-header .tp-primary-nav.tp-open {
		position: fixed; top: calc(var(--tp-header-h) + var(--tp-admin, 0px)); right: 0; bottom: 0; left: 0;
		max-height: none; padding: 20px var(--tp-gutter) 0; overflow-y: auto; overscroll-behavior: contain;
		background: var(--nv-cream); border-bottom: 0; display: flex; flex-direction: column;
	}
	.tp-site-header .tp-primary-nav .tp-nav-list { flex: none; }
	.tp-site-header .tp-nav-item { border-bottom: 1.5px solid var(--nv-ink); }
	.tp-site-header .tp-nav-item:first-child { border-top: 1.5px solid var(--nv-ink); }
	.tp-site-header .tp-nav-item:last-child { border-bottom: 1.5px solid var(--nv-ink); }
	.tp-site-header .tp-primary-nav .tp-nav-item > .tp-link,
	.tp-site-header .tp-primary-nav .tp-nav-button,
	.tp-site-header .tp-primary-nav .tp-nav-button:hover,
	.tp-site-header .tp-primary-nav .tp-nav-button:focus {
		min-height: 68px; margin: 0; padding: 0 2px; background: transparent;
		font: 560 clamp(26px, 5vw + 8px, 36px)/1.05 var(--tp-display); letter-spacing: -0.015em; color: var(--nv-ink);
	}
	.tp-site-header .tp-primary-nav .tp-link[aria-current="page"] { background: transparent; color: var(--nv-green); }
	.tp-site-header .tp-primary-nav .tp-nav-button .tp-chevron { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--nv-deep); box-sizing: border-box; transition: transform 300ms var(--nv-spring), background-color 200ms var(--nv-ease); }
	.tp-site-header .tp-primary-nav .tp-nav-button[aria-expanded="true"] .tp-chevron { background: var(--nv-green); color: var(--wp--custom--color--on-action); }
	.tp-site-header .tp-sub, .tp-site-header .tp-nav-item:last-child .tp-sub { padding: 0 0 14px; }
	.tp-site-header .tp-sub .tp-sub-kicker { padding: 0 2px 8px; }
	.tp-site-header .tp-sub-k::after { content: " \00B7  " attr(data-count); color: var(--nv-muted); font-weight: 500; }
	.tp-site-header .tp-sub-link { padding: 10px 2px; border-radius: 12px; }
	.tp-site-header .tp-sub-title { font-size: 18px; }
	.tp-site-header .tp-sub-thumb { width: 52px; height: 52px; }
	.tp-site-header .tp-sub-link { grid-template-columns: 52px minmax(0, 1fr); }
	.tp-site-header .tp-sub-feature { display: none; }

	.tp-site-header .tp-nav-extra { display: block; position: relative; flex: none; margin: 26px calc(-1 * var(--tp-gutter)) 0; padding: 0 var(--tp-gutter) 28px; }
	.tp-site-header .tp-nav-extra .tp-feature { height: auto; min-height: 168px; padding: 20px 150px 18px 20px; border-radius: 20px; }
	.tp-site-header .tp-nav-extra .tp-feature-art { right: -6px; bottom: -22px; width: 150px; height: 170px; }
	.tp-site-header .tp-nav-extra .tp-feature-art img { width: 112px; }
	.tp-site-header .tp-nav-extra .tp-feature-art svg { width: 84px; left: -10px; top: -14px; }
	.tp-site-header .tp-nav-note { margin: 16px 2px 0; font: 400 14px/1.45 var(--tp-sans); color: var(--nv-muted); }
	.tp-js .tp-site-header .tp-scrim.tp-open { display: none; }
}

/* Motion ------------------------------------------------------------------------------------------------ */
@keyframes tp-nv-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes tp-nv-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes tp-nv-peek { 0% { transform: translateY(30px) rotate(-8deg); opacity: 0; } 100% { transform: translateY(0) rotate(-8deg); opacity: 1; } }
@keyframes tp-nv-tilt { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(6deg); } }
@media (prefers-reduced-motion: no-preference) {
	@media (min-width: 1024px) {
		.tp-nav-ready .tp-site-header .tp-sub:not([hidden]) { animation: tp-nv-fade 160ms var(--nv-ease) both; }
		.tp-nav-ready .tp-site-header .tp-sub:not([hidden]) > * { animation: tp-nv-up 420ms var(--nv-ease) both; }
		.tp-nav-ready .tp-site-header .tp-sub:not([hidden]) > *:nth-child(2) { animation-delay: 30ms; }
		.tp-nav-ready .tp-site-header .tp-sub:not([hidden]) > *:nth-child(3) { animation-delay: 60ms; }
		.tp-nav-ready .tp-site-header .tp-sub:not([hidden]) > *:nth-child(4) { animation-delay: 90ms; }
		.tp-nav-ready .tp-site-header .tp-sub:not([hidden]) > *:nth-child(5) { animation-delay: 120ms; }
		.tp-nav-ready .tp-site-header .tp-sub:not([hidden]) > *:nth-child(6) { animation-delay: 150ms; }
		.tp-nav-ready .tp-site-header .tp-sub:not([hidden]) > *.tp-sub-feature { animation-delay: 110ms; }
	}
	.tp-site-header .tp-sub:not([hidden]) .tp-feature-art svg,
	.tp-site-header .tp-primary-nav.tp-open .tp-nav-extra .tp-feature-art svg { animation: tp-nv-peek 700ms 220ms var(--nv-spring) both, tp-nv-tilt 1.4s 1s ease-in-out 2; }
	.tp-site-header .tp-feature:hover .tp-feature-art svg { animation: tp-nv-tilt 1.2s ease-in-out infinite; opacity: 1; }
	@media (max-width: 1023px) {
		.tp-js .tp-site-header .tp-primary-nav.tp-open { animation: tp-nv-fade 220ms var(--nv-ease) both; }
		.tp-site-header .tp-primary-nav.tp-open .tp-nav-item, .tp-site-header .tp-primary-nav.tp-open .tp-nav-extra { animation: tp-nv-up 520ms var(--nv-ease) both; }
		.tp-site-header .tp-primary-nav.tp-open .tp-nav-item:nth-child(2) { animation-delay: 50ms; }
		.tp-site-header .tp-primary-nav.tp-open .tp-nav-item:nth-child(3) { animation-delay: 100ms; }
		.tp-site-header .tp-primary-nav.tp-open .tp-nav-item:nth-child(4) { animation-delay: 150ms; }
		.tp-site-header .tp-primary-nav.tp-open .tp-nav-extra { animation-delay: 210ms; }
		.tp-site-header .tp-sub:not([hidden]) > * { animation: tp-nv-up 380ms var(--nv-ease) both; }
		.tp-site-header .tp-sub:not([hidden]) > *:nth-child(3) { animation-delay: 40ms; }
		.tp-site-header .tp-sub:not([hidden]) > *:nth-child(4) { animation-delay: 80ms; }
		.tp-site-header .tp-sub:not([hidden]) > *:nth-child(5) { animation-delay: 120ms; }
		.tp-site-header .tp-sub:not([hidden]) > *:nth-child(6) { animation-delay: 160ms; }
		.tp-site-header .tp-sub:not([hidden]) > *:nth-child(7) { animation-delay: 200ms; }
	}
}
@media (forced-colors: active) {
	.tp-site-header .tp-feature { border: 2px solid CanvasText; }
}
/* Without the script: panels stay in flow (live fallback); the featured card and extras stay out of the way. */
html:not(.tp-js) .tp-site-header .tp-sub-feature, html:not(.tp-js) .tp-site-header .tp-nav-extra { display: none; }

/* Hover: one thin underline under the guide title only (the base .tp-link:hover underlines title and sentence). */
.tp-site-header .tp-sub-link:hover, .tp-site-header .tp-sub-link:focus { text-decoration: none; }
.tp-site-header .tp-sub-link:hover, .tp-site-header .tp-sub-link:focus-visible { background: var(--nv-tint); }
.tp-site-header .tp-sub-link:hover .tp-sub-title, .tp-site-header .tp-sub-link:focus-visible .tp-sub-title { text-decoration: underline; text-decoration-color: var(--wp--custom--color--mark); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.tp-site-header .tp-sub-link:hover .tp-sub-desc, .tp-site-header .tp-sub-link:focus-visible .tp-sub-desc { text-decoration: none; }

/* 0.5.16 panel grid: the intro column and the plan card span every row the panel has (row count set per panel
   by shell.php as --tp-rows / --tp-rows-n), so a 7th guide no longer drops under the intro. The first-year
   pillar spans both guide columns as the panel's last row. */
@media (min-width: 1024px) {
	.tp-nav-ready .tp-site-header .tp-sub .tp-sub-kicker,
	.tp-nav-ready .tp-site-header .tp-sub-feature { grid-row: 1 / span var(--tp-rows, 3); }
	.tp-nav-ready .tp-site-header .tp-sub-pillar { grid-column: 2 / span 2; margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--nv-rule); }
	.tp-nav-ready .tp-site-header .tp-sub-pillar .tp-sub-link { grid-template-columns: 48px minmax(0, 1fr); }
	.tp-nav-ready .tp-site-header .tp-sub-pillar .tp-sub-thumb { grid-row: 1 / span 3; }
	@media (max-width: 1199px) {
		.tp-nav-ready .tp-site-header .tp-sub .tp-sub-kicker { grid-row: auto; }
		.tp-nav-ready .tp-site-header .tp-sub-feature { grid-row: 1 / span var(--tp-rows-n, 4); }
		.tp-nav-ready .tp-site-header .tp-sub-pillar { grid-column: 1 / span 2; }
	}
}
.tp-site-header .tp-sub-pk { grid-column: 2; display: block; color: var(--nv-rust); font: 600 12.5px/1.3 var(--tp-sans); }
@media (max-width: 1023px) {
	.tp-site-header .tp-sub-pillar { margin-top: 4px; padding-top: 4px; border-top: 1px solid var(--nv-rule); }
	.tp-site-header .tp-sub-pillar .tp-sub-thumb { grid-row: 1 / span 3; }
}

/* 0.5.19: two printable plans. The compact menu shows both as small cards, side by side. */
@media (max-width: 1023px) {
	.tp-site-header .tp-nav-extra-k { margin: 0 0 10px; font: 700 12px/1 var(--tp-sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--nv-green-d); }
	.tp-site-header .tp-nav-extra-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
	.tp-site-header .tp-nav-extra .tp-feature--mini { min-height: 0; height: auto; padding: 16px 14px 14px; border-radius: 16px; }
	.tp-site-header .tp-feature--mini .tp-feature-k { font-size: 11px; }
	.tp-site-header .tp-feature--mini .tp-feature-t { margin-top: 6px; font-size: 19px; max-width: none; }
	.tp-site-header .tp-feature--mini .tp-feature-cta { padding-top: 12px; font-size: 14px; }
	.tp-site-header .tp-feature--mini + .tp-feature--mini { background: var(--nv-green-d); }
}

/* 0.5.21: guide finder. Header button (desktop: after the menu; compact: before the menu button) + dialog. */
.tp-site-header .tp-finder-btn[hidden] { display: none; }
.tp-site-header .tp-finder-btn { display: inline-flex; align-items: center; gap: 8px; order: 3; height: 40px; min-width: 44px; padding: 0 14px 0 12px; border: 1px solid var(--nv-rule, var(--wp--custom--legacy--color--border-old)); border-radius: 999px; background: var(--wp--preset--color--surface); color: var(--nv-ink, var(--wp--preset--color--text)); font: 600 14.5px/1 var(--tp-sans); cursor: pointer; transition: background-color 160ms ease, border-color 160ms ease; }
.tp-site-header .tp-finder-btn:hover { background: var(--nv-tint, var(--wp--custom--color--tint)); border-color: var(--nv-green, var(--wp--preset--color--action)); }
.tp-site-header .tp-finder-btn:focus-visible { outline: 3px solid var(--nv-green, var(--wp--preset--color--action)); outline-offset: 2px; }
@media (min-width: 1024px) { .tp-site-header .tp-primary-nav { order: 2; margin-left: auto; } }
@media (max-width: 1023px) {
	.tp-site-header .tp-finder-btn { order: 0; margin-left: auto; width: 44px; height: 44px; padding: 0; justify-content: center; border-radius: 12px; }
	.tp-site-header .tp-finder-btn-t { display: none; }
}
.tp-finder { width: min(640px, calc(100vw - 32px)); max-height: min(82vh, 760px); margin: 9vh auto auto; padding: 0; border: 0; border-radius: 22px; background: var(--wp--preset--color--surface); color: var(--wp--preset--color--text); box-shadow: 0 30px 80px -30px var(--wp--custom--legacy--alpha--text-55); overflow: hidden; }
.tp-finder::backdrop { background: var(--wp--custom--legacy--alpha--text-45); }
.tp-finder-box { display: flex; flex-direction: column; max-height: min(82vh, 760px); padding: 20px 20px 8px; box-sizing: border-box; }
.tp-finder-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tp-finder-h { margin: 0; font: 560 24px/1.1 var(--tp-display, Georgia, serif); letter-spacing: -0.01em; }
.tp-finder-close { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 12px; background: transparent; color: inherit; cursor: pointer; }
.tp-finder-close:hover { background: var(--wp--preset--color--surface-alt); }
.tp-finder-close:focus-visible, .tp-finder-hit:focus-visible { outline: 3px solid var(--wp--preset--color--action); outline-offset: 2px; }
.tp-finder-label { display: block; margin: 10px 0 8px; font: 400 15px/1.4 var(--tp-sans); color: var(--wp--preset--color--text-muted); }
.tp-finder-field { display: flex; align-items: center; gap: 10px; padding: 0 14px; border-radius: 14px; background: var(--wp--preset--color--surface-alt); box-shadow: inset 0 0 0 1px var(--wp--preset--color--border); color: var(--wp--preset--color--text-muted); }
.tp-finder-field:focus-within { box-shadow: inset 0 0 0 2px var(--wp--preset--color--action); }
.tp-finder-input { flex: 1; min-width: 0; height: 52px; border: 0; background: transparent; font: 400 18px/1 var(--tp-sans); color: var(--wp--preset--color--text); outline: none; }
.tp-finder-status { margin: 10px 2px 6px; min-height: 1.4em; font: 400 14px/1.4 var(--tp-sans); color: var(--wp--preset--color--text-muted); }
.tp-finder-list { flex: 1; min-height: 0; margin: 0 -8px; padding: 0 0 12px; list-style: none; overflow-y: auto; }
.tp-finder-hit { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 8px; border-radius: 12px; color: var(--wp--preset--color--text); text-decoration: none; }
.tp-finder-hit:hover, .tp-finder-hit:focus { background: var(--wp--custom--color--tint); text-decoration: none; }
.tp-finder-hit img, .tp-finder-noimg { grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: 10px; object-fit: cover; background: var(--wp--preset--color--surface-alt); }
.tp-finder-t { font: 560 17px/1.25 var(--tp-display, Georgia, serif); }
.tp-finder-s { grid-column: 2; font: 400 14px/1.35 var(--tp-sans); color: var(--wp--preset--color--text-muted); }
.tp-finder-g { grid-column: 3; grid-row: 1 / span 2; font: 600 12px/1 var(--tp-sans); color: var(--wp--preset--color--accent); white-space: nowrap; }
@media (max-width: 599px) {
	.tp-finder { width: calc(100vw - 16px); margin-top: 8px; max-height: calc(100dvh - 16px); border-radius: 18px; }
	.tp-finder-box { max-height: calc(100dvh - 16px); padding: 14px 14px 4px; }
	.tp-finder-g { display: none; }
	.tp-finder-hit { grid-template-columns: 44px minmax(0, 1fr); }
}
html.tp-finder-open { overflow: hidden; }
@media (forced-colors: active) { .tp-finder { border: 2px solid CanvasText; } .tp-site-header .tp-finder-btn { border-color: ButtonText; } }
/* 0.5.22: the parent theme's global button and search-input styles must not reach the finder. */
.tp-finder .tp-finder-close, .tp-finder .tp-finder-close:hover, .tp-finder .tp-finder-close:focus { padding: 0; border: 0; border-radius: 12px; background: transparent; color: var(--wp--preset--color--text); box-shadow: none; }
.tp-finder .tp-finder-close:hover { background: var(--wp--preset--color--surface-alt); }
.tp-finder input.tp-finder-input, .tp-finder input.tp-finder-input:focus { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; outline: none; }
.tp-finder input.tp-finder-input::-webkit-search-cancel-button { cursor: pointer; }
/* 0.5.23: outweigh the Elementor kit's input:not(...) rules as well. */
dialog.tp-finder .tp-finder-field input.tp-finder-input.tp-finder-input, dialog.tp-finder .tp-finder-field input.tp-finder-input.tp-finder-input:focus { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; outline: none; color: var(--wp--preset--color--text); font: 400 18px/1 var(--tp-sans); }

/* 0.5.25: a panel without a plan card (Puppy Behavior) uses the width for three guide columns. */
@media (min-width: 1024px) {
	.tp-nav-ready .tp-site-header .tp-sub.tp-sub--nofeature { grid-template-columns: 220px repeat(3, minmax(0, 1fr)); }
	@media (max-width: 1199px) {
		.tp-nav-ready .tp-site-header .tp-sub.tp-sub--nofeature { grid-template-columns: repeat(3, minmax(0, 1fr)); }
		.tp-nav-ready .tp-site-header .tp-sub.tp-sub--nofeature .tp-sub-kicker { grid-column: 1 / -1; }
	}
}
