/* Fonts served from this site (no Google Fonts request). Variable files:
   one download covers every weight. The rupee sign comes from a 1 KB file. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('../fonts/inter.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('../fonts/inter-rupee.woff2') format('woff2'); unicode-range: U+20B9; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 300 700; font-display: swap; src: url('../fonts/space-grotesk.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 300 700; font-display: swap; src: url('../fonts/space-grotesk-rupee.woff2') format('woff2'); unicode-range: U+20B9; }

/* Karya design system. One file, no build step. */

:root {
  --green: #0F5C4A;
  --green-dark: #0A4034;
  --green-soft: #E3F0EB;
  --amber: #F2A20C;
  --amber-soft: #FFF4D6;
  --amber-ink: #5C3D00;
  --ink: #14201B;
  --ink-soft: #3A4741;
  --mut: #56635C;
  --bg: #F5F6F2;
  --line: #E1E5DE;
  --line-soft: #EEF1EC;
  --field: #C9D0C8;
  --blue-soft: #E4EDF8;
  --blue-ink: #1D4E89;
  --red-soft: #FBE4E2;
  --red-ink: #9B2219;
  --radius: 12px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.5;
}

h1, h2, h3, .display { font-family: "Space Grotesk", Inter, system-ui, sans-serif; margin: 0; line-height: 1.15; }
h1 { font-size: 34px; }
h2 { font-size: 22px; }
h3 { font-size: 17px; }
p { margin: 0 0 12px; }
a { color: var(--green); }
a:hover { color: var(--green-dark); }
img { max-width: 100%; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 860px; margin: 0 auto; padding: 0 24px; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.col { display: flex; flex-direction: column; gap: 8px; }
.sb { justify-content: space-between; }
.gap-lg { gap: 24px; }
.grow { flex: 1 1 0; min-width: 0; }
.mut { color: var(--mut); font-size: 14px; }
.small { font-size: 13px; }
.center { text-align: center; }
.mono { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; }
.stack > * + * { margin-top: 20px; }
.hide-sm { display: initial; }

/* Header */
.top { background: #fff; border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding-top: 12px; padding-bottom: 12px; }
.logo { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 25px; color: var(--green); text-decoration: none; white-space: nowrap; }
.logo span { font-size: 12px; font-weight: 500; color: var(--amber); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.nav a { min-height: 44px; padding: 0 12px; display: flex; align-items: center; color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500; border-radius: 8px; }
.nav a:hover { background: var(--bg); }
.nav a.on { color: var(--green); font-weight: 700; }

/* Buttons */
.btn {
  min-height: 44px; padding: 0 18px; border: 1px solid var(--field); border-radius: 8px;
  background: #fff; color: var(--ink); font: inherit; font-size: 14px; font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn:hover { border-color: var(--mut); color: var(--ink); }
.btn.p { background: var(--green); border-color: var(--green); color: #fff; }
.btn.p:hover { background: var(--green-dark); border-color: var(--green-dark); color: #fff; }
.btn.o { border-color: var(--green); color: var(--green); }
.btn.a { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.btn.d { border-color: var(--red-ink); color: var(--red-ink); }
.btn.lg { min-height: 52px; padding: 0 26px; font-size: 15px; }
.btn.sm { min-height: 38px; padding: 0 12px; font-size: 13px; }
.btn.block { width: 100%; }
.btn.pill { border-radius: 999px; }
.btn.on { background: var(--green); border-color: var(--green); color: #fff; }
.btn.on-soft { background: var(--green-soft); border-color: var(--green); color: var(--green); }
.btn[disabled] { opacity: .55; cursor: default; }

/* Cards */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card.tight { padding: 16px; }
.card.flat { padding: 0; overflow: hidden; }
.card + .card { margin-top: 14px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.grid.tiles { grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); }

/* Pills */
.pill { padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; display: inline-block; }
.pill.g { background: var(--green-soft); color: var(--green); }
.pill.y { background: var(--amber-soft); color: var(--amber-ink); }
.pill.b { background: var(--blue-soft); color: var(--blue-ink); }
.pill.n { background: var(--line-soft); color: var(--mut); }
.pill.r { background: var(--red-soft); color: var(--red-ink); }

/* Forms */
label { font-size: 14px; font-weight: 600; }
.field { display: flex; flex-direction: column; gap: 6px; }
input:not([type]), input[type=text], input[type=tel], input[type=number], input[type=email], input[type=password], input[type=url],
input[type=search], input[type=date], select, textarea {
  min-height: 48px; padding: 0 14px; border: 1px solid var(--field); border-radius: 8px;
  font: inherit; font-size: 15px; background: #fff; color: var(--ink); width: 100%;
}
textarea { padding: 12px 14px; min-height: 90px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--green); outline-offset: 1px; }
.check { min-height: 38px; display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 400; }
.check input { width: 18px; height: 18px; }
fieldset { border: 0; margin: 0; padding: 0; }
legend { font-size: 14px; font-weight: 600; padding: 0 0 6px; }
.sr { position: absolute; left: -9999px; }

/* Tables */
.tw { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { padding: 12px; text-align: left; font-size: 13px; font-weight: 600; color: var(--mut); border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 12px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; }

/* Photo placeholder */
.ph {
  background: repeating-linear-gradient(135deg, var(--green-soft) 0 14px, #D6E7E0 14px 28px);
  display: flex; align-items: flex-end; padding: 10px; font-size: 12px; color: #2F4A40; border-radius: 10px;
}

/* Notices */
.note { border-radius: 10px; padding: 14px 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; justify-content: space-between; }
.note.g { background: var(--green-soft); color: var(--green-dark); }
.note.y { background: var(--amber-soft); color: var(--amber-ink); }
.note.r { background: var(--red-soft); color: var(--red-ink); }
.note.n { background: #fff; border: 1px dashed var(--field); color: var(--mut); }

/* Hero */
.hero { background: var(--green); color: #fff; }
.hero h1 { font-size: clamp(32px, 5vw, 54px); }
.hero .mut, .hero p { color: #D5E8E1; }
.hero a { color: #fff; }

/* Search box with suggestions */
.searchbox { position: relative; flex: 1 1 300px; min-width: 0; }
.suggest {
  position: absolute; left: 0; right: 0; top: 54px; z-index: 30; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 32px rgba(20,32,27,.16); padding: 8px;
}
.suggest .head { font-size: 11px; font-weight: 700; letter-spacing: .07em; color: var(--mut); padding: 10px 12px 4px; }
.suggest a { min-height: 44px; padding: 0 12px; border-radius: 8px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--ink); text-decoration: none; font-size: 14px; }
.suggest a:hover, .suggest a:focus { background: #F1F8F5; }

/* Panel shell: vendor and admin */
.shell { display: flex; flex-wrap: wrap; min-height: 100vh; }
.side { flex: 1 0 236px; max-width: 100%; padding: 20px 14px; display: flex; flex-direction: column; gap: 18px; }
.side.vendor { background: var(--green); }
.side.admin { background: var(--ink); }
.side .logo { color: #fff; padding: 0 12px; }
.side nav { display: flex; flex-direction: column; gap: 2px; }
.side nav a { min-height: 42px; padding: 0 12px; display: flex; align-items: center; border-radius: 8px; text-decoration: none; font-size: 14px; font-weight: 500; color: #D5E8E1; }
.side.admin nav a { color: #C9D0C8; }
.side nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.side nav a.on { background: var(--green-dark); color: #fff; font-weight: 600; }
.side.admin nav a.on { background: #2A3832; color: #fff; font-weight: 600; }
.side .group { font-size: 11px; font-weight: 700; letter-spacing: .07em; color: rgba(255,255,255,.5); padding: 12px 12px 4px; }
.panel { flex: 999 1 560px; min-width: 0; padding: 28px; display: flex; flex-direction: column; gap: 22px; }

/* Stat tiles */
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 2px; }
.stat b { font-family: "Space Grotesk", sans-serif; font-size: 28px; line-height: 1.2; }

/* Listing card */
.listing { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.listing .body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1 1 auto; }
.listing .ph { height: 168px; border-radius: 0; }
.listing .spec { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--mut); }
.listing .spec b { color: var(--ink); font-weight: 500; }
.listing h3 a { color: var(--ink); text-decoration: none; }
.listings.list .listing { flex-direction: row; }
.listings.list .listing .ph { width: 210px; height: auto; min-height: 150px; flex: 0 0 210px; }

/* Footer */
.foot { background: #fff; border-top: 1px solid var(--line); margin-top: 48px; }
.foot .wrap { padding: 36px 24px; display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(200px,100%), 1fr)); font-size: 14px; }
.foot a { display: block; min-height: 32px; color: var(--ink); text-decoration: none; }
.foot a:hover { color: var(--green); }
.foot strong { display: block; margin-bottom: 8px; }

/* Steps */
.steps { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.steps li { flex: 1 1 150px; padding: 10px 14px; border-radius: 10px; font-size: 14px; font-weight: 600; background: #fff; border: 1px solid var(--line); color: var(--mut); }
.steps li.on { background: var(--green); border-color: var(--green); color: #fff; }
.steps li.done { background: var(--green-soft); border-color: var(--green-soft); color: var(--green); }

/* Bar chart for admin reports */
.bar { height: 26px; background: var(--line-soft); border-radius: 6px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--green); }

.kv { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line-soft); font-size: 14px; }
.kv:first-child { border-top: 0; }

details { border-top: 1px solid var(--line-soft); padding: 12px 0; }
summary { min-height: 30px; font-weight: 600; cursor: pointer; }

@media (max-width: 760px) {
  .wrap, .wrap-narrow { padding: 0 16px; }
  h1 { font-size: 27px; }
  .panel { padding: 16px; }
  .side { flex-basis: 100%; padding: 12px; }
  .side nav { flex-direction: row; flex-wrap: wrap; }
  .side nav a { flex: 1 1 140px; }
  .side .group { width: 100%; }
  .hide-sm { display: none; }
  .listings.list .listing { flex-direction: column; }
  .listings.list .listing .ph { width: auto; flex: none; height: 168px; }
  .foot .wrap { padding: 24px 16px; }
}

/* Flex and grid rules must not override the hidden attribute. */
[hidden] { display: none !important; }

/* ---------------------------------------------------------------------------
   Quote popup
--------------------------------------------------------------------------- */
.qm { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; padding: 20px; }
.qm[hidden] { display: none; }
.qm-back { position: absolute; inset: 0; background: rgba(12, 28, 23, .55); }
.qm-box {
  position: relative; z-index: 1; display: flex; width: min(960px, 100%); max-height: calc(100vh - 40px);
  overflow: auto; background: #fff; border-radius: 14px; box-shadow: 0 24px 60px rgba(10, 40, 32, .3);
}
.qm-x {
  position: absolute; top: 12px; right: 14px; z-index: 2; width: 34px; height: 34px; border: 0; border-radius: 8px;
  background: transparent; color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer;
}
.qm-x:hover { background: var(--line-soft); }

.qm-side { flex: 0 0 300px; border-right: 1px solid var(--line); padding: 22px; background: #fff; }
.qm-shot { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.qm-shot .ph { height: 190px; border: 0; border-radius: 0; }
.qm-meta { padding-top: 16px; }
.qm-meta h3 { font-size: 17px; line-height: 1.35; }
.qm-price { display: block; margin-top: 6px; color: var(--green); font-size: 17px; }
.qm-specs { margin: 12px 0 0; font-size: 13px; color: var(--mut); }
.qm-specs div { display: flex; gap: 6px; padding: 3px 0; }
.qm-specs b { color: var(--ink); font-weight: 600; }

.qm-main { flex: 1 1 420px; padding: 34px 38px 30px; }
.qm-main h2 { font-size: 23px; line-height: 1.35; font-weight: 500; }
.qm-main h2 b { font-weight: 700; }

.qm-phone { display: flex; align-items: stretch; border: 2px solid var(--green); border-radius: 8px; overflow: hidden; }
.qm-cc { display: flex; align-items: center; padding: 0 14px; background: var(--bg); border-right: 1px solid var(--line); font-size: 14px; font-weight: 600; white-space: nowrap; }
.qm-phone input { flex: 1; border: 0; border-radius: 0; padding: 14px; font-size: 15px; }
.qm-phone input:focus { outline: 0; }

.qm-tick {
  width: 46px; height: 46px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--green-soft); color: var(--green); font-size: 24px; margin-bottom: 14px;
}

@media (max-width: 760px) {
  .qm { padding: 0; align-items: flex-end; }
  .qm-box { flex-direction: column; max-height: 100vh; border-radius: 14px 14px 0 0; }
  .qm-side { flex: none; border-right: 0; border-bottom: 1px solid var(--line); padding: 18px; display: flex; gap: 14px; align-items: flex-start; }
  .qm-side h3 { padding-right: 34px; }
  .qm-shot { flex: 0 0 104px; align-self: flex-start; }
  .qm-shot .ph { height: 92px; font-size: 11px; }
  .qm-meta h3 { font-size: 16px; }
  .qm-specs { margin-top: 8px; }
  .qm-meta { padding-top: 0; }
  .qm-main { padding: 22px 18px 26px; }
  .qm-main h2 { font-size: 20px; }
}

/* ---------------------------------------------------------------------------
   Directory card: photo, price, actions, spec table, vendor line
--------------------------------------------------------------------------- */
.dcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.dcard:hover { box-shadow: 0 10px 26px rgba(14, 50, 40, .09); }

.dcard-shot { position: relative; background: var(--green-soft); }
.dcard-shot .ph { height: 210px; border: 0; border-radius: 0; }
.dcard-shot img { display: block; width: 100%; height: 210px; object-fit: cover; }
.dcard-tag {
  position: absolute; top: 10px; left: 10px; padding: 4px 9px; border-radius: 5px;
  font-size: 11px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: #fff;
}
.dcard-tag.lead { background: var(--green); }
.dcard-tag.star { background: var(--amber); color: var(--ink); }
.dcard-dots { position: absolute; left: 0; right: 0; bottom: 8px; display: flex; justify-content: center; gap: 5px; }
.dcard-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .6); }
.dcard-dots i.on { background: #fff; }

.dcard-body { display: flex; flex-direction: column; gap: 10px; padding: 14px; flex: 1; }
.dcard-body h3 { font-size: 15px; line-height: 1.4; }
.dcard-body h3 a { color: var(--green); text-decoration: none; }
.dcard-body h3 a:hover { text-decoration: underline; }
.dcard-price { font-family: 'Space Grotesk', Inter, sans-serif; font-size: 20px; }
.dcard-price span { font-size: 13px; font-weight: 500; color: var(--mut); }

.dcard-actions { display: flex; gap: 8px; }
.dcard-actions .btn { flex: 1; padding: 9px 10px; font-size: 13px; }
.dcard-actions .btn.call { flex: 0 0 92px; }

/* Label/value rows, striped like a spec sheet */
.spectable { border-top: 1px solid var(--line-soft); font-size: 12.5px; }
.spectable div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 8px; }
.spectable div:nth-child(odd) { background: var(--bg); }
.spectable span { color: var(--mut); }
.spectable b { font-weight: 600; text-align: right; }

.dcard-seller { border-top: 1px solid var(--line-soft); padding-top: 10px; font-size: 12.5px; display: flex; flex-direction: column; gap: 3px; }
.dcard-seller a { color: var(--ink); font-weight: 600; text-decoration: underline; }
.dcard-seller .row { justify-content: space-between; gap: 8px; }

.stars { color: var(--amber-ink); font-size: 12px; letter-spacing: 1px; white-space: nowrap; }
.stars b { color: var(--ink); letter-spacing: 0; margin-left: 4px; font-size: 12.5px; }
.seal { display: inline-flex; align-items: center; gap: 4px; color: var(--green); font-weight: 600; }
.seal::before { content: "✓"; display: inline-flex; align-items: center; justify-content: center; width: 13px; height: 13px; border-radius: 50%; background: var(--green); color: #fff; font-size: 9px; }

/* ---------------------------------------------------------------------------
   Chip rails (related services, cities)
--------------------------------------------------------------------------- */
.chiprail { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.chiprail::-webkit-scrollbar { height: 5px; }
.chiprail::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border: 1px solid var(--line);
  border-radius: 999px; background: #fff; font-size: 13px; color: var(--ink); text-decoration: none; white-space: nowrap;
}
.chip:hover { border-color: var(--green); }
.chip.on { background: var(--green-soft); border-color: var(--green); color: var(--green); font-weight: 600; }
.chip i { width: 14px; height: 14px; border-radius: 50%; background: var(--green-soft); flex: none; }

/* ---------------------------------------------------------------------------
   Product page: gallery, seller box, reviews, sticky bar
--------------------------------------------------------------------------- */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gallery .main { grid-row: span 2; }
.gallery .ph, .gallery img { width: 100%; height: 100%; min-height: 150px; border-radius: 10px; object-fit: cover; }
.gallery .main .ph, .gallery .main img { min-height: 310px; }
.gallery button { padding: 0; border: 0; background: none; cursor: pointer; display: block; }

.pricebox { font-family: 'Space Grotesk', Inter, sans-serif; font-size: 30px; }
.pricebox span { font-size: 14px; font-weight: 500; color: var(--mut); font-family: Inter, sans-serif; }

.sellerbox { border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12.5px; }

.ratesum { display: flex; flex-wrap: wrap; gap: 26px; align-items: center; }
.ratebig { text-align: center; }
.ratebig b { display: block; font-family: 'Space Grotesk', Inter, sans-serif; font-size: 42px; line-height: 1; }
.ratebars { flex: 1 1 260px; display: flex; flex-direction: column; gap: 4px; font-size: 12px; }
.ratebars div { display: flex; align-items: center; gap: 8px; }
.ratebars i { flex: 1; height: 7px; border-radius: 4px; background: var(--line-soft); overflow: hidden; }
.ratebars i s { display: block; height: 100%; background: var(--amber); }

.gauges { display: flex; gap: 18px; }
.gauge { text-align: center; font-size: 12px; color: var(--mut); }
.gauge b {
  position: relative; display: flex; align-items: center; justify-content: center; width: 62px; height: 62px; margin: 0 auto 6px;
  border-radius: 50%; font-size: 14px; color: var(--ink); background: conic-gradient(var(--green) var(--p), var(--line-soft) 0);
}
.gauge b::after { content: ""; position: absolute; width: 46px; height: 46px; border-radius: 50%; background: #fff; }
.gauge b em { position: relative; z-index: 1; font-style: normal; font-weight: 700; }

.review { display: flex; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line-soft); }
.avatar {
  flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--green); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700;
}

.stickybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: none; gap: 12px; align-items: center;
  padding: 10px 16px; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(14, 50, 40, .08);
}
.stickybar.show { display: flex; }
.stickybar .grow { min-width: 0; }
.stickybar strong { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

@media (max-width: 760px) {
  /* On a phone the listings come first; filters and the quote box follow. */
  .rail { order: 2; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery .main .ph, .gallery .main img { min-height: 200px; }
  .gauges { gap: 10px; }
  .gauge b { width: 54px; height: 54px; }
  .dcard-actions { flex-wrap: wrap; }
}

/* ---------------------------------------------------------------------------
   Slide-over drawer, used for adding a listing
--------------------------------------------------------------------------- */
.drawer { position: fixed; inset: 0; z-index: 85; display: flex; justify-content: flex-end; }
.drawer[hidden] { display: none; }
.drawer-back { position: absolute; inset: 0; background: rgba(12, 28, 23, .45); }
.drawer-panel {
  position: relative; z-index: 1; display: flex; flex-direction: column;
  width: min(520px, 100%); background: #fff; box-shadow: -12px 0 40px rgba(10, 40, 32, .18);
}
.drawer-head {
  display: flex; align-items: center; gap: 12px; padding: 14px 18px;
  border-bottom: 1px solid var(--line); flex: none;
}
.drawer-head h2 { flex: 1; text-align: center; font-size: 17px; }
.drawer-head button { width: 34px; height: 34px; border: 0; border-radius: 8px; background: transparent; font-size: 20px; cursor: pointer; }
.drawer-head button:hover { background: var(--line-soft); }
.drawer-body { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 16px; }
.drawer-foot { flex: none; padding: 14px 18px; border-top: 1px solid var(--line); background: #fff; }

/* ---------------------------------------------------------------------------
   Listing form: photo block, pricing tabs, slab rows
--------------------------------------------------------------------------- */
.lf-photos { display: flex; flex-direction: column; gap: 10px; }
.lf-main { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--green-soft); }
.lf-main img { display: block; width: 100%; height: 210px; object-fit: cover; }
.lf-main .ph { height: 210px; border: 0; border-radius: 0; }

.lf-thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.lf-thumb, .lf-add {
  position: relative; width: 78px; height: 78px; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--line); background: #fff; flex: none;
}
.lf-thumb img { width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.lf-thumb.primary { border: 2px solid var(--green); }
.lf-badge {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2px 0; text-align: center;
  background: var(--green); color: #fff; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
}
.lf-drop {
  position: absolute; top: 2px; right: 2px; width: 20px; height: 20px; border: 0; border-radius: 50%;
  background: rgba(20, 32, 27, .72); color: #fff; font-size: 13px; line-height: 1; cursor: pointer;
}
.lf-add {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  border: 1px dashed var(--green); color: var(--green); cursor: pointer;
}
.lf-add span { font-size: 20px; line-height: 1; }
.lf-add small { font-size: 10px; }

.lf-tabs { display: flex; border: 1px solid var(--green); border-radius: 8px; overflow: hidden; }
.lf-tab {
  flex: 1; padding: 10px 6px; border: 0; border-right: 1px solid var(--green); background: #fff;
  color: var(--green); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; cursor: pointer;
}
.lf-tab:last-child { border-right: 0; }
.lf-tab.on { background: var(--green); color: #fff; }

.lf-pricing { display: flex; flex-direction: column; gap: 8px; }
.lf-slabs { width: 100%; border-collapse: collapse; font-size: 13px; }
.lf-slabs th { text-align: left; padding: 6px 6px 6px 0; font-size: 11px; text-transform: uppercase; letter-spacing: .03em; color: var(--mut); }
.lf-slabs td { padding: 4px 6px 4px 0; vertical-align: middle; }
.lf-slabs input { padding: 8px 10px; }
.lf-slabs td:last-child { width: 1%; white-space: nowrap; }

.lf-section { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; }
.lf-section summary { display: flex; gap: 8px; align-items: baseline; }

@media (max-width: 760px) {
  .drawer-panel { width: 100%; }
  .lf-tab { font-size: 11px; padding: 9px 4px; }
}
.dcard-price.plain { font-size: 16px; }

/* Row that opens a second pane inside the drawer */
.lf-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%;
  padding: 14px 2px; border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: none; text-align: left; cursor: pointer; font: inherit; color: var(--ink);
}
.lf-row + .lf-row { border-top: 0; }
.lf-row span { display: flex; flex-direction: column; gap: 2px; }
.lf-row small { font-size: 12px; }
.lf-row.back { border-top: 0; flex-direction: row; justify-content: flex-start; }
.lf-chev { font-size: 22px; color: var(--mut); }
.lf-chev.back { color: var(--ink); }
.lf-sub { display: flex; flex-direction: column; }

/* Booking popup: time slots */
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.slot { position: relative; }
.slot input { position: absolute; opacity: 0; pointer-events: none; }
.slot span {
  display: block; padding: 10px 8px; border: 1px solid var(--line); border-radius: 8px;
  text-align: center; font-size: 13px; cursor: pointer; background: #fff;
}
.slot input:checked + span { border-color: var(--green); background: var(--green-soft); color: var(--green); font-weight: 600; }
.slot input:disabled + span { opacity: .45; cursor: not-allowed; text-decoration: line-through; }

/* Two ways to buy, side by side */
.modes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.mode { border: 1px solid var(--line); border-radius: 14px; padding: 22px; background: #fff; display: flex; flex-direction: column; gap: 10px; }
.mode.instant { border-color: var(--green); }
.mode h2 { font-size: 21px; }
.mode .tag { align-self: flex-start; }

/* A slot that has passed reads as unavailable, not as a choice. */
.slot.off { opacity: .45; cursor: not-allowed; }
.slot.off span { text-decoration: line-through; }

/* A note that is a sentence rather than a row of controls. Its words stay
   together instead of being spread apart by space-between. */
.note.prose { display: block; }
.note code, code { background: rgba(0, 0, 0, .06); padding: 1px 6px; border-radius: 4px; font-size: .92em; }

/* A checkbox and its wording stay on one line together. */
.checkline { display: flex; gap: 9px; align-items: flex-start; flex-wrap: nowrap; }
.checkline input { flex: none; margin-top: 3px; }

/* ---------------------------------------------------------------------------
   Catalogue page: feature cards with a cover photo, and photo tiles for the
   subcategories. Every photo is a business's real work; a tinted initial
   stands in until one exists.
   --------------------------------------------------------------------------- */
.cat-hero { background: var(--green); color: #fff; }
.cat-hero .wrap { padding-top: 34px; padding-bottom: 30px; }
.cat-hero h1 { color: #fff; font-size: clamp(30px, 4vw, 42px); margin: 2px 0 8px; }
.cat-kicker { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--amber); }
.cat-lede { margin: 0; max-width: 640px; color: #D5E8E1; font-size: 16px; }

.jump { position: sticky; top: 0; z-index: 20; background: rgba(245, 246, 242, .94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.jump-rail { display: flex; gap: 6px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; }
.jump-rail::-webkit-scrollbar { display: none; }
.jump-rail a { flex: none; padding: 7px 13px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.jump-rail a:hover { border-color: var(--green); color: var(--green); }

.cat-section { margin-top: 34px; scroll-margin-top: 70px; }
.seg-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 14px; }
.seg-head h2 { font-size: 26px; margin: 6px 0 4px; }
.seg-head .mut { margin: 0; max-width: 720px; }

.cat-feature {
  display: grid; grid-template-columns: minmax(220px, 300px) 1fr; gap: 0 22px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 14px; margin-top: 16px; scroll-margin-top: 70px;
}
.cat-cover {
  position: relative; display: block; text-decoration: none; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden;
  background: var(--line-soft);
}
.cat-cover img, .ctile-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.cat-feature:hover .cat-cover img, .ctile:hover .ctile-img img { transform: scale(1.04); }
.cat-badge {
  position: absolute; left: 10px; top: 10px; padding: 4px 10px; border-radius: 999px;
  background: var(--amber-soft); color: var(--amber-ink); font-size: 12px; font-weight: 700;
  box-shadow: 0 1px 3px rgba(0,0,0,.12);
}
.cat-badge.g { background: var(--green-soft); color: var(--green-dark); }

.cat-body { display: flex; flex-direction: column; gap: 8px; padding: 6px 4px; min-width: 0; }
.cat-body h3 { font-size: 22px; margin: 0; }
.cat-body h3 a { color: var(--ink); text-decoration: none; }
.cat-body h3 a:hover { color: var(--green); }
.cat-meta { margin: 0; color: var(--mut); font-size: 14px; }
.cat-meta strong { color: var(--ink); }
.cat-intro { margin: 0; color: var(--ink-soft); font-size: 14px; max-width: 560px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cat-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px; }

.ctiles {
  grid-column: 1 / -1; display: grid; gap: 12px; margin-top: 14px; padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
}
.ctiles.loose { border-top: 0; padding-top: 0; }
.ctile { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; transition: border-color .2s, box-shadow .2s; }
.ctile:hover { border-color: var(--green); box-shadow: 0 6px 18px rgba(15, 92, 74, .10); }
.ctile-img { display: block; text-decoration: none; aspect-ratio: 4 / 3; overflow: hidden; background: var(--line-soft); }
.ctile-body { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px 12px; }
.ctile-name { color: var(--ink); font-weight: 700; font-size: 15px; text-decoration: none; }
.ctile-name:hover { color: var(--green); }
.ctile-name::after { content: " →"; color: var(--green); opacity: 0; transition: opacity .2s; }
.ctile:hover .ctile-name::after { opacity: 1; }
.ctile-meta { color: var(--mut); font-size: 13px; }
.ctile-price { color: var(--green-dark); font-size: 13px; font-weight: 600; }
.ctile-more { color: var(--mut); font-size: 12px; margin-top: 4px; }

/* No photo yet: a tinted panel with the initial, so it reads as designed. */
.ph-art {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(circle at 78% 22%, rgba(255,255,255,.55) 0 18%, transparent 19%),
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(255,255,255,.28) 14px 28px),
    var(--tone-bg);
}
.ph-art span { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 44px; color: var(--tone-fg); opacity: .8; }
.cat-cover .ph-art span { font-size: 72px; }

.cat-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 40px; padding: 24px; border-radius: 16px; background: var(--ink); color: #fff;
}
.cat-cta h2 { color: #fff; margin: 0 0 4px; }
.cat-cta p { color: #C9D0C8; margin: 0; }

@media (max-width: 720px) {
  .cat-feature { grid-template-columns: 1fr; padding: 12px; }
  .cat-cover { aspect-ratio: 16 / 9; }
  .cat-body { padding: 12px 2px 2px; }
  .ctiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ctile-body { padding: 8px 10px 10px; }
  .ctile-name { font-size: 14px; }
}

/* Admin: the small cover photo control beside each category and service */
.cover-form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 6px 0 4px; }
.cover-thumb { width: 56px; height: 42px; border-radius: 6px; overflow: hidden; background: var(--line-soft); display: flex; align-items: center; justify-content: center; flex: none; }
.cover-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cover-form input[type=file] { font-size: 12px; max-width: 210px; }
.cover-note { min-width: 150px; }

/* Home hero: real work photos, an offer only when one is set */
.hero-art { flex: 1 1 360px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.hero-row { display: flex; gap: 12px; }
.hero-shot { position: relative; display: block; flex: 1 1 0; min-width: 0; border-radius: 12px; overflow: hidden; background: #176450; min-height: 120px; }
.hero-shot.big { aspect-ratio: 16 / 9; }
.hero-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-row .hero-shot { aspect-ratio: 4 / 3; }
.hero-cap { position: absolute; left: 8px; bottom: 8px; right: 8px; padding: 4px 9px; border-radius: 6px; background: rgba(10, 30, 24, .72); color: #fff; font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-offer { flex: 1 1 0; min-width: 0; background: var(--amber); color: var(--ink); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.hero-offer .display { font-weight: 700; font-size: 22px; line-height: 1.15; }
.hero-offer.stat .display { font-size: 34px; }
.hero-code { font-size: 13px; }
@media (max-width: 720px) { .hero-row .hero-shot:nth-child(2) { display: none; } }

/* A gallery sized to the photos it really has */
.gallery.n1 { grid-template-columns: 1fr; }
.gallery.n1 .main { grid-row: auto; }
.gallery.n2 .main { grid-row: auto; }
.gallery .main { border-radius: 10px; overflow: hidden; }
.gallery .main .ph-art { min-height: 220px; aspect-ratio: 16 / 9; border-radius: 10px; }

/* ---------------------------------------------------------------------------
   Result cards: ratings, earned badges, call and WhatsApp. On phones they
   turn compact, photo left and details right, so three fit on a screen.
   --------------------------------------------------------------------------- */
.dcard-shot { display: block; overflow: hidden; text-decoration: none; }
.dcard-shot .ph-art { height: 210px; }
.dcard-count { position: absolute; right: 8px; bottom: 8px; padding: 2px 8px; border-radius: 999px; background: rgba(10, 30, 24, .7); color: #fff; font-size: 11px; font-weight: 600; }
.dcard-tag.ok { background: var(--green-soft); color: var(--green-dark); }
.dcard-tag.plain { background: #fff; color: var(--ink); }
.dcard-who { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.rating { display: inline-flex; align-items: center; padding: 2px 7px; border-radius: 6px; background: #1E7B3A; color: #fff; font-size: 12.5px; font-weight: 700; line-height: 1.5; }
.rating.new { background: var(--line-soft); color: var(--mut); font-weight: 600; }
.dcard-place::before { content: "·"; margin-right: 6px; color: var(--line); }
.dcard-badges { display: flex; flex-wrap: wrap; gap: 5px; }
.tb { padding: 2px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 600; background: var(--line-soft); color: var(--ink-soft); }
.tb.star { background: var(--amber-soft); color: var(--amber-ink); }
.tb.lead, .tb.ok { background: var(--green-soft); color: var(--green-dark); }
.dcard-actions .btn.icon { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 9px 11px; }
.dcard-actions .btn.wa { color: #128C4A; border-color: #BFE3CC; }
.dcard-actions .btn.wa:hover { background: #EAF7EF; }
.dcard-actions .btn .lbl { display: none; }

/* Phone toolbar, filter sheet and quote bar: phones only */
.mbar, .mcta, .sheet-x, .sheet-done { display: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

@media (max-width: 760px) {
  .dcard { flex-direction: row; align-items: stretch; }
  .dcard-shot { flex: 0 0 116px; width: 116px; position: relative; }
  .dcard-shot img, .dcard-shot .ph-art { height: 100%; min-height: 150px; }
  .dcard-shot .ph-art span { font-size: 30px; }
  .dcard-tag { top: 6px; left: 6px; font-size: 10px; padding: 2px 6px; }
  .dcard-body { padding: 10px 12px; gap: 6px; min-width: 0; }
  .dcard-body h3 { font-size: 14px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .dcard-price { font-size: 17px; }
  .dcard-scope, .spectable, .dcard-badges .tb:nth-child(n+3) { display: none; }
  .dcard-seller { padding-top: 6px; font-size: 12px; }
  .dcard-actions { flex-wrap: nowrap; gap: 6px; }
  .dcard-actions .btn { padding: 8px 8px; font-size: 12.5px; min-height: 38px; }
  .dcard-actions .btn.p { flex: 1 1 auto; }

  .mbar:not([hidden]) {
    display: flex; align-items: center; gap: 8px; position: sticky; top: 0; z-index: 30;
    margin: 14px -16px 0; padding: 8px 16px; background: rgba(245, 246, 242, .96);
    border-bottom: 1px solid var(--line); backdrop-filter: blur(6px);
  }
  .mbar-btn { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border: 1px solid var(--field); border-radius: 8px; background: #fff; font: inherit; font-size: 13px; font-weight: 600; color: var(--ink); }
  .mbar-btn b { min-width: 18px; height: 18px; border-radius: 9px; background: var(--green); color: #fff; font-size: 11px; display: inline-flex; align-items: center; justify-content: center; }
  .mbar-sort select { height: 38px; min-height: 38px; padding: 0 28px 0 10px; font-size: 13px; }
  .mbar-count { margin-left: auto; color: var(--mut); font-size: 12px; white-space: nowrap; }

  .filters-card { display: none; }
  body.sheet-open .filters-card {
    display: block; position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; max-height: 82vh; overflow-y: auto;
    border-radius: 16px 16px 0 0; padding: 18px 16px 22px; box-shadow: 0 -12px 34px rgba(0,0,0,.2);
  }
  body.sheet-open .sheet-back { display: block; position: fixed; inset: 0; z-index: 55; background: rgba(10, 20, 16, .45); }
  body.sheet-open { overflow: hidden; }
  .sheet-x { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border: 0; border-radius: 8px; background: var(--bg); font-size: 22px; line-height: 1; cursor: pointer; }
  .sheet-done { display: flex; }

  .mcta {
    display: flex; align-items: center; gap: 10px; position: fixed; z-index: 40; left: 0; right: 0; bottom: 0;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line);
    box-shadow: 0 -6px 18px rgba(0,0,0,.08);
  }
  .mcta-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
  .mcta-text strong { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mcta-text span { font-size: 12px; color: var(--mut); }
  .mcta .btn { flex: 0 0 auto; }
  body:has(.mcta) .foot { padding-bottom: 86px; }
}

/* An empty service page, turned into a request for quotes */
.lead-empty { background: #fff; border: 2px solid var(--green); border-radius: 16px; padding: 24px; }
.lead-empty h2 { font-size: 24px; margin: 10px 0 8px; }
.lead-empty > p { color: var(--ink-soft); margin: 0 0 16px; max-width: 620px; }
.lead-steps { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.lead-steps li { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; background: var(--green-soft); color: var(--green-dark); font-size: 14px; font-weight: 600; }
.lead-steps b { width: 22px; height: 22px; border-radius: 50%; background: var(--green); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }
@media (max-width: 760px) { .lead-empty { padding: 18px; } .lead-empty h2 { font-size: 21px; } }

/* Leaving a review */
.review-box { margin-top: 12px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; background: #fff; }
.review-box summary { font-weight: 700; color: var(--green); }
.stars-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.stars-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars-input label { font-size: 32px; line-height: 1; color: var(--line); cursor: pointer; transition: color .15s; }
.stars-input input:checked ~ label, .stars-input label:hover, .stars-input label:hover ~ label { color: #F2A20C; }
.stars-input input:focus-visible + label { outline: 2px solid var(--green); outline-offset: 2px; border-radius: 4px; }
.grid.three-sm { display: grid; gap: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 560px) { .grid.three-sm { grid-template-columns: 1fr; } }

/* Header: city picker with a pin, a voice button in search, a menu on phones */
.city-form { position: relative; display: flex; align-items: center; }
.city-pin { position: absolute; left: 10px; color: var(--green); pointer-events: none; }
.city-form select { min-width: 150px; padding-left: 30px; }
.searchbox { position: relative; }
.searchbox .mic { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; border-radius: 8px; background: transparent; color: var(--green); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.searchbox .mic:hover { background: var(--green-soft); }
.searchbox .mic.listening { color: #fff; background: #C0392B; animation: micpulse 1.1s ease-in-out infinite; }
@keyframes micpulse { 50% { box-shadow: 0 0 0 6px rgba(192, 57, 43, .18); } }
.searchbox:has(.mic:not([hidden])) input { padding-right: 46px; }
.searchbox .mic-lang { position: absolute; right: 44px; top: 50%; transform: translateY(-50%); min-width: 30px; height: 26px; padding: 0 6px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--mut, #667); font: 600 12px/1 inherit; cursor: pointer; }
.searchbox .mic-lang.hi { color: var(--green); border-color: var(--green); }
.searchbox:has(.mic-lang:not([hidden])) input { padding-right: 82px; }
.mmenu { display: none; }

@media (max-width: 760px) {
  .top .wrap { gap: 10px; padding-top: 10px; padding-bottom: 10px; }
  .top .logo { order: 1; }
  .city-form { order: 2; margin-left: auto; }
  .city-form select { min-width: 0; width: 132px; height: 40px; min-height: 40px; font-size: 14px; }
  .mmenu { order: 3; display: block; position: relative; }
  .top .nav { display: none; }
  .top .searchbox { order: 4; flex: 1 1 100%; }
  .mmenu summary { list-style: none; width: 42px; height: 40px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--field); border-radius: 8px; cursor: pointer; color: var(--ink); }
  .mmenu summary::-webkit-details-marker { display: none; }
  .mmenu[open] summary { background: var(--green-soft); border-color: var(--green); }
  .mmenu-panel { position: absolute; right: 0; top: 48px; z-index: 70; width: 230px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px rgba(20,32,27,.16); padding: 6px; display: flex; flex-direction: column; }
  .mmenu-panel a, .mmenu-panel button { min-height: 44px; display: flex; align-items: center; padding: 0 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font: inherit; font-size: 15px; background: none; border: 0; text-align: left; cursor: pointer; width: 100%; }
  .mmenu-panel a:hover, .mmenu-panel button:hover { background: var(--bg); }
  .mmenu-panel .mmenu-login { background: var(--green); color: #fff; justify-content: center; margin-top: 4px; font-weight: 600; }
}
.wa-btn { color: #128C4A; border-color: #BFE3CC; }
.wa-btn:hover { background: #EAF7EF; color: #0E7A3F; }

/* ---------------------------------------------------------------------------
   Search results: what we understood, the services it could mean as photo
   tiles, then the businesses themselves.
   --------------------------------------------------------------------------- */
.srch-head h1 { margin: 0; }
.srch-head h1 span { font-weight: 500; color: var(--mut); }
.srch-head p { margin: 6px 0 0; }
.srch-tiles { margin-top: 18px; }
.srch-label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--mut); margin-bottom: 8px; }
.srch-rail { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.stile { flex: 0 0 230px; display: flex; align-items: center; gap: 10px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.stile:hover { border-color: var(--green); box-shadow: 0 6px 16px rgba(15, 92, 74, .1); }
.stile.on { border: 2px solid var(--green); background: var(--green-soft); }
.stile.empty { opacity: .78; }
.stile-img { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 8px; overflow: hidden; background: var(--line-soft); }
.stile-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.stile-img .ph-art span { font-size: 22px; }
.stile-body { display: flex; flex-direction: column; min-width: 0; }
.stile-body b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stile-body span { font-size: 12.5px; color: var(--mut); }
.srch-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.srch-named { margin-bottom: 20px; }
.srch-named h2 { font-size: 18px; margin: 0 0 10px; }
.srch-named-list { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.vrow { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); }
.vrow:hover { border-color: var(--green); }
.vrow .avatar { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--green-soft); color: var(--green-dark); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; }
.vrow .rating { margin-left: auto; }
.chips-wrap { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chips-wrap .chip { text-decoration: none; }
.srch-side { position: sticky; top: 16px; }
@media (max-width: 760px) {
  .srch-side { position: static; order: 2; }
  .stile { flex-basis: 200px; }
}
.srch-sub { font-size: 17px; margin: 22px 0 12px; }
.srch-sub:first-child { margin-top: 0; }
@media (max-width: 760px) {
  .dcard-tag { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: calc(100% - 12px); }
}

/* Home: photo tiles for categories and most quoted services */
.htiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.htile { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; text-decoration: none; color: var(--ink); transition: border-color .2s, box-shadow .2s, transform .2s; }
.htile:hover { border-color: var(--green); box-shadow: 0 8px 20px rgba(15, 92, 74, .12); transform: translateY(-2px); }
.htile-img { display: block; aspect-ratio: 4 / 3; background: var(--line-soft); overflow: hidden; }
.htile-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.htile-img .ph-art { width: 100%; height: 100%; }
.htile-img .ph-art span { font-size: 34px; }
.htile-body { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px 12px; min-width: 0; }
.htile-body b { font-size: 15px; line-height: 1.25; }
.htile-body span { font-size: 12.5px; color: var(--mut); }
@media (max-width: 640px) {
  .htiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .htile-body { padding: 8px 10px 10px; }
  .htile-body b { font-size: 14px; }
}
/* Chip rails scroll sideways without a visible bar */
.chiprail, .srch-rail { scrollbar-width: none; }
.chiprail::-webkit-scrollbar, .srch-rail::-webkit-scrollbar { display: none; }

/* Company pages and Post a requirement */
.grid.three { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .grid.three { grid-template-columns: 1fr; } }
.prose-page article h2 { font-size: 19px; margin: 24px 0 8px; }
.prose-page article h2:first-child { margin-top: 0; }
.prose-page article p { line-height: 1.65; margin: 0 0 10px; color: var(--ink); }

/* Admin list pages: header, filters, bulk bar, table */
.adm-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.adm-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.adm-search { display: flex; gap: 8px; margin: 0; }
.adm-search input { width: 260px; max-width: 60vw; margin: 0; }
.adm-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 14px; }
.adm-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); text-decoration: none; font-size: 13.5px; font-weight: 600; }
.adm-chip b { font-weight: 700; color: var(--mut); font-variant-numeric: tabular-nums; }
.adm-chip:hover { border-color: var(--green); }
.adm-chip.on { background: var(--green); border-color: var(--green); color: #fff; }
.adm-chip.on b { color: rgba(255, 255, 255, .85); }
.adm-bulk { position: sticky; top: 0; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px 14px; margin-bottom: 10px; background: var(--green-soft); border: 1px solid var(--green); border-radius: 10px; }
.adm-bulk[hidden] { display: none; }
.adm-table { border: 0; border-radius: 0; }
.adm-table table { width: 100%; border-collapse: collapse; }
.adm-table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--mut); font-weight: 700; padding: 12px 14px; border-bottom: 1px solid var(--line); background: #FBFAF6; white-space: nowrap; }
.adm-table td { padding: 12px 14px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.adm-table td > span.small, .adm-table td > span.mut { display: block; }
.adm-table tr:last-child td { border-bottom: 0; }
.adm-table tbody tr:hover { background: #FBFAF6; }
.adm-table .num { text-align: right; white-space: nowrap; }
.adm-table .num span { display: inline !important; }
.adm-name { font-weight: 700; color: var(--ink); text-decoration: none; display: block; }
.adm-name:hover { color: var(--green); text-decoration: underline; }
.adm-pages { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 14px; }
@media (max-width: 760px) {
  .adm-search input { width: 100%; }
  .adm-search { flex: 1 1 100%; }
  .adm-table th:nth-child(4), .adm-table td:nth-child(4), .adm-table th:nth-child(6), .adm-table td:nth-child(6) { display: none; }
}

/* Panel menu folds away on phones */
.side-toggle { display: none; }
@media (max-width: 760px) {
  .side { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; }
  .side-toggle { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border: 1px solid rgba(255,255,255,.35); border-radius: 8px; background: transparent; color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
  .side nav { display: none; flex: 1 1 100%; }
  /* Open: one clear list, not two columns of mixed widths. */
  .side nav.open { display: flex; flex-direction: column; flex-wrap: nowrap; gap: 2px; margin: 2px -4px 0; padding-top: 6px; border-top: 1px solid rgba(255,255,255,.15); max-height: calc(100vh - 80px); overflow-y: auto; }
  .side nav.open a { flex: none; min-height: 46px; font-size: 15px; padding: 0 14px; }
  .side nav.open .group { width: auto; padding: 14px 14px 4px; }
  .side nav.open form { margin-top: 10px !important; padding: 0 4px 6px; }
  .side nav.open form .btn { width: 100%; min-height: 44px; }
  .side-toggle[aria-expanded="true"] { background: rgba(255,255,255,.14); }
  .side-toggle::before { content: '☰'; margin-right: 8px; font-size: 16px; line-height: 1; }
  .side-toggle[aria-expanded="true"]::before { content: '✕'; font-size: 14px; }
}

/* Service page: localities where the service is available */
.locbar { margin-top: 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.locbar-head { display: flex; justify-content: space-between; align-items: baseline; gap: 4px 12px; flex-wrap: wrap; margin-bottom: 10px; }
.locbar-head b { font-size: 15px; }
.locbar-head span { font-size: 13px; color: var(--mut); }
.locchips { display: flex; flex-wrap: wrap; gap: 8px; }
.locchip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-size: 14px; text-decoration: none; white-space: nowrap; }
.locchip svg { color: var(--green); flex: none; }
.locchip em { font-style: normal; font-size: 12px; font-weight: 700; background: var(--green-soft); color: var(--green); padding: 1px 7px; border-radius: 999px; }
.locchip:hover { border-color: var(--green); }
.locchip.on { background: var(--green); border-color: var(--green); color: #fff; font-weight: 600; }
.locchip.on svg { color: #fff; }
.locchip.on em { background: rgba(255, 255, 255, .2); color: #fff; }
.locother { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line-soft); font-size: 13px; color: var(--mut); }
.locother.solo { margin-top: 0; padding-top: 0; border-top: 0; }
.locother a { color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 1px dashed var(--line); }
.locother a:hover { color: var(--green); border-color: var(--green); }
@media (max-width: 640px) {
  .locchips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px 2px; }
  .locchips::-webkit-scrollbar { display: none; }
}

/* Listing page: area box with unit, and a counter */
.qty-field { margin: 0; }
.qty-input { display: flex; align-items: stretch; border: 1px solid var(--line); border-radius: 10px; background: #fff; overflow: hidden; }
.qty-input:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.qty-input input { border: 0; flex: 1; min-width: 0; margin: 0; box-shadow: none; }
.qty-input input:focus { outline: none; box-shadow: none; }
.qty-input span { display: flex; align-items: center; padding: 0 14px; background: var(--line-soft); color: var(--mut); font-size: 14px; white-space: nowrap; }
.qty-step { display: flex; gap: 8px; align-items: stretch; max-width: 220px; }
.qty-step input { text-align: center; margin: 0; min-width: 0; flex: 1; }
.qty-step .btn { min-width: 46px; padding: 0; font-size: 20px; }
#qtyEstimate { color: var(--green); font-weight: 600; }

/* Popup picture: the listing's own photo */
.qm-shot img { display: block; width: 100%; height: 190px; object-fit: cover; }
@media (max-width: 640px) { .qm-shot img { height: 92px; } }

/* Endless lists */
.infinite-more { margin-top: 18px; }
.infinite-more .infinite-status { text-align: center; margin: 10px 0 0; }
.infinite-more .infinite-status:empty { display: none; }

/* Customer account */
.acct-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; flex-wrap: wrap; }
.acct-head h1 { font-size: 30px; }
.acct-tabs { display: flex; gap: 4px; margin: 18px 0 20px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.acct-tabs::-webkit-scrollbar { display: none; }
.acct-tabs a { padding: 10px 14px; text-decoration: none; color: var(--mut); font-weight: 600; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.acct-tabs a:hover { color: var(--ink); }
.acct-tabs a.on { color: var(--green); border-bottom-color: var(--green); }
.acct-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 18px; align-items: start; }
.acct-grid.one { grid-template-columns: minmax(0, 760px); }
.acct-list { display: flex; flex-direction: column; gap: 8px; position: sticky; top: 16px; }
.acct-item { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); }
.acct-item:hover { border-color: var(--green); }
.acct-item.on { border: 2px solid var(--green); background: #F1F8F5; padding: 11px 13px; }
.acct-detail { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.acct-detail h3 { font-size: 17px; }
.acct-steps { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; counter-reset: s; }
.acct-steps li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; position: relative; font-size: 13px; }
.acct-steps li::before { content: ''; position: absolute; top: 14px; right: 50%; width: 100%; height: 2px; background: var(--line); z-index: 0; }
.acct-steps li:first-child::before { display: none; }
.acct-steps li.done::before { background: var(--green); }
.acct-steps .dot { position: relative; z-index: 1; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--line); color: var(--mut); font-weight: 700; font-size: 13px; }
.acct-steps li.done .dot { background: var(--green); border-color: var(--green); color: #fff; }
.acct-steps b { font-size: 13px; }
.acct-steps span:last-child { color: var(--mut); font-size: 12px; line-height: 1.3; }
.acct-quotes { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin-top: 12px; }
.acct-quote { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; padding: 16px; background: #fff; }
.acct-quote.on { border: 2px solid var(--green); background: #F1F8F5; padding: 15px; }
.acct-vendors { display: flex; flex-direction: column; margin-top: 8px; }
.acct-vendor { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line-soft); flex-wrap: wrap; }
.acct-vendor:first-child { border-top: 0; }
.acct-actions { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.acct-empty { max-width: 640px; }
@media (max-width: 860px) {
  .acct-grid { grid-template-columns: 1fr; }
  .acct-list { position: static; flex-direction: row; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
  .acct-list::-webkit-scrollbar { display: none; }
  .acct-item { flex: 0 0 240px; }
  .acct-steps { grid-template-columns: repeat(5, minmax(56px, 1fr)); }
  .acct-steps span:last-child { display: none; }
  .acct-head h1 { font-size: 24px; }
}

/* Admin: picking a staff role */
.role-pick { display: flex; flex-direction: column; gap: 8px; }
.role-pick legend { font-weight: 600; margin-bottom: 4px; }
.role-pick label { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: start; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.role-pick label:has(input:checked) { border-color: var(--green); background: #F1F8F5; }
.role-pick label input { margin-top: 3px; }
.role-pick label .mut { grid-column: 2; }

/* Popups: signed in, so the number is already known */
.qm-me { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 12px; padding: 12px 14px; border: 1px solid var(--green); background: #F1F8F5; border-radius: 10px; font-size: 14.5px; }
.qm-me[hidden] { display: none; }
.linkish { background: none; border: 0; padding: 0; color: var(--green); font: inherit; font-size: 13.5px; font-weight: 600; text-decoration: underline; cursor: pointer; }
.make-partner { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.make-partner summary { font-weight: 600; cursor: pointer; color: var(--green); }
/* Service area */
.sa-city { border: 1px solid var(--line-soft); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.sa-form { display: flex; flex-direction: column; gap: 10px; }
.sa-modes { display: flex; gap: 18px; flex-wrap: wrap; }
.sa-modes label { display: flex; gap: 6px; align-items: center; font-weight: 500; cursor: pointer; }
.sa-pick { display: flex; flex-direction: column; gap: 8px; }
.sa-pick.off .sa-chips, .sa-pick.off .sa-find { opacity: .45; }
.sa-find { flex: 1 1 200px; min-width: 0; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; font: inherit; }
.sa-chips { display: flex; flex-wrap: wrap; gap: 6px; max-height: 210px; overflow-y: auto; padding: 2px; }
.sa-chip { cursor: pointer; }
.sa-chip input { position: absolute; opacity: 0; pointer-events: none; }
.sa-chip span { display: inline-block; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; background: #fff; }
.sa-chip input:checked + span { background: var(--green); border-color: var(--green); color: #fff; }
.sa-chip input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--green); font: inherit; cursor: pointer; text-decoration: underline; }
/* Profile score */
.ps-num { font-size: 34px; line-height: 1; }
.ps-num small { font-size: 15px; color: var(--mut, #667); font-weight: 500; }
.ps-bar { height: 10px; background: var(--line-soft); border-radius: 999px; overflow: hidden; margin-top: 12px; }
.ps-bar i { display: block; height: 100%; background: var(--green); border-radius: 999px; transition: width .4s; }
.ps-y .ps-bar i { background: #d49a12; }
.ps-r .ps-bar i { background: #c2412d; }
.ps-item { display: flex; gap: 10px; align-items: flex-start; padding: 9px 0; border-top: 1px solid var(--line-soft); }
.ps-item:first-child { border-top: 0; }
.ps-item.done b { font-weight: 500; color: var(--mut, #667); }
.ps-tick { flex: 0 0 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; font-size: 12px; color: #fff; margin-top: 1px; }
.ps-item.done .ps-tick { background: var(--green); border-color: var(--green); }
.ps-next { display: flex; justify-content: space-between; gap: 8px; padding: 9px 12px; border: 1px solid var(--line-soft); border-radius: 10px; text-decoration: none; color: inherit; }
.ps-next b { color: var(--green); }
.ps-next:hover { border-color: var(--green); }
/* Vendor profile (public) */
.vp-hero { background: var(--green); color: #fff; }
.vp-hero-in { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; padding-top: 32px; padding-bottom: 32px; }
.vp-logo { flex: 0 0 96px; width: 96px; height: 96px; border-radius: 18px; background: #fff; color: var(--green); display: flex; align-items: center; justify-content: center; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 32px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.15); }
.vp-logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.vp-id { flex: 1 1 360px; min-width: 0; }
.vp-id h1 { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.12; overflow-wrap: anywhere; }
.vp-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 8px; color: #D5E8E1; }
.vp-meta > * + *::before { content: '·'; margin-right: 14px; color: #8fbfae; }
.vp-meta a { color: #fff; text-decoration: none; }
.vp-open { color: #ffd9a0; }
.vp-open.on { color: #9ff0c8; font-weight: 600; }
.vp-actions { display: flex; flex-direction: column; gap: 10px; align-items: stretch; flex: 0 0 auto; }
.btn.light { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.35); }
.btn.light:hover { background: rgba(255,255,255,.22); }
.vp-actions .row .btn { flex: 1 1 0; }
.vp-tabs { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line-soft); }
.vp-tabs .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.vp-tabs a { padding: 14px 12px; white-space: nowrap; text-decoration: none; color: var(--ink); font-weight: 500; border-bottom: 2px solid transparent; }
.vp-tabs a:hover { border-color: var(--green); color: var(--green); }
.vp-tabs b { font-weight: 600; color: var(--mut, #667); font-size: 13px; margin-left: 2px; }
.vp-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin-top: 16px; }
.vp-facts > div { background: var(--bg-soft, #f4f6f3); border-radius: 10px; padding: 12px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.vp-facts span { font-size: 13px; color: var(--mut, #667); }
.vp-facts b { overflow-wrap: anywhere; }
.vp-facts small { font-size: 12px; color: #a26a00; }
.vp-facts small.ok { color: var(--green); }
.vp-city { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; padding-top: 12px; border-top: 1px solid var(--line-soft); }
.vp-city:first-child { border-top: 0; padding-top: 0; }
.vp-city > b { min-width: 90px; }
.vp-city a.pill { text-decoration: none; }
.vp-worked { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.vp-worked a { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border: 1px solid var(--line-soft); border-radius: 10px; text-decoration: none; color: inherit; }
.vp-worked a:hover { border-color: var(--green); }
.vp-worked span { font-size: 13px; color: var(--mut, #667); }
.vp-side { position: sticky; top: 64px; }
.vp-contact { display: flex; flex-direction: column; margin-top: 8px; }
.vp-contact > * { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; border-top: 1px solid var(--line-soft); text-decoration: none; color: inherit; min-width: 0; }
.vp-contact > *:first-child { border-top: 0; }
.vp-contact span { font-size: 13px; color: var(--mut, #667); }
.vp-contact b { overflow-wrap: anywhere; }
.vp-contact a b { color: var(--green); }
.vp-contact b.lock { text-decoration: underline; }
.vp-social { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.vp-social a { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; text-decoration: none; color: var(--ink); }
.vp-social a:hover { border-color: var(--green); color: var(--green); }
.vp-hours { margin-top: 8px; }
.vp-hours div { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; font-size: 15px; border-top: 1px solid var(--line-soft); }
.vp-hours div:first-child { border-top: 0; }
.vp-hours .today { font-weight: 700; color: var(--green); }
@media (max-width: 720px) {
  .vp-hero-in { gap: 14px; padding-top: 22px; padding-bottom: 22px; }
  .vp-logo { flex-basis: 64px; width: 64px; height: 64px; font-size: 22px; border-radius: 14px; }
  .vp-id { flex-basis: calc(100% - 80px); }
  .vp-actions { width: 100%; }
  .vp-side { position: static; }
  .vp-meta { flex-direction: column; gap: 3px; }
  .vp-meta > * + *::before { content: none; }
}
/* Profile form extras */
.bp-block { border-top: 1px solid var(--line-soft); padding-top: 14px; }
.bp-block h3 { font-size: 16px; margin: 0 0 10px; }
.bp-logo { width: 72px; height: 72px; border-radius: 14px; background: var(--line-soft); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 22px; color: var(--green); overflow: hidden; flex: 0 0 72px; }
.bp-logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.bp-hours { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.bp-day { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.bp-on { display: flex; align-items: center; gap: 8px; min-width: 130px; cursor: pointer; }
.bp-day input[type=time] { padding: 7px 8px; border: 1px solid var(--line); border-radius: 8px; font: inherit; }
.bp-closed { display: none; }
.bp-day.off input[type=time], .bp-day.off > .mut:not(.bp-closed) { display: none; }
.bp-day.off .bp-closed { display: inline; }
/* UPI payments */
.pay-qr { background: #fff; border: 1px solid var(--line-soft); border-radius: 14px; padding: 12px; margin: 12px auto 0; max-width: 280px; }
.pay-qr.small { max-width: 180px; margin: 0; }
.pay-qr img { width: 100%; height: auto; display: block; image-rendering: crisp-edges; }
.pay-amount { display: flex; align-items: baseline; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line-soft); }
.pay-amount span { flex: 0 0 82px; color: var(--mut, #667); font-size: 14px; }
.pay-amount b { flex: 1 1 auto; overflow-wrap: anywhere; }
/* App buttons are for phones; on a computer, scan the QR. */
.pay-apps { margin-top: 14px; }
.pay-app-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 6px; }
.pay-app-grid .btn:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (hover: hover) and (pointer: fine) { .pay-apps { display: none; } }
.err { color: #b42318; }
/* Cost guides */
.cg-hero { margin-top: 14px; background: var(--green); color: #fff; border-radius: 16px; padding: 22px 24px; display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; justify-content: space-between; }
.cg-hero > div { display: flex; flex-direction: column; gap: 6px; }
.cg-hero .mut { color: #D5E8E1; }
.cg-range { font-family: 'Space Grotesk', sans-serif; font-size: clamp(30px, 5vw, 46px); line-height: 1.05; }
.cg-range small { font-size: 18px; font-weight: 500; color: #D5E8E1; margin-left: 4px; }
.cg-hero-side { align-items: flex-start; max-width: 360px; }
.cg-intro { font-size: 17px; line-height: 1.65; max-width: 860px; margin: 16px 0 0; }
.cg-list { margin: 10px 0 0; padding-left: 18px; line-height: 1.7; }
.art-svc { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; border: 1px solid var(--green); background: var(--green-soft, #E3F0EB); border-radius: 12px; padding: 14px 16px; margin: 18px 0; }
.art-svc > div:first-child { display: flex; flex-direction: column; gap: 2px; }
.art-svc span { font-size: 14px; color: var(--ink-soft, #44524c); }
/* Society pages */
.soc-vendors { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; margin-top: 12px; }
.soc-vendor { display: flex; gap: 12px; align-items: center; padding: 14px; background: #fff; border: 1px solid var(--line-soft); border-radius: 12px; text-decoration: none; color: var(--ink); }
.soc-vendor:hover { border-color: var(--green); }
.soc-logo { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 12px; background: var(--green-soft, #E3F0EB); color: var(--green); display: flex; align-items: center; justify-content: center; font-weight: 700; overflow: hidden; }
.soc-logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.soc-proj { color: var(--green); }
.soc-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.soc-photos a { position: relative; display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--line-soft); }
.soc-photos img { width: 100%; height: 100%; object-fit: cover; display: block; }
.soc-photos span { position: absolute; left: 8px; bottom: 8px; background: rgba(0,0,0,.6); color: #fff; font-size: 12px; padding: 3px 8px; border-radius: 999px; }
/* Guides */
.art-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-top: 18px; }
.art-card { display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid var(--line-soft); border-radius: 14px; padding: 14px; text-decoration: none; color: var(--ink); }
.art-card:hover { border-color: var(--green); }
.art-card b { font-size: 17px; line-height: 1.3; }
.art-cover { display: block; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--line-soft); margin-bottom: 4px; }
.art-cover img, .art-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.art-hero { aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; margin-top: 16px; background: var(--line-soft); }
.art-body { font-size: 17px; line-height: 1.75; max-width: 760px; }
.art-body h2 { font-size: 24px; margin: 30px 0 10px; }
.art-body h3 { font-size: 19px; margin: 22px 0 8px; }
.art-body img { max-width: 100%; border-radius: 10px; }
.art-body table { border-collapse: collapse; width: 100%; font-size: 15px; display: block; overflow-x: auto; }
.art-body th, .art-body td { border: 1px solid var(--line-soft); padding: 8px 10px; text-align: left; }
.art-body blockquote { margin: 16px 0; padding: 8px 16px; border-left: 4px solid var(--green); background: var(--green-soft, #E3F0EB); border-radius: 0 10px 10px 0; }
.art-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px 16px; }
/* Guide editor */
.ged-tabs { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.ged-tabs button { border: 0; background: #fff; padding: 6px 14px; font: inherit; font-size: 14px; cursor: pointer; }
.ged-tabs button.on { background: var(--green); color: #fff; }
.ged-bar { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 6px; }
.ged-bar button { border: 1px solid var(--line); background: #fff; border-radius: 6px; padding: 5px 10px; font: inherit; font-size: 13px; cursor: pointer; }
.ged-bar select { font-size: 13px; padding: 5px 8px; max-width: 260px; }
.ged-text { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 14px; line-height: 1.6; min-height: 420px; }
.ged-preview { border: 1px solid var(--line-soft); border-radius: 10px; padding: 16px 20px; min-height: 420px; background: #fff; }
/* Share buttons */
.share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.share-wa { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 14px; border-radius: 8px; background: #1FAF54; color: #fff; text-decoration: none; font-weight: 600; font-size: 14px; }
.share-wa:hover { background: #17964a; }
.share-btn { min-height: 38px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font: inherit; font-size: 14px; cursor: pointer; color: var(--ink); }
.vp-hero .share-btn { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); }
.soc-share { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; border-color: #1FAF54; background: #F0FAF3; }
/* Vendor: get more customers */
.grow-badges { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-top: 14px; }
.grow-badge { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.grow-prev { padding: 18px; border-radius: 12px; border: 1px dashed var(--line); width: 100%; display: flex; justify-content: center; }
.grow-prev.dark { background: #eef2f0; }
.grow-code { width: 100%; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; }
.grow-link { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; padding: 12px 0; border-top: 1px solid var(--line-soft); }
.grow-link:first-child { border-top: 0; }
.grow-link > div:first-child { flex: 1 1 260px; }
.grow-link input { width: 300px; max-width: 100%; min-width: 0; font-size: 13px; }
@media (max-width: 760px) { .grow-link > .row { width: 100%; } .grow-link input { flex: 1 1 auto; width: auto; } }
/* Explore links above the footer */
.explore { border-top: 1px solid var(--line-soft); background: #fff; padding: 26px 0; }
.explore .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px 28px; }
.explore-col b { display: block; font-size: 14px; margin-bottom: 8px; }
.explore-col div { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.explore-col a { font-size: 13.5px; color: var(--ink-soft, #44524c); text-decoration: none; line-height: 1.7; }
.explore-col a:hover { color: var(--green); text-decoration: underline; }
.next-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.next-links a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; text-decoration: none; color: var(--ink); font-size: 14px; }
.next-links a:hover { border-color: var(--green); color: var(--green); }
/* Listing form: several rates and packages */
.lf-basis { max-width: 240px; margin: 10px 0 0; }
.lf-pkg { border: 1px solid var(--line-soft); border-radius: 12px; padding: 12px; margin-top: 10px; background: #fff; }
.lf-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.lf-chips button { border: 1px dashed var(--line); background: #fff; border-radius: 999px; padding: 3px 10px; font: inherit; font-size: 12px; cursor: pointer; color: var(--ink-soft, #44524c); }
.lf-chips button:hover { border-color: var(--green); color: var(--green); }
.lf-slabs select { width: 100%; }
/* Listing page: several rates and packages */
.lp-opts { display: flex; flex-direction: column; border: 1px solid var(--line-soft); border-radius: 12px; overflow: hidden; }
.lp-opt { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border-top: 1px solid var(--line-soft); background: #fff; }
.lp-opt:first-child { border-top: 0; }
.lp-opt strong { font-family: 'Space Grotesk', sans-serif; font-size: 20px; white-space: nowrap; }
.lp-opt small { font-size: 13px; font-weight: 500; color: var(--mut, #667); }
.lp-pkgs { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.lp-pkg { display: flex; flex-direction: column; gap: 8px; padding: 14px; border: 1px solid var(--line-soft); border-radius: 12px; background: #fff; }
.lp-pkg strong { font-family: 'Space Grotesk', sans-serif; font-size: 20px; }
.lp-inc { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.lp-inc li::before { content: '✓ '; color: var(--green); font-weight: 700; }
.dcard-basis { display: inline-block; margin-left: 6px; font-size: 12px; font-weight: 500; color: var(--mut, #667); font-family: Inter, sans-serif; }
/* Products */
.pd-shot { flex: 0 1 420px; width: 100%; max-width: 420px; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--line-soft); }
.pd-shot img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pd-price { font-family: 'Space Grotesk', sans-serif; font-size: 34px; }
.pd-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin-top: 12px; }
.prod-card { display: flex; flex-direction: column; gap: 4px; padding: 10px; background: #fff; border: 1px solid var(--line-soft); border-radius: 12px; text-decoration: none; color: var(--ink); min-width: 0; }
.prod-card:hover { border-color: var(--green); }
.prod-card b { font-size: 14px; line-height: 1.3; font-weight: 600; }
.prod-shot { position: relative; display: block; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: #f6f7f5; margin-bottom: 4px; }
.prod-shot img { width: 100%; height: 100%; object-fit: contain; }
.prod-shot em { position: absolute; left: 6px; top: 6px; background: var(--green); color: #fff; font-style: normal; font-size: 11px; font-weight: 700; padding: 2px 6px; border-radius: 6px; }
.prod-price { font-weight: 700; font-family: 'Space Grotesk', sans-serif; }
.prod-price s { font-weight: 400; color: var(--mut, #667); font-size: 12px; font-family: Inter, sans-serif; }
.pe-dialog { border: 0; border-radius: 16px; padding: 20px; width: min(440px, calc(100vw - 32px)); box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.pe-dialog::backdrop { background: rgba(20,32,27,.5); }
.pe-x { border: 0; background: none; font-size: 26px; line-height: 1; cursor: pointer; color: var(--mut, #667); }
.shop-list { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.shop-card { display: flex; gap: 14px; align-items: flex-start; flex-wrap: wrap; background: #fff; border: 1px solid var(--line-soft); border-radius: 14px; padding: 14px; }
.shop-card > .col.grow { flex: 1 1 260px; }
.prod-cat { font-size: 16px; margin: 18px 0 0; }
.pp-thumb { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 8px; background: var(--line-soft); overflow: hidden; }
.pp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pp-quick { gap: 6px; flex-wrap: nowrap; }
.pp-quick input { width: 90px; padding: 6px 8px; }
.pp-quick select { width: 120px; padding: 6px 8px; }
.pp-edit summary { list-style: none; display: inline-flex; }
.pp-edit summary::-webkit-details-marker { display: none; }
.pp-edit[open] { position: relative; }
.pp-edit[open] > form:first-of-type { min-width: min(560px, 80vw); }
@media (max-width: 760px) { .pp-quick { flex-wrap: wrap; } }
.lang-switch { display: flex; align-items: center; gap: 6px; margin-top: 14px; padding: 0 12px; font-size: 12px; color: rgba(255,255,255,.7); }
.lang-switch button { border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; border-radius: 6px; padding: 4px 8px; font: inherit; font-size: 12px; cursor: pointer; }
.lang-switch button.on { background: #fff; color: var(--green); border-color: #fff; font-weight: 700; }
/* Quick add */
.qa { display: flex; flex-direction: column; gap: 12px; max-width: 520px; }
.qa-photo { display: block; cursor: pointer; }
.qa-photo input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.qa-photo > span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; aspect-ratio: 4 / 3; border: 2px dashed var(--line); border-radius: 14px; background: #fafbf9; text-align: center; overflow: hidden; }
.qa-photo b { font-size: 34px; }
.qa-photo img { width: 100%; height: 100%; object-fit: cover; }
.qa-photo input:focus-visible + span { outline: 2px solid var(--green); }
.qa-basis { display: flex; flex-wrap: wrap; gap: 8px 16px; border: 0; padding: 0; margin: 0; }
.qa-basis legend { font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.qa-basis label { display: flex; gap: 6px; align-items: center; }

/* Admin: tick businesses */
.bp { display: flex; flex-direction: column; gap: 6px; }
.bp-list { max-height: 280px; overflow-y: auto; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.bp-row { display: flex; gap: 10px; align-items: flex-start; padding: 8px 12px; border-bottom: 1px solid var(--line-soft); cursor: pointer; font-weight: 400; }
.bp-row:last-child { border-bottom: 0; }
.bp-row[hidden] { display: none; }
.bp-row input { margin-top: 3px; flex: none; }
.bp-row span { min-width: 0; }
.pc-edit:not([open]) { display: inline-block; vertical-align: middle; }
.pc-edit[open] { display: block; }
@media (max-width: 760px) { .pf-first { order: -1; } }

/* Price guide: filter by product details */
.pg-filters { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.pg-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.pg-filter > .mut { min-width: 74px; font-weight: 600; }
.pg-filter .pill { text-decoration: none; display: inline-flex; gap: 5px; align-items: center; padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 600; }
.pg-filter .pill:hover { border-color: var(--green); }
.pg-filter .pill.on { background: var(--green); color: #fff; border-color: var(--green); }
.pg-filter .pill.on .mut { color: #D5E8E1; }

/* Heart: save a shop or product */
.save-form { display: inline-flex; margin: 0; }
.save-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; min-width: 36px; justify-content: center; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.save-btn svg { fill: none; stroke: currentColor; stroke-width: 2; }
.save-btn:hover { border-color: #d14b5a; color: #d14b5a; }
.save-btn.on { color: #d14b5a; border-color: #f1c5cb; background: #fff5f6; }
.save-btn.on svg { fill: #d14b5a; stroke: #d14b5a; }
.prod-cell { position: relative; display: flex; min-width: 0; }
.prod-cell > .prod-card { flex: 1; }
.prod-cell > .save-form { position: absolute; right: 14px; top: 14px; }
.prod-cell .save-btn { min-height: 32px; min-width: 32px; padding: 0; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.vp-hero .save-btn { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.4); }
.vp-hero .save-btn.on { background: #fff; color: #d14b5a; }
.pd-spec { width: 100%; border-collapse: collapse; margin-top: 4px; font-size: 14px; }
.pd-spec th { text-align: left; font-weight: 600; color: var(--mut); padding: 6px 12px 6px 0; width: 40%; border-bottom: 1px solid var(--line-soft); }
.pd-spec td { padding: 6px 0; border-bottom: 1px solid var(--line-soft); }
.enq-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line-soft); padding: 12px 0 0; margin-top: 12px; }
.enq-reply { margin-top: 4px; padding: 8px 12px; background: var(--green-soft); border-radius: 10px; font-size: 14px; white-space: pre-line; }
.enq-answer { display: inline-block; vertical-align: middle; }
.enq-answer[open] { display: block; margin-bottom: 8px; }
.enq-answer[open] > form { min-width: min(340px, 80vw); }

/* Product / listing score */
.pf-score { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: #fbfcfa; }
.pf-score:empty { display: none; }
.pf-score-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pf-bar { flex: 1 1 120px; height: 6px; border-radius: 6px; background: var(--line-soft); overflow: hidden; }
.pf-bar i { display: block; height: 100%; background: var(--green); }
.pf-score ul { list-style: none; margin: 8px 0 4px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 2px 18px; font-size: 13px; }
.pf-score li { display: flex; justify-content: space-between; gap: 8px; color: #8a4b0f; }
.pf-score li.ok { color: var(--mut); }
.qa-miss { color: #8a4b0f; display: block; }
.mf { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 6px; width: 100%; }
.mf-form { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; }
.mf-form[hidden] { display: none; }
.mf-no { position: relative; }
.mf-no summary { list-style: none; }
.mf-no summary::-webkit-details-marker { display: none; }
.mf-no[open] > div { position: absolute; z-index: 5; right: 0; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; min-width: 220px; box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.mf-no .linkbtn { text-align: left; }
.lead-why { color: var(--green); display: block; margin-top: 4px; }
.lead-triage .btn.on { border-color: #b7791f; color: #b7791f; }
.lead-triage form { margin: 0; }
.lead-triage .mf-no[open] > form { position: absolute; z-index: 5; left: 0; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; min-width: 230px; box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.demand-box { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 14px; background: linear-gradient(90deg, #0f5c4a, #13775f); color: #fff; }
.demand-box .mut { color: #cfe6dd; }
.fix-box .kv { text-decoration: none; color: var(--ink); }
.fix-box .kv:hover span:first-child { color: var(--green); }
.lead-triage .btn.on { background: #fff8e6; }

/* Partner panel: icons, badges, top bar, bottom bar */
.side nav a { gap: 10px; }
.side nav a .ico { flex: none; opacity: .85; }
.side nav a .lbl { flex: 1; min-width: 0; }
.nav-badge { font-style: normal; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: #e5484d; color: #fff; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; line-height: 1; }
.ptop { display: flex; justify-content: flex-end; align-items: center; gap: 8px; margin: -8px 0 -6px; }
.ptop-icon { position: relative; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: #fff; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); cursor: pointer; list-style: none; }
.ptop-icon:hover { border-color: var(--green); color: var(--green); }
.ptop-icon::-webkit-details-marker, .ptop-menu summary::-webkit-details-marker { display: none; }
.ptop-icon .nav-badge { position: absolute; top: -6px; right: -6px; }
.ptop-menu { position: relative; }
.ptop-menu summary { list-style: none; cursor: pointer; }
.ptop-add summary { display: inline-flex; align-items: center; gap: 4px; min-height: 40px; }
.ptop-pop { position: absolute; right: 0; top: 46px; z-index: 60; min-width: 250px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px rgba(20,32,27,.16); padding: 8px; display: flex; flex-direction: column; gap: 2px; }
.ptop-pop.wide { min-width: 300px; }
.ptop-pop a { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 10px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 14px; }
.ptop-pop a:hover { background: var(--bg); }
.ptop-pop > b { padding: 4px 10px; }
.ptop-pop .dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: #e5484d; }
.ptop-pop .dot.y { background: #d69e2e; }
.pbottom { display: none; }
@media (max-width: 760px) {
  .ptop { margin: 0; }
  .ptop-add summary span { display: none; }
  .ptop-pop { right: -4px; max-width: calc(100vw - 32px); }
  body.has-pbottom { padding-bottom: 72px; }
  .pbottom { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; background: #fff; border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); box-shadow: 0 -4px 16px rgba(20,32,27,.06); }
  .pbottom a, .pbottom button { flex: 1; position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px 0; font: inherit; font-size: 11px; font-weight: 600; color: var(--mut); text-decoration: none; background: none; border: 0; cursor: pointer; }
  .pbottom a.on { color: var(--green); }
  .pbottom .nav-badge { position: absolute; top: 0; left: calc(50% + 6px); }
  .pbottom-add { flex: 0 0 auto !important; width: 52px; height: 52px; margin-top: -18px; border-radius: 50%; background: var(--green) !important; color: #fff !important; justify-content: center; box-shadow: 0 4px 12px rgba(15,92,74,.35); }
}

/* Partner dashboard */
.today { gap: 4px; }
.today-row { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 12px; margin-top: 8px; border-radius: 12px; text-decoration: none; color: var(--ink); background: #fff5f5; border: 1px solid #f6d4d4; }
.today-row.y { background: #fffaf0; border-color: #f3e2bf; }
.today-row span { flex: 1; font-weight: 600; }
.today-row b { color: var(--green); font-size: 14px; white-space: nowrap; }
.today-row .ico { color: #c53030; }
.today-row.y .ico { color: #b7791f; }
.today-done { margin: 8px 0 0; color: var(--green); font-weight: 600; }
.dash-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.dash-stat { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); min-width: 0; }
.dash-stat:hover { border-color: var(--green); }
.dash-stat > .mut { display: flex; align-items: center; gap: 5px; }
.dash-stat em { font-style: normal; opacity: .7; }
.dash-stat b { font-size: 28px; line-height: 1.1; }
.dash-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: 18px; align-items: start; }
.dash-row { display: flex; align-items: center; gap: 8px; border-top: 1px solid var(--line-soft); padding-top: 12px; margin-top: 12px; }
.dash-reply { gap: 6px; flex: 2 1 300px; flex-wrap: nowrap; }
.dash-reply input { min-width: 0; flex: 1; }
.price-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 12px; }
.price-cell { display: flex; flex-direction: column; gap: 6px; padding: 8px; border: 1px solid var(--line-soft); border-radius: 12px; margin: 0; }
.price-shot { aspect-ratio: 4 / 3; border-radius: 8px; background: #f3f5f2; display: flex; align-items: center; justify-content: center; overflow: hidden; color: var(--mut); }
.price-shot img { width: 100%; height: 100%; object-fit: cover; }
.price-name { font-weight: 600; min-height: 2.6em; }
.price-cell input { min-width: 0; flex: 1; min-height: 36px; padding: 0 8px; }
.mini-chart { display: flex; align-items: flex-end; gap: 6px; height: 110px; margin-top: 12px; }
.mc-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; }
.mc-bars { flex: 1; width: 100%; display: flex; align-items: flex-end; justify-content: center; gap: 2px; }
.mc-bars i { width: 40%; min-height: 2px; border-radius: 3px 3px 0 0; }
.mc-bars i.v, .mc-key i.v { background: var(--green); }
.mc-bars i.t, .mc-key i.t { background: #d69e2e; }
.mc-key { display: flex; align-items: center; gap: 6px; margin-top: 6px; color: var(--mut); }
.mc-key i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; }
@media (max-width: 980px) { .dash-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .dash-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dash-stat b { font-size: 24px; } .dash-reply { flex-wrap: wrap; } }
.wk-chart { display: flex; align-items: flex-end; gap: 8px; height: 180px; margin-top: 14px; }
.wk-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; min-width: 0; }
.wk-bar { flex: 1; width: 70%; display: flex; align-items: flex-end; }
.wk-bar i { display: block; width: 100%; min-height: 2px; border-radius: 4px 4px 0 0; background: var(--green); }
.wk-n { color: var(--green); font-weight: 700; }
.wk-col .mut { white-space: nowrap; font-size: 11px; }
.set-row { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--line-soft); cursor: pointer; font-weight: 400; }
.set-row:first-of-type { border-top: 0; }
.set-row input { margin-top: 4px; }
.set-row > span { display: flex; flex-direction: column; gap: 2px; }
.ptabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.ptabs::-webkit-scrollbar { display: none; }
.ptabs a { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; white-space: nowrap; text-decoration: none; color: var(--mut); font-weight: 600; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.ptabs a.on { color: var(--green); border-bottom-color: var(--green); }
.ptab-n { font-size: 11px; padding: 1px 6px; border-radius: 999px; background: #fff3d6; color: #8a4b0f; }
.ptab-n.ok { background: var(--green-soft); color: var(--green); }
[data-ptab][hidden], [data-ptab-form][hidden] { display: none !important; }
.dash-h { font-size: 15px; margin: 4px 0 -10px; color: var(--mut); font-weight: 700; }

/* Partner profile: business card view + edit form */
.pv { padding: 18px; }
.pv-grid { display: grid; grid-template-columns: minmax(280px, 360px) minmax(0, 1fr); gap: 22px; align-items: start; }
.pv-card { position: relative; border: 1.5px solid var(--green); border-radius: 14px; padding: 18px 16px 16px; background: #f3f9f6; }
.pv-edit { position: absolute; top: 6px; right: 8px; border: 0; background: none; color: var(--green); font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; padding: 4px 6px; text-decoration: none; }
.pv-edit.inline { position: static; }
.pv-owner { font-size: 18px; letter-spacing: .01em; color: var(--green-dark, #0b4a3b); }
.pv-pen { border: 0; background: none; color: var(--green); cursor: pointer; font-size: 14px; padding: 0 2px; }
.pv-biz { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; font-weight: 600; }
.pv-biz a { color: var(--ink); }
.pv-logo { flex: none; width: 84px; height: 84px; border-radius: 12px; border: 1px dashed var(--line); background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--mut); cursor: pointer; overflow: hidden; padding: 0; text-align: center; }
.pv-logo img { width: 100%; height: 100%; object-fit: contain; }
.pv-lines { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; font-size: 14px; }
.pv-lines > div { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pv-lines .ico { color: var(--green); flex: none; }
.pv-ok { color: #1a9e5a; font-weight: 700; }
.pv-add { border: 0; background: none; padding: 0; color: #2457b3; font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; }
.pv-on { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
.pv-soc { width: 30px; height: 30px; border-radius: 50%; border: 1px dashed var(--line); background: #fff; color: var(--mut); font-size: 10px; font-weight: 700; cursor: pointer; text-transform: uppercase; }
.pv-soc.on { border: 0; background: var(--green); color: #fff; }
.pv-head { display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line-soft); padding-bottom: 6px; }
.pv-head h2 { font-size: 16px; margin: 0; color: var(--green-dark, #0b4a3b); }
.pv-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; margin-top: 12px; }
.pv-fields > div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pv-fields > div.wide { grid-column: 1 / -1; }
.pv-fields b { font-weight: 600; overflow-wrap: anywhere; }
.pv-l { color: var(--mut); font-size: 13px; display: flex; align-items: center; gap: 5px; }
.pv-about { font-size: 14px; line-height: 1.5; }
.pv-okt { color: #1a9e5a; }
.pv-info { position: relative; width: 15px; height: 15px; border-radius: 50%; background: #8a958f; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; cursor: help; }
.pv-info::before { content: 'i'; }
.pv-info > span { display: none; position: absolute; left: 20px; top: -6px; z-index: 30; width: 230px; padding: 8px 10px; border-radius: 8px; background: #1f2a25; color: #fff; font-size: 12px; font-weight: 400; line-height: 1.45; }
.pv-info:hover > span, .pv-info:focus > span { display: block; }
.pv-hours { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px 14px; margin-top: 10px; font-size: 13px; }
.pe { padding: 0; overflow: hidden; }
.pe-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line-soft); }
.pe-back { border: 0; background: none; color: #2457b3; font: inherit; font-weight: 600; cursor: pointer; padding: 0; }
.pe-head b::before { content: '| '; color: var(--line); }
.pe-panel { padding: 18px; }
.pe-panel[hidden] { display: none; }
.pe-grid { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 12px 16px; align-items: center; max-width: 820px; }
.pe-l { color: var(--mut); font-size: 14px; font-weight: 500; }
.pe-l i { color: #c53030; font-style: normal; }
.pe-grid input:disabled { background: #eef0ed; color: var(--mut); }
.pe-ro { font-size: 14px; }
.pe-hours { margin-top: 18px; max-width: 820px; }
.pe-foot { position: sticky; bottom: 0; display: flex; justify-content: flex-end; align-items: center; gap: 10px; padding: 12px 18px; background: #fff; border-top: 1px solid var(--line-soft); }
.pe-foot .mut { margin-right: auto; }
.pe-foot .btn[disabled] { opacity: .5; cursor: not-allowed; }
.share-pop { position: fixed; inset: 0; z-index: 90; background: rgba(15,25,20,.45); display: flex; align-items: center; justify-content: center; padding: 16px; }
.share-pop[hidden] { display: none; }
.share-pop-in { width: min(420px, 100%); }
[data-pview][hidden], [data-pedit][hidden] { display: none !important; }
@media (max-width: 900px) { .pv-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) {
  .pe-grid { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .pe-grid .pe-l { margin-top: 10px; }
  .pv-fields { grid-template-columns: minmax(0, 1fr); }
  .pe-foot { bottom: 64px; }
}
.ps-aside[hidden] { display: none !important; }
@media (min-width: 1200px) {
  .pe-grid { grid-template-columns: 160px minmax(0, 1fr) 160px minmax(0, 1fr); max-width: none; gap: 14px 22px; }
  .pv-grid { grid-template-columns: 380px minmax(0, 1fr); }
  .pv-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.pv-card { padding-top: 34px; }
.pv-add { align-self: flex-start; text-align: left; }
.vc-list { display: flex; flex-direction: column; gap: 10px; }
.vc-row { display: grid; grid-template-columns: 180px 1fr 150px 1fr 40px; gap: 8px; padding: 10px; border: 1px solid var(--line-soft); border-radius: 12px; align-items: center; }
.vc-row .wide { grid-column: 1 / 5; }
.vc-row input, .vc-row select { min-width: 0; }
.vc-card { position: relative; width: 220px; aspect-ratio: 1.75; border: 1.5px dashed var(--line); border-radius: 12px; background: #fafbf9; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; cursor: pointer; overflow: hidden; color: var(--mut); font-weight: 400; }
.vc-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vc-card b { position: absolute; left: 8px; bottom: 6px; background: rgba(255,255,255,.9); padding: 1px 6px; border-radius: 6px; color: var(--ink); }
.vc-card input { position: absolute; opacity: 0; width: 1px; height: 1px; }
@media (max-width: 760px) { .vc-row { grid-template-columns: 1fr 40px; } .vc-row > * { grid-column: 1; } .vc-row .wide { grid-column: 1; } .vc-row [data-remove-contact] { grid-column: 2; grid-row: 1; } .vc-card { width: 100%; } }
.consent { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 95; max-width: 760px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 10px 30px rgba(20,32,27,.18); font-size: 14px; }
.consent[hidden] { display: none; }

/* Admin: site connections */
.cx { width: min(760px, calc(100vw - 24px)); max-height: calc(100vh - 40px); padding: 0; border: 0; border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.cx::backdrop { background: rgba(15,25,20,.5); }
.cx-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line-soft); position: sticky; top: 0; background: #fff; z-index: 2; }
.cx-head b { font-size: 18px; }
.cx-x { border: 0; background: none; font-size: 18px; cursor: pointer; }
.cx-tabs { display: flex; gap: 4px; padding: 0 12px; border-bottom: 1px solid var(--line); overflow-x: auto; position: sticky; top: 53px; background: #fff; z-index: 2; }
.cx-tabs button { border: 0; background: none; padding: 10px 12px; font: inherit; font-weight: 600; color: var(--mut); border-bottom: 2px solid transparent; cursor: pointer; white-space: nowrap; }
.cx-tabs button.on { color: var(--green); border-bottom-color: var(--green); }
.cx-body { padding: 16px 18px; }
.cx-mode { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; font-weight: 400; }
.cx-mode.on { border-color: var(--green); background: var(--green-soft); }
.cx-mode > span { display: flex; flex-direction: column; gap: 2px; }
.cx-mode .pill { align-self: flex-start; }
.cx-preview code { word-break: break-all; background: #f3f5f2; padding: 1px 4px; border-radius: 4px; }
.cx-h { font-size: 15px; margin: 18px 0 6px; display: flex; gap: 8px; align-items: center; }
.cx-check { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.cx-check li { display: flex; flex-direction: column; gap: 1px; padding: 8px 10px; border-radius: 10px; background: #fff7e8; }
.cx-check li.ok { background: var(--green-soft); }
.cx-check li b { color: #8a4b0f; }
.cx-check li.ok b { color: var(--green); }
.cx-steps { margin: 0 0 12px; padding-left: 18px; line-height: 1.7; }
.cx-steps code, .cx-body p code { background: #f3f5f2; padding: 1px 4px; border-radius: 4px; word-break: break-all; }
.cx-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 10px 14px; align-items: center; }
.cx-grid label { font-weight: 600; font-size: 14px; display: flex; flex-direction: column; gap: 1px; }
.cx-grid label .mut { font-weight: 400; }
.cx-foot { position: sticky; bottom: 0; background: #fff; border-top: 1px solid var(--line-soft); padding: 12px 0 0; margin-top: 14px; display: flex; justify-content: flex-end; }
.mono { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; }
.site-mode-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; background: #fff3d6; border: 1px solid #f3dca0; }
@media (max-width: 760px) { .cx-grid { grid-template-columns: minmax(0, 1fr); gap: 4px; } .cx-grid label { margin-top: 8px; } }

/* Societies a partner works in: one fold per sector. */
.soc-groups{display:flex;flex-direction:column;gap:6px;margin-top:10px;max-height:460px;overflow:auto;padding-right:4px}
.soc-sector{border:1px solid var(--line);border-radius:10px;padding:8px 12px;background:var(--card,#fff)}
.soc-sector summary{cursor:pointer;display:flex;align-items:center;gap:8px;font-weight:600;list-style:none}
.soc-sector summary>span:first-child{flex:1}
.soc-sector summary::-webkit-details-marker{display:none}
.soc-sector summary::after{content:"›";transform:rotate(90deg);color:var(--mut,#667)}
.soc-sector[open] summary::after{transform:rotate(-90deg)}
.soc-sector .sa-chips{margin:10px 0 6px}
.soc-sector[hidden]{display:none}
.soc-add{margin-top:10px}
.soc-add summary{cursor:pointer;color:var(--green);font-weight:600}
