/* Prefeitos com Flávio — tema claro menta, verde + verde-água, com movimento */
:root {
  color-scheme: light;
  --bg: #f4faf7;
  --surf: #ffffff;
  --surf2: #f8fcfa;
  --surf3: #ecf5f0;
  --line: #e1eee7;
  --line2: #cfe3d8;
  --ink: #0e2a22;
  --ink2: #3d5a51;
  --ink3: #5a7469;
  --verde: #0f9d58;
  --verde-tx: #0b7a45;
  --agua: #14b8a6;
  --agua-tx: #0f766e;
  --grad: linear-gradient(120deg, #0f9d58, #14b8a6);
  --grad-esc: linear-gradient(120deg, #0b7a45, #0f766e);
  /* status */
  --s0: #9db1a8;
  --s1: #c6d1cb;
  --s2: #d4c29a;
  --s3: #2563eb;
  --s4: #0b7f3d;
  --s5: #e8a900;
  --s3-tx: #1d4ed8;
  --s4-tx: #116b34;
  --s5-tx: #7a5800;
  --s2-tx: #6b5a3a;
  --ouro: #e8a900;
  --r: 20px;
  --r2: 14px;
  --sombra: 0 1px 2px rgba(14, 42, 34, .04), 0 10px 30px -14px rgba(14, 42, 34, .16);
  --sombra-alta: 0 2px 6px rgba(14, 42, 34, .06), 0 24px 60px -20px rgba(14, 42, 34, .3);
  --top: 128px;
  --maxw: 1640px;
  --disp: "Bricolage Grotesque", "Avenir Next", system-ui, sans-serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--top); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 14.5px/1.45 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; min-height: 100vh; }
a { color: inherit; text-decoration: none; }
button, select, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2.5px solid var(--agua); outline-offset: 2px; border-radius: 8px; }
h1, h2, h3 { margin: 0; font-weight: 600; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pular { position: absolute; left: 12px; top: -40px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.pular:focus { top: 8px; }
.mut { color: var(--ink3); }
.peq { font-size: 13px; }
.ic { width: 18px; height: 18px; flex: none; display: inline-block; vertical-align: middle; }
.num, .tnum { font-variant-numeric: tabular-nums; }
.num { text-align: right; }
kbd { font: 600 11px/1 var(--sans); background: var(--surf3); border: 1px solid var(--line2); color: var(--ink2); padding: 4px 6px; border-radius: 6px; }
.eyebrow { margin: 0 0 6px; color: var(--agua-tx); font-weight: 600; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
.sub { color: var(--ink3); margin: 4px 0 0; font-size: 13.5px; }
.lnk { display: inline-flex; align-items: center; gap: 2px; color: var(--verde-tx); font-weight: 600; font-size: 13.5px; white-space: nowrap; }
.lnk .ic { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.lnk:hover .ic { transform: translateX(3px); }

/* ---------- topo ---------- */
.topo { position: sticky; top: 0; z-index: 30; background: rgba(244, 250, 247, .88); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.topo-in, .barra-in, .conteudo, .rodape { max-width: var(--maxw); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.topo-in { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; }
.logo-pino { width: 26px; height: 32px; flex: none; filter: drop-shadow(0 4px 8px rgba(15, 157, 88, .28)); transition: transform .35s var(--ease); }
.logo:hover .logo-pino { transform: translateY(-2px) rotate(-6deg); }
.logo-t { font: 700 21px/1 var(--disp); letter-spacing: -.02em; }
.logo-t em { font-style: normal; background: var(--grad-esc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.abas { position: relative; display: inline-flex; justify-self: center; gap: 2px; padding: 4px; background: var(--surf); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--sombra); }
.abas a { position: relative; z-index: 1; padding: 8px 16px; border-radius: 999px; color: var(--ink2); font-weight: 600; font-size: 14px; white-space: nowrap; transition: color .25s; }
.abas a:hover { color: var(--ink); }
.abas a[aria-current="page"] { color: #fff; }
.ind { position: absolute; left: 0; top: 4px; bottom: 4px; width: 0; border-radius: 999px; pointer-events: none; opacity: 0; }
.abas .ind { background: var(--grad-esc); box-shadow: 0 6px 16px -6px rgba(11, 122, 69, .6); }
.pronto > .ind { transition: transform .45s var(--ease), width .45s var(--ease), opacity .2s; }
.topo-dir { display: flex; align-items: center; gap: 12px; }
.turno { color: var(--ink2); font-size: 13.5px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.turno b { color: var(--ink); font-weight: 700; }
.relogio { display: inline-flex; align-items: center; gap: 7px; color: var(--ink2); font-variant-numeric: tabular-nums; font-size: 13.5px; transition: color .4s; }
.relogio.novo { color: var(--agua-tx); }
.pulso, .ao-vivo { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--agua); flex: none; }
/* anel que expande a cada atualização de dados ao vivo (borda, não brilho) */
.pulso::after, .ao-vivo::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1.5px solid var(--agua); animation: pulsoAnel 2s ease-out infinite; }
@keyframes pulsoAnel { from { transform: scale(1); opacity: .8; } 70%, to { transform: scale(2.6); opacity: 0; } }
.ic-btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 999px; color: var(--ink2); font-weight: 600; font-size: 13.5px; }
.ic-btn:hover { background: var(--surf3); color: var(--ink); }
.busca-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 8px 0 14px; border: 1px solid var(--line2); background: var(--surf); border-radius: 999px; color: var(--ink3); box-shadow: var(--sombra); transition: border-color .2s, box-shadow .2s; }
.busca-btn:hover { border-color: var(--agua); color: var(--ink2); }
.busca-rot { margin-right: 18px; font-size: 13.5px; }

/* barra de filtros */
.barra { border-top: 1px solid var(--line); }
.barra-in { display: flex; align-items: center; gap: 10px; height: 62px; }
.barra-sel { display: flex; gap: 8px; flex: none; }
.sel { position: relative; display: inline-flex; align-items: center; height: 42px; border-radius: 999px; background: var(--surf); border: 1px solid var(--line2); transition: border-color .2s, box-shadow .2s; }
.sel:hover { border-color: var(--agua); }
.sel.on { border-color: var(--verde); box-shadow: 0 0 0 3px rgba(15, 157, 88, .12); }
.sel-rot { position: absolute; left: 16px; top: 5px; font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ink3); pointer-events: none; }
.sel select { appearance: none; -webkit-appearance: none; height: 100%; padding: 14px 34px 0 16px; border: 0; background: transparent; font-weight: 600; font-size: 13.5px; cursor: pointer; max-width: 210px; text-overflow: ellipsis; border-radius: 999px; }
.sel select:focus-visible { outline: none; }
.sel:focus-within { outline: 2.5px solid var(--agua); outline-offset: 2px; }
.sel .ic { position: absolute; right: 12px; top: 12px; pointer-events: none; color: var(--ink3); width: 16px; }
.barra-fx { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; flex: 1 1 auto; min-width: 0; padding: 4px 2px; -webkit-mask-image: linear-gradient(90deg, #000 94%, transparent); mask-image: linear-gradient(90deg, #000 94%, transparent); }
.barra-fx::-webkit-scrollbar { display: none; }
.fx { position: relative; flex: none; display: inline-flex; flex-direction: column; justify-content: center; height: 42px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surf); text-align: left; overflow: hidden; transition: border-color .2s, background .2s, transform .2s var(--ease); }
.fx::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: var(--p); background: var(--grad); border-radius: 0 3px 0 0; transition: width .6s var(--ease); }
.fx:hover { border-color: var(--line2); transform: translateY(-1px); }
.fx.on { background: #e8f6ef; border-color: var(--verde); }
.fx-r { font-weight: 700; font-size: 12.5px; line-height: 1.1; white-space: nowrap; }
.fx-n { font-size: 11.5px; color: var(--ink3); white-space: nowrap; font-variant-numeric: tabular-nums; }
.fx-n b { color: var(--verde-tx); font-weight: 700; }
.limpar { display: inline-flex; align-items: center; gap: 4px; flex: none; color: var(--ink2); font-size: 13px; font-weight: 600; height: 34px; padding: 0 10px; border-radius: 999px; }
.limpar .ic { width: 14px; height: 14px; }
.limpar:hover { background: var(--surf3); color: var(--ink); }
.btn-filtros { display: none; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line2); background: var(--surf); font-weight: 600; }
.badge { min-width: 20px; height: 20px; border-radius: 999px; background: var(--verde-tx); color: #fff; font-size: 11.5px; font-weight: 700; display: inline-grid; place-items: center; padding: 0 6px; }

/* segmentado com indicador deslizante */
.seg { position: relative; display: inline-flex; gap: 2px; padding: 4px; background: var(--surf3); border-radius: 999px; flex: none; }
.seg button { position: relative; z-index: 1; padding: 7px 14px; border-radius: 999px; color: var(--ink2); font-weight: 600; font-size: 13px; white-space: nowrap; transition: color .2s; }
.seg button:hover { color: var(--ink); }
.seg button[aria-selected="true"] { color: var(--ink); }
.seg .ind { background: var(--surf); box-shadow: 0 1px 2px rgba(14, 42, 34, .08), 0 4px 12px -4px rgba(14, 42, 34, .16); }
.seg-per { margin-left: auto; }
.seg-grande button { padding: 9px 16px; font-size: 13.5px; }

/* ---------- ticker ---------- */
.ticker { display: flex; align-items: center; gap: 0; height: 50px; background: var(--surf); border-bottom: 1px solid var(--line); overflow: hidden; }
.tk-rot { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 100%; padding: 0 16px 0 max(24px, calc((100vw - var(--maxw)) / 2 + 24px)); font: 700 12px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--agua-tx); background: linear-gradient(90deg, var(--surf) 80%, rgba(255, 255, 255, 0)); position: relative; z-index: 1; }
.tk-trilho { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 3%, #000 96%, transparent); }
.tk-faixa { display: flex; width: max-content; animation: marquee calc(var(--n) * 5s) linear infinite; }
.ticker:hover .tk-faixa, .ticker:focus-within .tk-faixa { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.tk-i { display: inline-flex; align-items: center; gap: 8px; padding: 0 22px 0 0; margin-right: 22px; border-right: 1px solid var(--line); white-space: nowrap; font-size: 13px; color: var(--ink2); height: 30px; }
.tk-i b { color: var(--ink); font-weight: 700; }
.tk-i .av-s { width: 28px; height: 28px; font-size: 10.5px; }
.tk-i:hover b { color: var(--verde-tx); }
.tk-st { font-style: normal; font-weight: 700; font-size: 11.5px; padding: 3px 8px; border-radius: 999px; }
.tk-i.st3 .tk-st { background: #e5edfd; color: var(--s3-tx); }
.tk-i.st4 .tk-st { background: #e1f3e8; color: var(--s4-tx); }
.tk-i.st5 .tk-st, .tk-i.st6 .tk-st { background: #fdf2cc; color: var(--s5-tx); }
.tk-i time { color: var(--ink3); font-size: 12px; }
.tk-i.novo { animation: flash 2.6s ease-out; border-radius: 8px; }

/* ---------- conteúdo ---------- */
.conteudo { padding-top: 20px; padding-bottom: 32px; outline: none; display: flex; flex-direction: column; gap: 18px; }
.conteudo.troca { animation: troca .38s var(--ease); }
@keyframes troca { from { opacity: 0; transform: translateY(10px); } }
.rv { animation: sobe .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes sobe { from { opacity: .001; transform: translateY(14px); } }
.sem-anim .rv, .sem-anim .g-uf, .sem-anim .bs, .sem-anim .dd .q, .sem-anim .seq, .sem-anim .sp-l, .sem-anim .m-fg, .sem-anim .ev-tile, .sem-anim .cal-d { animation: none !important; }
.card { background: var(--surf); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sombra); }
.card-h { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.card-h h2 { font: 700 18px/1.2 var(--disp); letter-spacing: -.01em; }
.cont { color: var(--ink3); font: 500 15px var(--sans); margin-left: 4px; }
.btn-pri { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 999px; background: var(--grad-esc); color: #fff; font-weight: 700; box-shadow: 0 8px 20px -10px rgba(11, 122, 69, .7); transition: transform .2s var(--ease), box-shadow .2s; }
.btn-pri:hover { transform: translateY(-1px); box-shadow: 0 12px 24px -10px rgba(11, 122, 69, .8); }
.btn-sec { display: inline-flex; align-items: center; justify-content: center; height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line2); background: var(--surf); font-weight: 700; }

/* chips */
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; line-height: 1; padding: 5px 9px; border-radius: 999px; white-space: nowrap; font-weight: 600; }
.chip-pt { background: var(--surf3); color: var(--ink2); font-size: 11px; padding: 4px 7px; border-radius: 6px; font-weight: 700; letter-spacing: .01em; }
.chip-st { background: var(--surf3); color: var(--ink2); }
.chip-st .pt { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.chip-st.st4 { background: #e1f3e8; color: var(--s4-tx); } .chip-st.st4 .pt { background: var(--s4); }
.chip-st.st3 { background: #e5edfd; color: var(--s3-tx); } .chip-st.st3 .pt { background: var(--s3); }
.chip-st.st2 { background: #f3eee2; color: var(--s2-tx); } .chip-st.st2 .pt { background: var(--s2); }
.chip-st.st1 .pt { background: var(--s1); } .chip-st.st0 .pt { background: transparent; box-shadow: inset 0 0 0 1.5px var(--s0); }
.chip-st.st5, .chip-st.st6 { background: #fdf2cc; color: var(--s5-tx); } .chip-st.st5 .pt { background: var(--s5); }
.chip-st.st6 .pt { background: var(--s5); box-shadow: 0 0 0 2px #fdf2cc, 0 0 0 3.2px var(--s5); }
.lg { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex: none; }
.lg.st4 { background: var(--s4); } .lg.st3 { background: var(--s3); } .lg.st2 { background: var(--s2); } .lg.st1 { background: var(--s1); }
.lg.st0 { box-shadow: inset 0 0 0 1.6px var(--s0); } .lg.st5 { background: var(--s5); } .lg.st6 { background: var(--s5); box-shadow: 0 0 0 2px var(--surf), 0 0 0 3.4px var(--s5); }

/* avatares */
.av { --c: transparent; position: relative; display: inline-grid; place-items: center; flex: none; border-radius: 50%; background: hsl(var(--h, 160) 42% 90%); color: hsl(var(--h, 160) 45% 26%); }
.av img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.av .ini { font-weight: 700; letter-spacing: .01em; }
.av-s { width: 34px; height: 34px; font-size: 12px; }
.av-m { width: 42px; height: 42px; font-size: 14px; }
.av-l { width: 44px; height: 44px; font-size: 14px; }
.av-xl { width: 96px; height: 96px; font-size: 32px; }
.av.anel { box-shadow: 0 0 0 2px var(--surf), 0 0 0 4px var(--c); }
.av.anel.st3 { --c: var(--s3); } .av.anel.st4 { --c: var(--s4); } .av.anel.st5, .av.anel.st6 { --c: var(--s5); }
.av.anel.st6 { box-shadow: 0 0 0 2px var(--surf), 0 0 0 4px var(--s5), 0 0 0 6px var(--surf), 0 0 0 7.5px rgba(232, 169, 0, .55); }
.av-xl.anel { box-shadow: 0 0 0 4px var(--surf), 0 0 0 7px var(--c); }

/* ---------- hero do painel ---------- */
.hero { position: relative; overflow: hidden; border-radius: 28px; background: var(--surf); border: 1px solid var(--line); box-shadow: var(--sombra); padding: 28px 30px 24px; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "txt med cd" "kpi kpi kpi"; gap: 22px 36px; align-items: center; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.hero-bg i { position: absolute; border-radius: 50%; filter: blur(50px); opacity: .5; }
.hero-bg i:nth-child(1) { width: 520px; height: 520px; left: -140px; top: -260px; background: radial-gradient(circle, rgba(15, 157, 88, .55), transparent 65%); animation: blob1 22s ease-in-out infinite alternate; }
.hero-bg i:nth-child(2) { width: 460px; height: 460px; right: -80px; top: -200px; background: radial-gradient(circle, rgba(20, 184, 166, .55), transparent 65%); animation: blob2 26s ease-in-out infinite alternate; }
.hero-bg i:nth-child(3) { width: 380px; height: 380px; left: 40%; bottom: -260px; background: radial-gradient(circle, rgba(232, 169, 0, .28), transparent 65%); animation: blob1 30s ease-in-out infinite alternate-reverse; }
@keyframes blob1 { to { transform: translate(120px, 60px) scale(1.15); } }
@keyframes blob2 { to { transform: translate(-140px, 80px) scale(.9); } }
.hero-txt { grid-area: txt; min-width: 0; }
.h-num { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; font-family: var(--disp); line-height: .9; }
.h-num .n { font-size: clamp(64px, 7vw, 112px); font-weight: 800; letter-spacing: -.045em; background: var(--grad-esc); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.h-num .de { font-size: clamp(22px, 2.2vw, 32px); font-weight: 600; color: var(--ink2); letter-spacing: -.02em; }
.h-rot { margin: 8px 0 0; font: 600 clamp(18px, 1.7vw, 24px)/1.2 var(--disp); letter-spacing: -.01em; }
.h-rot span { font: 500 14px var(--sans); color: var(--ink3); margin-left: 4px; }
.h-del { margin: 10px 0 0; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 13.5px; color: var(--ink2); background: var(--surf3); padding: 5px 11px; border-radius: 999px; }
.h-del.up { color: var(--verde-tx); background: #e1f3e8; }
.medidor { grid-area: med; position: relative; width: 150px; height: 150px; }
.medidor svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.m-bg { fill: none; stroke: var(--surf3); stroke-width: 11; }
.m-fg { fill: none; stroke: url(#gm); stroke-width: 11; stroke-linecap: round; stroke-dasharray: var(--c); stroke-dashoffset: var(--off); animation: anel 1.4s var(--ease) .2s both; }
@keyframes anel { from { stroke-dashoffset: var(--c); } }
.m-c { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.m-c b { font: 800 36px/1 var(--disp); letter-spacing: -.03em; }
.m-c b small { font-size: 18px; font-weight: 700; margin-left: 1px; }
.m-c span { font-size: 11.5px; color: var(--ink3); font-weight: 600; margin-top: 2px; }
.hero-lado { grid-area: cd; }
.cd { display: grid; grid-template-columns: repeat(5, auto); align-items: end; gap: 4px 6px; padding: 16px 18px; background: rgba(255, 255, 255, .78); border: 1px solid var(--line); border-radius: 18px; backdrop-filter: blur(6px); }
.cd-rot { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 6px; color: var(--agua-tx); font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 4px; }
.cd-rot .ic { width: 15px; height: 15px; }
.cd-u { display: grid; justify-items: center; min-width: 52px; }
.cd-u b { font: 800 40px/1 var(--disp); letter-spacing: -.03em; font-variant-numeric: tabular-nums; display: inline-block; }
.cd-u b.tick { animation: tick .45s var(--ease); }
@keyframes tick { from { opacity: 0; transform: translateY(-40%); } }
.cd-u small { color: var(--ink3); font-size: 11.5px; font-weight: 600; }
.cd-sep { color: var(--line2); font: 700 28px/1 var(--disp); padding-bottom: 18px; }
.kpis { grid-area: kpi; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.kpi { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto auto; column-gap: 10px; padding: 14px 16px 12px; border-radius: 16px; background: rgba(255, 255, 255, .86); border: 1px solid var(--line); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.kpi:hover { transform: translateY(-2px); box-shadow: var(--sombra); border-color: var(--line2); }
.kpi-ic { grid-row: 1; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; }
.kpi-ic .ic { width: 17px; height: 17px; }
.n22 { font: 800 13px/1 var(--disp); }
.kpi-rot { grid-row: 1; align-self: center; font-weight: 600; font-size: 13px; color: var(--ink2); }
.kpi-n { grid-column: 1 / -1; font: 800 34px/1.05 var(--disp); letter-spacing: -.03em; margin-top: 10px; }
.kpi-sub { grid-column: 1 / -1; font-size: 12.5px; color: var(--ink3); position: relative; z-index: 1; }
.k-fal .kpi-ic { background: #e5edfd; color: var(--s3-tx); }
.k-ped .kpi-ic { background: #e1f3e8; color: var(--s4-tx); }
.k-ev .kpi-ic { background: #fdf2cc; color: var(--s5-tx); }
.k-eng .kpi-ic { background: #dff5f2; color: var(--agua-tx); }
.spark { position: absolute; right: 12px; bottom: 10px; width: 46%; height: 40px; overflow: visible; }
.spark .sp-a { stroke: none; opacity: .14; }
.spark .sp-l { fill: none; stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; animation: traco 1.4s var(--ease) .35s both; }
@keyframes traco { from { stroke-dashoffset: 1; } }
.spark circle { vector-effect: non-scaling-stroke; }
.spark.c3 .sp-a, .spark.c3 circle { fill: var(--s3); } .spark.c3 .sp-l { stroke: var(--s3); }
.spark.c4 .sp-a, .spark.c4 circle { fill: var(--s4); } .spark.c4 .sp-l { stroke: var(--s4); }
.spark.c5 .sp-a, .spark.c5 circle { fill: #c99300; } .spark.c5 .sp-l { stroke: #c99300; }
.spark.cA .sp-a, .spark.cA circle { fill: var(--agua); } .spark.cA .sp-l { stroke: var(--agua); }

/* ---------- grade do painel ---------- */
.pn-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 18px; align-items: start; }
.mapa-card { padding: 20px 22px 16px; position: relative; }
.mapa { position: relative; width: 100%; }
.mapa-card .mapa { margin-top: 6px; }
.mapa-svg { width: 100%; height: auto; display: block; max-height: min(680px, calc(100vh - 260px)); min-height: 340px; touch-action: manipulation; }
.mapa-svg .uf { fill: #e3efe9; stroke: #fff; stroke-width: var(--sw, 1.1); stroke-linejoin: round; transition: fill .3s; }
.mapa-svg .uf.fora { fill: #eef5f1; }
.mapa-svg .uf.foco { fill: #ddebe4; }
.mapa-svg .d { stroke: none; }
.mapa-svg .s0 { fill: none; stroke: var(--s0); stroke-width: .6; }
.mapa-svg .s1 { fill: var(--s1); }
.mapa-svg .s2 { fill: var(--s2); }
.mapa-svg .s3 { fill: var(--s3); }
.mapa-svg .s4 { fill: var(--s4); }
.mapa-svg .s5, .mapa-svg .s6 { fill: var(--s5); stroke: #9a7000; stroke-width: .5; }
.mapa-svg .anel6 { fill: none; stroke: #b88600; stroke-width: 1; }
.mapa-svg.entra .g-uf { animation: ufIn .7s var(--ease) both; animation-delay: calc(150ms + var(--o) * 32ms); }
@keyframes ufIn { from { opacity: 0; transform: translateY(-6px); } }
.mapa-svg .pulso-d { fill: none; stroke-width: 1.4; vector-effect: non-scaling-stroke; transform-box: fill-box; transform-origin: center; animation: pulsoD 2.4s ease-out infinite; animation-delay: calc(1.1s + var(--pd)); opacity: 0; }
.mapa-svg .pulso-d.s3 { stroke: var(--s3); } .mapa-svg .pulso-d.s4 { stroke: var(--s4); } .mapa-svg .pulso-d.s5, .mapa-svg .pulso-d.s6 { stroke: #c99300; }
@keyframes pulsoD { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(4.2); opacity: 0; } }
.mapa-svg .hl { stroke: #fff; stroke-width: 2; vector-effect: non-scaling-stroke; pointer-events: none; transform-box: fill-box; transform-origin: center; filter: drop-shadow(0 2px 4px rgba(14, 42, 34, .35)); }
.mapa-svg .hl.s3 { fill: var(--s3); } .mapa-svg .hl.s4 { fill: var(--s4); } .mapa-svg .hl.s5, .mapa-svg .hl.s6 { fill: var(--s5); } .mapa-svg .hl.s2 { fill: var(--s2); } .mapa-svg .hl.s1, .mapa-svg .hl.s0 { fill: var(--s1); }
.mapa-svg .uf-l { font-family: var(--sans); font-weight: 700; fill: var(--ink); pointer-events: none; paint-order: stroke; stroke: rgba(255, 255, 255, .92); stroke-width: .26em; stroke-linejoin: round; }
.mapa-svg .uf-l .uf-n { font-weight: 500; fill: var(--ink2); }
.mapa-svg .lead { stroke: var(--line2); stroke-width: 1; fill: none; }
.mapa-svg .lead-pt { fill: var(--agua); }
.mapa-svg .ext rect { fill: #fff; stroke: var(--line2); stroke-width: 1; transition: stroke .2s; }
.mapa-svg .ext { cursor: pointer; }
.mapa-svg .ext:hover rect { stroke: var(--agua); }
.mapa-svg .ext text { font-family: var(--sans); font-weight: 700; fill: var(--ink); }
.mapa-svg .ext .uf-n { font-weight: 500; fill: var(--ink2); }
.mapa-tip { position: absolute; left: 0; top: 0; z-index: 5; min-width: 230px; max-width: 290px; background: rgba(255, 255, 255, .97); border: 1px solid var(--line); border-radius: 16px; padding: 12px; box-shadow: var(--sombra-alta); pointer-events: none; animation: tipIn .18s var(--ease); }
@keyframes tipIn { from { opacity: 0; transform: translateY(4px) scale(.98); } }
.mapa-tip.fixo { pointer-events: auto; }
.tip-top { display: flex; gap: 10px; align-items: center; }
.tip-top b { display: block; font-weight: 700; }
.tip-top small { color: var(--ink3); }
.tip-bot { display: flex; gap: 6px; margin-top: 10px; align-items: center; flex-wrap: wrap; }
.tip-link { display: block; margin-top: 10px; color: var(--verde-tx); font-weight: 700; font-size: 13px; }

/* carrossel "Parabéns" */
.parabens { position: absolute; left: 22px; bottom: 64px; width: min(370px, 46%); height: 104px; }
.car-item { position: absolute; inset: 0; display: flex; gap: 12px; align-items: center; padding: 14px 16px; background: rgba(255, 255, 255, .95); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--sombra-alta); opacity: 0; transform: translateY(10px) scale(.98); pointer-events: none; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.car-item.on { opacity: 1; transform: none; pointer-events: auto; }
.car-item.ev { border-color: rgba(232, 169, 0, .5); }
.car-item:hover { border-color: var(--agua); }
.pb-c { display: grid; gap: 3px; min-width: 0; }
.pb-c b { font: 700 15px/1.2 var(--disp); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pb-c > span { color: var(--ink3); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pb-seq { display: inline-flex !important; align-items: center; gap: 6px; margin-top: 3px; background: #fdf2cc; color: var(--s5-tx) !important; padding: 3px 9px; border-radius: 999px; font-size: 12px !important; font-weight: 700; justify-self: start; }
.pb-seq .ic { width: 14px; height: 14px; }
.pb-seq .seqd i { width: 6px; height: 6px; background: var(--s5); }
.car-dots { position: absolute; right: 14px; bottom: -14px; display: flex; gap: 5px; }
.car-dot { width: 7px; height: 7px; border-radius: 999px; background: var(--line2); transition: width .3s var(--ease), background .3s; }
.car-dot.on { width: 18px; background: var(--agua); }
.legenda { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 14px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); }
.legenda li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; white-space: nowrap; color: var(--ink2); font-weight: 500; }
.legenda b { font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.legenda.peq li { font-size: 13px; }

/* feed lateral */
.feed-card { padding: 18px 10px 12px; display: flex; flex-direction: column; max-height: calc(100vh - var(--top) - 70px); min-height: 520px; position: sticky; top: calc(var(--top) + 14px); }
.feed-card > .card-h { padding: 0 10px 10px; align-items: center; }
.posts-lista { overflow-y: auto; flex: 1 1 auto; min-height: 0; scrollbar-width: thin; scrollbar-color: var(--line2) transparent; }
.ver-todos { display: inline-flex; align-items: center; gap: 4px; margin: 10px 12px 0; color: var(--verde-tx); font-weight: 700; font-size: 13.5px; }
.ver-todos .ic { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.ver-todos:hover .ic { transform: translateX(3px); }

/* sequências */
.seq-card { padding: 20px 14px 10px; grid-column: 2; grid-row: 2; }
.seq-card > .card-h { padding: 0 8px 8px; }
.seq-l { display: grid; }
.seq { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 8px; border-radius: 12px; animation: sobe .5s var(--ease) both; animation-delay: calc(400ms + var(--i) * 60ms); transition: background .2s; }
.seq:hover { background: var(--surf2); }
.seq + .seq { border-top: 1px solid var(--line); }
.seq-av { position: relative; display: block; width: 42px; height: 42px; }
.estrela { position: absolute; right: -4px; bottom: -3px; width: 18px; height: 18px; border-radius: 50%; background: var(--surf); display: grid; place-items: center; color: var(--ouro); box-shadow: 0 1px 3px rgba(14, 42, 34, .2); }
.estrela .ic { width: 12px; height: 12px; }
.seq-t { min-width: 0; display: grid; gap: 1px; }
.seq-t b { font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.seq-t small { color: var(--ink3); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.seq-l2 { display: flex; align-items: center; gap: 8px; margin-top: 3px; }
.seq-n { text-align: right; display: grid; }
.seq-n b { font: 800 24px/1 var(--disp); letter-spacing: -.02em; }
.seq-n small { color: var(--ink3); font-size: 11.5px; }
.seqd { display: inline-flex; gap: 3px; }
.seqd i { width: 7px; height: 7px; border-radius: 50%; background: var(--s3); }
.seqd i.c4 { background: var(--s4); } .seqd i.c5, .seqd i.c6 { background: var(--s5); }

/* gráfico */
.grafico { padding: 20px 22px 16px; grid-column: 1; grid-row: 2; }
.leg-mini { display: flex; gap: 6px 16px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; justify-content: flex-end; }
.leg-mini li { display: inline-flex; align-items: center; gap: 6px; color: var(--ink2); font-size: 12.5px; font-weight: 500; }
.barras { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; margin-top: 16px; }
.bc { display: grid; grid-template-rows: 150px auto; gap: 8px; }
.bv { display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; position: relative; }
.bn { text-align: center; font-size: 12px; color: var(--ink3); margin-bottom: 5px; font-variant-numeric: tabular-nums; font-weight: 600; }
.bs { height: 116px; display: flex; flex-direction: column-reverse; border-radius: 8px 8px 3px 3px; overflow: hidden; background: var(--surf3); transform-origin: bottom; animation: cresce .9s var(--ease) both; animation-delay: calc(300ms + var(--d) * 40ms); }
@keyframes cresce { from { transform: scaleY(0); } }
.bs i { display: block; min-height: 0; }
.bs .b4 { background: var(--s4); } .bs .b3 { background: var(--s3); } .bs .b5 { background: var(--s5); }
.bc.fut .bs { background: repeating-linear-gradient(-45deg, var(--surf3) 0 4px, var(--surf) 4px 8px); animation: none; }
.bc.hj .bn { color: var(--verde-tx); font-weight: 800; }
.bc.t2 .bs { box-shadow: inset 0 0 0 2px var(--agua); }
.b-urna { position: absolute; left: 50%; bottom: 46px; transform: translateX(-50%); font: 800 14px var(--disp); color: var(--agua-tx); }
.bl { text-align: center; font-size: 12px; color: var(--ink3); display: grid; line-height: 1.2; font-weight: 500; }
.bl small { font-size: 10.5px; color: var(--agua-tx); white-space: nowrap; font-weight: 700; }
.bl b { color: var(--verde-tx); font-weight: 800; }
.bc.t2 .bl { color: var(--ink); font-weight: 700; }

/* post */
.post { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 12px; padding: 12px; border-radius: 14px; transition: background .2s; }
.post:hover { background: var(--surf2); }
.post.novo { animation: flash 2.6s ease-out; }
@keyframes flash { 0%, 30% { background: rgba(20, 184, 166, .16); box-shadow: inset 0 0 0 1.5px rgba(20, 184, 166, .7); } 100% { background: transparent; box-shadow: none; } }
.post-c { min-width: 0; }
.post-h { display: flex; align-items: center; gap: 7px; min-width: 0; font-size: 14px; }
.post-nome { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.post-nome:hover { color: var(--verde-tx); }
.post-uf { color: var(--ink3); font-size: 12.5px; font-weight: 600; }
.post-qd { display: inline-flex; align-items: center; gap: 4px; color: var(--ink3); font-size: 12.5px; white-space: nowrap; margin-left: auto; }
.post-qd .ic { width: 15px; height: 15px; }
.post-mun { color: var(--ink3); font-size: 12.5px; margin-top: 1px; }
.post-tx { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; color: var(--ink2); margin-top: 5px; font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.post.compacto .post-tx { -webkit-line-clamp: 2; }
.post-tx:hover { color: var(--ink); }
.post-ev { display: flex; align-items: center; gap: 6px; margin-top: 8px; color: var(--s5-tx); font-size: 13px; font-weight: 600; }
.post-ev .ic { width: 16px; height: 16px; }
.selo { display: inline-flex; align-items: center; gap: 4px; background: linear-gradient(120deg, #f2c94c, #e8a900); color: #3a2a00; font-weight: 800; font-size: 11px; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.selo .ic { width: 12px; height: 12px; }
.post-f { display: flex; align-items: center; gap: 6px; margin-top: 9px; flex-wrap: wrap; }
.post-m { display: inline-flex; align-items: center; gap: 4px; color: var(--ink3); font-size: 12.5px; margin-left: auto; font-variant-numeric: tabular-nums; }
.post-m .ic { width: 15px; height: 15px; }
.corrigir { color: var(--ink3); font-size: 11.5px; text-decoration: underline; text-decoration-color: var(--line2); text-underline-offset: 2px; }
.corrigir:hover { color: var(--verde-tx); }
.post.compacto .corrigir { opacity: 0; transition: opacity .2s; }
.post.compacto:hover .corrigir, .post.compacto:focus-within .corrigir { opacity: 1; }
.post.compacto .post-th { width: 54px; height: 66px; }
.post-th { position: relative; width: 66px; height: 78px; border-radius: 12px; overflow: hidden; background: linear-gradient(150deg, hsl(var(--h) 45% 88%), hsl(calc(var(--h) + 50) 40% 78%)); display: grid; place-items: center; flex: none; align-self: start; margin-top: 2px; }
.post-th img { width: 100%; height: 100%; object-fit: cover; }
.th-ph { color: rgba(14, 42, 34, .35); }
.th-ph .ic { width: 22px; height: 22px; }
.th-play, .th-fmt { position: absolute; right: 5px; bottom: 5px; width: 22px; height: 22px; border-radius: 50%; background: rgba(14, 42, 34, .6); display: grid; place-items: center; color: #fff; }
.th-play .ic, .th-fmt .ic { width: 12px; height: 12px; }

/* ---------- cabeçalho das telas ---------- */
.cab-tela { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 6px 4px 0; }
.cab-tela h1 { font: 800 40px/1.05 var(--disp); letter-spacing: -.035em; }
.cab-nums { display: flex; gap: 10px; }
.cab-nums > div { background: var(--surf); border: 1px solid var(--line); border-radius: 16px; padding: 10px 16px; min-width: 120px; box-shadow: var(--sombra); }
.cab-nums b { display: block; font: 800 26px/1.1 var(--disp); letter-spacing: -.02em; }
.cab-nums small { color: var(--ink3); font-size: 12.5px; }

/* ---------- tabelas ---------- */
.tabela-card { overflow: clip; }
.tabela { font-size: 14px; }
.tr { display: grid; align-items: center; gap: 16px; padding: 11px 22px; border-top: 1px solid var(--line); }
.tb .tr { transition: background .15s; }
.tb .tr:hover { background: var(--surf2); }
.th { color: var(--ink3); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding-top: 13px; padding-bottom: 13px; border-top: 0; position: sticky; top: var(--top); background: rgba(255, 255, 255, .96); backdrop-filter: blur(6px); z-index: 2; }
.th .ativo { color: var(--verde-tx); }
.pref { display: flex; align-items: center; gap: 12px; min-width: 0; }
.pref-t { display: grid; gap: 3px; min-width: 0; }
.pref-t b { font-weight: 700; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .15s; }
.pref:hover .pref-t b { color: var(--verde-tx); }
.pref-t small { color: var(--ink3); font-size: 12.5px; display: flex; align-items: center; gap: 7px; white-space: nowrap; min-width: 0; }
.pref-t .mun { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.pref-t .chip { flex: none; }
.redes { display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.redes .rd { color: var(--ink2); display: inline-grid; place-items: center; transition: color .15s, transform .15s; }
.redes a.rd:hover { color: var(--verde-tx); transform: translateY(-1px); }
.redes .rd.off { color: #b4c4bc; }
.redes .ic { width: 17px; height: 17px; }
.aus .redes .rd { width: 32px; height: 32px; border-radius: 10px; background: var(--surf2); border: 1px solid var(--line); }
.aus .redes a.rd:hover { border-color: var(--agua); }
.redes-vazio { color: var(--ink3); }
.aus .tr { grid-template-columns: minmax(220px, 1fr) 100px 110px 140px minmax(150px, 280px); }
.aus .c-redes { justify-self: end; }
.pill-dias { display: inline-block; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--surf3); color: var(--ink2); font-variant-numeric: tabular-nums; }
.pill-dias.alto { background: #fbeee0; color: #8a4b0f; }
.c-ult, .c-post { color: var(--ink2); display: inline-flex; align-items: center; gap: 6px; }
.c-post .ic { width: 15px; height: 15px; color: var(--ink3); }
.rk .tr { grid-template-columns: 40px minmax(210px, 1.4fr) minmax(150px, 1fr) 240px 74px 104px minmax(100px, 160px); }
.c-pos { text-align: center; color: var(--ink3); font-weight: 700; font-variant-numeric: tabular-nums; }
.c-sit { display: grid; gap: 5px; justify-items: start; min-width: 0; }
.c-sit small { color: var(--ink3); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.c-redes { justify-self: end; }
.rk .c-redes .redes { justify-content: flex-end; gap: 7px; }
.c-met, .c-posts { font-size: 15px; font-weight: 600; }
.c-met { font: 800 18px var(--disp); color: var(--verde-tx); letter-spacing: -.01em; }
.c-met .cf, .pod-met .cf { color: #a37800; font: 700 12px var(--sans); margin-left: 5px; }
.mrot { display: none; }
.dd { display: inline-flex; gap: 3px; }
.dd .q { width: 10px; height: 20px; border-radius: 3px; background: var(--s1); animation: qIn .35s var(--ease) both; animation-delay: calc(var(--d) * 28ms); }
/* só as primeiras linhas animam (lotes seguintes entram prontos, sem custo extra) */
.lista-corpo > .tr:nth-child(n + 13) .dd .q { animation: none; }
@keyframes qIn { from { opacity: 0; transform: translateX(-4px) scaleY(.5); } }
.dd .q.c0 { background: transparent; box-shadow: inset 0 0 0 1.3px var(--s0); }
.dd .q.c1 { background: #dfe7e3; }
.dd .q.c2 { background: var(--s2); }
.dd .q.c3 { background: var(--s3); }
.dd .q.c4 { background: var(--s4); }
.dd .q.c5 { background: var(--s5); }
.dd .q.c6 { background: var(--s5); box-shadow: inset 0 0 0 2px #9a7000; }
.dd .q.hj { box-shadow: 0 0 0 2px var(--surf), 0 0 0 3.5px var(--agua); }
.dd .q.c6.hj { box-shadow: inset 0 0 0 2px #9a7000, 0 0 0 2px var(--surf), 0 0 0 3.5px var(--agua); }
.dd .q.fut { background: transparent; box-shadow: inset 0 0 0 1.2px var(--line2); }
.dd .q.fut.t2 { box-shadow: inset 0 0 0 2px var(--agua); }

/* pódio */
.podio { display: grid; grid-template-columns: 1fr 1.12fr 1fr; gap: 16px; align-items: end; }
.pod { position: relative; display: grid; justify-items: center; text-align: center; gap: 6px; padding: 30px 18px 20px; background: var(--surf); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--sombra); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; isolation: isolate; }
.pod::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 92px; z-index: -1; opacity: .9; }
.pod:hover { transform: translateY(-4px); box-shadow: var(--sombra-alta); }
.pod-1 { order: 2; padding-top: 40px; padding-bottom: 26px; }
.pod-2 { order: 1; }
.pod-3 { order: 3; }
.pod.ouro::before { background: linear-gradient(180deg, rgba(232, 169, 0, .22), transparent); }
.pod.prata::before { background: linear-gradient(180deg, rgba(120, 150, 140, .2), transparent); }
.pod.bronze::before { background: linear-gradient(180deg, rgba(190, 110, 50, .18), transparent); }
.medalha { position: absolute; top: 14px; left: 16px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: 800 14px var(--disp); color: #fff; box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .4), inset 0 -3px 0 rgba(0, 0, 0, .12); }
.ouro .medalha { background: linear-gradient(140deg, #f6d365, #d39e00); color: #3a2a00; }
.prata .medalha { background: linear-gradient(140deg, #e3ebe7, #9aaea6); color: #1d332b; }
.bronze .medalha { background: linear-gradient(140deg, #f0b27a, #b9692e); color: #3a1c06; }
.pod-1 .av-xl { width: 112px; height: 112px; font-size: 36px; }
.pod-nome { font: 800 21px/1.15 var(--disp); letter-spacing: -.02em; margin-top: 8px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pod-mun { color: var(--ink3); font-size: 13px; display: inline-flex; gap: 6px; align-items: center; }
.pod-met { display: grid; margin-top: 4px; }
.pod-met b { font: 800 40px/1 var(--disp); letter-spacing: -.03em; background: var(--grad-esc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pod-met small { color: var(--ink3); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.pod-1 .pod-met b { font-size: 50px; }
.pod .dd { margin-top: 8px; }
.pod .dd .q { width: 9px; height: 18px; }

.lista-pe { display: flex; justify-content: center; padding: 16px; }
.lista-pe:empty { padding: 0; }
.btn-mais { display: inline-flex; gap: 8px; align-items: center; padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line2); background: var(--surf); font-weight: 700; box-shadow: var(--sombra); transition: border-color .2s, transform .2s var(--ease); }
.btn-mais span { color: var(--ink3); font-weight: 500; }
.btn-mais:hover { border-color: var(--agua); transform: translateY(-1px); }
.vazio { padding: 48px 20px; text-align: center; color: var(--ink3); display: grid; gap: 8px; justify-items: center; }
.vazio p { margin: 0; color: var(--ink); font-size: 15px; font-weight: 600; }
.vazio a { text-decoration: underline; color: var(--verde-tx); }

/* ---------- posts ---------- */
.filtros-linha { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.fchips { display: flex; gap: 6px; flex-wrap: wrap; }
.fchip { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line2); background: var(--surf); color: var(--ink2); font-size: 13.5px; font-weight: 600; white-space: nowrap; transition: all .2s; }
.fchip b { color: var(--ink3); font-weight: 600; font-variant-numeric: tabular-nums; }
.fchip:hover { border-color: var(--agua); color: var(--ink); }
.fchip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.fchip.on b { color: #b8d8cc; }
.fchip.ic-only { padding: 0 12px; }
.fchip .ic { width: 16px; height: 16px; }
.feed-grid > .lista-corpo { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 2px 10px; padding: 10px; }
.feed-grid .post { border: 1px solid transparent; }
.feed-grid .post:hover { border-color: var(--line); }

/* ---------- eventos ---------- */
.ev-tiles { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 10px; }
.ev-tile { display: grid; justify-items: start; gap: 2px; padding: 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--surf); text-align: left; min-width: 0; box-shadow: var(--sombra); transition: transform .25s var(--ease), border-color .2s, background .2s; animation: sobe .5s var(--ease) both; animation-delay: calc(120ms + var(--i, 0) * 45ms); }
.ev-tile .ev-ic { margin-bottom: 6px; }
.ev-tile b { font: 800 28px/1 var(--disp); letter-spacing: -.02em; }
.ev-tile > span:last-child { color: var(--ink3); font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.ev-tile:hover { transform: translateY(-2px); border-color: var(--line2); }
.ev-tile.on { border-color: var(--verde); background: #ecf8f1; box-shadow: 0 0 0 3px rgba(15, 157, 88, .14); }
.ev-tile.cf { background: linear-gradient(150deg, #fff8df, #fff); border-color: #f1dc94; }
.ev-tile.cf.on { border-color: var(--s5); box-shadow: 0 0 0 3px rgba(232, 169, 0, .2); }
.ev-ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: #fdf2cc; color: var(--s5-tx); flex: none; }
.ev-tile.tot .ev-ic { background: #dff5f2; color: var(--agua-tx); }
.ev-corpo { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 18px; align-items: start; }
.ev-mapa-w { padding: 20px 22px 16px; position: sticky; top: calc(var(--top) + 14px); }
.ev-mapa-w .mapa-svg { min-height: 0; max-height: calc(100vh - var(--top) - 160px); }
.ev-lista { min-width: 0; overflow: hidden; }
.ev-card { padding: 18px 22px; display: grid; gap: 10px; transition: background .2s; }
.ev-card + .ev-card { border-top: 1px solid var(--line); }
.ev-card:hover { background: var(--surf2); }
.ev-card.com { background: linear-gradient(90deg, #fff8df, var(--surf) 70%); }
.ev-card.novo { animation: flash 2.6s ease-out; }
.ev-tipo { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ev-tipo b { font-weight: 700; }
.ev-t { margin-left: auto; color: var(--ink3); font-size: 12.5px; }
.ev-tx { margin: 0; color: var(--ink2); line-height: 1.5; }
.ev-f { display: flex; gap: 14px; align-items: center; color: var(--ink3); font-size: 12.5px; flex-wrap: wrap; }
.ev-f > * { display: inline-flex; gap: 5px; align-items: center; }
.ev-f .ic { width: 15px; height: 15px; }
.ev-f a:hover { color: var(--verde-tx); }
.ev-f .corrigir { margin-left: auto; }

/* ---------- prefeito ---------- */
.pf { display: flex; flex-direction: column; gap: 18px; }
.pf-h { position: relative; overflow: hidden; padding: 18px 28px 28px; border-radius: 28px; isolation: isolate; }
.pf-h .hero-bg i:nth-child(1) { left: auto; right: -120px; top: -280px; }
.pf-h .hero-bg i:nth-child(2) { right: auto; left: -160px; top: -240px; }
.voltar { display: inline-flex; align-items: center; gap: 4px; color: var(--ink2); font-size: 13.5px; font-weight: 600; margin-left: -6px; padding: 4px 8px; border-radius: 999px; }
.voltar:hover { background: rgba(255, 255, 255, .7); color: var(--ink); }
.voltar .ic { transition: transform .2s var(--ease); }
.voltar:hover .ic { transform: translateX(-3px); }
.pf-top { display: flex; gap: 26px; align-items: center; margin-top: 14px; }
.pf-id { min-width: 0; flex: 1; display: grid; gap: 6px; }
.pf-id h1 { font: 800 44px/1.02 var(--disp); letter-spacing: -.04em; }
.pf-meta { margin: 0; color: var(--ink2); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 14px; }
.pf-meta span:not(.chip)::before { content: "·"; margin-right: 8px; color: var(--ink3); }
.pf-redes { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.pf-redes a { display: inline-flex; gap: 6px; align-items: center; padding: 6px 12px 6px 8px; border-radius: 999px; background: rgba(255, 255, 255, .85); border: 1px solid var(--line); font-size: 13px; color: var(--ink2); max-width: 260px; font-weight: 600; transition: border-color .2s; }
.pf-redes a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf-redes a:hover { border-color: var(--agua); color: var(--ink); }
.pf-redes .ic { width: 16px; height: 16px; color: var(--verde-tx); }
.pf-acoes { display: grid; gap: 12px; justify-items: end; align-self: start; }
.pf-nums { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.pf-num { padding: 16px 18px; background: var(--surf); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--sombra); display: grid; gap: 2px; align-content: start; }
.pf-num.destaque { background: var(--grad-esc); border-color: transparent; color: #fff; }
.pf-num.destaque small, .pf-num.destaque em { color: #d5f3e7; }
.pf-num b { font: 800 34px/1.05 var(--disp); letter-spacing: -.03em; }
.pf-num b .u { font: 600 14px var(--sans); color: inherit; opacity: .7; margin-left: 4px; }
.pf-num small { color: var(--ink3); font-size: 12.5px; font-weight: 600; }
.pf-num em { font-style: normal; color: var(--ink3); font-size: 12px; display: inline-flex; gap: 4px; align-items: center; }
.pf-num em .ic { width: 14px; height: 14px; }
.pf-cal { padding: 20px 22px 22px; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
.cal-dw { color: var(--ink3); font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding-left: 4px; }
.cal-d { min-height: 78px; border-radius: 14px; padding: 9px 11px; display: grid; align-content: space-between; background: var(--surf3); position: relative; animation: calIn .45s var(--ease) both; animation-delay: calc(200ms + var(--d) * 30ms); }
@keyframes calIn { from { opacity: 0; transform: scale(.92); } }
.cal-n { font-weight: 800; font-size: 13px; }
.cal-s { font-size: 12px; font-weight: 600; }
.cal-p { font-size: 11.5px; opacity: .85; }
.cal-d.c0 { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line2); color: var(--ink3); }
.cal-d.c1 { background: #edf2ef; color: var(--ink3); }
.cal-d.c2 { background: #f3ecdc; color: var(--s2-tx); }
.cal-d.c3 { background: var(--s3); color: #fff; }
.cal-d.c4 { background: var(--s4); color: #fff; }
.cal-d.c5 { background: var(--s5); color: #2a1e00; }
.cal-d.c6 { background: var(--s5); color: #2a1e00; box-shadow: inset 0 0 0 3px #fff, 0 0 0 2px var(--s5); }
.cal-d.fut { background: transparent; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink3); }
.cal-d.hj { outline: 2.5px solid var(--agua); outline-offset: 3px; }
.cal-d.t2 { box-shadow: inset 0 0 0 2px var(--agua); color: var(--agua-tx); background: #effaf8; }
.pf-posts { padding: 20px 0 6px; }
.pf-posts > .card-h { padding: 0 22px 6px; }

/* ---------- rodapé ---------- */
.rodape { display: flex; align-items: center; justify-content: center; gap: 10px; padding-top: 10px; padding-bottom: 34px; color: var(--ink3); font-size: 13px; text-align: center; }
.rodape p { margin: 0; }
.logo-pino.peq { width: 16px; height: 20px; filter: none; }
.rodape button, .rodape a { color: var(--ink2); font-weight: 600; text-decoration: underline; text-decoration-color: var(--line2); text-underline-offset: 3px; }
.rodape button:hover, .rodape a:hover { color: var(--verde-tx); }

/* ---------- diálogos ---------- */
dialog { color: var(--ink); }
dialog::backdrop { background: rgba(14, 42, 34, .35); backdrop-filter: blur(4px); }
dialog[open] { animation: dlgIn .25s var(--ease); }
dialog[open]::backdrop { animation: fadeIn .25s ease; }
@keyframes dlgIn { from { opacity: 0; transform: translateY(10px) scale(.98); } }
@keyframes fadeIn { from { opacity: 0; } }
.busca { width: min(640px, calc(100vw - 24px)); margin: 10vh auto auto; padding: 0; border: 1px solid var(--line); border-radius: 22px; background: var(--surf); box-shadow: var(--sombra-alta); }
.busca-in { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); color: var(--verde-tx); }
.busca-in input { flex: 1; min-width: 0; background: none; border: 0; outline: none; font-size: 17px; color: var(--ink); }
.busca-in input::placeholder { color: var(--ink3); }
.busca-in input::-webkit-search-cancel-button { display: none; }
#busca-res { list-style: none; margin: 0; padding: 8px; max-height: min(60vh, 480px); overflow-y: auto; }
#busca-res a { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 9px 10px; border-radius: 12px; }
#busca-res a span { display: grid; min-width: 0; }
#busca-res b { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#busca-res small { color: var(--ink3); }
#busca-res [aria-selected="true"] a, #busca-res a:hover { background: #e8f6ef; }
.b-cab { color: var(--agua-tx); font-size: 11.5px; font-weight: 700; padding: 8px 10px 4px; text-transform: uppercase; letter-spacing: .06em; }
.b-vazio { padding: 22px; text-align: center; color: var(--ink3); }
.modal { width: min(700px, calc(100vw - 24px)); max-height: min(86vh, 900px); padding: 0; border: 1px solid var(--line); border-radius: 26px; background: var(--surf); box-shadow: var(--sombra-alta); }
.modal-c { padding: 0 30px 30px; overflow-y: auto; max-height: min(86vh, 900px); line-height: 1.6; color: var(--ink2); }
.modal-h { position: sticky; top: 0; display: flex; align-items: center; gap: 12px; padding: 24px 0 14px; background: linear-gradient(var(--surf) 80%, rgba(255, 255, 255, 0)); z-index: 1; }
.modal-h .logo-pino { width: 24px; height: 30px; }
.modal-h h2 { font: 800 30px/1.1 var(--disp); letter-spacing: -.03em; color: var(--ink); flex: 1; }
.x { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line2); color: var(--ink2); transition: background .2s, transform .2s; }
.x:hover { background: var(--surf3); transform: rotate(90deg); }
.modal h3 { font: 700 16px var(--disp); color: var(--ink); margin: 24px 0 8px; display: flex; align-items: center; gap: 8px; }
.modal h3::before { content: ""; width: 14px; height: 4px; border-radius: 4px; background: var(--grad); }
.modal ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.modal li::marker { color: var(--agua); }
.modal .cats { list-style: none; padding: 0; }
.modal .cats li { display: flex; gap: 10px; align-items: baseline; }
.modal .cats .lg { transform: translateY(1px); }
.modal p { margin: 8px 0; }
.modal b { color: var(--ink); }
.modal .lead { font-size: 15.5px; color: var(--ink); background: var(--surf2); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.modal a { color: var(--verde-tx); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.pts { width: 100%; border-collapse: collapse; margin: 6px 0; }
.pts td { padding: 9px 0; border-bottom: 1px solid var(--line); }
.pts td:last-child { text-align: right; color: var(--verde-tx); font-weight: 700; }
.aviso { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 11px 18px; border-radius: 999px; font-weight: 700; z-index: 60; box-shadow: var(--sombra-alta); animation: dlgIn .25s var(--ease); }

/* sheet de filtros (mobile) */
.sheet { margin: auto 0 0; width: 100%; max-width: 100%; max-height: 88vh; padding: 0; border: 0; border-radius: 26px 26px 0 0; background: var(--surf); box-shadow: 0 -20px 60px -20px rgba(14, 42, 34, .4); display: none; flex-direction: column; }
.sheet[open] { display: flex; animation: sheetIn .32s var(--ease); }
.sheet.saindo { animation: sheetOut .22s ease-in forwards; }
.sheet.saindo::backdrop { animation: fadeOut .22s ease-in forwards; }
@keyframes sheetIn { from { transform: translateY(100%); } }
@keyframes sheetOut { to { transform: translateY(100%); } }
@keyframes fadeOut { to { opacity: 0; } }
.sheet-alca { width: 44px; height: 5px; border-radius: 5px; background: var(--line2); margin: 10px auto 0; }
.sheet-h { display: flex; justify-content: space-between; align-items: center; padding: 10px 20px 4px; }
.sheet-h h2 { font: 800 22px var(--disp); letter-spacing: -.02em; }
.sheet-c { overflow-y: auto; padding: 4px 20px 16px; }
.sheet-c h3 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--agua-tx); margin: 16px 0 8px; }
.sheet-c .seg { display: flex; }
.sheet-c .seg button { flex: 1; }
.sheet-sel { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sheet-sel .sel { height: 50px; }
.sheet-sel .sel select { width: 100%; max-width: none; font-size: 15px; }
.sheet-fx { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sheet-fx .fx { height: 56px; }
.sheet-fx .fx-r { font-size: 14px; }
.sheet-fx .fx-n { font-size: 12.5px; }
.sheet-f { display: flex; gap: 10px; padding: 12px 20px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.sheet-f .btn-pri { flex: 1; height: 50px; font-size: 15px; }
.sheet-f .btn-sec { height: 50px; }

/* ---------- carregando ---------- */
.sk { background: linear-gradient(90deg, #e6f1eb 0%, #f6fbf8 40%, #e6f1eb 80%); background-size: 200% 100%; animation: sk 1.3s infinite linear; border-radius: var(--r); }
@keyframes sk { to { background-position: -200% 0; } }
.sk-barra { height: 42px; width: 70%; border-radius: 999px; }
.sk-hero { height: 330px; border-radius: 28px; }
.sk-grid { display: grid; grid-template-columns: 1fr 400px; gap: 18px; }
.sk-mapa { height: 620px; }
.sk-lado { height: 620px; }

/* ======================================================================
   responsivo
   ====================================================================== */
@media (min-width: 2000px) {
  :root { --maxw: 1960px; }
  body { font-size: 15.5px; }
  .pn-grid { grid-template-columns: minmax(0, 1fr) 460px; }
  .sk-grid { grid-template-columns: 1fr 460px; }
  .mapa-svg { max-height: min(820px, calc(100vh - 260px)); }
  .bc { grid-template-rows: 180px auto; }
  .bs { height: 144px; }
}
@media (max-width: 1360px) {
  .turno { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "txt med" "cd cd" "kpi kpi"; }
  .hero-lado { justify-self: start; }
  .pn-grid { grid-template-columns: minmax(0, 1fr) 340px; }
  .rk .tr { grid-template-columns: 34px minmax(190px, 1.4fr) minmax(130px, 1fr) 200px 60px 90px; }
  .rk .c-redes { display: none; }
  .dd .q { width: 8px; }
  .ev-tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .pf-nums { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .busca-rot { display: none; }
}
@media (max-width: 1180px) {
  .link-como .t { display: none; }
  .relogio { display: none; }
  .pn-grid { grid-template-columns: minmax(0, 1fr); }
  .feed-card { position: static; max-height: 640px; min-height: 0; }
  .seq-card, .grafico { grid-column: auto; grid-row: auto; }
  .aus .tr { grid-template-columns: minmax(200px, 1fr) 90px 96px 120px; }
  .aus .c-redes { display: none; }
  .ev-corpo { grid-template-columns: 1fr; }
  .ev-mapa-w { position: static; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .barra-sel .sel select { max-width: 160px; }
}
@media (max-width: 1000px) {
  :root { --top: 172px; }
  .topo-in { grid-template-columns: 1fr auto; height: auto; padding-top: 10px; padding-bottom: 8px; row-gap: 10px; }
  .abas { grid-column: 1 / -1; grid-row: 2; justify-self: stretch; overflow-x: auto; scrollbar-width: none; }
  .abas::-webkit-scrollbar { display: none; }
  .abas a { flex: 1 0 auto; text-align: center; }
  .th { position: static; }
}
@media (max-width: 760px) {
  :root { --top: 160px; }
  body { font-size: 14px; }
  .topo-in, .barra-in, .conteudo, .rodape { padding-left: 14px; padding-right: 14px; }
  .topo-in { gap: 8px; }
  .logo-t { font-size: 18px; }
  .logo-pino { width: 22px; height: 27px; }
  .busca-rot, .busca-btn kbd { display: none; }
  .busca-btn { width: 40px; height: 40px; padding: 0; justify-content: center; }
  .ic-btn { width: 40px; padding: 0; justify-content: center; }
  .topo-dir { gap: 4px; }
  .abas a { padding: 8px 12px; font-size: 13.5px; }
  .barra-in { height: 58px; gap: 8px; }
  .barra-sel, .barra-fx, .barra .limpar { display: none; }
  .btn-filtros { display: inline-flex; }
  .barra .seg-per button { padding: 7px 10px; font-size: 12.5px; }
  .ticker { height: 46px; }
  .tk-rot { padding-left: 14px; padding-right: 10px; font-size: 11px; }
  .conteudo { gap: 14px; padding-top: 14px; }
  .hero { padding: 20px 18px 18px; border-radius: 22px; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "txt txt" "cd med" "kpi kpi"; gap: 16px; }
  .h-num .n { font-size: 68px; }
  .h-num .de { font-size: 22px; }
  .medidor { width: 112px; height: 112px; }
  .m-c b { font-size: 28px; }
  .m-c span { font-size: 10.5px; }
  .cd { padding: 12px; grid-template-columns: repeat(5, auto); }
  .cd-u { min-width: 36px; }
  .cd-u b { font-size: 28px; }
  .cd-sep { font-size: 20px; padding-bottom: 16px; }
  .kpis { gap: 8px; }
  .kpi { padding: 12px 12px 10px; }
  .kpi-n { font-size: 28px; }
  .kpi-rot { font-size: 12px; }
  .spark { width: 38%; height: 24px; right: 10px; top: 14px; bottom: auto; }
  .kpi-ic { width: 26px; height: 26px; }
  .kpi-rot { grid-column: 1 / -1; grid-row: 2; margin-top: 8px; }
  .kpi-n { margin-top: 2px; }
  .mapa-card { padding: 16px 12px 12px; }
  .mapa-card > .card-h { padding: 0 4px; }
  .mapa-svg { min-height: 0; max-height: none; }
  .parabens { position: relative; left: auto; bottom: auto; width: auto; margin: 10px 0 16px; height: 100px; }
  .legenda { gap: 8px 14px; }
  .legenda li { font-size: 13px; }
  .grafico { padding: 16px 12px 12px; }
  .grafico .card-h { flex-direction: column; }
  .leg-mini { justify-content: flex-start; }
  .barras { gap: 3px; }
  .bn { display: none; }
  .bc.hj .bn { display: block; font-size: 11px; }
  .bl { font-size: 10.5px; }
  .bl small { display: none; }
  .bc { grid-template-rows: 120px auto; }
  .bs { height: 96px; border-radius: 5px 5px 2px 2px; }
  .b-urna { font-size: 11px; }
  .cab-tela h1 { font-size: 32px; }
  .cab-tela .seg { width: 100%; overflow-x: auto; scrollbar-width: none; }
  .cab-tela .seg button { flex: 1 0 auto; }
  .cab-nums { width: 100%; }
  .cab-nums > div { flex: 1; min-width: 0; padding: 10px 12px; }
  .cab-nums b { font-size: 22px; }
  .th { display: none; }
  .tr { padding: 14px; gap: 10px; }
  .aus .tr { grid-template-columns: 1fr auto; grid-template-areas: "p d" "u o" "r r"; }
  .aus .c-pref { grid-area: p; min-width: 0; }
  .aus .c-dias { grid-area: d; }
  .aus .c-ult { grid-area: u; font-size: 13px; }
  .aus .c-ult::before { content: "Última vez: "; color: var(--ink3); }
  .aus .c-post { grid-area: o; font-size: 13px; justify-self: end; }
  .aus .c-redes { display: block; grid-area: r; justify-self: start; }
  .aus .redes .rd { width: 30px; height: 30px; }
  .podio { grid-template-columns: 1fr; gap: 10px; }
  .pod { order: 0 !important; grid-template-columns: auto 1fr auto; justify-items: start; text-align: left; padding: 14px 16px 14px 60px !important; gap: 2px 12px; }
  .pod::before { height: 100%; background-size: 100% 100%; opacity: .6; }
  .pod .medalha { top: 50%; transform: translateY(-50%); left: 12px; width: 36px; height: 36px; }
  .pod .av-xl, .pod-1 .av-xl { grid-row: 1 / span 3; width: 58px; height: 58px; font-size: 19px; }
  .pod-nome { grid-column: 2; font-size: 17px; margin: 0; justify-self: stretch; }
  .pod-mun { grid-column: 2; font-size: 12.5px; white-space: nowrap; min-width: 0; max-width: 100%; overflow: hidden; }
  .pod-mun .chip { display: none; }
  .pod { grid-template-columns: auto minmax(0, 1fr) auto; }
  .pod-met { grid-column: 3; grid-row: 1 / span 2; text-align: right; margin: 0; }
  .pod-met b, .pod-1 .pod-met b { font-size: 30px; }
  .pod-st { grid-column: 2; }
  .pod .dd { display: none; }
  .rk .tr { grid-template-columns: 24px minmax(0, 1fr) auto auto; grid-template-areas: "n p p p" ". s s s" ". d d d" ". a b r"; row-gap: 8px; }
  .rk .c-pos { grid-area: n; align-self: start; padding-top: 10px; }
  .rk .c-pref { grid-area: p; min-width: 0; }
  .rk .c-sit { grid-area: s; grid-auto-flow: column; justify-content: start; align-items: center; gap: 8px; }
  .rk .c-dd { grid-area: d; }
  .rk .c-posts { grid-area: a; text-align: left; }
  .rk .c-met { grid-area: b; text-align: left; }
  .rk .c-redes { display: block; grid-area: r; justify-self: end; }
  .mrot { display: inline; color: var(--ink3); font: 500 12px var(--sans); margin-right: 5px; }
  .dd { gap: 2.5px; }
  .dd .q { width: 13px; height: 18px; }
  .post { grid-template-columns: 34px minmax(0, 1fr); padding: 12px 8px; }
  .post-th { grid-column: 2; width: 100%; height: 150px; margin-top: 8px; }
  .post.compacto { grid-template-columns: 34px minmax(0, 1fr) auto; }
  .post:has(.post-th.ph) { grid-template-columns: 34px minmax(0, 1fr) auto; }
  .post-th.ph { grid-column: auto; width: 56px; height: 68px; margin-top: 2px; }
  .post.compacto .post-th { width: 64px; height: 76px; grid-column: auto; }
  .post.compacto .corrigir { opacity: 1; }
  .fchips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; width: 100%; }
  .feed-grid > .lista-corpo { padding: 6px; }
  .ev-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .ev-tile { padding: 12px; }
  .ev-tile b { font-size: 24px; }
  .ev-card { padding: 14px; }
  .ev-t { margin-left: 0; width: 100%; }
  .pf-h { padding: 14px 16px 18px; border-radius: 22px; }
  .pf-top { flex-direction: column; align-items: flex-start; gap: 14px; }
  .av-xl { width: 76px; height: 76px; font-size: 25px; }
  .pf-id h1 { font-size: 32px; }
  .pf-acoes { justify-items: start; grid-auto-flow: column; width: 100%; justify-content: space-between; align-items: center; }
  .pf-redes a { max-width: 100%; }
  .pf-nums { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .pf-num:first-child { grid-column: 1 / -1; }
  .pf-num b { font-size: 28px; }
  .pf-cal .card-h { flex-direction: column; }
  .leg-mini { justify-content: flex-start; gap: 6px 12px; }
  .cal { gap: 4px; }
  .cal-d { min-height: 56px; padding: 6px; border-radius: 10px; }
  .cal-s, .cal-p { display: none; }
  .cal-n { font-size: 12px; }
  .modal-c { padding: 0 18px 22px; }
  .sk-hero { height: 420px; }
  .sk-grid { grid-template-columns: 1fr; }
  .sk-lado { display: none; }
}
@media (min-width: 761px) {
  .sheet { display: none !important; }
}

/* ---------- movimento reduzido: só opacidade curta ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0s !important; scroll-behavior: auto !important; }
  .rv, .conteudo.troca, dialog[open], .mapa-tip { animation: fadeIn .18s ease-out both !important; }
  .car-item { transition: opacity .2s !important; transform: none !important; }
  .tk-trilho { overflow-x: auto; scrollbar-width: none; -webkit-mask-image: none; mask-image: none; }
  .hero-bg { display: none; }
  .sk { background: #e6f1eb; }
}
