.stat-card .s-sub { font-size: 11px; color: var(--text-muted); margin-top: 4px; }
.stat-card .s-sub.up { color: var(--green); }
.stat-card .s-sub.warn { color: var(--amber); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.card { background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.card-head { padding: 14px 16px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.card-head h3 { font-size: 13px; font-weight: 600; color: var(--text-primary); }
.card-head .view-all { font-size: 11px; color: var(--accent); cursor: pointer; }
.card-body { padding: 14px 16px; }
.pattern-row { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--border); font-size: 12px; }
.pattern-row:last-child { border-bottom: none; }
.pattern-tag { font-family: var(--font-mono); font-size: 11px; color: var(--accent); background: var(--accent-dim); padding: 2px 7px; border-radius: 4px; flex-shrink: 0; max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pattern-bar-wrap { flex: 1; background: var(--bg-elevated); border-radius: 3px; height: 4px; }
.pattern-bar { background: var(--accent); height: 4px; border-radius: 3px; transition: width .6s ease; }
.pattern-count { color: var(--text-muted); font-size: 11px; min-width: 24px; text-align: right; }
.client-grid { display: flex; flex-direction: column; gap: 6px; }
.client-row { display: flex; align-items: center; gap: 10px; font-size: 12px; }
.client-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.client-name { flex: 1; color: var(--text-secondary); }
.client-count { color: var(--text-primary); font-weight: 500; min-width: 28px; text-align: right; font-variant-numeric: tabular-nums; }
.client-bar-wrap { width: 80px; background: var(--bg-elevated); border-radius: 3px; height: 4px; }
.client-bar { height: 4px; border-radius: 3px; transition: width .6s ease; }
.health-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.health-item { background: var(--bg-elevated); border-radius: var(--radius-sm); padding: 10px 12px; display: flex; align-items: center; justify-content: space-between; }
.health-label { font-size: 12px; color: var(--text-secondary); }
.health-val { font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }
.health-val.good { color: var(--green); }
.health-val.warn { color: var(--amber); }
.health-val.bad { color: var(--red); }
.int-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.int-table th { text-align: left; color: var(--text-muted); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; padding: 8px 12px; border-bottom: 1px solid var(--border); font-weight: 500; }
.int-table td { padding: 9px 12px; border-bottom: 1px solid var(--border); color: var(--text-secondary); }
.int-table tr:last-child td { border-bottom: none; }
.int-table tr:hover td { background: var(--bg-hover); }
.int-badge { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 10px; font-weight: 600; text-transform: uppercase; }
.int-badge.complete { background: var(--green-dim); color: var(--green); }
.int-badge.solid { background: var(--accent-dim); color: var(--accent); }
.int-badge.reference { background: var(--purple-dim); color: var(--purple); }

