/* Ipostlocal — Syne + Figtree + sage. Official logo assets live in /brand. */
:root {
  --sage: #6a8c6c;
  --sage-dark: #547456;
  --sage-deep: #3f5a42;
  --sage-light: #dfeae1;
  --sage-mist: #eef3ef;
  --ink: #1a1f1c;
  --charcoal: #1a1f1c;
  --charcoal-soft: #2c342f;
  --muted: #6b756e;
  --line: #d5ddd7;
  --bg: #f6f8f6;
  --paper: #ffffff;
  --accent: #6a8c6c;
  --accent-soft: #eef3ef;
  --live: #2f6b45;
  --ending: #b45309;
  --danger: #8a3030;
  --sans: "Figtree", system-ui, sans-serif;
  --display: "Syne", system-ui, sans-serif;
  /* Clear tabular price figures — not display/Syne */
  --price: "Source Sans 3", "Figtree", system-ui, sans-serif;
  --radius: 16px;
  --radius-sm: 12px;
  --radius-card: 14px;
  --shadow: 0 12px 40px rgba(26, 31, 28, 0.08);
  --shadow-sm: 0 4px 16px rgba(26, 31, 28, 0.06);
  --ease-rise: cubic-bezier(0.22, 1, 0.36, 1);
  --motion-rise: 420ms var(--ease-rise);
  --touch: 44px;
  --h1: clamp(2.4rem, 5.5vw, 3.75rem);
  --h2: clamp(1.6rem, 3vw, 2.15rem);
  --lede: 1.125rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  overflow-x: clip;
  max-width: 100%;
}
body.has-tabbar { padding-bottom: 72px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, .card strong { font-family: var(--display); font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: var(--h1); line-height: 1.05; }
h2 { font-size: var(--h2); line-height: 1.15; }
:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(760px, calc(100% - 40px)); margin-left: auto; margin-right: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.muted { color: var(--muted); }
.deck { max-width: 40rem; color: var(--muted); font-size: var(--lede); }
.eyebrow { margin: 0 0 6px; color: var(--sage-dark); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.kicker { margin: 0 0 8px; color: var(--sage-dark); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.flash-wrap { padding-top: 16px; }
.toast-host {
  position: fixed; right: 16px; bottom: calc(18px + env(safe-area-inset-bottom));
  z-index: 80; display: grid; gap: 8px; pointer-events: none;
  width: min(360px, calc(100vw - 28px));
}
.toast {
  pointer-events: auto;
  padding: 12px 14px; border-radius: 14px;
  background: #16331f; color: #f4faf5;
  box-shadow: 0 12px 28px rgba(22, 51, 31, .28);
  font-weight: 600; font-size: 14px; line-height: 1.35;
  opacity: 0; transform: translateY(10px);
  transition: opacity .22s ease, transform .22s ease;
}
.toast.ok { border: 1px solid rgba(201, 236, 212, .35); }
.toast.is-in { opacity: 1; transform: translateY(0); }
.toast.is-out { opacity: 0; transform: translateY(8px); }
.toast-share { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 0; }
.toast-action {
  color: #c9ecd4;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.toast-action:hover { color: #fff; }
.msg-sent-banner { margin: 8px 0 12px; }
@media (max-width: 980px) {
  .toast-host { bottom: calc(88px + env(safe-area-inset-bottom)); left: 14px; right: 14px; width: auto; }
}

/* Skip + motion */
.skip-link {
  position: fixed; left: -9999px; top: 1rem; z-index: 100;
  background: var(--charcoal); color: #fff; padding: .55rem .9rem;
  border-radius: 10px; font-weight: 600;
}
.skip-link:focus, .skip-link:focus-visible { left: 1rem; }
@keyframes ipl-page-rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
/* First-section scroll reveal only — no whole-page cascade.
   CSS animation completes without JS so wire:navigate never leaves main at opacity:0. */
.page-rise > main > *:not(.hero) { animation: none; }
@keyframes ipl-reveal-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
.ipl-reveal {
  opacity: 1; transform: none;
  animation: ipl-reveal-in 420ms var(--ease-rise) both;
}
.ipl-reveal.is-in {
  animation: none;
  opacity: 1; transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .ipl-reveal { opacity: 1; transform: none; animation: none; transition: none; }
  .path-tile, .hero-photo, .live-track { animation: none !important; }
}

/* Nav — fixed chrome height so remounts / auth swap don't jump */
.site-nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(246, 248, 246, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  min-height: 56px;
  contain: layout style;
}
.site-nav.is-hero {
  position: absolute; left: 0; right: 0;
  background: transparent; border-bottom: 0;
}
.nav-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto; min-height: 56px; height: 56px;
  display: flex; align-items: center; gap: 14px;
  padding: 0;
  box-sizing: border-box;
}
.brand { display: inline-flex; align-items: center; flex-shrink: 0; line-height: 0; }
.brand-lockup {
  position: relative; display: block;
  width: auto; height: 28px; max-height: 28px;
}
.brand-img {
  display: block; height: 28px; max-height: 28px;
  width: auto; max-width: 9.5rem;
  object-fit: contain; object-position: left center;
}
.brand-img-on-dark { display: none; }
.brand-img-on-light { display: block; }
.site-nav.is-hero .brand-img-on-dark { display: block; }
.site-nav.is-hero .brand-img-on-light { display: none; }
.nav-links { display: flex; gap: 4px; align-items: center; margin-left: auto; }
.nav-links a {
  padding: 8px 12px; border-radius: 999px;
  color: var(--charcoal-soft); font-weight: 600; font-size: 15px; white-space: nowrap;
}
.site-nav.is-hero .nav-links a { color: rgba(255,255,255,.92); }
.nav-links a:hover, .nav-links a.on { background: var(--sage-mist); color: var(--sage-deep); }
.site-nav.is-hero .nav-links a:hover,
.site-nav.is-hero .nav-links a.on { background: rgba(255,255,255,.14); color: #fff; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-text { font-weight: 600; font-size: 14px; padding: 6px 8px; }
.site-nav.is-hero .nav-text { color: #fff; }
.nav-account { position: relative; }
.nav-account > summary {
  list-style: none; cursor: pointer; font-weight: 600; font-size: 14px; padding: 6px 8px;
}
.nav-account > summary::-webkit-details-marker { display: none; }
.nav-account-menu {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 40;
  min-width: 180px; padding: 8px; border-radius: 12px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  display: grid; gap: 2px;
}
.nav-account-menu a, .nav-account-menu button {
  display: block; width: 100%; text-align: left; padding: 8px 10px;
  border: 0; border-radius: 8px; background: transparent; font: inherit; font-weight: 600;
  color: var(--ink); cursor: pointer; text-decoration: none;
}
.nav-account-menu a:hover, .nav-account-menu button:hover { background: var(--sage-mist); }
.site-nav.is-hero .nav-account-menu { color: var(--ink); }
.drawer-label {
  margin: 10px 10px 0; font-size: 11px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted);
}
.drawer-logout {
  display: block; width: 100%; text-align: left; padding: 12px 10px;
  border: 0; border-radius: 12px; background: transparent; font: inherit; font-weight: 600;
  cursor: pointer;
}
.drawer-logout:hover { background: var(--sage-mist); }
.icon-btn {
  width: var(--touch); height: var(--touch); min-width: var(--touch);
  display: inline-grid; place-items: center;
  border: 0; background: transparent; border-radius: 999px;
  color: inherit; cursor: pointer;
  transition: transform 160ms var(--ease-rise), background 160ms ease;
}
.icon-btn:hover { background: rgba(106, 140, 108, .12); }
.icon-btn:active { transform: scale(.94); }
.icon-btn svg { width: 22px; height: 22px; }
.site-nav.is-hero .icon-btn { color: #fff; }
.menu-toggle { display: none; }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 4px 6px 10px; margin-bottom: 4px;
  border-bottom: 1px solid var(--line);
}
.drawer-post {
  background: var(--sage-mist); color: var(--sage-deep) !important;
  font-weight: 700;
}
.mobile-drawer a.on { background: var(--sage-mist); color: var(--sage-deep); }
.mobile-drawer {
  display: none; flex-direction: column; gap: 4px;
  padding: 12px 20px 18px; background: #fff; border-bottom: 1px solid var(--line);
}
.mobile-drawer a { padding: 12px 10px; font-weight: 600; border-radius: 12px; }
.mobile-drawer a:hover { background: var(--sage-mist); }
body.nav-open .mobile-drawer { display: flex; }

/* Place chip (location picker) — closed: compact “City, ST”; open panel holds controls */
.loc {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  max-width: min(48vw, 12.5rem);
  min-width: 0;
}
.loc-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 36px;
  max-width: 100%;
  margin: 0;
  padding: 5px 10px 5px 8px;
  border: 1px solid rgba(26,31,28,.12);
  border-radius: 10px;
  background: var(--sage-mist);
  color: var(--sage-deep);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  box-sizing: border-box;
}
.site-nav.is-hero .loc-trigger {
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.28);
  color: #fff;
}
.loc.is-open .loc-trigger,
.loc-trigger:hover {
  background: #fff;
  border-color: rgba(26,31,28,.14);
  color: var(--sage-deep);
  box-shadow: 0 1px 0 rgba(26,31,28,.04);
}
.site-nav.is-hero .loc.is-open .loc-trigger,
.site-nav.is-hero .loc-trigger:hover {
  background: #f6f8f6;
  border-color: rgba(26,31,28,.18);
  color: #1a1f1c;
}
.loc-pin, .loc-chevron { flex: 0 0 auto; opacity: .9; }
.loc-chevron { transition: transform 180ms ease; }
.loc.is-open .loc-chevron { transform: rotate(180deg); }
.loc-summary {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.loc-panel {
  position: absolute; z-index: 40;
  top: calc(100% + 8px); right: 0;
  width: min(280px, calc(100vw - 24px));
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
  color: var(--ink);
}
.loc-panel[hidden] { display: none !important; }
.loc-panel-row + .loc-panel-row { margin-top: 10px; }
.loc-field { display: grid; gap: 4px; }
.loc-field-label {
  font-size: 11px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--sage-dark);
}
.loc-select,
.loc-city-input {
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--sage-mist);
  color: var(--ink);
  font: inherit;
  font-size: 16px; /* iOS: avoid input zoom */
  font-weight: 600;
  line-height: 1.2;
  -webkit-appearance: none;
  appearance: none;
}
.loc-select {
  padding-right: 2rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%233f5a42' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-color: var(--sage-mist);
}
.loc-select:focus,
.loc-city-input:focus {
  outline: 2px solid var(--sage);
  outline-offset: 1px;
  background-color: #fff;
}
.loc-results {
  margin-top: 10px;
  max-height: 220px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.loc-results button {
  display: block; width: 100%; text-align: left; border: 0; background: transparent;
  border-radius: 0; padding: 12px 12px; font-weight: 650; cursor: pointer;
  color: var(--ink); border-bottom: 1px solid var(--line);
  min-height: var(--touch);
}
.loc-results button:last-child { border-bottom: 0; }
.loc-results button:hover,
.loc-results button:focus-visible { background: var(--sage-mist); }
.loc-hint, .loc-empty {
  margin: 10px 0 0; font-size: 13px; color: var(--muted); line-height: 1.35;
}

/* Buttons — one height language */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 999px; padding: 12px 18px;
  min-height: var(--touch); min-width: var(--touch);
  background: var(--sage); color: #fff; font-weight: 700; cursor: pointer;
  transition: transform 280ms var(--ease-rise), background 200ms ease, box-shadow 200ms ease;
}
.btn:hover { background: var(--sage-dark); }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--sage); color: #fff; }
.btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.75); }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-soft { background: var(--sage-mist); color: var(--sage-deep); }
.btn-soft:hover { background: var(--sage-light); }
.btn-on-dark { background: #fff; color: var(--sage-deep); }
.btn.ghost, .btn.light { background: #fff; color: var(--sage-deep); border: 1px solid var(--line); }
.btn.light { border: 0; }
.btn.light:hover, .btn.ghost:hover { background: var(--sage-mist); }
.btn-sm { padding: 8px 14px; font-size: 14px; min-height: 40px; }

/* Home hero */
.page-home .site-nav.is-hero { border-bottom: 0; }
.hero.hero-mock {
  position: relative; min-height: min(88vh, 720px); margin: 0; border-radius: 0;
  overflow: hidden; display: grid; align-items: end; background: #2c342f;
}
.hero-photo {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 40%;
  transform: scale(1.02);
  animation: hero-drift 18s var(--ease-rise) infinite alternate;
}
.hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(26,31,28,.55) 0%, rgba(26,31,28,.18) 48%, rgba(26,31,28,.35) 100%),
    linear-gradient(180deg, rgba(26,31,28,.28) 0%, rgba(26,31,28,.22) 35%, rgba(26,31,28,.78) 100%);
}
.hero-content {
  position: relative; z-index: 1;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto; padding: 120px 0 56px; color: #fff;
}
.hero-content h1 {
  margin: 0; max-width: 14ch;
  font-size: clamp(42px, 7vw, 72px); line-height: 1.02;
  text-shadow: 0 8px 40px rgba(0,0,0,.35);
}
.hero-content .lede {
  margin: 14px 0 0; max-width: 34rem;
  font-size: 1.15rem; color: rgba(255,255,255,.9);
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

/* Detail hero (lot / event) */
.lot-hero, .event-hero, .hero {
  position: relative; min-height: 340px; border-radius: var(--radius);
  overflow: hidden; margin-bottom: 14px; background: var(--charcoal-soft);
}
.lot-hero img, .event-hero img, .hero img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0;
}
.hero .letter, .lot-hero .letter {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 120px; color: #fff;
}
.hero-copy {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 22px;
  background: linear-gradient(transparent, rgba(26, 31, 28, .72)); color: white;
}
.hero-copy h1 { margin: 6px 0; color: white; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.bid-sheet {
  position: sticky; top: 88px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow); display: grid; gap: 12px;
}
.bid-sheet .bid-now { font-family: var(--price); font-size: 1.75rem; font-weight: 700; }
.bid-sheet .status-live { color: var(--live); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.bid-sheet .status-ending { color: var(--ending); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.event-sheet {
  background: #fff; border-radius: 18px 18px 0 0; margin-top: -28px;
  position: relative; z-index: 2; padding: 28px 0 0;
}
/* Sticky overlays removed sitewide — use .in-card-control instead */
/* In-card controls — never a full-width overlay on lot grids */
.in-card-control { position: static; display: inline-flex; width: auto; pointer-events: auto; }
.event-hero-actions { margin-top: 16px; }
.event-hero-photo {
  min-height: 320px; margin: 0; border-radius: 0;
  background:
    linear-gradient(180deg, rgba(26,31,28,.25), rgba(26,31,28,.55)),
    url("/images/proto/cat-garage-sale.jpg") center / cover no-repeat;
  color: #fff;
}
.event-hero-inner { position: relative; z-index: 1; padding: 80px 0 48px; }
.event-hero-inner .eyebrow { color: var(--sage-light); }
.event-hero-inner h1 { margin: 0; color: #fff; font-size: clamp(1.85rem, 3.8vw, 2.65rem); }
.event-hero-meta { margin: 10px 0 0; color: rgba(255,255,255,.9); }
.event-main { border: 0; box-shadow: var(--shadow-sm); }
.map-empty {
  display: grid; place-items: center; min-height: 160px; padding: 18px;
  border-radius: 12px; background: var(--sage-mist, #eef3ee); color: var(--muted);
  text-align: center; font-size: 14px;
}
.owner-panel { /* was membership-panel */
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between;
  margin-top: 1rem; padding: 1rem 1.1rem; border-radius: 14px;
  background: linear-gradient(135deg, var(--sage-deep), #3f5a42);
  color: #fff;
}
.hero-brand-lockup { display: block; margin-bottom: 18px; }
.hero-brand-lockup img { height: 48px; width: auto; filter: drop-shadow(0 2px 12px rgba(0,0,0,.35)); }
.wire-loading { opacity: .55; pointer-events: none; transition: opacity .2s ease; }
.msg-time { font-size: 12px; color: var(--muted); }
.type-card:hover { transform: translateY(-2px); }
.type-card.is-selected, .type-card:focus-visible {
  outline: 2px solid var(--sage-deep); outline-offset: 2px;
}
.msg-bubble {
  padding: 10px 12px; margin: 0 0 10px; border-radius: 12px;
  background: var(--sage-mist, #eef3ee);
}
.msg-bubble.mine { background: #fff; border: 1px solid var(--line); }
.msg-bubble p { margin: 4px 0 0; }
.msg-meta { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.bid-sheet input:focus-visible,
.leaflet-container:focus-within {
  outline: 2px solid var(--sage); outline-offset: 2px;
}
.membership-panel {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between;
  margin-top: 1rem; padding: 1rem 1.1rem; border-radius: 14px;
  background: linear-gradient(135deg, var(--sage-deep), #3f5a42);
  color: #fff;
}
.card-boost {
  position: absolute; right: 10px; top: 10px; z-index: 2;
}
.photo, .sale-card-photo { position: relative; }
.boost-panel { margin-top: 10px; }
.boost-form { display: grid; gap: 10px; margin-top: 8px; }
.sale-card { display: flex; flex-direction: column; overflow: hidden; }
.sale-card-main { display: block; color: inherit; text-decoration: none; }
.sale-card-photo {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  background: var(--sage-mist, #eef3ee);
}
.sale-card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sale-card .body { padding: 12px 14px 8px; display: grid; gap: 4px; }
.sale-card-actions { padding: 0 12px 12px; }
.asking-price { margin: 4px 0; font-weight: 600; color: var(--sage-deep); }
button.linkish, .linkish {
  background: none; border: 0; padding: 0; color: var(--sage-deep);
  font: inherit; text-decoration: underline; cursor: pointer;
}
.lots-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; margin: 18px 0 10px; }
.lots-head h2 { margin: 0; font-size: 1.35rem; }
.lot-stack { gap: 18px; }
.reputation-signal {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin: 6px 0 10px; font-size: 13px;
}
.rep-pip {
  width: 8px; height: 8px; border-radius: 50%; background: var(--sage);
}
.rep-pip.is-ok { background: var(--live, var(--sage-deep)); }
.rep-pip.is-warn { background: var(--ending, #c2782f); }
.rep-pip.is-banned { background: #a33; }
.rep-label { font-weight: 700; color: var(--charcoal-soft); }
.rep-meta, .rep-inline { font-size: 12px; }
.deposit-stub {
  border: 1px dashed var(--line); border-radius: 12px;
  padding: 10px 12px; background: var(--sage-mist, #eef3ee);
}
.deposit-stub-title { margin: 0 0 4px; font-weight: 700; font-size: 13px; color: var(--sage-deep); }
.commitment-check { display: flex; gap: 8px; align-items: flex-start; }
.seller-win-actions {
  margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line);
}
.inline-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* Home body — one scroll rhythm */
.home-fresh-body { padding: 0 0 48px; background: linear-gradient(180deg, #eef3ef 0%, #f6f8f6 140px); }
.home-search-band { padding: 0; }
.live-ribbon {
  display: flex; align-items: center; gap: 10px; overflow: hidden;
  border-bottom: 1px solid var(--line); background: #fff; padding: 8px 0;
}
.live-ribbon:hover .live-track { animation-play-state: paused; }
.live-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--live);
  margin-left: 20px; flex: 0 0 auto;
  animation: pulse-dot 1.8s ease infinite;
}
.live-avatar {
  display: inline-block; width: 18px; height: 18px; border-radius: 50%;
  background: var(--sage-light); margin-right: 6px; vertical-align: -4px;
}
.live-track {
  display: flex; gap: 2.5rem; white-space: nowrap;
  animation: ribbon 28s linear infinite;
  font-size: 13px; font-weight: 600; color: var(--muted);
}
.fresh-head { padding: 22px 0 2px; text-align: center; }
.fresh-head h2 { margin: 0; }
.fresh-head p { color: var(--muted); margin: 6px auto 0; max-width: 32rem; font-size: 0.98rem; }
.path-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px; padding: 14px 0 18px;
}
.path-tile {
  border-radius: var(--radius-card); overflow: hidden; display: block;
  box-shadow: var(--shadow-sm);
  transition: transform 320ms var(--ease-rise), box-shadow 220ms ease;
}
.path-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.path-media { position: relative; aspect-ratio: 4 / 5; background: #2c342f; }
.path-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.path-cap {
  position: absolute; inset: auto 0 0 0; padding: 18px 16px; color: #fff;
  background: linear-gradient(transparent, rgba(26,31,28,.8));
  display: grid; gap: 2px;
}
.path-cap em { font-style: normal; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.path-cap strong { font-family: var(--display); font-size: 1.2rem; }
.path-cap span { font-size: 14px; opacity: .9; }
.spotlight {
  position: relative; overflow: hidden; min-height: 260px;
  margin: 6px auto 18px; display: grid; align-items: end;
  border-radius: 0;
}
.spotlight-sharp { border-radius: 0; }
.spotlight-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.spotlight-copy {
  position: relative; z-index: 1; color: #fff; padding: 24px 28px;
  background: linear-gradient(transparent, rgba(26,31,28,.78));
}
.spotlight-copy h3 { margin: 0 0 12px; font-size: clamp(22px, 3vw, 32px); max-width: 18ch; }
.fresh-join {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 0;
  border-radius: 16px; overflow: hidden; margin: 0 auto 22px;
  background: #2c342f; color: #fff; box-shadow: var(--shadow-sm);
}
.fresh-join-photo {
  min-height: 200px; background-size: cover; background-position: center 40%;
}
.fresh-join-copy { padding: 24px 28px; display: grid; align-content: center; gap: 6px; }
.fresh-join-copy .eyebrow { color: var(--sage-light); }
.fresh-join-copy h3 { margin: 0; font-size: clamp(22px, 3vw, 28px); }
.fresh-join-copy p { margin: 0; color: rgba(255,255,255,.86); font-size: 15px; }

/* Sections / cards */
.section { padding: 6px 0 18px; }
.section-head {
  display: flex; justify-content: space-between; gap: 16px;
  align-items: center; flex-wrap: wrap; margin-bottom: 12px;
}
.section-head h2 { margin: 0; font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
.section-head a { color: var(--sage-deep); font-weight: 700; font-size: 0.92rem; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card {
  background: white; border-radius: var(--radius-card); overflow: hidden;
  border: 1px solid var(--line); display: flex; flex-direction: column; min-height: 100%;
  box-shadow: none; transition: transform 280ms var(--ease-rise), box-shadow 200ms ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.card.shot:hover .photo img,
.listing-card:hover .photo img,
.sale-card:hover .sale-card-photo img {
  transform: scale(1.03);
}
.card .photo img,
.thumb-45 img,
.sale-card-photo img {
  transition: transform 420ms var(--ease-rise);
}
.card .photo, .ph, .thumb-45 {
  position: relative; aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, var(--sage-mist), #f7faf7);
  overflow: hidden;
}
.card .photo img, .thumb-45 img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.mark-photo { display: grid; place-items: center; }
.mark-photo .letter { display: none; }
.mark-photo::after {
  content: "Photo coming soon";
  font-family: var(--sans); font-size: 13px; font-weight: 600; color: var(--sage-deep);
}
.letter { font-family: var(--display); font-size: 72px; line-height: 1; color: white; }
.price-tag {
  position: absolute; left: 10px; bottom: 10px;
  background: rgba(255,255,255,.96); color: var(--ink); border-radius: 999px;
  padding: 6px 12px; font-family: var(--price); font-weight: 700;
  font-size: 1.05rem; letter-spacing: 0; line-height: 1;
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
  box-shadow: var(--shadow-sm);
}
.price-tag.quiet-tag {
  font-family: var(--sans); font-size: 0.78rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--sage-deep); font-variant-numeric: normal; font-feature-settings: normal;
}
.price-tag.quiet-tag.is-found {
  color: var(--ink);
  background: rgba(255,255,255,.96);
  border: 1px solid var(--line);
}
.price-tag.quiet-tag.is-lost {
  color: var(--sage-deep);
}
.card .body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.card-title {
  font-family: var(--display); font-weight: 750; font-size: 1.05rem;
  letter-spacing: -.03em; line-height: 1.2; margin: 0;
}
.card-meta { font-size: 0.82rem; line-height: 1.35; }
.price,
.bid-now,
.asking-price,
.price-line {
  font-family: var(--price); font-weight: 700;
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
  letter-spacing: 0;
}
.price { font-size: 20px; }
/* One sage badge system */
.pill, .badge, .badge-sage {
  display: inline-flex; align-items: center; gap: 6px; width: fit-content;
  border-radius: 999px; padding: 4px 10px;
  background: var(--sage-mist); color: var(--sage-deep);
  font-size: 0.72rem; font-weight: 750; letter-spacing: .04em; text-transform: uppercase;
  box-shadow: none; text-shadow: none; filter: none;
}
.pill.quiet { background: #eef2f0; color: var(--muted); letter-spacing: .02em; text-transform: none; font-size: 12px; }
.pill.live, .badge-live { background: #e5f3ea; color: var(--live); }
.pill.ending, .badge-ending { background: #fff3e6; color: var(--ending); }
.countdown { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--sage-deep); }
.countdown.is-ending { color: var(--ending); }

/* Section heroes — one sage–charcoal system (aligned with directory H1 scale) */
.section-hero,
.page-banner {
  color: white; padding: 48px 0 32px;
  background:
    linear-gradient(180deg, rgba(26,31,28,.42), rgba(26,31,28,.62)),
    url("/images/proto/still-furniture.jpg") center 35% / cover no-repeat;
}
.section-hero-inner,
.page-banner .wrap {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 18px;
}
.section-hero h1,
.page-banner h1,
.dir-toolbar h1 {
  margin: 0;
  font-size: clamp(1.85rem, 3.8vw, 2.65rem);
  text-shadow: 0 1px 16px rgba(26,31,28,.35);
}
.section-hero-eyebrow { color: var(--sage-light); }
.section-hero-lede { margin: 8px 0 0; max-width: 36rem; color: rgba(255,255,255,.88); font-size: 15px; }
.page-banner.tone-sale {
  background-image:
    linear-gradient(180deg, rgba(63,90,66,.45), rgba(26,31,28,.62)),
    url("/images/proto/still-furniture.jpg");
  background-position: center 30%;
}
.page-banner.tone-biz {
  background-image:
    linear-gradient(180deg, rgba(63,90,66,.48), rgba(26,31,28,.62)),
    url("/images/proto/biz-cafe-hero.jpg");
  background-position: center 40%;
}
.page-banner.tone-garage {
  background-image:
    linear-gradient(180deg, rgba(63,90,66,.45), rgba(26,31,28,.64)),
    url("/images/proto/cat-garage-sale.jpg");
  background-position: center 45%;
}
.page-banner.tone-auction {
  background-image:
    linear-gradient(180deg, rgba(63,90,66,.48), rgba(26,31,28,.64)),
    url("/images/proto/lot-chair.jpg");
  background-position: center 35%;
}
.page-banner.tone-pets {
  background-image:
    linear-gradient(180deg, rgba(63,90,66,.5), rgba(26,31,28,.62)),
    url("/images/proto/hero-street.jpg");
  background-position: center 50%;
}

.page { padding: 24px 0 56px; }
.browse-intro {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  margin: 0 0 14px; color: var(--muted); font-size: 14px; font-weight: 600;
}
.pulse-live {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--live);
}
.pulse-live::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--live);
  box-shadow: 0 0 0 0 rgba(47,107,69,.45); animation: pulse-dot 1.8s ease infinite;
}

/* Filters / chips */
.cat-groups, .subcats, .dir-cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 14px; }
.cat-groups button, .subcats button, .dir-cat, .chip {
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  border-radius: 999px; padding: 8px 14px; font: inherit; font-weight: 600; cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}
.subcats button, .dir-cat { background: var(--sage-mist); border-color: transparent; color: var(--sage-deep); }
.cat-groups button.on, .subcats button.on, .dir-cat.is-active, .chip.is-on, .chip.is-active {
  background: var(--sage); border-color: var(--sage); color: #fff;
}
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 16px; }
.filters input, .filters select,
.field input, .field select, .field textarea,
.bid-row input, .search input, .search select {
  width: 100%; border: 1px solid var(--line); background: white;
  border-radius: 14px; padding: 12px 14px;
}
.filters.filter-bar, .filter-bar {
  gap: 8px; background: #fff; border: 1px solid var(--line);
  border-radius: 18px; padding: 8px; box-shadow: var(--shadow-sm);
  display: flex; flex-wrap: wrap; align-items: center;
}
.filter-bar input, .filter-bar select,
.filters.filter-bar input, .filters.filter-bar select {
  border: 0; background: transparent; min-width: 120px; flex: 1; width: auto; box-shadow: none;
}
.field input:focus, .field select:focus, .field textarea:focus,
.filters input:focus, .filters select:focus, .bid-row input:focus,
.loc-city-input:focus, .loc-select:focus {
  outline: 3px solid var(--sage-light);
}

/* Directory */
.dir-list { display: grid; gap: 0; }
.dir-row {
  display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center;
  padding: 12px 4px; border-bottom: 1px solid var(--line);
  transition: background 160ms ease;
}
.dir-row:hover { background: rgba(238,243,239,.7); }
.dir-row .thumb {
  width: 56px; height: 56px; border-radius: 10px; overflow: hidden;
  background: var(--sage-mist); display: grid; place-items: center;
}
.dir-row .thumb img { width: 100%; height: 100%; object-fit: cover; }
.dir-row .thumb .letter { font-size: 22px; color: var(--sage-deep); display: block; }
.dir-row .thumb.mark-photo::after { display: none; }
.dir-row .meta { display: grid; gap: 2px; }
.dir-row .meta strong { font-family: var(--display); }
.dir-row .meta span { color: var(--muted); font-size: 14px; }
.dir-row .side { text-align: right; font-size: 13px; color: var(--muted); display: grid; gap: 4px; justify-items: end; }
.open-pip {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--live); font-size: 12px;
}
.open-pip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--live); }

/* Post hub */
.post-hub { padding-top: 36px; }
.type-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.type-card {
  display: grid; gap: 6px; padding: 18px; border-radius: 16px;
  background: #fff; border: 1.5px solid var(--line);
  transition: border-color 200ms ease, transform 280ms var(--ease-rise), box-shadow 200ms ease;
}
.type-card:hover, .type-card:focus-visible {
  border-color: var(--sage); transform: translateY(-2px); box-shadow: var(--shadow-sm);
}
.type-card .icon { color: var(--sage-deep); margin-bottom: 4px; }
.type-card strong { font-family: var(--display); font-size: 1.15rem; }
.type-card span { color: var(--muted); font-size: 14px; }

/* Forms / panels / misc */
.stack { display: grid; gap: 12px; }
.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 28px; align-items: start; }
.panel {
  background: white; border: 1px solid var(--line); border-radius: 18px; padding: 20px;
}
.panel.seller-card { background: var(--sage-mist); border-color: transparent; }
.note-line { margin: 0 0 16px; color: var(--muted); font-size: 14px; }
.field { display: grid; gap: 6px; margin-bottom: 12px; font-size: 14px; font-weight: 700; }
.field-label { margin: 0 0 8px; font-size: 14px; font-weight: 700; }
.alert {
  background: var(--sage-mist); border: 1px solid var(--sage-light);
  color: var(--sage-deep); padding: 12px 14px; border-radius: 14px;
}
.alert.ok { background: #f1fbf4; border-color: #c9ecd4; color: #166534; }
.alert.fee-notice {
  margin: 0 0 16px;
  background: #fff8ef;
  border-color: #e8d3b0;
  color: #5c4818;
  font-size: 14px;
  font-weight: 600;
}
.handoff-options { margin: 0 0 16px; }
.handoff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px 12px;
  margin-top: 8px;
}
.category-attrs { margin: 0 0 16px; }
.attr-group { margin-top: 8px; }
/* .form-grid sets display:grid and would override the HTML [hidden] attribute */
.attr-group[hidden],
.attr-group:not(.is-active),
[data-condition-wrap][hidden],
[data-condition-wrap].is-hidden {
  display: none !important;
}
.attr-group.is-active { display: block; }
.attr-group-grid { margin: 0; }
.attr-check { margin: 4px 0; }
.attr-facts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px 16px;
  margin: 10px 0 14px;
  padding: 0;
}
.attr-facts > div { margin: 0; }
.attr-facts dt {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  font-weight: 700;
}
.attr-facts dd { margin: 2px 0 0; font-weight: 700; }
.listing-card .card-attrs {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.35;
}
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 6px;
}
.chip-row .chip-soft {
  margin: 0;
  pointer-events: none;
}
.settings-block {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  margin: 8px 0 16px;
}
.settings-block legend { font-weight: 800; padding: 0 6px; }
.table { width: 100%; border-collapse: collapse; }
.table td, .table th { text-align: left; padding: 12px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.pager-wrap { margin-top: 16px; }
.pager-summary { margin: 0 0 8px; color: var(--muted, #667); font-size: 0.95rem; }
.pager { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.pager a, .pager button, .pager span {
  display: inline-flex; align-items: center; border-radius: 999px;
  padding: 8px 14px; background: white; border: 1px solid var(--line);
  font: inherit; font-weight: 700; color: inherit; cursor: pointer;
}
.pager span { cursor: default; }
.pager a:hover, .pager button:hover { background: var(--sage-mist); border-color: transparent; color: var(--sage-deep); }
.pager button:disabled { opacity: 0.6; cursor: default; }
.empty { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 8px 0 0; }
.avatar {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sage); color: white; font-family: var(--display); font-size: 22px;
}
.date-block {
  display: grid; width: fit-content; background: var(--charcoal-soft); color: white;
  border-radius: 14px; padding: 8px 12px; line-height: 1.1;
}
.date-block b { font-family: var(--display); letter-spacing: .08em; font-size: 13px; }
.date-block span { font-weight: 700; }
.date-block.big { padding: 14px 16px; }
.date-block.big b { font-size: 18px; }
.date-block.big span { font-size: 20px; }
.sale-hero { display: flex; gap: 18px; align-items: center; margin-bottom: 18px; }
.format-label { font-size: 13px; font-weight: 600; color: var(--muted); }
.sale-card-photo.mark-photo {
  background:
    linear-gradient(160deg, rgba(26,31,28,.2), rgba(26,31,28,.4)),
    url("/images/proto/cat-garage-sale.jpg") center / cover;
}
.gallery { display: grid; grid-template-columns: 1.4fr .6fr; gap: 8px; }
.gallery:has(img:only-child) { grid-template-columns: 1fr; }
.gallery img, .photo img, .item-block img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.item-block {
  background: white; border: 1px solid var(--line); border-radius: 16px;
  padding: 14px; display: grid; gap: 8px;
}
.item-block img { height: 180px; }
.item-block .photo { position: relative; aspect-ratio: 16 / 9; min-height: 140px; overflow: hidden; border-radius: 14px; }
.moderation, .meta-row, .bid-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.bid-row input { width: 140px; }
.agree {
  display: flex; gap: 10px; align-items: flex-start;
  background: var(--sage-mist); border-radius: 16px; padding: 12px 14px; font-weight: 600;
}
.agree input { width: auto; margin-top: 4px; }
.agree a { color: var(--sage-deep); text-decoration: underline; }
.offer-picker { display: grid; gap: 12px; }
.sell-toggle {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  background: var(--sage-mist); border-radius: 18px; padding: 6px;
}
.sell-toggle label {
  text-align: center; border-radius: 14px; padding: 14px 10px;
  font-weight: 700; cursor: pointer; color: var(--muted);
}
#offer-price:checked ~ .sell-toggle label[for="offer-price"],
#offer-auction:checked ~ .sell-toggle label[for="offer-auction"] {
  background: white; color: var(--ink); box-shadow: var(--shadow-sm);
}
.when-auction { display: none; }
#offer-auction:checked ~ .when-auction { display: grid; gap: 8px; }
#offer-auction:checked ~ .when-price { display: none; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.post-form { display: grid; gap: 4px; margin-top: 18px; }
.photo-field input { padding: 18px; background: var(--sage-mist); }
.finder { margin-top: 12px; position: relative; max-width: 720px; }
.search {
  display: grid; grid-template-columns: 1.4fr .8fr auto; gap: 8px;
  background: white; border: 1px solid var(--line); border-radius: 20px; padding: 8px;
  box-shadow: var(--shadow-sm);
}
.search input, .search select { border: 0; }
.finder-results {
  position: absolute; z-index: 5; left: 0; right: 0; top: calc(100% + 8px);
  background: white; border: 1px solid var(--line); border-radius: 16px;
  padding: 8px 14px 12px; box-shadow: var(--shadow);
}
.finder-results a {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 8px 0; border-top: 1px solid var(--line);
}
.dash-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dash-card {
  background: white; border: 1px solid var(--line); border-radius: 16px;
  padding: 12px; display: grid; gap: 6px;
}
.inbox { display: grid; grid-template-columns: 280px 1fr; gap: 16px; align-items: start; }
.inbox-list { display: grid; gap: 8px; padding: 12px; }
.inbox-list a { display: flex; gap: 10px; align-items: center; border-radius: 14px; padding: 8px; }
.inbox-list a.on, .inbox-list a:hover { background: var(--sage-mist); }
.thread p {
  margin: 0 0 8px; padding: 10px 12px; border: 1px solid var(--line);
  border-radius: 16px 16px 16px 4px; background: #f7faf7; margin-right: 18%;
}
.thread p.mine {
  background: var(--sage); color: white; border-color: transparent;
  margin-right: 0; margin-left: 18%; border-radius: 16px 16px 4px 16px;
}
.map-frame { margin: 16px 0 0; }
.map-frame iframe { width: 100%; height: 240px; border: 0; border-radius: 18px; display: block; }
.map-frame figcaption { margin-top: 8px; color: var(--muted); font-size: 14px; }
.hours { display: grid; grid-template-columns: 1fr auto; gap: 8px 18px; max-width: 360px; }
.hours-edit { display: grid; grid-template-columns: 120px 1fr 1fr; gap: 8px; align-items: center; margin-bottom: 8px; }
.coupon {
  border: 1px dashed var(--sage); border-radius: 16px; padding: 12px 14px;
  background: var(--sage-mist); display: grid; gap: 4px; margin-bottom: 10px;
}
.coupon p { margin: 0; }
.coupon code { font-weight: 700; letter-spacing: .06em; }
.biz-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.pet-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 28px; align-items: start; }
.pet-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.pet-flags { display: flex; flex-wrap: wrap; gap: 14px 22px; margin: 4px 0 14px; }
.pet-status-line {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 14px;
  margin: 0 0 8px; font-size: 1.05rem;
}
.pet-status {
  font-family: var(--sans); font-size: 0.78rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  border-bottom: 2px solid var(--sage);
  color: var(--sage-deep); padding: 0 0 1px;
}
.pet-status.is-found { border-bottom-color: var(--ink); color: var(--ink); }
.pet-facts {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px;
  margin: 10px 0 18px; padding: 14px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.pet-facts div { margin: 0; background: none; border-radius: 0; padding: 0; }
.pet-facts dt {
  font-size: 11px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted);
}
.pet-facts dd { margin: 2px 0 0; font-family: var(--display); font-size: 1.05rem; font-weight: 650; }
.seller-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 18px; }
.seller-head h1 { margin: 0; }
.read { width: min(720px, calc(100% - 40px)); margin: 0 auto; }
/* Auth */
.auth-split { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 72vh; }
.auth-photo {
  background:
    linear-gradient(180deg, rgba(26,31,28,.35), rgba(26,31,28,.55)),
    url("/images/proto/hero-garage-driveway.jpg") center 40% / cover no-repeat;
}
.auth-form { display: grid; align-items: center; padding: 32px 0; }
.auth-form .panel { border-radius: 18px; }

/* Footer — thin */
.footer { border-top: 1px solid var(--line); padding: 22px 0 12px; margin-top: 18px; }
.footer a:hover { color: var(--sage-deep); }
.footer-grid { display: grid; grid-template-columns: 1.5fr .7fr .8fr; gap: 18px; }
.footer h3 { margin: 0 0 6px; font-size: 0.78rem; font-family: var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin: 4px 0; font-size: 0.9rem; }
.footer-mark { margin-bottom: 6px; height: 1.25rem; width: auto; }
.footer-quiet { color: var(--muted); font-size: 13px; max-width: 36ch; line-height: 1.4; margin: 0; }
.footer-follow { margin-top: 14px; }
.footer-follow h3 { margin-bottom: 8px; }
.footer-follow-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-follow-list li { margin: 0; }
.footer-follow-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 2px;
  color: var(--sage-deep);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
}
.footer-follow-link:hover { color: var(--sage-deep); }
.footer-follow-ico {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  display: block;
}
.footer-follow-name { line-height: 1; }
.fine {
  border-top: 1px solid var(--line); margin-top: 14px; padding-top: 10px;
  font-size: 12px; color: var(--muted);
}

/* Mobile tab bar */
.mobile-tabbar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: rgba(246,248,246,.97); backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  padding: 4px 6px calc(4px + env(safe-area-inset-bottom));
  grid-template-columns: repeat(5, 1fr); gap: 2px;
}
.mobile-tabbar a {
  display: grid; justify-items: center; gap: 1px;
  padding: 7px 4px; border-radius: 12px; min-height: 48px; align-content: center;
  font-size: 11px; font-weight: 700; color: var(--muted);
  transition: color 160ms ease, background 160ms ease;
}
.mobile-tabbar a svg { width: 20px; height: 20px; stroke-width: 1.8; }
.mobile-tabbar a.on, .mobile-tabbar a:hover,
.mobile-tabbar a[aria-current="page"] {
  color: var(--sage-deep); background: var(--sage-mist);
}
.mobile-tabbar a.on svg, .mobile-tabbar a[aria-current="page"] svg {
  stroke-width: 2.2;
}
.mobile-tabbar .tab-post {
  color: #fff; background: var(--sage-deep);
  box-shadow: none;
}
.mobile-tabbar .tab-post.on,
.mobile-tabbar .tab-post[aria-current="page"] { background: var(--charcoal); color: #fff; }

@keyframes hero-drift { from { transform: scale(1.02) translateY(0); } to { transform: scale(1.06) translateY(-1.5%); } }
@keyframes ribbon { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(47,107,69,.45); }
  70% { box-shadow: 0 0 0 10px rgba(47,107,69,0); }
  100% { box-shadow: 0 0 0 0 rgba(47,107,69,0); }
}

@media (max-width: 980px) {
  .path-grid, .grid, .pet-grid, .pet-facts { grid-template-columns: 1fr 1fr; }
  .fresh-join, .split, .pet-layout, .footer-grid, .gallery, .page-banner .wrap,
  .auth-split, .inbox, .dash-grid, .search { grid-template-columns: 1fr; display: grid; }
  .nav-links { display: none; }
  .menu-toggle { display: inline-grid; }
  .type-grid { grid-template-columns: 1fr; }
  .mobile-tabbar { display: grid; }
  body.has-tabbar { padding-bottom: 78px; }
  .bid-sheet { position: static; }
  .nav-shell {
    width: min(1120px, calc(100% - 24px));
    min-height: 52px; height: 52px; gap: 8px;
  }
  .brand-lockup { height: 24px; max-height: 24px; }
  .brand-img { height: 24px; max-height: 24px; max-width: 8.25rem; }
  .nav-actions .btn-soft { display: none; }
  .nav-actions { gap: 4px; }
  .icon-btn { width: 40px; height: 40px; min-width: 40px; }
}
@media (max-width: 640px) {
  .wrap { width: min(1120px, calc(100% - 28px)); }
  .path-grid, .grid, .pet-grid, .pet-facts, .form-grid, .hours-edit { grid-template-columns: 1fr; }
  .hero-content { padding: 88px 0 36px; }
  .hero-brand-lockup img { height: 36px; max-height: 36px; width: auto; }
  .nav-shell {
    width: min(1120px, calc(100% - 20px));
    min-height: 48px; height: 48px; gap: 6px;
  }
  .brand-lockup { height: 22px; max-height: 22px; }
  .brand-img { height: 22px; max-height: 22px; max-width: 7.5rem; }
  .nav-text, .nav-account > summary { font-size: 13px; padding: 4px 6px; }
  .dir-row { grid-template-columns: 56px 1fr; }
  .dir-row .side { display: none; }
  .loc { max-width: min(44vw, 10.75rem); }
  .loc-trigger { min-height: 36px; font-size: 12px; padding: 5px 8px 5px 7px; border-radius: 10px; }
  .loc-panel { right: -8px; width: min(280px, calc(100vw - 20px)); border-radius: 12px; }
}

/* —— Dense directory (match prototype/directory.html) —— */
.page-directory {
  background:
    radial-gradient(920px 420px at 8% -10%, rgba(106, 140, 108, 0.14), transparent 58%),
    radial-gradient(700px 360px at 100% 12%, rgba(63, 90, 66, 0.06), transparent 50%),
    var(--bg);
}
.page-directory .page-banner { display: none; }
.dir-toolbar {
  background:
    radial-gradient(110% 140% at 0% 0%, rgba(106, 140, 108, 0.16), transparent 55%),
    linear-gradient(180deg, #f3f7f3 0%, #eef3ef 100%);
  border-bottom: 1px solid var(--line);
  padding: 1.45rem 1.25rem 1.15rem;
}
.dir-toolbar-inner { width: min(100%, 1120px); margin: 0 auto; }
.dir-toolbar-brand { margin-bottom: 0.85rem; }
.dir-brand-line {
  display: flex; align-items: center; flex-wrap: wrap; gap: 0.45rem 0.55rem;
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--sage-deep);
}
.dir-brand-mark { width: auto; height: 1.35rem; display: block; }
.dir-brand-sep { color: var(--muted); font-weight: 600; }
.dir-toolbar h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.85rem, 3.2vw, 2.45rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--ink);
}
.dense-search {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  max-width: 560px;
  padding: 0.35rem 0.4rem 0.35rem 0.85rem;
  border: 1px solid var(--line);
  background: #fff;
  margin-bottom: 0.85rem;
  border-radius: 999px;
}
.dense-search svg { color: var(--muted); flex-shrink: 0; }
.dense-search input {
  flex: 1; border: 0; outline: none; background: transparent;
  min-width: 0; font-size: 0.95rem; padding: 0.35rem 0; width: auto;
}
.dense-search .btn { flex-shrink: 0; }

/* Directory filter bar — search + category select (no chip wall) */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.dir-filter-bar {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(11rem, 0.85fr) auto;
  gap: 10px;
  align-items: end;
  max-width: 720px;
  margin: 0 0 0.65rem;
}
.dir-filter-search {
  display: flex; align-items: center; gap: 0.55rem;
  min-height: 44px; padding: 0 0.85rem;
  border: 1px solid var(--line); border-radius: 12px; background: #fff;
}
.dir-filter-search svg { color: var(--muted); flex-shrink: 0; }
.dir-filter-search input {
  flex: 1; border: 0; outline: none; background: transparent;
  min-width: 0; font-size: 0.95rem; padding: 0.55rem 0;
}
.dir-filter-category {
  display: grid; gap: 5px; min-width: 0;
}
.dir-filter-label {
  font-family: var(--display); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--sage-deep);
}
.dir-select-shell {
  position: relative; display: block; min-width: 0;
}
.dir-select-shell select {
  width: 100%; min-height: 42px;
  padding: 0.45rem 2.35rem 0.45rem 0.8rem;
  border: 1.5px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--ink);
  font-family: var(--sans); font-weight: 600; font-size: 0.875rem;
  line-height: 1.25; letter-spacing: -0.01em;
  appearance: none; -webkit-appearance: none;
  cursor: pointer;
  transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}
