/* ==========================================================================
 * Pet Field Guide — Editorial Components (styles/components.css)
 * STRICT BORDERLESS ELEVATION RULE:
 *   - border: none on ALL cards, badges, pills, disclosure ribbons, callouts,
 *     helpline bars, alerts, and buttons.
 *   - Borders permitted ONLY on form inputs/selects/.search-wrap (1px solid
 *     var(--input-border)) and table row dividers (1px solid var(--table-divider)).
 *   - ZERO thick left/top accent stripes anywhere.
 * ========================================================================== */

/* === 1. Uncluttered Sticky Header (#38 Apple Silver & Coral) === */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  min-height: 60px;
  background: #FFFFFF;
  box-shadow: 0 1px 0 rgba(29, 29, 31, 0.06);
  border: none;
}

.header-inner {
  width: 100%;
  min-height: 60px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 10px var(--space-7);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-mark:hover {
  color: var(--ink);
}

.brand-emblem {
  width: 34px;
  height: 34px;
  border-radius: var(--r-sm);
  background: var(--accent-soft);
  color: var(--accent-ink);
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s var(--ease-out), background-color 0.2s var(--ease-out);
}

.brand-mark:hover .brand-emblem {
  transform: translateY(-1px);
  background: #FFDCD5;
}

.brand-wordmark {
  font-family: var(--font-display);
  font-size: 1.44rem;
  font-weight: 600;
  letter-spacing: -0.018em;
  font-variation-settings: "opsz" 72, "SOFT" 50;
  color: var(--ink);
  white-space: nowrap;
}

.brand-paw {
  width: 19px;
  height: 19.5px;
  display: block;
  transform: translateY(-0.5px);
  flex-shrink: 0;
  transition: transform 0.2s var(--ease-out);
}

.brand-mark:hover .brand-paw {
  transform: translateY(-1.5px) rotate(4deg);
}

.mob-menu-btn {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: var(--r-pill);
  border: none;
  background: var(--surface-sand);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  flex-wrap: nowrap;
}

.primary-nav a {
  position: relative;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  border: none;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.16s var(--ease-out), color 0.16s var(--ease-out);
}

.primary-nav a:hover {
  background: var(--surface-sand);
  color: var(--ink);
}

.primary-nav a[aria-current="page"] {
  background: transparent;
  color: var(--btn-accent);
  font-weight: 700;
}

.primary-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 1px;
  height: 2px;
  border-radius: var(--r-pill);
  background: var(--accent);
}

.primary-nav a.nav-subtle {
  color: var(--ink-3);
}

.primary-nav a.nav-subtle:hover {
  color: var(--ink);
}

.primary-nav a.nav-subtle[aria-current="page"] {
  color: var(--btn-accent);
}

/* === 2. Slim Wirecutter-Clean Disclosure Ribbon === */

.disclosure-banner {
  width: 100%;
  background: var(--surface-sand);
  border: none;
  box-shadow: none;
  padding: 9px var(--space-5);
  text-align: center;
  font-size: 0.8rem;
  line-height: 1.48;
  color: var(--ink-2);
}

.disclosure-banner-inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

.disclosure-banner strong {
  color: var(--ink);
  font-weight: 600;
}

.disclosure-banner code {
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-size: 0.84em;
}

/* === 3. Single-Line Borderless Badges & Status Pills === */

.badge,
.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  max-width: 100%;
  padding: 4px 11px;
  border-radius: var(--r-pill);
  border: none;
  box-shadow: none;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.01em;
  white-space: nowrap;
  background: var(--surface-sand);
  color: var(--ink-2);
}

.badge-danger,
.tag-bad {
  background: var(--bad-soft);
  color: var(--bad);
}

.badge-warn,
.tag-warn {
  background: var(--warn-soft);
  color: var(--warn);
}

.badge-stone,
.tag-neutral {
  background: var(--stone-soft);
  color: var(--stone);
}

.badge-sage,
.tag-good,
.tag-sage {
  background: var(--sage-soft);
  color: var(--sage);
}

.badge-apricot,
.tag-accent {
  background: var(--accent-soft);
  color: var(--accent-ink);
}

/* === 4. Tactile Borderless Buttons & Filter Pills === */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  border: none;
  background: var(--surface-sand);
  color: var(--ink);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.16s var(--ease-out), color 0.16s var(--ease-out), transform 0.16s var(--ease-out), box-shadow 0.16s var(--ease-out);
}

.btn:hover {
  background: var(--surface-sand-hover);
  color: var(--ink);
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--btn-accent);
  color: #FFFFFF;
}

.btn-primary:hover {
  background: var(--btn-accent-hover);
  color: #FFFFFF;
}

.btn-sage,
.btn-good {
  background: var(--sage);
  color: #FFFFFF;
}

.btn-sage:hover,
.btn-good:hover {
  background: var(--sage-hover);
  color: #FFFFFF;
}

.btn-white {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-xs);
}

.btn-white:hover {
  background: var(--bg);
  color: var(--ink);
}

.btn-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--space-3);
}

.filter-pill {
  padding: 7px 14px;
  border-radius: var(--r-pill);
  border: none;
  background: transparent;
  color: var(--ink-2);
  font-size: 0.83rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 0.16s var(--ease-out), color 0.16s var(--ease-out);
}

.filter-pill:hover {
  background: var(--surface-sand);
  color: var(--ink);
}

.filter-pill.active {
  background: var(--accent-soft);
  color: var(--btn-accent);
  font-weight: 700;
}

/* Shared Borderless Panel Shell (used on Safety Guide & Calculators) */
.panel {
  background: var(--surface);
  border: none;
  border-radius: var(--r-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-card);
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-bottom: var(--space-5);
}

.panel-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--ink);
}

.panel-sub {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-3);
}

/* Permitted Border #1: Search Input on Cat Safety Guide */
.search-input-block {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--input-border);
  background: var(--bg);
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.4;
  transition: border-color 0.16s var(--ease-out), background-color 0.16s var(--ease-out), box-shadow 0.16s var(--ease-out);
}

.search-input-block:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: var(--shadow-focus);
}

.search-input-block::placeholder {
  color: var(--ink-3);
}

/* === 5. Editorial Page Hero & Section Headers === */

.page-hero {
  margin-bottom: var(--space-7);
}

.page-hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  gap: var(--space-8);
  align-items: center;
}

.page-hero-media {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: none;
  box-shadow: var(--shadow-photo);
  aspect-ratio: 4 / 3;
  background: var(--surface-sand);
}

.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-5);
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
}

.sec-head p {
  margin: 4px 0 0;
  font-size: 0.96rem;
  color: var(--ink-2);
  max-width: 60ch;
}

.sec-link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent-ink);
  text-decoration: none;
  white-space: nowrap;
}

.sec-link:hover {
  color: var(--btn-accent-hover);
  text-decoration: underline;
}

/* === 6. Calm Borderless Helpline Bar & Editorial Callouts === */

.emergency-banner {
  background: var(--bad-soft);
  border: none;
  border-radius: var(--r-card);
  padding: var(--space-5) var(--space-6);
  margin-bottom: var(--space-7);
}

.emergency-banner-title {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--bad);
  margin-bottom: 6px;
}

.emergency-banner p {
  font-size: 0.92rem;
  line-height: 1.56;
  color: var(--ink-2);
  margin-bottom: var(--space-3);
}

.hotline-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.hotline-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  border: none;
  background: var(--surface);
  color: var(--bad);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: var(--shadow-xs);
  font-variant-numeric: tabular-nums;
  transition: background-color 0.16s var(--ease-out), color 0.16s var(--ease-out);
}

a.hotline-chip:hover {
  background: var(--bad);
  color: #FFFFFF;
}

.hotline-chip-muted {
  color: var(--ink-2);
  font-weight: 600;
}

.callout,
.clinical-callout {
  border: none;
  border-radius: var(--r-card);
  padding: var(--space-5) var(--space-6);
  margin-bottom: var(--space-7);
  font-size: 0.92rem;
  line-height: 1.58;
  color: var(--ink-2);
  background: var(--surface-sand);
}

.callout-title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}

.callout-warn,
.clinical-callout {
  background: var(--warn-soft);
}

.callout-warn .callout-title,
.clinical-callout strong {
  color: var(--warn);
}

