.page-wide {
  max-width: 1200px;
}

.admin-header {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

.admin-header input {
  flex: 1;
  margin: 0;
}

.admin-header button {
  width: auto;
  margin: 0;
  white-space: nowrap;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid #e5e7eb;
}

.admin-table thead th {
  font-weight: 700;
  color: #6b7280;
  font-size: 0.85rem;
  text-transform: uppercase;
}

.user-row {
  cursor: pointer;
}

.user-row:hover {
  background: #f5f7fa;
}

.channel-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.channel-actions {
  display: flex;
  gap: 8px;
}

.channel-actions button {
  width: auto;
  margin: 0;
  padding: 6px 12px;
  font-size: 0.85rem;
}

.channel-actions button.danger {
  background: #dc2626;
}

.channel-actions button.danger:hover {
  background: #b91c1c;
}

.posts-sub {
  margin-top: 6px;
  font-size: 0.85rem;
  color: #6b7280;
}

#detail-section button#close-detail {
  width: auto;
  margin-bottom: 16px;
}

.plan-form {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.plan-form select,
.plan-form input {
  width: auto;
  margin: 0;
}

.inline-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0;
}

.inline-label input {
  width: 90px;
}

.plan-form button,
.admin-form button {
  width: auto;
  margin: 0;
  padding: 10px 16px;
}

.admin-form {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.admin-form input {
  flex: 1;
  margin: 0;
  width: auto;
}

button.secondary {
  background: #6b7280;
}

button.secondary:hover {
  background: #4b5563;
}

.hint {
  color: #6b7280;
  font-size: 0.9rem;
}
