.platform-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  border: 1px solid #d1d5db;
  background: #fff;
  color: #4b5563;
  font-size: 0.875rem;
  line-height: 1.25rem;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

.platform-toggle:hover {
  border-color: #9ca3af;
}

.platform-toggle-dot {
  width: 0.625rem;
  height: 0.625rem;
  flex-shrink: 0;
  border-radius: 9999px;
  border: 1.5px solid currentColor;
  background: transparent;
  transition: background-color 0.15s;
}

.platform-toggle[data-platform-toggle="true"] {
  background: #111827;
  border-color: #111827;
  color: #fff;
}

.platform-toggle[data-platform-toggle="true"] .platform-toggle-dot {
  background: #fff;
}

.platform-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  line-height: 1.25rem;
  font-weight: 500;
}

.platform-badge-tg {
  background: #e0f2fe;
  color: #0369a1;
}

.platform-badge-vk {
  background: #ede9fe;
  color: #6d28d9;
}

.broadcast-editor:empty::before {
  content: attr(data-placeholder);
  color: #9ca3af;
  pointer-events: none;
}

.broadcast-editor b,
.broadcast-editor strong {
  font-weight: 700;
}

.broadcast-editor i,
.broadcast-editor em {
  font-style: italic;
}

@media (max-width: 640px) {
  .responsive-table-wrap {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    overflow-x: visible !important;
  }
  table.responsive-table thead {
    display: none;
  }
  table.responsive-table,
  table.responsive-table tbody,
  table.responsive-table tr,
  table.responsive-table td {
    display: block;
    width: 100%;
  }
  table.responsive-table tbody {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  table.responsive-table tr {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 0.25rem 0.75rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  }
  table.responsive-table td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.5rem 0 !important;
    border: none !important;
    border-bottom: 1px solid #f3f4f6 !important;
    text-align: right;
    white-space: normal;
  }
  table.responsive-table td:last-child {
    border-bottom: none !important;
  }
  table.responsive-table td::before {
    content: attr(data-label) !important;
    font-weight: 500;
    color: #6b7280;
    text-align: left;
    flex-shrink: 0;
  }
  table.responsive-table td.max-w-\[160px\] {
    max-width: none;
  }
}
