/* Admin panel */
.admin-content { margin-top: 20px; }
.admin-badge { display: inline-block; min-width: 18px; padding: 1px 6px; border-radius: 10px; background: var(--brand, #ffc038); color: #1a1a1a; font-size: 12px; font-weight: 600; text-align: center; }
.admin-address-form { max-width: 520px; margin-bottom: 28px; }
.admin-address-form .transfer-accounts { display: flex; gap: 14px; }
.admin-address-form .transfer-accounts label { flex: 1; }
.admin-address-list { margin: 14px 0; padding: 14px; border: 1px solid var(--line, #e5e6eb); border-radius: 10px; }
.admin-address-list h3 { margin: 0 0 10px; font-size: 15px; }
.admin-address-list p { display: flex; align-items: center; gap: 10px; margin: 8px 0; flex-wrap: wrap; }
.admin-address-list p strong { min-width: 170px; font-weight: 500; }
.admin-address-list p .deposit-address { font-family: monospace; font-size: 13px; word-break: break-all; }

/* Admin: copy account moves. */
.admin-pulse-live {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--account-control);
  font-size: 11.5px;
  font-weight: 600;
}
.admin-pulse-log {
  display: grid;
  gap: 6px;
  padding: 6px 0 12px;
}
.admin-pulse-log > div {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
}
.admin-pulse-log small {
  color: var(--account-muted);
}

/* Admin copy moves: actions line up under Controls, the level itself is the affordance. */
.admin-pulse-line {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 3px 0 3px 4px;
}
.admin-pulse-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}
.admin-level {
  padding: 2px 0;
  border: 0;
  background: transparent;
  font: inherit;
  color: inherit;
  border-bottom: 1px dashed #c9d2c6;
  cursor: pointer;
}
.admin-level:hover { color: #3f6b00; border-bottom-color: #3f6b00; }
.admin-pulse-controls { display: flex; align-items: center; gap: 8px; }
.account-local-note { font-size: 13.5px; color: #4a5560; }

/* Sub-rows belong to the account above them: indent, mark, and keep actions on one line. */
.admin-pulse-sub > td { padding-top: 2px; padding-bottom: 10px; }
.admin-pulse-line {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  padding-left: 2px;
}
.admin-pulse-line::before { content: "↳"; color: #9aa79a; }
.admin-pulse-actions { display: flex; gap: 10px; align-items: center; justify-content: flex-end; }
.admin-pulse-sub .copy-btn { padding: 3px 9px; font-size: 12px; }
.admin-pulse-row td { border-bottom: 0; }

.copy-btn.danger {
  border: 1px solid #f0cfcf;
  background: #fff;
  color: #a33232;
}
.admin-level {
  border-bottom: 1px dotted #b9c4b6;
  cursor: pointer;
}
.admin-pulse-sub > td:last-child { white-space: nowrap; }

/* The users table must fit the panel: six short columns need no sideways hint. */
.admin-content table.account-table th,
.admin-content table.account-table td { padding: 8px 10px; }
.admin-content table.account-table td small { white-space: nowrap; }

.admin-content table.account-table td.admin-user-cell {
  max-width: 230px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.admin-content table.account-table td.admin-user-cell small { display: block; }
