:root {
  --forest: #002f34;
  --gold: #d4a017;
  --ink: #002f34;
  --muted: #406367;
  --line: #d8dfe0;
  --purple: #002f34;
  --purple-dark: #001e22;
  --teal: #23e5db;
  --mint: #c8f8e7;
  --mint-bar: #d7f5f2;
  --orange: #ff7a00;
  --bg: #fff;
  --font: "Figtree", system-ui, sans-serif;
  --shadow: 0 8px 24px rgba(0, 47, 52, 0.08);
  --content-max: 1100px;
  --content-gutter: 24px;
  /* Height of the Marketplace | Services | Businesses row inside the sticky header. */
  --vertical-nav-h: 44px;
}
* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  background: var(--bg);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.sr, .skip {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.wrap { max-width: var(--content-max); margin: 0 auto; padding: 0 var(--content-gutter); }
.view { display: none; }
.view.is-on { display: block; }
#stage .view[hidden],
.view[hidden] {
  display: none !important;
}

/* Search + promo strip only on the homepage */
body:not(.is-home) #search-form,
body:not(.is-home) .info-bar {
  display: none !important;
}

.site-header {
  background: #fff;
  color: var(--forest);
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
}
.site-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--forest);
}
.brand-mark {
  display: block;
  width: 34px;
  height: 34px;
}
.brand-name {
  font-family: var(--font);
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 700;
}
.hdr-link, .hdr-icon, .hdr-biz {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--forest);
  padding: 8px 10px;
  border-radius: 8px;
  background: transparent;
}
.hdr-link:hover, .hdr-icon:hover, .hdr-biz:hover { background: #f3f6f6; }
.hdr-link svg, .hdr-icon svg, .hdr-biz svg { width: 22px; height: 22px; }
.hdr-add {
  margin-left: 8px;
  background: var(--teal);
  color: var(--forest);
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 800;
  border: 2px solid var(--teal);
}
.hdr-add:hover { background: #7ff5ee; border-color: #7ff5ee; }
.hdr-biz {
  margin-left: 4px;
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 700;
}
/* My Business dropdown: the account menu's look (width, rows, icons, border, shadow). */
.mybiz-wrap { position: relative; display: inline-flex; }
.account-menu.mybiz-menu { width: 260px; min-width: 0; max-width: calc(100vw - 24px); max-height: calc(100dvh - 88px); overflow-y: auto; padding: 8px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 16px 48px #002f3424; }
.account-menu.mybiz-menu > a { display: flex; align-items: center; gap: 12px; min-height: 42px; padding: 10px 12px; border-radius: 7px; font-size: 13px; font-weight: 700; color: var(--forest); }
.account-menu.mybiz-menu > a:hover { background: #edf6f4; }
.account-menu.mybiz-menu > a:focus-visible { outline: 2px solid #00877f; outline-offset: -2px; }
.account-menu.mybiz-menu .ui-icon { width: 18px; height: 18px; flex: 0 0 18px; color: var(--muted); }
.account-menu.mybiz-menu .account-menu-label { flex: 1; }
.mybiz-name { margin: 0 0 6px; padding: 12px; border-radius: 9px; background: #f0f8f6; color: var(--forest); font-size: 14px; font-weight: 800; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mybiz-name small { font-size: 12px; font-weight: 600; color: var(--muted); }
.mybiz-note { margin: 6px 12px 8px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.account-wrap { position: relative; margin-left: 4px; }
.hdr-avatar {
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #eef3f3;
  color: var(--forest);
}
.hdr-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hdr-avatar img[hidden],
.hdr-avatar-fallback[hidden],
.hdr-avatar svg[hidden] { display: none !important; }
.hdr-avatar.has-photo img { display: block !important; }
.hdr-avatar-fallback {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.hdr-avatar svg { width: 20px; height: 20px; }
.hdr-avatar:hover { background: #e4ecec; }
.account-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 180px;
  background: #fff;
  color: var(--ink);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 8px;
  z-index: 40;
}
.account-menu[hidden] { display: none; }
.account-menu a, .account-menu button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border-radius: 8px;
  font-weight: 700;
}
.account-menu a:hover, .account-menu button:hover { background: #f3f6f6; }

.info-bar {
  position: relative;
  background: var(--mint-bar);
  color: var(--forest);
  font-size: 0.82rem;
}
.info-bar--success { background: #dff5e9; color: #125c3d; }
.info-bar--warning { background: #fff1d6; color: #6f4300; }
.info-bar--promotion { background: #fff0e4; color: #8a3500; }
.info-bar--critical { background: #fde8e7; color: #8b1d18; }
.info-bar[hidden] { display: none; }
.info-bar p {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 48px;
  text-align: center;
}
.info-bar a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.info-bar a:hover,
.info-bar a:focus-visible {
  opacity: 0.8;
}
.info-bar-close {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--forest);
  font-size: 1.35rem;
  line-height: 1;
  opacity: 0.65;
}
.info-bar-close:hover,
.info-bar-close:focus-visible {
  opacity: 1;
  background: rgba(0, 0, 0, 0.06);
}

.hero-home,
body.is-home .hero-home { display: none; }

.ad-slot {
  max-width: var(--content-max);
  margin: 16px auto 0;
  padding: 0 var(--content-gutter);
}
.ad-chrome {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin: 0 0 6px;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--muted);
}
.ad-by { color: var(--muted); font-weight: 700; }
.ad-creative {
  overflow: hidden;
  border-radius: 8px;
  min-height: 210px;
  color: #fff;
  padding: 36px 48px;
  display: flex;
  align-items: center;
  position: relative;
  background: #e8eeef;
}
.ad-creative--image {
  display: block;
  padding: 0;
  min-height: 0;
}
.ad-creative--image img {
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 280;
  object-fit: cover;
  display: block;
}
.ad-creative::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.promo--orange { background: linear-gradient(90deg, #ff8a00, #ff5a00); }
.promo--teal { background: linear-gradient(90deg, #007e85, #002f34); }
.promo--navy { background: linear-gradient(90deg, #0b3d4a, #001e22); }
.ad-advertiser {
  margin: 0 0 8px;
  font-size: 0.82rem;
  font-weight: 700;
  opacity: 0.85;
}
.ad-creative h2 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  max-width: 16ch;
}
.ad-creative p { margin: 0 0 18px; max-width: 46ch; font-size: 1.05rem; opacity: 0.95; }
.promo-cta {
  display: inline-flex;
  padding: 10px 18px;
  border-radius: 999px;
  background: #3b0a4a;
  color: #fff;
  font-weight: 800;
}
.promo--teal .promo-cta, .promo--navy .promo-cta { background: var(--teal); color: var(--forest); }

.search-bar {
  max-width: var(--content-max);
  margin: 24px auto 8px;
  padding: 0 var(--content-gutter);
  display: flex;
  align-items: stretch;
  gap: 0;
}
.search-q, .search-loc {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #cfd8d9;
  min-height: 56px;
  padding: 0 16px;
  color: var(--muted);
}
.search-q {
  flex: 1;
  border-radius: 4px 0 0 4px;
  min-width: 0;
}
.search-loc {
  width: 220px;
  flex-shrink: 0;
  border-left: 0;
}
.search-q svg, .search-loc svg { width: 20px; height: 20px; flex-shrink: 0; }
.search-q input, .search-loc select, .search-loc input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 1rem;
  color: var(--ink);
}
.search-go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--forest);
  color: #fff;
  padding: 0 22px;
  font-weight: 800;
  border-radius: 0 4px 4px 0;
  flex-shrink: 0;
}
.search-go svg { width: 20px; height: 20px; }

.main-cats-title {
  text-align: center;
  margin: 40px 0 28px;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--forest);
}
.cat-circles {
  max-width: var(--content-max);
  margin: 0 auto 48px;
  padding: 0 var(--content-gutter);
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 22px 12px;
}
.cat-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  color: var(--forest);
}
.cat-disc {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 2.1rem;
  line-height: 1;
  transition: transform 0.15s ease;
}
.cat-circle:hover .cat-disc { transform: scale(1.06); }
.cat-name {
  font-size: 0.82rem;
  font-weight: 700;
  max-width: 9.5ch;
  line-height: 1.25;
}

.top-brands {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 8px var(--content-gutter) 40px;
}
.top-brands-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}
.brand-tile {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 18px 10px 14px;
  border: 1px solid #e3ebe8;
  border-radius: 8px;
  background: #fff;
  color: var(--forest);
  text-align: center;
  text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.brand-tile:hover { border-color: #9fcdbf; box-shadow: 0 10px 24px #003b3712; transform: translateY(-2px); }
.brand-tile:focus-visible { outline: 3px solid #40bfb2; outline-offset: 2px; }
.brand-tile-logo {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 6px;
}
.brand-tile-logo img { max-width: 56px; max-height: 56px; object-fit: contain; }
.brand-tile-logo.is-name {
  width: auto;
  min-width: 64px;
  max-width: 100%;
  padding: 0 8px;
  border-radius: 8px;
  background: #f2f6f5;
}
.brand-tile-logo.is-name span { overflow: hidden; font-size: .9rem; font-weight: 800; letter-spacing: -.01em; text-overflow: ellipsis; white-space: nowrap; }
.brand-tile-name { max-width: 100%; overflow: hidden; font-size: .95rem; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.brand-tile small { color: var(--muted); font-size: .8rem; font-weight: 600; }
@media (max-width: 900px) { .top-brands-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .top-brands { padding-bottom: 28px; }
  .top-brands-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .brand-tile { padding: 14px 8px 12px; }
}

.popular-locations {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 8px var(--content-gutter) 48px;
}
.popular-locations-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px 20px;
}
.popular-locations-grid a {
  min-width: 0;
  padding: 8px 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.popular-locations-grid a:hover {
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.popular-locations-more {
  margin: 28px 0 0;
  text-align: center;
}
.popular-locations-more a {
  font-weight: 700;
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.popular-locations-more a:hover { color: #00786f; }

.is-home .site-foot { margin-top: 0; }
.site-foot { margin-top: 48px; }
.biz-offer { background: var(--forest); color: #fff; }
.biz-offer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}
.biz-chart { width: 88px; height: 64px; flex-shrink: 0; }
.biz-copy p { margin: 0; opacity: 0.75; font-size: 0.95rem; }
.biz-copy h2 { margin: 2px 0 0; font-size: 1.25rem; font-weight: 800; }
.biz-learn {
  margin-left: 24px;
  padding: 10px 22px;
  border: 2px solid #fff;
  border-radius: 8px;
  font-weight: 800;
  color: #fff;
}
.biz-learn:hover { background: #fff; color: var(--forest); }

.foot-brand {
  background: var(--mint);
  text-align: center;
  padding: 56px 24px 48px;
  color: var(--forest);
}
.foot-name {
  display: block;
  margin: 0 auto 18px;
}
.foot-brand > p:not(.foot-name) {
  max-width: 720px;
  margin: 0 auto 22px;
  font-size: 0.92rem;
  line-height: 1.55;
}
.join-label { font-weight: 700; margin-bottom: 12px !important; }
.socials {
  display: flex;
  justify-content: center;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.soc {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--forest);
  display: grid;
  place-items: center;
}
.soc svg { width: 16px; height: 16px; }
#for-business { scroll-margin-top: 72px; }

.foot-explore { background: #eef3f3; color: var(--forest); }
.foot-explore-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 36px 24px 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  font-size: 0.88rem;
  line-height: 1.7;
}
.foot-explore-inner > div { min-width: 0; }
.foot-explore p { margin: 0; }
.foot-explore a { text-decoration: underline; text-underline-offset: 2px; }
.foot-industries-toggle {
  display: inline;
  margin: 0 0 0 6px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: #006f65;
  font: inherit;
  font-weight: 800;
  line-height: 1.35;
  cursor: pointer;
}
.foot-industries-toggle:hover { color: #003b37; }
.foot-industries-toggle:focus-visible { outline: 3px solid #16bcb2; outline-offset: 3px; }

.foot-links { background: #eef3f3; border-top: 1px solid #d5dddd; }
.foot-links-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 24px 20px;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 32px;
}
.foot-links h3 {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: inherit;
}
.foot-links h3 a {
  display: block;
  padding: 4px 0;
  font-size: inherit;
  font-weight: inherit;
}
.foot-links a {
  display: block;
  font-weight: 700;
  padding: 4px 0;
  font-size: 0.92rem;
}
.store-badges { align-self: start; }
.store {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  margin: 0 8px 8px 0;
  padding: 10px 14px;
  border-radius: 8px;
  background: #111;
  color: #fff !important;
  font-size: 0.78rem;
  font-weight: 800;
}
.store-badges p { margin: 8px 0 0; font-size: 0.78rem; color: var(--muted); }
.foot-copy {
  background: #eef3f3;
  border-top: 1px solid #d5dddd;
  color: var(--muted);
}
.foot-copy p {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 24px 28px;
  font-size: 0.82rem;
}
.section-head {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--content-gutter) 12px;
  font-size: 1.15rem;
  font-weight: 800;
}
.ad-grid {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--content-gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.wrap .ad-grid {
  max-width: none;
  padding: 0;
}
.ads-band {
  background: #f2f4f5;
  padding: 40px 0 56px;
}
.filters-inner {
  max-width: var(--content-max);
  margin: 0 auto 20px;
  padding: 8px var(--content-gutter) 0;
}
.filters-title {
  margin: 0 0 12px;
  font-size: 1.35rem;
  font-weight: 800;
}
.filters-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.filters-row--wide { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.filter-field { position: relative; min-width: 0; }
.filter-field > span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
}
.filter-dd-btn,
.filter-price input {
  width: 100%;
  min-height: 48px;
  padding: 0 40px 0 14px;
  border: 1px solid #d5dddd;
  border-radius: 8px;
  background: #fff;
  text-align: left;
  font-weight: 600;
  color: var(--forest);
}
.filter-dd-btn {
  position: relative;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.filter-dd-btn::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--forest);
  border-bottom: 2px solid var(--forest);
  transform: translateY(-70%) rotate(45deg);
}
.filter-dd.is-open .filter-dd-btn {
  border-color: #00786f;
  box-shadow: 0 0 0 1px #00786f;
}
.filter-dd { position: relative; }
.filter-menu {
  display: none;
  position: absolute;
  left: 0;
  top: calc(100% + 6px);
  z-index: 40;
  min-width: 100%;
  max-height: min(420px, 70vh);
  overflow: auto;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(0, 47, 52, 0.16);
}
.filter-dd.is-open .filter-menu { display: block; }
.filter-menu-split {
  display: flex;
  min-width: min(560px, 80vw);
}
.filter-col {
  flex: 1;
  min-width: 220px;
  max-height: min(420px, 70vh);
  overflow: auto;
  padding: 8px 0;
}
.filter-col + .filter-col { border-left: 1px solid #eef1f2; }
.filter-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  text-align: left;
  font-weight: 500;
}
.filter-item:hover { background: #f4f7f7; }
.filter-item.is-on {
  background: #002f34;
  color: #fff;
}
.filter-item .filter-count {
  margin-left: auto;
  padding: 2px 8px;
  border-radius: 999px;
  background: #e8eef0;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
}
.filter-item.is-on .filter-count { background: #fff; color: #002f34; }
.filter-item .filter-chevron {
  margin-left: 8px;
  color: inherit;
  opacity: 0.5;
}
.filter-check {
  width: 18px;
  height: 18px;
  border: 2px solid #002f34;
  border-radius: 4px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}
.filter-item.is-on .filter-check {
  background: #002f34;
  border-color: #002f34;
}
.filter-item.is-on .filter-check::after {
  content: "";
  width: 8px;
  height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translateY(-1px);
}
.filter-listers {
  display: flex;
  gap: 22px;
  margin: 16px 0 8px;
  border-bottom: 1px solid #d5dddd;
}
.filter-listers button {
  padding: 8px 0 10px;
  font-weight: 700;
  color: var(--muted);
}
.filter-listers button.is-on {
  color: var(--forest);
  box-shadow: inset 0 -3px 0 var(--forest);
}
.filter-price { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.filter-price input { padding-right: 14px; }
@media (max-width: 900px) {
  .filters-row, .filters-row--wide { grid-template-columns: 1fr 1fr; }
  .filter-menu-split { min-width: 100%; flex-direction: column; }
}
.ads-band .main-cats-title {
  margin: 0 0 28px;
}
.ads-band .main-cats-title {
  margin: 0 0 28px;
}
.ads-band .ad-grid {
  max-width: var(--content-max);
  padding: 0 var(--content-gutter);
}
.ad-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  text-align: left;
  min-width: 0;
  position: relative;
  border-radius: 12px;
}
.ad-card-link { display: block; color: inherit; text-decoration: none; }
.ad-photo {
  height: 186px;
  background: linear-gradient(145deg, #0b3d36, #146b4f);
  color: #f7f3ea;
  display: grid;
  place-items: center;
  font-size: 2rem;
  font-weight: 800;
}
.ad-photo img { width: 100%; height: 186px; object-fit: cover; }
.ad-copy {
  display: flex;
  flex-direction: column;
  padding: 12px 12px 16px;
  min-height: 132px;
  flex: 1;
}
.ad-copy-head {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.ad-copy-head .ad-card-link { flex: 1; min-width: 0; }
.ad-copy h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ad-card .ad-fav {
  position: static;
  width: 36px;
  height: 36px;
  margin: -6px -6px 0 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #8aa0a3;
  flex-shrink: 0;
}
.ad-card .ad-fav.is-on { color: var(--purple); }
.ad-copy .price { margin: 10px 0 0; font-weight: 800; font-size: 1.05rem; }
.ad-card-rest {
  display: flex;
  flex-direction: column;
  flex: 1;
  color: inherit;
  text-decoration: none;
}
.ad-copy .meta {
  margin: auto 0 0;
  padding-top: 16px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
}
a.btn-forest, a.btn-outline-forest { text-decoration: none; }
.adult-tag {
  position: absolute;
  left: 8px;
  top: 8px;
  background: var(--purple);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 999px;
}
.pane-head h1 {
  margin: 22px 0 16px;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.pane-head h1 button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f3f4f6;
}
body.is-listing { background: #f2f4f5; }
body.is-listing .biz-offer { display: none; }
.listing-view { padding: 8px 0 56px; }
.listing-crumb {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 8px 0 16px;
  color: var(--muted);
  font-size: 0.82rem;
}
.listing-crumb p { margin: 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.listing-crumb a { color: #406367; }
.listing-crumb a:hover { text-decoration: underline; }
.listing-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  font-weight: 800;
  color: var(--forest);
}
.listing-back .ui-icon { width: 18px; height: 18px; }
.listing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 20px;
  align-items: start;
}
.listing-main, .listing-side { min-width: 0; }
.listing-side { position: sticky; top: calc(80px + var(--vertical-nav-h)); display: grid; gap: 16px; }
.listing-gallery {
  position: relative;
  background: #111;
  border-radius: 8px;
  overflow: hidden;
  min-height: 420px;
  display: grid;
  place-items: center;
}
.listing-gallery-stage { width: 100%; }
.listing-gallery img, .listing-gallery-stage img {
  width: 100%;
  height: 480px;
  object-fit: contain;
  background: #111;
}
.listing-letter {
  color: #fff;
  font-size: 6rem;
  font-weight: 800;
  min-height: 420px;
  display: grid;
  place-items: center;
}
.listing-nav, .listing-expand {
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  color: var(--forest);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
  z-index: 2;
}
.listing-nav { top: 50%; transform: translateY(-50%); }
.listing-nav-prev { left: 12px; }
.listing-nav-next { right: 12px; }
.listing-nav-next .ui-icon { transform: rotate(180deg); }
.listing-gallery--solo .listing-nav { display: none; }
.listing-mobile-pages { display: none; }
.listing-expand { right: 12px; bottom: 12px; }
.listing-count {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}
.listing-thumbs {
  display: flex;
  gap: 8px;
  margin: 10px 0 4px;
  overflow-x: auto;
}
.listing-thumb {
  flex: none;
  width: 72px;
  height: 56px;
  padding: 0;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--line);
}
.listing-thumb img { width: 72px; height: 56px; object-fit: cover; }
.listing-thumb.is-on { box-shadow: inset 0 0 0 2px #003c34; }
.listing-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(0,0,0,0.92);
  display: grid;
  place-items: center;
}
.listing-lightbox[hidden] { display: none !important; }
body.has-lightbox { overflow: hidden; }
.listing-lightbox-stage { max-width: min(92vw, 1100px); max-height: 86vh; }
.listing-lightbox-stage img, .listing-lightbox-stage .listing-letter {
  max-width: min(92vw, 1100px);
  max-height: 86vh;
  width: auto;
  height: auto;
  min-height: 0;
  object-fit: contain;
}
.listing-lightbox .listing-nav { background: #fff; }
.listing-lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--forest);
  display: grid;
  place-items: center;
  z-index: 2;
}
.listing-count--lite { left: 50%; bottom: 24px; transform: translateX(-50%); }
.listing-tools { display: flex; gap: 10px; margin: 12px 0; }
.listing-private {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
}
.listing-panel, .listing-offer, .listing-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px 22px;
}
.listing-panel { margin-bottom: 16px; }
.listing-panel h2 {
  margin: 0 0 12px;
  font-size: 1.15rem;
  font-weight: 800;
}
.listing-panel p { margin: 0; white-space: pre-wrap; color: #3a4f52; }
.listing-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}
.listing-report {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #c2410c;
  font-weight: 700;
  padding: 0;
  line-height: 1.2;
}
.listing-report:hover { color: #9a3412; }
.listing-report:focus-visible { outline: 2px solid #c2410c; outline-offset: 3px; border-radius: 4px; }
.listing-seller-row {
  display: flex;
  gap: 12px;
  align-items: center;
}
.listing-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #e8f4f1;
  color: var(--forest);
  display: grid;
  place-items: center;
  font-weight: 800;
  overflow: hidden;
}
.listing-avatar img { width: 100%; height: 100%; object-fit: cover; }
.listing-seller-row strong { display: block; }
.listing-seller-row p { margin: 2px 0 0; font-size: 0.8rem; color: var(--muted); }
.listing-cta-row { display: flex; gap: 10px; margin-top: 16px; }
.listing-phone-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0 0;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.listing-phone-row button {
  color: #00786f;
  font-weight: 800;
  letter-spacing: 0;
}
.listing-phone-row button:hover { text-decoration: underline; }
.btn-forest, .btn-outline-forest {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 800;
}
.btn-forest { background: #003c34; color: #fff; }
.btn-forest:hover { background: #002f2a; }
.btn-outline-forest.is-revealed { letter-spacing: 0.04em; }
.listing-cta-row .btn-forest, .listing-cta-row .btn-outline-forest { flex: 1; width: auto; }
.listing-offer { display: grid; gap: 10px; }
.listing-offer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 0.8rem;
}
.listing-offer .ad-fav {
  position: static;
  width: 36px;
  height: 36px;
  box-shadow: none;
  border: 0;
  background: transparent;
}
.listing-offer h1 { margin: 0; font-size: 1.2rem; font-weight: 800; line-height: 1.3; }
.listing-price { margin: 0; font-size: 1.7rem; font-weight: 800; }
.listing-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
}
.listing-more-link {
  display: inline-block;
  margin-top: 14px;
  color: #00786f;
  font-weight: 800;
  font-size: 0.92rem;
}
.listing-more-link:hover { text-decoration: underline; }
.listing-city { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-weight: 700; }
.listing-map {
  position: relative;
  height: 148px;
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(90deg, #cfe8e2 1px, transparent 1px),
    linear-gradient(#cfe8e2 1px, transparent 1px),
    linear-gradient(135deg, #e7f6f2, #d3ebe4);
  background-size: 32px 32px, 32px 32px, auto;
}
.listing-map-pin {
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -80%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #002f34;
  color: #23e5db;
  display: grid;
  place-items: center;
}
.listing-rights-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 800;
}
.listing-rights > p { display: none; margin: 10px 0 0; font-size: 0.88rem; color: var(--muted); }
.listing-rights.is-open > p { display: block; }
.listing-rights.is-open .listing-rights-btn .ui-icon { transform: rotate(180deg); }
.listing-rail-ad {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
}
.listing-rail-ad img { width: 100%; height: auto; display: block; }
.listing-more { margin-top: 40px; }
.listing-more h2 { margin: 0 0 14px; font-size: 1.2rem; font-weight: 800; }
.listing-more-grid.ad-grid { padding: 0; margin: 0; grid-template-columns: repeat(4, 1fr); }
.btn-purple, .btn-gold {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 800;
  margin-top: 10px;
}
.btn-purple { background: var(--purple); color: #fff; }
.btn-gold { background: linear-gradient(145deg, var(--gold), #e0b33a); color: #3a2c00; }
.listed-form, .post-form, .panel-card {
  max-width: 560px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  margin-bottom: 32px;
}
.post-form.post-wizard { max-width: 720px; }
.post-progress {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}
.post-step-dot {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: #e4ece8;
}
.post-step-dot.is-on,
.post-step-dot.is-done { background: #168e71; }
.post-step-kicker {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6a8182;
}
.post-panel-title {
  margin: 0 0 6px;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.post-panel-blurb {
  margin: 0 0 18px;
  color: #6a8182;
  font-size: 14px;
  line-height: 1.5;
}
.post-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}
.post-cat-card {
  display: flex;
  align-items: center;
  min-height: 64px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f7faf9;
  cursor: pointer;
  font-size: 14px;
}
.post-cat-card input { position: absolute; opacity: 0; pointer-events: none; }
.post-cat-card.is-on,
.post-cat-card:has(input:checked) {
  border-color: #168e71;
  background: #e7f5f1;
  box-shadow: inset 0 0 0 1px #168e71;
}
.post-classify-grid,
.post-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}
.post-classify-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 8px;
}
.post-field span,
.post-field small {
  font-size: 12px;
  font-weight: 700;
  color: #5f746e;
}
.post-field small { font-weight: 500; }
.post-wizard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.post-wizard-error {
  margin: 12px 0 0;
  color: #b3261e;
  font-size: 13px;
  font-weight: 600;
}
.post-form .btn-teal:disabled,
.post-form .btn-teal[aria-disabled="true"] {
  background: #d5dedb;
  color: #7a8b86;
  cursor: not-allowed;
  filter: none;
  opacity: 1;
}
.post-form .btn-teal:disabled:hover,
.post-form .btn-teal[aria-disabled="true"]:hover {
  filter: none;
}
.post-free-note {
  margin: 16px 0 0;
  font-size: 13px;
  color: #6a8182;
}
@media (max-width: 640px) {
  .post-classify-grid { grid-template-columns: 1fr; }
}
.listed-form input, .listed-form select, .listed-form textarea,
.post-form input, .post-form select, .post-form textarea,
.modal-card input, .modal-card select, .modal-card textarea {
  width: 100%;
  margin: 8px 0;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #f9fafb;
}
.field-label { margin: 12px 0 4px; font-weight: 700; }
.checks { display: flex; flex-wrap: wrap; gap: 12px; }
.checks label { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.checks input { width: auto; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(0,0,0,0.45);
  display: none;
  place-items: center;
  padding: 16px;
}
.modal:not([hidden]) { display: grid; }
.modal-card {
  position: relative;
  width: min(420px, 100%);
  background: #fff;
  border-radius: 22px;
  padding: 28px 24px 24px;
}
.modal-x { position: absolute; right: 10px; top: 8px; font-size: 1.6rem; color: var(--muted); }
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 60;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--forest);
  color: #fff;
  font-weight: 800;
}
.toast[hidden] { display: none; }
.empty { color: var(--muted); }
.rate-pills { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0; }
.rate-pills span {
  background: #f5f3ff;
  color: var(--purple);
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
}
@media (max-width: 1100px) {
  .cat-circles { grid-template-columns: repeat(6, 1fr); }
  .popular-locations-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .foot-explore-inner, .foot-links-inner { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .ad-grid { grid-template-columns: repeat(3, 1fr); }
  .listing-more-grid.ad-grid { grid-template-columns: repeat(3, 1fr); }
  .hdr-text { display: none; }
  .hdr-biz { padding-left: 10px; margin-left: 4px; }
  .search-bar { flex-wrap: wrap; }
  .search-q,
  .search-loc,
  .search-go {
    width: 100%;
    flex: none;
  }
  .search-q { border-radius: 4px 4px 0 0; }
  .search-loc {
    border-left: 1px solid #cfd8d9;
    border-top: 0;
    border-radius: 0;
  }
  .search-go {
    justify-content: center;
    min-height: 56px;
    border-radius: 0 0 4px 4px;
  }
}
@media (max-width: 720px) {
  .ad-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-circles { grid-template-columns: repeat(3, 1fr); gap: 18px 8px; }
  .popular-locations-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-disc { width: 72px; height: 72px; }
  .listing-layout { grid-template-columns: 1fr; }
  .listing-side { position: static; }
  .listing-gallery, .listing-gallery img, .listing-gallery-stage img { min-height: 260px; height: 280px; }
  .listing-more-grid.ad-grid { grid-template-columns: repeat(2, 1fr); }
  .listing-cta-row { flex-direction: column; }
  .ad-creative--image img { aspect-ratio: 1200 / 320; }
  .biz-offer-inner { flex-direction: column; text-align: center; }
  .biz-learn { margin-left: 0; }
}

/* A consistent, rounded icon language across navigation and classifieds. */
.ui-icon { width: 22px; height: 22px; display: inline-block; flex-shrink: 0; vertical-align: middle; pointer-events: none; }
.hdr-link, .hdr-icon, .hdr-biz { min-height: 44px; box-sizing: border-box; gap: 9px; transition: background .18s ease, color .18s ease; }
.hdr-icon { width: 44px; justify-content: center; border-radius: 50%; }
.hdr-link:hover, .hdr-icon:hover, .hdr-biz:hover { background: #eaf8f5; color: #00786f; }
.header-actions a:focus-visible, .header-actions button:focus-visible, .ad-fav:focus-visible, .cat-circle:focus-visible { outline: 3px solid #16bcb2; outline-offset: 4px; }
.hdr-add { display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.hdr-add .ui-icon { width: 18px; height: 18px; }
.cat-disc { box-shadow: inset 0 0 0 1px #003c3610; }
.cat-disc .ui-icon { width: 34px; height: 34px; stroke-width: 1.6; }
.ad-fav { display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.ad-fav .ui-icon { width: 20px; height: 20px; }
.ad-fav.is-on .ui-icon { fill: currentColor; }
.soc { border-radius: 50%; background: #eaf3f1; }
.soc svg { width: 18px; height: 18px; }
.info-bar-close, .modal-x { display: inline-flex; align-items: center; justify-content: center; }
@media (max-width: 600px) { .hdr-add .ui-icon { display: none; } }

.tabbar { display: none; }
.note-row {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.note-row h3 { margin: 0 0 4px; font-size: 1rem; }
.note-row p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.note-row time { display: block; margin-top: 6px; font-size: 0.78rem; color: var(--muted); }
.note-row.is-unread h3 { color: #00786f; }

/* Shared store badges: preserve brand shapes and readable two-line labels. */
.store-badges { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; }
.store-badges .store { display: inline-flex; align-items: center; justify-content: flex-start; gap: 10px; min-width: 158px; min-height: 54px; box-sizing: border-box; padding: 9px 14px; margin: 0; border: 1px solid #394343; border-radius: 11px; background: #101818; color: #fff; text-decoration: none; transition: background .18s ease, border-color .18s ease; }
.store img { flex: none; width: 26px; height: 30px; object-fit: contain; }
.store span { display: flex; flex-direction: column; gap: 2px; }
.store small { font-size: 9px; line-height: 1.2; font-weight: 500; letter-spacing: .04em; }
.store strong { font-size: 18px; line-height: 1.1; font-weight: 600; letter-spacing: -.03em; }
.store:hover { background: #253535; border-color: #6c8b88; }
.store:focus-visible { outline: 3px solid #19cfc5; outline-offset: 4px; }
.store-badges p { flex-basis: 100%; }
.listing-offer .ad-fav.is-on { color: var(--purple); }
@media (max-width: 768px) {
  .site-header-inner {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 8px;
    padding: 0 12px;
    min-height: 56px;
  }
  .header-actions { gap: 4px; }
  .hdr-desk { display: none !important; }
  .hdr-biz {
    margin-left: 0;
    padding: 0;
    width: 44px;
    justify-content: center;
    border-left: 0;
    border-radius: 50%;
  }
  /* Text-only button: no room beside Create on phones (the account menu links to My Business). */
  .mybiz-wrap { display: none; }
  .hdr-add { margin-left: 0; padding: 8px 10px; white-space: nowrap; }
  .brand-mark { width: 28px; height: 28px; }
  .brand-name { font-size: 1.22rem; }
  .account-wrap { margin-left: 0; }
  .tabbar {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 35;
    background: #fff;
    border-top: 1px solid var(--line);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
  }
  .tabbar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-height: 48px;
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 700;
    border-radius: 10px;
  }
  .tabbar-item { min-width: 0; }
  .tabbar-item span { white-space: nowrap; font-size: clamp(9px, 2.5vw, 10.88px); }
  .tabbar-item .ui-icon { width: 22px; height: 22px; }
  .tabbar-item.is-on { color: var(--forest); }
  .tabbar-item:focus-visible { outline: 3px solid #16bcb2; outline-offset: 2px; }
  body { padding-bottom: calc(62px + env(safe-area-inset-bottom, 0px)); }
}

.inner-page {
  min-height: 48vh;
  padding: 28px 0 64px;
}
.inner-kicker {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.inner-page h1 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.inner-lead {
  margin: 0 0 28px;
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.05rem;
}
.inner-body h2 {
  margin: 28px 0 8px;
  font-size: 1.15rem;
  font-weight: 800;
}
.inner-body h2:first-child { margin-top: 0; }
.inner-body p,
.inner-body li {
  color: var(--muted);
  max-width: 46rem;
}
.inner-body ul,
.inner-body ol {
  padding-left: 1.2rem;
}
.inner-body a {
  color: var(--forest);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.inner-body .btn-teal,
.inner-body .btn-outline {
  text-decoration: none;
}
.inner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}
.btn-teal,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}
.btn-teal {
  background: var(--teal);
  color: var(--forest);
}
.btn-teal:hover { filter: brightness(0.97); }
.btn-outline {
  border: 2px solid var(--forest);
  color: var(--forest);
}
.inner-links {
  list-style: none;
  padding: 0;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  max-width: 640px;
}
.inner-links li { margin: 0; max-width: none; }
.inner-links a {
  display: block;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
  text-decoration: none;
}
.inner-links li:last-child a { border-bottom: 0; }
.inner-body .inner-links a { text-decoration: none; }
.inner-links a:hover { background: #f4fbfa; }
.inner-cols {
  columns: 2;
  column-gap: 40px;
}
.inner-cols ul {
  break-inside: avoid;
  margin: 0 0 18px;
}
@media (max-width: 640px) {
  .inner-cols { columns: 1; }
}
.download-grid {
  display: grid;
  gap: 14px;
  margin: 0 0 28px;
  max-width: 520px;
}
@media (min-width: 640px) {
  .download-grid { grid-template-columns: 1fr 1fr; }
}
.download-tile {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  text-decoration: none;
}
.download-tile:hover { border-color: #9bb3b5; background: #f4fbfa; }
.download-tile strong {
  color: var(--forest);
  font-size: 1.05rem;
  font-weight: 800;
}
.download-tile span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}
.download-tile.disabled { opacity: 0.65; pointer-events: none; }
.inner-body .download-tile,
.inner-body .download-tile strong,
.inner-body .download-tile span { text-decoration: none; }
.download-store-logo { display: block; margin-bottom: 8px; object-fit: contain; }
.apple-logo { filter: brightness(0); }
.map-region { margin: 0 0 18px; }
.map-region h2 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 800;
}
.map-region h2 a { color: inherit; text-decoration: none; }
.map-region h2 a:hover { color: #00786f; text-decoration: underline; }
.map-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px 28px;
  background: #eaf8f5;
  padding: 16px 20px 18px;
  border-radius: 8px;
}
.map-grid a {
  color: #3a5558;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.map-grid a:hover { color: var(--forest); text-decoration: underline; }
.map-count {
  margin-left: 6px;
  color: #00786f;
  font-variant-numeric: tabular-nums;
}
.map-crumbs {
  margin: 0 0 10px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
}
.map-crumbs a { color: #00786f; text-decoration: none; }
.map-crumbs a:hover { text-decoration: underline; }
@media (max-width: 900px) {
  .map-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .map-grid { grid-template-columns: 1fr; }
}
/* Refined listing filters and informative card footers. */
.filters-inner { padding: 24px; border: 1px solid #dce6df; border-radius: 18px; background: #fff; width: calc(100% - 48px); max-width: calc(var(--content-max) - 48px); box-shadow: 0 5px 20px #003b3704; }
.filters-heading { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 24px; }
.filters-title { font-size: 23px; letter-spacing: -.035em; margin: 0 0 6px; }
.filters-description { font-size: 12px; margin: 0; color: #789087; }
.filters-reset { display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid #dce6df; border-radius: 8px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.filters-reset span { background: #d9eee3; padding: 1px 6px; border-radius: 5px; }
.filters-reset:disabled { opacity: .45; cursor: default; }
.filters-row { grid-template-columns: repeat(var(--filter-columns, 4), minmax(0, 1fr)); gap: 14px; }
.filter-field > span { font-size: 11px; font-weight: 700; color: #5e7a6c; margin-bottom: 8px; }
.filter-field small { font-size: 10px; font-weight: 500; }
.filter-dd-btn, .filter-price input { height: 47px; min-height: 47px; background: #f8faf8; border: 1px solid #dbe5dd; border-radius: 9px; padding: 10px 13px; font-size: 13px; font-weight: 600; }
.filter-dd-btn { padding-right: 32px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.filter-dd-btn::after { width: 7px; height: 7px; right: 15px; }
.filter-dd-btn:hover, .filter-price input:hover { border-color: #95b8a4; }
.filter-dd.is-open .filter-dd-btn, .filter-price input:focus { border-color: #328a70; box-shadow: 0 0 0 3px #328a7012; outline: none; background: #fff; }
.filter-menu { border: 1px solid #dce6df; padding: 6px; border-radius: 12px; box-shadow: 0 15px 35px #003b371c; }
.filter-item { font-size: 13px; border-radius: 7px; padding: 11px 12px; }
.filter-item.is-on { background: #e0f0e6; color: #005840; font-weight: 700; }
.filter-col { min-width: 180px; padding: 0 4px; }
.filter-menu-hint { padding: 10px; font-size: 12px; color: #789087; }
.filter-listers { border-top: 1px solid #edf1ec; padding-top: 17px; margin-top: 20px; align-items: center; gap: 8px; }
.filter-lister-label { font-size: 11px; color: #6d8577; margin-right: 6px; }
.filter-listers button { font-size: 11px; padding: 7px 14px; border-radius: 20px; background: #f6f9f6; border: 1px solid #e2e9e2; }
.filter-listers button.is-on { background: #003b37; color: #fff; border-color: #003b37; }
.filter-dd-btn:focus-visible, .filter-item:focus-visible, .filters-reset:focus-visible, .filter-listers button:focus-visible { outline: 3px solid #27a486; outline-offset: 2px; }
.ad-card { border: 1px solid #e3e9e4; }
.ad-copy { padding: 14px 14px 10px; }
.ad-copy .meta { display: flex; align-items: center; gap: 5px; font-size: 11px; padding-top: 12px; padding-bottom: 12px; }
.ad-copy .meta .ui-icon { width: 13px; height: 13px; }
.ad-card-bottom { display: flex; align-items: center; gap: 6px; border-top: 1px solid #edf0eb; margin-top: 4px; padding-top: 8px; min-height: 46px; }
.ad-card-facts { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; min-width: 0; flex: 1; color: #637b70; font-size: 10px; }
.ad-features { display: flex; gap: 10px; align-items: center; }
.ad-feature { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; color: #345b4a; }
.ad-feature .ui-icon { width: 17px; height: 17px; }
.ad-color { text-transform: capitalize; }.ad-color span { max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ad-color-dot { display: inline-block; width: 11px; height: 11px; border: 1px solid #002f3433; border-radius: 50%; }
.ad-updated.has-details { border-left: 1px solid #d9e2db; padding-left: 8px; }
.ad-card-bottom .ad-fav { margin: 0 0 0 auto; width: 36px; height: 36px; border-radius: 50%; background: #f3f7f3; color: #557c68; }
.ad-card-bottom .ad-fav:hover { background: #def0e3; }.ad-card-bottom .ad-fav.is-on { color: #007c61; background: #def0e3; }
@media (max-width: 900px) { .filters-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
 .filters-inner { width: calc(100% - 28px); max-width: none; padding: 17px; border-radius: 14px; }
 .filters-heading { gap: 10px; align-items: start; }.filters-title { font-size: 20px; }.filters-description { font-size: 11px; }.filters-reset { padding: 7px 8px; font-size: 10px; }
 .filters-row { gap: 14px 10px; }.filter-dd-btn, .filter-price input { font-size: 12px; padding-left: 10px; }.filter-price { gap: 5px; }
 .filter-listers { flex-wrap: wrap; gap: 5px; }.filter-listers button { padding: 7px 10px; }
 .filter-menu-split { min-width: 270px; }.filter-col { min-width: 130px; }.filter-item { font-size: 11px; padding: 10px 7px; }
 .ad-copy { padding: 11px 10px 8px; }.ad-card-bottom { gap: 4px; }.ad-card-facts { gap: 5px; font-size: 9px; }.ad-feature { font-size: 10px; }.ad-features { gap: 8px; }
 .ad-card-bottom .ad-fav { width: 32px; height: 32px; }.ad-updated.has-details { border-left: 0; border-top: 1px solid #e0e7e1; flex-basis: 100%; padding: 5px 0 0; }
}
.filter-listers { border-bottom: 0; }
@media (max-width: 600px) { .filter-field:has(.filter-price) { grid-column: 1 / -1; } }
/* Responsive classified detail and category-specific information. */
.has-listing #view-ad { padding-top: 18px; padding-bottom: 40px; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.detail-gallery { grid-column: 1; grid-row: 1; min-width: 0; }
.detail-offer { grid-column: 2; grid-row: 1 / span 2; position: sticky; top: calc(86px + var(--vertical-nav-h)); background: #fff; border: 1px solid #dfe8e1; border-radius: 18px; padding: 24px; }
.detail-content { grid-column: 1; min-width: 0; display: grid; gap: 20px; }
.detail-gallery .listing-gallery { border-radius: 18px; min-height: 0; background: #eef2ee; }
.detail-gallery .listing-gallery-stage img { height: 440px; min-height: 0; background: #eef2ee; }
.detail-gallery .listing-thumbs { padding: 5px 2px; gap: 9px; }
.detail-gallery .listing-thumb { width: 68px; height: 54px; border: 2px solid transparent; border-radius: 9px; }
.detail-gallery .listing-thumb.is-on { border-color: #16826a; box-shadow: 0 0 0 2px #d7ede3; }
.detail-heading-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.detail-category { font-size: 11px; font-weight: 700; border-radius: 6px; background: #e8f3eb; color: #38735c; padding: 5px 9px; }
.detail-offer .ad-fav { width: 40px; height: 40px; border-radius: 50%; background: #f3f7f3; position: static; }
.detail-offer h1 { font-size: 25px; line-height: 1.22; letter-spacing: -.035em; margin: 16px 0 12px; overflow-wrap: anywhere; }
.detail-place { display: flex; align-items: center; gap: 7px; color: #698075; font-size: 12px; }.detail-place .ui-icon { width: 15px; height: 15px; }
.detail-offer .listing-price { font-size: 29px; margin: 22px 0 4px; letter-spacing: -.04em; overflow-wrap: anywhere; }
.detail-date { color: #84928b; font-size: 11px; margin: 0 0 22px; }
.detail-desktop-actions { display: grid; gap: 10px; }.detail-desktop-actions :is(a,button) { width: 100%; min-height: 46px; }
.detail-seller-mini { display: flex; gap: 12px; align-items: center; padding-top: 22px; margin-top: 24px; border-top: 1px solid #e6ece6; }
.detail-seller-mini strong { display: block; font-size: 14px; overflow-wrap: anywhere; }.detail-seller-mini small { font-size: 11px; color: #748679; }
.detail-seller-mini .listing-avatar { width: 40px; height: 40px; }.detail-contact-link { display: inline-block; font-size: 11px; margin-top: 16px; font-weight: 700; }
.detail-panel { background: #fff; border: 1px solid #e0e7e1; border-radius: 18px; padding: 26px; scroll-margin-top: 84px; }
.detail-content .review-section { background: #fff; border: 1px solid #e0e7e1; border-radius: 18px; padding: 26px; margin: 0; }
.detail-content .review-section h2 { font-size: 22px; letter-spacing: -.03em; }
.detail-eyebrow { font-size: 9px; font-weight: 800; color: #47806a; letter-spacing: .12em; margin: 0 0 8px; }
.detail-panel h2 { font-size: 22px; letter-spacing: -.03em; margin: 0 0 20px; }.detail-description { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; line-height: 1.8; color: #4c685a; }
.detail-specs { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }.detail-spec { display: flex; align-items: center; background: #f4f8f3; border: 1px solid #e9eee6; padding: 14px 12px; border-radius: 11px; min-width: 0; }.detail-spec dt { font-size: 10px; color: #778b7b; line-height: 1.2; }.detail-spec dd { margin: 0; font-size: 13px; font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }.detail-spec > div { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.detail-amenity-title { margin: 24px 0 12px; font-size: 14px; }.detail-amenities { display: flex; flex-wrap: wrap; gap: 9px; list-style: none; padding: 0; margin: 0; }.detail-amenities li { display: flex; align-items: center; gap: 7px; padding: 8px 11px; border: 1px solid #dfe9e0; border-radius: 24px; font-size: 12px; }.detail-amenities span { color: #128568; }
.detail-map iframe { display: block; width: 100%; height: 280px; border: 1px solid #e0e7e1; border-radius: 12px; margin: 16px 0; }.detail-map > a { font-weight: 700; font-size: 12px; }.detail-map > small { display: block; margin-top: 10px; color: #718779; font-size: 11px; }
.detail-safety { display: flex; align-items: start; gap: 14px; padding: 22px; background: #f5f2e6; border-radius: 14px; color: #655f42; }.detail-safety strong { font-size: 14px; }.detail-safety p { font-size: 12px; line-height: 1.65; }.detail-safety a { font-size: 12px; font-weight: 700; }
.detail-contactbar { display: none; }.detail-panel .listing-meta-row { margin-top: 24px; padding-top: 16px; border-top: 1px solid #e9eee7; font-size: 10px; }
.post-details, .post-map-fields { border: 1px solid #dce7df; padding: 18px; border-radius: 12px; margin: 16px 0; }.post-details legend { font-weight: 700; padding: 0 7px; }.post-details legend small { font-weight: 400; color: #789081; }.post-details-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }.post-detail-field { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 600; }.post-detail-field :is(input,select) { width: 100%; min-width: 0; }.post-amenities { grid-column: 1/-1; display: flex; flex-wrap: wrap; gap: 10px 16px; border: 0; padding: 0; }.post-amenities legend { padding: 10px 0; font-size: 13px; }.post-amenities label { display: flex; align-items: center; gap: 6px; font-size: 12px; }.post-amenities input[type=checkbox] { width: 17px; height: 17px; margin: 0; }.post-map-fields summary { cursor: pointer; font-weight: 700; font-size: 14px; }.post-map-fields p { font-size: 12px; color: #678071; }.post-map-fields .post-details-grid { margin-top: 15px; }
@media (max-width: 900px) { .detail-layout { grid-template-columns: minmax(0,1fr) 300px; gap: 16px; }.detail-specs { grid-template-columns: repeat(2,minmax(0,1fr)); }.detail-offer { padding: 20px; } }
@media (max-width: 720px) {
 .has-listing .tabbar { display: none; }.has-listing { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
 .has-listing #view-ad { padding-left: 14px; padding-right: 14px; padding-top: 12px; }.has-listing .listing-crumb { padding: 0; margin-bottom: 12px; }.has-listing .listing-crumb p { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
 .detail-layout { display: flex; flex-direction: column; gap: 16px; }.detail-gallery, .detail-offer, .detail-content { width: 100%; }.detail-offer { position: static; order: 1; padding: 19px; }.detail-gallery { order: 0; }.detail-content { order: 2; gap: 16px; }
 .detail-gallery .listing-gallery { border-radius: 14px; }.detail-gallery .listing-gallery-stage img { height: auto; aspect-ratio: 4/3; max-height: 440px; }.detail-gallery .listing-letter { min-height: 250px; }.detail-gallery .listing-thumb { width: 58px; height: 46px; }.detail-gallery .listing-thumb img { width: 100%; height: 100%; }
 .detail-offer h1 { font-size: 23px; margin-top: 12px; }.detail-offer .listing-price { font-size: 28px; margin-top: 16px; }.detail-date { margin-bottom: 0; }.detail-desktop-actions, .detail-seller-mini, .detail-contact-link { display: none; }
 .detail-panel { padding: 20px 17px; border-radius: 14px; }.detail-panel h2 { font-size: 20px; margin-bottom: 17px; }.detail-specs { gap: 8px; }.detail-spec { padding: 12px 10px; gap: 8px; }.detail-amenities li { font-size: 11px; padding: 8px 10px; }.detail-description { font-size: 14px; }.detail-panel .listing-seller-row { align-items: start; }.detail-panel .listing-seller-row > div { min-width: 0; overflow-wrap: anywhere; }
 .detail-contactbar { display: flex; gap: 10px; position: fixed; bottom: 0; left: 0; right: 0; z-index: 45; background: #fff; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid #dce6df; box-shadow: 0 -4px 20px #123b3610; }.detail-contactbar :is(button,a) { flex: 1; font-size: 13px; min-height: 46px; padding: 10px; border-radius: 10px; justify-content: center; }
 .post-details-grid { grid-template-columns: 1fr; }.detail-map iframe { height: 230px; }.has-listing .listing-more h2 { font-size: 21px; }
}
/* Accessible listing report dialog. */
body.has-modal { overflow: hidden; }
.modal { overscroll-behavior: contain; }
.modal-card { max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain; }
.modal.is-report .modal-card { width: min(520px, 100%); padding: 28px; border-radius: 20px; box-shadow: 0 24px 90px #002f3429; }
.modal-x { width: 36px; height: 36px; border-radius: 50%; background: #f3f6f3; top: 14px; right: 14px; z-index: 1; }
.report-symbol { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: #fff0e6; color: #b85524; margin-bottom: 17px; }
.is-report h2 { font-size: 27px; letter-spacing: -.035em; line-height: 1.15; margin: 0 0 10px; padding-right: 14px; }
.is-report h2:focus { outline: none; }
.report-intro { color: #678074; font-size: 13px; line-height: 1.6; margin: 0 0 18px; }
.report-listing { display: flex; align-items: center; gap: 10px; padding: 12px; background: #f3f7f3; border: 1px solid #e5ece4; border-radius: 10px; font-size: 12px; font-weight: 600; margin-bottom: 22px; }.report-listing span { overflow-wrap: anywhere; }
.report-reasons { border: 0; margin: 0; padding: 0; }.report-reasons legend { font-size: 13px; font-weight: 700; margin: 0 0 12px; }
.report-reason { display: flex; align-items: center; gap: 11px; border: 1px solid #e1e8e1; border-radius: 10px; padding: 11px 12px; margin-bottom: 7px; cursor: pointer; }
.report-reason:hover { background: #f5f9f4; }.report-reason:has(input:checked) { border-color: #178567; background: #edf7ef; }.report-reason:focus-within { outline: 2px solid #168e71; outline-offset: 2px; }
.modal-card .report-reason input { appearance: auto; width: 17px; height: 17px; margin: 0; padding: 0; flex: none; accent-color: #087759; }
.report-reason strong { display: block; font-size: 12px; font-weight: 700; }.report-reason small { display: block; font-size: 10px; color: #789081; margin-top: 3px; line-height: 1.4; }
.report-notes-label { display: block; font-size: 12px; font-weight: 700; margin: 19px 0 8px; }.report-notes-label span { color: #7d9183; font-weight: 400; }
.modal-card #report-notes { font-size: 12px; min-height: 85px; resize: vertical; border-radius: 10px; line-height: 1.6; margin: 0; }.report-count { text-align: right; margin-top: 5px; font-size: 10px; color: #829386; }
.report-privacy { font-size: 11px; line-height: 1.6; color: #738879; margin: 15px 0; }
.report-actions { display: flex; gap: 10px; padding-top: 16px; border-top: 1px solid #e6ece4; }.report-cancel { min-height: 44px; padding: 10px 19px; border: 1px solid #dce6dc; border-radius: 10px; font-size: 12px; font-weight: 700; }.report-submit { display: inline-flex; justify-content: center; align-items: center; gap: 9px; flex: 1; min-height: 44px; padding: 11px 16px; border-radius: 10px; background: #003b37; color: #fff; font-size: 12px; font-weight: 700; }.report-submit .ui-icon { width: 16px; height: 16px; }.report-submit:disabled { opacity: .6; cursor: wait; }.report-error { background: #fff0ec; border-radius: 8px; padding: 10px 12px; font-size: 12px; color: #a33f25; }.report-error[hidden] { display: none; }
.report-success-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #e0f2e6; color: #128561; font-size: 27px; margin: 8px 0 22px; }.report-reference { background: #f4f7f2; padding: 14px; border-radius: 10px; color: #64816c; font-size: 11px; }.report-reference strong { display: block; margin-top: 5px; color: #254f39; overflow-wrap: anywhere; font-size: 12px; }.report-done { width: 100%; margin-top: 5px; }
.is-report button:focus-visible { outline: 3px solid #24a483; outline-offset: 3px; }
.report-sheet-handle { display: none; }
@keyframes report-sheet-up {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
@media (max-width: 600px) {
  .modal.is-report:not([hidden]) {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
    padding: 0;
  }
  .modal.is-report .modal-card {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 8px 19px calc(18px + env(safe-area-inset-bottom));
    border-radius: 22px 22px 0 0;
    max-height: min(92dvh, 100%);
    box-shadow: 0 -12px 48px #002f3433;
    animation: report-sheet-up 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .modal.is-report .modal-x { top: 18px; right: 14px; }
  .report-sheet-handle {
    display: block;
    width: 40px;
    height: 4px;
    margin: 4px auto 14px;
    border-radius: 999px;
    background: #c9d5cc;
  }
  .is-report h2 { font-size: 24px; }
  .report-reason { padding: 12px 10px; }
  .report-reason small { font-size: 11px; }
  .report-symbol { margin-bottom: 13px; }
  .modal.is-report .report-actions {
    position: sticky;
    bottom: 0;
    z-index: 2;
    margin: 0 -19px;
    padding: 14px 19px calc(6px + env(safe-area-inset-bottom));
    background: linear-gradient(#fffc 0%, #fff 28%);
    border-top: 1px solid #e6ece4;
  }
  .modal.is-report .report-done { margin-top: 0; }
}

/* Auth dialog — matches report modal / account UI */
.modal.is-auth .modal-card {
  width: min(440px, 100%);
  padding: 28px;
  border-radius: 20px;
  box-shadow: 0 24px 90px #002f3429;
}
.auth-sheet-handle { display: none; }
.is-auth h2 {
  font-size: 27px;
  letter-spacing: -.035em;
  line-height: 1.15;
  margin: 0 0 10px;
  padding-right: 14px;
  color: #003238;
}
.is-auth h2:focus { outline: none; }
.auth-intro {
  color: #678074;
  font-size: 13px;
  line-height: 1.6;
  margin: 0 0 22px;
}
.auth-intro strong { color: #254f39; font-weight: 700; }
.auth-form { margin: 0; }
.auth-field {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #254f39;
  margin: 0 0 7px;
}
.auth-form .auth-field + input,
.auth-form .auth-field + .auth-pin-wrap { margin-top: 0; }
.auth-form input + .auth-field,
.auth-form .auth-pin-wrap + .auth-field { margin-top: 16px; }
/* Phone with an African country code (site-chrome phoneField). */
.auth-phone { display: flex; gap: 8px; align-items: stretch; }
.auth-phone input { flex: 1; min-width: 0; }
.auth-phone-cc { position: relative; flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; min-width: 96px; padding: 0 12px; border: 1px solid #dce6dc; border-radius: 10px; background: #f7faf7; color: #254f39; font-size: 14px; font-weight: 800; white-space: nowrap; box-sizing: border-box; }
.auth-phone-cc::after { content: ''; width: 7px; height: 7px; margin-left: auto; border-right: 2px solid #5b7a70; border-bottom: 2px solid #5b7a70; transform: translateY(-2px) rotate(45deg); }
.auth-phone-cc select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 16px; }
.auth-phone-cc:focus-within { outline: 2px solid #218a70; outline-offset: 1px; }
.auth-form .auth-phone + .auth-field { margin-top: 16px; }
.modal.is-auth .modal-card input {
  margin: 0 0 0;
  padding: 13px 14px;
  border: 1px solid #dce6dc;
  border-radius: 10px;
  background: #f7faf7;
  font-size: 14px;
  width: 100%;
  box-sizing: border-box;
}
.modal.is-auth .modal-card input:focus {
  outline: 2px solid #168e71;
  outline-offset: 1px;
  background: #fff;
}
.auth-pin-wrap {
  position: relative;
  display: block;
}
.auth-pin-wrap input {
  padding-right: 46px !important;
  letter-spacing: 0.18em;
}
.auth-pin-wrap input::placeholder {
  letter-spacing: normal;
}
.auth-pin-toggle {
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #5f7a6f;
  cursor: pointer;
}
.auth-pin-toggle:hover { color: #254f39; background: #e8f1ea; }
.auth-pin-toggle .ui-icon { width: 18px; height: 18px; }
.auth-error {
  background: #fff0ec;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 12px;
  color: #a33f25;
  margin: 14px 0 0;
}
.auth-error[hidden] { display: none; }
.auth-submit {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 46px;
  margin-top: 20px;
  padding: 12px 16px;
  border-radius: 10px;
  background: #003b37;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.auth-submit .ui-icon { width: 16px; height: 16px; }
.auth-submit:disabled { opacity: .6; cursor: wait; }
.auth-submit:hover:not(:disabled) { background: #00645e; }
.auth-switch {
  margin: 18px 0 0;
  text-align: center;
  font-size: 13px;
  color: #6a8182;
}
.auth-switch button {
  color: #006d60;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.auth-switch button:hover { color: #003b37; }
.is-auth button:focus-visible { outline: 3px solid #24a483; outline-offset: 3px; }
@keyframes auth-sheet-up {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
@media (max-width: 600px) {
  .modal.is-auth:not([hidden]) {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
    padding: 0;
  }
  .modal.is-auth .modal-card {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 8px 19px calc(18px + env(safe-area-inset-bottom));
    border-radius: 22px 22px 0 0;
    max-height: min(92dvh, 100%);
    box-shadow: 0 -12px 48px #002f3433;
    animation: auth-sheet-up 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .modal.is-auth .modal-x { top: 18px; right: 14px; }
  .auth-sheet-handle {
    display: block;
    width: 40px;
    height: 4px;
    margin: 4px auto 14px;
    border-radius: 999px;
    background: #c9d5cc;
  }
  .is-auth h2 { font-size: 24px; }
}

/* Account pages: Chat, Favourites, Notifications */
.account-page {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 0 48px;
  background: #f7f9f9;
  min-height: 60vh;
}
.account-page-head {
  position: relative;
  padding: 28px var(--content-gutter) 0;
  background: linear-gradient(135deg, #ecfbf8, #fff 75%);
  border-bottom: 1px solid #dbe8e6;
}
.account-close {
  display: none;
}
.account-page-head h1 {
  font-size: clamp(26px, 4vw, 34px);
  letter-spacing: -1.2px;
  line-height: 1.15;
  margin: 0;
  color: #003238;
  outline: none;
}
.account-page-head > p {
  font-size: 14px;
  color: #6a8182;
  margin: 10px 0 24px;
}
.account-switcher {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}
.account-switcher button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex: 1;
  border: 0;
  border-bottom: 3px solid transparent;
  padding: 15px 5px;
  background: none;
  color: #6c8282;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.account-switcher button .ui-icon { width: 17px; height: 17px; }
.account-switcher button[aria-current] { color: #006d60; border-color: #0db8a5; }
.account-switcher button:hover { background: #eaf6f2; }
.account-body,
.account-page .ads-band {
  padding: 24px var(--content-gutter);
  background: transparent;
}
.account-page #fav-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  max-width: none;
}
.account-page #fav-grid > .account-empty { grid-column: 1 / -1; }
.account-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 24px 32px;
  max-width: 440px;
  margin: auto;
}
.account-empty-art {
  position: relative;
  display: grid;
  place-items: center;
  width: 106px;
  height: 106px;
  background: linear-gradient(145deg, #e0f9f1, #f1f8ed);
  border: 1px solid #cfebe2;
  border-radius: 34px;
  transform: rotate(-7deg);
  margin: 8px 0 32px;
  box-shadow: 0 12px 0 -5px #edf2ef;
}
.account-empty-art > .ui-icon {
  width: 43px;
  height: 43px;
  color: #008979;
  transform: rotate(7deg);
  stroke-width: 1.4;
}
.account-empty-art span {
  position: absolute;
  right: -9px;
  bottom: -7px;
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  background: #ffd574;
  border: 4px solid #f7f9f9;
  border-radius: 50%;
}
.account-empty-art span .ui-icon { width: 15px; height: 15px; }
.account-empty h3 {
  font-size: 23px;
  letter-spacing: -.6px;
  margin: 0 0 12px;
  color: #143c3f;
}
.account-empty > p {
  font-size: 14px;
  line-height: 1.8;
  color: #6c8281;
  margin: 0 0 26px;
  max-width: 310px;
}
.account-empty > button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 24px;
  border: 0;
  border-radius: 12px;
  background: #003c3f;
  color: white;
  font: inherit;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  box-shadow: 0 5px 10px #003c3f12;
}
.account-empty > button:hover { background: #00645e; }
.account-empty > button .ui-icon { width: 17px; height: 17px; }
.account-empty small {
  font-size: 11px;
  color: #879997;
  margin-top: 24px;
  line-height: 1.6;
}
.account-page .note-row {
  position: relative;
  background: #fff;
  border: 1px solid #e2eae7;
  border-radius: 16px;
  margin: 0 0 12px;
  padding: 21px 23px 21px 32px;
  box-shadow: 0 3px 10px #003c3f03;
}
.account-page .note-row.is-unread {
  background: #effbf7;
  border-color: #cbe9df;
}
.account-page .note-row.is-unread:before {
  content: '';
  position: absolute;
  left: 13px;
  top: 27px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #05a48d;
}
.account-page .note-row h3 { font-size: 15px; margin: 0 0 7px; }
.account-page .note-row p { font-size: 13px; line-height: 1.6; color: #617a79; margin: 0 0 12px; }
.account-page .note-row time { font-size: 10px; color: #879694; }
.account-page [data-open-thread] {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 20px;
  border: 1px solid #dce8e3;
  border-radius: 16px;
  background: #fff;
  color: #123f41;
  font: inherit;
  text-align: left;
  margin-bottom: 12px;
  cursor: pointer;
}
.account-page [data-open-thread]:before {
  content: '↗';
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 15px;
  background: #e5f5ef;
  color: #168473;
  flex: none;
}
.account-page .chat-person {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
}
.account-page .chat-person > strong { font-weight: 700; font-size: 14px; }
.account-page .desktop-chat-preview {
  display: block;
  font-size: 12px;
  color: #78908d;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 100%;
}
.account-page .desktop-chat-arrow {
  display: block;
  transform: rotate(-90deg);
  color: #78908d;
  flex: none;
}
.chat-thread-head {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-bottom: 20px;
  border-bottom: 1px solid #deebe5;
}
.chat-thread-head button {
  display: grid;
  place-items: center;
  border: 1px solid #dbe5e1;
  background: white;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
}
.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 0;
  max-height: min(52vh, 480px);
  min-height: 120px;
  overflow-y: auto;
}
.chat-bubble {
  align-self: flex-start;
  max-width: 85%;
  background: white;
  border: 1px solid #dceae4;
  border-radius: 14px 14px 14px 3px;
  padding: 12px 16px;
}
.chat-bubble.is-mine {
  align-self: flex-end;
  background: #e2f5ed;
  border-radius: 14px 14px 3px 14px;
}
.chat-bubble p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 13px;
  line-height: 1.6;
  margin: 0 0 6px;
}
.chat-bubble time { font-size: 10px; color: #75908a; }
#desktop-chat-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid #dce8e3;
  padding-top: 16px;
}
#desktop-chat-form textarea {
  width: 100%;
  resize: vertical;
  border: 1px solid #d3e3db;
  border-radius: 12px;
  padding: 14px;
  font: inherit;
  font-size: 13px;
  background: white;
}
#desktop-chat-form button {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 10px;
  background: #003c3f;
  color: white;
  padding: 12px 18px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
#desktop-chat-form button:disabled { opacity: .5; cursor: wait; }
.chat-error { width: 100%; color: #a33f25; font-size: 12px; }
.account-page :focus-visible { outline: 3px solid #0fae9a; outline-offset: 3px; }
.account-backdrop { display: none; }
@media (max-width: 720px) {
  .account-page { padding-bottom: 24px; }
  .account-page-head { padding-top: 20px; }
  .account-page-head h1 { font-size: 26px; letter-spacing: -.8px; }
  .account-page-head > p { font-size: 13px; margin-bottom: 16px; }
  .account-switcher button { font-size: 11px; padding: 12px 4px; gap: 5px; }
  .account-body, .account-page .ads-band { padding: 18px var(--content-gutter); }
  .account-page #fav-grid { grid-template-columns: 1fr; gap: 12px; }
  .account-empty { padding: 36px 12px 24px; }
  .account-empty-art { width: 88px; height: 88px; border-radius: 28px; margin-bottom: 24px; }
  .account-empty-art > .ui-icon { width: 36px; height: 36px; }
  .account-empty h3 { font-size: 20px; }
  .account-page [data-open-thread] { padding: 16px; gap: 12px; }
  .account-page [data-open-thread]:before { width: 38px; height: 38px; border-radius: 12px; }
}
@media (min-width: 901px) {
  body.has-account-panel { overflow: hidden; }
  .account-backdrop:not([hidden]) {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 35, 39, 0.35);
    backdrop-filter: blur(4px);
    z-index: 42;
    animation: account-fade 0.22s ease-out;
  }
  #stage .view.account-page.account-panel:not([hidden]) {
    display: block !important;
    position: fixed;
    inset: 0 0 0 auto;
    width: min(610px, calc(100vw - 80px));
    max-width: none;
    height: 100dvh;
    margin: 0;
    padding: 0 0 32px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #f7f9f9;
    z-index: 43;
    box-shadow: -20px 0 80px #002b3030;
    animation: account-slide 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .account-panel .account-page-head {
    padding: 32px 32px 0;
  }
  .account-panel .account-close {
    display: grid;
    place-items: center;
    position: absolute;
    right: 28px;
    top: 32px;
    width: 40px;
    height: 40px;
    border: 1px solid #dbe5e3;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    color: #33565a;
  }
  .account-panel .account-close:hover {
    background: #e5f7f2;
    transform: rotate(90deg);
  }
  .account-panel .account-body,
  .account-panel .ads-band {
    padding: 24px 28px;
  }
  .account-panel #fav-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  @keyframes account-slide {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
  }
  @keyframes account-fade {
    from { opacity: 0; }
    to { opacity: 1; }
  }
}
@media (prefers-reduced-motion: reduce) {
  .account-panel,
  .account-backdrop {
    animation: none !important;
  }
}

.ui-icon--fill { fill: currentColor; stroke: none !important; }

/* Shared profile dropdown, including pages that do not load account.css. */
#account-menu { width: 292px; min-width: 0; max-width: calc(100vw - 24px); max-height: calc(100dvh - 88px); overflow-y: auto; padding: 8px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 16px 48px #002f3424; }
#account-menu [hidden] { display: none !important; }
#account-menu > a, #account-menu > button { display: flex !important; align-items: center; justify-content: flex-start; gap: 12px; min-height: 42px; padding: 10px 12px !important; border-radius: 7px !important; font-size: 13px; line-height: 1.4; font-weight: 600; color: var(--forest); }
#account-menu > [hidden], #account-menu[hidden] { display: none !important; }
#account-menu .ui-icon { width: 18px; height: 18px; flex: 0 0 18px; color: var(--muted); }
#account-menu > .account-menu-identity { gap: 12px; padding: 14px 12px !important; margin: 0 0 8px; background: #f0f8f6; border-radius: 9px !important; }
#account-menu .account-menu-identity-avatar { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; overflow: hidden; border-radius: 50%; background: var(--mint-bar); font-weight: 800; }
#account-menu .account-menu-identity-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
#account-menu .account-menu-identity-copy { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
#account-menu .account-menu-identity-copy strong { display: block; font-size: 15px; line-height: 1.3; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
#account-menu .account-menu-identity-copy small { display: block; font-size: 12px; color: var(--muted); font-weight: 500; }
#account-menu .account-menu-label { flex: 1; }
#account-menu .account-menu-count { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; display: grid; place-items: center; background: var(--mint-bar); font-size: 10px; color: var(--forest); }
#account-menu .account-menu-sep { height: 1px; background: var(--line); margin: 7px 12px; }
#account-menu > a:hover, #account-menu > button:hover { background: #edf6f4; }
#account-menu > a:focus-visible, #account-menu > button:focus-visible { outline: 2px solid #00877f; outline-offset: -2px; }
#account-menu #menu-upgrade-business { background: var(--mint-bar); }
#account-menu #menu-logout, #account-menu #menu-logout .ui-icon { color: #9c3931; }

/* Vertical switcher under the header: Marketplace | Services | Businesses. */
.vertical-nav { border-top: 1px solid #edf1ef; background: #fff; }
.vertical-nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; justify-content: center; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.vertical-nav-inner::-webkit-scrollbar { display: none; }
.vertical-nav a { position: relative; display: inline-flex; align-items: center; gap: 7px; padding: 11px 14px; font-size: 14px; font-weight: 700; color: #46656a; white-space: nowrap; }
.vertical-nav a .ui-icon { width: 18px; height: 18px; }
.vertical-nav a:hover { color: var(--forest); }
.vertical-nav a[aria-current="page"] { color: var(--forest); }
.vertical-nav a[aria-current="page"]::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--teal); }
@media (max-width: 720px) {
  .vertical-nav-inner { padding: 0 12px; justify-content: space-between; }
  .vertical-nav a { flex: 1; justify-content: center; padding: 10px 6px; font-size: 13px; }
}
/* Four modules on a phone: drop the icons so every label fits. */
@media (max-width: 440px) {
  .vertical-nav-inner { padding: 0 6px; gap: 0; }
  .vertical-nav a { padding: 11px 4px; }
  .vertical-nav a .ui-icon { display: none; }
  .vertical-nav a[aria-current="page"]::after { left: 6px; right: 6px; }
}

/* ── Post menu: what would you like to post? ───────────────────────────── */
.create-wrap { position: relative; display: inline-flex; }
.create-menu { position: fixed; right: 12px; top: 64px; z-index: 1001; width: 320px; max-width: calc(100vw - 24px); padding: 8px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 16px 48px #002f3424; color: var(--forest); }
.create-menu[hidden], .create-scrim[hidden] { display: none; }
.create-menu-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 8px 8px 12px; font-size: 14px; }
.create-menu-close { display: inline-grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer; }
.create-menu-close:hover { background: #f3f6f6; }
.create-menu-close .ui-icon { width: 18px; height: 18px; }
.create-option { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 12px; border-radius: 10px; color: var(--forest); text-decoration: none; }
.create-option:hover, .create-option:focus-visible { background: #f0f8f6; outline: none; }
.create-menu:focus { outline: none; }
.create-option:focus-visible { box-shadow: inset 0 0 0 2px var(--forest); }
.create-option-icon { display: inline-grid; place-items: center; flex: 0 0 40px; height: 40px; border-radius: 10px; background: #e7f7f5; color: var(--forest); }
.create-option-icon .ui-icon { width: 20px; height: 20px; }
.create-option-copy { display: grid; gap: 2px; flex: 1; min-width: 0; }
.create-option-copy strong { font-size: 14px; font-weight: 800; }
.create-option-copy small { font-size: 12px; line-height: 1.35; color: var(--muted); }
.create-option > .ui-icon { width: 16px; height: 16px; flex: 0 0 16px; color: var(--muted); transform: rotate(-90deg); }
.create-scrim { position: fixed; inset: 0; z-index: 1000; background: #002f3440; }
@media (min-width: 721px) { .create-scrim { background: transparent; } }
@media (max-width: 720px) {
  /* On phones the menu is a bottom sheet, whichever button opened it. */
  .create-menu { position: fixed; left: 0; right: 0; top: auto; bottom: 0; width: auto; max-width: none; padding: 10px 12px calc(14px + env(safe-area-inset-bottom)); border-radius: 18px 18px 0 0; border-width: 1px 0 0; }
  .create-menu-head { padding: 6px 4px 10px 8px; font-size: 16px; }
}
/* Full-page version at /create */
.create-page { max-width: 640px; margin: 0 auto; padding: 28px 16px 48px; }
.create-page h1 { margin: 0 0 6px; font-size: 28px; letter-spacing: -.02em; color: var(--forest); }
.create-page > p { margin: 0 0 20px; color: var(--muted); }
.create-page-options { display: grid; gap: 10px; }
.create-page-options .create-option { border: 1px solid var(--line); background: #fff; min-height: 72px; padding: 14px 16px; }
.post-elsewhere { margin: 16px 0 0; font-size: 13px; color: var(--muted); }
.post-elsewhere a { color: var(--forest); font-weight: 700; }

/* ── File uploads (enhanced by site-chrome.js): a drop zone with the real input stretched invisibly over it ── */
.upl { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 4px 14px; margin-top: 6px; padding: 16px 18px; border: 1.5px dashed #b9cfc6; border-radius: 14px; background: #f7faf8; color: #23312e; font-weight: 400; transition: border-color .15s, background .15s; }
.upl:hover, .upl.is-over { border-color: #1b8068; background: #eef7f2; }
.upl:focus-within { outline: 3px solid #27a48655; outline-offset: 2px; }
.upl-input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; z-index: 1; }
.upl-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #fff; color: #1b8068; box-shadow: 0 1px 3px #00302f14; }
.upl-icon svg { width: 22px; height: 22px; }
.upl-text { display: block; font-size: 14px; line-height: 1.4; color: #3f5a54; }
.upl-text strong { color: #0f6d58; font-weight: 800; }
.upl-text small { display: block; margin-top: 2px; font-size: 12px; color: #7a8f88; }
.upl-files { grid-column: 1 / -1; display: grid; gap: 8px; }
.upl-files:empty { display: none; }
.upl.has-files .upl-files { margin-top: 8px; }
.upl-file { position: relative; z-index: 2; pointer-events: none; display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: #fff; border: 1px solid #e2ebe6; }
.upl-file img, .upl-doc { flex: none; width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }
.upl-doc { display: grid; place-items: center; background: #eef2fc; color: #3a4f86; font-size: 10px; font-weight: 800; letter-spacing: .04em; }
.upl-name { display: grid; min-width: 0; font-size: 13px; font-weight: 600; color: #23312e; }
.upl-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upl-name small { font-size: 11px; font-weight: 500; color: #7a8f88; }
/* Labels that are already drop areas (e.g. listing photos): hide the native button, keep the input usable. */
.upl-bare { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.post-photo-upload { position: relative; cursor: pointer; }

/* Shared surface geometry: match the restrained 4px search-form corners. */
.ad-card,
.panel-card,
.filters-inner,
.detail-offer,
.detail-gallery .listing-gallery,
.detail-panel,
.detail-content .review-section { border-radius: 4px; }

/* Rectangular actions share the search form's 4px corner radius. */
.search-go,
.btn-teal,
.btn-purple,
.btn-outline,
.auth-submit,
.promo-cta,
.listing-cta,
.listing-phone-row button,
.report-submit,
.report-cancel,
.modal-card button:not(.modal-x):not(.auth-pin-toggle),
.filter-dd-btn,
.filters-reset { border-radius: 4px; }

button:not(.hdr-icon):not(.ad-fav):not(.modal-x):not(.auth-pin-toggle):not(.listing-nav):not(.listing-lightbox-close):not(.dx-icon-btn) { border-radius: 4px; }
.modal-card,
#account-menu,
.create-menu,
.report-listing,
.filter-menu,
.post-details,
.post-map-fields,
.detail-safety { border-radius: 4px; }

/* ── Premium (active boost) tag on ad cards ── */
.ad-photo { position: relative; }
.ad-premium { position: absolute; top: 10px; left: 10px; padding: 3px 10px; border-radius: 999px; background: #23e5db; color: #002f34; font-size: 12px; font-weight: 800; letter-spacing: .01em; }

/* ── Sale mode (Business) on the listing form ── */
.sale-mode { border: 1px solid #e3e9e4; border-radius: 14px; padding: 12px 14px; display: grid; gap: 8px; }
.sale-mode legend { font-weight: 700; padding: 0 4px; }
.sale-mode-option { display: grid; grid-template-columns: auto 1fr; gap: 2px 8px; align-items: start; cursor: pointer; }
.sale-mode-option small { grid-column: 2; color: #5f7678; }
.sale-mode-option.is-disabled { opacity: .6; cursor: not-allowed; }
.sale-preview { background: #f4f7f5; border-radius: 12px; padding: 12px 14px; }
.sale-preview dl { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; margin: 0; }
.sale-preview dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }


/* ── Plans: Free seller vs Business ── */
.plan-grid--two { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.plan-card li.is-no { color: #8a9a9b; }
.plan-card li.is-no::before { content: '— '; }
.plan-card li.is-yes::before { content: '✓ '; color: #0f7a57; font-weight: 800; }
.plans-redesign .plan-card li.is-yes::before { content: '✓'; color: #0f7a57; font-weight: 800; }
.plans-redesign .plan-card li.is-no::before { content: '—'; color: #8a9a9b; }

/* ── Seller status & delivery partner (account) ── */
.seller-status-card p { margin: 6px 0 12px; color: #4d6467; }
.status-pill { padding: 3px 10px; border-radius: 999px; background: #f0ebe2; color: #002f34; font-size: 12px; font-weight: 800; }
.status-pill.is-good { background: #d9f7f4; }
.delivery-areas { display: flex; flex-wrap: wrap; gap: 6px 16px; }

/* ── Orders: checkout, lists, detail ── */
.status-pill.is-pending { background: #fff1d6; }
.status-pill.is-rejected { background: #fde2e1; color: #8a1c17; }
.status-pill.is-draft { background: #eceff0; color: #4d6366; }
.order-buy { width: 100%; margin-top: 10px; }
.order-buy-note { display: block; margin-top: 6px; color: var(--muted); font-size: 12.5px; }
.order-tabs { display: flex; gap: 8px; margin: 4px 0 14px; flex-wrap: wrap; }
.order-tabs .chip { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--forest); font-weight: 700; text-decoration: none; }
.order-tabs .chip.is-on { background: var(--forest); color: #fff; border-color: var(--forest); }
.order-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.order-card { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: #fff; color: inherit; text-decoration: none; }
.order-card:hover { border-color: var(--forest); }
.order-card img, .order-card-ph { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; background: #f0ebe2; }
.order-card-main { display: grid; gap: 4px; min-width: 0; }
.order-card-main strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.order-card-main small { color: var(--muted); }
.order-card-main .status-pill { justify-self: start; }
.order-card-amount { font-weight: 800; color: var(--forest); white-space: nowrap; }
.order-pool { margin-bottom: 16px; }
.order-available { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.order-available small { display: block; color: var(--muted); }
.order-detail { display: grid; gap: 14px; max-width: 720px; }
.order-photo { width: 100%; max-height: 260px; object-fit: cover; border-radius: 14px; margin-bottom: 10px; }
.order-lines { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; margin: 8px 0; }
.order-lines dt { color: var(--muted); }
.order-lines dd { margin: 0; text-align: right; }
.handover-code { display: grid; gap: 4px; padding: 16px; border-radius: 16px; background: #e8f6f3; border: 1px dashed var(--forest); text-align: center; }
.handover-code strong { font-size: 34px; letter-spacing: .2em; color: var(--forest); }
.handover-code small { color: #4d6366; }
.order-buttons { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.order-error { color: #b42318; font-weight: 600; margin: 8px 0 0; }
.order-code { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.order-code label { display: grid; gap: 4px; font-weight: 700; }
.order-code input { width: 150px; font-size: 22px; letter-spacing: .15em; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; }
.order-dispute { display: grid; gap: 12px; }
.order-dispute fieldset, .pay-choice { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.order-dispute legend, .pay-choice legend { font-weight: 800; margin-bottom: 6px; }
.order-dispute textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 10px; font: inherit; }
.pay-choice label { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.pay-choice label small { grid-column: 2; color: var(--muted); }
.pay-choice label.is-disabled { opacity: .55; cursor: not-allowed; }
.order-timeline { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 2px solid var(--line); display: grid; gap: 10px; }
.order-timeline li { display: grid; gap: 2px; position: relative; }
.order-timeline li::before { content: ''; position: absolute; left: -20px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--forest); }
.order-timeline small { color: var(--muted); }
.checkout-form { display: grid; gap: 12px; }
.checkout-form label { display: grid; gap: 4px; font-weight: 700; }
.checkout-form input, .checkout-form select { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font: inherit; font-weight: 400; }
.checkout-form [data-address] { display: grid; gap: 10px; }
.checkout-qty input { width: 100px; }
.sale-stock input { width: 140px; }
@media (max-width: 600px) {
  .order-card { grid-template-columns: 52px 1fr; }
  .order-card img, .order-card-ph { width: 52px; height: 52px; }
  .order-card-amount { grid-column: 2; }
  .order-available { grid-template-columns: 1fr auto; }
  .order-available .btn-teal { grid-column: 1 / -1; }
}

/* ── Delivery maps (Google) ── */
.dmap { display: grid; gap: 8px; }
.dmap-search { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font: inherit; width: 100%; }
.dmap-canvas { width: 100%; height: 260px; border-radius: 14px; border: 1px solid var(--line); background: #eef2f1; }
.dmap-route { height: 240px; }
.dmap-bar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.dmap-label { color: var(--muted); font-size: 13px; }
.checkout-map { display: grid; gap: 6px; }
.checkout-map-label { font-weight: 700; }
.order-map:empty { display: none; }
.sale-stock { display: grid; gap: 12px; }
.sale-stock small { display: block; color: var(--muted); margin-bottom: 6px; }
.pac-container { z-index: 10050; } /* Places suggestions above the checkout modal */

/* ── Plans: five plan cards in the account card style ── */
.plans-redesign .plan-grid.plan-grid--tiers { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.plans-redesign .plan-card.is-current { box-shadow: 0 0 0 2px var(--forest) inset; }
.plans-redesign .plan-card .auth-submit, .plans-redesign .plan-card .btn-outline { margin-top: auto; width: 100%; text-align: center; }

/* ── My listings: types, rows, managing bar ── */
.listing-types { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 14px; }
.listing-types button { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: inherit; font-weight: 700; color: var(--forest); cursor: pointer; }
.listing-types button[aria-selected="true"] { background: var(--forest); color: #fff; border-color: var(--forest); }
.listing-row { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; }
.listing-row img, .listing-row-ph { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; background: #f0ebe2; }
.listing-row strong { display: block; }
.listing-row small { display: block; color: var(--muted); margin: 2px 0 6px; }
.listing-row-actions { display: flex; gap: 8px; align-items: center; }
.managing-bar { display: grid; gap: 10px; padding: 12px 14px; border-radius: 12px; background: #e8f6f3; margin: 0 0 16px; }
.managing-bar p { margin: 0; display: flex; gap: 12px; align-items: center; }
.managing-bar p a { font-weight: 700; color: var(--forest); }
.managing-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.managing-tabs a { padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--forest); font-weight: 700; font-size: 13px; text-decoration: none; }
.managing-tabs a[aria-current="page"] { background: var(--forest); border-color: var(--forest); color: #fff; }
@media (max-width: 600px) { .listing-row { grid-template-columns: 56px 1fr; } .listing-row img, .listing-row-ph { width: 56px; height: 56px; } .listing-row-actions { grid-column: 1 / -1; } }

/* ── Inbox: messages, leads and quotes in one place ── */
/* Reply-by chips (also used by the dashboard's order tasks). */
.inbox-due { justify-self: start; display: inline-block; font-size: 11.5px; font-weight: 800; color: #9a6400; background: #fff3d6; padding: 2px 8px; border-radius: 999px; }
.inbox-due.is-overdue { color: #b42318; background: #fde2e1; }

.inbox-page { color: #18352f; }
.inbox-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 0 0 16px; }
.inbox-head h1 { margin: 0 0 6px; color: #003b37; font-size: 30px; line-height: 1.05; letter-spacing: -.03em; }
.inbox-head p { margin: 0; color: #54706b; font-size: 14px; }
.inbox-summary { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.inbox-summary span { padding: 5px 10px; border-radius: 999px; background: #e7f4f0; color: #005f52; font-size: 12px; font-weight: 800; }
.inbox-summary span.is-overdue { background: #fde2e1; color: #b42318; }

/* One card, two panes: the list and the conversation share a height and a border. */
.inbox-app { display: grid; grid-template-columns: minmax(290px, 380px) minmax(0, 1fr); height: clamp(520px, calc(100vh - 230px), 820px); border: 1px solid #dce6e3; background: #fff; box-shadow: 0 1px 2px #003b3708; overflow: hidden; }
.inbox-rail { display: grid; grid-template-rows: auto minmax(0, 1fr); min-width: 0; border-right: 1px solid #e3ebe8; background: #fbfcfc; }
.inbox-rail-top { display: grid; gap: 10px; padding: 14px; border-bottom: 1px solid #e3ebe8; }
.inbox-search { display: flex; align-items: center; gap: 8px; padding: 0 10px; border: 1px solid #d5e0dc; border-radius: 4px; background: #fff; color: #6a8182; }
.inbox-search:focus-within { border-color: #087c66; box-shadow: 0 0 0 2px #087c6626; }
.inbox-search .ui-icon { width: 17px; height: 17px; flex: none; }
:is(.account-main, .account-body) .inbox-search input { flex: 1; min-width: 0; min-height: 38px; padding: 0; border: 0; background: transparent; font: inherit; font-size: 14px; color: #18352f; outline: none; box-shadow: none; }
.inbox-filters { display: flex; flex-wrap: wrap; gap: 2px; }
:is(.account-main, .account-body) .inbox-filters button { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 9px; border: 1px solid transparent; border-radius: 999px; background: transparent; color: #4d6b63; font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; }
:is(.account-main, .account-body) .inbox-filters button:hover { background: #eef5f2; }
:is(.account-main, .account-body) .inbox-filters button[aria-selected="true"] { border-color: #003b37; background: #003b37; color: #fff; }
.inbox-count { min-width: 18px; padding: 0 5px; border-radius: 999px; background: #e4572e; color: #fff; font-size: 11px; line-height: 18px; text-align: center; }
:is(.account-main, .account-body) .inbox-filters button[aria-selected="true"] .inbox-count { background: #23e5db; color: #003b37; }

.inbox-list { overflow-y: auto; padding: 6px; }
.inbox-list .skel { margin: 6px; }
:is(.account-main, .account-body) .inbox-item { position: relative; display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 11px; width: 100%; padding: 11px 10px; border: 0; border-radius: 4px; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
:is(.account-main, .account-body) .inbox-item + .inbox-item { margin-top: 2px; }
:is(.account-main, .account-body) .inbox-item:hover { background: #f0f6f4; }
:is(.account-main, .account-body) .inbox-item:focus-visible { outline: 2px solid #087c66; outline-offset: -2px; }
:is(.account-main, .account-body) .inbox-item.is-on { background: #e4f3ee; box-shadow: inset 3px 0 0 #087c66; }
.inbox-avatar { position: relative; display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 50%; background: #e3ece9; color: #2c5a50; font-size: 14px; font-weight: 800; overflow: visible; }
.inbox-avatar > img:first-child { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.inbox-avatar.is-large { width: 44px; height: 44px; }
.inbox-avatar-blank { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: #dfe8e5; color: #7d948f; overflow: hidden; }
.inbox-avatar-blank .ui-icon { width: 58%; height: 58%; margin-top: 14%; stroke-width: 1.6; }
/* The listing it's about, as a small badge on the person's photo. */
.inbox-avatar-listing { position: absolute; right: -4px; bottom: -4px; width: 22px; height: 22px; border: 2px solid #fff; border-radius: 4px; object-fit: cover; background: #f0ebe2; }
.inbox-item:not(.is-on) .inbox-avatar-listing { border-color: #fbfcfc; }
.inbox-item.is-on .inbox-avatar-listing { border-color: #e4f3ee; }
.inbox-dot { position: absolute; top: -2px; left: -2px; width: 11px; height: 11px; border: 2px solid #fbfcfc; border-radius: 50%; background: #e4572e; }
.inbox-item-main { display: grid; gap: 3px; min-width: 0; }
.inbox-item-top { display: flex; justify-content: space-between; gap: 8px; }
.inbox-item-top strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #18352f; font-size: 14px; font-weight: 700; }
.inbox-item.is-unread .inbox-item-top strong { font-weight: 800; }
.inbox-item-top time { flex: none; color: #7d918c; font-size: 12px; }
.inbox-item.is-unread .inbox-item-top time { color: #087c66; font-weight: 800; }
.inbox-item-listing { display: flex; align-items: center; gap: 6px; min-width: 0; overflow: hidden; color: #4d6b63; font-size: 12px; white-space: nowrap; text-overflow: ellipsis; }
.inbox-kind { flex: none; padding: 1px 6px; border-radius: 3px; background: #eef2f0; color: #4d6b63; font-size: 10.5px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
.inbox-kind.is-lead { background: #e3f6ee; color: #0b6b4f; }
.inbox-kind.is-quote { background: #fff3d6; color: #8a5a00; }
.inbox-item-preview { overflow: hidden; color: #6a8182; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.inbox-item.is-unread .inbox-item-preview { color: #2c4a43; }
.inbox-list-empty { padding: 28px 18px; text-align: center; color: #6a8182; }
.inbox-list-empty strong { display: block; margin-bottom: 4px; color: #18352f; }
.inbox-list-empty p { margin: 0; font-size: 13px; }

.inbox-thread { display: flex; flex-direction: column; min-width: 0; min-height: 0; background: #fff; }
.inbox-thread-head, .inbox-quote, .inbox-reply, .inbox-closed { flex: none; }
.inbox-thread > .skel { margin: 16px; }
.inbox-pick, .inbox-welcome { margin: auto; max-width: 380px; padding: 24px; text-align: center; color: #6a8182; }
.inbox-pick .ui-icon, .inbox-welcome .ui-icon { width: 40px; height: 40px; padding: 12px; border-radius: 50%; background: #e7f4f0; color: #087c66; }
.inbox-pick h2, .inbox-welcome h2 { margin: 14px 0 6px; color: #18352f; font-size: 18px; }
.inbox-pick p, .inbox-welcome p { margin: 0; font-size: 14px; line-height: 1.5; }
.inbox-welcome-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.inbox-welcome-actions a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; font-weight: 800; }
/* Nothing at all yet: the welcome panel takes the whole card. */
.inbox-app.is-empty { grid-template-columns: 1fr; height: auto; min-height: 380px; }
.inbox-app.is-empty .inbox-rail { display: none; }

.inbox-thread-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding: 12px 16px; border-bottom: 1px solid #e3ebe8; }
/* The name keeps at least this much room; Call and the lead picker wrap below when the pane is narrow. */
.inbox-thread-who { display: grid; gap: 2px; flex: 1 1 150px; min-width: 0; }
.inbox-thread-who strong { overflow: hidden; color: #18352f; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.inbox-thread-who small { overflow: hidden; color: #6a8182; font-size: 12.5px; text-overflow: ellipsis; white-space: nowrap; }
.inbox-thread-who a { color: #006d60; font-weight: 700; }
.inbox-thread-tools { display: flex; align-items: center; gap: 8px; flex: none; margin-left: auto; }
:is(.account-main, .account-body) .inbox-call { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px; font-size: 13px; font-weight: 800; }
.inbox-call .ui-icon { width: 16px; height: 16px; }
.inbox-lead { display: flex; align-items: center; gap: 6px; color: #4d6b63; font-size: 12px; font-weight: 800; }
:is(.account-main, .account-body) .inbox-lead select { min-height: 34px; padding: 0 8px; border: 1px solid #d5e0dc; background: #fff; font: inherit; font-size: 13px; }
.inbox-status { padding: 4px 10px; border-radius: 999px; background: #eef2f0; color: #2c4a43; font-size: 12px; font-weight: 800; }
:is(.account-main, .account-body) .inbox-back { display: none; width: 36px; height: 36px; flex: none; place-items: center; padding: 0; border: 1px solid #d5e0dc; background: #fff; color: #18352f; cursor: pointer; }
.inbox-back .ui-icon { width: 18px; height: 18px; }

.inbox-quote { display: grid; gap: 8px; padding: 14px 16px; border-bottom: 1px solid #e3ebe8; background: #fbfcfc; }
.inbox-quote p { margin: 0; color: #2c4a43; line-height: 1.5; }
.inbox-facts { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.inbox-facts li { padding: 3px 9px; border: 1px solid #dce6e3; border-radius: 999px; background: #fff; color: #4d6b63; font-size: 12px; }
.inbox-quote-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; }
.inbox-quote-form label { display: grid; gap: 4px; color: #35514c; font-size: 12px; font-weight: 800; }
:is(.account-main, .account-body) .inbox-quote-form input { min-height: 38px; padding: 0 10px; border: 1px solid #d5e0dc; background: #fff; font: inherit; }
:is(.account-main, .account-body) .inbox-quote-form .btn-teal { min-height: 38px; padding: 0 16px; }

.inbox-messages { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 16px; overflow-y: auto; list-style: none; background: #f7faf9; }
.inbox-day { align-self: center; margin: 8px 0 4px; }
.inbox-day span { padding: 3px 10px; border-radius: 999px; background: #e7eeeb; color: #4d6b63; font-size: 11.5px; font-weight: 800; }
.inbox-msg { display: grid; gap: 3px; max-width: min(78%, 560px); align-self: flex-start; }
.inbox-msg p { margin: 0; padding: 9px 13px; border: 1px solid #e3ebe8; border-radius: 4px 14px 14px 14px; background: #fff; color: #18352f; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.inbox-msg.is-mine { align-self: flex-end; }
.inbox-msg.is-mine p { border-color: #003b37; border-radius: 14px 4px 14px 14px; background: #003b37; color: #fff; }
.inbox-msg time { color: #7d918c; font-size: 11px; }
.inbox-msg.is-mine time { text-align: right; }
.inbox-closed { margin: 0; padding: 14px 16px; border-top: 1px solid #e3ebe8; color: #6a8182; font-size: 13px; text-align: center; }

.inbox-reply { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 8px 10px; padding: 12px 16px; border-top: 1px solid #e3ebe8; background: #fff; }
:is(.account-main, .account-body) .inbox-reply textarea { min-height: 42px; max-height: 160px; padding: 10px 12px; border: 1px solid #d5e0dc; background: #fff; font: inherit; font-size: 14px; line-height: 1.4; resize: none; }
:is(.account-main, .account-body) .inbox-reply textarea:focus { border-color: #087c66; outline: none; box-shadow: 0 0 0 2px #087c6626; }
:is(.account-main, .account-body) .inbox-reply .btn-teal { min-height: 42px; padding: 0 20px; font-weight: 800; }
.inbox-reply-hint { grid-column: 1 / -1; margin: 0; color: #9aa9a5; font-size: 11px; }
.inbox-reply .order-error { grid-column: 1 / -1; margin: 0; }

/* Phones and small tablets: the list and the conversation take turns. */
@media (max-width: 900px) {
  .inbox-head { flex-direction: column; align-items: flex-start; }
  .inbox-app { grid-template-columns: 1fr; height: calc(100vh - 210px); min-height: 460px; }
  .inbox-app .inbox-thread { display: none; }
  .inbox-app.is-thread-open .inbox-rail { display: none; }
  .inbox-app.is-thread-open .inbox-thread, .inbox-app.is-empty .inbox-thread { display: flex; }
  :is(.account-main, .account-body) .inbox-back { display: inline-grid; }
  .inbox-reply-hint { display: none; }
  .inbox-thread-head { padding: 10px 12px; }
  .inbox-call span { display: none; }
}
@media (max-width: 768px) { .inbox-app { height: calc(100vh - 250px - env(safe-area-inset-bottom, 0px)); } }
@media (max-width: 560px) { .inbox-thread-head .inbox-avatar { width: 36px; height: 36px; font-size: 12px; } .inbox-thread-head .inbox-avatar-listing { width: 18px; height: 18px; } .inbox-lead span { display: none; } }

/* ── Order action centre ── */
.order-tasks { display: grid; gap: 8px; margin-bottom: 12px; }
.order-task { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.order-task.is-overdue { border-color: #f1a7a1; background: #fff6f5; }
.order-task img, .order-task-ph { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; background: #f0ebe2; }
.order-task strong { display: block; }
.order-task small { display: block; color: var(--muted); margin: 2px 0 4px; }
.order-task-actions { display: flex; gap: 8px; align-items: center; }
.dashboard-attention-count.is-overdue { background: #fde2e1; color: #b42318; }
.note-actions { display: flex; gap: 10px; align-items: center; margin-top: 6px; }
.order-actions.is-suggested { box-shadow: 0 0 0 3px var(--teal, #2bd4c0); }
@media (max-width: 600px) { .order-task { grid-template-columns: 44px 1fr; } .order-task-actions { grid-column: 1 / -1; } }

/* Page headings get focus after navigation so screen readers announce the new page; no box is drawn. */
h1[tabindex="-1"]:focus, h2[tabindex="-1"]:focus { outline: none; }

/* ── Header counters (Chat and notifications) ── */
.hdr-link, .hdr-icon { position: relative; }
.hdr-badge { position: absolute; top: 4px; left: 26px; min-width: 18px; height: 18px; padding: 0 5px; box-sizing: border-box; border: 2px solid #fff; border-radius: 999px; background: #e4572e; color: #fff; font-size: 10.5px; font-weight: 800; line-height: 14px; text-align: center; pointer-events: none; }
.hdr-icon .hdr-badge { left: auto; right: 2px; top: 3px; }
.tabbar-item { position: relative; }
.tab-badge { top: 2px; left: calc(50% + 4px); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Account menu identity: a blank person icon when there's no photo. */
.account-menu-identity-avatar svg { width: 58%; height: 58%; margin-top: 14%; color: #7d948f; }

/* Compact inbox inside the slide-out Chat panel: the list and the conversation take turns. */
.inbox-page.is-compact .inbox-compact-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 10px; }
.inbox-page.is-compact .inbox-compact-bar a { color: #006d60; font-size: 13px; font-weight: 800; }
.inbox-page.is-compact .inbox-app { grid-template-columns: 1fr; height: calc(100dvh - 250px); min-height: 380px; }
.inbox-page.is-compact .inbox-rail { border-right: 0; }
.inbox-page.is-compact .inbox-app .inbox-thread { display: none; }
.inbox-page.is-compact .inbox-app.is-thread-open .inbox-rail { display: none; }
.inbox-page.is-compact .inbox-app.is-thread-open .inbox-thread, .inbox-page.is-compact .inbox-app.is-empty .inbox-thread { display: flex; }
.inbox-page.is-compact .inbox-back { display: inline-grid; }
.inbox-page.is-compact .inbox-reply-hint { display: none; }
.inbox-page.is-compact .inbox-call span { display: none; }

/* ── Create flows in the dashboard: a modal on desktop, a bottom sheet on phones ── */
.modal.is-flow { z-index: 120; padding: 24px; background: #0b1f1c80; }
.modal.is-flow .modal-card { width: min(780px, 100%); max-height: calc(100dvh - 48px); padding: 28px 30px 26px; border-radius: 14px; box-shadow: 0 30px 90px #002f3433; }
.modal.is-flow .flow-title { margin: 0 44px 16px 0; color: #003b37; font-size: 22px; letter-spacing: -.02em; }
.flow-body .post-wizard, .flow-body form { margin: 0; }
.flow-body .panel-card { margin: 0; }
.flow-lead { margin: -6px 0 18px; color: #54706b; font-size: 14px; line-height: 1.55; }
.flow-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 6px; }
.flow-actions .btn-outline, .flow-actions .btn-teal { min-height: 44px; padding: 0 20px; border-radius: 6px; font-weight: 800; }
.flow-steps { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.flow-steps li { position: relative; display: grid; gap: 2px; padding: 2px 0 2px 44px; counter-increment: step; }
.flow-steps li::before { content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #e7f4f0; color: #087c66; font-weight: 800; font-size: 13px; }
.flow-steps strong { color: #18352f; font-size: 14.5px; }
.flow-steps span { color: #6a8182; font-size: 13.5px; line-height: 1.5; }
@media (max-width: 640px) {
  .modal.is-flow { align-items: end; padding: 0; }
  .modal.is-flow .modal-card { width: 100%; max-height: 92dvh; padding: 26px 16px calc(20px + env(safe-area-inset-bottom, 0px)); border-radius: 18px 18px 0 0; animation: flow-sheet-up .22s ease; }
  /* A grab handle, like the app's sheets. */
  .modal.is-flow .modal-card::before { content: ''; position: absolute; top: 8px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 99px; background: #d5e0dc; }
  .modal.is-flow .flow-title { font-size: 19px; }
  .flow-actions { flex-direction: column-reverse; }
  .flow-actions > * { width: 100%; justify-content: center; }
}
@keyframes flow-sheet-up { from { transform: translateY(40px); opacity: .6; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .modal.is-flow .modal-card { animation: none; } }

/* ── Brand filter: search, popular first, logos ── */
.filter-menu--brands { min-width: 260px; }
/* Brand is the last filter: its menu opens leftwards so it stays on screen. */
.filter-dd[data-filter="brand"] .filter-menu { left: auto; right: 0; }
.filter-brand-search { position: sticky; top: -6px; z-index: 1; display: block; margin: -6px -6px 6px; padding: 8px; background: #fff; border-bottom: 1px solid #eef2f0; }
.filter-brand-search input { width: 100%; box-sizing: border-box; min-height: 38px; padding: 0 12px; border: 1px solid #d5dfda; border-radius: 6px; font: inherit; font-size: 14px; }
.filter-brand-search input:focus-visible { outline: 0; border-color: #087c66; box-shadow: 0 0 0 3px #087c6626; }
.filter-group-label { margin: 10px 12px 4px; color: #6a8182; font-size: 12px; font-weight: 700; }
.filter-brand > span:not(.filter-brand-logo):not(.filter-count) { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.filter-item[hidden], .filter-group-label[hidden] { display: none; }
.filter-brand-logo { flex: none; width: 20px; height: 20px; object-fit: contain; }
.filter-brand-logo.is-empty { display: inline-block; }

/* ── Promoted listings: what a boost looks like on a card (ads, services, businesses, jobs) ── */
.ad-photo { position: relative; }
.ad-photo > .promo-badge, .promo-badges { position: absolute; top: 10px; left: 10px; z-index: 2; }
.promo-badges { display: flex; flex-wrap: wrap; gap: 6px; max-width: calc(100% - 20px); }
.promo-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  overflow: hidden;
  padding: 5px 10px 5px 7px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .03em;
  white-space: nowrap;
  box-shadow: 0 2px 10px #00000029, inset 0 0 0 1px #ffffff40;
}
.promo-badge svg { flex: none; width: 13px; height: 13px; }
/* TOP and Premium: gold, with a slow shine sweeping across. */
.promo-badge--top, .promo-badge--premium { background: linear-gradient(135deg, #ffe58f 0%, #ffc53d 45%, #f59e0b 100%); color: #4a2c00; }
.promo-badge--top { padding-right: 11px; letter-spacing: .08em; }
.promo-badge--top::after, .promo-badge--premium::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, #ffffffb3 50%, transparent 70%);
  transform: translateX(-120%);
  animation: promo-shine 3.6s ease-in-out infinite;
}
/* Urgent: warm coral with a soft pulse. */
.promo-badge--urgent { background: linear-gradient(135deg, #ff8a65, #ef4425); color: #fff; animation: promo-pulse 2.2s ease-out infinite; }
/* Homepage boost: fresh teal. */
.promo-badge--featured { background: linear-gradient(135deg, #8ff7ef, #23e5db); color: #003b37; }
/* Highlight: the card glows; the badge is quiet. */
.promo-badge--highlight { background: #fff8e1; color: #8a5a00; box-shadow: 0 2px 10px #0000001f, inset 0 0 0 1px #f5c76a; }
/* Bump: a little lift. */
.promo-badge--bumped { background: #ffffffef; color: #006d60; }
.promo-badge--bumped svg { animation: promo-lift 1.8s ease-in-out infinite; }

/* The card itself: TOP/Premium get a gold edge, Highlight glows warm, Homepage gets a teal edge. */
:is(.ad-card, .pcard).is-promo-top { border-color: #f5c242; box-shadow: 0 0 0 1px #f5c242, 0 10px 26px #f59e0b1f; }
:is(.ad-card, .pcard).is-promo-glow { border-color: #f5b83d; background: linear-gradient(180deg, #fff9ea 0%, #fff 55%); box-shadow: 0 0 0 2px #f8c55a, 0 12px 30px #f59e0b33; }
:is(.ad-card, .pcard).is-promo-glow :is(.ad-copy, .pcard-body, .pcard-foot) { background: #fffaf0; }
:is(.ad-card, .pcard).is-promo-featured { border-color: #23e5db; box-shadow: 0 0 0 1px #23e5db, 0 10px 26px #23e5db26; }

@keyframes promo-shine { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
@keyframes promo-pulse { 0% { box-shadow: 0 2px 10px #00000029, 0 0 0 0 #ef442566; } 70% { box-shadow: 0 2px 10px #00000029, 0 0 0 7px #ef442500; } 100% { box-shadow: 0 2px 10px #00000029, 0 0 0 0 #ef442500; } }
@keyframes promo-lift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }
@media (prefers-reduced-motion: reduce) {
  .promo-badge, .promo-badge svg, .promo-badge::after { animation: none !important; }
}
#search-form[hidden] { display: none !important; }
/* Sign-in and sign-up dialogs: the site's square 4px corners (cards, fields, the country-code box). */
.modal-card:has(.auth-form) { border-radius: 4px !important; }
.modal-card:has(.auth-form) :is(input, select, textarea, .auth-phone-cc, .auth-pin-toggle) { border-radius: 4px !important; }
@media (max-width: 760px) { .modal-card:has(.auth-form) { border-radius: 4px 4px 0 0 !important; } }

/* Slide-out Chat / Favourites / Notifications on marketing pages (site-chrome.js), like the homepage app's panels. */
.chrome-panel { display: none; }
@media (min-width: 901px) {
  .chrome-panel {
    display: block;
    position: fixed;
    inset: 0 0 0 auto;
    width: min(610px, calc(100vw - 80px));
    height: 100dvh;
    padding: 0 0 32px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #f7f9f9;
    z-index: 43;
    box-shadow: -20px 0 80px #002b3030;
    animation: account-slide 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .chrome-panel .account-page-head { padding: 32px 88px 0 32px; }
  .chrome-panel .account-page-head h1 { margin: 0 0 4px; color: #003b37; font-size: 26px; letter-spacing: -.02em; }
  .chrome-panel .account-page-head p { margin: 0; color: #54706b; }
  .chrome-panel .account-close {
    display: grid; place-items: center; position: absolute; right: 28px; top: 32px; width: 40px; height: 40px;
    border: 1px solid #dbe5e3; background: #fff; border-radius: 50%; cursor: pointer; color: #33565a;
  }
  .chrome-panel .account-close:hover { background: #e5f7f2; transform: rotate(90deg); }
  .chrome-panel .account-close svg { width: 18px; height: 18px; }
  .chrome-panel .account-body { padding: 24px 28px; }
  .chrome-panel-group + .chrome-panel-group { margin-top: 22px; }
  .chrome-panel-group h2 { margin: 0 0 10px; color: #003b37; font-size: 15px; }
  .chrome-panel .dir-acc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { .chrome-panel { animation: none; } }
.chrome-toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 200; padding: 10px 16px; border-radius: 4px; background: #0b2b28; color: #fff; font-size: 14px; font-weight: 600; }
.chrome-panel .account-empty-panel { background: #fff; border: 1px solid #e4ecec; border-radius: 4px; padding: 40px 28px; text-align: center; }
.chrome-panel .account-empty-panel h3 { margin: 0 0 8px; font-size: 20px; color: #18352f; }
.chrome-panel .account-empty-panel p { margin: 0 auto 18px; max-width: 36ch; color: #6a8182; font-size: 14px; line-height: 1.55; }
.chrome-panel .account-empty-panel a, .chrome-panel .account-empty-panel button { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; border: 0; border-radius: 4px; background: #003b37; color: #fff; font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; }
.chrome-panel .dir-acc-list li { background: #fff; border: 1px solid #e4ecec; border-radius: 4px; padding: 10px 12px; }
.chrome-panel .dir-acc-saved { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.chrome-panel .dir-acc-saved > span:last-child { display: grid; }
.chrome-panel .dir-acc-saved-img { width: 44px; height: 44px; border-radius: 4px; overflow: hidden; display: grid; place-items: center; background: #eaf4ef; font-weight: 800; color: #1b6b58; flex: none; }
.chrome-panel .dir-acc-saved-img.is-round { border-radius: 50%; }
.chrome-panel .dir-acc-saved-img img { width: 100%; height: 100%; object-fit: cover; }
.chrome-panel .note-row + .note-row { margin-top: 10px; }
.chrome-panel .inbox-compact-bar, .chrome-panel-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 28px; margin: 0 0 10px; }
.chrome-panel-bar a { margin-left: auto; color: #006d60; font-size: 13px; font-weight: 800; }

/* In-app dialogs (uiConfirm / uiAlert / uiPrompt) — replace the browser's native boxes everywhere. */
.ui-dialog { padding: 0; border: 0; border-radius: 4px; background: transparent; max-width: calc(100vw - 32px); }
.ui-dialog::backdrop { background: rgba(0, 35, 39, 0.4); backdrop-filter: blur(3px); }
.ui-dialog-card { width: min(440px, calc(100vw - 32px)); padding: 22px 22px 18px; border-radius: 4px; background: #fff; box-shadow: 0 24px 70px #002b3033; font: inherit; }
.ui-dialog-card h2 { margin: 0 0 8px; color: #003b37; font-size: 18px; }
.ui-dialog-message { margin: 0 0 16px; color: #33504c; font-size: 15px; line-height: 1.5; }
.ui-dialog-input { width: 100%; box-sizing: border-box; margin: -4px 0 16px; padding: 10px 12px; border: 1px solid #cfdcd8; border-radius: 4px; font: inherit; }
.ui-dialog-actions { display: flex; justify-content: flex-end; gap: 10px; }
.ui-dialog-btn { min-height: 40px; padding: 8px 16px; border: 1px solid #003b37; border-radius: 4px; background: #003b37; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.ui-dialog-btn.is-quiet { background: #fff; color: #003b37; border-color: #cfdcd8; }
.ui-dialog-btn.is-danger { background: #b42318; border-color: #b42318; }