.callout-danger {
  background: var(--bad-soft);
}

.callout-danger .callout-title {
  color: var(--bad);
}

.callout-sage {
  background: var(--sage-soft);
}

.callout-sage .callout-title {
  color: var(--sage);
}

/* === 7. Homepage Option A2 Split Hero, Safety Strip & 3x2 Tools Grid === */

.home-hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  gap: 56px;
  align-items: center;
  padding: 44px 0 36px;
}

.home-hero-copy h1 {
  font-size: clamp(2.35rem, 4.1vw, 3.35rem);
  line-height: 1.07;
  margin: 0 0 16px;
  letter-spacing: -0.024em;
}

.home-hero-copy h1 em {
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
}

.home-hero-sub {
  font-size: 1.08rem;
  line-height: 1.62;
  color: var(--ink-2);
  margin: 0 0 26px;
  max-width: 520px;
}

.home-direct-search {
  max-width: 576px;
}

.home-direct-search .search-wrap {
  min-height: 58px;
  padding: 6px 6px 6px 20px;
}

.home-direct-search .quick-chips {
  margin-top: 14px;
}

.home-helpline-inline {
  margin: 14px 0 0;
  font-size: 0.82rem;
  color: var(--ink-3);
  line-height: 1.5;
}

.home-helpline-inline a {
  color: var(--bad);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

.home-hero-photo {
  border-radius: 24px;
  overflow: hidden;
  border: none;
  aspect-ratio: 4 / 3.3;
  background: var(--surface-sand);
}

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

.sec-tight-top {
  padding-top: 8px;
}

.home-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.home-tool-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: none;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.22s var(--ease-out), box-shadow 0.22s var(--ease-out);
}

.home-tool-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  color: var(--ink);
}

.home-tool-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-sand);
}

.home-tool-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-out);
}

.home-tool-card:hover .home-tool-media img {
  transform: scale(1.03);
}

.home-tool-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.home-tool-body h3 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.24;
  margin: 0;
  color: var(--ink);
}

.home-tool-body p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.54;
  color: var(--ink-2);
}

.home-about-strip {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 36px;
  align-items: center;
  background: var(--surface);
  border: none;
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.home-about-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.home-about-photos img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
}

.home-about-copy h3 {
  font-size: 1.4rem;
  margin: 0 0 10px;
}

.home-about-copy p {
  margin: 0 0 18px;
  color: var(--ink-2);
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: 68ch;
}

/* === 7b. Showcase Welcome Grid & Quick Household Check Card === */

.welcome-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(0, 0.78fr);
  gap: var(--space-8);
  align-items: start;
  padding-top: var(--space-8);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: var(--space-3);
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.lookup-card {
  margin-top: var(--space-6);
  background: var(--surface);
  border: none;
  border-radius: var(--r-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-card);
}

.lookup-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-bottom: var(--space-3);
}

.lookup-label strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
}

.lookup-label span {
  font-size: 0.83rem;
  color: var(--ink-3);
}

/* Permitted Border #1: Search Input Container & Instant Typeahead Combobox */
.search-combobox {
  position: relative;
  z-index: 25;
}

.search-combobox.is-open {
  z-index: 60;
}

.search-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 6px 6px 6px 18px;
  border-radius: var(--r-pill);
  border: 1px solid var(--input-border);
  background: var(--surface);
  box-shadow: var(--shadow-search);
  transition: border-color 0.16s var(--ease-out), background-color 0.16s var(--ease-out), box-shadow 0.16s var(--ease-out);
}

.search-wrap:focus-within {
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: var(--shadow-focus);
}

.search-wrap svg {
  color: var(--ink-3);
  flex-shrink: 0;
}

.search-input-stage {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
}

.search-ghost {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 6px 0;
  font-family: var(--font-sans);
  font-size: 0.96rem;
  font-weight: 400;
  line-height: 1.4;
  white-space: pre;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}

.search-ghost-typed {
  color: transparent;
}

.search-ghost-rest {
  color: var(--ink-3);
  opacity: 0.62;
}

.search-wrap input[type="search"] {
  position: relative;
  z-index: 1;
  width: 100%;
  flex: 1 1 auto;
  min-width: 0;
  border: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.96rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--ink);
  outline: none;
  padding: 6px 0;
  -webkit-appearance: none;
  appearance: none;
}

.search-wrap input[type="search"]::-webkit-search-cancel-button,
.search-wrap input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}

.search-wrap input[type="search"]:focus-visible {
  box-shadow: none;
}

.search-wrap input[type="search"]::placeholder {
  color: var(--ink-3);
}

.search-clear-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: var(--surface-sand);
  color: var(--ink-2);
  flex-shrink: 0;
  padding: 0;
  transition: background-color 0.14s var(--ease-out), color 0.14s var(--ease-out);
}

.search-clear-btn.is-shown {
  display: inline-flex;
}

.search-clear-btn:hover {
  background: var(--surface-sand-hover);
  color: var(--ink);
}

.search-btn {
  padding: 10px 22px;
  border-radius: var(--r-pill);
  border: none;
  background: var(--btn-accent);
  color: #FFFFFF;
  font-size: var(--text-sm);
  font-weight: 700;
  white-space: nowrap;
  transition: background-color 0.16s var(--ease-out);
}

.search-btn:hover {
  background: var(--btn-accent-hover);
}

/* Floating Typeahead Suggestion Popover */
.search-popover {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  z-index: 70;
  background: var(--surface);
  border-radius: 22px;
  border: none;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.14), 0 4px 12px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.99);
  pointer-events: none;
  transition: opacity 0.16s var(--ease-out), transform 0.18s var(--ease-out), visibility 0.16s;
}

.search-popover.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.search-pop-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.search-pop-count {
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
}

.search-pop-list {
  display: flex;
  flex-direction: column;
  padding: 4px 8px 8px;
  max-height: 410px;
  overflow-y: auto;
}

.search-opt {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 8px 10px;
  border: none;
  border-radius: 14px;
  background: transparent;
  text-align: left;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.12s var(--ease-out);
}

.search-opt:hover,
.search-opt.is-active {
  background: var(--surface-sand);
}

.search-opt-thumb {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg);
  flex-shrink: 0;
}

.search-opt-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.search-opt-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.search-opt-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-opt-sub {
  font-size: 0.78rem;
  color: var(--ink-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-hl {
  background: var(--accent-soft);
  color: var(--btn-accent);
  border-radius: 4px;
  padding: 0 2px;
  font-weight: 700;
}

.search-tab-hint {
  display: inline-flex;
  align-items: center;
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink-3);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  flex-shrink: 0;
}

.search-pop-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 10px 18px;
  background: var(--surface-sand);
  font-size: 0.76rem;
  color: var(--ink-3);
}

.search-pop-keys {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.search-pop-keys kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  padding: 2px 5px;
  border-radius: 5px;
  background: var(--surface);
  color: var(--ink-2);
  font-family: var(--font-sans);
  font-size: 0.69rem;
  font-weight: 700;
}

.search-pop-link {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-ink);
  text-decoration: none;
  white-space: nowrap;
}

.search-pop-link:hover {
  color: var(--btn-accent-hover);
  text-decoration: underline;
}

.search-pop-empty {
  padding: 18px 20px;
  background: var(--warn-soft);
}

.search-pop-empty-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.search-pop-empty-head strong {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--ink);
}

.search-pop-empty p {
  margin: 0 0 12px;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--ink-2);
}

.search-pop-empty-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.res-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink-2);
  font-size: 1.05rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.14s var(--ease-out), color 0.14s var(--ease-out);
}

.res-close-btn:hover {
  background: var(--surface);
  color: var(--ink);
}

.quick-chips {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: var(--space-3);
}

.quick-chips-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-3);
  margin-right: 2px;
}

.chip-btn {
  padding: 5px 12px;
  border-radius: var(--r-pill);
  border: none;
  background: var(--surface-sand);
  color: var(--ink-2);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 0.16s var(--ease-out), color 0.16s var(--ease-out);
}

.chip-btn:hover {
  background: var(--surface-sand-hover);
  color: var(--ink);
}

/* Live Lookup Result Box (Wide Horizontal Apple-Studio Floating Card) */
.live-result {
  position: relative;
  display: none;
  margin-top: 16px;
  padding: 22px 24px;
  border-radius: 20px;
  border: none;
  background: var(--surface);
  box-shadow: var(--shadow-card);
  max-width: 100%;
}

