.results-panel {
  margin-top: 22px;
}

.results-box {
  min-height: 120px;
  max-height: 300px;
  overflow-y: auto;
  padding: 14px;
  border-radius: 10px;
  background: var(--field);
  border: 1px solid var(--field-border);
  font-family: "SF Mono", "Fira Code", "Fira Mono", "Roboto Mono", monospace;
  font-size: 0.88rem;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-all;
  color: var(--text);
}

.results-empty {
  margin: 0;
  color: var(--muted);
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-style: italic;
}

.results-box::-webkit-scrollbar {
  width: 6px;
}

.results-box::-webkit-scrollbar-track {
  background: transparent;
}

.results-box::-webkit-scrollbar-thumb {
  background: var(--panel-border);
  border-radius: 3px;
}

.copy-button {
  margin-top: 12px;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
  height: 36px;
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  background: var(--panel);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease;
}

.copy-button:hover:not(:disabled) {
  background: var(--field);
  border-color: #454869;
}

.copy-button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.copy-button .button-icon {
  width: 14px;
  height: 14px;
}

.copy-button .button-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.85;
}
