.support-panel {
  max-width: 720px;
}

.admin-console {
  display: grid;
  gap: 18px;
}

.admin-summary {
  margin-bottom: 0;
}

.admin-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
  font-size: 14px;
}

.admin-table th,
.admin-table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: var(--navy);
  font-size: 12px;
  text-transform: uppercase;
}

.admin-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 5px 10px;
  background: var(--blue-soft);
  color: var(--navy);
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.admin-ticket-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.admin-ticket-head,
.admin-ticket-actions {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.admin-ticket-actions {
  align-items: center;
  justify-content: end;
  flex-wrap: wrap;
}

.admin-ticket-head h3 {
  margin: 0 0 5px;
  color: var(--navy);
  font-size: 16px;
}

.admin-ticket-head p,
.admin-reply-history p,
.admin-reply-history small {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.admin-ticket-message {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  white-space: pre-wrap;
  line-height: 1.55;
}

.admin-ticket-form {
  display: grid;
  gap: 12px;
  padding-top: 4px;
}

.admin-ticket-form textarea[name="internalNote"] {
  min-height: 80px;
}

.admin-reply-history {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-left: 4px solid var(--blue-soft);
  background: #fbfaf7;
}

.admin-reply-history strong {
  color: var(--navy);
}

.admin-reply-history div {
  display: grid;
  gap: 4px;
}

@media (max-width: 680px) {
  .admin-ticket-head,
  .admin-ticket-actions {
    display: grid;
    justify-content: stretch;
  }
}