.live-result.is-visible {
  display: block;
}

.live-result.danger {
  background: linear-gradient(135deg, #FFF7F6 0%, #FFFFFF 44%);
}

.live-result.warn {
  background: linear-gradient(135deg, #FFFBF0 0%, #FFFFFF 44%);
}

.live-result.neutral {
  background: linear-gradient(135deg, #F6F8FB 0%, #FFFFFF 44%);
}

.res-card-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.res-card-layout.is-no-photo {
  grid-template-columns: 1fr;
}

.res-photo-col .res-thumb {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  display: block;
}

.res-content-col,
.res-card-unlisted {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.res-head-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.res-head-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.res-head-actions .res-close-btn {
  position: static;
  width: 30px;
  height: 30px;
  background: var(--surface-sand);
  color: var(--ink-2);
}

.res-head-actions .res-close-btn:hover {
  background: var(--surface-sand-hover);
  color: var(--ink);
}

.res-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.res-detail-grid.is-single {
  grid-template-columns: 1fr;
}

.res-detail-box {
  padding: 12px 15px;
  border-radius: 14px;
  border: none;
  background: var(--surface-sand);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.res-detail-box p {
  margin: 0;
  font-size: 0.83rem;
  line-height: 1.48;
  color: var(--ink-2);
}

.res-detail-box strong {
  color: var(--ink);
  font-weight: 600;
}

.res-detail-box .res-swap-label {
  color: var(--sage);
  font-weight: 700;
}

.res-emergency-inline {
  padding: 8px 11px;
  border-radius: 10px;
  background: var(--bad-soft);
  color: var(--bad) !important;
}

.res-emergency-inline strong,
.res-emergency-inline a {
  color: var(--bad);
  font-weight: 700;
}

.res-hours-note {
  font-size: 0.8rem;
  color: var(--ink-3);
  align-self: center;
}

.res-card-unlisted .res-actions {
  margin-bottom: 0;
  align-items: center;
}

.res-media-head {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  margin-bottom: var(--space-3);
}

.res-thumb {
  position: relative;
  width: 148px;
  height: 112px;
  padding: 0;
  border: none;
  border-radius: var(--r-md);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--surface);
  box-shadow: var(--shadow-xs);
}

.res-thumb-zoom {
  cursor: zoom-in;
}

.res-thumb-zoom img {
  transition: transform 0.28s var(--ease-out);
}

.res-thumb-zoom:hover img {
  transform: scale(1.04);
}

.res-thumb-hint {
  position: absolute;
  right: 7px;
  bottom: 7px;
  padding: 2px 8px;
  border-radius: var(--r-pill);
  background: rgba(31, 27, 24, 0.72);
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  opacity: 0;
  transition: opacity 0.16s var(--ease-out);
}

.res-thumb-zoom:hover .res-thumb-hint,
.res-thumb-zoom:focus-visible .res-thumb-hint {
  opacity: 1;
}

/* Warm Photo Zoom Lightbox */
.pfg-lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(31, 27, 24, 0.62);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s var(--ease-out), visibility 0.18s;
}

.pfg-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.pfg-lightbox-card {
  position: relative;
  width: min(680px, 100%);
  background: var(--surface);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 28px 64px rgba(31, 27, 24, 0.28);
}

.pfg-lightbox-media {
  aspect-ratio: 4 / 3;
  background: var(--surface-sand);
}

.pfg-lightbox-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pfg-lightbox-cap {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 22px 20px;
}

.pfg-lightbox-cap strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
}

.pfg-lightbox-cap span {
  font-size: 0.85rem;
  color: var(--ink-3);
}

.pfg-lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-size: 1.25rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.pfg-lightbox-close:hover {
  background: #FFFFFF;
}

.res-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.res-head-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.res-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.res-name {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.22;
}

.res-botanical {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.81rem;
  font-weight: 500;
  color: var(--ink-3);
  margin-top: 3px;
}

.res-body {
  font-size: 0.92rem;
  line-height: 1.58;
  color: var(--ink-2);
  max-width: 72ch;
  margin: 0;
}

.res-subnote {
  padding: 9px 12px;
  border-radius: var(--r-sm);
  border: none;
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  line-height: 1.48;
  color: var(--ink-2);
  margin-bottom: var(--space-3);
}

.fg-exposure-pill {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-3);
  line-height: 1.25;
}

.fg-exposure-box,
.res-exposure-box {
  padding: 11px 13px;
  border-radius: 14px;
  border: none;
  background: var(--surface-sand);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fg-exposure-row {
  font-size: 0.81rem;
  line-height: 1.44;
  color: var(--ink-2);
}

.fg-exposure-row + .fg-exposure-row {
  padding-top: 6px;
  border-top: 1px solid var(--divider);
}

.fg-exposure-label {
  color: var(--ink);
  font-weight: 700;
}

.res-exposure-box {
  background: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-3);
}

.fg-exposure-box p,
.res-exposure-box p {
  margin: 0;
  font-size: 0.81rem;
  line-height: 1.48;
  color: var(--ink-2);
}

.fg-exposure-box strong,
.res-exposure-box strong {
  color: var(--ink);
  font-weight: 600;
}

.res-emergency {
  padding: 10px 13px;
  border-radius: var(--r-sm);
  border: none;
  background: var(--surface);
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--bad);
  margin-bottom: var(--space-3);
}

.res-emergency a {
  color: var(--bad);
  font-weight: 700;
}

.res-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--space-3);
}

.res-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--ink-2);
}

.res-meta a {
  font-weight: 600;
}

.lookup-triage-bar {
  margin-top: var(--space-4);
  padding: 12px 15px;
  border-radius: var(--r-md);
  border: none;
  background: var(--bad-soft);
  font-size: 0.83rem;
  line-height: 1.5;
  color: var(--ink-2);
}

.lookup-triage-bar strong {
  color: var(--bad);
}

.lookup-triage-bar a {
  color: var(--bad);
  font-weight: 700;
  white-space: nowrap;
}

.lookup-foot {
  margin-top: var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  flex-wrap: wrap;
  font-size: 0.81rem;
  color: var(--ink-3);
}

.lookup-all-link {
  font-weight: 700;
  color: var(--accent-ink);
  text-decoration: none;
  white-space: nowrap;
}

.lookup-all-link:hover {
  text-decoration: underline;
}

/* Home Editorial Photo Aside */
.home-note-card {
  background: var(--surface);
  border: none;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.home-photo-frame {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface-sand);
}

.home-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-note-body {
  padding: var(--space-5) var(--space-6) var(--space-6);
}

.home-note-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
}

.home-note-meta strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
}

.home-note-meta span {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--accent-ink);
  white-space: nowrap;
}

.home-note-body p {
  font-size: 0.89rem;
  line-height: 1.58;
  color: var(--ink-2);
  margin-bottom: var(--space-4);
}

.real-cat-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--r-md);
  background: var(--surface-sand);
  font-size: 0.8rem;
  line-height: 1.42;
  color: var(--ink-2);
}

.mini-thumbs {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.mini-thumbs img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px var(--surface);
}

.mini-thumbs img + img {
  margin-left: -10px;
}

/* === 8. Quick-Look 6-Up Photo Gallery === */

.quick-look-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--space-4);
}

.photo-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: none;
  border-radius: var(--r-card);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow-card);
  transition: transform 0.22s var(--ease-out), box-shadow 0.22s var(--ease-out);
}

.photo-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  color: var(--ink);
}

.photo-card-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface-sand);
}

.photo-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.36s var(--ease-out);
}

.photo-card:hover .photo-card-media img {
  transform: scale(1.04);
}

.photo-card-body {
  padding: 13px 14px 15px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 auto;
}

.photo-card-body strong {
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
}

.photo-card-sub {
  font-size: 0.78rem;
  color: var(--ink-3);
  line-height: 1.4;
}

/* === 9. Homepage 2-Over-3 Tools Bento Grid === */

.tools-bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--space-5);
}

.tool-tile {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: none;
  border-radius: var(--r-lg);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow-card);
  transition: transform 0.22s var(--ease-out), box-shadow 0.22s var(--ease-out);
}

.tool-tile:nth-child(1),
.tool-tile:nth-child(2) {
  grid-column: span 3;
}

