/* ComNote public site.
   Same visual language as the officer console: paper surfaces, ink type,
   hairline rules, one deep-green accent. Colour is kept for status and urgency,
   so it always means something. */

body { background: var(--bg); font-size: 15px; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.hidden { display: none !important; }
.display { font-weight: 600; letter-spacing: -.025em; line-height: 1.1; margin: 0; color: var(--ink); }
.kicker { margin: 0 0 8px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.center { text-align: center; }
.muted { color: var(--ink-2); }

/* ── Header ───────────────────────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 900; background: var(--panel); border-bottom: 1px solid var(--line); }
.nav-row { display: flex; align-items: center; gap: 24px; height: 60px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo svg { width: 26px; height: 26px; }
.logo-text { font-weight: 600; font-size: 17px; letter-spacing: -.01em; line-height: 1; display: grid; }
.logo-text small { font-size: 10px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-top: 3px; }
.logo.light { color: var(--ink); }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--ink-2); text-decoration: none; font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 8px; }

/* ── WhatsApp button (brand green, WhatsApp glyph) ────────── */
.btn-wa { display: inline-flex; align-items: center; gap: 9px; background: var(--brand); color: var(--brand-ink); text-decoration: none;
  font-weight: 600; border-radius: var(--radius); padding: 0 16px; height: 40px; white-space: nowrap; cursor: pointer; border: 1px solid var(--brand); }
.btn-wa:hover { filter: brightness(1.07); }
.btn-wa.sm { height: 34px; padding: 0 12px; font-size: 13.5px; }
.btn-wa.lg { height: 52px; padding: 0 22px 0 18px; font-size: 16px; }
.btn-wa.dark { background: var(--ink); border-color: var(--ink); color: var(--panel); }
.wa-ico { width: 20px; height: 20px; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 00-8.6 15.1L2 22l5-1.3A10 10 0 1012 2zm0 18.2a8.2 8.2 0 01-4.2-1.2l-.3-.2-3 .8.8-2.9-.2-.3A8.2 8.2 0 1112 20.2zm4.5-6.1c-.2-.1-1.5-.7-1.7-.8s-.4-.1-.6.1-.7.8-.8 1-.3.2-.5.1a6.7 6.7 0 01-3.3-2.9c-.2-.4.2-.4.7-1.3.1-.2 0-.3 0-.4l-.8-1.8c-.2-.5-.4-.4-.6-.4h-.5a1 1 0 00-.7.3 3 3 0 00-.9 2.2 5.2 5.2 0 001.1 2.7 11.8 11.8 0 004.5 4c1.7.7 2.3.8 3.2.7a2.7 2.7 0 001.8-1.3 2.2 2.2 0 00.2-1.3c-.1-.1-.3-.2-.5-.3z'/%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'%3E%3Cpath d='M12 2a10 10 0 00-8.6 15.1L2 22l5-1.3A10 10 0 1012 2zm0 18.2a8.2 8.2 0 01-4.2-1.2l-.3-.2-3 .8.8-2.9-.2-.3A8.2 8.2 0 1112 20.2zm4.5-6.1c-.2-.1-1.5-.7-1.7-.8s-.4-.1-.6.1-.7.8-.8 1-.3.2-.5.1a6.7 6.7 0 01-3.3-2.9c-.2-.4.2-.4.7-1.3.1-.2 0-.3 0-.4l-.8-1.8c-.2-.5-.4-.4-.6-.4h-.5a1 1 0 00-.7.3 3 3 0 00-.9 2.2 5.2 5.2 0 001.1 2.7 11.8 11.8 0 004.5 4c1.7.7 2.3.8 3.2.7a2.7 2.7 0 001.8-1.3 2.2 2.2 0 00.2-1.3c-.1-.1-.3-.2-.5-.3z'/%3E%3C/svg%3E") center / contain no-repeat; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero { padding: 64px 0 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 48px; align-items: center; }
.eyebrow-pill { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.slogan { font-weight: 600; font-size: clamp(46px, 7vw, 88px); line-height: .98; letter-spacing: -.045em; margin: 14px 0 22px; color: var(--ink); }
.slogan span { display: inline-block; }
.slogan .s3 { color: var(--brand); }
.hero-lede { font-size: 18px; line-height: 1.6; color: var(--ink-2); max-width: 54ch; margin: 0 0 28px; }
.hero-lede b { color: var(--ink); font-weight: 600; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.track-inline { display: flex; height: 52px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line-strong); overflow: hidden; }
.track-inline:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.track-inline input { background: transparent; border: 0; padding: 0 6px 0 16px; width: 200px; font: 500 14px var(--mono); text-transform: uppercase; outline: none; color: var(--ink); }
.track-inline input::placeholder { text-transform: none; font-family: var(--font); color: var(--ink-3); }
.track-inline button { width: 52px; border: 0; border-left: 1px solid var(--line); background: var(--panel-2); color: var(--ink); font-size: 18px; cursor: pointer; }
.track-inline button:hover { background: var(--brand-soft); color: var(--brand); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 0; margin: 20px 0 0; font-size: 13.5px; color: var(--ink-3); }

/* Phone: a realistic WhatsApp screen — its own colours, not the site's */
.phone-wrap { position: relative; justify-self: center; padding: 10px 26px 30px; }
.phone { width: 290px; border-radius: 30px; background: #0b141a; padding: 9px; box-shadow: 0 24px 60px rgba(24, 32, 29, .22); }
.phone-top { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #1f2c33; border-radius: 22px 22px 0 0; font-size: 14px; color: #e9edef; }
.phone-top small { display: block; color: #8696a0; font-size: 11px; }
.phone-avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--brand); display: inline-block; }
.chat { background: #0b141a; padding: 14px 10px 18px; display: grid; gap: 8px; border-radius: 0 0 22px 22px; min-height: 320px; align-content: start; }
.bubble { max-width: 86%; padding: 8px 11px; border-radius: 9px; font-size: 13px; line-height: 1.45; color: #e9edef; animation: pop .5s ease both; }
.bubble.me { justify-self: end; background: #005c4b; border-top-right-radius: 3px; }
.bubble.bot { justify-self: start; background: #202c33; border-top-left-radius: 3px; }
.bubble.small { font-size: 12px; }
.bubble .link { color: #53bdeb; font-size: 12px; }
.bubble:nth-child(1) { animation-delay: .3s; } .bubble:nth-child(2) { animation-delay: 1s; }
.bubble:nth-child(3) { animation-delay: 1.9s; } .bubble:nth-child(4) { animation-delay: 2.8s; }
.voice { display: flex; align-items: center; gap: 8px; width: 205px; }
.voice .play { font-size: 12px; }
.wave { display: flex; align-items: center; gap: 2px; flex: 1; height: 22px; }
.wave i { width: 3px; border-radius: 2px; background: #b3e2d6; animation: wave 1.2s ease-in-out infinite; }
.wave i:nth-child(odd) { height: 60%; } .wave i:nth-child(even) { height: 95%; } .wave i:nth-child(3n) { height: 35%; }
.wave i:nth-child(2n) { animation-delay: .2s; } .wave i:nth-child(3n) { animation-delay: .4s; }
.voice .dur { font-size: 11px; opacity: .7; }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes wave { 50% { transform: scaleY(.45); } }
.float-card { position: absolute; background: var(--panel); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px;
  box-shadow: var(--shadow-pop); font-size: 12.5px; display: flex; align-items: center; gap: 10px; line-height: 1.25; }
.float-card b { font-size: 24px; font-weight: 600; color: var(--brand); letter-spacing: -.02em; }
.fc1 { left: -34px; bottom: -4px; }
.fc2 { right: -14px; top: 36px; font-weight: 500; }
.fc2 b { font-size: 14px; }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--s-resolved); box-shadow: 0 0 0 4px var(--s-resolved-bg); }

.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 56px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.hero-stats > div { padding: 18px 20px 18px 0; }
.hero-stats > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.hero-stats b { display: block; font-size: 32px; font-weight: 600; letter-spacing: -.025em; color: var(--ink); line-height: 1.1; font-variant-numeric: tabular-nums; }
.hero-stats span { font-size: 13.5px; color: var(--ink-2); }

/* ── What is a community note ─────────────────────────────── */
.note-explainer { padding: 72px 0 0; }
.explainer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.note-explainer .display { font-size: clamp(28px, 3.4vw, 38px); }
.lead { font-size: 16.5px; line-height: 1.65; color: var(--ink-2); margin: 14px 0 0; }
.pillars { display: grid; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.pillars article { padding: 16px 18px 16px 62px; position: relative; border-bottom: 1px solid var(--line); }
.pillars article:last-child { border-bottom: 0; }
.pillars .pi { position: absolute; left: 18px; top: 16px; width: 30px; height: 30px; border-radius: var(--radius-sm); background: var(--brand-soft); display: grid; place-items: center; font-size: 15px; }
.pillars h3 { margin: 0 0 2px; font-size: 15px; font-weight: 600; }
.pillars p { margin: 0; color: var(--ink-2); font-size: 14px; }

/* ── Sections ─────────────────────────────────────────────── */
.section { padding: 72px 0 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 20px; flex-wrap: wrap; }
.section-head .display { font-size: clamp(26px, 3vw, 34px); max-width: 24ch; }
.section-head .sub { margin: 8px 0 0; font-size: 13.5px; }
.link-arrow { font-weight: 500; color: var(--brand); text-decoration: none; font-size: 14px; }
.link-arrow:hover { text-decoration: underline; }
.empty-note { grid-column: 1 / -1; padding: 28px 20px; text-align: center; color: var(--ink-3); background: var(--panel); border: 1px dashed var(--line-strong); border-radius: var(--radius); font-size: 14px; }

/* ── Issue cards ──────────────────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 14px; }
#trending-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit;
  display: flex; flex-direction: column; transition: border-color .15s ease, box-shadow .15s ease; }
.card:hover { border-color: var(--line-strong); box-shadow: 0 6px 20px rgba(24, 32, 29, .07); }
.card-visual { position: relative; height: 128px; display: grid; place-items: center; background: var(--panel-2); border-bottom: 1px solid var(--line); color: var(--brand); overflow: hidden; }
.card-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-visual svg { width: 40px; height: 40px; opacity: .85; }
.card-tags { position: absolute; left: 10px; right: 10px; top: 10px; display: flex; justify-content: space-between; gap: 6px; z-index: 1; }
.tagx { background: var(--panel); color: var(--ink-2); font-size: 11.5px; font-weight: 500; padding: 2px 8px; border-radius: var(--radius-sm); border: 1px solid var(--line); }
.tagx.hot { color: var(--u-critical); border-color: currentColor; }
.card-body { padding: 14px 16px 4px; display: grid; gap: 5px; flex: 1; }
.card-title { font-weight: 600; font-size: 16px; line-height: 1.3; margin: 0; }
.card-place { font-size: 13px; color: var(--ink-3); }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 16px 14px; font-size: 13px; color: var(--ink-2); }
.card-foot .counts { display: flex; gap: 14px; font-family: var(--mono); font-size: 12.5px; }
.metoo-count { color: var(--brand); font-weight: 500; }
.status-chip { font-size: 12px; font-weight: 500; padding: 2px 9px; border-radius: 999px; white-space: nowrap; }
.status-chip.received { background: var(--s-received-bg); color: var(--s-received); }
.status-chip.in_progress { background: var(--s-progress-bg); color: var(--s-progress); }
.status-chip.resolved { background: var(--s-resolved-bg); color: var(--s-resolved); }
.status-chip.rejected { background: var(--s-rejected-bg); color: var(--s-rejected); }
.more { text-align: center; margin: 18px 0 0; }
.more .btn { height: 38px; padding: 0 18px; }

/* ── How it works ─────────────────────────────────────────── */
.how .display { font-size: clamp(26px, 3vw, 34px); margin-bottom: 26px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.step { padding: 24px 24px 26px; border-right: 1px solid var(--line); }
.step:last-child { border-right: 0; }
.step h3 { font-size: 26px; font-weight: 600; letter-spacing: -.02em; margin: 6px 0 8px; }
.step.resolve h3 { color: var(--brand); }
.step p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
.step p b { color: var(--ink); }
.step-n { font: 500 13px var(--mono); color: var(--ink-3); }

/* ── Workflow strip ───────────────────────────────────────── */
.flow { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding: 0; margin: 14px 0 0; counter-reset: f; }
.flow li { position: relative; padding: 14px 18px 14px 18px; background: var(--panel-2); border: 1px solid var(--line); margin-left: -1px; display: grid; gap: 2px; font-size: 14px; }
.flow li:first-child { margin-left: 0; border-radius: var(--radius) 0 0 var(--radius); }
.flow li:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
.flow li:not(:last-child)::after { content: "→"; position: absolute; right: -9px; top: 50%; transform: translateY(-50%); z-index: 1; background: var(--bg); color: var(--brand); font-weight: 600; width: 18px; text-align: center; }
.flow li span { color: var(--ink-3); font-size: 12.5px; }
.flow li:last-child b { color: var(--brand); }
.verify-note { margin: 12px 0 0; font-size: 14px; color: var(--ink-2); }

/* ── Scoreboard ───────────────────────────────────────────── */
.score-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 14px; }
.board { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); align-self: start; }
.lga-row { display: grid; grid-template-columns: 30px minmax(0, 1fr) 130px; gap: 12px; align-items: center; padding: 11px 16px; border-bottom: 1px solid var(--line); }
.lga-row:last-child { border-bottom: 0; }
.lga-rank { font: 500 13px var(--mono); color: var(--ink-3); text-align: center; }
.lga-name { font-weight: 500; }
.lga-meta { font-size: 12.5px; color: var(--ink-3); }
.badge { display: inline-block; font-size: 11px; font-weight: 500; padding: 1px 7px; border-radius: 999px; margin-left: 6px; vertical-align: 1px; }
.badge.good { background: var(--s-resolved-bg); color: var(--s-resolved); }
.badge.bad { background: var(--s-rejected-bg); color: var(--u-critical); }
.pending-score { font-size: 12px; color: var(--ink-3); text-align: right; line-height: 1.3; }
.map-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
#map { flex: 1; min-height: 420px; }
.map-legend { display: flex; gap: 16px; padding: 10px 16px; font-size: 12.5px; color: var(--ink-2); border-top: 1px solid var(--line); }
.map-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; }

/* ── Feed controls ────────────────────────────────────────── */
.feed-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 10px; }
.tabs-pill { display: inline-flex; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); overflow: hidden; background: var(--panel); }
.tabs-pill button { border: 0; border-right: 1px solid var(--line); background: transparent; height: 32px; padding: 0 12px; font-size: 13px; color: var(--ink-2); cursor: pointer; }
.tabs-pill button:last-child { border-right: 0; }
.tabs-pill button[aria-pressed="true"] { background: var(--ink); color: var(--panel); }
.cat-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.cat-chip { cursor: pointer; border-radius: 999px; padding: 4px 12px 4px 5px; font-size: 13px; display: inline-flex; align-items: center; gap: 6px;
  background: var(--panel); color: var(--ink-2); border: 1px solid var(--line-strong); }
.cat-chip i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.cat-chip i svg { width: 12px; height: 12px; }
.cat-chip[aria-pressed="true"] { background: var(--ink); color: var(--panel); border-color: var(--ink); }

/* ── Closing band ─────────────────────────────────────────── */
.cta-band { margin-top: 80px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--panel); padding: 44px 0; }
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band .display { font-size: clamp(30px, 4vw, 44px); }
.cta-band p { margin: 6px 0 0; font-size: 16px; color: var(--ink-2); }

/* ── Footer ───────────────────────────────────────────────── */
.foot { padding: 40px 0 24px; font-size: 14px; color: var(--ink-2); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.foot p { margin: 10px 0 0; max-width: 34ch; }
.foot-links { display: grid; gap: 8px; align-content: start; }
.foot-links a { color: var(--ink-2); text-decoration: none; cursor: pointer; }
.foot-links a:hover { color: var(--ink); }
.foot-small { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink-3); }

/* ── Issue page ───────────────────────────────────────────── */
.issue-wrap { padding: 24px 0 64px; display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 28px; align-items: start; }
.crumbs { grid-column: 1 / -1; font-size: 13.5px; }
.crumbs a { color: var(--brand); text-decoration: none; font-weight: 500; }
.issue-hero { border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel-2); min-height: 200px; display: grid; place-items: center; color: var(--brand); }
.issue-hero > svg { width: 64px; height: 64px; opacity: .85; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px; }
.gallery img { width: 100%; height: 240px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); display: block; }
.issue-title { font-weight: 600; font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -.025em; line-height: 1.15; margin: 22px 0 6px; }
.issue-place { font-size: 15px; color: var(--ink-2); margin: 0 0 20px; }
.issue-summary { font-size: 16px; line-height: 1.65; margin: 0 0 24px; color: var(--ink-2); }
.stepper { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); padding: 0; margin: 0 0 24px; }
.stepper li { position: relative; padding-top: 20px; font-size: 13px; color: var(--ink-3); }
.stepper li::before { content: ""; position: absolute; top: 5px; left: 0; right: 0; height: 3px; background: var(--line); }
.stepper li::after { content: ""; position: absolute; top: 0; left: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--panel); border: 2px solid var(--line-strong); }
.stepper li.done { color: var(--ink); }
.stepper li.done::before { background: var(--brand); }
.stepper li.done::after { background: var(--brand); border-color: var(--brand); }
.stepper li.now { font-weight: 600; }
.stepper li.now::after { box-shadow: 0 0 0 4px var(--brand-soft); }
.stepper li small { display: block; font-weight: 400; color: var(--ink-3); font-size: 12px; }
.officer-note { border-left: 3px solid var(--brand); background: var(--panel); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 12px 16px; margin: 0 0 22px; font-size: 14.5px; }
.officer-note small { display: block; text-transform: uppercase; letter-spacing: .06em; font-size: 11px; color: var(--ink-3); margin-bottom: 3px; }

.side { position: sticky; top: 76px; display: grid; gap: 12px; }
.side-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.metoo-btn { width: 100%; cursor: pointer; border-radius: var(--radius); background: var(--panel); color: var(--ink); border: 1px solid var(--brand);
  padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; font: 600 15px var(--font); }
.metoo-btn:hover { background: var(--brand-soft); }
.metoo-btn b { font: 600 22px var(--mono); color: var(--brand); }
.metoo-btn.done { background: var(--brand); color: var(--brand-ink); }
.metoo-btn.done b { color: var(--brand-ink); }
.metoo-btn.bump b { animation: bump .4s ease; }
@keyframes bump { 50% { transform: scale(1.25); } }
.side-card .hint { font-size: 12.5px; color: var(--ink-3); margin: 8px 0 0; }
.share { display: flex; gap: 6px; margin-top: 12px; }
.share a, .share button { flex: 1; text-align: center; border: 1px solid var(--line-strong); background: var(--panel); border-radius: var(--radius-sm); padding: 7px; font-size: 13px; font-weight: 500; cursor: pointer; text-decoration: none; color: var(--ink); }
.share a:hover, .share button:hover { background: var(--panel-2); }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; margin: 0; font-size: 13.5px; }
.facts dt { color: var(--ink-3); }
.facts dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.issue-map { height: 180px; border-radius: var(--radius-sm); border: 1px solid var(--line); margin-top: 14px; }

