/* Migración continua: barra con pestañas (enlaces) y selector de proyecto y rama */
.mc-bar { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; justify-content: space-between; margin-bottom: var(--s6); }
.mc-tabs a.tab { font-weight: 600; color: var(--text-muted-strong); padding: 7px 14px; border-radius: var(--r-btn); display: inline-flex; gap: 6px; align-items: center; min-height: 36px; text-decoration: none; }
.mc-tabs a.tab:hover { color: var(--text); }
.mc-tabs a.tab.active { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.mc-scope { display: flex; flex-wrap: wrap; gap: var(--s3); }
.mc-scope select { max-width: 260px; }
/* Piezas comunes de las tres vistas */
.progress-bar { height: 10px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.progress-bar > span { display: block; height: 100%; background: var(--blue); border-radius: inherit; transition: width .3s; }
.progress-bar.good > span { background: var(--ok); }
.delta { font-weight: 600; font-variant-numeric: tabular-nums; }
.delta.bad { color: var(--sev-critical-ink); }
.delta.good { color: var(--ok-ink); }
.delta.flat { color: var(--text-muted); }
.eol-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.eol-badge.eol { background: color-mix(in srgb, var(--sev-critical) 14%, transparent); color: var(--sev-critical-ink); }
.eol-badge.soon { background: color-mix(in srgb, var(--sev-medium) 16%, transparent); color: var(--sev-medium-ink); }
.eol-badge.ok { background: var(--surface-2); color: var(--text-muted-strong); }
.risk-pill { font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; text-transform: capitalize; }
.risk-pill.r-critico { background: #B91C1C; color: #fff; }
.risk-pill.r-alto { background: #9A3412; color: #fff; }
.risk-pill.r-medio { background: color-mix(in srgb, var(--sev-medium) 16%, transparent); color: var(--sev-medium-ink); }
.risk-pill.r-bajo { background: var(--surface-2); color: var(--text); }
.mono { font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, monospace); font-size: 12.5px; }
.chart-box { position: relative; height: 260px; }
.mc-grid-2 > * { min-width: 0; }
.mc-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); }
@media (max-width: 900px) { .mc-grid-2 { grid-template-columns: 1fr; } }