.tool-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  color: var(--ink);
}

.tool-cover {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-sand);
}

.tool-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.38s var(--ease-out);
}

.tool-tile:hover .tool-cover img {
  transform: scale(1.035);
}

.tool-cover-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  border: none;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: var(--shadow-xs);
}

.tool-cover-badge.is-apricot {
  background: var(--accent-soft);
  color: var(--accent-ink);
}

.tool-cover-badge.is-sage {
  background: var(--sage-soft);
  color: var(--sage);
}

.tool-body {
  padding: var(--space-5) var(--space-6) var(--space-6);
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.tool-head-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.tool-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  border: none;
  background: var(--accent-soft);
  color: var(--accent-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tool-icon.is-sage {
  background: var(--sage-soft);
  color: var(--sage);
}

.tool-body h3 {
  margin: 0;
  font-size: 1.12rem;
}

.tool-body p {
  font-size: 0.9rem;
  line-height: 1.58;
  color: var(--ink-2);
  margin-bottom: var(--space-4);
  flex: 1 1 auto;
}

.tool-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-top: var(--space-3);
  font-size: 0.82rem;
}

.tool-foot strong {
  color: var(--accent-ink);
  font-weight: 700;
}

.tool-foot span {
  color: var(--ink-3);
}

/* Secondary Quick-Reference Strip */
.secondary-ref-strip {
  margin-top: var(--space-5);
  background: var(--surface);
  border: none;
  border-radius: var(--r-lg);
  padding: var(--space-5) var(--space-6);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  flex-wrap: wrap;
}

.secondary-ref-left {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex: 1 1 420px;
}

.secondary-ref-thumb {
  width: 72px;
  height: 54px;
  border-radius: var(--r-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.secondary-ref-kicker {
  display: block;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-ink);
  margin-bottom: 2px;
}

.secondary-ref-copy strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.06rem;
  color: var(--ink);
  margin-bottom: 2px;
}

.secondary-ref-copy p {
  margin: 0;
  font-size: 0.87rem;
  color: var(--ink-2);
}

/* === 10. Editorial Stories, Home Picks, Roadmap & Info Cards === */

.stories-grid,
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
}

.story-card,
.home-picks-card,
.roadmap-card,
.info-card,
.pick-card,
.tool-card {
  background: var(--surface);
  border: none;
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.story-card,
.roadmap-card {
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.22s var(--ease-out), box-shadow 0.22s var(--ease-out);
}

a.roadmap-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  color: var(--ink);
}

.story-img,
.roadmap-cover {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-sand);
}

.story-img img,
.roadmap-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.roadmap-cover-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--ink-2);
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--surface-sand);
}

.story-body,
.roadmap-body {
  padding: var(--space-5) var(--space-6) var(--space-6);
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.story-kicker {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-ink);
  margin-bottom: 8px;
}

.story-kicker.is-sage {
  color: var(--sage);
}

.story-body p,
.roadmap-body p {
  font-size: 0.9rem;
  line-height: 1.58;
  color: var(--ink-2);
  margin-bottom: var(--space-4);
  flex: 1 1 auto;
}

.story-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  font-size: 0.82rem;
  color: var(--ink-3);
}

.story-meta a {
  font-weight: 700;
  text-decoration: none;
}

.home-picks-card {
  padding: var(--space-5) var(--space-6) var(--space-6);
}

.home-picks-intro {
  font-size: 0.86rem;
  line-height: 1.52;
  color: var(--ink-2);
  margin-bottom: var(--space-4);
}

.home-picks-list {
  list-style: none;
  margin: 0 0 var(--space-4);
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.home-picks-list li {
  padding: 12px 14px;
  border-radius: var(--r-md);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.home-picks-list strong {
  font-size: 0.9rem;
  color: var(--ink);
}

.home-picks-list span {
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--ink-2);
}

.pick-badge {
  display: inline-flex;
  width: fit-content;
  margin-top: 2px;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  border: none;
  background: var(--sage-soft);
  color: var(--sage);
  font-size: 0.71rem;
  font-weight: 700;
}

.pick-source {
  font-size: 0.76rem !important;
  color: var(--ink-3) !important;
}

.disclosure-inline {
  margin-top: auto;
  padding: 11px 13px;
  border-radius: var(--r-md);
  border: none;
  background: var(--surface-sand);
  font-size: 0.78rem;
  line-height: 1.48;
  color: var(--ink-2);
}

.roadmap-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  margin-bottom: 10px;
}

.roadmap-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--r-sm);
  background: var(--accent-soft);
  color: var(--accent-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.roadmap-cta {
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--accent-ink);
}

.info-card,
.pick-card,
.tool-card {
  padding: var(--space-6);
}

.pick-card,
.tool-card {
  justify-content: space-between;
  gap: var(--space-4);
}

.info-card p,
.pick-card p,
.tool-card p {
  font-size: 0.91rem;
  line-height: 1.6;
  color: var(--ink-2);
}

.info-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--ink-2);
  font-size: 0.9rem;
  line-height: 1.6;
}

.info-card li + li {
  margin-top: 8px;
}

.tool-card-eyebrow {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-ink);
  margin-bottom: 8px;
}

.tool-card-eyebrow.sage {
  color: var(--sage);
}

.tool-card-foot {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-3);
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5);
  margin-bottom: var(--space-8);
}

.affiliate-strip,
.swaps-strip {
  background: var(--surface-sand);
  border: none;
  border-radius: var(--r-xl);
  padding: var(--space-7);
}

.affiliate-head,
.swaps-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-5);
}

.disclosure-note {
  font-size: 0.8rem;
  color: var(--ink-2);
}

.retail-badge-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.paid-link-tag {
  font-size: 0.77rem;
  color: var(--ink-3);
  line-height: 1.4;
}

/* Cross-Hub & Waitlist Banners (Borderless) */
.cross-hub-banner {
  margin-top: var(--space-8);
  background: var(--surface);
  border: none;
  border-radius: var(--r-xl);
  padding: var(--space-6) var(--space-7);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.cross-hub-banner.is-highlight {
  background: var(--surface-tint);
  box-shadow: none;
}

.cross-hub-banner p {
  max-width: 60ch;
  font-size: 0.92rem;
}

.waitlist-banner,
.status-banner {
  margin-top: var(--space-8);
  background: var(--slab-bg);
  color: var(--slab-ink);
  border: none;
  border-radius: var(--r-xl);
  padding: var(--space-8);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: var(--space-7);
  align-items: center;
}

.waitlist-banner h2,
.status-banner h2 {
  color: var(--slab-ink);
}

.waitlist-banner p,
.status-banner p {
  color: var(--slab-muted);
  font-size: 0.92rem;
}

.waitlist-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.waitlist-form input[type="email"] {
  flex: 1 1 220px;
  padding: 11px 16px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  font-size: 0.92rem;
}

.waitlist-form input[type="email"]::placeholder {
  color: var(--slab-muted);
}

.waitlist-form input[type="email"]:focus {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.14);
}

.waitlist-msg {
  font-size: 0.84rem;
  color: var(--slab-ink);
  min-height: 1.2em;
}

/* === 11. Visual 67-Item Field-Guide Grid (cat-safety-checker.html) === */

.field-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
}

.fg-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: none;
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.22s var(--ease-out), box-shadow 0.22s var(--ease-out);
}

.fg-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.fg-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface-sand);
}

.fg-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.36s var(--ease-out);
}

.fg-card:hover .fg-card-media img {
  transform: scale(1.035);
}

.fg-cat-chip {
  position: absolute;
  top: 11px;
  left: 11px;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  border: none;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: var(--shadow-xs);
}

.fg-card-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 auto;
}

