.jid-cohort-chart { min-width: 0; margin: 14px 0; }
.jid-cohort-chart h4 { margin: 0; font-size: 13px; }
.jid-monthly-process-stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; min-width: 0; }
.jid-monthly-process { --jid-processes: #782783; --jid-cnpjs: #315d97; min-width: 0; }
.jid-monthly-process h3 { font-size: 14px; }
.jid-monthly-process-periods { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.jid-monthly-process-periods small { color: var(--jid-muted); font-size: 11px; }
.jid-monthly-process-legend { display: flex; justify-content: center; gap: 14px; list-style: none; margin: 9px 0 5px; padding: 0; font-size: 11px; }
.jid-monthly-process-legend li { display: flex; align-items: center; gap: 4px; }
.jid-monthly-process-legend i { width: 8px; height: 8px; }
.jid-monthly-process [data-series="processes"] { background: var(--jid-processes); }
.jid-monthly-process [data-series="companies"] { background: var(--jid-cnpjs); }
.jid-monthly-process-scroll { overflow-x: auto; }
.jid-monthly-process-months { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(90px, 1fr); }
.jid-monthly-process-month { text-align: center; }
.jid-monthly-process-bars { display: flex; align-items: end; justify-content: center; gap: 12px; height: 157px; border-bottom: 1px solid var(--jid-border); }
.jid-monthly-process-bar { position: relative; width: 35%; max-width: 26px; }
.jid-monthly-process-bar span { position: absolute; bottom: calc(100% + 3px); left: 50%; transform: translateX(-50%); font-size: 10px; line-height: 1.15; font-variant-numeric: tabular-nums; white-space: nowrap; }
.jid-monthly-process-bar small { display: block; color: var(--jid-muted); font-size: 9px; }
.jid-monthly-process-month time { display: block; padding-top: 3px; font-size: 10px; white-space: nowrap; }
.jid-map-viewport { position: relative; }
.jid-map-tooltip { --jid-tooltip-width: 184px; position: absolute; z-index: 3; box-sizing: border-box; width: min(var(--jid-tooltip-width), calc(100% - 12px)); padding: 6px 8px; border: 1px solid var(--jid-border); border-radius: 6px; background: var(--jid-surface); color: var(--jid-ink); box-shadow: 0 4px 13px #172b3a26; line-height: 1.22; pointer-events: none; }
.jid-map-tooltip[data-above="true"] { transform: translateY(-100%); }
.jid-map-viewport[data-dragging] .jid-map-tooltip { display: none; }
.jid-map-tooltip strong { display: block; font-size: 12px; line-height: 1.2; }
.jid-map-tooltip small { display: block; color: var(--jid-muted); font-size: 10px; }
.jid-map-tooltip table { width: 100%; border-collapse: collapse; margin: 3px 0; font-size: 11px; font-variant-numeric: tabular-nums; }
.jid-map-tooltip :is(th, td) { padding: 1px 0 1px 4px; text-align: right; white-space: nowrap; }
.jid-map-tooltip :is(th, td):first-child { padding-left: 0; text-align: left; }
.jid-map-tooltip thead th { border-bottom: 1px solid var(--jid-border); color: var(--jid-muted); font-weight: 550; }
.jid-map-tooltip tbody th { font-weight: 600; }
.jid-map-tooltip tfoot { border-top: 1px solid var(--jid-border); font-weight: 700; }
.jid-map-tooltip [data-judicial-family="RE"] { --jid-tooltip-dot: #16b8b3; }
.jid-map-tooltip [data-judicial-family="RJ"] { --jid-tooltip-dot: #eaa839; }
.jid-map-tooltip [data-judicial-family="Tutela"] { --jid-tooltip-dot: #9b79f0; }
.jid-map-tooltip [data-judicial-family="Falência"] { --jid-tooltip-dot: #f06b78; }
.jid-map-tooltip [data-judicial-family]::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; vertical-align: 1px; background: var(--jid-tooltip-dot); box-shadow: 0 0 5px var(--jid-tooltip-dot); }