.comments { margin-top: 34px; border-top: 1px solid var(--line); padding-top: 24px; }
.comments h2 { font-size: 20px; font-weight: 600; margin: 0 0 2px; letter-spacing: -.01em; }
.comments .sub { margin: 0 0 12px; color: var(--ink-3); font-size: 13.5px; }
.comment { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: 13px; background: var(--brand-soft); color: var(--brand); }
.avatar.reporter { background: var(--brand); color: var(--brand-ink); }
.comment .who { font-weight: 600; font-size: 13.5px; }
.comment .who span { font-weight: 400; color: var(--ink-3); font-size: 12.5px; margin-left: 6px; }
.comment p { margin: 2px 0 0; font-size: 14.5px; line-height: 1.55; }
.composer { margin-top: 16px; background: var(--panel); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 12px 14px; }
.composer:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.composer textarea { width: 100%; border: 0; resize: vertical; min-height: 64px; font: inherit; outline: none; background: transparent; color: var(--ink); }
.composer-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 6px; font-size: 12.5px; color: var(--ink-3); }
.composer-foot button { border: 0; background: var(--brand); color: var(--brand-ink); font-weight: 600; height: 32px; padding: 0 14px; border-radius: var(--radius-sm); cursor: pointer; }
.locked { display: flex; gap: 12px; align-items: flex-start; background: var(--panel); border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 14px 16px; margin-top: 16px; font-size: 14px; color: var(--ink-2); }
.locked .lock { font-size: 18px; }
.locked b { display: block; color: var(--ink); }
.notfound { grid-column: 1 / -1; text-align: center; padding: 72px 0; }
.mine-wrap { padding: 44px 0 72px; }
.mine-wrap .display { font-size: 34px; }
.mine-wrap #mine-who { margin: 6px 0 22px; }