.fg-card-verdict {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.fg-card-title {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.28;
}

.botanical {
  display: block;
  font-size: 0.79rem;
  color: var(--ink-3);
  margin-top: 3px;
  line-height: 1.38;
}

.fg-card-reason {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.56;
  color: var(--ink-2);
  flex: 1 1 auto;
}

.fg-swap-note {
  padding: 9px 12px;
  border-radius: var(--r-sm);
  border: none;
  background: var(--sage-soft);
  font-size: 0.8rem;
  line-height: 1.46;
  color: var(--sage);
}

.fg-ref-subnote {
  padding: 9px 12px;
  border-radius: var(--r-sm);
  border: none;
  background: var(--stone-soft);
  font-size: 0.79rem;
  line-height: 1.46;
  color: var(--stone);
}

.fg-emergency-strip {
  padding: 9px 12px;
  border-radius: var(--r-sm);
  border: none;
  background: var(--bad-soft);
  font-size: 0.8rem;
  line-height: 1.46;
  color: var(--bad);
}

.fg-emergency-strip a {
  color: var(--bad);
  font-weight: 700;
  white-space: nowrap;
}

.fg-card-foot {
  margin-top: auto;
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.77rem;
  color: var(--ink-3);
}

.fg-sources strong {
  color: var(--ink-2);
}

.fg-credit a {
  color: var(--ink-3);
}

.fg-empty-state {
  grid-column: 1 / -1;
  background: var(--warn-soft);
  border: none;
  border-radius: var(--r-card);
  padding: var(--space-7);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fg-empty-state h3 {
  font-size: 1.2rem;
  margin: 0;
}

.fg-empty-state p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--ink-2);
  max-width: 68ch;
}

/* === 12. Clean Tables (Permitted Border #2: Subtle Horizontal Row Dividers Only) === */

.table-wrap {
  background: var(--surface);
  border: none;
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

th {
  text-align: left;
  padding: 13px 16px;
  background: var(--table-head);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--table-divider);
  white-space: nowrap;
}

td {
  padding: 14px 16px;
  color: var(--ink-2);
  vertical-align: top;
  border-bottom: 1px solid var(--table-divider);
}

tbody tr:last-child td {
  border-bottom: 0;
}

td.num,
th.num {
  text-align: right;
  white-space: nowrap;
}

.table-subline {
  display: block;
  font-size: 0.77rem;
  color: var(--ink-3);
  margin-top: 3px;
}

/* === 13. FAQ Accordions & Primary Sources Strip (#F5F5F7 on White, #FFFFFF on Silver) === */

.faq-item {
  background: var(--surface-sand);
  border: none;
  border-radius: 16px;
  box-shadow: none;
  padding: 0;
  margin-bottom: 10px;
}

.band-sand .faq-item {
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.faq-item summary {
  list-style: none;
  padding: 16px 20px;
  font-family: var(--font-display);
  font-size: 1.03rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--accent-ink);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item-body {
  padding: 0 20px 18px;
  font-size: 0.92rem;
  line-height: 1.62;
  color: var(--ink-2);
  max-width: 72ch;
}

.faq-item > p {
  padding: 0 20px 18px;
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.62;
  color: var(--ink-2);
  max-width: 72ch;
}

.credits-list {
  list-style: none;
  margin: 0;
  padding: 0 20px 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 20px;
  font-size: 0.81rem;
  color: var(--ink-2);
}

.sources-box {
  margin-top: var(--space-10);
  background: var(--surface-sand);
  border: none;
  border-radius: var(--r-card);
  padding: var(--space-5) var(--space-6);
  box-shadow: none;
}

.band-sand .sources-box {
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.sources-box > strong {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 10px;
}

.sources-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 0.85rem;
}

/* === 14. Calm White Footer === */

.site-footer {
  margin-top: auto;
  background: var(--surface);
  border: none;
  box-shadow: 0 -1px 0 rgba(31, 27, 24, 0.05);
  padding: var(--space-8) 0;
  font-size: 0.84rem;
  color: var(--ink-2);
}

.footer-inner {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-7);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-7);
  flex-wrap: wrap;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--ink);
}

.footer-lead {
  max-width: 64ch;
  line-height: 1.56;
  margin-bottom: 8px;
}

.footer-emergency {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  font-size: 0.82rem;
  color: var(--ink-2);
}

.footer-emergency strong {
  color: var(--bad);
}

.footer-emergency a {
  color: var(--bad);
  font-weight: 700;
  white-space: nowrap;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px 16px;
}

.footer-links a {
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--accent-ink);
  text-decoration: underline;
}

.footer-verified {
  font-size: 0.78rem;
  color: var(--ink-3);
}

/* === 15. Design System Live Showcase Helpers === */

.ds-swatch-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-4);
}

.ds-swatch-card {
  background: var(--surface);
  border: none;
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.ds-swatch-chip {
  height: 76px;
  padding: 12px 14px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.ds-swatch-meta {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ds-swatch-meta strong {
  font-size: 0.9rem;
}

.ds-swatch-meta code {
  width: fit-content;
  font-size: 0.76rem;
}

.ds-swatch-note {
  font-size: 0.78rem;
  color: var(--ink-3);
}

.ds-elevation-stage {
  border-radius: var(--r-xl);
  padding: var(--space-6);
}

.ds-elevation-stage.on-alabaster {
  background: var(--bg);
}

.ds-elevation-stage.on-sand {
  background: var(--surface-sand);
}

.ds-specimen-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

/* === 16. Responsive Breakpoints === */

@media (max-width: 1020px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px var(--space-5);
  }

  .primary-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .primary-nav::-webkit-scrollbar {
    display: none;
  }

  .welcome-grid,
  .page-hero-split,
  .waitlist-banner,
  .status-banner {
    grid-template-columns: 1fr;
  }

  .quick-look-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tools-bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tool-tile,
  .tool-tile:nth-child(1),
  .tool-tile:nth-child(2) {
    grid-column: span 1;
  }

  .home-hero-split {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px 0;
  }

  .home-tools-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-about-strip {
    grid-template-columns: 1fr;
  }

  .stories-grid,
  .roadmap-grid,
  .field-guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ds-swatch-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-meta {
    align-items: flex-start;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .quick-look-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-tools-grid,
  .tools-bento,
  .stories-grid,
  .roadmap-grid,
  .field-guide-grid,
  .hub-grid,
  .credits-list,
  .ds-swatch-grid {
    grid-template-columns: 1fr;
  }

  .lookup-card,
  .affiliate-strip,
  .swaps-strip,
  .waitlist-banner,
  .status-banner,
  .cross-hub-banner {
    padding: var(--space-5);
  }

  .search-wrap {
    padding-left: 14px;
  }

  .search-btn {
    padding: 9px 16px;
  }

  .search-pop-keys {
    display: none;
  }

  .search-opt {
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 10px;
  }

  .search-opt-thumb {
    width: 38px;
    height: 38px;
  }
}

/* ==========================================================================
 * 17. Locked D+E Homepage Seamless Cat Hero & Lean v1.0 Flagship Showcase
 * ========================================================================== */

.hde-wrap {
  padding: 22px 0 18px;
}

.hde-banner {
  position: relative;
  z-index: 20;
  border-radius: 28px;
  overflow: visible;
  min-height: 465px;
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border: none;
  box-shadow: 0 8px 34px rgba(15, 23, 42, 0.07);
}

.hde-media-clip {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
}

.hde-bg {
  position: absolute;
  top: -58px;
  right: -9%;
  left: auto;
  height: 614px;
  width: auto;
  max-width: none;
  display: block;
}

.hde-veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0.99) 51%,
    rgba(255, 255, 255, 0.88) 58%,
    rgba(255, 255, 255, 0.2) 65%,
    rgba(255, 255, 255, 0) 70%
  );
}

.hde-content {
  position: relative;
  z-index: 2;
  max-width: 665px;
  padding: 42px 48px;
}

.hde-head-row {
  display: block;
}

.hde-mob-thumb {
  display: none;
}

