/* Only the action buttons in the agent/partner details table are restyled. */
.shell.admin-workspace.admin-workspace:has(.owner-ws-header) .console-v3.console-agents .cv-table .cv-row-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  min-width: 230px;
  max-width: 480px;
}
.shell.admin-workspace.admin-workspace:has(.owner-ws-header) .console-v3.console-agents .cv-table .cv-row-actions > button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid var(--admin-soft-border, #dcd9ff);
  border-radius: 8px;
  background: var(--admin-soft, #f0efff);
  color: var(--admin-accent, #5642c9);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  cursor: pointer;
  transition: filter .15s ease, box-shadow .15s ease;
}
.shell.admin-workspace.admin-workspace:has(.owner-ws-header) .console-v3.console-agents .cv-table .cv-row-actions > button:hover:not(:disabled) {
  filter: brightness(.96);
  box-shadow: 0 3px 8px rgba(32, 44, 70, .08);
}
.shell.admin-workspace.admin-workspace:has(.owner-ws-header) .console-v3.console-agents .cv-table .cv-row-actions > button:focus-visible {
  outline: 2px solid var(--admin-accent, #5642c9);
  outline-offset: 2px;
}
.shell.admin-workspace.admin-workspace:has(.owner-ws-header) .console-v3.console-agents .cv-table .cv-row-actions > button:disabled {
  opacity: .48;
  cursor: not-allowed;
  box-shadow: none;
}
/* Keep the existing delete action visually distinct. */
.shell.admin-workspace.admin-workspace:has(.owner-ws-header) .console-v3.console-agents .cv-table .cv-row-actions > button.cv-danger {
  background: #fff1f2;
  border-color: #fecdd3;
  color: #b42336;
}
.shell.admin-workspace.admin-workspace:has(.owner-ws-header) .console-v3.console-agents .cv-table .cv-row-actions > button.cv-danger:hover:not(:disabled) {
  background: #ffe4e8;
}
@media (max-width: 700px) {
  .shell.admin-workspace.admin-workspace:has(.owner-ws-header) .console-v3.console-agents .cv-table .cv-row-actions { min-width: 210px; gap: 6px; }
  .shell.admin-workspace.admin-workspace:has(.owner-ws-header) .console-v3.console-agents .cv-table .cv-row-actions > button { min-height: 34px; padding: 6px 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .shell.admin-workspace.admin-workspace:has(.owner-ws-header) .console-v3.console-agents .cv-table .cv-row-actions > button { transition: none; }
}
