.consult-help {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  margin: 12px 0 4px;
}

.copy-button {
  background: #fff;
  border: 1px solid #cfd6e1;
  border-radius: 7px;
  color: #344054;
  cursor: pointer;
  font-weight: 750;
  padding: 9px 12px;
}

.copy-button.copied {
  background: #f0fff6;
  border-color: var(--ok);
  color: var(--ok);
}

.history-section {
  border-top: 1px solid var(--line);
  margin-top: 30px;
  padding-top: 4px;
}

.history-filters {
  display: grid;
  gap: 10px;
  grid-template-columns: 2fr repeat(3, 1fr) auto;
  margin-bottom: 14px;
}

.history-summary {
  color: var(--muted);
  font-size: 13px;
  margin: 8px 0;
}

.history-table-wrap {
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow-x: auto;
}

.history-table {
  border-collapse: collapse;
  font-size: 13px;
  min-width: 900px;
  width: 100%;
}

.history-table th,
.history-table td {
  border-bottom: 1px solid var(--line);
  padding: 11px;
  text-align: left;
  white-space: pre-line;
}

.history-table th {
  background: #f8fafc;
  color: #475467;
}

.history-result {
  font-weight: 750;
}

.result-found,
.result-redirected {
  color: var(--ok);
}

.result-denied,
.result-error,
.result-limited,
.result-blocked {
  color: var(--danger);
}

.history-empty {
  color: var(--muted);
  padding: 24px !important;
  text-align: center !important;
}

.history-pagination {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 12px;
}

.history-pagination button:disabled {
  cursor: not-allowed;
  opacity: .45;
}

@media (max-width: 900px) {
  .history-filters {
    grid-template-columns: 1fr;
  }
}
