
/* Компактные кнопки проверки блока и управления прокси */
#root [data-testid="profiles-table"] .cf-block-button,
#root [data-testid="profiles-table"] .cf-proxy-action {
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 27px!important;
  width:27px!important;
  min-width:27px!important;
  height:27px!important;
  min-height:27px!important;
  padding:0!important;
  gap:0!important;
  border:1px solid #cbdff5!important;
  border-radius:7px!important;
  background:#f0f7ff!important;
  color:#2879c6!important;
  font-size:0!important;
  line-height:0!important;
  box-sizing:border-box!important;
  cursor:pointer;
  transition:background-color .15s,border-color .15s;
}
#root [data-testid="profiles-table"] .cf-block-button::before,
#root [data-testid="profiles-table"] .cf-proxy-action::before {
  content:"";
  display:block;
  width:14px;
  height:14px;
  flex:none;
  background:currentColor;
  -webkit-mask:var(--cf-action-icon) center/contain no-repeat;
  mask:var(--cf-action-icon) center/contain no-repeat;
}
#root [data-testid="profiles-table"] .cf-block-button,
#root [data-testid="profiles-table"] .cf-proxy-action[data-testid^="proxy-check-btn-"] {
  --cf-action-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 7a8 8 0 0 0-14-2L3 8m0-6v6h6M4 17a8 8 0 0 0 14 2l3-3m0 6v-6h-6'/%3E%3C/svg%3E");
}
#root [data-testid="profiles-table"] .cf-proxy-action[data-testid^="proxy-edit-btn-"] {
  --cf-action-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m16 3 5 5L8 21H3v-5L16 3Zm-3 3 5 5M3 21h18'/%3E%3C/svg%3E");
}
#root [data-testid="profiles-table"] .cf-block-button:hover:not(:disabled),
#root [data-testid="profiles-table"] .cf-proxy-action:hover:not(:disabled) {
  background:#e0efff!important;
  border-color:#96bee9!important;
}
#root [data-testid="profiles-table"] .cf-block-button:focus-visible,
#root [data-testid="profiles-table"] .cf-proxy-action:focus-visible {
  outline:2px solid #78b4f0;
  outline-offset:2px;
}
#root [data-testid="profiles-table"] .cf-block-button:disabled,
#root [data-testid="profiles-table"] .cf-proxy-action:disabled {
  opacity:.5!important;
  cursor:default;
}
#root [data-testid="profiles-table"] .cf-proxy-actions {
  gap:6px!important;
  flex-wrap:nowrap!important;
}

/* proxy-result-colors-v1 */
#root [data-testid="profiles-table"] .cf-proxy-action[data-proxy-state="ok"] {
  background:#e8f8ee!important;
  border-color:#9bd5b0!important;
  color:#208649!important;
}
#root [data-testid="profiles-table"] .cf-proxy-action[data-proxy-state="ok"]:hover:not(:disabled) {
  background:#d6f1e1!important;
  border-color:#65ba85!important;
}
#root [data-testid="profiles-table"] .cf-proxy-action[data-proxy-state="error"] {
  background:#fff0f1!important;
  border-color:#efafb7!important;
  color:#ce3e51!important;
}
#root [data-testid="profiles-table"] .cf-proxy-action[data-proxy-state="error"]:hover:not(:disabled) {
  background:#ffe1e5!important;
  border-color:#e28390!important;
}
#root [data-testid="profiles-table"] .cf-proxy-action[aria-busy="true"]::before {
  animation:cf-proxy-check-spin .9s linear infinite;
}
@keyframes cf-proxy-check-spin {
  to {transform:rotate(360deg)}
}
@media(prefers-reduced-motion:reduce) {
  #root [data-testid="profiles-table"] .cf-proxy-action[aria-busy="true"]::before {
    animation:none;
  }
}

/* block-check-spinner-v1 */
#root [data-testid="profiles-table"] .cf-block-button:disabled {
  opacity:1!important;
  background:#e0efff!important;
  border-color:#82b8ee!important;
  color:#147ce0!important;
  cursor:progress!important;
}
#root [data-testid="profiles-table"] .cf-block-button:disabled::before {
  transform-origin:center;
  animation:cf-block-check-spin .85s linear infinite!important;
}
@keyframes cf-block-check-spin {
  from { transform:rotate(0deg); }
  to   { transform:rotate(360deg); }
}
@media (prefers-reduced-motion:reduce) {
  #root [data-testid="profiles-table"] .cf-block-button:disabled::before {
    animation:none!important;
  }
}
