/* overview.css — Analytics › Overview (release 2026-10-14). Builds on .sm-* (bf-analytics.css), the scope tiles
   (.np-*, npt-analytics.css) and the doughnut legend (.vb-*, vendor-bench.css). */
.ov2 .ov2-good, .ov2 .sm-d.ov2-good { color: #1f7a3f; }
.ov2 .ov2-bad, .ov2 .sm-d.ov2-bad { color: #b3261e; }
.ov2 .fs-muted { color: var(--bf-muted, #56655D); font-weight: 400; }
.ov2 .sm-panel, .ov2 { display: flex; flex-direction: column; gap: 14px; }
.ov2-tiles { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.ov2-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .ov2-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ov2-kpi-ok > b { color: #1f7a3f; }
.ov2-kpi-bad { border-color: #F1B8B3; background: #FFF8F7; }
.ov2-kpi-bad > b { color: #b3261e; }
.ov2-alert { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid #F3D9A4; border-left: 4px solid #d97706; border-radius: 10px; background: #FFF9EC; color: #6b4700; font-size: 13px; }
.ov2-alert .bi { font-size: 16px; color: #d97706; }
.ov2-alert > span { flex: 1; }

/* rows: same columns on every row, cards of a row share one height */
.ov2 .sm-grid2.ov2-row { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: stretch; }
.ov2 .sm-grid2.ov2-row.ov2-eq { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 1200px) { .ov2 .sm-grid2.ov2-row, .ov2 .sm-grid2.ov2-row.ov2-eq { grid-template-columns: 1fr; } }
.ov2-row > .sm-card { display: flex; flex-direction: column; min-width: 0; }
.ov2-row > .sm-card > .vb-donut, .ov2-row > .sm-card > .sm-chart { flex: 1; }
.ov2-chart-m { height: 300px; }
.ov2 .ov2-h { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.ov2 .ov2-h > div { min-width: 0; }
.ov2-jump { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border: 1px solid var(--bf-line, #DCE3DF); border-radius: 8px; background: #fff; font-size: 12.5px; font-weight: 500; color: var(--bf-ink, #15201A); }
.ov2-jump:hover { border-color: #9FC7B1; background: #F7FAF8; }
.ov2-jump .bi { color: var(--bf-muted, #56655D); }

/* ranked bars (main operations, causes, categories) */
.ov2-bars { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ov2-bars li { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) 92px; gap: 10px; align-items: center; font-size: 13px; }
.ov2-bl { min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.ov2-bl b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ov2-bl small { font-size: 11px; color: var(--bf-muted, #56655D); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ov2-bt { height: 8px; background: #EEF2EF; border-radius: 4px; overflow: hidden; }
.ov2-bt span { display: block; height: 100%; border-radius: 4px; }
.ov2-bv { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.ov2-bv small { margin-left: 6px; font-weight: 400; font-size: 11px; color: var(--bf-muted, #56655D); }

/* tables: bars left-aligned so every bar starts at the same x */
.ov2 th.ov2-barcol, .ov2 td.ov2-barcol { padding-left: 18px; }
.ov2-cell { display: inline-grid; grid-template-columns: 96px auto; align-items: center; column-gap: 8px; }
.ov2-cell > b { font-weight: 600; font-variant-numeric: tabular-nums; }
.ov2-cb { display: block; width: 96px; height: 6px; border-radius: 3px; background: #EEF2EF; overflow: hidden; }
.ov2-cb span { display: block; height: 100%; border-radius: 3px; background: #2a78d6; }
.ov2-cb-e span { background: #1baf7a; }
.ov2-cell.ov2-bad .ov2-cb-e span { background: #e5484d; }
.ov2-co-n { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.ov2-co-n b { font-weight: 600; }
.ov2-co-n small { font-size: 11px; color: var(--bf-muted, #56655D); }
.ov2-logo { width: 24px; height: 24px; object-fit: contain; border-radius: 6px; background: #fff; border: 1px solid var(--bf-line, #DCE3DF); flex-shrink: 0; }
.ov2-mono { width: 24px; height: 24px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: 9.5px; font-weight: 700; color: #fff; flex-shrink: 0; }
.ov2-more { display: inline-block; margin: 8px 4px 0; font-size: 12.5px; }
.ov2-skel > div { border-radius: 8px; background: linear-gradient(90deg, #F1F4F2 25%, #F7F9F8 50%, #F1F4F2 75%); background-size: 200% 100%; animation: ov2-sh 1.4s infinite linear; }
@keyframes ov2-sh { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .ov2-skel > div { animation: none; } }
.ov2 .vb-donut-lg .vb-lg-row span, .ov2 .vb-donut-lg .vb-lg-row em { white-space: nowrap; }

/* 2026-10-25: portfolio full width — donut left, every company listed in columns (no inner scroll, no overlap) */
.ov2 .vb-lg-row { grid-template-columns: 10px minmax(0, 1fr) auto auto; }
.ov2 .vb-lg-row b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.ov2 .vb-donut.ov2-port { grid-template-columns: 240px minmax(0, 1fr); gap: 24px; }
.ov2 .ov2-port .vb-donut-c { height: 240px; }
.ov2 .ov2-port .vb-donut-lg { display: block; columns: 3 230px; column-gap: 22px; max-height: none; overflow: visible; }
.ov2 .ov2-port .vb-lg-row { break-inside: avoid; padding: 5px 6px; }
.ov2-chart-w { height: 260px; }
@media (max-width: 700px) { .ov2 .vb-donut.ov2-port { grid-template-columns: 1fr; } }