.hde-kicker {
  display: inline-flex;
  padding: 5px 13px;
  border-radius: 999px;
  border: none;
  background: var(--surface-sand);
  color: var(--accent-ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hde-content h1 {
  font-size: clamp(2.2rem, 3.7vw, 3.2rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin: 0 0 12px;
  color: var(--ink);
}

.hde-content h1 em {
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
}

.hde-br-desk {
  display: inline;
}

.hde-sub {
  margin: 0 0 22px;
  max-width: 50ch;
  font-size: 1.02rem;
  line-height: 1.56;
  color: var(--ink-2);
}

.hde-content .search-wrap {
  min-height: 56px;
  padding: 5px 5px 5px 20px;
  background: #FFFFFF;
  box-shadow: var(--shadow-search);
  border: none;
}

.hde-content .quick-chips {
  margin-top: 14px;
}

.hde-content .chip-btn {
  background: var(--surface-sand);
  border: none;
  box-shadow: none;
}

.hde-content .chip-btn:hover {
  background: var(--surface-sand-hover);
}

.hde-content .home-helpline-inline {
  margin-top: 12px;
  color: var(--ink-2);
}

/* Crisp 1-line Quick-Look photo cards */
.quick-look-grid .photo-card-body {
  padding: 12px 14px 14px;
  align-items: flex-start;
  gap: 7px;
}

.quick-look-grid .photo-card-body strong {
  display: block;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Lean v1.0 Flagship Showcase (Option B: 5 Clickable Category Tiles) */
.flagship-card {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  gap: 32px;
  align-items: stretch;
  background: var(--surface);
  border: none;
  border-radius: 26px;
  padding: 28px 30px;
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
}

.flagship-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.flagship-copy h3 {
  font-size: clamp(1.42rem, 2.2vw, 1.82rem);
  line-height: 1.16;
  margin: 10px 0 10px;
}

.flagship-copy p {
  font-size: 0.94rem;
  line-height: 1.58;
  color: var(--ink-2);
  margin-bottom: 14px;
  max-width: 56ch;
}

.cat-tile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0 18px;
}

.cat-tile {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 11px 14px;
  border-radius: 14px;
  border: none;
  background: var(--surface-sand);
  color: var(--ink);
  text-decoration: none;
  transition: background-color 0.16s var(--ease-out), transform 0.16s var(--ease-out);
}

.cat-tile:hover {
  background: var(--accent-soft);
  color: var(--ink);
  transform: translateY(-1px);
}

.cat-tile-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink);
}

.cat-tile-cnt {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-ink);
  background: rgba(255, 255, 255, 0.82);
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.cat-tile-sub {
  font-size: 0.77rem;
  line-height: 1.35;
  color: var(--ink-2);
}

.cat-tile-wide {
  grid-column: 1 / -1;
}

.flagship-cta {
  margin-top: 2px;
}

.flagship-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.flagship-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 999px;
  border: none;
  background: var(--surface-sand);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.16s var(--ease-out), color 0.16s var(--ease-out);
}

.flagship-cat-pill:hover {
  background: var(--accent-soft);
  color: var(--accent-ink);
}

.flagship-media {
  border-radius: 20px;
  overflow: hidden;
  min-height: 330px;
  background: var(--surface-sand);
}

.flagship-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
 * 18. Locked Cat Safety: Full Hero + 3-Col Gallery + Sticky Slide-In Inspector
 * ========================================================================== */

.fh-wrap {
  padding-top: 32px;
}

.fh-mob-thumb {
  display: none;
}

.fh-helpline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding: 9px 16px;
  border-radius: 999px;
  border: none;
  background: var(--bad-soft);
  font-size: 0.83rem;
  line-height: 1.45;
  color: var(--ink-2);
}

.fh-helpline strong {
  color: var(--bad);
}

.fh-helpline a {
  color: var(--bad);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

.pc-toolbar {
  position: sticky;
  top: var(--pfg-header-height, 60px);
  z-index: 40;
  background: var(--bg);
  padding: 14px 0 14px;
  margin-bottom: 20px;
  box-shadow: -50vw 0 0 var(--bg), 50vw 0 0 var(--bg), 0 1px 0 rgba(29, 29, 31, 0.06);
}

.pc-toolbar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.pc-search-box {
  flex: 1 1 300px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 4px 12px 4px 18px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--input-border);
  box-shadow: 0 3px 14px rgba(15, 23, 42, 0.05);
}

.pc-search-box:focus-within {
  border-color: var(--accent);
  box-shadow: var(--shadow-focus);
}

.pc-search-box svg {
  color: var(--ink-3);
  flex-shrink: 0;
}

.pc-search-box input {
  flex: 1 1 auto;
  min-width: 0;
  border: none;
  background: transparent;
  font-size: 0.94rem;
  color: var(--ink);
  outline: none;
  padding: 6px 0;
}

.pc-search-box input:focus,
.pc-search-box input:focus-visible {
  outline: none;
  box-shadow: none;
}

.pc-search-box input::-webkit-search-cancel-button {
  display: none;
}

.pc-clear-x {
  display: none;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;
  background: var(--surface-sand);
  color: var(--ink-2);
  cursor: pointer;
}

.pc-clear-x.is-shown {
  display: inline-flex;
}

.pc-cats {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: var(--surface-sand);
  overflow-x: auto;
  scrollbar-width: none;
}

.pc-cats::-webkit-scrollbar {
  display: none;
}

.pc-cat-btn {
  padding: 7px 13px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--ink-2);
  font-size: 0.81rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background-color 0.14s var(--ease-out), color 0.14s var(--ease-out), box-shadow 0.14s var(--ease-out);
}

.pc-cat-btn:hover {
  color: var(--ink);
}

.pc-cat-btn.is-active {
  background: #FFFFFF;
  color: var(--accent-ink);
  font-weight: 700;
  box-shadow: var(--shadow-seg);
}

.pc-subrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 11px;
}

.pc-tiers {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.pc-tier-btn {
  padding: 5px 12px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--ink-2);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background-color 0.14s var(--ease-out), color 0.14s var(--ease-out);
}

.pc-tier-btn:hover {
  background: var(--surface-sand);
}

.pc-tier-btn[data-tier="all"].is-active {
  background: var(--btn-accent);
  color: #FFFFFF;
}

.pc-tier-btn[data-tier="emergency"].is-active {
  background: #B91C1C;
  color: #FFFFFF;
}

.pc-tier-btn[data-tier="unsafe"].is-active {
  background: #D97706;
  color: #FFFFFF;
}

.pc-tier-btn[data-tier="reference"].is-active {
  background: #0F8A5F;
  color: #FFFFFF;
}

.pc-toolbar-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.pc-count {
  font-size: 0.81rem;
  font-weight: 600;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}

.pc-copy-btn {
  padding: 6px 13px;
  font-size: 0.78rem;
}

/* 3-Col -> 2-Col + Sticky Slide-In Inspector */
.pc-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 0px;
  gap: 0;
  align-items: start;
  scroll-margin-top: var(--pfg-sticky-offset, 196px);
  transition: grid-template-columns 0.24s var(--ease-out), gap 0.24s var(--ease-out);
}

.pc-stage.has-inspector {
  grid-template-columns: minmax(0, 1fr) 468px;
  gap: 24px;
}

.pc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.pc-stage.has-inspector .pc-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.pc-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: none;
  border-radius: 22px;
  overflow: hidden;
  text-align: left;
  padding: 0;
  color: var(--ink);
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), background-color 0.2s;
}

.pc-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.pc-stage.has-inspector .pc-card:not(.is-selected) {
  background: var(--surface-sand);
  box-shadow: none;
}

.pc-stage.has-inspector .pc-card:not(.is-selected):hover {
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.pc-card.is-selected {
  background: var(--surface);
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.13);
  z-index: 2;
}

.pc-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--surface-sand);
  overflow: hidden;
}

.pc-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s var(--ease-out);
}

.pc-card:hover .pc-card-media img {
  transform: scale(1.03);
}

.pc-card-media.is-img-pending {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-sand);
}

.pc-img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 16px;
  text-align: center;
  color: var(--ink-3);
  font-size: 0.78rem;
  font-weight: 600;
}

.pc-viewing-pill {
  display: none;
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 11px;
  border-radius: 999px;
  border: none;
  background: var(--btn-accent);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
}

.pc-card.is-selected .pc-viewing-pill {
  display: inline-flex;
  z-index: 3;
}

/* Crisp 1-line "Check label:" metadata strip inside Meds & Cleaners card bodies */
.pc-label-cue {
  margin-top: auto;
  padding: 6px 10px;
  border-radius: 10px;
  border: none;
  background: var(--surface-sand);
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pc-label-cue-key {
  font-weight: 700;
  color: var(--ink);
}

.pc-stage.has-inspector .pc-card:not(.is-selected) .pc-label-cue {
  background: var(--surface);
}

.pc-card-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1 1 auto;
}

.pc-card-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  flex-wrap: wrap;
}

.pc-card-cat {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.pc-card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.24;
  color: var(--ink);
  margin: 0;
}

.pc-card.is-selected .pc-card-title {
  color: var(--btn-accent);
}

