/* EveryNearby v3: calm marketplace layout. One accent, pill controls, hairline lists. */
:root {
	--accent: #4b3fd6;
	--accent-press: #3a30b0;
	--accent-tint: #efedfc;
	--ink: #17181c;
	--muted: #63666f;
	--line: #e6e7ea;
	--soft: #f6f6f8;
	--ok: #1a7f4b;
	--star: #f59e0b;
	--gutter: 20px;
	--wrap: 1200px;
	--font: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: #fff; color: var(--ink); font: 400 15px/1.5 var(--font); }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
::selection { background: var(--accent-tint); }

svg.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.num { font-variant-numeric: tabular-nums; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sample { background: #17181c; color: #d5d6db; font-size: 12px; padding: 6px var(--gutter); text-align: center; }

/* ---------- Header ---------- */
.top { position: sticky; top: 0; z-index: 10; background: #fff; border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; gap: 16px; padding-block: 12px; flex-wrap: wrap; }
.mark { display: inline-flex; align-items: center; gap: 7px; font-size: 21px; font-weight: 800; letter-spacing: -0.03em; }
.mark i { width: 11px; height: 11px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-tint); }
.top-links { display: none; margin-inline-start: auto; gap: 22px; font-weight: 500; color: var(--muted); }
.top-links a:hover { color: var(--ink); }
.top-links .solid { color: var(--ink); padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; }

.search { display: flex; align-items: center; flex: 1 1 100%; order: 3; height: 48px; padding: 0 6px 0 18px; border: 1px solid var(--line); border-radius: 999px; background: #fff; box-shadow: 0 2px 10px rgb(23 24 28 / 0.06); }
.search input { flex: 1.3; min-width: 0; border: 0; outline: 0; font: inherit; color: var(--ink); background: none; }
.search .sep { width: 1px; height: 22px; margin-inline: 12px; background: var(--line); }
.search .where { flex: 1; display: flex; align-items: center; gap: 6px; color: var(--muted); min-width: 0; }
.search .where input { flex: 1; }
.search button { display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--accent); color: #fff; cursor: pointer; }
.search button:hover { background: var(--accent-press); }

.catnav { display: none; }

/* ---------- List page ---------- */
.crumbs { display: flex; align-items: center; gap: 6px; padding-top: 18px; font-size: 13px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-inline-end: 6px; color: #c5c7cd; }
.list-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 8px 16px; padding-block: 6px 14px; }
.list-head h1 { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; text-wrap: balance; }
.list-head p { color: var(--muted); font-size: 14px; }
.sort { color: var(--muted); font-size: 14px; }
.sort b { color: var(--ink); font-weight: 600; }

.pills { display: flex; gap: 8px; overflow-x: auto; padding: 0 var(--gutter) 16px; margin-inline: calc(var(--gutter) * -1); scrollbar-width: none; }
.pills::-webkit-scrollbar { display: none; }
.pill { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
.pill:hover { border-color: var(--ink); }
.pill.on { background: var(--accent-tint); border-color: var(--accent); color: var(--accent); }
.pill svg.i { width: 15px; height: 15px; }

.layout { display: grid; gap: 28px; }
.results { border-top: 1px solid var(--line); }
.res { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 14px; padding-block: 18px; border-bottom: 1px solid var(--line); }
.ph { aspect-ratio: 1; border-radius: 12px; display: grid; place-items: center; color: #fff; font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }
.res h2 { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
.res h2 a:hover { color: var(--accent); }
.res h2 span { color: var(--muted); font-weight: 500; }
.stars { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 14px; color: var(--muted); }
.stars b { color: var(--ink); font-weight: 600; }
.stars .s { display: inline-flex; gap: 1px; }
.stars .s svg { width: 15px; height: 15px; fill: var(--star); }
.stars .s svg.off { fill: #dcdde2; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chips span { padding: 2px 9px; border-radius: 6px; background: var(--soft); font-size: 12px; font-weight: 500; color: #3d4048; }
.meta { margin-top: 8px; font-size: 14px; color: var(--muted); }
.meta .open { color: var(--ok); font-weight: 600; }
.proof { display: flex; gap: 8px; margin-top: 8px; font-size: 14px; color: #3d4048; }
.proof svg.i { width: 16px; height: 16px; margin-top: 3px; color: var(--ok); }
.proof.none svg.i { color: #a3a6ae; }
.proof.none { color: var(--muted); }
.go { grid-column: 1 / -1; display: flex; gap: 8px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 42px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: inherit; font-size: 14px; font-weight: 600; white-space: nowrap; cursor: pointer; }
.btn:hover { border-color: var(--ink); }
.btn-main { flex: 1; background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-main:hover { background: var(--accent-press); border-color: var(--accent-press); }
.btn-ico { width: 42px; padding: 0; }
.btn .wa { color: var(--ok); }

.side { display: none; }

/* ---------- Home ---------- */
.hero { padding-block: 40px 28px; text-align: center; }
.hero h1 { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p { margin-top: 10px; color: var(--muted); font-size: 16px; }
.hero .search { max-width: 680px; height: 56px; margin: 22px auto 0; order: 0; }
.hero .search button { width: 44px; height: 44px; }
.quick { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; }
.quick a { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 500; }
.quick a:hover { border-color: var(--accent); color: var(--accent); }

.section { padding-block: 28px; border-top: 1px solid var(--line); }
.section > h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 18px; }
.browse { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 20px; }
.browse h3 { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.browse h3 svg.i { color: var(--accent); }
.browse li a { display: block; padding-block: 4px; color: #3d4048; font-size: 14px; }
.browse li a:hover { color: var(--accent); }
.browse .all { color: var(--accent); font-weight: 600; }

.grid4 { display: grid; grid-auto-flow: column; grid-auto-columns: 220px; gap: 16px; overflow-x: auto; padding: 0 var(--gutter) 8px; margin-inline: calc(var(--gutter) * -1); scrollbar-width: none; }
.grid4::-webkit-scrollbar { display: none; }
.tilecard .ph { aspect-ratio: 4 / 3; border-radius: 14px; }
.tilecard h3 { margin-top: 10px; font-size: 15px; font-weight: 700; line-height: 1.3; }
.tilecard p { color: var(--muted); font-size: 13px; }

.trust { display: grid; gap: 18px; }
.trust h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.trust p { color: var(--muted); font-size: 14px; }
.trust div { padding: 18px; border-radius: 14px; background: var(--soft); }

.foot { margin-top: 12px; padding: 28px var(--gutter) 36px; background: var(--soft); color: var(--muted); font-size: 13px; text-align: center; }

@media (min-width: 960px) {
	.top-row { flex-wrap: nowrap; gap: 24px; }
	.search { flex: 0 1 560px; order: 0; }
	.top-links { display: flex; align-items: center; }
	.catnav { display: flex; gap: 26px; padding-bottom: 12px; font-size: 14px; font-weight: 500; color: #3d4048; }
	.catnav a { display: inline-flex; align-items: center; gap: 4px; }
	.catnav a:hover { color: var(--accent); }
	.catnav svg.i { width: 14px; height: 14px; }
	.list-head h1 { font-size: 30px; }
	.pills { margin: 0; padding-inline: 0; }
	.layout { grid-template-columns: minmax(0, 1fr) 380px; align-items: start; }
	.res { grid-template-columns: 148px minmax(0, 1fr) auto; gap: 20px; padding-block: 22px; }
	.res h2 { font-size: 20px; }
	.go { grid-column: 3; flex-direction: column; align-self: center; width: 150px; }
	.go .row { display: flex; gap: 8px; }
	.go .row .btn { flex: 1; }
	.side { display: grid; gap: 16px; position: sticky; top: 132px; }
	.map { display: grid; place-items: center; gap: 10px; height: 320px; border-radius: 16px; background: #eef0f3 linear-gradient(0deg, transparent 49%, #e2e4e9 49% 51%, transparent 51%), linear-gradient(90deg, transparent 49%, #e2e4e9 49% 51%, transparent 51%); background-size: 64px 64px; color: var(--muted); font-size: 14px; text-align: center; }
	.info { padding: 18px; border: 1px solid var(--line); border-radius: 16px; font-size: 14px; color: var(--muted); }
	.info h2 { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
	.info b { color: var(--ink); }
	.hero { padding-block: 72px 44px; }
	.hero h1 { font-size: 52px; }
	.hero p { font-size: 18px; }
	.browse { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px 28px; }
	.grid4 { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-columns: auto; overflow: visible; margin: 0; padding: 0; }
	.trust { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.section { padding-block: 44px; }
}

@media (max-width: 959px) {
	.go .row { display: contents; }
}
/* Adjustments that move the v3 layout to the structure Yelp uses: squarer controls,
   bordered result cards, a dark hero and a bordered category grid. Our own colour and mark. */
:root {
	--font: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--head: "Poppins", system-ui, sans-serif;
}

h1, h2, h3, .mark, .btn, .pill, .top-links { font-family: var(--head); }
.search { border-radius: 10px; padding-inline: 16px 5px; }
.search button { border-radius: 8px; }
.btn { border-radius: 8px; }
.top-links .solid { border-radius: 8px; }
.top-links .fill { padding: 8px 16px; border-radius: 8px; background: var(--accent); color: #fff; }

.results { border-top: 0; display: grid; gap: 14px; }
.res { padding: 18px; border: 1px solid var(--line); border-radius: 10px; }
.res:hover { box-shadow: 0 2px 14px rgb(23 24 28 / 0.08); }
.ph { border-radius: 8px; }
.res h2 { font-weight: 600; }
.list-head h1 { font-weight: 700; }
.addr { color: var(--muted); font-size: 13px; }

.quote { padding: 20px; border: 1px solid var(--line); border-radius: 10px; }
.quote h2 { font-size: 18px; font-weight: 700; line-height: 1.3; margin-bottom: 6px; }
.quote p { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.quote .btn { width: 100%; }

.hero-dark { background: #1d1b3a; color: #fff; }
.hero-dark .hero { text-align: start; padding-block: 44px 40px; }
.hero-dark .hero h1 em { color: #b9b2ff; }
.hero-dark .hero p { color: #c9c7dd; }
.hero-dark .hero .search { margin-inline: 0; border: 0; }
.hero-dark .quick { justify-content: flex-start; }
.hero-dark .quick a { border-color: #45426b; color: #e7e6f3; }
.hero-dark .quick a:hover { border-color: #fff; color: #fff; }

.cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cats a { display: grid; justify-items: center; gap: 10px; padding: 22px 10px; border: 1px solid var(--line); border-radius: 8px; font-family: var(--head); font-weight: 500; font-size: 14px; text-align: center; }
.cats a:hover { box-shadow: 0 2px 14px rgb(23 24 28 / 0.1); }
.cats svg.i { width: 30px; height: 30px; color: var(--accent); stroke-width: 1.6; }
.section > h2 { text-align: center; }
.section.left > h2 { text-align: start; }

@media (min-width: 960px) {
	.hero-dark .hero { padding-block: 84px 72px; }
	.hero-dark .hero h1 { max-width: 15ch; }
	.cats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; max-width: 900px; margin-inline: auto; }
	.res { grid-template-columns: 160px minmax(0, 1fr); }
	.go { grid-column: 2; width: auto; flex-direction: row; justify-content: flex-end; margin-top: -6px; }
	.go .btn-main { flex: 0 0 auto; min-width: 150px; }
	.layout { grid-template-columns: minmax(0, 1fr); }
	.side { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.side .map { display: none; }
}

@media (min-width: 1180px) {
	.layout { grid-template-columns: minmax(0, 1fr) 340px; }
	.side { position: sticky; grid-template-columns: minmax(0, 1fr); }
	.side .map { display: grid; height: 260px; }
}

.top-links a { white-space: nowrap; }

@media (max-width: 1179px) {
	.top-links a:not(.solid):not(.fill) { display: none; }
}

/* ---------- Fonts: served from this site ---------- */
@font-face { font-family: "Poppins"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/poppins-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/poppins-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/open-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/open-sans-latin-600-normal.woff2") format("woff2"); }

/* ---------- Live-site additions ---------- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 8px; top: -60px; z-index: 20; padding: 10px 14px; background: var(--ink); color: #fff; border-radius: 8px; }
.skip:focus { top: 8px; }

.search select { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; color: var(--ink); }
.search input[type="search"]::-webkit-search-cancel-button { display: none; }
.search:focus-within { border-color: var(--accent); }
.ph img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.res > a { display: block; }
.btn[data-revealed] { background: #fff; color: var(--accent); }
.pill-select { padding: 0; }
.pill-select select { height: 34px; padding: 0 12px; border: 0; background: none; font: inherit; font-weight: 500; color: inherit; border-radius: 999px; }
.more { display: flex; justify-content: center; padding-block: 20px; }
.more .btn { padding-inline: 30px; }
.empty { padding: 32px 0; }
.empty h2 { font-size: 18px; font-weight: 600; margin-bottom: 4px; }
.empty p, .quiet { color: var(--muted); }
.empty a:not(.btn), .prose a, .block a:not(.btn), .note a:not(.btn) { color: var(--accent); }
.foot p + p { margin-top: 8px; }

.catlist { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; padding-bottom: 28px; }
.catlist a { display: grid; gap: 2px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 10px; font-family: var(--head); font-weight: 500; }
.catlist a:hover { box-shadow: 0 2px 14px rgb(23 24 28 / 0.08); }
.catlist small { color: var(--muted); font-family: var(--font); font-weight: 400; font-size: 13px; }

/* ---------- Profile ---------- */
.profile { padding-bottom: 28px; }
.profile-head { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding-block: 12px 16px; }
.profile-head h1 { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.profile-go { flex-wrap: wrap; margin-bottom: 16px; }
.profile-go .row { display: contents; }
.profile-go .btn-main { flex: 1 1 100%; }
.profile-go .btn { flex: 1 1 auto; }
.note { padding: 12px 14px; border-radius: 10px; background: var(--soft); font-size: 14px; color: var(--muted); }
.note b { color: var(--ink); font-weight: 600; }
.profile-grid { margin-top: 20px; }
.block { padding-block: 22px; border-top: 1px solid var(--line); }
.block h2 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 12px; }
.facts { margin: 0; }
.facts div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding-block: 10px; border-top: 1px solid var(--line); }
.facts div:first-child { border-top: 0; padding-top: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.hours-table { width: 100%; max-width: 420px; border-collapse: collapse; }
.hours-table th, .hours-table td { padding: 8px 0; text-align: start; font-weight: 400; border-top: 1px solid var(--line); }
.hours-table tr:first-child th, .hours-table tr:first-child td { border-top: 0; }
.hours-table th { width: 130px; color: var(--muted); }
.reviews { display: grid; gap: 16px; margin-bottom: 16px; }
.reviews li { padding-top: 16px; border-top: 1px solid var(--line); }
.reviews li:first-child { padding-top: 0; border-top: 0; }
.review-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 4px; }
.review-head b { font-weight: 600; }
.rating { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; }
.rating svg { width: 15px; height: 15px; fill: var(--star); }
.fold { margin-top: 12px; }
.fold > summary { display: inline-flex; list-style: none; }
.fold > summary::-webkit-details-marker { display: none; }
.form { display: grid; gap: 12px; max-width: 520px; }
.fold .form { margin-top: 14px; }
.f { display: grid; gap: 5px; font-weight: 600; font-size: 14px; }
.f input, .f textarea, .f select { width: 100%; min-height: 44px; padding: 10px 12px; font: inherit; font-size: 16px; font-weight: 400; color: var(--ink); background: #fff; border: 1px solid #c9cbd1; border-radius: 8px; }
.f input:focus-visible, .f textarea:focus-visible, .f select:focus-visible { outline-offset: 0; border-color: var(--accent); }
fieldset.stars { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; border: 0; color: var(--ink); }
fieldset.stars legend { margin-bottom: 5px; padding: 0; font-weight: 600; }
fieldset.stars label { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 52px; min-height: 44px; border: 1px solid #c9cbd1; border-radius: 8px; cursor: pointer; }
fieldset.stars label:has(input:checked) { border-color: var(--accent); background: var(--accent-tint); }
.tick { display: flex; gap: 10px; align-items: flex-start; }
.tick input { width: 18px; height: 18px; margin-top: 2px; flex: none; }
.trap { position: absolute; left: -9999px; }
.btn:disabled { opacity: 0.6; cursor: wait; }
.notice, .form-msg { padding: 10px 12px; border-radius: 8px; background: #edf7f1; color: var(--ok); font-weight: 600; }
.notice { margin-bottom: 14px; }
.form-msg.is-error { background: #fdecea; color: #b42318; }

/* ---------- Plain pages ---------- */
.page { padding-block: 28px 44px; }
.page h1 { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 14px; }
.prose { max-width: 68ch; font-size: 16px; line-height: 1.65; }
.prose p, .prose ul, .prose ol { margin-bottom: 12px; }
.prose ul, .prose ol { padding-inline-start: 20px; list-style: revert; }
.prose h2 { margin: 26px 0 8px; font-size: 20px; font-weight: 700; }

@media (min-width: 960px) {
	.profile-head { grid-template-columns: 180px minmax(0, 1fr); gap: 24px; }
	.profile-head h1 { font-size: 34px; }
	.profile-go { justify-content: flex-start; margin-top: 0; }
	.profile-go .btn-main, .profile-go .btn { flex: 0 0 auto; }
	.profile-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; }
	.note { max-width: 760px; }
	.page { padding-block: 44px 60px; }
}

@media (prefers-reduced-motion: reduce) {
	* { animation: none !important; transition: none !important; }
}

.catnav { overflow-x: auto; scrollbar-width: none; }
.catnav a { white-space: nowrap; }

.search { overflow: hidden; }
.search > input { flex: 1 1 0; }
.search .where { flex: 0 1 150px; }
.search button { flex: none; }

/* ---------- Owner account screens ---------- */
.acct { padding-block: 32px 48px; }
.acct-card { max-width: 460px; margin-inline: auto; padding: 28px 24px; border: 1px solid var(--line); border-radius: 12px; }
.acct-card h1, .acct-head h1 { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 6px; }
.acct-card .form { margin-top: 18px; }
.acct-card .form-msg { margin-top: 14px; }
.acct-alt { margin-top: 18px; color: var(--muted); }
.acct-alt a, .acct-card a:not(.btn) { color: var(--accent); font-weight: 600; }
.claim-step { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.claim-step h2 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.claim-step p { margin-bottom: 12px; color: var(--muted); }
.acct-head { display: flex; flex-wrap: wrap; align-items: start; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.acct .note { margin-bottom: 12px; }
.acct .empty .search { margin-top: 16px; max-width: 560px; flex: none; order: 0; }
.dash { margin-top: 16px; padding: 20px; border: 1px solid var(--line); border-radius: 12px; }
.dash-head h2 { font-size: 20px; font-weight: 600; }
.dash-head h2 a:hover { color: var(--accent); }
.dash-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 10px; margin: 16px 0 6px; }
.dash-stats div { padding: 12px; border-radius: 10px; background: var(--soft); }
.dash-stats dt { font-size: 13px; color: var(--muted); }
.dash-stats dd { margin: 0; font-family: var(--head); font-size: 24px; font-weight: 600; line-height: 1.2; }
.top-links .fill, .top-links .solid { font-weight: 600; }

.top-links { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
@media (min-width: 1180px) { .top-links { gap: 22px; } }
@media (max-width: 959px) { .top-links .solid, .top-links .fill { padding: 7px 12px; font-size: 14px; } }

.pager { display: flex; align-items: center; justify-content: center; gap: 16px; padding-block: 22px; color: var(--muted); }

.states { columns: 240px; column-gap: 28px; padding-bottom: 32px; }
.states section { break-inside: avoid; margin-bottom: 22px; }
.states h2 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.states li a { display: flex; justify-content: space-between; gap: 10px; padding-block: 3px; color: #3d4048; }
.states li a:hover { color: var(--accent); }
.states li span { color: var(--muted); font-size: 13px; }

.nums { margin: 0; }
.nums div { display: flex; justify-content: space-between; gap: 12px; padding-block: 7px; border-top: 1px solid var(--line); }
.nums div:first-child { border-top: 0; }
.nums dd { margin: 0; color: var(--ink); font-weight: 600; white-space: nowrap; }
.nums dd span { color: var(--muted); font-weight: 400; }
@media (max-width: 959px) { .side { display: grid; gap: 14px; margin-top: 8px; } .side .info { padding: 16px; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; color: var(--muted); } .side .info h2 { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 6px; } }

.acct-card [data-code-login] { margin-top: 18px; }
.acct-card [data-code-check] { margin-top: 12px; }
.acct-toggle { display: inline-block; margin-top: 18px; color: var(--muted); cursor: pointer; font-size: 14px; }
.acct-card .fold[open] .acct-toggle { color: var(--ink); }

.acct-card [data-wa-login] { margin-top: 18px; }
.acct-card [data-wa-check] { margin-top: 12px; }
.tel { display: flex; align-items: center; border: 1px solid #c9cbd1; border-radius: 8px; background: #fff; }
.tel > span { padding-inline: 12px 10px; color: var(--muted); font-weight: 400; border-inline-end: 1px solid var(--line); }
.tel input { border: 0 !important; }
.tel:focus-within { border-color: var(--accent); }
.acct-or { display: flex; align-items: center; gap: 12px; margin: 20px 0 0; color: var(--muted); font-size: 13px; }
.acct-or::before, .acct-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.acct-or + [data-code-login] { margin-top: 14px; }
.btn-main .i { stroke: #fff; }

.chips .ok { background: #edf7f1; color: var(--ok); }
.acct-head .chips { margin-top: 6px; }

.acct-card .fold [data-wa-login] { margin-top: 12px; }
.acct-card .fold { margin-top: 6px; }

[hidden] { display: none !important; }

/* Logo: the pin icon beside the name */
.mark { gap: 9px; }
.mark img { width: 30px; height: 30px; display: block; }

/* Brand: abstract backgrounds, icon tiles, illustrations */
.hero-dark { background: #1b1a3a url(brand/abstract/abstract-dark.svg) center / cover no-repeat; }
main:has(.acct-card) { background: var(--soft) url(brand/abstract/abstract-light.svg) center top / cover no-repeat; }
.acct-card { background: #fff; box-shadow: 0 6px 28px rgb(23 24 28 / 0.06); }
svg.i.tile { width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: var(--accent-tint); color: var(--accent); flex: none; }
.with-ico { display: flex; align-items: center; gap: 12px; }
.catlist a { grid-template-columns: 40px 1fr; column-gap: 14px; align-items: center; }
.catlist a svg.i.tile { grid-row: span 2; }
.catlist a:hover svg.i.tile { background: var(--accent); color: #fff; }
.browse h3 svg.i { color: var(--accent); }
.empty-art { display: block; width: 180px; height: 120px; margin-bottom: 10px; }

/* Keeps the hidden label inside the scrolling filter row, so the page never scrolls sideways */
.pill-select { position: relative; }

/* Add your business */
.acct-card.acct-wide { max-width: 560px; }
.acct-wide .form { max-width: none; }
.acct-wide .form-msg { margin-top: 14px; }
.acct > .notice { max-width: none; }

/* Add your business: search first */
.found-box { margin-top: 18px; }
.found-box h2, [data-add-business] h2 { font-size: 17px; font-weight: 600; }
.found { margin: 10px 0 14px; border-top: 1px solid var(--line); }
.found li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 10px; border-bottom: 1px solid var(--line); }
.found li div { min-width: 0; }
.found li a:not(.btn) { display: block; font-family: var(--head); font-weight: 600; color: var(--ink); }
.found li small { display: block; color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.found .btn { flex: none; height: 36px; padding: 0 12px; }
[data-add-business] { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }

/* Owner's edit form: folding groups */
.dash-form { max-width: 560px; margin-top: 14px; gap: 0; }
.dash-form .group { border-top: 1px solid var(--line); }
.dash-form .group > summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 13px 0; font-family: var(--head); font-weight: 600; cursor: pointer; list-style: none; }
.dash-form .group > summary::-webkit-details-marker { display: none; }
.dash-form .group > summary::after { content: "+"; font-size: 20px; font-weight: 400; color: var(--muted); }
.dash-form .group[open] > summary::after { content: "\2212"; }
.dash-form .group > summary .quiet { margin-inline-end: auto; font-family: var(--font); font-weight: 400; font-size: 13px; }
.dash-form .group > .form, .dash-form .group > .hours-edit { padding-bottom: 16px; }
.dash-form > .btn { margin-top: 14px; justify-self: start; min-width: 140px; }
.dash-form > .form-msg { margin-top: 12px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
.checks legend { margin-bottom: 6px; padding: 0; font-weight: 600; font-size: 14px; }
.checks label { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 12px; border: 1px solid #c9cbd1; border-radius: 999px; font-size: 14px; cursor: pointer; }
.checks label:has(input:checked) { border-color: var(--accent); background: var(--accent-tint); color: var(--accent); font-weight: 600; }
.checks input { width: 16px; height: 16px; margin: 0; accent-color: var(--accent); }
.hours-edit { display: grid; gap: 8px; }
.hours-edit > div { display: grid; grid-template-columns: 76px 1fr 1fr; gap: 8px; align-items: center; }
.hours-edit input[type="time"] { min-height: 40px; padding: 6px 8px; font: inherit; font-size: 16px; border: 1px solid #c9cbd1; border-radius: 8px; background: #fff; min-width: 0; }
.hours-edit .tick { align-items: center; font-weight: 600; font-size: 14px; }
.hours-edit .tick input { margin-top: 0; }
.branches li { padding-block: 6px; }
.branches a { font-weight: 600; }
.dash .note { margin-top: 12px; }

/* Ownership case notice */
.note.warn { background: #fff6e0; color: #5c4300; }
.note.warn b { color: #3d2c00; }
.note.warn .form-msg { margin-top: 10px; }

/* ---------- Facelift: motion, imagery, links between pages ---------- */
.hero-dark { position: relative; overflow: hidden; background: radial-gradient(120% 140% at 85% 0%, #2f2a78 0%, #1b1a3a 55%); }
.hero-dark .hero { position: relative; z-index: 1; }
.pings i { position: absolute; left: var(--x); top: var(--y); width: 6px; height: 6px; border-radius: 50%; background: #fff; opacity: 0.85; }
.pings i::before, .pings i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 220px; height: 220px; margin: -110px 0 0 -110px; border-radius: 50%; border: 1px solid #a79fff; opacity: 0; animation: ping 5s cubic-bezier(0.2, 0.6, 0.3, 1) infinite; animation-delay: var(--d, 0s); }
.pings i::after { animation-delay: calc(var(--d, 0s) + 2.5s); }
@keyframes ping { 0% { transform: scale(0.04); opacity: 0.55; } 100% { transform: scale(1); opacity: 0; } }
/* The heading is the first thing painted, so it only slides; it never starts invisible. */
.hero h1 { animation: slide 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero p, .hero .search, .hero .quick { animation: rise 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@keyframes slide { from { transform: translateY(10px); } to { transform: none; } }
/* Rings stop while the panel is off screen. Only transform and opacity move, so nothing is laid out again. */
.pings.off i::before, .pings.off i::after { animation-play-state: paused; }
.hero p { animation-delay: 0.08s; }
.hero .search { animation-delay: 0.16s; }
.hero .quick { animation-delay: 0.24s; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.anim .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
.anim .reveal.in { opacity: 1; transform: none; }

.cats a svg.i, .catlist a svg.i.tile, .res, .tilecard .ph, .btn, .chiplinks a, .postcard { transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease; }
.cats a:hover svg.i { transform: translateY(-3px); }
.cats a:active svg.i, .btn:active, .chiplinks a:active { transform: scale(0.96); }
.tilecard:hover .ph { transform: translateY(-3px); box-shadow: 0 8px 22px rgb(23 24 28 / 0.14); }

.chiplinks { display: flex; flex-wrap: wrap; gap: 8px; }
.chiplinks a { padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 500; background: #fff; }
.chiplinks a:hover { border-color: var(--accent); color: var(--accent); }
.linklist li { border-bottom: 1px solid var(--line); }
.linklist a { display: block; padding: 11px 0; font-family: var(--head); font-weight: 500; }
.linklist a:hover, .linklist .all { color: var(--accent); }
.links-h { margin: 26px 0 10px; font-size: 18px; font-weight: 700; }

.trust div { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; align-items: start; }
.trust div svg.i.tile { grid-row: span 2; }
.trust div h3, .trust div p { grid-column: 2; }

.owner-band { display: grid; overflow: hidden; margin-block: 8px 28px; border-radius: 16px; background: linear-gradient(135deg, #4b3fd6, #3327a8); color: #fff; }
.owner-band picture, .owner-band img { display: block; width: 100%; height: 100%; }
.owner-band img { object-fit: cover; object-position: 60% 50%; }
.owner-band > div { padding: 22px; align-self: center; }
.owner-band h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.owner-band p { margin-top: 8px; color: #dedbff; }
.owner-go { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 16px !important; }
.btn-light { background: #fff; border-color: #fff; color: var(--accent); }
.btn-light:hover { background: var(--accent-tint); border-color: var(--accent-tint); }
.owner-how { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.owner-band.small { grid-template-columns: 1fr auto; align-items: center; gap: 14px; padding: 18px 20px; margin-block: 28px 0; }
.owner-band.small > div { padding: 0; }
.owner-band.small h2 { font-size: 18px; }
.owner-band.small p { margin-top: 2px; font-size: 14px; }

/* Blog */
.blog-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.blog-head img { display: none; width: 320px; height: auto; border-radius: 14px; }
.posts { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.postcard { display: grid; align-content: start; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.postcard:hover { box-shadow: 0 6px 22px rgb(23 24 28 / 0.1); transform: translateY(-2px); }
.postcard img { width: 100%; height: 150px; object-fit: cover; background: var(--accent-tint); }
.postcard-body { display: grid; gap: 4px; padding: 14px 16px 16px; }
.postcard small, .post-meta { color: var(--muted); font-size: 13px; }
.postcard strong { font-family: var(--head); font-size: 17px; font-weight: 600; line-height: 1.3; }
.postcard-body > span { color: var(--muted); font-size: 14px; }
.post { max-width: 760px; }
.post h1 { margin-top: 4px; }
.post-cover { display: block; width: 100%; height: auto; margin-bottom: 18px; border-radius: 12px; }
.post-next { max-width: 760px; }
.post .prose { max-width: none; }
@media (min-width: 900px) { .post .prose { font-size: 17px; } }
.prose h3 { margin: 20px 0 6px; font-size: 17px; font-weight: 700; }
.page .crumbs { padding-top: 0; margin-bottom: 12px; }

/* Footer */
.foot { margin-top: 20px; padding: 0; text-align: start; font-size: 14px; }
.foot-grid { display: grid; gap: 4px; padding-block: 28px 12px; }
.foot-about p { margin: 10px 0 14px; max-width: 34ch; }
.foot .mark { color: var(--ink); font-size: 19px; }
.foot-col { border-top: 1px solid var(--line); }
.foot-col summary { display: flex; justify-content: space-between; padding: 13px 0; font-family: var(--head); font-weight: 600; color: var(--ink); cursor: pointer; list-style: none; }
.foot-col summary::-webkit-details-marker { display: none; }
.foot-col summary::after { content: "+"; font-weight: 400; color: var(--muted); }
.foot-col[open] summary::after { content: "\2212"; }
.foot-col ul { padding-bottom: 12px; }
.foot-col li a { display: block; margin: 0; padding: 5px 0; color: #3d4048; }
.foot-col li a:hover { color: var(--accent); }
.foot-end { padding: 14px var(--gutter) 22px; border-top: 1px solid var(--line); text-align: center; font-size: 12.5px; }

@media (min-width: 700px) {
	.blog-head img { display: block; }
	.owner-band { grid-template-columns: 1fr 1.1fr; min-height: 260px; }
	.owner-band picture { order: 2; }
	.owner-band > div { padding: 36px; }
	.owner-band h2 { font-size: 28px; }
	.foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-block: 44px 28px; }
	.foot-col { border-top: 0; }
	.foot-col summary { padding: 0 0 10px; cursor: default; pointer-events: none; }
	.foot-col summary::after { content: none; }
	.trust div { grid-template-columns: 1fr; row-gap: 10px; }
	.trust div svg.i.tile { grid-row: auto; }
	.trust div h3, .trust div p { grid-column: 1; }
}

/* ---------- Audit fixes ---------- */
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; padding-block: 20px; }
.pager-nums { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.pager-nums a, .pager-nums b { display: grid; place-items: center; min-width: 38px; height: 38px; padding: 0 8px; border: 1px solid var(--line); border-radius: 8px; font-weight: 600; }
.pager-nums a:hover { border-color: var(--accent); color: var(--accent); }
.pager-nums b { background: var(--accent); border-color: var(--accent); color: #fff; }
.crumbs a { display: inline-block; padding-block: 5px; }
.res h2 a { display: inline-block; padding-block: 3px; }
.checked-list { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.checked-list li { padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; }
.checked-list li > a { display: block; font-family: var(--head); font-weight: 600; }
.checked-list li > a:hover { color: var(--accent); }
.checked-list small { color: var(--muted); font-size: 13px; }
.citygrid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.citygrid a { display: grid; gap: 1px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; transition: border-color 0.18s ease, box-shadow 0.18s ease; }
.citygrid a:hover { border-color: var(--accent); box-shadow: 0 2px 12px rgb(23 24 28 / 0.08); }
.citygrid b { font-family: var(--head); font-weight: 600; }
.citygrid small { color: var(--muted); font-size: 12.5px; }
/* The filter row scrolls sideways on small screens; the fade at the edge says so. */
@media (max-width: 959px) {
	.pills { -webkit-mask-image: linear-gradient(90deg, #000 86%, transparent); mask-image: linear-gradient(90deg, #000 86%, transparent); padding-inline-end: 44px; }
}

/* Use my location */
.locate { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font: inherit; }
.quick .locate { padding: 7px 14px; border: 1px solid #fff; border-radius: 999px; background: #fff; color: var(--accent); font-size: 14px; font-weight: 600; }
.quick .locate svg.i { width: 15px; height: 15px; }
.hero-dark .quick a.last-city { border-color: #a79fff; color: #fff; font-weight: 600; }

/* Long website names break onto the next line instead of leaving their box */
.proof span, .note, .facts dd, .checked-list li, .res > div, .found li small { overflow-wrap: anywhere; min-width: 0; }
.checked-list li { min-width: 0; }

/* ---------- Trust: numbers, what was tested, photos, replies ---------- */
.bignums { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin: 18px 0 14px; }
.bignums div { padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; }
.bignums dt { color: var(--muted); font-size: 13px; }
.bignums dd { margin: 2px 0 0; font-family: var(--head); font-size: 26px; font-weight: 600; line-height: 1.2; }
.bignums dd span { font-family: var(--font); font-size: 14px; font-weight: 400; color: var(--muted); }
.tablewrap { overflow-x: auto; }
.datatable { width: 100%; max-width: 760px; border-collapse: collapse; font-size: 14.5px; }
.datatable th, .datatable td { padding: 9px 10px 9px 0; border-bottom: 1px solid var(--line); text-align: start; font-weight: 400; vertical-align: top; }
.datatable thead th { color: var(--muted); font-size: 13px; font-weight: 600; }
.datatable td { white-space: nowrap; text-align: end; padding-inline: 10px 0; }
.datatable th[scope="col"]:not(:first-child) { text-align: end; }
.tested { margin: -4px 0 14px; font-size: 14px; }
.tested summary { display: inline-block; color: var(--accent); font-weight: 600; cursor: pointer; padding-block: 4px; }
.tested ul { margin-top: 6px; padding-inline-start: 18px; list-style: disc; color: #3d4048; }
.tested li { padding-block: 2px; }
.gallery { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 8px; scrollbar-width: thin; }
.gallery li { flex: none; }
.gallery img { display: block; width: 160px; height: 120px; object-fit: cover; border-radius: 10px; }
.reply { margin-top: 8px; padding: 10px 12px; border-inline-start: 3px solid var(--accent); border-radius: 0 8px 8px 0; background: var(--soft); font-size: 14.5px; }
.photo-box { margin-top: 12px; }
.photo-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0; }
.photo-list li { display: grid; gap: 3px; width: 120px; }
.photo-list img { width: 120px; height: 90px; object-fit: cover; border-radius: 8px; background: var(--soft); }
.photo-list small { color: var(--muted); font-size: 12px; line-height: 1.3; }
.linkbtn { padding: 4px 0; border: 0; background: none; color: var(--accent); font: inherit; font-size: 13px; font-weight: 600; text-align: start; cursor: pointer; }
.owner-reviews { margin-top: 14px; }
.dash .fold + .fold { margin-top: 10px; }
.foot-social { margin-top: 12px; }
.foot-social a { color: var(--accent); font-weight: 600; margin-inline-end: 8px; }

/* A city with its own 3D landmark: beside the heading, never behind the words */
.city-art { position: absolute; z-index: 0; inset-inline-end: var(--gutter); bottom: 6px; width: auto; height: 86%; max-height: 300px; max-width: 42%; object-fit: contain; object-position: right bottom; pointer-events: none; filter: drop-shadow(0 14px 24px rgb(0 0 0 / 0.35)); animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.has-art .hero > *:not(.city-art) { position: relative; z-index: 1; }
@media (min-width: 960px) { .city-art { inset-inline-end: 56px; } .has-art .hero h1, .has-art .hero p, .has-art .hero .search { max-width: 620px; } }
@media (max-width: 959px) { .city-art { height: auto; width: 190px; max-width: none; max-height: 150px; top: 12px; bottom: auto; object-position: right top; } .has-art .hero h1 { max-width: calc(100% - 190px); } }
@media (max-width: 699px) { .city-art { width: auto; height: 82px; max-width: 104px; max-height: none; top: 14px; object-fit: contain; object-position: right center; animation: none; } .has-art .hero h1 { max-width: calc(100% - 106px); } }

/* Search: what the words were read as */
.understood { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 12px; color: var(--muted); font-size: 14px; }
.understood span { padding: 3px 10px; border-radius: 999px; background: var(--accent-tint); color: var(--accent); font-weight: 600; }
.search-cat .links-h { margin-top: 10px; }

/* Write a draft for me */
.draft-help { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: -4px; font-size: 13px; }
.draft-help .btn { height: 36px; padding: 0 14px; color: var(--accent); border-color: var(--accent-tint); background: var(--accent-tint); }
.draft-help .btn svg.i { width: 15px; height: 15px; }

/* Owner badge on the account page */
.badgebox { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.badgebox h3 { font-size: 16px; font-weight: 600; }
.badgebox .quiet { margin-top: 4px; }
.badge-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 12px 0 10px; }
.badge-row img { display: block; max-width: 100%; height: auto; border-radius: 10px; }
.badgebox textarea { width: 100%; font: 12px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; word-break: break-all; }
.badgebox .btn { margin-top: 10px; }
.badgebox .form-msg { margin-left: 10px; }

/* Questions and answers */
.faq { border-top: 1px solid var(--line); margin-bottom: 28px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 14px 0; font-family: var(--head); font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 20px; line-height: 1.1; font-weight: 400; color: var(--muted); }
.faq details[open] summary::after { content: "\2212"; }
.faq summary:hover { color: var(--accent); }
.faq details > :not(summary) { margin: 0 0 12px; }
.faq details > ul { padding-left: 20px; }

/* Share on WhatsApp: a quiet link under the business name. Irfan chose this place on 11 October 2026;
   the bar of contact buttons stays as it is. The link is 44px tall to tap; the negative margin gives the height back. */
.profile-share { margin: 2px 0 -8px; }
.profile-share a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.profile-share a:hover { text-decoration-color: currentColor; }
.profile-share .i { width: 18px; height: 18px; color: var(--ok); }

/* Tap areas of at least 44px without changing how they look (tester, 12 October 2026): the "Use my location" chip
   (32px tall), the quick links beside it and the round search button (38px) get an invisible layer that reaches 44px. */
.quick a, .quick .locate, .search button { position: relative; }
.quick a::after, .quick .locate::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 44px; transform: translateY(-50%); }
.search button::after { content: ""; position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; transform: translate(-50%, -50%); border-radius: inherit; }

/* "Did this number work?" (approved 11 and 19 October 2026): one slim line above the contact buttons after a Call
   tap; not a pop-up. And the visitors' count under the phone number, small and grey, away from "Checked". */
.asked { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: 14px; }
.asked p { margin: 0; flex: 1 1 auto; font-weight: 600; }
.asked .btn { flex: none; height: 36px; padding: 0 16px; }
.asked .x { flex: none; width: 44px; height: 44px; margin: -4px -8px -4px 0; border: 0; background: none; color: var(--muted); font-size: 20px; line-height: 1; cursor: pointer; }
.asked.said p { font-weight: 400; color: var(--muted); }
.said-worked { display: block; margin-top: 2px; font-size: 13px; line-height: 1.4; color: var(--muted); font-weight: 400; font-variant-numeric: normal; }

/* The badge box on the owner's account page once the listing is Checked (approved 19 October 2026, as drawn in
   mockups/badge/badge-box.html): under the visit counts, starting with the Checked line. */
.badgebox-top { margin-top: 14px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.checked-line { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 16px; color: var(--ok); }
.checked-line svg { width: 20px; height: 20px; flex: none; }
.checked-line b { color: var(--ink); font-weight: 600; }
.badgebox-top h3 { margin-top: 14px; }

/* ---------- Phones first: compact layout below 700px ----------
   One thumb, one job per screen. Smaller headings, tighter cards, no decorative boxes,
   and the contact buttons always within reach on a business page. */
@media (max-width: 699px) {
	:root { --gutter: 14px; }
	body { font-size: 14.5px; }
	/* 16px stops iPhones zooming in when a field is tapped */
	.search input, .search select, .f input, .f textarea, .f select { font-size: 16px; }

	/* Header: scrolls away with the page so results get the whole screen */
	.top { position: static; }
	.top-row { gap: 8px 10px; padding-block: 8px; }
	.mark { font-size: 18px; gap: 7px; }
	.mark img { width: 26px; height: 26px; }
	.top-links .fill { padding: 6px 11px; font-size: 13px; }
	.search { height: 42px; padding-inline: 12px 4px; box-shadow: none; }
	.search button { width: 34px; height: 34px; }
	.search .sep { margin-inline: 8px; }
	.search .where { flex: 0 1 132px; }

	/* Home */
	.hero-dark .hero { padding-block: 20px 18px; }
	.hero h1 { font-size: 25px; line-height: 1.15; }
	.hero p { margin-top: 6px; font-size: 13.5px; }
	.hero .search { height: 46px; margin-top: 14px; }
	.hero .search button { width: 38px; height: 38px; }
	/* 6px of room above and below, given back by the margins, so the 44px tap layers of the chips are not cut off by the scrolling row. */
	.quick { flex-wrap: nowrap; overflow-x: auto; gap: 6px; margin: 6px calc(var(--gutter) * -1) -6px; padding: 6px var(--gutter); scrollbar-width: none; }
	.quick::-webkit-scrollbar { display: none; }
	.quick a { flex: none; padding: 5px 11px; font-size: 13px; white-space: nowrap; }

	.section { padding-block: 18px; }
	.section > h2 { font-size: 17px; margin-bottom: 12px; text-align: start; }

	.cats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 6px; }
	.cats a { gap: 6px; padding: 0; border: 0; border-radius: 0; font-size: 11.5px; font-weight: 500; line-height: 1.25; align-content: start; }
	.cats a:hover { box-shadow: none; }
	.cats svg.i { width: 46px; height: 46px; padding: 12px; border-radius: 13px; background: var(--accent-tint); stroke-width: 1.8; }

	/* The long category index repeats the grid above; group pages carry it on phones */
	.section:has(> .browse) { display: none; }

	.grid4 { grid-auto-columns: 132px; gap: 10px; }
	.tilecard .ph { aspect-ratio: 3 / 2; border-radius: 10px; font-size: 20px; }
	.tilecard h3 { margin-top: 6px; font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
	.tilecard p { font-size: 12px; }

	.trust { gap: 10px; }
	.trust div { padding: 0 0 0 12px; border-radius: 0; background: none; border-inline-start: 3px solid var(--accent-tint); }
	.trust h3 { font-size: 14px; margin-bottom: 1px; }
	.trust p { font-size: 13px; }

	.foot { margin-top: 4px; padding: 16px var(--gutter) 20px; font-size: 12px; }
	.foot a { margin-inline: 6px; }

	/* Lists */
	.crumbs { padding-top: 10px; font-size: 12px; white-space: nowrap; overflow-x: auto; scrollbar-width: none; }
	.list-head { padding-block: 4px 10px; gap: 2px 12px; }
	.list-head h1 { font-size: 19px; }
	.list-head p, .sort { font-size: 12.5px; }
	.with-ico { gap: 9px; }
	svg.i.tile { width: 32px; height: 32px; padding: 7px; border-radius: 8px; }
	.pills { gap: 6px; padding-bottom: 10px; }
	.pill { height: 32px; padding: 0 12px; font-size: 13px; }
	.pill-select select { height: 30px; }

	.results { gap: 8px; }
	/* Home page: three checked examples are enough on a phone. */
	.checked-list li:nth-child(n+4) { display: none; }
	.res { grid-template-columns: 60px minmax(0, 1fr); gap: 8px 11px; padding: 11px; }
	.res:hover { box-shadow: none; }
	.ph { font-size: 19px; border-radius: 8px; }
	.res h2 { font-size: 15.5px; }
	.stars, .meta { margin-top: 2px; font-size: 12.5px; }
	.stars .s svg { width: 13px; height: 13px; }
	.chips { margin-top: 5px; gap: 4px; }
	.chips span { padding: 1px 7px; font-size: 11px; }
	/* On a category list every card would carry the same category chip */
	.pills ~ .layout .res .chips:not(:has(span + span)) { display: none; }
	.proof { margin-top: 4px; gap: 6px; font-size: 12.5px; }
	.proof svg.i { width: 14px; height: 14px; margin-top: 2px; }
	.proof span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
	.go { gap: 6px; }
	.btn { height: 40px; padding: 0 14px; font-size: 13.5px; }
	.res .btn { height: 38px; }
	/* A full-strength button on every card shouts; the tinted one is still the obvious tap */
	.res .btn-main { background: var(--accent-tint); border-color: var(--accent-tint); color: var(--accent); }
	.res .btn-main .i { stroke: currentColor; }
	.btn-ico { width: 40px; }
	.res .btn-ico { width: 38px; }
	.more { padding-block: 14px; }

	.layout { gap: 16px; }
	.side { gap: 10px; }
	.info, .quote { padding: 12px 14px; border-radius: 10px; font-size: 13px; }
	.info h2, .quote h2 { font-size: 14.5px; margin-bottom: 4px; }

	.catlist { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding-bottom: 18px; }
	.catlist a { grid-template-columns: 32px 1fr; column-gap: 9px; padding: 10px; font-size: 13.5px; line-height: 1.25; }
	.catlist small { font-size: 11.5px; }

	.empty { padding: 18px 0; }
	.empty h2 { font-size: 16px; }
	.empty-art { width: 120px; height: 80px; margin-bottom: 6px; }

	/* Business page */
	.profile-head { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding-block: 8px 10px; }
	.profile-head h1 { font-size: 20px; }
	.note { padding: 9px 12px; font-size: 13px; }
	.profile-grid { margin-top: 12px; }
	.block { padding-block: 16px; }
	.block h2 { font-size: 17px; margin-bottom: 8px; }
	.facts div { grid-template-columns: 82px minmax(0, 1fr); gap: 10px; padding-block: 8px; }
	.hours-table th, .hours-table td { padding: 6px 0; }
	.hours-table th { width: 104px; }
	.form { gap: 10px; }
	.f textarea { min-height: 84px; }

	/* Call, WhatsApp and Directions stay at the thumb while the page scrolls */
	body:has(.profile-go) { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
	.profile-go { position: fixed; inset-inline: 0; bottom: 0; z-index: 20; flex-wrap: nowrap; gap: 6px; margin: 0; padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 18px rgb(23 24 28 / 0.08); }
	.profile-go .btn-main { flex: 1.4 1 0; }
	.profile-go .btn { flex: 1 1 0; min-width: 0; height: 42px; padding: 0 8px; }
	/* "Did this number work?" sits just above the fixed bar of contact buttons. */
	.asked { position: fixed; inset-inline: 0; bottom: calc(59px + env(safe-area-inset-bottom)); z-index: 19; margin: 0; padding: 6px var(--gutter); border: 0; border-top: 1px solid var(--line); border-radius: 0; box-shadow: 0 -4px 18px rgb(23 24 28 / 0.06); }
	body:has(.asked) { padding-bottom: calc(108px + env(safe-area-inset-bottom)); }

	/* Account and plain pages */
	.acct { padding-block: 16px 24px; }
	.acct-card { padding: 20px 16px; }
	.acct-card h1, .acct-head h1 { font-size: 21px; }
	.page { padding-block: 18px 28px; }
	.page h1 { font-size: 22px; margin-bottom: 10px; }
	.prose { font-size: 15px; line-height: 1.6; }
	.prose h2 { margin: 20px 0 6px; font-size: 17px; }
	/* Account page */
	.acct-head { margin-bottom: 10px; }
	.dash { margin-top: 10px; padding: 14px; border-radius: 10px; }
	.dash-head h2 { font-size: 17px; }
	.dash-stats { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; margin: 10px 0 4px; }
	.dash-stats div { padding: 7px 2px; border-radius: 8px; text-align: center; }
	.dash-stats dt { font-size: 10.5px; overflow: hidden; text-overflow: ellipsis; }
	.dash-stats dd { font-size: 17px; }
	.dash-form .group > summary { padding: 11px 0; }
	.checks label { min-height: 36px; padding: 0 10px; font-size: 13.5px; }
	.found li { gap: 8px; }
	/* Facelift pieces, phone sizes */
	.trust div { grid-template-columns: 32px 1fr; column-gap: 11px; padding: 0; border: 0; }
	.chiplinks { gap: 6px; }
	.chiplinks a { padding: 5px 11px; font-size: 13px; }
	.owner-band { margin-block: 4px 18px; border-radius: 12px; }
	.owner-band picture { height: 128px; }
	.owner-band > div { padding: 16px; }
	.owner-band h2 { font-size: 18px; }
	.owner-band p { font-size: 13.5px; margin-top: 4px; }
	.owner-go { margin-top: 12px !important; }
	.owner-band.small { grid-template-columns: 1fr; padding: 16px; margin-top: 20px; }
	.blog-head { margin-bottom: 14px; }
	.posts { gap: 10px; }
	.postcard { grid-template-columns: 104px 1fr; }
	.postcard img { height: 100%; min-height: 96px; }
	.postcard-body { padding: 10px 12px; gap: 2px; }
	.postcard strong { font-size: 14.5px; }
	.postcard-body > span { display: none; }
	.links-h { margin: 20px 0 6px; font-size: 16px; }
	.linklist a { padding: 9px 0; font-size: 14px; }
	.foot { margin-top: 8px; padding: 0; font-size: 13.5px; }
	.foot-grid { padding-block: 18px 4px; }
	.foot-about p { margin: 8px 0 12px; }
	.foot-about { padding-bottom: 14px; }
	.foot-end { padding: 12px var(--gutter) 18px; }
	.pings i:nth-child(2), .pings i:nth-child(4) { display: none; }
	.pings i::before, .pings i::after { width: 150px; height: 150px; margin: -75px 0 0 -75px; }
	/* Audit fixes, phone sizes */
	body.has-bar { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
	.pager { gap: 8px; padding-block: 14px; }
	.pager-nums a, .pager-nums b { min-width: 36px; height: 36px; font-size: 13.5px; }
	.checked-list { gap: 8px; }
	.checked-list li { padding: 11px 12px; }
	.citygrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.citygrid a { padding: 10px 12px; }
	.foot-col li a { padding: 8px 0; }
	.quick .locate { flex: none; padding: 5px 11px; font-size: 13px; white-space: nowrap; }
	.bignums { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 12px 0 10px; }
	.bignums div { padding: 10px 12px; }
	.bignums dd { font-size: 20px; }
	.datatable { font-size: 13.5px; }
	.gallery img { width: 128px; height: 96px; }
	.photo-list li { width: 100px; }
	.photo-list img { width: 100px; height: 75px; }
}
