.panel-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.panel-title h2,
.panel-title p {
  margin: 0;
}

.panel-title p {
  margin-top: 5px;
}

.security-badge {
  border-radius: 999px;
  padding: 6px 10px;
  background: #fff0f2;
  color: #b92738;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.activation-result textarea {
  min-height: 180px;
  resize: vertical;
  font: 13px/1.7 Consolas, monospace;
}

.sensitive-note {
  margin: 10px 0 0;
  color: #a36b18;
  font-size: 11px;
}

.batch-list {
  display: grid;
  gap: 10px;
}

.batch-card {
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 14px;
  background: #fafbfc;
}

.batch-card summary {
  display: grid;
  grid-template-columns: 1.2fr 1fr .6fr 1fr auto;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  list-style: none;
}

.batch-card summary::-webkit-details-marker {
  display: none;
}

.batch-card summary small,
.batch-card summary strong {
  display: block;
}

.batch-card summary small {
  color: var(--muted);
}

.batch-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin: 12px 0 8px;
}

.revoke-batch {
  background: #fff0f2;
  color: #b92738;
}

.batch-codes {
  width: 100%;
  min-height: 130px;
  resize: vertical;
  font: 12px/1.65 Consolas, monospace;
}

@media (max-width: 900px) {
  .batch-card summary {
    min-width: 720px;
  }

  .batch-card {
    overflow-x: auto;
  }
}
