.company-card {
  background: #fff;
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.company-row {
  border: 0;
  border-radius: 12px;
  background: transparent;
  padding: 0;
}

.company-row--button {
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.company-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.company-row-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.company-row-main {
  flex: 1 1 auto;
  min-width: 0;
}

.company-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.company-row-name {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 3px;
}

.company-row-meta {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
}

.company-row-submeta {
  font-size: 12px;
  color: #64748b;
}

.company-status-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 0 0 auto;
  align-items: flex-end;
  min-width: 64px;
}

.company-status-line {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
}

.company-status-indicator {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  display: inline-block;
  flex: 0 0 auto;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.65);
}

.company-status-indicator--green {
  background: #22c55e;
}

.company-status-indicator--red {
  background: #ef4444;
}

.company-status-indicator--yellow {
  background: #facc15;
}

.company-status-indicator--neutral {
  background: #f8fafc;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.65);
}

.company-row-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.company-card-menu {
  display: flex;
  justify-content: flex-end;
}

.company-access-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
  border-top: 1px solid #eee;
  padding-top: 10px;
}

.company-access-actions button {
  flex: 1 1 180px;
  min-height: 40px;
  border-radius: 10px;
}

@media (max-width: 640px) {
  .company-card {
    padding: 12px;
    border-radius: 14px;
  }

  .company-row-top {
    gap: 10px;
  }

  .company-status-stack {
    min-width: 58px;
  }

  .company-access-actions {
    flex-direction: column;
  }

  .company-access-actions button {
    width: 100%;
    flex: 1 1 auto;
  }

  .company-status-line {
    gap: 6px;
    font-size: 11px;
  }

  .company-status-indicator {
    width: 12px;
    height: 12px;
  }
}
