/* r108 · Gestão: 4 grupos, Projeção, Inadimplência por faixas, Custos recolhidos e Metas do jurídico em cartões (sem estilo embutido, por causa da CSP) */
.r108-grupos{margin-right:.75rem}
/* Projeção */
.r108-metr{display:flex;gap:10px;flex-wrap:wrap;margin:10px 0 14px}
.r108-metr a{display:flex;flex-direction:column;gap:2px;border:1px solid var(--linha);border-radius:12px;padding:10px 14px;min-width:190px;text-decoration:none;color:inherit}
.r108-metr a.on{border-color:var(--marca);box-shadow:0 0 0 2px var(--marca)}
.r108-metr a span{font-size:.85rem;opacity:.8}
.r108-metr a b{font-size:1.35rem}
.r108-metr a small i{font-style:normal}
.r108-proj{display:flex;flex-direction:column;gap:10px}
.r108-proj-num{display:flex;flex-direction:column;gap:4px}
.r108-proj-num .rot{font-size:.9rem;opacity:.8}
.r108-grande{font-size:2.6rem;line-height:1.1}
.r108-pill{display:inline-block;align-self:flex-start;border-radius:999px;padding:2px 10px;font-size:.85rem;font-weight:600;border:1px solid var(--linha)}
.r108-pill.r108-ok{background:#e3f3ea;color:#0a6b36;border-color:#9fd2b3}
.r108-pill.r108-warn{background:var(--alerta-bg);color:var(--alerta);border-color:var(--alerta-forte)}
.r108-pill.r108-ruim{background:#fbe7e5;color:#a1261c;border-color:#e3a59f}
.r108-graf{width:100%;max-width:880px;height:auto;display:block}
.r108-grade{stroke:var(--linha);stroke-width:1}
.r108-eixo{font-size:11px;fill:currentColor;opacity:.65}
.r108-real-l{fill:none;stroke:var(--marca);stroke-width:3;stroke-linejoin:round;stroke-linecap:round}
.r108-proj-l{fill:none;stroke:var(--marca);stroke-width:2.5;stroke-dasharray:7 6;opacity:.6}
.r108-meta{stroke:var(--alerta-forte);stroke-width:1.5;stroke-dasharray:3 4}
.r108-meta-t{font-size:11px;fill:var(--alerta-forte);font-weight:600}
.r108-ponto{fill:var(--marca);stroke:#fff;stroke-width:2}
.r108-ponto-fim{fill:#fff;stroke:var(--marca);stroke-width:2.5}
.r108-rot-hoje,.r108-rot-fim{font-size:12px;font-weight:700;fill:currentColor}
.r108-legenda{display:flex;gap:16px;flex-wrap:wrap;font-size:.85rem;opacity:.85;margin:0}
.r108-legenda span{display:inline-flex;align-items:center;gap:6px}
.r108-lg{display:inline-block;width:22px;height:0;border-top:3px solid var(--marca)}
.r108-lg-proj{border-top-style:dashed;opacity:.6}
.r108-lg-meta{border-top:2px dotted var(--alerta-forte)}
.r108-premissa{margin:0;padding:8px 12px;border-left:3px solid var(--marca);background:var(--linha-2);border-radius:6px}
/* Inadimplência */
.r108-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px;margin:8px 0 12px}
.r108-tile{display:flex;flex-direction:column;gap:3px;border:1px solid var(--linha);border-radius:12px;padding:10px 14px;text-decoration:none;color:inherit}
.r108-tile .rot{font-size:.85rem;opacity:.8}
.r108-tile b{font-size:1.6rem}
.r108-tile small{opacity:.75}
a.r108-tile:hover{border-color:var(--marca)}
.r108-h4{margin:.6rem 0 .4rem}
.r108-h4 small{font-weight:400;opacity:.7}
.r108-faixas{width:100%;height:22px;display:block;border-radius:6px;overflow:hidden}
.r108-fx1{fill:#e7b84a;background:#e7b84a}
.r108-fx2{fill:#df8a2e;background:#df8a2e}
.r108-fx3{fill:#cc5a2a;background:#cc5a2a}
.r108-fx4{fill:#a52a22;background:#a52a22}
.r108-sw{display:inline-block;width:10px;height:10px;border-radius:3px;margin-right:6px;vertical-align:-1px}
.r108-fx-lista{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:8px;margin-top:8px}
.r108-fx-lista a{display:flex;flex-direction:column;gap:1px;border:1px solid var(--linha);border-radius:10px;padding:8px 10px;text-decoration:none;color:inherit}
.r108-fx-lista a:hover{border-color:var(--marca)}
.r108-fx-lista a span{font-size:1.15rem;font-weight:700}
.r108-fx-lista a small{opacity:.75}
/* Custos: resumo à vista e detalhe recolhido */
.r108-cu-grade{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:18px}
.r108-cu-tab td,.r108-cu-tab th{padding:4px 8px}
.r108-cu-tab a{text-decoration:none;color:inherit}
.r108-cor{margin-right:6px}
.r108-sobe{color:#b3261e;font-weight:600}
.r108-desce{color:#0a7a3f;font-weight:600}
.r108-cu-sub{margin:0;padding-left:1.2rem;display:flex;flex-direction:column;gap:6px}
.r108-cu-sub li span{margin:0 8px}
.r108-dobra{margin:12px 0}
.r108-dobra>summary{cursor:pointer;font-weight:600;padding:10px 14px;border:1px solid var(--linha);border-radius:12px;list-style-position:inside}
.r108-dobra[open]>summary{margin-bottom:10px}
/* Metas do jurídico */
.r108-mj-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px}
.r108-mj-card{border:1px solid var(--linha);border-radius:12px;padding:10px 14px}
.r108-mj-card h4{margin:0 0 6px}
.r108-mj-l{display:flex;flex-direction:column;gap:2px;padding:6px 0;border-top:1px solid var(--linha-2)}
.r108-mj-l:first-of-type{border-top:0}
.r108-mj-l .nome{font-weight:600}
.r108-ritmo{opacity:.85}
@media (prefers-color-scheme:dark){
.r108-pill.r108-ok{background:#123824;color:#8fe0b0;border-color:#2f6f4b}
.r108-pill.r108-ruim{background:#3b1714;color:#f3a69f;border-color:#7a3530}
.r108-ponto{stroke:#0d1413}.r108-ponto-fim{fill:#0d1413}
.r108-sobe{color:#f08a80}.r108-desce{color:#7fd6a3}
}
