/* QuemMeLigou visual system — loaded last on every page.
   One bold device: the "call screen", a dark panel that shows a number the way a phone shows an incoming call.
   Everything around it stays quiet: white surfaces, one green, signal colours only for report categories. */

:root {
  --ink: #13212b;
  --ink-soft: #46555f;
  --ink-faint: #6b7a85;
  --line: #dfe5ea;
  --line-strong: #c8d2d9;
  --paper: #f4f6f8;
  --surface: #fff;
  --brand: #0d6b5c;
  --brand-strong: #0a5348;
  --brand-tint: #e3f1ed;
  --focus: #2457c5;
  --burla: #b42318;      --burla-tint: #fdecea;
  --comercial: #9a5b06;  --comercial-tint: #fdf2e1;
  --silencio: #4a52c9;   --silencio-tint: #eef0ff;
  --esperado: #18794e;   --esperado-tint: #e6f4ec;
  --radius-s: 8px;
  --radius-m: 12px;
  --radius-l: 20px;
  --accent: var(--brand);
  --muted: var(--ink-soft);
  --paper-legacy: var(--paper);
}

body { background: var(--paper); color: var(--ink); font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { color: var(--ink); letter-spacing: -0.02em; }
h1 { font-size: clamp(34px, 5vw, 48px); line-height: 1.08; }
h2 { font-size: clamp(23px, 3vw, 28px); line-height: 1.2; }
h3 { font-size: 19px; line-height: 1.3; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-strong); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus) !important; outline-offset: 3px !important; }
.fine { font-size: 15px; color: var(--ink-faint); }
.wrap { width: min(1120px, calc(100% - 40px)); }

