/* Contas públicas: gráficos SVG, tabelas e cartões. Padrões (cheio, tracejado, contorno) além da cor. */
.cx-page{min-width:0}
.cx-ano select{max-width:12rem}
.cx-box{width:100%;min-width:0;overflow:hidden}
.cx-box svg{display:block;max-width:100%;height:auto}
.cx-fig{overflow:hidden}
.cx-sec{margin-top:2rem}
.cx-stats .stat b{font-size:clamp(1.3rem,3.4vw,1.9rem);overflow-wrap:anywhere}
.cx-num{color:inherit;text-decoration-style:dotted}
.cx-num:hover{text-decoration-style:solid}
.cx-tw{overflow-x:auto;position:relative;max-width:100%}
.cx-tw table{min-width:30rem}
.cx-det{margin:.6rem 0}
.cx-det>summary{cursor:pointer;min-height:44px;display:flex;align-items:center}
.cx-fontes{margin:.4rem 0 0}
.cx-metodo{margin:.5rem 0}
.cx-gloss dt{font-weight:700;margin-top:.5rem}
.cx-gloss dd{margin:0 0 .3rem}

/* barras e fitas */
.cx-b-solid{fill:var(--acc)}
.cx-b-dark{fill:var(--fg)}
.cx-b-hatch{stroke:var(--fg);stroke-width:1}
.cx-b-outline{fill:none;stroke:var(--acc);stroke-width:2;stroke-dasharray:5 3}
.cx-rib{stroke:var(--surface);stroke-width:1}
.cx-rl{fill:var(--acc);opacity:.22}
.cx-rr{fill:var(--fg);opacity:.16}
.cx-nodo{fill:var(--surface-2);stroke:var(--line-strong)}
.cx-seta{fill:none;stroke:var(--fg);stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.chart .cx-grid{stroke:var(--line);stroke-dasharray:2 4}
.cx-linha{fill:none;stroke-width:3}
.cx-l-pt{stroke:var(--acc)}
.cx-l-ue{stroke:var(--fg);stroke-dasharray:7 5}
.cx-pt{fill:var(--acc)}
.cx-pt-ue{fill:var(--fg)}
@media (prefers-reduced-motion:no-preference){
  .cx-bar{transform-box:fill-box;transform-origin:left center;animation:grow .7s cubic-bezier(.2,.8,.2,1) both;animation-delay:calc(var(--i,0)*35ms)}
  .cx-bar.cx-neg{transform-origin:right center}
  .cx-rib{animation:cxfade .9s ease both;animation-delay:calc(var(--i,0)*40ms + .2s)}
}
@keyframes cxfade{from{opacity:0}}

/* legenda: amostras com o mesmo padrão das barras */
.cx-sw{border:2px solid var(--acc);width:1.1em!important;height:.8em!important}
.cx-sw-pt,.cx-sw-solid{background:var(--acc)}
.cx-sw-hatch{border-color:var(--fg);background:repeating-linear-gradient(45deg,var(--fg) 0 2px,transparent 2px 5px)}
.cx-sw-outline{background:none;border-style:dashed}
.cx-sw-dark{background:var(--fg);border-color:var(--fg)}

/* discrepâncias */
.cx-disc h4{margin:.8rem 0 .3rem}
.cx-qs{list-style:none;margin:0;padding:0}
.cx-q{padding:.5rem 0;border-top:1px dashed var(--line-strong)}
.cx-q p{margin:.1rem 0}

/* faixa da página inicial */
.contas-strip{margin:1.2rem 0}
.contas-strip[hidden]{display:none}
.contas-strip a.stat{text-decoration:none;color:inherit;display:block;transition:border-color .18s}
.contas-strip a.stat:hover{border-color:var(--acc)}
.contas-strip a.stat b{color:var(--acc)}
