.cab-ol { max-width: 1100px; }
.cab-kicker { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 4px; color: var(--muted); }
.cab-nav, .cab-tabs {
  margin-bottom: 14px;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  white-space: nowrap;
  gap: 6px;
}
.cab-nav .btn, .cab-tabs .btn { flex: 0 0 auto; }
.cab-kpi { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; margin: 14px 0; }
.cab-kpi .card { padding: 10px 12px; }
.cab-kpi b { font-size: 20px; }
.cab-chart { margin-top: 12px; }
.cab-bars { display: flex; gap: 4px; align-items: flex-end; height: 120px; margin-top: 12px; overflow-x: auto; }
.cab-bar { flex: 1; min-width: 18px; display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; justify-content: flex-end; }
.cab-bar i { display: block; width: 100%; max-width: 24px; background: var(--ink, #315cff); border-radius: 4px 4px 0 0; min-height: 4px; }
.cab-bar small { font-size: 9px; color: var(--muted); transform: rotate(-45deg); white-space: nowrap; }
.cab-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.cab-form .field.chk { flex-direction: row; align-items: center; gap: 8px; }
.cab-list-row { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--line); }
.cab-list-row b { flex: 1; }
.cab-add { display: flex; flex-direction: column; gap: 8px; }
.cab-agents { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-top: 14px; }
.cab-agents-featured { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.cab-agents-h { font-size: 14px; margin: 20px 0 0; font-weight: 600; }
.cab-agent { text-decoration: none; color: inherit; padding: 16px; border-top: 3px solid var(--line); }
.cab-agent-featured { min-height: 132px; }
.cab-agent-metric { font-size: 12px; margin: 6px 0 0; color: var(--text); }
.cab-agent-teal { border-top-color: #14b8a6; }
.cab-agent-violet { border-top-color: #a78bfa; }
.cab-agent-purple { border-top-color: #c084fc; }
.cab-agent-amber { border-top-color: #fbbf24; }
.cab-agent-sky { border-top-color: #38bdf8; }
.cab-agent-cyan { border-top-color: #22d3ee; }
.cab-agent-emerald { border-top-color: #34d399; }
.cab-agent-rose { border-top-color: #fb7185; }
.cab-agent-st { font-size: 11px; color: var(--muted); }

.ws-shell { margin-bottom: 12px; }
.ws-shell-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.ws-shell-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ws-kicker { font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }
.ws-stat { font-size: 12px; }
.ws-assist { margin: 0 0 12px; padding: 10px 12px; }
.ws-assist summary { cursor: pointer; font-weight: 600; font-size: 13px; }
.ws-assist-form { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; align-items: flex-start; }
.ws-assist-form textarea { flex: 1 1 220px; min-height: 56px; }
.ws-assist-out { margin-top: 8px; white-space: pre-wrap; font-size: 13px; }
.chip-ok { background: #dcfce7; color: #166534; }
.chip-err { background: #fee2e2; color: #991b1b; }
.wf-stages { display: flex; gap: 10px; overflow-x: auto; padding: 8px 0; margin: 12px 0; }
.wf-stage { min-width: 140px; padding: 12px; border-radius: 12px; border-top: 3px solid var(--wf-color, #64748b); background: var(--surface-2); }
.wf-stage b { display: block; font-size: 13px; }
.wf-queue { display: flex; flex-direction: column; gap: 10px; }
.wf-item { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; flex-wrap: wrap; }
.wf-modes { margin: 10px 0; flex-wrap: wrap; }
.chip-warn { background: #fef3c7; color: #92400e; }
.cab-team-invite { margin: 14px 0; }
.team-invite-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin-top: 10px; }
.team-invite-row .field { min-width: 160px; flex: 1; }
.team-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.team-table .team-role { max-width: 120px; }
@media (max-width: 860px) {
  .cab-grid-2 { grid-template-columns: 1fr; }
}