/* Header and navigation */
body .site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
body .site-header .header-inner { min-height: 72px; }
body .site-header .brand, body .site-footer .brand { color: var(--ink); font-size: 22px; font-weight: 750; letter-spacing: -0.03em; }
body .site-header .brand-mark, body .site-footer .brand-mark { background: var(--ink); color: #fff; width: 38px; height: 38px; border-radius: 11px; }
body .site-header .brand-mark svg, body .site-footer .brand-mark svg { width: 25px; height: 25px; }
body .site-header .brand .domain, body .site-footer .brand .domain { color: var(--ink-faint); font-weight: 500; }
body .site-header .main-nav { gap: 4px; }
body .site-header .main-nav a { color: var(--ink-soft); font-weight: 600; border-radius: var(--radius-s); padding: 9px 14px; min-height: 44px; display: inline-flex; align-items: center; }
body .site-header .main-nav a:hover { background: var(--paper); color: var(--ink); }
body .site-header .main-nav a[aria-current=page] { background: var(--brand-tint); color: var(--brand-strong); box-shadow: none; }

/* Mobile menu: a single button top-right, panel drops below the header */
.mobile-menu { display: none; }
.mobile-menu > summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); color: var(--ink); font-size: 15px; font-weight: 700; cursor: pointer; }
.mobile-menu > summary::-webkit-details-marker { display: none; }
.mobile-menu .mobile-menu-close { display: none; }
.mobile-menu[open] .mobile-menu-open { display: none; }
.mobile-menu[open] .mobile-menu-close { display: inline; }
.mobile-menu[open] > summary { background: var(--ink); border-color: var(--ink); color: #fff; }
body .site-header .mobile-menu-panel { width: auto; max-width: none; margin: 0; border-top: 0; gap: 0; grid-template-columns: 1fr; position: absolute; top: calc(100% + 1px); left: -16px; right: -16px; z-index: 30; display: grid; padding: 8px 16px 14px; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(19, 33, 43, .12); }
body .site-header .mobile-menu-panel a { display: flex; justify-content: space-between; align-items: center; min-height: 52px; padding: 0 4px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 18px; font-weight: 600; text-decoration: none; }
body .site-header .mobile-menu-panel a:last-child { border-bottom: 0; }
.mobile-menu-panel a[aria-current=page] { color: var(--brand-strong); }
.mobile-menu-panel a[aria-current=page]::after { content: ""; width: 8px; height: 8px; margin-left: 10px; border-radius: 50%; background: var(--brand); }

/* Buttons */
body .button, body .secondary { border-radius: var(--radius-s); min-height: 48px; padding: 12px 20px; gap: 10px; font-weight: 700; font-size: 16px; transition: background-color .15s ease, border-color .15s ease; }
body .button { background: var(--brand); border-color: var(--brand); color: #fff; }
body .button:hover { background: var(--brand-strong); border-color: var(--brand-strong); color: #fff; text-decoration: none; }
body .secondary { background: var(--surface); color: var(--ink); border: 1px solid var(--line-strong); }
body .secondary:hover { border-color: var(--ink-faint); color: var(--ink); text-decoration: none; }
body .text-button { color: var(--brand); font-weight: 600; }

/* Search: a dialer display — large, calm digits */
body .search-form { margin: 26px 0 0; max-width: 620px; }
body .search-form label { font-size: 15px; font-weight: 700; color: inherit; margin-bottom: 8px; }
body .search-box { background: var(--surface); border: 1px solid var(--line-strong); border-radius: 14px; padding: 6px; box-shadow: 0 1px 0 rgba(19, 33, 43, .04); }
body .search-box:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(13, 107, 92, .16); }
body .search-box input { border: 0 !important; background: transparent !important; font: 600 22px/1.2 Manrope, Arial, sans-serif; font-variant-numeric: tabular-nums; letter-spacing: .04em; color: var(--ink); padding: 12px 14px; }
body .search-box input::placeholder { color: #9aa7b0; font-weight: 500; }
body .search-box input:focus-visible { outline: none !important; }
body .search-box .button { min-height: 54px; padding: 0 22px; border-radius: 10px; }
body .search-form .fine { margin: 10px 0 0; color: inherit; opacity: .8; }

/* Shared section heading */
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 22px; }
.section-heading h2 { margin: 0; }
.section-heading p { margin: 6px 0 0; color: var(--ink-soft); font-size: 16px; }
.section-heading > a { font-weight: 700; font-size: 16px; white-space: nowrap; }
.section-note { margin: 16px 0 0; font-size: 15px; color: var(--ink-faint); }

/* The call screen */
.call-screen { position: relative; background: var(--ink); color: #fff; border-radius: var(--radius-l); padding: 28px 30px; overflow: hidden; isolation: isolate; }
.call-screen::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 90% at 100% 0%, rgba(13, 107, 92, .55), transparent 60%); }
.call-screen h1, .call-screen h2, .call-screen h3 { color: #fff; }
.call-screen a { color: #fff; }
.call-screen-kicker { margin: 0 0 6px; font-size: 15px; font-weight: 600; color: rgba(255, 255, 255, .72); }
body .number-reading .call-screen-number, .call-screen-number { display: block; margin: 0; font: 700 clamp(38px, 6.4vw, 68px)/1.04 Manrope, Arial, sans-serif; font-variant-numeric: tabular-nums; letter-spacing: .01em; color: #fff; text-decoration: none; white-space: nowrap; }
a.call-screen-number:hover { color: #fff; text-decoration: underline; text-decoration-thickness: 2px; }
.call-screen-line { margin: 8px 0 0; color: rgba(255, 255, 255, .8); font-size: 16px; }
.call-screen-meta { margin: 12px 0 0; color: rgba(255, 255, 255, .78); font-size: 16px; max-width: 60ch; }

/* Home */
body .qml-home { background: var(--paper); padding-bottom: 56px; }
.qml-hero { background: var(--surface); border-bottom: 1px solid var(--line); }
.home-hero-inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: center; padding: 56px 0 40px; }
.home-hero-copy h1 { font-size: clamp(42px, 6.5vw, 68px); letter-spacing: -0.035em; margin: 0 0 16px; }
.home-hero-lead { font-size: 19px; color: var(--ink-soft); max-width: 34em; margin: 0; }
.home-hero-note { margin: 14px 0 0; font-size: 15px; color: var(--ink-faint); }
.home-call-screen { display: flex; flex-direction: column; gap: 0; }
.home-call-screen .call-screen-number { font-size: clamp(30px, 3.4vw, 42px); }
.call-screen-advice { margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .16); }
.home-call-screen .call-screen-kicker + .call-screen-advice, .home-call-screen > .call-screen-advice:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.call-screen-advice h2 { font-size: 18px; margin: 0 0 10px; letter-spacing: -0.01em; }
.call-screen-advice ul { margin: 0 0 14px; padding-left: 20px; color: rgba(255, 255, 255, .86); font-size: 16px; }
.call-screen-advice li + li { margin-top: 6px; }
.call-screen-advice a { font-weight: 700; font-size: 16px; }
.home-facts { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px 36px; padding: 0 0 26px; }
.home-facts p { margin: 0; font-size: 16px; color: var(--ink-soft); }
.home-facts strong { color: var(--ink); font-family: Manrope, Arial, sans-serif; font-variant-numeric: tabular-nums; font-size: 18px; }
.home-section { padding-top: 48px; }
.home-feeds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.home-feeds-single { grid-template-columns: minmax(0, 1fr); }
.home-feed { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 22px 22px 10px; }
.home-feed h3 { margin: 0; }
.home-feed-subtitle { margin: 4px 0 10px; font-size: 15px; color: var(--ink-faint); }
.home-feed-empty { padding: 8px 0 14px; }
.home-feed-empty p { margin: 0 0 12px; }
.number-rows { list-style: none; margin: 0; padding: 0; }
.number-rows li + li { border-top: 1px solid var(--line); }
.number-rows a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 4px 16px; padding: 14px 0; color: var(--ink); text-decoration: none; }
.number-rows a:hover .number-rows-number { color: var(--brand); text-decoration: underline; }
.number-rows-number { font: 700 20px/1.2 Manrope, Arial, sans-serif; font-variant-numeric: tabular-nums; }
.number-rows-kind { font-size: 15px; color: var(--ink-faint); }
.count-badge { justify-self: end; font-size: 14px; font-weight: 700; color: var(--burla); background: var(--burla-tint); border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.number-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.number-tile { display: flex; flex-direction: column; gap: 2px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 16px 18px; color: var(--ink); text-decoration: none; transition: border-color .15s ease; }
.number-tile:hover { border-color: var(--brand); color: var(--ink); text-decoration: none; }
.number-tile-number { font: 700 20px/1.25 Manrope, Arial, sans-serif; font-variant-numeric: tabular-nums; }
.number-tile-kind { font-size: 14px; color: var(--ink-faint); }
.number-tile-status { margin-top: 8px; font-size: 15px; color: var(--ink-soft); }
.number-tile-status.is-reported { color: var(--burla); font-weight: 700; }
.home-participate { margin-top: 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; background: var(--brand-tint); border-radius: var(--radius-m); padding: 28px 30px; }
.home-participate h2 { font-size: 23px; margin: 0 0 6px; }
.home-participate p { margin: 0; color: var(--ink-soft); max-width: 60ch; font-size: 16px; }
.home-participate .button { flex: none; }
.home-safety { margin-top: 48px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px 56px; }
.home-safety-intro h2 { margin: 0 0 12px; }
.home-safety-intro p { color: var(--ink-soft); }
.home-safety-intro a { font-weight: 700; }
.home-safety-list { margin: 0; }
.home-safety-list div { padding: 16px 0; border-top: 1px solid var(--line); }
.home-safety-list div:last-child { border-bottom: 1px solid var(--line); }
.home-safety-list dt { font-weight: 700; }
.home-safety-list dd { margin: 2px 0 0; color: var(--ink-soft); }

/* Number page */
body .number-reading { padding-top: 22px; max-width: 860px; }
body .number-reading .crumb { font-size: 15px; color: var(--ink-faint); margin-bottom: 14px; }
.number-call-screen { padding: 30px 32px 26px; }
.number-call-screen .call-screen-number { margin: 2px 0 0; }
body .number-call-screen .number-status { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 20px 0 0; padding: 0; background: none; border: 0; }
body .number-call-screen .number-status strong { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); color: #fff; }
body .number-call-screen .number-status strong::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #c5ced4; }
body .number-call-screen .number-status.status-high strong { background: #fff; color: var(--burla); }
body .number-call-screen .number-status.status-high strong::before { background: var(--burla); }
body .number-call-screen .number-status.status-medium strong { background: #fff; color: var(--comercial); }
body .number-call-screen .number-status.status-medium strong::before { background: #e08b16; }
body .number-call-screen .number-status.status-low strong { background: #fff; color: var(--esperado); }
body .number-call-screen .number-status.status-low strong::before { background: var(--esperado); }
body .number-call-screen .number-status span { font-size: 15px; color: rgba(255, 255, 255, .78); }
body .number-call-screen .number-status a { font-size: 15px; font-weight: 600; }
.call-screen-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px 24px; margin: 24px 0 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .16); }
.call-screen-facts dt { font-size: 14px; color: rgba(255, 255, 255, .66); }
.call-screen-facts dd { margin: 2px 0 0; font-size: 16px; font-weight: 600; color: #fff; }
.number-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 18px 0 8px; }
.number-actions [role=status] { font-size: 15px; color: var(--ink-soft); }

.category-breakdown { margin-top: 30px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 22px 24px 14px; }
.category-breakdown h2 { font-size: 19px; margin: 0 0 14px; }
.category-breakdown ul { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 10px; }
.category-breakdown li { display: grid; grid-template-columns: minmax(150px, 220px) 1fr 32px; align-items: center; gap: 14px; font-size: 16px; }
.category-breakdown-bar { display: block; width: 100%; height: 10px; }
.category-breakdown-bar .bar-track { fill: var(--paper); }
.category-breakdown-bar .bar-fill { fill: var(--ink-faint); }
.category-breakdown-count { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.cat-suspeita .category-breakdown-bar .bar-fill { fill: var(--burla); }
.cat-comercial .category-breakdown-bar .bar-fill { fill: #d98a1c; }
.cat-silencio .category-breakdown-bar .bar-fill { fill: var(--silencio); }
.cat-servico .category-breakdown-bar .bar-fill { fill: var(--esperado); }

body .report-list { margin-top: 34px; }
body .report-list > h2 { margin-bottom: 16px; }
body .number-reading .report-discussion, body .report-discussion { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 0; margin: 0 0 14px; overflow: hidden; box-shadow: none; }
body .entry { position: relative; padding: 20px 22px 14px; margin: 0; border: 0; background: none; box-shadow: none; }
body .number-reading .report-discussion > .entry, body .report-discussion > .entry { padding: 20px 22px 14px; border-left: 4px solid var(--line-strong); }
body .report-discussion > .entry.cat-suspeita { border-left-color: var(--burla); }
body .report-discussion > .entry.cat-comercial { border-left-color: #d98a1c; }
body .report-discussion > .entry.cat-silencio { border-left-color: var(--silencio); }
body .report-discussion > .entry.cat-servico { border-left-color: var(--esperado); }
body .entry-meta { display: flex; align-items: center; justify-content: flex-start; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
body .entry-meta strong { font-size: 16px; }
.entry-avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--paper); color: var(--ink-soft); font: 700 15px/1 Manrope, Arial, sans-serif; flex: none; }
body .entry .tag { margin-left: auto; font-size: 14px; font-weight: 700; padding: 3px 10px; border-radius: 999px; border: 0; background: var(--paper); color: var(--ink-soft); }
body .entry.cat-suspeita .tag { background: var(--burla-tint); color: var(--burla); }
body .entry.cat-comercial .tag { background: var(--comercial-tint); color: var(--comercial); }
body .entry.cat-silencio .tag { background: var(--silencio-tint); color: var(--silencio); }
body .entry.cat-servico .tag { background: var(--esperado-tint); color: var(--esperado); }
body .entry-body { font-size: 17px; margin: 0 0 8px; max-width: 68ch; white-space: pre-line; }
body .entry-dates { margin: 0 0 8px; font-size: 14px; }
body .entry-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
body .entry-actions form { margin: 0; }
.vote-button { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 6px 14px 6px 10px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); color: var(--ink-soft); font-size: 15px; font-weight: 700; cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.vote-button:hover { border-color: var(--brand); color: var(--brand); }
.vote-button svg { transition: transform .2s ease; }
.vote-button .vote-count { font-variant-numeric: tabular-nums; min-width: 1ch; }
.vote-button[aria-pressed=true] { background: var(--brand-tint); border-color: var(--brand); color: var(--brand-strong); }
.vote-button[aria-pressed=true] svg { transform: rotate(-12deg) scale(1.08); fill: rgba(13, 107, 92, .18); }
@media (prefers-reduced-motion: reduce) { .vote-button svg { transition: none; } }
body .flag-details summary { font-size: 14px; color: var(--ink-faint); font-weight: 600; list-style: none; }
body .flag-details summary::-webkit-details-marker { display: none; }
body .flag-details[open] { flex-basis: 100%; }
body .flag-details form { margin-top: 12px; padding: 16px; background: var(--paper); border-radius: var(--radius-s); }
body .number-reading .report-discussion .reply, body .report-discussion .reply { margin: 0 22px 12px 48px; padding: 0; border: 0; border-left: 2px solid var(--line); background: none; }
body .number-reading .reply .entry { padding: 10px 0 6px 16px; }
body .reply .entry-avatar { width: 28px; height: 28px; font-size: 13px; }
body .number-reading .report-discussion > .composer-details { margin: 0; padding: 4px 22px 6px; border-top: 1px solid var(--line); background: #fafbfc; border-radius: 0; }
body .composer-details > summary { font-size: 15px; font-weight: 700; color: var(--brand); }

/* Report form panel: always open so people see they can comment */
body .report-panel { margin-top: 26px; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--brand); border-radius: var(--radius-m); padding: 24px; }
.report-panel-intro { margin-bottom: 18px; }
body .report-panel .report-panel-title { font-size: 23px; margin: 0 0 4px; }
.report-panel-hint { margin: 0; font-size: 16px; color: var(--ink-soft); }

/* Home community feed */
.home-community { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.home-community-lists-only { grid-template-columns: minmax(0, 1fr); }
.home-community .home-feeds { grid-template-columns: minmax(0, 1fr); }
.home-community-lists-only .home-feeds { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.home-comments h3 { margin: 0 0 12px; }
.comment-feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.comment-card { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--line-strong); border-radius: var(--radius-m); padding: 16px 18px; }
.comment-card.cat-suspeita { border-left-color: var(--burla); }
.comment-card.cat-comercial { border-left-color: #d98a1c; }
.comment-card.cat-silencio { border-left-color: var(--silencio); }
.comment-card.cat-servico { border-left-color: var(--esperado); }
.comment-card-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.comment-card-head p { margin: 0; font-size: 16px; color: var(--ink-soft); }
.comment-card-head strong { color: var(--ink); }
.comment-card-head a { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.comment-card .tag { margin-left: auto; font-size: 13px; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: var(--paper); color: var(--ink-soft); }
.comment-card.cat-suspeita .tag { background: var(--burla-tint); color: var(--burla); }
.comment-card.cat-comercial .tag { background: var(--comercial-tint); color: var(--comercial); }
.comment-card.cat-silencio .tag { background: var(--silencio-tint); color: var(--silencio); }
.comment-card.cat-servico .tag { background: var(--esperado-tint); color: var(--esperado); }
.comment-card-title { margin: 10px 0 0; font-weight: 700; }
.comment-card-body { margin: 8px 0 0; font-size: 17px; overflow-wrap: anywhere; }
.comment-card-time { margin: 6px 0 0; font-size: 14px; color: var(--ink-faint); }

/* Report form */
body .report-options legend { font-weight: 700; font-size: 16px; margin-bottom: 10px; }
body .report-options-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
body .report-choice { position: relative; display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-s); background: var(--surface); font-weight: 600; font-size: 16px; cursor: pointer; transition: border-color .15s ease, background-color .15s ease; }
body .report-choice:hover { border-color: var(--ink-faint); }
body .report-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
body .report-choice:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
body .report-choice:has(input:checked) { border-color: var(--brand); background: var(--brand-tint); box-shadow: inset 0 0 0 1px var(--brand); }
body .report-choice .choice-symbol { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--paper); color: var(--ink-soft); flex: none; }
body .report-choice:has(input[value=suspeita]) .choice-symbol { background: var(--burla-tint); color: var(--burla); }
body .report-choice:has(input[value=comercial]) .choice-symbol { background: var(--comercial-tint); color: var(--comercial); }
body .report-choice:has(input[value=silencio]) .choice-symbol { background: var(--silencio-tint); color: var(--silencio); }
body .report-choice:has(input[value=servico]) .choice-symbol { background: var(--esperado-tint); color: var(--esperado); }
body .field label, body .check { font-size: 16px; }
body input:not([type=checkbox]):not([type=radio]), body textarea, body select { border: 1px solid var(--line-strong); border-radius: var(--radius-s); background: var(--surface); color: var(--ink); }
body .field input:focus-visible, body .field textarea:focus-visible, body .field select:focus-visible { border-color: var(--brand); outline: 3px solid rgba(13, 107, 92, .25) !important; outline-offset: 0 !important; }
body .report-submit { width: 100%; }

/* Empty number state: neutral, invites the first report */
body .zero-result { display: flex; gap: 16px; align-items: flex-start; margin: 22px 0 0; padding: 22px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); color: var(--ink); }
.zero-result-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--paper); color: var(--ink-soft); flex: none; }
body .zero-result h2 { font-size: 21px; margin: 0 0 8px; }
body .zero-result .phone-highlight { color: inherit; white-space: nowrap; }
body .zero-result p { margin: 0 0 6px; }
body .zero-result a { font-weight: 700; }
body .zero-result-form { margin-top: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 24px; }
body .first-report-intro h2 { margin: 0 0 4px; }
body .empty-page-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 26px; font-size: 16px; }

.owner-note { margin: 18px 0 0; padding: 14px 18px; font-size: 15px; color: var(--ink-soft); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-s); }
.owner-note a { font-weight: 700; }
.home-comments .comment-feed { grid-template-columns: repeat(2, minmax(0, 1fr)); }
body .number-details { margin-top: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 16px 22px; }
body .number-details summary { font-weight: 700; }
body .number-editorial { border-radius: var(--radius-m); }

/* Directory */
body .directory-page { padding-top: 34px; }
body .directory-heading h1 { margin-bottom: 10px; color: var(--ink); }
body .directory-tabs a[aria-current=page] { color: var(--brand-strong); border-color: var(--brand); }
body .directory-number { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 16px 18px; box-shadow: none; transition: border-color .15s ease; }
body .directory-number:hover { border-color: var(--brand); }
body .directory-number-top { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
body .directory-number-top strong { font: 700 21px/1.25 Manrope, Arial, sans-serif; font-variant-numeric: tabular-nums; color: var(--ink); }
.directory-kind { font-size: 14px; color: var(--ink-faint); }
body .directory-number-status { margin-top: 8px; font-size: 15px; }
body .directory-status-dot.reported { background: var(--burla); }

/* Notices and cookie banner */
body .notice { border-radius: var(--radius-s); background: var(--esperado-tint); color: var(--ink); border: 1px solid #b9dfca; }
body .error-summary { border-radius: var(--radius-s); }
body .cookie-bar { left: auto; right: 20px; bottom: 20px; width: min(440px, calc(100% - 40px)); border-radius: var(--radius-m); border: 1px solid var(--line); box-shadow: 0 12px 40px rgba(19, 33, 43, .18); padding: 0; }
body .cookie-bar .cookie-bar-inner { width: auto; display: block; padding: 18px 20px; }
body .cookie-bar h2 { font-size: 17px; margin: 0 0 4px; }
body .cookie-bar p { font-size: 15px; margin: 0 0 12px; }
body .cookie-bar .cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-start; }
body .cookie-bar .cookie-actions .button, body .cookie-bar .cookie-actions .secondary { min-height: 42px; padding: 8px 14px; font-size: 15px; }

/* Footer */
body .site-footer { background: var(--surface); border-top: 1px solid var(--line); margin-top: 0; }

/* Responsive */
@media (max-width: 900px) {
  .home-hero-inner { grid-template-columns: 1fr; gap: 28px; padding: 36px 0 28px; }
  .home-safety { grid-template-columns: 1fr; }
  .number-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  .wrap { width: calc(100% - 32px); }
  body .site-header .header-inner { min-height: 0; }
  body .site-header .header-inner { padding: 12px 0; flex-wrap: nowrap; position: relative; }
  body .site-header .main-nav { display: none; }
  .mobile-menu { display: block; }
  .number-actions > .button, .number-actions > .secondary { flex: 1 1 100%; }
  .home-feeds, .home-community, .home-community-lists-only .home-feeds { grid-template-columns: 1fr; }
  .home-participate { flex-direction: column; align-items: flex-start; padding: 24px 22px; }
  .home-participate .button { width: 100%; }
  .call-screen { padding: 24px 22px; border-radius: 16px; }
  .number-call-screen { padding: 24px 22px 22px; }
  .call-screen-facts { grid-template-columns: 1fr 1fr; }
  .category-breakdown li { grid-template-columns: 1fr 32px; gap: 4px 12px; }
  .category-breakdown-bar { grid-column: 1 / -1; grid-row: 2; }
  body .report-options-grid { grid-template-columns: 1fr; }
  body .number-reading .report-discussion > .entry { padding: 18px 18px 12px; }
  body .number-reading .report-discussion .reply { margin: 0 18px 12px 24px; }
  body .number-reading .report-discussion > .composer-details { padding: 4px 18px 6px; }
  body .report-panel { padding: 20px 18px; }
  .home-comments .comment-feed { grid-template-columns: 1fr; }
  .comment-card .tag { margin-left: 44px; }
  body .zero-result { padding: 18px; }
  body .zero-result-form { padding: 20px 18px; }
  body .cookie-bar { right: 12px; left: 12px; bottom: 12px; width: auto; }
  body .search-box input { font-size: 19px; padding: 10px; }
  body .search-box .button { padding: 0 16px; }
}
@media (max-width: 420px) {
  .number-tiles { grid-template-columns: 1fr; }
  .number-rows a { grid-template-columns: 1fr auto; }
  .number-rows-kind { grid-column: 1; grid-row: 2; }
  .count-badge { grid-row: 1 / span 2; grid-column: 2; }
}
