/* AN Pesquisas v1.0.0 — painéis, mobile-first */
.anp-aviso { background:#fff8e1;border:1px dashed #f5a623;border-radius:8px;padding:12px 14px;
	margin:20px 0;font-size:.85rem;color:#6b5b00; }

/* Números de abertura */
.anp-kpis { display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:22px 0; }
.anp-kpi { background:#fff;border:1px solid #e2e7f1;border-radius:11px;padding:14px;
	border-top:3px solid #0B5FFF;display:flex;flex-direction:column; }
.anp-kpi__num { font-size:1.5rem;font-weight:800;color:#0D2B6B;line-height:1.1; }
.anp-kpi__rot { font-size:.68rem;text-transform:uppercase;letter-spacing:.05em;color:#8a93a5;margin-top:3px; }
.anp-kpi__pe { font-size:.74rem;color:#6b7482;margin-top:5px;line-height:1.4; }
.anp-kpi--verde { border-top-color:#00a86b; } .anp-kpi--verde .anp-kpi__num { color:#00a86b; }
.anp-kpi--vermelho { border-top-color:#E8151B; } .anp-kpi--vermelho .anp-kpi__num { color:#E8151B; }

/* Moldura comum dos gráficos */
.anp-graf { margin:26px 0;background:#f6f8fc;border:1px solid #e2e7f1;border-radius:12px;padding:16px; }
.anp-graf__tit { font-size:1rem;font-weight:700;color:#0D2B6B;line-height:1.25;margin-bottom:3px; }
.anp-graf__sub { margin:0 0 14px;font-size:.78rem;color:#6b7482;line-height:1.45; }
.anp-graf__nota { margin:12px 0 0;font-size:.72rem;color:#8a93a5;line-height:1.55; }

/* Barras horizontais */
.anp-barras { display:grid;gap:14px; }
.anp-barra { min-width:0; }
.anp-barra__topo { display:flex;justify-content:space-between;gap:10px;align-items:baseline;margin-bottom:5px; }
.anp-barra__rot { font-size:.85rem;font-weight:600;color:#0D2B6B; }
.anp-barra__val { font-size:.9rem;font-weight:700;color:#0D2B6B;white-space:nowrap; }
.anp-barra__trilho { height:12px;background:#e6ebf4;border-radius:99px;overflow:hidden; }
.anp-barra__fill { display:block;height:100%;border-radius:99px; }
.anp-barra__pe { display:block;font-size:.72rem;color:#8a93a5;margin-top:5px; }

/* Gráfico em SVG */
.anp-svg { width:100%;height:auto;display:block;background:#fff;border-radius:9px;
	border:1px solid #e2e7f1;padding:6px 0; }

/* Tabelas com barra */
.anp-tab { width:100%;border-collapse:collapse;font-size:.84rem;background:#fff;
	border-radius:9px;overflow:hidden;border:1px solid #e2e7f1; }
.anp-tab thead th { background:#0D2B6B;color:#fff;font-size:.64rem;text-transform:uppercase;
	letter-spacing:.04em;padding:8px 10px;text-align:left;font-weight:600; }
.anp-tab td { padding:9px 10px;border-bottom:1px solid #f0f2f7;vertical-align:middle; }
.anp-tab tbody tr:last-child td { border-bottom:0; }
.anp-num { text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums; }
.anp-tab__rot { width:52%; }
.anp-tab__nome { display:block;font-weight:600;color:#0D2B6B;line-height:1.3; }
.anp-tab__sub { display:block;font-size:.7rem;color:#8a93a5;margin-top:1px; }
.anp-tab__barra { display:block;height:5px;background:#eef1f7;border-radius:99px;margin-top:5px;overflow:hidden; }
.anp-tab__barra i { display:block;height:100%;background:#0B5FFF;border-radius:99px; }

@media (min-width:700px) {
	.anp-kpis { grid-template-columns:repeat(3,1fr); }
	.anp-kpi__num { font-size:1.8rem; }
	.anp-graf { padding:20px; }
	.anp-graf__tit { font-size:1.15rem; }
}

/* Legenda do gráfico de série */
.anp-legenda { display:flex;flex-wrap:wrap;gap:12px;margin-bottom:12px; }
.anp-leg { display:inline-flex;align-items:center;gap:6px;font-size:.76rem;color:#34404f; }
.anp-leg i { width:14px;height:3px;border-radius:2px;display:inline-block; }
.anp-leg em { font-style:normal;font-size:.68rem;color:#8a93a5; }
