:root {
  --ink: #171412;
  --muted: #69625d;
  --paper: #f7f4ef;
  --surface: #ffffff;
  --line: #ded8d0;
  --brand: #c6422d;
  --brand-dark: #8f2f20;
  --gold: #d89b35;
  --green: #4f725d;
  --nav-height: 68px;
  --radius: 18px;
  --shadow: 0 16px 40px rgba(43, 34, 28, 0.08);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
  padding-bottom: var(--nav-height);
}

button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }

:focus-visible {
  outline: 3px solid #1665a8;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(222, 216, 208, 0.9);
  background: rgba(247, 244, 239, 0.94);
  backdrop-filter: blur(14px);
}

.header-inner {
  width: min(100% - 32px, 1180px);
  min-height: 64px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Site-wide navigation: every spoke, on every page, always reachable
   without scrolling — lives inside the sticky header itself rather than
   only in the bottom mobile-nav (which becomes non-fixed and scrolls out
   of reach on wider screens). Horizontally scrollable on narrow screens
   so it never wraps into extra header height. */
.site-nav {
  display: flex;
  gap: 4px;
  width: min(100% - 32px, 1180px);
  margin-inline: auto;
  padding: 14px 0 10px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.site-nav::-webkit-scrollbar { display: none; }
.site-nav a {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 15px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}
.site-nav a:hover { color: var(--ink); background: var(--paper); }
.site-nav a.is-active, .site-nav a[aria-current="page"] { color: white; background: var(--ink); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  height: 52px;
  width: auto;
  flex: 0 0 auto;
  display: block;
  object-fit: contain;
}

.brand strong, .brand small { display: block; }
.brand strong { font-size: 1.08rem; line-height: 1.1; }
.brand small { margin-top: 3px; color: var(--muted); font-size: 0.68rem; }
.header-actions { display: flex; gap: 8px; }

.icon-button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.icon-button:hover { border-color: var(--ink); }
.icon-button svg, .search-control svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.hero-shell {
  width: min(100% - 32px, 1180px);
  margin-inline: auto;
  padding: 18px 0 24px;
}
/* businesses.html only — the search page wants the first result card
   as high as possible; other pages using .hero-shell keep the shared
   padding above. */
.businesses-page .hero-shell { padding: 10px 0 16px; }

.eyebrow, .card-label {
  margin: 0 0 8px;
  color: var(--brand-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.035em; }

.top-features, .content-grid { display: grid; gap: 14px; }
.feature-card, .content-card, .platform-note, .search-section, .pulse-card, .prototype-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.feature-card, .content-card, .platform-note, .pulse-card, .prototype-card {
  position: relative;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.feature-card:hover, .content-card:hover, .platform-note:hover, .pulse-card:hover, .prototype-card:hover {
  border-color: #c8beb4;
  box-shadow: 0 20px 46px rgba(43, 34, 28, 0.12);
  transform: translateY(-3px);
}

.feature-card:active, .content-card:active, .platform-note:active, .pulse-card:active, .prototype-card:active {
  transform: translateY(-1px) scale(0.995);
}

.card-link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.feature-card {
  min-height: 210px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.feature-card h2, .content-card h2 { margin-bottom: 9px; font-size: 1.4rem; }
.feature-card p:not(.card-label), .content-card p:not(.card-label), .platform-note p { color: var(--muted); }
.feature-card--deal {
  background: linear-gradient(145deg, #fff8ea, #ffffff 65%);
  border-top: 4px solid var(--gold);
}

.feature-card--product {
  display: grid;
  grid-template-columns: 86px 1fr;
  align-items: center;
  gap: 20px;
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

.feature-card--product p:not(.card-label) { color: #cfc8c2; }
.feature-card--product .card-label { color: #f0bd68; }
.product-art {
  width: 86px;
  height: 112px;
  display: grid;
  place-items: center;
  border-radius: 45px 45px 20px 20px;
  background: #e7ddd0;
  transform: rotate(-4deg);
}

.product-art span {
  width: 46px;
  height: 46px;
  border: 8px solid var(--brand);
  border-radius: 50%;
  background: #f4c86f;
}

.text-link {
  width: fit-content;
  color: inherit;
  font-weight: 750;
  text-underline-offset: 4px;
}
.text-link:hover { text-decoration-thickness: 2px; }

.wheel-section { padding: 4px 0 24px; }
.wheel-section .section-heading { margin-bottom: 10px; }
.section-heading { margin-bottom: 16px; }
.section-heading h1, .search-section h2 { margin-bottom: 0; font-size: clamp(1.9rem, 7vw, 3rem); }
.section-heading > p { margin: 12px 0 0; color: var(--muted); }
.wheel-layout { display: grid; gap: 26px; align-items: start; }
.wheel-wrap {
  position: relative;
  width: min(calc(100vw - 16px), 580px);
  aspect-ratio: 1;
  margin-inline: auto;
  filter: drop-shadow(0 18px 28px rgba(43, 34, 28, 0.13));
}

.hub-wheel { display: block; width: 100%; height: 100%; overflow: visible; }

/* Wheel 2.0 — Concept C (Bold Editorial). Each wedge is a <g class="wedge">
   wrapping the slice path, an icon, and a label; the whole group lifts
   outward on hover/focus via per-slice CSS custom properties (--liftNx/y),
   since each slice's "outward" direction differs. */
.hub-wheel .wedge {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 200ms ease-in-out, filter 200ms ease-in-out;
}
.hub-wheel a:hover .wedge, .hub-wheel a:focus-visible .wedge { filter: brightness(1.07); }
.hub-wheel a.is-active .wedge { filter: brightness(1.1) saturate(1.05); }
.hub-wheel a:focus { outline: none; }
.hub-wheel a:focus-visible .slice { stroke: #1665a8; stroke-width: 3; }
.hub-wheel a.is-active .slice { stroke: #f4ead4; stroke-width: 2.5; }
.hub-wheel .slice { stroke: #f4ead4; stroke-width: 1.5; }

.hub-wheel .wedge-icon { color: #d9a94a; opacity: 0.92; transition: opacity 200ms ease-in-out, filter 200ms ease-in-out; }
.hub-wheel a:hover .wedge-icon, .hub-wheel a:focus-visible .wedge-icon, .hub-wheel a.is-active .wedge-icon { opacity: 1; filter: brightness(1.3); }

.hub-wheel text {
  fill: #fdf6e9;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-anchor: middle;
  dominant-baseline: middle;
  pointer-events: none;
}

.hub-wheel .slice-1 { fill: url(#wheel-g1); }
.hub-wheel .slice-2 { fill: url(#wheel-g2); }
.hub-wheel .slice-3 { fill: url(#wheel-g3); }
.hub-wheel .slice-4 { fill: url(#wheel-g4); }
.hub-wheel .slice-5 { fill: url(#wheel-g5); }
.hub-wheel .slice-6 { fill: url(#wheel-g6); }

/* per-slice outward lift on hover/focus/active — 8px along each wedge's bisector */
.hub-wheel a:nth-of-type(1):hover .wedge, .hub-wheel a:nth-of-type(1):focus-visible .wedge, .hub-wheel a:nth-of-type(1).is-active .wedge { transform: translate(4px, -6.9px) scale(1.035); }
.hub-wheel a:nth-of-type(2):hover .wedge, .hub-wheel a:nth-of-type(2):focus-visible .wedge, .hub-wheel a:nth-of-type(2).is-active .wedge { transform: translate(8px, 0) scale(1.035); }
.hub-wheel a:nth-of-type(3):hover .wedge, .hub-wheel a:nth-of-type(3):focus-visible .wedge, .hub-wheel a:nth-of-type(3).is-active .wedge { transform: translate(4px, 6.9px) scale(1.035); }
.hub-wheel a:nth-of-type(4):hover .wedge, .hub-wheel a:nth-of-type(4):focus-visible .wedge, .hub-wheel a:nth-of-type(4).is-active .wedge { transform: translate(-4px, 6.9px) scale(1.035); }
.hub-wheel a:nth-of-type(5):hover .wedge, .hub-wheel a:nth-of-type(5):focus-visible .wedge, .hub-wheel a:nth-of-type(5).is-active .wedge { transform: translate(-8px, 0) scale(1.035); }
.hub-wheel a:nth-of-type(6):hover .wedge, .hub-wheel a:nth-of-type(6):focus-visible .wedge, .hub-wheel a:nth-of-type(6).is-active .wedge { transform: translate(-4px, -6.9px) scale(1.035); }

.hub-wheel .hub-ring { fill: url(#wheel-hub); stroke: #b8862f; stroke-width: 1.5; }
.hub-wheel .hub-ring-inner { fill: none; stroke: #d9a94a; stroke-width: 1; opacity: 0.55; }
.hub-wheel .hub-emblem {
  fill: #d9a94a;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
  text-anchor: middle;
  dominant-baseline: middle;
  pointer-events: none;
}

.platform-note { padding: 26px; }
.platform-note.is-updating { animation: previewIn 220ms ease; }
.platform-note h2 { margin-bottom: 14px; font-size: 1.7rem; }
@keyframes previewIn {
  from { opacity: 0.72; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Pizza Styles Explorer (homepage, below the wheel) */
.style-explorer { padding: 8px 0 36px; }
.style-explorer .section-heading { margin-bottom: 16px; }
.style-explorer-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.style-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.style-card:hover { border-color: #c8beb4; box-shadow: 0 20px 46px rgba(43, 34, 28, 0.12); transform: translateY(-3px); }
.style-card__media { aspect-ratio: 4 / 3; background: var(--paper); }
.style-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.style-card__body { padding: 18px 20px 20px; display: grid; gap: 6px; }
.style-card__body h3 { margin: 0; font-size: 1.25rem; }
.style-card__description { margin: 0; color: var(--muted); font-size: 0.92rem; }
.style-card__note { margin: 2px 0 0; color: var(--muted); font-size: 0.8rem; font-style: italic; }
.style-card__actions { display: flex; align-items: center; gap: 14px; margin-top: 10px; flex-wrap: wrap; }

@media (min-width: 680px) {
  .style-explorer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .style-explorer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid var(--brand);
  border-radius: 10px;
  background: var(--brand);
  color: white;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}
.button:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.button--dark { background: var(--ink); border-color: var(--ink); }
.icon-external { width: 13px; height: 13px; margin-left: 7px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.content-grid { padding-bottom: 56px; }
.content-card {
  min-height: 230px;
  padding: 22px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.content-card > div:last-child { flex: 1; }
.avatar-placeholder, .opportunity-icon {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eee6dc;
  color: var(--brand-dark);
  font-size: 0.8rem;
  font-weight: 850;
}
.opportunity-icon { border-radius: 14px; background: #e3ece5; color: var(--green); font-size: 1.4rem; }
.poll-card { display: block; }
.poll { display: grid; gap: 8px; margin-top: 16px; }
.poll label {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.poll label:hover { border-color: var(--brand); }
.poll input { accent-color: var(--brand); }
.poll .button { margin-top: 4px; }

.vendor-offers { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.vendor-offers .section-heading { margin-bottom: 16px; }
.vendor-offers .section-heading h2 { font-size: clamp(1.5rem, 5vw, 2rem); }
.vendor-offers .section-heading > p { color: var(--muted); font-size: 0.88rem; max-width: 340px; }
.vendor-offers .section-heading > p a { color: inherit; }

.pulse-section { padding-bottom: 24px; }
.pulse-section .section-heading { margin-bottom: 12px; }
.pulse-section .section-heading h2 { margin-bottom: 0; font-size: clamp(1.8rem, 6vw, 2.55rem); }
.pulse-grid { display: grid; gap: 10px; }
.pulse-card { min-height: 96px; padding: 12px 14px; }
.pulse-card h3 { margin-bottom: 5px; font-size: 1.02rem; line-height: 1.14; }
.pulse-card h3 a { text-underline-offset: 4px; }
.pulse-card > p:last-child { margin-bottom: 0; color: var(--muted); font-size: 0.8rem; line-height: 1.35; }
.pulse-cta { display: inline-block; margin-top: 10px; }

.search-section {
  padding: 17px;
  display: grid;
  gap: 16px;
  background: #ebe3d9;
  box-shadow: none;
}
.search-section > div > p:last-child { margin: 12px 0 0; color: var(--muted); }
.search-control {
  min-height: 56px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 5px 5px 5px 15px;
  border: 1px solid #c9beb2;
  border-radius: 14px;
  background: white;
}
.search-control input { min-width: 0; border: 0; outline: 0; background: transparent; }
.search-control button {
  min-height: 44px;
  padding: 0 15px;
  border: 0;
  border-radius: 10px;
  background: var(--ink);
  color: white;
  font-weight: 750;
  cursor: pointer;
}
.search-examples { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 12px; }
.search-examples[hidden] { display: none; }
.search-examples span { color: var(--muted); font-size: 0.82rem; }
.search-examples button {
  min-height: 34px;
  padding: 5px 10px;
  border: 1px solid #c9beb2;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.search-examples button:hover { background: white; }
.placeholder-notice {
  margin: 22px 0 0;
  padding: 14px 16px;
  border-left: 4px solid var(--gold);
  background: #fff8ea;
  color: var(--muted);
  font-size: 0.9rem;
}

.ticker { border-block: 1px solid #393431; background: var(--ink); color: white; }
.ticker-inner {
  width: min(100% - 32px, 1180px);
  margin-inline: auto;
  padding: 14px 0;
  overflow: hidden;
}
.ticker-track { display: block; }
.ticker-set { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.ticker-set--duplicate { display: none; }
.ticker p, .ticker a { margin: 0; color: #d8d2cc; font-size: 0.78rem; }
.ticker a { text-decoration: none; }
.ticker a:hover, .ticker a:focus-visible { color: white; text-decoration: underline; text-underline-offset: 3px; }
.ticker span { margin-right: 6px; color: #f0bd68; font-weight: 850; text-transform: uppercase; }

/* Continuous right-to-left crawl — only when the user hasn't asked for
   reduced motion. Without this media query (or in browsers that don't
   support it), the ticker stays the static, wrapping list above: real
   content, no duplication, no animation. This is deliberately CSS-only —
   no JS timer — so there's nothing to fail into a broken state. */
@media (prefers-reduced-motion: no-preference) {
  .ticker-track {
    display: flex;
    width: max-content;
    animation: ticker-crawl 36s linear infinite;
    will-change: transform;
  }
  .ticker-set { flex-wrap: nowrap; gap: 32px; padding-right: 32px; }
  .ticker-set--duplicate { display: flex; }
  .ticker-track a { white-space: nowrap; }
  .ticker-track:hover, .ticker-track:focus-within { animation-play-state: paused; }
}

@keyframes ticker-crawl {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.mobile-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 30;
  height: var(--nav-height);
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
}
.mobile-nav a {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--muted);
  font-size: clamp(0.58rem, 2.15vw, 0.68rem);
  font-weight: 700;
  text-decoration: none;
}
.mobile-nav a span { color: inherit; font-size: 1.22rem; line-height: 1; }
.mobile-nav a:hover, .mobile-nav a.is-active { color: var(--brand-dark); }

@media (min-width: 680px) {
  .hero-shell { width: min(100% - 56px, 1180px); padding-top: 24px; }
  .header-inner, .ticker-inner, .site-nav { width: min(100% - 56px, 1180px); }
  .top-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; }
  .section-heading > p { max-width: 290px; margin: 0 0 4px; text-align: right; }
  .content-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pulse-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pulse-card:last-child { grid-column: 1 / -1; }
  .poll-card { grid-column: 1 / -1; }
  .search-section { grid-template-columns: minmax(0, 0.7fr) minmax(340px, 1.3fr); align-items: center; padding: 23px; }
}

@media (min-width: 1024px) {
  body { padding-bottom: 0; }
  .brand strong { font-size: 1.2rem; }
  .brand small { font-size: 0.74rem; }
  .feature-card { min-height: 230px; padding: 28px; }
  .wheel-section { padding: 6px 0 32px; }
  .wheel-layout { grid-template-columns: minmax(620px, 1.35fr) minmax(280px, 0.65fr); gap: 64px; }
  .wheel-wrap { width: min(100%, 720px); }
  .platform-note { padding: 34px; }
  .content-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pulse-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pulse-card:last-child { grid-column: auto; }
  .poll-card { grid-column: auto; }
  .search-section { padding: 28px; }
  /* Desktop already has the full-label site-nav bar (and, on the
     homepage, the Pizza1 Pie) carrying these same six destinations —
     showing this bar again here duplicated navigation with no added
     value (2026-09-06 visual-consistency correction). It stays the
     real primary navigation only on narrower/mobile widths, where it's
     the only nav present. */
  .mobile-nav { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* Shared static prototype page styles */
.prototype-main {
  width: min(100% - 32px, 960px);
  margin-inline: auto;
  padding: 28px 0 64px;
}
.breadcrumb { margin-bottom: 19px; color: var(--muted); font-size: 0.85rem; }
.breadcrumb a { text-underline-offset: 3px; }
.page-hero { max-width: 760px; margin-bottom: 22px; }
.page-hero h1 { margin-bottom: 9px; font-size: clamp(1.9rem, 6.5vw, 3.1rem); }
.page-hero > p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }
.status-badge {
  width: fit-content;
  margin-bottom: 16px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 750;
}
.header-admin-actions { display: flex; align-items: center; gap: 12px; }
.header-admin-actions .status-badge { margin-bottom: 0; }
.prototype-grid { display: grid; gap: 14px; }
.prototype-card { min-height: 170px; padding: 22px; }
.prototype-card h2 { margin-bottom: 10px; font-size: 1.35rem; }
.prototype-card p { color: var(--muted); }
.prototype-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }

/* Verification queue summary (admin-image-review.html) */
.review-stats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.review-card { margin-bottom: 24px; }
.review-actions { flex-wrap: wrap; }
.review-actions--source { margin-top: 10px; align-items: center; gap: 12px; }
.review-io { margin-bottom: 14px; }

/* Google Places candidate search (admin-image-review.html) */
.google-results { margin-bottom: 28px; }
.google-results__grid {
  display: grid;
  gap: 14px;
  margin-top: 14px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.google-candidate {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.google-candidate__media { aspect-ratio: 4 / 3; background: var(--paper); }
.google-candidate__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.google-candidate__media p { display: flex; align-items: center; justify-content: center; height: 100%; padding: 12px; text-align: center; font-size: 0.78rem; }
.google-candidate__body { display: flex; flex-direction: column; gap: 6px; padding: 14px; flex: 1; }
.google-candidate__name { margin: 0; font-weight: 800; }
.google-candidate__meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0; }
.google-candidate > .button { margin: 0 14px 14px; }

/* Google Places photo review grid — step 2 of admin-image-review.html:
   choose one of up to 10 real photos as the cover image. Mirrors
   .google-results/.google-candidate above (step 1: confirm the business). */
.photo-review { margin-bottom: 28px; }
.photo-review__grid {
  display: grid;
  gap: 14px;
  margin-top: 14px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.photo-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.photo-card--selected { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand); }
.photo-card--gallery { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold); }
.photo-card--rejected { opacity: 0.55; }
.photo-card__media { position: relative; aspect-ratio: 4 / 3; background: var(--paper); }
.photo-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-card__media p { display: flex; align-items: center; justify-content: center; height: 100%; padding: 12px; text-align: center; font-size: 0.78rem; }
.candidate-badge--rejected { background: rgba(23, 20, 18, 0.72); }
.candidate-badge--gallery { background: var(--gold); color: var(--ink); }
.photo-card__body { display: flex; flex-direction: column; gap: 4px; padding: 14px; flex: 1; }
.photo-card__position { margin: 0; font-weight: 800; }
.photo-card__reference {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: monospace;
  font-size: 0.68rem;
}
.photo-card__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; padding: 0 14px 14px; }

/* Photo Quality Queue (admin-image-review.html) — businesses flagged
   "needs better cover" from an already-approved business's review card. */
.quality-queue { border-top: 4px solid var(--gold); }
.quality-queue__list { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.quality-queue__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}
.quality-queue__name { margin: 0; font-weight: 800; }

@media (min-width: 680px) {
  .prototype-main { width: min(100% - 56px, 960px); padding-top: 64px; }
  .prototype-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Businesses directory (August MVP) */
.directory-hero { margin-bottom: 15px; }

/* Discover search-first hero (businesses.html) — search is the entire
   point of this page: one centered instrument (search → examples →
   quick filters), not a text block with a search bar bolted on, and
   not competing with badges, eyebrows, or hero imagery for attention. */
.discover-search-hero { max-width: 600px; margin: 8px auto 22px; padding: 0 4px; text-align: center; }
.discover-search-hero h1 { margin-bottom: 10px; font-size: clamp(2rem, 6vw, 3.1rem); letter-spacing: -0.01em; }
.discover-search-hero__sub { margin: 0 auto 20px; max-width: 54ch; color: var(--muted); font-size: 1.05rem; }
.discover-search-hero__hint { margin: 10px auto 0; max-width: 48ch; color: var(--muted); font-size: 0.85rem; }
.search-form--hero { display: grid; gap: 14px; }

/* GF2 (third reduction pass, businesses.html only): shrinks the
   headline, subhead, and gaps beyond the .discover-search-hero--compact
   pass below, so the search box — not the hero text — sets the page's
   above-the-fold height. */
.discover-search-hero--compact { margin: 0 auto 10px; }
.discover-search-hero--compact h1 { margin-bottom: 6px; font-size: clamp(1.5rem, 4.4vw, 2.1rem); }
.discover-search-hero--compact .discover-search-hero__sub { margin-bottom: 12px; font-size: 0.92rem; }
.discover-search-hero--compact .search-form--hero { gap: 8px; }
.discover-search-hero--compact .discover-search-hero__hint { margin-top: 6px; font-size: 0.78rem; }

/* Segmented pill — icon, input, radius, Search — reads as one rounded
   instrument rather than a form with separate fields stacked below it.
   Shared baseline (also used by marketplace.html/businesses-for-
   sale.html) — businesses.html shrinks further on top of this via
   .discover-search-hero--compact below, scoped so the other two pages
   (out of scope for the search-page-simplification pass) are
   unaffected. */
.search-control--large { min-height: 56px; padding: 5px 5px 5px 18px; border-radius: 999px; box-shadow: var(--shadow); }
.search-control--large:focus-within { border-color: var(--ink); }
.search-control--large input { font-size: 1rem; }
.search-control--large button { min-height: 44px; padding: 0 20px; border-radius: 999px; font-size: 0.88rem; }

/* businesses.html only — another ~18% off the shared baseline above
   (originally 68px/52px/720px before that first pass; this is the
   second reduction, requested specifically for the search page). The
   radius control that used to live in this box moved into the
   Filters disclosure inside .nw-results, so it only needs to fit 2
   controls now (input, button), not 3. */
.discover-search-hero--compact { max-width: 480px; }
.discover-search-hero--compact .search-control--large { min-height: 46px; padding: 4px 4px 4px 16px; }
.discover-search-hero--compact .search-control--large input { font-size: 0.95rem; }
.discover-search-hero--compact .search-control--large button { min-height: 36px; padding: 0 18px; font-size: 0.84rem; }
.search-control--select { grid-template-columns: auto minmax(0, 1fr) auto auto; }
.search-control--select select {
  height: 100%;
  margin: 0 2px;
  padding: 0 14px;
  border: 0;
  border-left: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-weight: 750;
  font-size: 0.85rem;
  cursor: pointer;
}
.search-control--select select:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }

.search-status { margin: 6px 0 0; min-height: 1.2em; max-width: 62ch; margin-inline: auto; font-size: 0.88rem; font-weight: 650; line-height: 1.5; color: var(--ink); }
.search-status:empty { display: none; }

/* Example queries and quick filters both live inside the hero on this
   page, so they inherit its centering — this scoped override leaves
   the shared .search-examples/.quick-filters rules (used on other
   pages) completely untouched. */
.discover-search-hero .search-examples { justify-content: center; margin-top: 22px; }
.discover-search-hero .quick-filters { flex-wrap: wrap; justify-content: center; overflow: visible; margin: 12px 0 0; }
.search-chip-row__label {
  margin-right: 2px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

@media (max-width: 480px) {
  .search-control--large { padding: 6px 6px 6px 16px; }
  .search-control--select select { padding: 0 8px; font-size: 0.78rem; }
  .search-control--large button { padding: 0 16px; }
}

/* Hero image band (js/visual-assets.js). [hidden] already gets
   display:none from the browser's default stylesheet, so a page with
   no approved asset for its data-hero-media id renders with zero
   layout difference from before this existed — no placeholder image,
   no reserved empty space. */
.hero-media {
  margin-bottom: 22px;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 21 / 9;
  background: var(--paper);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Homepage only: a shallow editorial strip below the platform intro,
   before the wheel — atmosphere, not the focal point. Fixed height
   (not aspect-ratio) so it stays a strip at every container width. */
.hero-media--home { aspect-ratio: unset; height: 150px; margin-bottom: 12px; }
.page-hero--home { margin-bottom: 14px; }

.quick-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding-bottom: 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.quick-filters[hidden] { display: none; }
.chip {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 750;
  font-size: 0.82rem;
  cursor: pointer;
  white-space: nowrap;
}
.chip:hover { border-color: #c8beb4; }
.chip--sort.is-active { background: var(--ink); border-color: var(--ink); color: white; }
.chip--style.is-active { background: var(--brand); border-color: var(--brand); color: white; }
.chip-divider { flex: 0 0 auto; width: 1px; height: 24px; background: var(--line); margin: 0 2px; }

.featured-pizzeria {
  position: relative;
  display: grid;
  gap: 0;
  margin-bottom: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.featured-pizzeria[hidden] { display: none; }
.featured-pizzeria__media { position: relative; }
.featured-pizzeria__media img { display: block; width: 100%; height: 220px; object-fit: cover; }
.featured-pizzeria__media .photo-placeholder { height: 220px; }
.featured-pizzeria__body { padding: 22px; }
.featured-pizzeria__body h2 { margin-bottom: 10px; font-size: 1.7rem; }
.featured-pizzeria__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 12px; font-size: 0.88rem; }
.featured-pizzeria__specialty { margin-top: 4px; }
.featured-pizzeria__actions { display: flex; align-items: center; gap: 10px; margin-top: 16px; }

.rating { display: inline-flex; align-items: center; gap: 3px; font-weight: 750; }
.rating span[aria-hidden] { color: var(--gold); }
.muted { color: var(--muted); font-weight: 500; }
.dot { color: var(--line); }

.status-pill { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; font-size: 0.72rem; font-weight: 750; white-space: nowrap; }
.status-pill--open { background: #e3ece5; color: var(--green); }
.status-pill--closed { background: #f5e6e2; color: var(--brand-dark); }
/* Verification-queue states (admin-image-review.html) */
.status-pill--queued { background: #fbeed4; color: #8a5a12; }
.status-pill--muted { background: var(--paper); color: var(--muted); }

.filter-bar {
  display: grid;
  gap: 12px;
  margin-bottom: 10px;
  padding: 13px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.filter-field { display: grid; gap: 6px; }
.filter-field[hidden] { display: none; }
.filter-field--search { grid-column: 1 / -1; }
.filter-field--search .search-control { min-height: 44px; }
.filter-field--search .search-control button { min-height: 32px; padding: 0 12px; background: transparent; color: var(--muted); font-weight: 700; }
.filter-field label { font-size: 0.74rem; font-weight: 750; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.filter-field select {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
}
.filter-toggles { display: flex; flex-wrap: wrap; gap: 10px; }
.filter-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.84rem;
  cursor: pointer;
}
.filter-toggle input { accent-color: var(--brand); }
.filter-reset { justify-self: start; }

/* "More filters" — Delivery/Carryout/Dine-in collapsed behind a
   disclosure instead of permanently occupying a row of their own; no
   JS needed for the toggle itself (native <details>), and its content
   stays in the DOM either way, so applyFilters()/applyClientFilters()
   read these checkboxes exactly the same whether the popover is open
   or closed. */
/* Deliberately NOT position:absolute — .filter-bar--compact needs
   overflow-x:auto for its horizontal scroll, and per the CSS Overflow
   spec a container with overflow-x set to anything but visible forces
   overflow-y to auto too, which would silently clip an absolutely-
   positioned popover taller than the row. Expanding in normal flow
   instead means the row itself just grows taller while open — nothing
   to clip, no JS positioning math needed. */
.filter-more { flex: 0 0 auto; align-self: start; }

/* Plain text link (Google's own "Tools" link is the reference point),
   not a pill button — .text-link already gives the underline/weight;
   this just adds the caret and vertical alignment against the Sort
   select next to it. */
.filter-more__toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 38px;
  background: none;
  border: 0;
  padding: 0;
  font-size: 0.84rem;
  cursor: pointer;
}
.filter-more__toggle::after { content: "▾"; font-size: 0.7em; transition: transform 180ms ease; }
.filter-more__toggle[aria-expanded="true"]::after { transform: rotate(180deg); }

/* Real <details> can't be animated (it toggles display:none/block
   internally, which CSS transitions can't touch) — this is a plain
   div, JS-toggled via .is-open (see js/search-results-view.js), so a
   genuine height/opacity transition works. Collapsed to 0 by default;
   grid-template-rows 0fr->1fr is the one reliable cross-browser way to
   animate to "auto" height without a fixed max-height guess — but it
   only collapses cleanly with a SINGLE grid item, since implicit rows
   (one per child, with no columns defined) stay auto-sized regardless
   of the explicit track's fr value. .filter-toggles__inner is that one
   item; it also owns the fields' actual flex/column layout. */
.filter-more .filter-toggles--more {
  display: grid;
  grid-template-rows: 0fr;
  width: max-content;
  margin-top: 0;
  border: 1px solid transparent;
  border-radius: var(--radius);
  opacity: 0;
  transition: grid-template-rows 220ms ease, opacity 180ms ease, margin-top 220ms ease;
}
.filter-more .filter-toggles--more.is-open {
  grid-template-rows: 1fr;
  margin-top: 8px;
  border-color: var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  opacity: 1;
}
.filter-more .filter-toggles--more .filter-toggles__inner {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 10px;
  min-height: 0;
  overflow: hidden;
  padding: 0 12px;
}
/* Desktop's `.filter-field:not(.filter-field--search) { flex: 0 0 150px }`
   (the old horizontal .filter-bar layout, >=1024px) isn't namespaced to
   .filter-bar, so it leaks in here and sets each field's flex-basis —
   i.e. HEIGHT, since this container is column-direction — to 150px.
   Needs to out-specificity that rule, not just out-order it (same
   specificity, and the media-query rule comes later in the file). */
.filter-more .filter-toggles__inner .filter-field { flex: 0 0 auto; width: auto; }
.filter-more .filter-toggles--more.is-open .filter-toggles__inner { padding: 10px 12px; }

/* Compact active-search filter row — the same .filter-bar form used to
   browse the curated 41, but always a single non-wrapping,
   horizontally-scrollable row regardless of breakpoint (mobile gets
   scrollable chips, desktop gets one compact tool-like bar), instead
   of the grid/flex stacking below used for browsing. */
.filter-bar--compact {
  display: flex;
  flex-wrap: nowrap;
  align-items: end;
  gap: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 10px 14px;
}
.filter-bar--compact::-webkit-scrollbar { display: none; }
.filter-bar--compact .filter-field { flex: 0 0 auto; width: 128px; }
.filter-bar--compact .filter-field label { font-size: 0.66rem; }
.filter-bar--compact .filter-field select { min-height: 38px; padding: 0 10px; font-size: 0.82rem; }
.filter-bar--compact .filter-toggles { flex: 0 0 auto; flex-wrap: nowrap; }
.filter-bar--compact .filter-reset { flex: 0 0 auto; white-space: nowrap; }

/* Desktop: search/filter container reads as a compact tool, not a
   full-width banner — capped width, left-aligned with the listings below
   it (which stay full width), search+category on one row, and Reset
   sitting inline with the last filter field rather than the toggles. */
@media (min-width: 1024px) {
  .filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    max-width: 850px;
  }
  .filter-field--search { flex: 0 1 500px; max-width: 520px; min-width: 450px; }
  .filter-field--search .search-control { width: 100%; }
  .filter-field:not(.filter-field--search) { flex: 0 0 150px; min-width: 0; }
  .filter-reset { order: 1; margin-left: 2px; align-self: end; }
  .filter-toggles { order: 2; flex-basis: 100%; }

  /* Re-assert the compact single-row layout at desktop — same
     specificity as the rules just above, source order breaks the tie
     in this block's favor, keeping .filter-bar--compact a real
     one-row tool at every width instead of reverting to the wrapped
     browse-mode layout above 1024px. */
  .filter-bar--compact {
    flex-wrap: nowrap;
    max-width: none;
  }
  .filter-bar--compact .filter-field:not(.filter-field--search) { flex: 0 0 auto; width: 128px; }
  .filter-bar--compact .filter-toggles { order: initial; flex-basis: auto; }
  .filter-bar--compact .filter-reset { order: initial; }
}

.results-count { margin-bottom: 14px; color: var(--muted); font-size: 0.85rem; }

/* ===================== Nationwide search results (Phase 0B) =====================
   One markup, one CSS ruleset — desktop reflows to a 2-column
   list+detail layout at the breakpoint below; narrower than that, the
   detail panel simply isn't shown and each list card carries its own
   full content, satisfying "single-column responsive cards" without a
   second render path. */
.nw-results { margin-bottom: 26px; }

/* Sort + Filters — the only controls between the search box and the
   results themselves, and only ever visible when .nw-results itself
   is (it's inside that section), so there's nothing to separately
   show/hide in JS as a search starts/ends. */
.nw-results__controls { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
.nw-sort {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}
.nw-results__controls .filter-more .filter-toggles--more { width: 200px; }
.nw-results__controls .filter-field select { min-height: 38px; padding: 0 10px; font-size: 0.85rem; }

.nw-results__ai {
  margin: 0 0 16px;
  padding: 14px 16px 14px 44px;
  position: relative;
  border-radius: 12px;
  background: linear-gradient(135deg, #f3ecff, #eef6ff 60%);
  border: 1px solid #dfd6f7;
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.55;
}
.nw-results__ai::before {
  content: "✦";
  position: absolute;
  left: 14px;
  top: 14px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c5cff, #4f9dff);
  color: white;
  font-size: 0.72rem;
}
.nw-results__meta { margin: 0 0 14px; color: var(--muted); font-size: 0.85rem; }

/* 2026-09-04 Find Pizza results correction: the backend's own honest
   "no confirmed style matches" message (styleMatchSummary.message) —
   never a client-invented string. A left accent, not the full
   .empty-state card treatment, since unconfirmed nearby results (if
   any) still render below it — this is a notice, not necessarily an
   empty page. */
.nw-results__style-notice {
  margin: 0 0 16px;
  padding: 12px 16px;
  border-left: 3px solid var(--brand);
  background: var(--paper);
  border-radius: 0 10px 10px 0;
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Confirmed vs. unconfirmed section labels — plain, quiet headings, not
   competing visually with the card content below them. */
.nw-results__section-heading {
  margin: 4px 0 10px;
  font-size: 0.78rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.nw-results__lists > .nw-results__list + .nw-results__section-heading { margin-top: 22px; }

.nw-results__layout { display: grid; gap: 16px; }

.nw-results__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.nw-card {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  width: 100%;
}
.nw-card:hover, .nw-card:focus-visible { border-color: var(--ink); }
.nw-card.is-selected { border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink); }
/* Grid items default to min-width: auto, so without this the
   nowrap+ellipsis .nw-card__known-for sentence below forces this
   column to its full unwrapped text width instead of the 1fr track —
   ballooning the whole card (and on mobile, the page's layout
   viewport) past the actual container width. */
.nw-card__body { min-width: 0; }
/* Large thumbnail-first, per the photography-forward redesign — a
   real photo should read as the card's lead element, not a small
   avatar tucked beside the text. */
.nw-card__media {
  width: 108px; height: 108px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--paper);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--muted);
  overflow: hidden;
}
.nw-card__media--photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nw-card__top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 12px; }
.nw-card__top h3 { margin: 0; font-size: 1.02rem; }
/* Real Pizza1-native fact (a structured pizza_styles join — never a
   Google category, never inferred) shown as the FIRST thing under the
   name, ahead of the generic rating/price/distance line — this is the
   one piece of information a generic map search can't tell you, so it
   gets the brand's own signature color instead of a quiet neutral pill.
   Omitted entirely (zero layout cost) when a place has no real style
   evidence — never a fabricated or inferred style. */
.nw-card__styles { display: flex; flex-wrap: wrap; gap: 5px; margin: 4px 0 0; }
/* Compound selector (.style-pill.style-pill--accent), not a bare
   modifier class, specifically so this wins over the later-declared
   base .style-pill rule (marketplace/business-card's quiet neutral
   pill, further down this file) regardless of source order — equal-
   specificity single-class selectors would otherwise let whichever
   rule appears LAST in the file silently win, which is exactly the
   bug this compound selector avoids. */
.style-pill.style-pill--accent {
  padding: 3px 10px;
  border: none;
  border-radius: 999px;
  background: var(--brand);
  color: #fff9f2;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.01em;
}
.nw-card__meta { margin: 5px 0 4px; display: flex; flex-wrap: wrap; align-items: center; gap: 5px 8px; color: var(--muted); font-size: 0.82rem; }
.nw-card__meta .rating { color: var(--ink); font-weight: 750; }
/* One-line "Known For" / featured pie — the emotional hook each card
   leads with beneath the facts, per the redesign spec. Clamped to one
   line (ellipsis) so a long editorial sentence never breaks the
   card's compact rhythm. Warmed from plain --ink to --brand-dark so it
   reads as Pizza1's own editorial voice, not a second meta line. */
.nw-card__known-for {
  margin: 0 0 6px;
  color: var(--brand-dark);
  font-size: 0.87rem;
  font-weight: 600;
  font-style: italic;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nw-card__badges { display: flex; flex-wrap: wrap; gap: 5px; }
.nw-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 8px; border-radius: 999px;
  font-size: 0.68rem; font-weight: 750;
}
.nw-badge--verified { background: #f6ecda; color: #a8681f; }
.nw-badge--nationwide { background: var(--paper); color: var(--muted); border: 1px solid var(--line); }
.nw-badge--depth { background: #e3f0ee; color: #0e6b64; }
.nw-badge--open { background: #e5f4e6; color: #1c7a30; }
.nw-badge--closed { background: #fbeaea; color: #a3312a; }
/* Real, factual pills only shown when true for that specific place
   (family_owned/founded_year/wood_fired/neighborhood_favorite — see
   db/migrate/0002_photos_and_facts_backfill.sql) — one shared, quiet
   style so they read as facts, not alerts. */
.nw-badge--family, .nw-badge--since, .nw-badge--wood, .nw-badge--favorite {
  background: var(--paper); color: var(--ink); border: 1px solid var(--line);
}

.nw-results__detail {
  display: none;   /* mobile: each .nw-card already carries full detail inline — see js/search-results-view.js */
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  align-self: start;
}
/* Lead with a large hero image — a premium business profile, not a
   placeholder card with a small thumbnail bolted on. */
.nw-detail__media { margin: -20px -20px 16px; }
.nw-detail__media .nw-card__media { width: 100%; height: 240px; border-radius: 0; font-size: 2.2rem; }
/* Required alongside any Google-supplied photo per Google's Places API
   terms — quiet by design (small, muted, right-aligned under the hero
   image) so it reads as a credit line, not UI chrome. */
.nw-detail__photo-credit { margin: -12px 0 12px; font-size: 0.7rem; color: var(--muted); text-align: right; }
.nw-detail__photo-credit a { color: inherit; text-underline-offset: 2px; }
.google-maps-attribution {
  display: inline-flex;
  align-items: center;
  padding: 10px 10px 5px;
  margin: 4px 0 0;
  border-radius: 8px;
  background: #fff;
  line-height: 1;
}
.google-maps-attribution img { display: block; width: 98px; height: 18px; }
.google-maps-attribution__fallback { color: #5f6368; font-size: 0.86rem; font-weight: 700; letter-spacing: 0.01em; }
.google-maps-attribution--compact { margin-top: 4px; }
.nw-detail h3 { margin: 0 0 6px; font-size: 1.25rem; }
.nw-detail__rating, .nw-detail__location { margin: 0 0 8px; font-size: 0.9rem; color: var(--muted); }
.nw-detail__rating .rating { color: var(--ink); font-weight: 750; }
.nw-detail__body .nw-card__badges { margin: 10px 0; }
.nw-detail__fact { margin: 12px 0; font-size: 0.92rem; line-height: 1.5; }
.nw-detail__fact p { margin: 2px 0 0; }
.nw-detail__facts { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 12px 0; }
.nw-detail__fact-label { display: block; color: var(--muted); font-size: 0.68rem; font-weight: 750; text-transform: uppercase; letter-spacing: 0.05em; }
.nw-detail__summary { margin: 14px 0; padding: 12px 14px; background: var(--paper); border-radius: 10px; }
.nw-detail__summary p { margin: 4px 0 0; font-size: 0.9rem; line-height: 1.5; }
.nw-detail__links { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.nw-detail__links a { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.82rem; font-weight: 700; color: var(--ink); text-decoration: none; }
.nw-detail__links a:hover { border-color: var(--ink); }
.nw-detail__alternatives { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.nw-detail__alternatives h4 { margin: 0 0 8px; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.nw-detail__alt-item { display: block; padding: 6px 0; color: var(--ink); text-decoration: none; font-size: 0.88rem; }
.nw-detail__alt-item:hover { text-decoration: underline; }

/* Desktop: real 2-column list+detail. Below this width, the detail
   panel is skipped entirely and each .nw-card is expected to carry its
   own full detail inline (see js/search-results-view.js). */
@media (min-width: 900px) {
  .nw-results__layout { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; }
  .nw-results__list { max-height: 78vh; overflow-y: auto; padding-right: 4px; }
  .nw-results__detail { display: block; position: sticky; top: 90px; }
  .nw-results__detail:empty { display: none; }
  /* Desktop list items are compact — full detail lives in the panel. */
  .nw-card .nw-card__full { display: none; }
}
@media (max-width: 899.98px) {
  /* Mobile cards ARE the detail — no separate panel to open. */
  .nw-card__full { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
}

/* place.html — same box styling as .nw-results__detail (the search
   sidebar this markup normally lives in), but always visible at every
   width: place.html has no card-carries-its-own-detail mobile fallback
   to switch to, since it's a single standalone place, not a list. */
.place-detail-card {
  max-width: 640px;
  margin: 18px auto 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.place-detail-card:empty { display: none; }

/* Shared public legal footer, inserted by js/site-header.js on public
   pages only. Admin/internal pages opt out with data-nav="false". */
.site-footer {
  margin-top: 48px;
  padding: 24px max(20px, calc((100vw - 1180px) / 2));
  border-top: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.78rem;
}
.site-footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; }
.site-footer p { margin: 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.site-footer a { color: var(--ink); text-underline-offset: 3px; }

/* Static third-party content/IP disclaimer — appears once, near the
   bottom of the page, below the search/results interface. Deliberately
   plain: no border box, no background, no modal — small muted text
   only, consistent with .location-privacy-note below. */
.third-party-disclaimer {
  width: min(100% - 32px, 1180px);
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.55;
}
.third-party-disclaimer strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-weight: 700;
}

.location-privacy-note {
  max-width: 720px;
  margin: 10px auto 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
  text-align: center;
}

.legal-page { max-width: 820px; margin: 0 auto; padding: 40px 20px 72px; }
.legal-page h1 { margin-bottom: 8px; }
.legal-page__updated { margin: 0 0 28px; color: var(--muted); }
.legal-page section { margin: 30px 0; }
.legal-page h2 { margin-bottom: 10px; font-size: 1.25rem; }
.legal-page h3 { margin: 20px 0 8px; font-size: 1rem; }
.legal-page p, .legal-page li { line-height: 1.65; }
.legal-page ul { padding-left: 1.25rem; }
.legal-page a { text-underline-offset: 3px; }

.business-grid { display: grid; gap: 16px; padding-bottom: 8px; }
.business-grid[hidden] { display: none; }

.business-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.business-card:hover { border-color: #c8beb4; box-shadow: 0 20px 46px rgba(43, 34, 28, 0.12); transform: translateY(-3px); }
.business-card:active { transform: translateY(-1px) scale(0.995); }
.business-card[hidden] { display: none; }

.business-card__media { position: relative; aspect-ratio: 4 / 3; background: var(--paper); }
.business-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.business-card__media .photo-placeholder { position: absolute; inset: 0; }

/* Editorial fallback card — shown whenever a listing's real photo cannot
   be confidently verified. Deterministic variants (assigned by list
   position, see the `variant` argument each page's card-render function
   passes in) so adjacent cards on the same page don't look identical.
   No cartoon pizza, no giant food illustration — just a restrained
   textured surface, a small line icon, and understated location/category
   text. Textures here are CSS-approximated (gradients/dot patterns), not
   photography — the real texture photography in the Visual Asset Library
   (flour-on-dark-stone, etc.) isn't approved yet; this reuses the site's
   existing palette instead of inventing/faking approved imagery. */
.photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 100%;
  background: linear-gradient(155deg, #f3ece0, var(--paper) 75%);
}
.photo-placeholder[hidden] { display: none; }
.photo-placeholder__icon { width: 34px; height: 34px; opacity: 0.8; }
.photo-placeholder__icon svg { width: 100%; height: 100%; display: block; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.photo-placeholder__label {
  margin: 0;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  padding: 0 14px;
}
.featured-pizzeria__media .photo-placeholder__icon,
.business-modal__media .photo-placeholder__icon { width: 48px; height: 48px; }
.featured-pizzeria__media .photo-placeholder__label,
.business-modal__media .photo-placeholder__label { font-size: 0.76rem; }

/* Variant 1 — charcoal, storefront silhouette */
.photo-placeholder--v1 { background: linear-gradient(155deg, #322d28, #171412 78%); }
.photo-placeholder--v1 .photo-placeholder__icon { color: #d9a94a; opacity: 0.85; }
.photo-placeholder--v1 .photo-placeholder__label { color: #cfc6ba; }

/* Variant 2 — warm cream, oven peel */
.photo-placeholder--v2 { background: linear-gradient(155deg, #f3ece0, #e7dcc7 82%); }
.photo-placeholder--v2 .photo-placeholder__icon { color: #8f5a34; }
.photo-placeholder--v2 .photo-placeholder__label { color: var(--muted); }

/* Variant 3 — muted terracotta/charcoal, exterior window */
.photo-placeholder--v3 { background: linear-gradient(155deg, #4a332c, #241d19 82%); }
.photo-placeholder--v3 .photo-placeholder__icon { color: #e2b877; opacity: 0.85; }
.photo-placeholder--v3 .photo-placeholder__label { color: #d8cabc; }

/* Variant 4 — dark stone with a subtle flour-dust dot texture */
.photo-placeholder--v4 {
  background-color: #262220;
  background-image:
    radial-gradient(circle at 18% 28%, rgba(247,244,239,0.16) 0 1.5px, transparent 1.6px),
    radial-gradient(circle at 62% 15%, rgba(247,244,239,0.12) 0 1px, transparent 1.1px),
    radial-gradient(circle at 40% 62%, rgba(247,244,239,0.14) 0 1.5px, transparent 1.6px),
    radial-gradient(circle at 80% 70%, rgba(247,244,239,0.10) 0 1px, transparent 1.1px),
    radial-gradient(circle at 25% 85%, rgba(247,244,239,0.13) 0 1.5px, transparent 1.6px),
    linear-gradient(155deg, #322c27, #201c19 82%);
  background-size: 60px 60px, 70px 70px, 80px 80px, 55px 55px, 65px 65px, 100% 100%;
}
.photo-placeholder--v4 .photo-placeholder__label { color: #cfc6ba; }

/* Approved cover photo + required attribution — only rendered once verifiedBusinessMatch
   and approvedAsCover are both true (see js/businesses.js applyCoverImage). */
.cover-image { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Business logo — the fallback tier between a real photo and the editorial
   placeholder (see applyCoverImage). Shown at its natural aspect ratio,
   never cropped/stretched like a cover photo, on the placeholder's own
   background so a non-square logo still fills the card sensibly. */
.cover-logo {
  position: absolute;
  inset: 0;
  width: 60%;
  height: 60%;
  margin: auto;
  object-fit: contain;
  display: block;
}
.image-attribution {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 1;
  margin: 0;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(23, 20, 18, 0.55);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.62rem;
}

/* Candidate photo — admin-image-review.html only. Deliberately distinct from
   .cover-image: a candidate is unreviewed and must never appear on the public
   site until a human approves it (see js/admin-image-review.js). */
.candidate-image { width: 100%; height: 100%; object-fit: cover; display: block; }
.candidate-badge {
  position: absolute;
  left: 8px;
  top: 8px;
  z-index: 1;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(23, 20, 18, 0.72);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.price-badge {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(23, 20, 18, 0.72);
  color: white;
  font-size: 0.72rem;
  font-weight: 800;
}
.deal-badge {
  position: absolute;
  right: 10px;
  top: 10px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--brand);
  color: white;
  font-size: 0.72rem;
  font-weight: 800;
}
.modal-deals { display: grid; gap: 10px; margin: 4px 0; }
.modal-deals__item {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}
.modal-deals__item p { margin: 2px 0 0; font-size: 0.86rem; color: var(--muted); }
.modal-deals__item h4 { margin: 0; font-size: 0.94rem; }

/* Admin deal manager (admin-image-review.html) */
.deals-manager { margin-top: 20px; }
.deals-manager__list { display: grid; gap: 10px; margin: 14px 0; padding: 0; list-style: none; }
.deals-manager__list li {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.deals-manager__list li[data-deal-inactive] { opacity: 0.6; }
.deals-manager__list h4 { margin: 0 0 2px; font-size: 0.94rem; }
.deals-manager__list p { margin: 0; font-size: 0.82rem; color: var(--muted); }
.deals-manager__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.deals-manager__form { display: grid; gap: 12px; margin: 14px 0; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.deals-manager__days { display: flex; flex-wrap: wrap; gap: 10px; border: 0; padding: 0; margin: 0; }
.deals-manager__days legend { font-size: 0.74rem; font-weight: 750; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; width: 100%; }
.deals-manager__days label { display: inline-flex; align-items: center; gap: 5px; font-size: 0.85rem; }

.favorite-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  cursor: pointer;
}
.favorite-btn svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.favorite-btn[aria-pressed="true"] { color: var(--brand); border-color: var(--brand); }
.favorite-btn[aria-pressed="true"] svg { fill: var(--brand); }
.business-card > .favorite-btn {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
}
.business-card .card-link::after { z-index: 1; }

.business-card__body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 18px; }
.business-card__title-row { display: flex; align-items: flex-start; gap: 10px; }
.business-card__logo {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eee6dc;
  color: var(--brand-dark);
  font-size: 0.68rem;
  font-weight: 850;
}
.business-card__title-row h3 { margin-bottom: 2px; font-size: 1.08rem; line-height: 1.2; }
.business-card__address { margin: 0; color: var(--muted); font-size: 0.78rem; }
.business-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 0.85rem; }
.business-card__styles { display: flex; flex-wrap: wrap; gap: 6px; }
.style-pill {
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
}
.business-card__description { flex: 1; margin: 0; color: var(--muted); font-size: 0.88rem; line-height: 1.42; }
.business-card__specialty { margin: 0; font-size: 0.84rem; }
.business-card__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-pill {
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.64rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.business-card__cta { position: relative; z-index: 1; margin-top: 6px; width: 100%; }

/* Shared across every listing page (creators/businesses/marketplace/
   recipes/community/place/styles) — was bare centered text with no
   visual weight, easy to mistake for an unstyled placeholder. Now uses
   the same surface/border/shadow language as every card on the site,
   so "nothing found" reads as a real, designed state instead of a stub. */
.empty-state {
  margin: 8px 0 0;
  padding: 36px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: center;
}

/* Loading skeleton — shown the instant a search is submitted, before
   the response arrives, so the results area never sits visually
   "frozen" while api/search.php's live provider fan-out runs. Same
   card grid/dimensions as real .nw-card results so there's no layout
   jump when real cards replace it. */
.nw-skeleton-card {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.nw-skeleton-body { display: grid; gap: 9px; align-content: start; padding-top: 6px; }
.nw-skeleton-media, .nw-skeleton-line {
  border-radius: 8px;
  background: linear-gradient(90deg, var(--paper) 25%, #ecdfc9 37%, var(--paper) 63%);
  background-size: 400px 100%;
  animation: nw-shimmer 1.4s ease-in-out infinite;
}
.nw-skeleton-media { width: 108px; height: 108px; border-radius: 12px; }
.nw-skeleton-line { height: 11px; border-radius: 6px; }
.nw-skeleton-line--title { width: 58%; height: 14px; }
.nw-skeleton-line--styles { width: 30%; height: 16px; border-radius: 999px; }
.nw-skeleton-line--meta { width: 82%; }
.nw-skeleton-line--text { width: 44%; }
@keyframes nw-shimmer {
  0% { background-position: -200px 0; }
  100% { background-position: calc(200px + 100%) 0; }
}
@media (prefers-reduced-motion: reduce) {
  .nw-skeleton-media, .nw-skeleton-line { animation: none; }
}

.business-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 20px;
}
.business-modal[hidden] { display: none; }
.business-modal__backdrop { position: absolute; inset: 0; background: rgba(23, 20, 18, 0.55); }
.business-modal__panel {
  position: relative;
  width: min(100%, 620px);
  max-height: min(88vh, 780px);
  overflow-y: auto;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 30px 70px rgba(23, 20, 18, 0.35);
}
.business-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  cursor: pointer;
}
.business-modal__close svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.business-modal__media { position: relative; }
.business-modal__media img { display: block; width: 100%; height: 220px; object-fit: cover; }
.business-modal__media .photo-placeholder { height: 220px; }
.business-modal__body { padding: 24px; display: grid; gap: 10px; }
.business-modal__body h2 { margin-bottom: 0; font-size: 1.5rem; }
.business-modal__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: 0.88rem; }
.business-modal__address { margin: 0; color: var(--muted); }

@media (min-width: 680px) {
  .featured-pizzeria { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
  .featured-pizzeria__media img,
  .featured-pizzeria__media .photo-placeholder { height: 100%; min-height: 280px; }
  .filter-bar { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; }
  .filter-toggles { grid-column: 1 / -1; }
  .business-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .business-modal__media img,
  .business-modal__media .photo-placeholder { height: 260px; }
}

@media (min-width: 1024px) {
  .business-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Marketplace entity pages (Phase 2 — indexable vendor/product/
   ingredient/category pages, docs/MARKETPLACE-ARCHITECTURE.md). Reuses
   .hero-shell/.breadcrumb/.tag-pill/.business-card from the rest of
   the site; these are the few page-specific pieces (spec table,
   related-links sections, provenance/outbound-link notes) with no
   existing equivalent. */
.mp-summary { max-width: 68ch; font-size: 1.02rem; line-height: 1.5; color: var(--ink); }
.mp-spec-table { width: 100%; max-width: 560px; margin: 18px 0; border-collapse: collapse; }
.mp-spec-table th, .mp-spec-table td { text-align: left; padding: 8px 12px; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.mp-spec-table th { width: 40%; color: var(--muted); font-weight: 700; }
.mp-outbound { margin: 18px 0; }
.mp-outbound-note { margin-top: 6px; color: var(--muted); font-size: 0.82rem; }
.mp-related { margin: 28px 0; }
.mp-related h2 { font-size: 1.1rem; margin-bottom: 10px; }
.mp-related__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.mp-related__list li { font-size: 0.94rem; }
.mp-related__meta { color: var(--muted); font-size: 0.82rem; }
.mp-provenance { margin: 24px 0 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--muted); font-size: 0.82rem; }
.mp-tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
