/* Geowete Notice Board
   Brand: Geowete navy + logo blue. Copper (Zambia's copper) is used only for
   the pins on the notice board and for "Featured". Type: Bricolage Grotesque
   for headings, Figtree for reading. */
:root {
  --blue: #0072e2;
  --blue-600: #0a5fc0;
  --blue-50: #eaf3fe;
  --blue-light: #0b9fff;
  --navy: #0b2545;
  --navy-2: #13315c;
  --ink: #1b2a3a;
  --muted: #5b6b7d;
  --line: #e3e9f1;
  --bg: #f5f8fc;
  --card: #fff;
  --ok: #138a52;
  --ok-50: #e6f6ee;
  --warn: #9a6200;
  --warn-50: #fff4e0;
  --err: #b42318;
  --err-50: #fdecec;
  --wa: #1fa855;
  --gold: #f5a524;
  --copper: #b4652b;
  --copper-50: #fbefe5;
  --board: #e6edf5;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 37, 69, .08);
  --font-head: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.12; margin: 0 0 .5em; font-weight: 700; letter-spacing: -0.015em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); }
h3 { font-size: 1.12rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
svg { width: 1em; height: 1em; fill: currentColor; vertical-align: -.125em; }
svg.ico-line { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.success-ico { color: var(--ok); font-size: 3.5rem; line-height: 1; margin-bottom: 8px; }
.notice-meta span { display: inline-flex; align-items: center; gap: 5px; }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); margin-inline: auto; }
.eyebrow { font-size: .95rem; color: var(--blue); font-weight: 600; margin-bottom: .35rem; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
:focus-visible { outline: 3px solid rgba(0,114,226,.45); outline-offset: 2px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.demo-bar { background: var(--warn-50); color: var(--warn); text-align: center; font-size: .82rem; padding: 6px 12px; font-weight: 600; }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--navy); font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand img { height: 42px; width: auto; }
.brand span { border-left: 2px solid var(--line); padding-left: 10px; }
.nav { display: flex; align-items: center; gap: 20px; }
.nav a { color: var(--navy); font-weight: 500; font-size: .94rem; }
.nav a:hover, .nav a[aria-current] { color: var(--blue); text-decoration: none; }
.nav a[aria-current] { font-weight: 700; }
.nav-auth { display: flex; align-items: center; gap: 16px; padding-left: 16px; border-left: 1px solid var(--line); }
.nav a.btn-primary, .nav a.btn-primary:hover { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; color: var(--navy); cursor: pointer; }
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .brand span { display: none; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--line); padding: 4px 16px 16px; gap: 0; display: none; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav > a, .nav-auth > a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-auth { flex-direction: column; align-items: stretch; gap: 0; border: 0; padding: 0; }
  .nav-auth .btn { margin-top: 12px; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 999px; border: 2px solid transparent; font-weight: 600; font-size: .95rem; cursor: pointer; font-family: inherit; line-height: 1.2; transition: transform .15s, background .15s, box-shadow .15s; text-align: center; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 16px rgba(0,114,226,.25); }
.btn-primary:hover { background: var(--blue-600); }
.btn-outline { border-color: var(--blue); color: var(--blue); background: #fff; }
.btn-ghost { background: var(--blue-50); color: var(--blue-600); }
.btn-light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.35); }
.btn-white { background: #fff; color: var(--navy); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-danger { background: #fff; color: var(--err); border-color: var(--err); }
.btn-sm { padding: 7px 14px; font-size: .85rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* ---------- Hero ---------- */
.hero { background-color: var(--navy); background-image: radial-gradient(rgba(255,255,255,.07) 1.2px, transparent 1.3px); background-size: 22px 22px; color: #fff; padding: 64px 0 72px; position: relative; overflow: hidden; }
.hero h1 { color: #fff; max-width: 760px; }
.hero p.lead { color: #cfdcee; max-width: 580px; font-size: 1.15rem; }
.hero .eyebrow { color: #7cc4ff; }
.hero.sm { padding: 44px 0 48px; }
.search-box { display: flex; align-items: center; background: #fff; border-radius: 14px; padding: 6px; max-width: 620px; margin-top: 26px; box-shadow: 0 14px 40px rgba(0,0,0,.25); position: relative; z-index: 1; }
.search-box .search-ico { width: 20px; height: 20px; margin-left: 12px; flex: none; background: currentColor; color: var(--muted); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") center/contain no-repeat; }
.search-box .btn { border-radius: 10px; }
.search-box input { border: 0; flex: 1; padding: 12px 12px; font-size: 1.05rem; background: transparent; min-width: 0; }
.search-box input:focus { outline: none; }
.hero-stats { display: flex; gap: 32px; margin-top: 28px; flex-wrap: wrap; position: relative; z-index: 1; }
.hero-stats div strong { display: block; font-family: var(--font-head); font-size: 1.6rem; color: #fff; }
.hero-stats div span { color: #b9cde6; font-size: .85rem; }

/* ---------- Sections ---------- */
section.block { padding: 60px 0; }
section.block.white { background: #fff; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.section-head > div { max-width: 680px; }
.section-head p { color: var(--muted); margin: 0; }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.cat-tile { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; display: flex; gap: 10px; align-items: center; color: var(--navy); font-weight: 600; font-size: .9rem; transition: border-color .15s, box-shadow .15s; }
.cat-tile:hover { border-color: var(--blue); box-shadow: var(--shadow); text-decoration: none; }
.cat-tile { padding: 12px; gap: 10px; hyphens: auto; }
.cat-tile .ic { width: 34px; height: 34px; border-radius: 10px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; flex: none; font-size: 1.25rem; transition: background .15s, color .15s; }
.cat-tile:hover .ic { background: var(--blue); color: #fff; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: relative; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; margin-bottom: 12px; }
.step p { color: var(--muted); margin: 0; font-size: .93rem; }

.cta-band { background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; border-radius: 20px; padding: 36px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { color: #d4e2f4; margin: 0; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 16px; }
.grid.biz { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.grid.products { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.grid.notices { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

.avatar { width: 56px; height: 56px; border-radius: 12px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; overflow: hidden; flex: none; }
.avatar img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.avatar.initials { background: linear-gradient(135deg, var(--blue), var(--navy-2)); color: #fff; font-family: var(--font-head); font-weight: 800; border: 0; }
.avatar.lg { width: 140px; height: 140px; border-radius: 20px; font-size: 2.6rem; }
.avatar.xs { width: 24px; height: 24px; border-radius: 6px; font-size: .6rem; }

.biz-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; position: relative; display: flex; flex-direction: column; gap: 10px; transition: box-shadow .2s, border-color .2s; }
.biz-card:hover { box-shadow: var(--shadow); border-color: #cfe0f5; }
.biz-card-link { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.biz-card-top { display: flex; gap: 12px; align-items: center; }
.biz-card h3 { font-size: 1rem; margin: 0 0 2px; }
.biz-card .tagline { color: var(--muted); font-size: .9rem; margin: 0; flex: 1; }
.biz-card-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.biz-card-wa { position: relative; z-index: 2; align-self: flex-start; }
.meta { color: var(--muted); font-size: .82rem; }
.badges { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.badge.verified { background: var(--blue-50); color: var(--blue-600); }
.badge.featured { background: var(--copper-50); color: var(--copper); }

.product-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.product-img { aspect-ratio: 4/3; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; font-size: 2.4rem; }
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-body h3 { font-size: .98rem; margin: 0; }
.product-body p { color: var(--muted); font-size: .88rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.price { font-family: var(--font-head); font-weight: 800; color: var(--navy); }
.price small { font-family: var(--font-body); font-weight: 500; color: var(--muted); font-size: .8rem; }
.seller { display: flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--navy); font-weight: 600; }
.seller .tick { color: var(--blue); }

.notice-card { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.notice-card.type-job { border-left-color: #7c3aed; }
.notice-card.type-event { border-left-color: var(--ok); }
.notice-card.type-tender { border-left-color: var(--warn); }
.notice-card.type-offer { border-left-color: #e11d48; }
.notice-card h3 { font-size: 1.02rem; margin: 0; }
.notice-card p { margin: 0; color: #3a4a5c; font-size: .92rem; white-space: pre-line; }
.notice-head { display: flex; justify-content: space-between; align-items: center; }
.pill { font-size: .8rem; font-weight: 600; background: var(--blue-50); color: var(--blue-600); padding: 3px 10px; border-radius: 999px; }
.notice-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: .84rem; color: var(--muted); }
.notice-card .by { font-size: .84rem; font-weight: 600; }

.empty { background: #fff; border: 1px dashed #c8d6e8; border-radius: var(--radius); padding: 32px; text-align: center; color: var(--muted); grid-column: 1 / -1; }
.empty strong { display: block; color: var(--navy); margin-bottom: 4px; }
.empty .btn { margin-top: 12px; }
.skeleton { background: linear-gradient(90deg, #eef3f9, #f8fafd, #eef3f9); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: var(--radius); min-height: 150px; }
@keyframes sk { to { background-position: -200% 0; } }

/* ---------- Directory filters ---------- */
.layout-side { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: start; }
.filters { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; position: sticky; top: 84px; display: grid; gap: 14px; }
.filters h4 { margin: 0; font-size: .95rem; }
.chip-set { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-toggle { border: 1px solid var(--line); background: var(--bg); border-radius: 999px; padding: 5px 12px; font: inherit; font-size: .82rem; cursor: pointer; color: var(--navy); }
.chip-toggle[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.results-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; gap: 12px; flex-wrap: wrap; }
.filter-toggle { display: none; }
@media (max-width: 900px) {
  .layout-side { grid-template-columns: 1fr; }
  .filters { position: static; display: none; }
  .filters.open { display: grid; }
  .filter-toggle { display: inline-flex; }
}
.tabs-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }

/* ---------- Business profile ---------- */
.profile-hero { background-color: var(--navy); background-image: radial-gradient(rgba(255,255,255,.07) 1.2px, transparent 1.3px); background-size: 22px 22px; height: 180px; }
.profile-hero.has-cover { height: clamp(200px, 30vw, 320px); background-size: cover; background-position: center; }
.profile-card { margin-top: -90px; position: relative; background: #fff; border-radius: 20px; box-shadow: var(--shadow); padding: 26px; display: grid; grid-template-columns: auto 1fr auto; gap: 26px; align-items: center; }
.profile-card h1 { font-size: clamp(1.4rem, 3vw, 2rem); margin: 0 0 4px; }
.profile-card .owner { color: var(--muted); margin: 0 0 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.chip { font-size: .8rem; padding: 4px 12px; border-radius: 999px; background: var(--blue-50); color: var(--blue-600); font-weight: 600; }
.socials { display: flex; gap: 8px; flex-wrap: wrap; }
.socials a { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--line); color: var(--navy); }
.socials a:hover { background: var(--blue); color: #fff; text-decoration: none; }
.socials.dark a { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); color: #fff; }
.profile-actions { display: flex; flex-direction: column; gap: 10px; min-width: 210px; }
.rating-line { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--muted); margin-bottom: 8px; }
.stars { display: inline-flex; gap: 1px; color: #d3dbe6; }
.stars span.on { color: var(--gold); }
.stars.lg { font-size: 1.4rem; }
@media (max-width: 860px) {
  .profile-card { grid-template-columns: 1fr; text-align: center; }
  .profile-card .avatar { margin: 0 auto; }
  .chips, .socials, .rating-line { justify-content: center; }
  .profile-actions { min-width: 0; }
}
.contact-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 16px; }
.contact-strip a { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; color: var(--ink); min-width: 0; }
.contact-strip a:hover { border-color: var(--blue); text-decoration: none; }
.contact-strip .ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); flex: none; font-size: 1.15rem; }
.contact-strip small { display: block; color: var(--muted); font-size: .82rem; }
.contact-strip strong { font-size: .93rem; overflow-wrap: anywhere; }
@media (max-width: 760px) { .contact-strip { grid-template-columns: 1fr; } }

.profile-body { display: grid; grid-template-columns: 1fr 340px; gap: 24px; margin-top: 24px; align-items: start; }
@media (max-width: 960px) { .profile-body { grid-template-columns: 1fr; } }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 20px; }
.panel h2 { font-size: 1.2rem; }
.services-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 12px 0 0; }
.services-list li { background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px; font-size: .88rem; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.gallery figure { margin: 0; border-radius: 10px; overflow: hidden; background: #dde7f3; aspect-ratio: 4/3; position: relative; cursor: zoom-in; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption { position: absolute; inset: auto 0 0 0; padding: 8px 10px; font-size: .78rem; color: #fff; background: linear-gradient(transparent, rgba(11,37,69,.85)); }
.qr-box { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px; display: grid; place-items: center; width: 200px; margin: 0 auto; }
.qr-box canvas { width: 180px; height: 180px; }
.share-links { display: flex; flex-wrap: wrap; gap: 6px; }
.share-links a, .share-links button { font: inherit; font-size: .82rem; padding: 6px 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); color: var(--navy); cursor: pointer; }
.share-links a:hover, .share-links button:hover { border-color: var(--blue); color: var(--blue); text-decoration: none; }
.review { border-top: 1px solid var(--line); padding: 14px 0; }
.review:first-of-type { border-top: 0; }
.review .who { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.review p { margin: 6px 0 0; }
.review .reply { margin-top: 10px; background: var(--bg); border-radius: 10px; padding: 10px 12px; font-size: .9rem; }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: 2px; font-size: 1.8rem; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { color: #d3dbe6; cursor: pointer; margin: 0; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: var(--gold); }
.star-input input:focus-visible + label { outline: 2px solid var(--blue); border-radius: 4px; }
.status-banner { padding: 12px 16px; border-radius: 12px; margin-top: 16px; font-size: .92rem; }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; align-items: stretch; }
.plan { background: #fff; border: 2px solid var(--line); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 10px; position: relative; }
.plan.popular { border-color: var(--blue); box-shadow: var(--shadow); }
.plan .tag { position: absolute; top: -12px; left: 24px; background: var(--blue); color: #fff; font-size: .8rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.plan .motto { color: var(--blue); font-weight: 600; font-size: .95rem; }
.plan h3 { font-size: 1.4rem; margin: 0; }
.plan .amount { font-family: var(--font-head); font-size: 2.2rem; font-weight: 800; color: var(--navy); }
.plan .amount small { font-size: .95rem; color: var(--muted); font-weight: 500; }
.plan ul { list-style: none; padding: 0; margin: 6px 0 12px; display: grid; gap: 8px; flex: 1; }
.plan li { display: flex; gap: 8px; font-size: .92rem; }
.plan li svg { color: var(--ok); flex: none; margin-top: 4px; }
.plan .req { font-size: .82rem; color: var(--muted); }
.plan.selectable { cursor: pointer; }
.plan.selected { border-color: var(--blue); background: #f7fbff; box-shadow: 0 0 0 4px rgba(0,114,226,.12); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
label { font-size: .85rem; font-weight: 600; color: var(--navy); display: block; margin-bottom: 4px; }
label .opt { color: var(--muted); font-weight: 400; }
input, select, textarea { width: 100%; font: inherit; font-size: .95rem; padding: 10px 12px; border: 1px solid #ccd8e6; border-radius: 10px; background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(0,114,226,.25); border-color: var(--blue); }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--err); }
textarea { min-height: 110px; resize: vertical; }
.hint { font-size: .78rem; color: var(--muted); margin-top: 4px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .88rem; color: var(--ink); cursor: pointer; }
.check input { width: auto; margin-top: 4px; flex: none; }
.radio-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
.radio-card { border: 2px solid var(--line); border-radius: 12px; padding: 12px 14px; cursor: pointer; display: block; margin: 0; background: #fff; }
.radio-card input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.radio-card strong { display: block; color: var(--navy); }
.radio-card span { font-size: .8rem; color: var(--muted); font-weight: 400; }
.radio-card:has(input:checked) { border-color: var(--blue); background: #f7fbff; }
.radio-card:has(input:focus-visible) { outline: 3px solid rgba(0,114,226,.35); }
.notice { padding: 10px 14px; border-radius: 10px; font-size: .9rem; margin: 10px 0; }
.notice.ok { background: var(--ok-50); color: var(--ok); }
.notice.err { background: var(--err-50); color: var(--err); }
.notice.info { background: var(--blue-50); color: var(--blue-600); }
.notice.warn { background: var(--warn-50); color: var(--warn); }
.img-picker { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.img-picker .preview { width: 96px; height: 96px; border-radius: 14px; border: 1px dashed #c8d6e8; display: grid; place-items: center; overflow: hidden; background: var(--bg); color: var(--muted); font-size: .75rem; text-align: center; }
.img-picker .preview img { width: 100%; height: 100%; object-fit: contain; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.thumb { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 4/3; background: var(--bg); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb button { position: absolute; top: 6px; right: 6px; background: rgba(11,37,69,.8); color: #fff; border: 0; border-radius: 50%; width: 28px; height: 28px; cursor: pointer; font-size: 1rem; }

/* ---------- Wizard ---------- */
.wizard { background: #fff; border-radius: 20px; box-shadow: var(--shadow); padding: 30px; margin: 32px auto 48px; }
.stepper { display: flex; gap: 6px; margin-bottom: 24px; list-style: none; padding: 0; counter-reset: s; }
.stepper li { flex: 1; font-size: .78rem; color: var(--muted); font-weight: 600; counter-increment: s; }
.stepper li::before { content: ""; display: block; height: 5px; border-radius: 4px; background: var(--line); margin-bottom: 6px; }
.stepper li.done::before, .stepper li.current::before { background: var(--blue); }
.stepper li.current { color: var(--navy); }
@media (max-width: 600px) { .stepper li span { display: none; } .stepper li.current span { display: inline; } }
.wizard-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 24px; border-top: 1px solid var(--line); padding-top: 18px; }

/* ---------- Auth ---------- */
.auth-wrap { min-height: calc(100vh - 66px); display: grid; place-items: center; padding: 40px 16px; }
.auth-card { background: #fff; border-radius: 20px; box-shadow: var(--shadow); width: min(440px, 100%); padding: 30px; }
.divider { text-align: center; color: var(--muted); font-size: .8rem; margin: 16px 0; position: relative; }
.divider::before, .divider::after { content: ""; position: absolute; top: 50%; width: 40%; height: 1px; background: var(--line); }
.divider::before { left: 0; } .divider::after { right: 0; }
.btn-google { width: 100%; background: #fff; border: 1px solid #ccd8e6; color: var(--ink); }

/* ---------- Dashboard / admin ---------- */
.dash { display: grid; grid-template-columns: 230px 1fr; gap: 24px; margin: 28px auto 48px; align-items: start; }
.dash-nav { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; position: sticky; top: 84px; display: grid; gap: 2px; }
.dash-nav button { text-align: left; background: none; border: 0; border-radius: 10px; padding: 10px 12px; font: inherit; color: var(--navy); cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.dash-nav button:hover { background: var(--bg); }
.dash-nav button[aria-selected="true"] { background: var(--blue-50); color: var(--blue-600); font-weight: 700; }
.dash-nav .count { background: var(--blue); color: #fff; border-radius: 999px; font-size: .7rem; padding: 1px 7px; }
@media (max-width: 900px) {
  .dash { grid-template-columns: 1fr; }
  .dash-nav { position: static; display: flex; overflow-x: auto; }
  .dash-nav button { white-space: nowrap; }
}
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 20px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.stat small { color: var(--muted); font-size: .85rem; display: block; }
.stat strong { display: block; font-family: var(--font-head); font-size: 1.5rem; color: var(--navy); }
.table-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .88rem; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--bg); font-size: .82rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
.status { display: inline-block; font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; text-transform: capitalize; white-space: nowrap; }
.status.active, .status.confirmed, .status.published { background: var(--ok-50); color: var(--ok); }
.status.pending_payment, .status.pending { background: var(--warn-50); color: var(--warn); }
.status.expired, .status.rejected, .status.hidden { background: #eef1f5; color: var(--muted); }
.status.suspended { background: var(--err-50); color: var(--err); }
.list-row { display: flex; gap: 14px; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.list-row:last-child { border-bottom: 0; }
.list-row .info { display: flex; gap: 12px; align-items: center; min-width: 0; flex: 1; }
.list-row .info img { width: 56px; height: 42px; object-fit: cover; border-radius: 8px; }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.toolbar input, .toolbar select { width: auto; flex: 1 1 180px; }

/* ---------- Modal / toast ---------- */
.modal { position: fixed; inset: 0; background: rgba(11,37,69,.6); display: grid; place-items: center; z-index: 100; padding: 16px; }
.modal-box { background: #fff; border-radius: 18px; width: min(560px, 100%); max-height: 92vh; overflow: auto; padding: 26px; position: relative; }
.modal-box.wide { width: min(980px, 100%); }
.modal-close { position: absolute; right: 12px; top: 8px; background: none; border: 0; font-size: 1.7rem; cursor: pointer; color: var(--muted); line-height: 1; }
.lightbox .modal-box { background: transparent; padding: 0; }
.lightbox img { max-height: 84vh; margin: auto; border-radius: 12px; }
.lightbox .modal-close { color: #fff; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--navy); color: #fff; padding: 10px 18px; border-radius: 999px; font-size: .9rem; z-index: 200; box-shadow: var(--shadow); }

/* ---------- Digital card ---------- */
.dcard-page { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; background: linear-gradient(160deg, var(--navy), var(--navy-2) 60%, var(--blue)); }
.dcard { width: min(400px, 100%); background: #fff; border-radius: 24px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.3); }
.dcard .top { padding: 28px 24px 18px; text-align: center; border-bottom: 1px solid var(--line); }
.dcard .top .avatar { margin: 0 auto 12px; width: 96px; height: 96px; font-size: 2rem; }
.dcard .top h1 { font-size: 1.3rem; margin-bottom: 2px; }
.dcard .top p { margin: 0; color: var(--muted); font-size: .9rem; }
.dcard .rows a, .dcard .rows div { display: flex; gap: 14px; align-items: center; padding: 13px 24px; border-bottom: 1px solid var(--line); color: var(--ink); overflow-wrap: anywhere; }
.dcard .rows a:hover { background: var(--bg); text-decoration: none; }
.dcard .rows svg { color: var(--blue); flex: none; font-size: 1.2rem; }
.dcard .foot { padding: 20px 24px; display: grid; gap: 10px; }
.dcard .qr-box { border: 0; }
.dcard .powered { text-align: center; font-size: .78rem; color: var(--muted); padding: 0 0 16px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b9c8dc; padding: 48px 0 20px; margin-top: 40px; font-size: .92rem; }
.site-footer h5 { color: #fff; font-family: var(--font-head); font-size: .95rem; margin: 0 0 12px; }
.site-footer a { color: #b9c8dc; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 28px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 6px; }
.footer-logo { background: #fff; border-radius: 10px; padding: 6px 10px; display: inline-block; margin-bottom: 10px; }
.footer-logo img { height: 38px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 32px; padding-top: 16px; font-size: .82rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Legal ---------- */
.legal { background: #fff; border-radius: 18px; padding: 32px; margin: 32px auto; box-shadow: var(--shadow); }
.legal h2 { font-size: 1.1rem; margin-top: 1.6em; }
.legal p, .legal li { color: #3a4a5c; }

/* grid children must be allowed to shrink so tables scroll inside their wrapper */
.dash > *, .profile-body > *, .layout-side > * { min-width: 0; }
.two-col { display: grid; grid-template-columns: 1fr 300px; gap: 24px; align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }
.product-img img, .gallery img { font-size: .75rem; color: var(--muted); }


/* ================================================================
   Redesign layer: notice board, profiles, dashboard tools
   ================================================================ */
.lifted { margin-top: -80px; position: relative; }

/* ---- home hero: the notice board ---- */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; }
.hero-copy h1 { font-size: clamp(2.1rem, 4.8vw, 3.5rem); }
.quick-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.quick-cats a { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; color: #e6eef9; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); font-size: .92rem; font-weight: 500; }
.quick-cats a:hover { background: rgba(255,255,255,.16); text-decoration: none; }
.hero-proof { color: #a9bdd6; margin: 18px 0 0; font-size: .95rem; }

.board {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 30px 26px 34px;
  background-color: var(--board);
  background-image: radial-gradient(rgba(11,37,69,.10) 1.4px, transparent 1.5px);
  background-size: 18px 18px;
  border-radius: 18px; border: 10px solid #cfdaea;
  box-shadow: 0 30px 60px rgba(0,0,0,.35), inset 0 2px 10px rgba(11,37,69,.12);
}
.pinned {
  position: relative; display: flex; flex-direction: column; gap: 8px; padding: 18px 16px 14px;
  background: #fff; color: var(--ink); border-radius: 6px;
  box-shadow: 0 2px 0 rgba(11,37,69,.06), 0 10px 22px rgba(11,37,69,.16);
  transition: transform .2s ease;
}
.pinned:hover { text-decoration: none; transform: rotate(0deg) translateY(-3px) !important; }
.pinned.tilt-0 { transform: rotate(-2.2deg); }
.pinned.tilt-1 { transform: rotate(1.6deg) translateY(10px); }
.pinned.tilt-2 { transform: rotate(1.1deg) translateY(-4px); }
.pinned.tilt-3 { transform: rotate(-1.4deg) translateY(6px); }
.pin { position: absolute; top: -7px; left: 50%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #e9a46f, var(--copper) 55%, #7a3f15); box-shadow: 0 3px 4px rgba(0,0,0,.3); }
.pinned-head { display: flex; gap: 10px; align-items: center; }
.pinned-head strong { display: block; font-family: var(--font-head); color: var(--navy); font-size: 1rem; line-height: 1.2; }
.pinned-head small { color: var(--muted); font-size: .82rem; }
.pinned-line { font-size: .88rem; color: #3a4a5c; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pinned-foot { display: flex; justify-content: space-between; align-items: center; gap: 6px; font-size: .8rem; color: var(--muted); }
.pinned-cta { grid-column: 1 / -1; background: var(--copper-50); border: 2px dashed #e2b48f; box-shadow: none; justify-content: center; text-align: center; align-items: center; padding: 16px; }
.pinned-cta strong { font-family: var(--font-head); color: var(--copper); font-size: 1.05rem; }
.pinned-cta span:not(.pin) { font-size: .88rem; color: #6b4a33; }
.board .pinned:nth-child(n+5):not(.pinned-cta) { display: none; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .board { max-width: 560px; }
}
@media (max-width: 520px) {
  .board { grid-template-columns: 1fr 1fr; gap: 12px; padding: 22px 14px 24px; border-width: 7px; }
  .board .pinned:nth-child(n+3):not(.pinned-cta) { display: none; }
  .pinned { padding: 16px 12px 12px; }
  .pinned-line { display: none; }
  .pinned-cta { grid-column: 1 / -1; }
}

/* ---- category tiles & home bands ---- */
.sell-band { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; background: var(--navy); color: #dbe6f4; border-radius: 22px; padding: 40px;
  background-image: radial-gradient(rgba(255,255,255,.06) 1.2px, transparent 1.3px); background-size: 22px 22px; }
.sell-band h2 { color: #fff; }
.sell-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.sell-points li { padding-left: 28px; position: relative; }
.sell-points li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #e9a46f, var(--copper) 60%); }
.sell-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding-left: 32px; border-left: 1px solid rgba(255,255,255,.15); }
.sell-price { margin: 0; font-size: 1.1rem; }
.sell-price strong { font-family: var(--font-head); font-size: 2.2rem; color: #fff; }
.sell-more { color: #bcd3f0; }
@media (max-width: 760px) { .sell-band { grid-template-columns: 1fr; padding: 28px 22px; } .sell-cta { padding-left: 0; border-left: 0; } }

/* ---- business cards ---- */
.avatar.sm { width: 42px; height: 42px; border-radius: 10px; font-size: .9rem; }
.biz-card.has-cover { padding-top: 0; }
.biz-card-cover { margin: 0 -18px; height: 96px; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; background: var(--board); }
.biz-card-cover img { width: 100%; height: 100%; object-fit: cover; }
.biz-card.has-cover .biz-card-top { margin-top: -26px; }
.biz-card.has-cover .avatar { box-shadow: 0 0 0 3px #fff; }
.biz-card .open-pill { align-self: flex-start; }

.open-pill { display: inline-flex; align-items: center; gap: 6px; font-size: .84rem; font-weight: 600; padding: 3px 10px 3px 8px; border-radius: 999px; line-height: 1.4; }
.open-pill.open { background: var(--ok-50); color: var(--ok); }
.open-pill.closed { background: #eef1f5; color: #4b5b6d; }
.open-pill svg { flex: none; }

/* ---- business profile ---- */
.profile-card { align-items: start; }
.profile-tagline { font-size: 1.1rem; color: #3a4a5c; margin: 0 0 12px; max-width: 60ch; }
.profile-sub { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin-bottom: 12px; }
.profile-sub .rating-line { margin: 0; color: var(--ink); }
.profile-sub .rating-line:hover { text-decoration: none; }
.rating-line span { color: var(--muted); }
.rating-line.big { justify-content: flex-start; margin-bottom: 8px; }
a.chip:hover { background: #d9e9fd; text-decoration: none; }
.profile-aside .panel h2 { font-size: 1.15rem; }
.form-stack { display: grid; gap: 12px; }
.form-stack textarea { min-height: 96px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sent { text-align: center; display: grid; gap: 8px; justify-items: center; }
.sent > svg { color: var(--ok); font-size: 2.6rem; }
.sent h3 { margin: 0; }
.hours-now { margin-bottom: 10px; }
.hours-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours-table th, .hours-table td { background: none; padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; text-transform: none; letter-spacing: 0; color: var(--ink); font-weight: 400; }
.hours-table th { font-weight: 500; }
.hours-table td { text-align: right; }
.hours-table tr.today th, .hours-table tr.today td { font-weight: 700; color: var(--navy); }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: 0; }
.share-card { display: grid; grid-template-columns: 132px 1fr; gap: 14px; align-items: center; margin-bottom: 14px; }
.share-card .qr-box { width: 132px; padding: 6px; }
.share-card .qr-box canvas { width: 118px; height: 118px; }
.share-card .btn-row { gap: 6px; }
.map { width: 100%; height: 210px; border: 0; border-radius: 10px; margin-bottom: 6px; }
.own-card { background: var(--navy); color: #cfdcee; border: 0; }
.own-card h3 { color: #fff; font-size: 1.1rem; }
.block.also { padding-top: 24px; }
.action-bar { display: none; }
@media (max-width: 760px) {
  .share-card { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .share-card .btn-row { justify-content: center; }
  .profile-sub { justify-content: center; }
  .action-bar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(11,37,69,.08); padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); }
  .action-bar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 4px; font-size: .78rem; font-weight: 600; color: var(--navy); border-radius: 10px; }
  .action-bar a svg { font-size: 1.35rem; }
  .action-bar a.ab-wa { color: var(--wa); }
  .action-bar a:hover { text-decoration: none; background: var(--bg); }
  body.has-action-bar { padding-bottom: 72px; }
  body.has-action-bar .toast { bottom: 90px; }
}

/* ---- dashboard tools ---- */
.overview-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 4px; }
.inbox-alert { display: flex; gap: 12px; align-items: center; background: var(--copper-50); color: #6b3a14; border: 1px solid #f0cfb3; border-radius: var(--radius); padding: 14px 16px; margin-bottom: 20px; }
.inbox-alert svg { font-size: 1.4rem; color: var(--copper); flex: none; }
.inbox-alert:hover { text-decoration: none; border-color: var(--copper); }
.share-kit .kit-row { display: grid; grid-template-columns: 160px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.share-kit .kit-row.stack { grid-template-columns: 160px 1fr; }
.share-kit .kit-row.stack .btn-row { grid-column: 2; }
.kit-label { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; color: var(--navy); font-size: .92rem; margin: 0; }
.share-kit code { font-size: .88rem; background: var(--bg); padding: 6px 10px; border-radius: 8px; overflow-wrap: anywhere; }
.share-kit textarea { min-height: 72px; font-size: .92rem; background: var(--bg); }
@media (max-width: 640px) { .share-kit .kit-row, .share-kit .kit-row.stack { grid-template-columns: 1fr; } .share-kit .kit-row.stack .btn-row { grid-column: auto; } }
.field-label { font-size: .85rem; font-weight: 600; color: var(--navy); display: block; margin-bottom: 6px; }
.cover-picker { display: grid; gap: 10px; }
.cover-prev { aspect-ratio: 4 / 1; border-radius: 12px; border: 1px dashed #c8d6e8; background: var(--bg); overflow: hidden; display: grid; place-items: center; color: var(--muted); font-size: .9rem; text-align: center; padding: 0; }
.cover-prev img { width: 100%; height: 100%; object-fit: cover; }
.cover-prev span { padding: 12px; }
.hours-editor { display: grid; gap: 6px; }
.hours-row { display: grid; grid-template-columns: 110px auto 1fr auto 1fr; gap: 10px; align-items: center; }
.hours-row input[type=time] { padding: 7px 10px; }
.hours-row input[disabled] { background: var(--bg); color: var(--muted); }
.hours-day { font-weight: 600; color: var(--navy); font-size: .92rem; }
@media (max-width: 560px) { .hours-row { grid-template-columns: 1fr auto; } .hours-row input[type=time] { grid-column: span 1; } .hours-row > span[aria-hidden] { display: none; } }
.enq-list { display: grid; gap: 12px; margin-top: 10px; }
.enq { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.enq.unread { border-color: #f0cfb3; background: #fffaf6; }
.enq header { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.enq p { margin: 8px 0 10px; white-space: pre-line; }
.new-dot { font-size: .75rem; font-weight: 700; color: var(--copper); background: var(--copper-50); border-radius: 999px; padding: 1px 8px; }
.danger-text { color: var(--err); }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; background: var(--bg); border-radius: 10px; padding: 4px; }
.seg button { border: 0; background: none; font: inherit; font-size: .85rem; font-weight: 600; color: var(--muted); padding: 6px 10px; border-radius: 7px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: #fff; color: var(--navy); box-shadow: 0 1px 3px rgba(11,37,69,.12); }
.chart-wrap { position: relative; }
.chart { width: 100%; height: auto; display: block; }
.chart .grid-line { stroke: #e7edf4; stroke-width: 1; }
.chart .axis { fill: var(--muted); font-size: 11px; font-family: var(--font-body); }
.chart .bar path { fill: var(--blue); transition: opacity .15s; }
.chart .bar .hit { fill: transparent; }
.chart .bar.dim path { opacity: .35; }
.chart-tip { position: absolute; top: 0; width: 160px; background: var(--navy); color: #fff; border-radius: 8px; padding: 8px 10px; font-size: .85rem; pointer-events: none; display: grid; }
.chart-tip[hidden] { display: none; }
.table-view { margin-top: 12px; }
.table-view summary { cursor: pointer; color: var(--blue); font-size: .92rem; }
.table-view .table-wrap { margin-top: 10px; max-height: 320px; overflow: auto; }
.by-action { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.by-action div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 10px 12px; background: var(--bg); border-radius: 10px; }
.by-action strong { font-family: var(--font-head); font-size: 1.2rem; color: var(--navy); }
.stat .meta { display: block; margin-top: 2px; }

/* ---- for businesses page ---- */
.fb-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.hero-actions { margin-top: 24px; }
.fb-preview { display: flex; justify-content: center; }
.phone { width: 260px; border-radius: 34px; background: #0a1c33; padding: 10px; box-shadow: 0 30px 60px rgba(0,0,0,.4); transform: rotate(2deg); }
.phone-cover { height: 90px; border-radius: 26px 26px 0 0; background: linear-gradient(135deg, #2f6fb5, #0b2545); }
.phone-body { background: #fff; border-radius: 0 0 26px 26px; padding: 0 16px 18px; display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--ink); text-align: center; }
.phone-avatar { width: 64px; height: 64px; margin-top: -32px; border-radius: 16px; background: var(--blue); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; box-shadow: 0 0 0 4px #fff; }
.phone-name { font-family: var(--font-head); color: var(--navy); font-size: 1.1rem; }
.phone-cat { color: var(--muted); font-size: .85rem; margin-top: -6px; }
.phone-btn { width: 100%; padding: 9px; border-radius: 999px; font-size: .85rem; font-weight: 600; border: 2px solid var(--blue); color: var(--blue); }
.phone-btn.wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.phone-qr { width: 96px; margin-top: 4px; }
.phone-qr canvas { width: 96px; height: 96px; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px 36px; }
.feature { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
.feature-ic { width: 48px; height: 48px; border-radius: 12px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; font-size: 1.4rem; }
.feature h3 { margin: 4px 0 6px; }
.feature p { margin: 0; color: #46566a; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--navy); }
.faq p { margin: 10px 0 0; }
.faq { margin-bottom: 10px; }
@media (max-width: 860px) { .fb-hero-grid { grid-template-columns: 1fr; } .fb-preview { display: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .pinned:hover { transform: none !important; }
}
