/* ============================================================
   ProspectOS Company Intelligence Layer
   ============================================================ */

.ci-filter-card {
  border-top: 1px solid var(--border);
  padding-top: 10px;
}

.ci-filter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.ci-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 10px;
  font-size: 9px;
  font-weight: 800;
  gap: 3px;
  padding: 2px 7px;
  white-space: nowrap;
}

.ci-scale-small { background: #dcfce7; color: #166534; }
.ci-scale-mid { background: #dbeafe; color: #1e40af; }
.ci-scale-large { background: #ffedd5; color: #9a3412; }
.ci-scale-enterprise { background: #fee2e2; color: #991b1b; }
.ci-scale-global { background: #fef3c7; color: #92400e; }

.ci-opp-monitor { background: #f1f5f9; color: #475569; }
.ci-opp-prospect { background: #dcfce7; color: #166534; }
.ci-opp-growth { background: #dbeafe; color: #1e40af; }
.ci-opp-strategic { background: #ffedd5; color: #9a3412; }
.ci-opp-prime { background: #fee2e2; color: #991b1b; }

.ci-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.ci-dash-card {
  background: white;
  border: 1px solid var(--border);
  border-top: 3px solid var(--blue);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 11px;
}

.ci-dash-value {
  color: var(--navy);
  font-size: 20px;
  font-weight: 800;
}

.ci-dash-label {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.ci-mini-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 10px;
}

.ci-mini-table th {
  background: var(--navy);
  color: white;
  padding: 6px;
  text-align: left;
}

.ci-mini-table td {
  border-bottom: 1px solid var(--border);
  padding: 6px;
  vertical-align: top;
}

@media (max-width: 1200px) {
  .ci-dashboard-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
