/* Workflow Intelligence — Phase A */

.wf-tabs {
    display: flex; gap: 4px;
    border-bottom: 1px solid var(--border-color, rgba(0,0,0,.08));
    padding-bottom: 0; flex-wrap: wrap;
}
.wf-tab {
    background: none; border: 0; padding: 10px 16px;
    font-size: 13.5px; font-weight: 600; color: var(--text-muted);
    cursor: pointer; border-bottom: 2px solid transparent;
    transition: all .18s ease;
    display: inline-flex; align-items: center; gap: 8px;
}
.wf-tab:hover { color: var(--text-primary); }
.wf-tab.active { color: #f59e0b; border-bottom-color: #f59e0b; }

.wf-bytype { display: flex; flex-direction: column; gap: 10px; padding: 6px 0; }
.wf-bytype-row {
    display: grid; grid-template-columns: 250px 1fr;
    align-items: center; gap: 14px;
}
.wf-bytype-label { font-size: 13px; font-weight: 500; }
.wf-bytype-bars { display: flex; gap: 6px; }
.wf-bytype-bar {
    height: 22px; min-width: 24px;
    display: inline-flex; align-items: center; justify-content: center;
    color: white; font-weight: 600; font-size: 12px;
    border-radius: 6px; padding: 0 8px;
}
.wf-bytype-bar-violated { background: #dc2626; }
.wf-bytype-bar-warning { background: #f59e0b; }

.wf-patterns { display: flex; flex-direction: column; gap: 8px; }
.wf-pattern-row {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 14px;
    background: rgba(124,58,237,.06);
    border-radius: 10px;
}
.wf-pattern-main { flex: 1; }