.leaflet-popup-content a { color: var(--brand); font-weight: 500; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 980px) {
  .flow { grid-template-columns: repeat(2, 1fr); row-gap: 8px; }
  .flow li { margin-left: 0; border-radius: var(--radius) !important; }
  .flow li::after { display: none; }
  .hero-grid, .explainer-grid, .score-grid, .issue-wrap { grid-template-columns: 1fr; }
  .phone-wrap { display: none; }
  #trending-cards { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: 0; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stats > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .side { position: static; }
  .nav-links { display: none; }
  .nav-actions { margin-left: auto; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .nav .btn-wa.sm span:last-child { display: none; }
  .nav .btn-wa.sm { width: 34px; padding: 0; justify-content: center; }
  .hero { padding-top: 36px; }
  .hero-lede { font-size: 16px; }
  .btn-wa.lg { width: 100%; justify-content: center; }
  .track-inline { width: 100%; }
  .track-inline input { flex: 1; width: auto; }
  .hero-stats b { font-size: 26px; }
  .hero-stats > div + div { padding-left: 14px; }
  .section, .note-explainer { padding-top: 52px; }
  .lga-row { grid-template-columns: 24px minmax(0, 1fr) 96px; padding: 10px 12px; }
  .stepper { grid-template-columns: repeat(2, 1fr); row-gap: 14px; }
  .foot-grid { grid-template-columns: 1fr; }
  .feed-bar .select { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .bubble { animation: none !important; } }