.pc-card-teaser {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--ink-3);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pc-inspector-col {
  align-self: stretch;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease-out);
}

.pc-stage.has-inspector .pc-inspector-col {
  overflow: visible;
  opacity: 1;
  pointer-events: auto;
}

.pc-inspector {
  position: sticky;
  top: var(--pfg-sticky-offset, 196px);
  background: var(--surface);
  border: none;
  border-radius: 24px;
  overflow-x: hidden;
  overflow-y: auto;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.11), 0 4px 14px rgba(15, 23, 42, 0.04);
  max-height: calc(100vh - var(--pfg-sticky-offset, 196px) - 20px);
  display: flex;
  flex-direction: column;
}

.pc-insp-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--surface-sand);
  flex-shrink: 0;
  overflow: hidden;
}

.pc-insp-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.pc-insp-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
}

.pc-insp-scroll {
  padding: 15px 18px 14px;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.pc-insp-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.pc-insp-head h2 {
  margin: 0 0 2px;
  font-size: 1.26rem;
  line-height: 1.16;
}

.pc-insp-sci {
  font-size: 0.79rem;
  color: var(--ink-3);
  font-style: italic;
}

.pc-insp-text {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--ink-2);
}

.pc-insp-swap {
  padding: 10px 13px;
  border-radius: 14px;
  border: none;
  background: var(--sage-soft);
  font-size: 0.82rem;
  line-height: 1.44;
  color: var(--ink);
}

.pc-insp-swap strong {
  color: var(--sage);
}

.pc-insp-emerg {
  padding: 10px 13px;
  border-radius: 14px;
  border: none;
  background: var(--bad-soft);
  font-size: 0.8rem;
  line-height: 1.44;
  color: var(--bad);
}

.pc-insp-emerg a {
  color: var(--bad);
  font-weight: 700;
}

.pc-insp-ref {
  padding: 10px 13px;
  border-radius: 14px;
  border: none;
  background: var(--surface-sand);
  font-size: 0.79rem;
  line-height: 1.44;
  color: var(--ink-2);
}

.pc-insp-sources {
  font-size: 0.75rem;
  color: var(--ink-3);
  line-height: 1.42;
}

.pc-insp-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: var(--surface-sand);
  border-top: none;
  flex-shrink: 0;
}

.pc-nav-btn {
  padding: 6px 13px;
  border-radius: 999px;
  border: none;
  background: var(--surface);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-xs);
}

.pc-nav-pos {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}

.pc-lookalikes {
  margin-top: 48px;
  padding: 28px;
  border-radius: 24px;
  border: none;
  background: var(--surface-sand);
}

.pc-look-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.pc-look-card {
  background: var(--surface);
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  border: none;
  text-align: left;
  padding: 0;
  box-shadow: var(--shadow-card);
  transition: transform 0.18s var(--ease-out), box-shadow 0.18s var(--ease-out);
}

.pc-look-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.pc-look-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.pc-look-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pc-look-body strong {
  font-family: var(--font-display);
  font-size: 1.04rem;
  color: var(--ink);
}

.pc-look-body p {
  margin: 0;
  font-size: 0.83rem;
  color: var(--ink-2);
  line-height: 1.48;
}

/* ==========================================================================
 * 19. About Page Editorial Layout
 * ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.about-card {
  background: var(--surface);
  border: none;
  border-radius: 22px;
  padding: 26px 28px;
  box-shadow: var(--shadow-card);
}

.about-card h2 {
  font-size: 1.32rem;
  margin-bottom: 10px;
}

.about-card p {
  font-size: 0.94rem;
  line-height: 1.64;
  color: var(--ink-2);
  max-width: 68ch;
}

.about-card ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--ink-2);
  font-size: 0.92rem;
  line-height: 1.62;
  max-width: 68ch;
}

.about-card li + li {
  margin-top: 8px;
}

/* ==========================================================================
 * 20. Locked Responsive Rules (Wide Desktop + D+E Mobile + 52px Header + Bunnings Aisle Mode)
 * ========================================================================== */

@media (min-width: 1260px) {
  .hde-banner {
    min-height: 486px;
  }

  .hde-bg {
    top: -62px;
    right: -6%;
    height: 642px;
  }

  .hde-veil {
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0.99) 48%,
      rgba(255, 255, 255, 0.88) 55%,
      rgba(255, 255, 255, 0.2) 63%,
      rgba(255, 255, 255, 0) 69%
    );
  }

  .hde-content {
    max-width: 685px;
    padding: 46px 54px;
  }
}

@media (min-width: 1340px) {
  body[data-tool="safety"] .page-hero-split {
    grid-template-columns: minmax(0, 1.32fr) minmax(0, 0.68fr);
  }

  .pc-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }

  .pc-stage.has-inspector {
    grid-template-columns: minmax(0, 1fr) 440px;
    gap: 22px;
  }

  .pc-stage.has-inspector .pc-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (max-width: 1120px) {
  .pc-stage.has-inspector {
    grid-template-columns: minmax(0, 1fr) 390px;
  }
}

@media (max-width: 1080px) {
  .hde-content {
    max-width: 560px;
    padding: 36px 36px;
  }
}

@media (max-width: 960px) {
  .flagship-card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
    border-radius: 22px;
  }

  .flagship-media {
    order: -1;
    min-height: 0;
    aspect-ratio: 16 / 10;
    border-radius: 16px;
  }

  .cat-tile-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .cat-tile {
    padding: 12px 14px;
    min-height: 54px;
  }

  .flagship-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .pc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .pc-stage.has-inspector {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .pc-stage.has-inspector .pc-inspector-col {
    position: fixed;
    inset: 0;
    z-index: 140;
    background: rgba(29, 29, 31, 0.52);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: max(18px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom));
  }

  .pc-inspector {
    position: static;
    top: auto;
    width: min(620px, 100%);
    max-height: 88vh;
    max-height: calc(100dvh - 30px);
    overflow-x: hidden;
    overflow-y: auto;
    border-radius: 22px;
  }

  .pc-insp-media {
    height: 210px;
  }

  .pc-look-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 880px) {
  .hde-wrap {
    padding: 14px 0 14px;
  }

  .hde-banner {
    min-height: auto;
    border-radius: 22px;
    background: var(--surface-sand);
    box-shadow: none;
  }

  .hde-bg,
  .hde-veil {
    display: none;
  }

  .hde-content {
    max-width: none;
    width: 100%;
    padding: 18px 16px;
  }

  .hde-head-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 86px;
    gap: 14px;
    align-items: center;
    margin-bottom: 12px;
  }

  .hde-mob-thumb {
    display: block;
    width: 86px;
    height: 86px;
    border-radius: 22px;
    overflow: hidden;
    background: #FFFFFF;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.1);
  }

  .hde-mob-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 80% 22%;
    transform: scale(1.24);
    transform-origin: 50% 28%;
    display: block;
  }

  .hde-kicker {
    background: #FFFFFF;
    font-size: 0.64rem;
    padding: 3px 9px;
    margin-bottom: 7px;
  }

  .hde-content h1 {
    font-size: 1.58rem;
    margin-bottom: 0;
  }

  .hde-br-desk {
    display: none;
  }

  .hde-sub {
    font-size: 0.88rem;
    line-height: 1.48;
    margin: 0 0 14px;
  }

  .hde-content .search-wrap {
    min-height: 44px;
    padding: 3px 4px 3px 13px;
    gap: 6px;
  }

  .hde-content .search-wrap svg {
    width: 15px;
    height: 15px;
  }

  .hde-content .search-wrap .search-btn {
    padding: 7px 14px;
    font-size: 0.8rem;
    min-height: 36px;
  }

  .hde-content .quick-chips {
    margin-top: 9px;
    gap: 6px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
  }

  .hde-content .quick-chips::-webkit-scrollbar {
    display: none;
  }

  .hde-content .quick-chips-label {
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 0.72rem;
  }

  .hde-content .chip-btn {
    background: #FFFFFF;
    white-space: nowrap;
    flex-shrink: 0;
    padding: 7px 12px;
    min-height: 34px;
    font-size: 0.76rem;
  }

  .hde-content .home-helpline-inline {
    font-size: 0.74rem;
    line-height: 1.45;
    margin-top: 10px;
  }
}