.dir-select-shell select:hover {
  border-color: #b7c7ba; background: var(--sage-mist);
}
.dir-select-shell select:focus {
  outline: none; border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(106, 140, 108, 0.28);
  background: #fff;
}
.dir-select-chevron {
  position: absolute; right: 0.75rem; top: 50%;
  width: 12px; height: 12px; margin-top: -6px;
  color: var(--sage-deep); pointer-events: none;
}
.dir-select-shell:focus-within .dir-select-chevron { color: var(--sage); }
.dir-filter-submit { min-height: 44px; align-self: end; }
.dir-filter-active {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin: 0 0 0.35rem; font-size: 0.88rem; color: var(--muted);
}
.dir-filter-active strong { color: var(--sage-deep); font-family: var(--display); }
.dir-filter-active a { color: var(--sage-deep); font-weight: 700; }
@media (max-width: 720px) {
  .dir-filter-bar {
    grid-template-columns: 1fr;
    max-width: none;
  }
  .dir-filter-submit { width: 100%; }
}
.dense-body { padding: 1.25rem 1.25rem 2.75rem; }
.dense-shell {
  width: min(100%, 1120px); margin: 0 auto;
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 1.15rem;
}
.dense-shell-map-right {
  grid-template-columns: 1.1fr 0.9fr;
}
.dense-shell-map-left {
  grid-template-columns: 1fr 0.95fr;
}
.guide-map-panel {
  min-width: 0; display: grid; gap: 0.65rem; align-content: start;
  position: sticky; top: 76px; align-self: start;
}
.map-peek-toggle {
  display: none;
  width: 100%; min-height: 44px;
  align-items: center; justify-content: space-between; gap: 0.75rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--line); border-radius: 12px;
  background: #fff; color: var(--ink);
  font-family: var(--sans); font-weight: 700; font-size: 0.9rem;
  cursor: pointer;
}
.map-peek-action { color: var(--sage-deep); font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; }
.map-pane, .map-compact {
  position: relative;
  height: 480px; min-height: 480px;
  border: 1px solid var(--line); border-radius: 4px; overflow: hidden;
  background:
    radial-gradient(120% 80% at 30% 20%, #f4f8f4 0%, transparent 55%),
    linear-gradient(160deg, #e8eee9, #dfeae1);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.35),
    0 18px 40px rgba(26, 31, 28, 0.06);
}
.map-pane::after {
  content: "";
  pointer-events: none;
  position: absolute; inset: 0; z-index: 400;
  box-shadow: inset 0 0 48px rgba(63, 90, 66, 0.12);
}
.map-chrome {
  position: absolute; z-index: 450; left: 10px; top: 10px;
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.35rem 0.65rem;
  background: rgba(255,255,255,.92);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.72rem; font-weight: 700; color: var(--sage-deep);
  backdrop-filter: blur(8px);
}
.map-chrome span:first-child {
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.leaflet-map,
.leaflet-map.leaflet-container,
#directory-map {
  width: 100% !important;
  height: 480px !important;
  min-height: 480px !important;
  display: block !important;
  z-index: 1;
  background: var(--sage-mist);
  filter: saturate(0.88) hue-rotate(-6deg);
}
.map-pane.is-ready .leaflet-map { filter: saturate(0.92) hue-rotate(-4deg); }
.map-fallback-msg {
  display: grid; place-items: center; height: 100%; padding: 1rem;
  color: var(--muted); font-size: 0.9rem; text-align: center;
}
.map-caption { margin: 0; font-size: 0.8rem; color: var(--muted); }
.map-owner-cta { margin-top: 0.15rem; }
.dense-list { min-width: 0; }
.dense-list-head {
  display: flex; align-items: baseline; flex-wrap: wrap;
  gap: 0.35rem 0.75rem; margin-bottom: 0.65rem; padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--line);
}
.dense-list-head h2 {
  margin: 0; font-size: 1.35rem; font-family: var(--display); font-weight: 700; letter-spacing: -0.02em;
}
.dense-list-head p { margin: 0; font-size: 0.82rem; color: var(--muted); width: 100%; }
.badge-open {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--live); background: transparent; padding: 0;
}
.badge-open::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--live);
}
.biz-row {
  position: relative;
  display: grid; grid-template-columns: 56px 1fr; gap: 0.75rem; align-items: center;
  padding: 0.7rem 0.35rem 0.7rem 0.7rem; border-bottom: 1px solid var(--line);
  transition: background 0.12s ease; text-decoration: none; color: inherit;
  opacity: 0; transform: translateY(10px);
  animation: ipl-page-rise var(--motion-rise) forwards;
  animation-delay: calc(var(--biz-rise, 0) * 45ms);
}
.biz-row:hover, .biz-row.is-active { background: rgba(228, 235, 229, 0.55); }
.biz-cat-tick {
  position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px;
  border-radius: 2px; background: var(--sage-light);
}
.biz-row.is-open .biz-cat-tick { background: var(--live); }
.biz-row.is-featured .biz-cat-tick { background: var(--charcoal); width: 4px; }
.biz-row img, .biz-letter-mark {
  width: 56px; height: 56px; object-fit: cover; border-radius: 2px; background: var(--sage-light);
}
.biz-letter-mark {
  display: grid; place-items: center;
  font-family: var(--display); font-size: 1.35rem; font-weight: 700;
  color: var(--sage-deep); background: linear-gradient(160deg, var(--sage-mist), var(--sage-light));
}
.biz-row-main { min-width: 0; }
.biz-row-title { display: flex; align-items: baseline; justify-content: space-between; gap: 0.65rem; }
.biz-row-title h3 {
  margin: 0; font-family: var(--display); font-size: 1.02rem; font-weight: 700;
  letter-spacing: -0.02em; line-height: 1.25;
}
.biz-row-rating {
  font-family: var(--price); font-size: 0.88rem; font-weight: 700; color: var(--sage-deep);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.biz-row-rating::before { content: "★ "; color: var(--sage-deep); }
.biz-row-meta, .biz-row-hours { margin: 0.12rem 0 0; font-size: 0.8rem; line-height: 1.35; }
.biz-row-meta { color: var(--sage-dark); font-weight: 600; }
.biz-row-hours {
  color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem;
}
.biz-open-pip {
  width: 6px; height: 6px; border-radius: 50%; background: #b7c7ba; display: inline-block;
}
.biz-open-pip.on { background: var(--live); }
.biz-hours-sep { opacity: .55; }
.biz-verified-mark {
  display: inline-flex; align-items: center; gap: 0.25rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--sage-deep);
}
.biz-verified-mark::before {
  content: ""; width: 0.55rem; height: 0.3rem; border-left: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor; transform: rotate(-45deg) translateY(-1px);
}
.pill-boost, .pill-verified, .card-boost {
  padding: 0.2rem 0.55rem; border-radius: 999px; font-size: 0.62rem; font-weight: 750;
  letter-spacing: 0.06em; text-transform: uppercase; box-shadow: none; filter: none;
}
.pill-boost, .card-boost { background: var(--sage-deep); color: #fff; }
.pill-verified { background: var(--sage-light); color: var(--sage-deep); }
.owner-panel.membership-compact,
.membership-panel.membership-compact {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 1.1rem; border-radius: 4px; background: var(--charcoal); color: #fff;
}
.membership-compact .eyebrow { color: var(--sage-light); }
.membership-compact h3 { margin: 0.1rem 0 0.2rem; font-size: 1.25rem; color: #fff; }
.membership-compact p { margin: 0; font-size: 0.85rem; color: rgba(238, 243, 239, 0.78); }
.membership-compact .btn { flex-shrink: 0; background: #fff !important; color: var(--charcoal) !important; }
.dir-pager { margin-top: 1rem; }
.empty-note { margin: 0.35rem 0 0; font-size: 0.9rem; color: var(--muted); }
.ipl-map-pin { background: transparent !important; border: 0 !important; }
.ipl-map-pin-dot {
  display: block; width: 14px; height: 14px; border-radius: 50%;
  background: var(--sage); border: 2px solid #fff;
  box-shadow: 0 1px 3px rgba(26,31,28,.28);
  transform: scale(0.4); opacity: 0;
  transition: transform 420ms var(--ease-rise), opacity 420ms var(--ease-rise), box-shadow 160ms ease;
}
.map-pane.is-ready .ipl-map-pin-dot { transform: scale(1); opacity: 1; }
.ipl-map-pin-dot.is-boosted, .ipl-map-pin.is-boosted .ipl-map-pin-dot {
  background: var(--sage-deep); width: 16px; height: 16px;
  box-shadow: 0 0 0 3px rgba(63, 90, 66, 0.18), 0 1px 3px rgba(26,31,28,.28);
}
.ipl-map-pin.is-selected .ipl-map-pin-dot, .ipl-map-pin-dot.is-selected {
  width: 18px; height: 18px; background: var(--sage-deep);
  box-shadow: 0 0 0 4px rgba(106, 140, 108, .22);
}
.ipl-map-cluster {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--sage-deep); color: #fff; font-weight: 700; font-size: 0.78rem;
  border: 2px solid #fff; box-shadow: 0 2px 8px rgba(26,31,28,.22);
}
.ipl-map-label {
  display: block; margin-top: 4px; padding: 3px 7px; background: #fff; color: var(--ink);
  font-size: 11px; font-weight: 700; white-space: nowrap; border-radius: 6px;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
@media (prefers-reduced-motion: reduce) {
  .biz-row { opacity: 1; transform: none; animation: none; }
  .ipl-map-pin-dot { transform: none; opacity: 1; transition: none; }
}
@media (max-width: 900px) {
  .dense-shell, .dense-shell-map-right, .dense-shell-map-left { grid-template-columns: 1fr; }
  .dense-shell-map-left .guide-map-panel { order: -1; }
  .map-peek-toggle { display: inline-flex; }
  .map-pane, .map-compact {
    position: static; height: 0; min-height: 0; border-width: 0; box-shadow: none;
  }
  .map-pane .map-chrome { display: none; }
  .leaflet-map, .leaflet-map.leaflet-container, #directory-map {
    height: 0 !important; min-height: 0 !important;
  }
  .guide-map-panel.is-expanded .map-pane,
  .guide-map-panel.is-expanded .map-compact {
    height: 240px; min-height: 240px; border-width: 1px;
    box-shadow: 0 12px 28px rgba(26, 31, 28, 0.06);
  }
  .guide-map-panel.is-expanded .leaflet-map,
  .guide-map-panel.is-expanded .leaflet-map.leaflet-container,
  .guide-map-panel.is-expanded #directory-map {
    height: 240px !important; min-height: 240px !important;
  }
  .guide-map-panel.is-expanded .map-chrome { display: inline-flex; }
  .map-caption { display: none; }
  .guide-map-panel.is-expanded .map-caption { display: block; }
  .guide-map-panel { position: static; }
  .membership-compact { flex-direction: column; align-items: flex-start; }
}

/* —— Business detail (match prototype/business.html) —— */
.page-business {
  background:
    radial-gradient(900px 420px at 0% 0%, rgba(106, 140, 108, 0.12), transparent 55%),
    #f5f7f5;
}
.biz-detail {
  width: min(100%, 980px);
  margin: 0 auto;
  padding: 1.25rem 1.25rem 3.5rem;
}
.biz-detail .back-link {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--sage-dark);
  font-weight: 600;
}
.biz-detail-hero {
  display: grid;
  gap: 0;
  margin-bottom: 1.25rem;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}
