.companies-monitor-card {
  padding: 14px;
}

.companies-monitor-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.companies-monitor-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: #f8fafc;
  color: #0f172a;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.companies-monitor-row strong {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
}

.companies-monitor-row--active {
  border-color: #2563eb;
  background: rgba(37, 99, 235, 0.08);
}

.companies-filter-card {
  padding: 14px;
}

.companies-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.companies-filter-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}

.company-info-item,
.employee-detail-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  max-width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.company-info-item span,
.employee-detail-item span {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
}

.company-info-item strong,
.employee-detail-item strong {
  font-size: 14px;
  color: #0f172a;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.company-info-line {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  min-width: 0;
}

.company-info-value {
  min-width: 0;
  flex: 1 1 auto;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.company-copy-btn {
  min-width: 104px;
  min-height: 34px;
  padding: 0 10px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: #475569;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.company-copy-btn:hover {
  background: rgba(241, 245, 249, 0.98);
  color: #334155;
  border-color: rgba(148, 163, 184, 0.28);
}

.company-copy-btn:active {
  transform: scale(0.97);
}

.company-copy-btn:disabled {
  cursor: default;
  opacity: 0.55;
}

.company-info-item--wide {
  grid-column: 1 / -1;
}

.company-pkd-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.company-pkd-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
  font-size: 13px;
  color: #0f172a;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.company-pkd-item::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-radius: 999px;
  background: #cbd5e1;
  flex: 0 0 auto;
}

.company-pkd-item--primary::before {
  background: #2563eb;
}

.company-pkd-empty {
  font-size: 13px;
  color: #64748b;
}

.status-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}

.dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  opacity: 1;
  border: 2px solid transparent;
  cursor: pointer;
  transition: opacity 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.dot:hover:not(:disabled) {
  transform: scale(1.04);
}

.dot:disabled {
  cursor: default;
}

.dot.red {
  background: #ff4d4f;
}

.dot.green {
  background: #52c41a;
}

.dot.active {
  opacity: 1;
  border: 2px solid #000;
}

.status-toggle .dot:not(.active) {
  opacity: 0.45;
}

@media (max-width: 640px) {
  .companies-filter-bar {
    flex-direction: column;
    align-items: stretch;
  }
}
