.cer{--r:#c4170c;--r2:#9f1209;--ink:#111827;--muted:#667085;--line:#e5e7eb;--soft:#f8fafc;--green:#16a34a;max-width:1200px;margin:0 auto;font-family:Inter,Arial,Helvetica,sans-serif;color:var(--ink)}
.cer *{box-sizing:border-box}
.cer-hero{position:relative;overflow:hidden;padding:28px 30px 0;border-radius:24px;background:linear-gradient(135deg,#121212 0%,#1c1c1c 60%,#2d0b09 100%);color:#fff;margin-bottom:22px;box-shadow:0 18px 40px rgba(17,24,39,.14)}
.cer-hero:after{content:"";position:absolute;width:340px;height:340px;border-radius:50%;right:-130px;top:-170px;background:radial-gradient(circle,rgba(196,23,12,.36),rgba(196,23,12,0) 70%);pointer-events:none}
.cer-brand-row{display:flex;justify-content:space-between;align-items:center;gap:16px;position:relative;z-index:1}
.cer-brand{display:flex;align-items:center;gap:12px}.cer-brand img{width:48px;height:48px;border-radius:13px;object-fit:cover;background:#fff;box-shadow:0 6px 18px rgba(0,0,0,.22)}
.cer-brand-name,.cer-brand-label{display:block}.cer-brand-name{font-weight:800;font-size:15px}.cer-brand-label{font-size:12px;color:#cbd5e1;margin-top:2px}
.cer-env{padding:8px 11px;border-radius:999px;font-size:11px;letter-spacing:.05em;font-weight:800;border:1px solid rgba(255,255,255,.14)}.cer-env.is-simulado{background:#854d0e;color:#fef3c7}.cer-env.is-oficial{background:#14532d;color:#dcfce7}
.cer-hero-copy{position:relative;z-index:1;padding:30px 0 26px;max-width:780px}.cer-kicker{display:inline-block;font-size:12px;font-weight:900;letter-spacing:.12em;color:#ff8a81}.cer-hero h1{font-size:clamp(34px,5vw,58px);line-height:.98;letter-spacing:-.035em;margin:8px 0 12px}.cer-hero-copy p{font-size:16px;line-height:1.55;color:#d1d5db;margin:0;max-width:700px}
.cer-summary{display:grid;grid-template-columns:repeat(3,1fr);position:relative;z-index:1;border-top:1px solid rgba(255,255,255,.12)}.cer-summary-item{padding:18px 18px 18px 0}.cer-summary-item+ .cer-summary-item{padding-left:22px;border-left:1px solid rgba(255,255,255,.12)}.cer-summary-item span{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:#9ca3af;font-weight:700;margin-bottom:5px}.cer-summary-item strong{font-size:20px;color:#fff}
.cer-progress{height:5px;background:rgba(255,255,255,.12);margin:0 -30px}.cer-progress span{display:block;height:100%;width:0;background:linear-gradient(90deg,#ef4444,#ff7b71);transition:width .35s ease}
.cer-panel{display:grid;grid-template-columns:.8fr 1.2fr;gap:18px;padding:18px;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 8px 22px rgba(17,24,39,.045);margin-bottom:26px}.cer-filter-title{display:block;font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin:0 0 9px 2px}
.cer-scope,.cer-cargos{display:flex;gap:8px;overflow:auto;padding:0 0 2px}.cer button{appearance:none;border:1px solid var(--line);background:#fff;padding:10px 14px;border-radius:11px;font-weight:750;color:#344054;white-space:nowrap;cursor:pointer;transition:.18s ease}.cer button:hover{border-color:#cbd5e1;background:#fafafa}.cer button.active{background:var(--r);border-color:var(--r);color:#fff;box-shadow:0 5px 13px rgba(196,23,12,.16)}.cer button:disabled{opacity:.35;cursor:not-allowed}
.cer-results-head{display:flex;justify-content:space-between;align-items:end;gap:14px;margin-bottom:14px}.cer-section-label{display:block;color:var(--r);font-size:11px;font-weight:900;letter-spacing:.1em;margin-bottom:4px}.cer-results-head h2{margin:0;font-size:26px;letter-spacing:-.02em}.cer-live{font-size:12px;color:var(--muted);white-space:nowrap}.cer-live span{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--green);margin-right:6px;box-shadow:0 0 0 4px rgba(22,163,74,.10)}
.cer-tools{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 14px}.cer-search-wrap{position:relative;width:min(560px,100%)}.cer-search-wrap svg{position:absolute;left:14px;top:50%;transform:translateY(-50%);width:18px;height:18px;fill:none;stroke:#98a2b3;stroke-width:1.9;stroke-linecap:round}.cer-tools input{width:100%;padding:13px 14px 13px 42px;border:1px solid var(--line);border-radius:12px;font-size:14px;background:#fff;outline:none;transition:.15s}.cer-tools input:focus{border-color:#c4170c;box-shadow:0 0 0 3px rgba(196,23,12,.08)}.cer-tools>span{font-size:12px;color:var(--muted);font-weight:600}
.cer-status,.cer-empty{padding:34px 24px;text-align:center;color:var(--muted);background:var(--soft);border:1px solid var(--line);border-radius:16px}.cer-grid{display:grid;gap:10px}.cer-card{display:grid;grid-template-columns:44px 66px minmax(0,1fr) auto;align-items:center;gap:14px;padding:14px 16px;border:1px solid var(--line);border-radius:16px;background:#fff;transition:.16s ease}.cer-card:hover{border-color:#d0d5dd;box-shadow:0 8px 20px rgba(17,24,39,.045);transform:translateY(-1px)}
.cer-rank{width:34px;height:34px;border-radius:10px;background:#f2f4f7;display:flex;align-items:center;justify-content:center;font-weight:800;color:#667085;font-size:13px}.cer-photo{width:66px;height:66px;border-radius:15px;object-fit:cover;background:#f2f4f7;border:1px solid #eaecf0}.cer-name{font-weight:850;font-size:17px;line-height:1.2}.cer-party,.cer-situation{font-size:12px;color:var(--muted);margin-top:5px}.cer-party{font-weight:650}.cer-situation{font-style:normal}.cer-votes{text-align:right;min-width:130px}.cer-votes strong,.cer-votes b{display:block}.cer-votes strong{font-size:20px;letter-spacing:-.02em}.cer-votes span{font-size:11px;color:var(--muted)}.cer-votes b{font-size:15px;color:var(--r);margin-top:4px}
.cer-footer{margin-top:20px;padding:18px 2px 8px;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}.cer-footer>div{color:#475467}.cer-footer p{margin:5px 0 0;line-height:1.5}
@media(max-width:900px){.cer-panel{grid-template-columns:1fr}.cer-summary{grid-template-columns:1fr 1fr}.cer-summary-item:nth-child(3){grid-column:1/-1;border-left:0!important;border-top:1px solid rgba(255,255,255,.12);padding-left:0}.cer-card{grid-template-columns:38px 58px minmax(0,1fr) auto}.cer-photo{width:58px;height:58px}}
@media(max-width:640px){.cer{padding:0}.cer-hero{border-radius:18px;padding:20px 18px 0}.cer-brand-row{align-items:flex-start}.cer-brand img{width:42px;height:42px}.cer-env{font-size:10px;padding:7px 9px}.cer-hero-copy{padding:24px 0 22px}.cer-hero h1{font-size:38px}.cer-hero-copy p{font-size:14px}.cer-summary{grid-template-columns:1fr 1fr}.cer-summary-item{padding:14px 10px 14px 0}.cer-summary-item+ .cer-summary-item{padding-left:14px}.cer-summary-item:nth-child(3){padding-left:0}.cer-summary-item strong{font-size:17px}.cer-progress{margin:0 -18px}.cer-panel{padding:14px;border-radius:14px}.cer-results-head{align-items:flex-start;flex-direction:column}.cer-results-head h2{font-size:22px}.cer-tools{align-items:stretch;flex-direction:column}.cer-search-wrap{width:100%}.cer-card{grid-template-columns:32px 52px minmax(0,1fr);gap:10px;padding:12px}.cer-photo{width:52px;height:52px;border-radius:12px}.cer-rank{width:30px;height:30px;border-radius:9px}.cer-name{font-size:15px}.cer-votes{grid-column:3;text-align:left;display:flex;gap:8px;align-items:baseline;min-width:0;margin-top:2px}.cer-votes strong,.cer-votes b{display:inline}.cer-votes strong{font-size:16px}.cer-votes span{font-size:10px}.cer-votes b{font-size:13px}.cer-card:hover{transform:none}}

/* v0.5.0 — identidade Canaã Notícias + contraste reforçado */
.cer{--r:#c4170c;--r2:#e21b12;--r3:#8f0f08}
.cer-hero{background:linear-gradient(135deg, #080089 0%, #c4170c 52%, #30a500 100%)!important;color:#fff!important;box-shadow:0 16px 38px rgba(8,0,137,.16)}
.cer-hero:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 88% 15%,rgba(255,255,255,.16),transparent 30%);pointer-events:none}
.cer-hero,.cer-hero *{color:#fff}
.cer-hero .cer-kicker{color:#ffd4d0!important}
.cer-hero h1,.cer-hero .cer-hero-copy h1{color:#fff!important;text-shadow:0 1px 2px rgba(0,0,0,.16)}
.cer-hero p,.cer-hero .cer-hero-copy p{color:rgba(255,255,255,.88)!important}
.cer-brand-label{color:rgba(255,255,255,.76)!important}
.cer-summary-item span{color:rgba(255,255,255,.72)!important}
.cer-summary-item strong{color:#fff!important}
.cer-env.is-simulado{background:rgba(255,255,255,.14)!important;color:#fff!important;border-color:rgba(255,255,255,.24)!important}
.cer-env.is-oficial{background:#fff!important;color:#a50f08!important;border-color:#fff!important}
.cer-progress{background:rgba(255,255,255,.20)!important}.cer-progress span{background:#fff!important}
.cer-live{color:#667085}.cer-live span{background:#16a34a}
.cer-panel{border-top:4px solid var(--r)}
.cer-results-head{padding-top:2px}.cer-section-label{color:var(--r)!important}
.cer button.active{background:linear-gradient(135deg,var(--r),var(--r2))!important;border-color:var(--r)!important;color:#fff!important}
.cer-card{border-left:4px solid transparent}.cer-card:hover{border-left-color:var(--r)}
.cer-votes b{color:var(--r)!important}
@media(max-width:640px){
  .cer-hero{background:linear-gradient(135deg, #080089 0%, #c4170c 52%, #30a500 100%)!important}
  .cer-hero h1,.cer-hero .cer-hero-copy h1{color:#fff!important;font-size:36px!important;line-height:1.02!important}
  .cer-hero p,.cer-hero .cer-hero-copy p{color:rgba(255,255,255,.9)!important}
  .cer-scope,.cer-cargos{scroll-padding-left:4px;padding-left:2px;padding-right:2px}
}

/* v0.5.1: melhorias solicitadas no cabeçalho */
.cer-summary-item span{font-size:14px!important;line-height:1.25!important;letter-spacing:.035em!important}
@media(max-width:640px){.cer-summary-item span{font-size:14px!important}}


/* v0.5.3 — status ao vivo em verde e refinamentos mobile */
.cer-live{
  display:inline-flex;
  align-items:center;
  gap:2px;
  color:#22c55e!important;
  font-weight:750!important;
}
.cer-live span{
  background:#22c55e!important;
  box-shadow:0 0 0 4px rgba(34,197,94,.14),0 0 12px rgba(34,197,94,.28)!important;
}
.cer-hero .cer-live{
  color:#86efac!important;
}
.cer-hero .cer-live span{
  background:#4ade80!important;
  box-shadow:0 0 0 4px rgba(74,222,128,.16),0 0 14px rgba(74,222,128,.34)!important;
}
@media(max-width:640px){
  .cer-live{font-size:13px!important}
  .cer-panel{box-shadow:0 7px 18px rgba(17,24,39,.04)}
  .cer-scope,.cer-cargos{scrollbar-width:none;-ms-overflow-style:none}
  .cer-scope::-webkit-scrollbar,.cer-cargos::-webkit-scrollbar{display:none}
  .cer button{min-height:46px;padding:10px 16px}
}


/* v0.5.4 — filtros profissionais em Drop-Down */
.cer-panel-selects{
  grid-template-columns:1fr 1fr!important;
  gap:16px!important;
  padding:20px!important;
  border-top:4px solid var(--r)!important;
}
.cer-panel-selects .cer-filter-title{
  display:block;
  font-size:12px!important;
  font-weight:900!important;
  letter-spacing:.08em!important;
  text-transform:uppercase;
  color:#667085!important;
  margin:0 0 9px 2px!important;
}
.cer-select-wrap{position:relative;width:100%}
.cer-select{
  width:100%;
  min-height:54px;
  appearance:none;
  -webkit-appearance:none;
  border:1px solid #d6dce5;
  border-radius:14px;
  background:linear-gradient(180deg,#fff 0%,#fbfcfe 100%);
  color:#26334a;
  padding:0 48px 0 16px;
  font-size:16px;
  font-weight:800;
  outline:none;
  box-shadow:0 3px 10px rgba(15,23,42,.035);
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease;
  cursor:pointer;
}
.cer-select:hover{border-color:#bcc6d4;background:#fff}
.cer-select:focus{
  border-color:var(--r);
  box-shadow:0 0 0 4px rgba(196,23,12,.10),0 6px 16px rgba(15,23,42,.06);
}
.cer-select-arrow{
  position:absolute;right:17px;top:50%;width:10px;height:10px;
  border-right:2px solid var(--r);border-bottom:2px solid var(--r);
  transform:translateY(-68%) rotate(45deg);pointer-events:none;
}
@media(max-width:640px){
  .cer-panel-selects{grid-template-columns:1fr!important;padding:16px!important;gap:14px!important;border-radius:16px!important}
  .cer-select{min-height:56px;font-size:16px;border-radius:14px}
  .cer-panel-selects .cer-filter-block{min-width:0}
}
.cer-year-switcher{display:flex;align-items:end;justify-content:flex-end;gap:12px;margin:0 0 16px}.cer-year-switcher label{font-size:13px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#667085}.cer-year-switcher .cer-select-wrap{width:min(360px,100%)}
@media(max-width:600px){.cer-year-switcher{display:block}.cer-year-switcher label{display:block;margin-bottom:7px}.cer-year-switcher .cer-select-wrap{width:100%}}


/* v0.6.3 — seletor de eleição dentro do head */
.cer-brand-row{align-items:flex-start;gap:18px;flex-wrap:wrap}
.cer-hero-yearbox{display:flex;flex-direction:column;gap:6px;min-width:280px;max-width:360px;flex:1 1 300px}
.cer-hero-yearbox label{font-size:11px;font-weight:900;letter-spacing:.10em;text-transform:uppercase;color:rgba(255,255,255,.82)}
.cer-select-wrap-hero{max-width:100%}
.cer-select-hero{min-height:42px;background:rgba(255,255,255,.96);border:1px solid rgba(255,255,255,.45);box-shadow:0 8px 20px rgba(0,0,0,.14);font-size:13px;font-weight:800;color:#1f2937;padding-right:42px}
.cer-select-hero:hover{background:#fff}
.cer-select-hero:focus{border-color:#fff;box-shadow:0 0 0 4px rgba(255,255,255,.18),0 10px 26px rgba(0,0,0,.18)}
.cer-select-arrow-hero{border-right-color:#c4170c;border-bottom-color:#c4170c}
@media(min-width:801px){.cer-brand{flex:0 0 auto}.cer-brand-row .cer-env{margin-left:auto}}
@media(max-width:800px){.cer-hero-yearbox{order:3;flex-basis:100%;max-width:none}.cer-brand-row .cer-env{margin-left:auto}.cer-hero-copy{padding-top:18px}}
@media(max-width:640px){.cer-select-hero{min-height:48px;font-size:14px}.cer-hero-yearbox label{font-size:10px;letter-spacing:.12em}}


/* v0.6.4 — destaque do ano e identificação da base/turno */
.cer-yearbox-labelrow{display:flex;align-items:center;justify-content:space-between;gap:10px}
.cer-year-current{display:inline-flex;align-items:center;justify-content:center;min-width:58px;height:26px;padding:0 10px;border-radius:999px;background:#fff;color:#c4170c!important;font-size:12px;font-weight:950;letter-spacing:.03em;box-shadow:0 5px 14px rgba(0,0,0,.16)}
.cer-select-hero{border:2px solid rgba(255,255,255,.75);background:rgba(255,255,255,.98);box-shadow:0 10px 28px rgba(0,0,0,.18)}
.cer-select-hero:focus{border-color:#fff;box-shadow:0 0 0 4px rgba(255,255,255,.20),0 12px 30px rgba(0,0,0,.2)}
.cer-history-meta{position:relative;z-index:1;display:inline-flex;align-items:center;gap:7px;margin-top:18px;padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.23);color:#fff!important;font-size:12px;font-weight:800;letter-spacing:.025em;backdrop-filter:blur(4px)}
.cer-history-meta span{color:#9ff5b5!important;font-size:14px;line-height:1}
@media(max-width:640px){.cer-year-current{min-width:54px;height:25px;font-size:11px}.cer-history-meta{margin-top:14px;font-size:11px;padding:7px 10px}}


/* v0.6.5 — refinamento visual profissional dos seletores */
.cer-brand-row{
  display:grid!important;
  grid-template-columns:auto minmax(230px,330px) 1fr auto!important;
  align-items:center!important;
  gap:18px!important;
  flex-wrap:initial!important;
}
.cer-hero-yearbox{
  display:block!important;
  min-width:0!important;
  max-width:330px!important;
  width:100%!important;
  flex:initial!important;
}
.cer-select-wrap-hero{width:100%!important;max-width:330px!important}
.cer-select-hero{
  min-height:44px!important;
  border:1px solid rgba(255,255,255,.72)!important;
  border-radius:12px!important;
  background:rgba(255,255,255,.97)!important;
  color:#172033!important;
  padding:0 44px 0 15px!important;
  font-size:14px!important;
  font-weight:650!important;
  letter-spacing:-.01em!important;
  box-shadow:0 8px 22px rgba(0,0,0,.13)!important;
}
.cer-select-hero:hover{background:#fff!important;border-color:#fff!important}
.cer-select-hero:focus{
  background:#fff!important;
  color:#172033!important;
  border-color:#fff!important;
  box-shadow:0 0 0 3px rgba(255,255,255,.22),0 10px 26px rgba(0,0,0,.16)!important;
}
.cer-yearbox-labelrow,.cer-year-current{display:none!important}

/* filtros mais leves e editoriais */
.cer-panel-selects{
  gap:18px!important;
  padding:20px!important;
  border:1px solid #e5e9f0!important;
  border-top:3px solid #c4170c!important;
  border-radius:16px!important;
  box-shadow:0 8px 24px rgba(15,23,42,.045)!important;
}
.cer-panel-selects .cer-filter-title{
  font-size:11px!important;
  line-height:1!important;
  font-weight:700!important;
  letter-spacing:.075em!important;
  color:#667085!important;
  margin:0 0 10px 1px!important;
}
.cer-panel-selects .cer-select{
  min-height:52px!important;
  border:1px solid #d8dee8!important;
  border-radius:12px!important;
  background:#fff!important;
  color:#25324a!important;
  padding:0 45px 0 16px!important;
  font-size:15px!important;
  line-height:1.2!important;
  font-weight:600!important;
  letter-spacing:-.01em!important;
  box-shadow:0 1px 2px rgba(16,24,40,.02)!important;
}
.cer-panel-selects .cer-select:hover{border-color:#bbc5d3!important;background:#fff!important}
.cer-panel-selects .cer-select:focus{
  border-color:#c4170c!important;
  background:#fff!important;
  color:#25324a!important;
  box-shadow:0 0 0 3px rgba(196,23,12,.08)!important;
}
.cer-panel-selects .cer-select-arrow{right:18px!important;width:8px!important;height:8px!important;border-width:0 2px 2px 0!important}

/* evita texto branco/ilegível no menu nativo aberto */
.cer select,
.cer select:focus,
.cer select:active{
  color:#1f2937!important;
  -webkit-text-fill-color:#1f2937!important;
}
.cer select option,
.cer-hero select option,
.cer-panel select option{
  color:#1f2937!important;
  -webkit-text-fill-color:#1f2937!important;
  background:#fff!important;
  font-weight:500!important;
}
.cer select option:checked{color:#111827!important;background:#f3f4f6!important}

@media(max-width:900px){
  .cer-brand-row{
    grid-template-columns:auto 1fr auto!important;
    gap:12px!important;
  }
  .cer-hero-yearbox{
    grid-column:1/-1!important;
    grid-row:2!important;
    max-width:none!important;
  }
  .cer-select-wrap-hero{max-width:none!important}
}
@media(max-width:640px){
  .cer-brand-row{grid-template-columns:auto 1fr auto!important;align-items:center!important}
  .cer-brand-name{font-size:14px!important}
  .cer-brand-label{font-size:11px!important}
  .cer-env{font-size:9px!important;padding:6px 8px!important}
  .cer-select-hero{min-height:48px!important;font-size:14px!important;border-radius:12px!important}
  .cer-panel-selects{padding:15px!important;gap:15px!important}
  .cer-panel-selects .cer-select{min-height:52px!important;font-size:15px!important}
}


/* v0.6.20 — altura padronizada das fotos */
.cer-photo{height:90px!important;}


/* v0.6.21 — fotos padronizadas em proporção 3x4 */
.cer-photo{
  width:68px!important;
  height:90px!important;
  aspect-ratio:3/4!important;
  object-fit:cover!important;
  object-position:center top!important;
  border-radius:10px!important;
}
@media(max-width:900px){
  .cer-card{grid-template-columns:38px 68px minmax(0,1fr) auto!important;}
}
@media(max-width:640px){
  .cer-card{grid-template-columns:32px 68px minmax(0,1fr)!important;}
  .cer-votes{grid-column:3!important;}
}


/* v0.6.22 — situação oficial em eleições encerradas */
.cer-situation{
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  width:max-content!important;
  margin-top:7px!important;
  font-size:11px!important;
  line-height:1!important;
  font-weight:850!important;
  letter-spacing:.02em!important;
}
.cer-situation-icon{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:17px!important;
  height:17px!important;
  flex:0 0 17px!important;
  border-radius:50%!important;
  font-size:13px!important;
  font-weight:900!important;
  line-height:1!important;
}
.cer-situation-elected{color:#15803d!important}
.cer-situation-elected .cer-situation-icon{background:#16a34a!important;color:#fff!important}
.cer-situation-not-elected{color:#b42318!important}
.cer-situation-not-elected .cer-situation-icon{background:#dc2626!important;color:#fff!important}
.cer-situation-alternate{color:#a16207!important}
.cer-situation-alternate .cer-situation-icon{background:#facc15!important;color:transparent!important;border:1px solid #eab308!important}


/* v0.6.25 — carregamento moderno ao trocar de cargo */
.cer-loading-inline{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:118px;color:#344054;text-align:center}
.cer-loading-inline>div{display:flex;flex-direction:column;align-items:center;gap:3px;text-align:center}
.cer-loading-inline strong{font-size:18px;font-weight:600;color:#c4170c;line-height:1.2}
.cer-loading-inline .cer-loading-subtext{font-size:12px;color:#667085}
.cer-loading-brand{position:relative;width:58px;height:58px;flex:0 0 58px;display:grid;place-items:center}
.cer-loading-brand::before{content:"";position:absolute;inset:0;border-radius:50%;background:conic-gradient(from 0deg,#c4170c 0 24%,#30a500 24% 43%,#080089 43% 61%,rgba(196,23,12,.12) 61% 100%);animation:cer-spin .85s linear infinite;box-shadow:0 5px 16px rgba(8,0,137,.10)}
.cer-loading-brand::after{content:"";position:absolute;inset:5px;border-radius:50%;background:#fff;box-shadow:inset 0 0 0 1px rgba(16,24,40,.05)}
.cer-loading-logo{position:relative;z-index:1;width:34px;height:34px;object-fit:contain;display:block}
@keyframes cer-spin{to{transform:rotate(360deg)}}
@media(max-width:640px){.cer-loading-inline{min-height:108px;gap:9px}.cer-loading-inline strong{font-size:18px;font-weight:600;color:#c4170c}.cer-loading-inline .cer-loading-subtext{font-size:11px}.cer-loading-brand{width:54px;height:54px;flex-basis:54px}.cer-loading-brand::after{inset:5px}.cer-loading-logo{width:31px;height:31px}}


/* v0.6.36 — Ano integrado aos filtros: Ano > Abrangência > Cargo */
.cer-brand-row{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:16px!important;
  flex-wrap:nowrap!important;
}
.cer-brand-row .cer-env{margin-left:auto!important}
.cer-hero-yearbox{display:none!important}
.cer-panel-selects{
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr)!important;
  align-items:end!important;
}
.cer-panel-selects .cer-filter-block{min-width:0!important}
@media(max-width:800px){
  .cer-panel-selects{grid-template-columns:1fr!important}
}
@media(max-width:640px){
  .cer-brand-row{align-items:center!important;flex-wrap:nowrap!important}
}


/* v0.7.0 — Parte 5: abrangência completa Brasil > Estado > Município */
.cer-panel-selects{
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  align-items:end!important;
}
.cer-filter-block.is-hidden{display:none!important}
.cer-panel-selects .cer-select:disabled{opacity:.62!important;cursor:wait!important;background:#f8fafc!important}
@media(max-width:1100px){
  .cer-panel-selects{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:800px){
  .cer-panel-selects{grid-template-columns:1fr!important}
}


/* v0.8.0 — Parte 6: dados complementares da eleição */
.cer-election-data{margin:22px 0 28px;padding:20px;border:1px solid #e5e9f0;border-radius:16px;background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.045)}
.cer-election-data-head{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:16px}
.cer-election-data-head h2{margin:0;color:#172033;font-size:20px;line-height:1.2;font-weight:800;letter-spacing:-.02em}
.cer-election-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.cer-election-stat{min-width:0;padding:15px 16px;border:1px solid #edf0f4;border-radius:12px;background:#f8fafc}
.cer-election-stat span{display:block;margin-bottom:7px;color:#667085;font-size:11px;line-height:1.2;font-weight:750;letter-spacing:.04em;text-transform:uppercase}
.cer-election-stat strong{display:block;color:#172033;font-size:20px;line-height:1.1;font-weight:850;letter-spacing:-.025em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:900px){.cer-election-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.cer-election-data{padding:15px;margin:18px 0 24px}.cer-election-data-head{margin-bottom:12px}.cer-election-data-head h2{font-size:18px}.cer-election-stats{grid-template-columns:1fr 1fr;gap:9px}.cer-election-stat{padding:13px 12px}.cer-election-stat strong{font-size:17px}.cer-election-stat span{font-size:10px}}


/* v0.9.0 — Parte 7: classificação eleitoral padronizada */
.cer-situation-runoff{color:#1d4ed8!important}
.cer-situation-runoff .cer-situation-icon{background:#2563eb!important;color:#fff!important;border:1px solid #1d4ed8!important;font-size:10px!important}

/* Parte 8 — URLs e compartilhamento */
.cer-share-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-left:auto}
.cer-action-btn{appearance:none;border:1px solid #d6d9de;background:#fff;color:#24272c;border-radius:8px;padding:10px 14px;font:600 13px/1.2 inherit;cursor:pointer;transition:.18s ease;white-space:nowrap}
.cer-action-btn:hover{border-color:#aeb4bc;background:#f7f8fa}
.cer-action-btn:focus-visible{outline:3px solid rgba(196,23,12,.2);outline-offset:2px}
.cer-action-primary{background:#c4170c;border-color:#c4170c;color:#fff}
.cer-action-primary:hover{background:#a9130a;border-color:#a9130a}
.cer-share-feedback{font-size:12px;color:#60646c;min-height:1em}
@media (max-width:760px){.cer-tools{align-items:stretch}.cer-share-tools{width:100%;margin-left:0}.cer-action-btn{flex:1 1 auto}.cer-share-feedback{width:100%}}



/* v1.5.1 — cores padrão para ações de compartilhamento */
#cer-share{background:#1877f2;border-color:#1877f2;color:#fff}
#cer-share:hover{background:#166fe5;border-color:#166fe5;color:#fff}
#cer-copy-link{background:#25d366;border-color:#25d366;color:#fff}
#cer-copy-link:hover{background:#20bd5a;border-color:#20bd5a;color:#fff}

/* v1.5.0 — transparência da fonte e contingência */
.cer-source-status{position:relative;z-index:1;display:inline-flex;align-items:center;gap:8px;margin-top:10px;padding:7px 11px;border-radius:999px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.20);font-size:11px;font-weight:700;color:#fff}
.cer-source-status strong,.cer-source-status span{color:#fff!important}.cer-source-dot{width:8px;height:8px;border-radius:50%;background:#fbbf24;box-shadow:0 0 0 4px rgba(251,191,36,.15)}
.cer-source-status.is-live .cer-source-dot{background:#4ade80;box-shadow:0 0 0 4px rgba(74,222,128,.16)}
.cer-source-status.is-contingency{background:rgba(127,29,29,.25);border-color:rgba(254,202,202,.35)}.cer-source-status.is-contingency .cer-source-dot{background:#f87171;box-shadow:0 0 0 4px rgba(248,113,113,.16)}
@media(max-width:640px){.cer-source-status{display:flex;width:max-content;max-width:100%;flex-wrap:wrap;border-radius:12px}}