.biz-detail-hero-media {
  margin: 0 -1.25rem;
  width: calc(100% + 2.5rem);
  max-width: none;
  overflow: hidden;
  background: var(--sage-mist);
}
.biz-detail-hero-media img,
.biz-detail-hero img {
  width: 100%;
  height: clamp(220px, 42vw, 360px);
  object-fit: cover;
  display: block;
}
.biz-detail-hero-copy {
  padding: 1.15rem 0 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.45rem;
}
.biz-detail-status {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.55rem 0.85rem;
  margin: 0; font-size: 0.82rem;
}
.biz-status-quiet {
  font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--muted); font-size: 0.72rem;
}
.biz-rating-num { font-family: var(--price); font-variant-numeric: tabular-nums; }
.biz-owner-note {
  margin: 0.15rem 0 0; font-size: 0.78rem; color: var(--muted); line-height: 1.35;
}
.biz-detail-badges { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.biz-detail-hero-copy h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.biz-detail-rating { margin: 0; font-weight: 600; color: var(--sage-dark); }
.biz-detail-hours { margin: 0; color: var(--muted); }
.biz-tagline { font-weight: 600; color: var(--sage-deep); margin-bottom: 0.35rem !important; }
.biz-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin: 0.85rem 0 1.25rem;
}
.biz-gallery img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(106,140,108,0.1);
}
.biz-detail-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 1.25rem;
}
.biz-detail-main {
  background: #fff;
  border: 1px solid rgba(106, 140, 108, 0.14);
  border-radius: 18px;
  padding: 1.35rem 1.4rem;
}
.biz-detail-main h2 {
  margin: 1.25rem 0 0.45rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage-dark);
}
.biz-detail-main h2:first-child { margin-top: 0; }
.biz-detail-main > p { margin: 0; line-height: 1.55; color: var(--charcoal-soft); }
.biz-hours-list { list-style: none; margin: 0; padding: 0; }
.biz-hours-list li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.45rem 0; border-bottom: 1px solid var(--line); font-size: 0.95rem;
}
.biz-mini-map {
  position: relative;
  margin-top: 0.75rem;
  height: 160px;
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(106, 140, 108, 0.08) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(rgba(106, 140, 108, 0.08) 1px, transparent 1px) 0 0 / 28px 28px,
    #e8eee9;
  overflow: hidden;
}
.biz-mini-map .leaflet-container { height: 160px !important; width: 100% !important; }
.biz-mini-map .map-marker {
  position: absolute; width: 14px; height: 14px;
}
.biz-mini-map .map-marker-dot {
  display: block; width: 14px; height: 14px; border-radius: 50%;
  background: var(--sage); border: 2px solid #fff; box-shadow: 0 1px 4px rgba(26,31,28,.3);
}
.biz-detail-side { display: flex; flex-direction: column; gap: 0.85rem; }
.biz-cta-card {
  background: #fff;
  border: 1px solid rgba(106, 140, 108, 0.14);
  border-radius: 18px;
  padding: 1.1rem;
  display: grid;
  gap: 0.55rem;
}
.biz-cta-card.soft { background: var(--sage-mist); }
.biz-cta-card .btn { width: 100%; justify-content: center; border-radius: 12px; }
.biz-cta-card .action-row { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.biz-cta-card .action-row .btn { width: auto; flex: 1; }
.review-list { display: grid; gap: 0.75rem; margin-top: 0.5rem; }
.review-card {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
  display: grid; gap: 0.25rem;
}
.review-card p { margin: 0; color: var(--charcoal-soft); }
.review-compose {
  margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line);
  display: grid; gap: 0.55rem;
}
.page-business .btn-ghost {
  background: transparent; color: var(--sage-deep); border: 1px solid var(--line);
}
.page-business .btn-ghost:hover { background: var(--sage-mist); }
@media (max-width: 800px) {
  .biz-detail-grid { grid-template-columns: 1fr; }
  .biz-gallery { grid-template-columns: 1fr 1fr; }
  .biz-detail-hero-media { margin: 0 -1.25rem; width: calc(100% + 2.5rem); }
}