@media (max-width: 760px) {
  .live-result {
    position: relative;
    margin-top: 12px;
    padding: 14px;
    border-radius: 20px;
  }

  .res-card-layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .res-photo-col .res-thumb {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 10;
    max-height: 196px;
    object-fit: cover;
    border-radius: 14px;
  }

  .res-head-bar {
    flex-wrap: wrap;
    gap: 8px;
  }

  .res-head-actions .res-close-btn {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 36px;
    height: 36px;
    font-size: 1.15rem;
    background: rgba(255, 255, 255, 0.94);
    color: var(--ink);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.14);
    z-index: 3;
  }

  .res-card-layout.is-no-photo .res-head-actions .res-close-btn,
  .res-card-unlisted .res-head-actions .res-close-btn {
    top: 14px;
    right: 14px;
    background: var(--surface-sand);
    box-shadow: none;
  }

  .res-name {
    font-size: 1.12rem;
    padding-right: 36px;
  }

  .res-detail-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 640px) {
  /* Zero iOS Safari auto-zoom on inputs (matches desktop selector specificity) */
  input[type="search"],
  input[type="number"],
  input[type="text"],
  select,
  .hde-content .search-wrap input,
  .search-wrap input,
  .pc-search-box input {
    font-size: 16px;
  }

  .search-wrap input::placeholder,
  .pc-search-box input::placeholder {
    font-size: 0.92rem;
  }

  .search-clear-btn {
    width: 34px;
    height: 34px;
  }

  /* Clean 52px Single-Row Mobile Header + Working Collapsible Menu Drawer */
  .site-header {
    position: relative;
    min-height: 52px;
  }

  .header-inner {
    min-height: 52px;
    padding: 8px 18px;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
  }

  .footer-inner {
    padding-left: 18px;
    padding-right: 18px;
  }

  .brand-mark {
    gap: 5px;
  }

  .brand-emblem {
    width: 30px;
    height: 30px;
  }

  .brand-wordmark {
    font-size: 1.22rem;
  }

  .brand-paw {
    width: 16.5px;
    height: 17px;
    transform: translateY(-0.5px);
  }

  .mob-menu-btn {
    display: inline-flex;
  }

  .primary-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 8px 0 4px;
  }

  .site-header.is-mob-open .primary-nav {
    display: flex;
  }

  .primary-nav a {
    padding: 10px 14px;
    border-radius: 12px;
    background: var(--surface-sand);
    font-weight: 600;
  }

  .primary-nav a[aria-current="page"]::after {
    display: none;
  }

  /* Ultra-slim legally-compliant mobile disclosure */
  .disclosure-banner {
    padding: 6px 14px;
    font-size: 0.68rem;
    line-height: 1.34;
    text-align: left;
  }

  .disclosure-banner code {
    font-size: 0.66rem;
    padding: 1px 4px;
  }

  /* Locked 1-row horizontal swipe for Common household checks (unclipped soft-float shadows) */
  .quick-look-grid {
    display: flex;
    align-items: stretch;
    overflow-x: auto;
    gap: 12px;
    padding: 10px 18px 24px;
    margin: 0 -18px;
    scroll-padding-left: 18px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .quick-look-grid::-webkit-scrollbar {
    display: none;
  }

  .quick-look-grid .photo-card {
    flex: 0 0 154px;
    scroll-snap-align: start;
  }

  /* Unified Apple Silver Mobile Top Cards across Cat Safety, About & Dogs */
  .page-wrap {
    padding-top: 12px;
  }

  body[data-tool="about"] .page-hero-split,
  body[data-tool="dogs"] .page-hero-split {
    background: var(--surface-sand);
    border-radius: 22px;
    padding: 14px 14px 18px;
    gap: 14px;
    margin-bottom: 22px;
  }

  body[data-tool="about"] .page-hero-media,
  body[data-tool="dogs"] .page-hero-media {
    order: -1;
    aspect-ratio: 16 / 10;
    border-radius: 16px;
    box-shadow: none;
  }

  body[data-tool="about"] .page-hero-copy,
  body[data-tool="dogs"] .page-hero-copy {
    padding: 0 4px;
  }

  body[data-tool="about"] .page-hero .kicker,
  body[data-tool="dogs"] .page-hero .kicker,
  body[data-tool="safety"] .page-hero .kicker {
    display: inline-block;
    background: #FFFFFF;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 0.64rem;
    margin-bottom: 8px;
  }

  body[data-tool="about"] .page-hero h1,
  body[data-tool="dogs"] .page-hero h1 {
    font-size: 1.5rem;
    line-height: 1.14;
    margin-bottom: 8px;
  }

  body[data-tool="about"] .page-hero .lead,
  body[data-tool="dogs"] .page-hero .lead {
    font-size: 0.88rem;
    line-height: 1.48;
    margin-bottom: 0;
  }

  /* Compact Apple Silver Top Card on Cat Safety mobile */
  body[data-tool="safety"] .page-hero-media {
    display: none;
  }

  body[data-tool="safety"] .fh-wrap {
    padding-top: 10px;
  }

  body[data-tool="safety"] .page-hero {
    background: var(--surface-sand);
    border-radius: 20px;
    padding: 14px 16px;
    gap: 0;
    margin-bottom: 10px;
  }

  body[data-tool="safety"] .fh-head-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 76px;
    gap: 12px;
    align-items: center;
    margin-bottom: 8px;
  }

  body[data-tool="safety"] .fh-mob-thumb {
    display: block;
    width: 76px;
    height: 76px;
    border-radius: 20px;
    overflow: hidden;
    background: #FFFFFF;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.09);
  }

  body[data-tool="safety"] .fh-mob-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 62% 35%;
    display: block;
  }

  body[data-tool="safety"] .page-hero h1 {
    font-size: 1.48rem;
    line-height: 1.12;
    margin-bottom: 0;
  }

  body[data-tool="safety"] .page-hero .lead {
    font-size: 0.84rem;
    line-height: 1.44;
    margin-bottom: 0;
  }

  body[data-tool="safety"] .fh-helpline {
    display: block;
    width: 100%;
    background: #FFFFFF;
    border-radius: 13px;
    padding: 8px 12px;
    margin-top: 10px;
    font-size: 0.76rem;
    line-height: 1.4;
  }

  body[data-tool="safety"] .pc-toolbar {
    top: 0;
    padding: 8px 0 8px;
    margin-bottom: 12px;
    box-shadow: 0 8px 16px -14px rgba(29, 29, 31, 0.16);
  }

  .pc-toolbar-row {
    gap: 7px;
    width: 100%;
  }

  .pc-search-box {
    flex: 1 1 100%;
    width: 100%;
    min-height: 44px;
    padding: 4px 10px 4px 14px;
  }

  .pc-cats {
    width: 100%;
    max-width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-right: 12px;
  }

  .pc-cats::-webkit-scrollbar {
    display: none;
  }

  .pc-tiers {
    width: 100%;
    max-width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-right: 12px;
  }

  .pc-tiers::-webkit-scrollbar {
    display: none;
  }

  .pc-cat-btn {
    padding: 7px 12px;
    min-height: 34px;
    font-size: 0.78rem;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .pc-tier-btn {
    padding: 7px 12px;
    min-height: 34px;
    font-size: 0.76rem;
    line-height: 1.2;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .pc-subrow {
    margin-top: 6px;
    gap: 6px;
    width: 100%;
  }

  .pc-toolbar-meta {
    width: 100%;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 8px;
  }

  .pc-count {
    font-size: 0.75rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .pc-copy-btn {
    padding: 5px 12px;
    min-height: 32px;
    font-size: 0.74rem;
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* 2-Column Scannable Photo Cards on Phone */
  .pc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
  }

  .pc-card {
    border-radius: 16px;
  }

  .pc-card-body {
    padding: 10px 11px 12px;
    gap: 5px;
  }

  .pc-card-title {
    font-size: 0.94rem;
    line-height: 1.2;
  }

  .pc-card-teaser,
  .pc-card-cat {
    display: none;
  }

  .pc-card .badge {
    font-size: 0.66rem;
    padding: 3px 8px;
  }

  .pc-insp-close {
    width: 40px;
    height: 40px;
  }

  .pc-label-cue {
    padding: 4px 7px;
    border-radius: 8px;
    font-size: 0.65rem;
    margin-top: 2px;
  }
}