/* Seller dashboard — opaque panels over photo so sage text never blends into sage bg */
.seller-hero {
  padding: 48px 0 28px;
  background:
    linear-gradient(180deg, rgba(26,31,28,.62), rgba(26,31,28,.82)),
    url("/images/proto/still-furniture.jpg") center 30% / cover no-repeat;
  color: #fff;
}
.seller-hero .eyebrow { color: #fff; }
.seller-hero h1 { margin: 0 0 8px; font-size: clamp(2rem, 4vw, 2.8rem); }
.seller-hero .deck { color: rgba(255,255,255,.9); max-width: 34rem; }
.seller-stats {
  display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 14px;
}
.seller-stats a,
a.seller-stat {
  display: grid; gap: 2px; min-width: 88px; padding: 12px 14px;
  border-radius: var(--radius-card);
  background: rgba(255,255,255,.96);
  color: var(--charcoal);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.85);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
  border-top: 3px solid var(--sage);
}
.seller-stats a:hover,
a.seller-stat:hover { background: #fff; border-color: var(--sage-deep); border-top-color: var(--sage-deep); color: var(--charcoal); }
.seller-stats strong,
a.seller-stat strong {
  font-family: Syne, sans-serif; font-size: 1.35rem;
  color: var(--charcoal);
}
.seller-stats span,
a.seller-stat span { font-size: 12px; color: var(--charcoal-soft); opacity: 1; }
.seller-links { display: flex; flex-wrap: wrap; gap: 8px; }
.seller-links a,
a.seller-nav {
  color: var(--charcoal);
  font-weight: 600;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(255,255,255,.85);
  box-shadow: var(--shadow-sm);
}
.seller-links a:hover,
a.seller-nav:hover { background: #fff; border-color: var(--sage); color: var(--sage-deep); }
.logout-row { margin-top: 28px; }
.dash-band { margin: 28px 0 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.dash-band:first-of-type { border-top: 0; margin-top: 8px; }
.dash-band-label {
  margin: 0; font-family: Syne, sans-serif; font-size: 0.78rem;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--sage-deep); font-weight: 700;
}
.dash-subhead { margin: 14px 0 8px; font-weight: 700; color: var(--ink-soft, #4a554c); }
.duration-field { border: 0; padding: 0; margin: 0 0 14px; }
.duration-field legend { font-weight: 700; margin-bottom: 6px; }
.duration-options { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.duration-option {
  display: flex; align-items: center; gap: 8px; padding: 10px 14px;
  border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer;
}
.duration-option:has(input:checked) { border-color: var(--sage-deep); box-shadow: inset 0 0 0 1px var(--sage-deep); }
.duration-option em { font-style: normal; font-size: 12px; opacity: .7; margin-left: 4px; }
.form-error { color: #9b2c2c; font-size: 13px; margin: 6px 0 0; }

/* Empty states */
.empty-state {
  display: grid; gap: 12px; justify-items: start;
  padding: 28px 22px; margin: 12px 0;
  border-radius: var(--radius-card);
  background: var(--sage-mist, #eef3ee);
  color: var(--muted);
  grid-column: 1 / -1;
}
.empty-illustrated { justify-items: center; text-align: center; padding: 36px 22px; }
.empty-art { margin-bottom: 4px; opacity: .95; }
.empty-state p { margin: 0; font-size: 15px; max-width: 28rem; }

/* Detail polish */
.detail-gallery { margin-bottom: 8px; }
.detail-hero {
  position: relative; aspect-ratio: 4 / 5; max-height: 640px;
  border-radius: var(--radius-card); overflow: hidden;
  background: var(--sage-mist); display: grid; place-items: center;
}
.detail-hero img { width: 100%; height: 100%; object-fit: cover; }
.filmstrip {
  display: grid; grid-auto-flow: column; grid-auto-columns: 72px;
  gap: 8px; overflow-x: auto; margin: 10px 0 6px; padding: 2px 2px 8px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.filmstrip-thumb {
  display: block; padding: 0; border: 2px solid transparent; border-radius: 12px;
  background: transparent; cursor: pointer; scroll-snap-align: start;
  min-width: 72px; min-height: 90px;
}
.filmstrip-thumb.is-on { border-color: var(--sage-deep); }
.filmstrip-thumb img {
  width: 68px; height: 86px; object-fit: cover;
  border-radius: 10px; display: block;
}
.gallery-hint { margin: 0 0 14px; }
.detail-copy h1 {
  margin: 0 0 8px; font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: -.03em;
}
.price-line {
  font-size: 1.45rem; font-weight: 700;
  color: var(--sage-deep); margin: 0 0 8px;
}
.tiny { font-size: 12px; }
@media (max-width: 720px) {
  .detail-page .detail-split { display: block; }
  .detail-gallery { margin-left: -20px; margin-right: -20px; width: calc(100% + 40px); }
  .detail-hero {
    aspect-ratio: 4 / 5; max-height: none; border-radius: 0;
  }
  .filmstrip { padding-left: 20px; padding-right: 20px; }
}

/* Messages */
.inbox { gap: 18px; }
.inbox-list a {
  display: grid; grid-template-columns: 40px 1fr; gap: 10px;
  align-items: center; padding: 10px 8px; border-radius: 12px;
  text-decoration: none; color: inherit;
}
.inbox-list a.on, .inbox-list a:hover { background: var(--sage-mist); }
.inbox-list .unread-pip {
  width: 8px; height: 8px; border-radius: 50%; background: var(--sage-deep);
  display: inline-block; margin-left: 6px;
}
.msg-safety {
  font-size: 13px; color: var(--muted); margin: 0 0 10px;
  padding: 10px 12px; border-radius: 10px; background: var(--sage-mist);
}

/* Auth calm */
.auth-form .wrap.panel {
  border: 0; box-shadow: none; background: transparent; padding: 28px 18px;
}
.auth-form h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.auth-brand { display: block; margin-bottom: 18px; }
.password-field {
  position: relative; display: grid;
}
.password-field input {
  padding-right: 4.5rem;
}
.password-toggle {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  border: 0; background: transparent; color: var(--sage-deep);
  font: inherit; font-size: 13px; font-weight: 700; cursor: pointer;
  min-height: 36px; padding: 4px 8px; border-radius: 8px;
}
.password-toggle:hover,
.password-toggle:focus-visible {
  background: var(--sage-mist); outline: none;
}

/* Admin staff chrome */
.admin-page h1 { font-family: Syne, sans-serif; }
/* Tall admin sections must never stay hidden if an old scroll-reveal class sticks */
.admin-page.ipl-reveal,
.admin-page .ipl-reveal { opacity: 1 !important; transform: none !important; }
.admin-page .table a, .admin-page .moderation .btn { color: var(--sage-deep); }
.admin-filters {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px;
}
.admin-manage {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 8px;
}
.admin-manage form { display: inline-flex; gap: 6px; align-items: center; margin: 0; }
.admin-edit { display: inline-block; }
.admin-edit > summary { list-style: none; cursor: pointer; }
.admin-edit > summary::-webkit-details-marker { display: none; }
.admin-edit-form {
  display: grid; gap: 8px; margin-top: 8px; padding: 10px;
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
  min-width: min(280px, 100%);
}
.admin-page tr.is-trashed td, .admin-page tr.is-disabled td { opacity: .72; }
.admin-thread { display: grid; gap: 12px; margin: 16px 0; }

/* Browse / auctions / garage */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  padding: 12px; margin-bottom: 16px;
  border: 1px solid var(--line); border-radius: 14px;
  background: rgba(255,255,255,.7);
}
.dir-cats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.dir-cat, .chip-soft {
  border-radius: 999px; border: 1px solid var(--line);
  padding: 5px 10px; background: #fff; color: var(--charcoal-soft);
  text-decoration: none; font-size: 12px; font-weight: 600; line-height: 1.2;
}
.dir-cat.is-active, .chip-soft.is-on {
  background: var(--sage-deep); color: #fff; border-color: var(--sage-deep);
}
.owner-lot-panel {
  margin-top: 14px; padding: 14px 16px; border-radius: 14px;
  background: var(--sage-mist); border: 1px solid var(--sage-light);
  display: grid; gap: 8px;
}
.owner-lot-panel .pill { width: fit-content; }
.owner-lot-panel .muted { margin: 0; }
.report-box {
  margin-top: 14px; border: 1px solid var(--line); border-radius: 14px;
  background: #fff; overflow: hidden;
}
.report-box > summary {
  list-style: none; cursor: pointer; display: flex; flex-wrap: wrap;
  align-items: baseline; justify-content: space-between; gap: 8px;
  padding: 12px 14px; font-family: var(--display); font-weight: 700;
  color: var(--sage-deep);
}
.report-box > summary::-webkit-details-marker { display: none; }
.report-box-title { font-size: 0.95rem; }
.report-box-hint {
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  color: var(--muted); letter-spacing: 0;
}
.report-box[open] > summary { border-bottom: 1px solid var(--line); background: var(--sage-mist); }
.report-box-form { padding: 14px; }
.report-box-form .field { margin-bottom: 0; }
.sale-date-block {
  display: inline-grid; place-items: center; min-width: 52px;
  padding: 8px 6px; border-radius: 10px;
  background: var(--sage-mist); color: var(--charcoal);
  font-weight: 700; line-height: 1.1;
}
.sale-date-block small { font-size: 11px; font-weight: 600; color: var(--muted); }
.format-quiet { font-size: 13px; color: var(--muted); }

/* Error pages */
.error-page { min-height: 55vh; display: grid; align-items: center; }
.error-page .wrap { text-align: left; }
.error-card .error-mark { margin-bottom: 12px; }
.error-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.empty-brand {
  display: block; font-family: Syne, sans-serif; font-size: 13px;
  letter-spacing: .04em; text-transform: uppercase; color: var(--sage-deep);
  margin-bottom: 4px;
}
.post-steps {
  display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 18px;
}
.post-steps li {
  font-size: 12px; font-weight: 700; color: var(--muted);
  padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
}
.post-steps li.is-on { color: var(--sage-deep); border-color: var(--sage-deep); background: var(--sage-mist); }
.contact-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
}
.contact-facts { display: grid; gap: 12px; margin: 14px 0; padding: 0; }
.contact-facts > div { margin: 0; }
.contact-facts dt {
  font-size: 11px; text-transform: uppercase; letter-spacing: .04em;
  color: var(--muted); font-weight: 700;
}
.contact-facts dd { margin: 2px 0 0; font-weight: 600; }
.placeholder-pill { margin-top: 10px; }
@media (max-width: 720px) {
  .contact-split { grid-template-columns: 1fr; }
}
.error-mark { margin-bottom: 18px; }

/* Heart / save motion */
.save-heart { transition: transform .25s ease, color .25s ease; }
.save-heart.is-on, [aria-pressed="true"] .save-heart {
  color: var(--sage-deep); animation: heart-pop .35s ease;
}
@keyframes heart-pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.22); }
  100% { transform: scale(1); }
}

/* Focus rings */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, .dir-cat:focus-visible {
  outline: 2px solid var(--sage); outline-offset: 2px;
}

.post-hub .deck { margin-bottom: 8px; }
.post-guidelines { margin: 0 0 18px; font-size: 14px; }
.post-guidelines a { color: var(--sage-deep); font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  .save-heart.is-on, [aria-pressed="true"] .save-heart,
  .page-rise, .ipl-page-rise,
  .countdown-tick, .skeleton-block, .skeleton-line { animation: none !important; transition: none !important; }
}

/* —— Beauty polish pass (INS-9) —— */
.sale-card-hero-meta {
  position: absolute; left: 10px; right: 10px; bottom: 10px;
  display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end;
  justify-content: space-between;
}
.sale-card-photo .sale-date-block {
  background: rgba(255,255,255,.94); color: var(--charcoal);
  box-shadow: var(--shadow-sm);
}
.sale-countdown {
  background: rgba(26,31,28,.78); color: #fff;
  border-radius: 999px; padding: 6px 10px; font-size: 12px;
  backdrop-filter: blur(4px);
}
.countdown {
  transition: opacity 180ms ease, color 180ms ease;
}
.countdown-tick { animation: countdown-fade 280ms var(--ease-rise); }
@keyframes countdown-fade {
  from { opacity: .45; }
  to { opacity: 1; }
}
.skeleton-grid {
  display: none; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 14px;
}
.skeleton-card { pointer-events: none; border-style: dashed; }
.skeleton-block, .skeleton-line {
  background: linear-gradient(90deg, #e4ebe5 0%, #f4f7f4 45%, #e4ebe5 100%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.2s ease infinite;
  border-radius: 10px;
}
.skeleton-line { display: block; height: 12px; width: 78%; margin-top: 4px; }
.skeleton-line.short { width: 48%; }
@keyframes skeleton-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
.grid.is-filtering { opacity: .42; transition: opacity .18s ease; }
@media (max-width: 900px) {
  .skeleton-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .grid, .skeleton-grid { grid-template-columns: repeat(2, 1fr); }
}

/* One featured badge language — no glow / no purple leftovers */
.pill-boost, .card-boost, .pill-verified {
  box-shadow: none; text-shadow: none; filter: none;
}
.membership-panel {
  background: linear-gradient(135deg, var(--sage-deep), #2c342f);
}

/* Phone pass — 320–430px (SE → large phones) */
@media (max-width: 430px) {
  body { font-size: 16px; }
  .wrap, .narrow, .hero-content, .read, .dir-toolbar-inner {
    width: min(1120px, calc(100% - 20px));
  }
  .nav-shell {
    width: min(1120px, calc(100% - 16px));
    height: 48px; min-height: 48px; gap: 4px;
  }
  .brand-lockup { height: 20px; max-height: 20px; }
  .brand-img { height: 20px; max-height: 20px; max-width: 6.75rem; }
  .nav-actions { gap: 2px; min-width: 0; flex: 1 1 auto; justify-content: flex-end; }
  .nav-actions .loc {
    max-width: min(40vw, 9.25rem); min-width: 0;
  }
  .loc-trigger {
    min-height: 34px; font-size: 12px; padding: 4px 7px 4px 6px; gap: 3px;
    border-radius: 9px;
  }
  .loc-trigger .loc-pin,
  .loc-trigger .loc-chevron { width: 12px; height: 12px; }
  .loc-panel {
    right: max(-8px, calc(100% - 100vw + 12px));
    width: min(280px, calc(100vw - 16px));
    border-radius: 12px;
  }
  .loc-results button { min-height: 44px; font-size: 15px; }
  .nav-text, .nav-account > summary {
    max-width: 4.75rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    font-size: 12px; padding: 4px;
  }
  .icon-btn { width: 36px; height: 36px; min-width: 36px; }
  .icon-btn svg { width: 20px; height: 20px; }
  .mobile-drawer { padding: 10px 14px 16px; }

  .hero.hero-mock { min-height: min(70vh, 520px); }
  .hero-content { padding: 72px 0 28px; }
  .hero-content h1 { font-size: clamp(1.75rem, 8.5vw, 2.25rem); max-width: 11ch; }
  .hero-content .lede { font-size: 0.98rem; margin-top: 10px; }
  .hero-ctas { gap: 8px; }
  .hero-ctas .btn { flex: 1 1 calc(50% - 8px); min-width: 0; padding: 11px 14px; font-size: 14px; }
  .hero-brand-lockup img { height: 32px; max-height: 32px; }
  .path-grid { gap: 10px; padding: 12px 0 18px; }
  .path-media { min-height: 140px; }
  .fresh-head { padding: 20px 0 4px; }
  .live-ribbon { padding: 6px 0; }
  .live-dot { margin-left: 12px; }

  .page { padding: 16px 0 48px; }
  .page-banner { padding: 28px 0 18px; }
  .page-banner .wrap {
    flex-direction: column; align-items: stretch; gap: 12px;
  }
  .page-banner h1 { font-size: clamp(1.45rem, 7vw, 1.85rem); }
  .page-banner .btn { width: 100%; justify-content: center; }

  .lot-hero, .event-hero { min-height: 210px; border-radius: 12px; }
  .hero-copy { padding: 12px 14px; }
  .hero-copy h1 { font-size: clamp(1.25rem, 5.5vw, 1.65rem); }
  .event-hero-inner { padding: 64px 0 32px; }
  .event-hero-photo { min-height: 240px; }

  .filter-bar, .filters.filter-bar { padding: 8px; gap: 6px; }
  .filter-bar input, .filter-bar select,
  .filters.filter-bar input, .filters.filter-bar select {
    min-width: 100%; flex: 1 1 100%; width: 100%;
  }
  .filter-bar .btn, .filters.filter-bar .btn { width: 100%; }

  .grid, .skeleton-grid { gap: 8px; }
  .card .body { padding: 10px 10px 12px; gap: 2px; }
  .card-title { font-size: 0.95rem; }
  .price-tag { font-size: 0.9rem; padding: 5px 9px; left: 8px; bottom: 8px; }

  .panel { padding: 14px; border-radius: 14px; }
  .split, .detail-page .detail-split { gap: 16px; }
  .detail-gallery {
    margin-left: -10px; margin-right: -10px; width: calc(100% + 20px);
  }
  .filmstrip { padding-left: 10px; padding-right: 10px; }
  .bid-sheet { padding: 14px; gap: 10px; }
  .bid-sheet .bid-now { font-size: 1.45rem; }
  .bid-row { width: 100%; }
  .bid-row input { width: 100%; min-width: 0; flex: 1 1 100%; }
  .bid-row .btn, .inline-actions .btn, .event-hero-actions .btn { width: 100%; }
  .agree { padding: 10px 12px; font-size: 14px; }
  .item-block img { height: 140px; }

  .seller-hero { padding: 28px 0 18px; }
  .seller-hero h1 { font-size: clamp(1.55rem, 7vw, 2rem); }
  .seller-stats { gap: 8px; margin: 16px 0 10px; }
  .seller-stats a {
    min-width: 0; flex: 1 1 calc(50% - 8px); padding: 10px 12px;
  }
  .seller-stats strong { font-size: 1.15rem; }
  .seller-links { gap: 10px; font-size: 14px; }
  .dash-grid { grid-template-columns: 1fr; gap: 8px; }
  .dash-band { margin: 20px 0 6px; }

  .auth-photo { display: none; }
  .auth-split { grid-template-columns: 1fr; min-height: auto; }
  .auth-form { padding: 12px 0 28px; }
  .auth-form .wrap.panel { padding: 18px 8px; }
  .auth-form .btn { width: 100%; }

  .inbox { gap: 12px; }
  .inbox-list, .inbox .panel { min-width: 0; width: 100%; }
  .msg-safety { font-size: 12px; }

  .post-steps {
    display: flex; flex-wrap: nowrap; gap: 6px; overflow-x: auto;
    -webkit-overflow-scrolling: touch; padding-bottom: 4px;
  }
  .post-steps li { flex: 0 0 auto; font-size: 12px; padding: 6px 10px; }
  .type-grid { gap: 10px; }
  .duration-options { flex-direction: column; }
  .duration-option { width: 100%; }

  .dir-filter-bar { gap: 8px; margin-bottom: 0.5rem; }
  .dir-filter-search, .dir-filter-category, .dir-filter-submit { width: 100%; }
  .guide-map-panel.is-expanded .map-pane,
  .guide-map-panel.is-expanded .map-compact { height: 220px; min-height: 220px; position: static; }
  .guide-map-panel.is-expanded .leaflet-map,
  .guide-map-panel.is-expanded .leaflet-map.leaflet-container,
  .guide-map-panel.is-expanded #directory-map { height: 220px !important; min-height: 220px !important; }
  .biz-gallery { grid-template-columns: 1fr 1fr; gap: 0.4rem; }
  .biz-detail-hero-media { margin: 0 -10px; width: calc(100% + 20px); }
  .biz-cta-card .action-row .btn { flex: 1 1 100%; }
  .biz-detail-main, .biz-cta-card { padding: 1rem; border-radius: 14px; }

  .mobile-tabbar a { font-size: 10px; padding: 6px 2px; gap: 1px; min-height: 46px; }
  .mobile-tabbar a svg { width: 18px; height: 18px; }
  .footer { padding: 18px 0 10px; }
  .footer-grid { gap: 14px; }
  .empty-state { padding-right: 0; }
  .btn { max-width: 100%; }
  .form-grid { gap: 0; }
  .hours-edit { grid-template-columns: 1fr; }
}

/* —— Beauty full apply (INS-14) —— */
.home-fresh-body .section { padding-top: 4px; }
.live-ribbon { padding: 6px 0; }
.live-track { font-size: 12px; gap: 2rem; opacity: .92; }

.detail-copy > .muted,
.detail-meta,
.detail-copy .tiny,
.meta-row.quiet,
.card-meta {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0;
}
.detail-copy > .muted { margin: 0 0 10px; }
.detail-copy .eyebrow { margin-bottom: 4px; }
.detail-copy h1 {
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  margin: 0 0 8px;
}
.detail-aside .panel p.muted,
.seller-card > p.muted { font-size: 0.85rem; line-height: 1.4; }

.auction-card .body,
.card.shot .body { gap: 3px; }
.auction-card .pill,
.card .pill { margin-bottom: 2px; }
.auction-card .countdown { font-size: 0.82rem; }

.skeleton-grid { gap: 16px; }
.grid.is-filtering { opacity: .38; transition: opacity .22s ease; }
.grid:not(.is-filtering) { transition: opacity .28s ease; }

.empty-state {
  padding: 28px 18px; text-align: center;
  border: 1px dashed var(--line); border-radius: var(--radius-card);
  background: linear-gradient(180deg, #f7faf7, var(--sage-mist));
}
.empty-illustrated .empty-art { margin: 0 auto 10px; opacity: .9; }
.empty-brand { display: block; margin-bottom: 4px; font-family: var(--display); font-size: 1.05rem; }
.empty-state p { margin: 0 auto 12px; max-width: 28ch; font-size: 0.95rem; color: var(--muted); }

.map-empty {
  display: grid; place-items: center; min-height: 160px; padding: 1.25rem;
  text-align: center; color: var(--muted); font-size: 0.9rem;
  background:
    radial-gradient(80% 70% at 50% 40%, #f4f8f4, transparent 70%),
    var(--sage-mist);
  border-radius: 12px;
}

.thumb-45, .card .photo, .sale-card-photo, .path-media {
  aspect-ratio: 4 / 5;
}
.biz-row img { aspect-ratio: 1 / 1; }

/* Quiet social share strip — SVG + labels, no fake Instagram share URL */
.share-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin: 16px 0 4px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.share-strip-label {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.share-strip-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 4px;
}
.share-strip-btn {
  appearance: none;
  border: 0;
  background: transparent;
  margin: 0;
  padding: 5px 8px;
  border-radius: 4px;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--sage-deep);
  text-decoration: none;
  cursor: pointer;
  line-height: 1.3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.share-strip-ico {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  display: block;
}
.share-strip-btn:hover {
  background: var(--sage-mist);
  color: var(--sage-deep);
}
.share-strip-btn:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 2px;
}
.share-strip-btn[hidden] { display: none !important; }
.seller-card .share-strip,
.biz-cta-card .share-strip,
.panel .share-strip,
.event-main .share-strip,
.biz-detail-main .share-strip {
  margin-top: 8px;
}
/* Kill glow leftovers */
.pill-boost, .card-boost, .pill-verified, .membership-panel, .tab-post {
  filter: none !important; text-shadow: none !important;
}
