/* ---------- Results Panel ---------- */

.results-panel {
  overflow: hidden;
  background: var(--bg-secondary);
  padding: 8px 0;
}

.result-line {
  padding: 0 12px;
  font-family: var(--mono);
  font-size: var(--editor-font-size, 15px);
  line-height: 1.6;
  height: calc(var(--editor-font-size, 15px) * 1.6);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- Type-Specific Colors ---------- */

.result-value {
  font-weight: 400;
  cursor: pointer;
  transition: color 0.15s;
}

.result-value:hover {
  filter: brightness(1.2);
}

.result-number {
  color: var(--result-number, var(--text));
}

.result-unit {
  color: var(--result-unit, #0d9488);
}

.result-currency {
  color: var(--result-currency, #d97706);
}

.result-datetime {
  color: var(--result-datetime, #7c3aed);
}

.result-boolean {
  color: var(--result-boolean, var(--accent));
}

/* ---------- Copy Feedback ---------- */

.result-value.copied {
  color: var(--success) !important;
  font-weight: 500;
}

/* ---------- Error Hint ---------- */

.result-error-hint {
  color: var(--text);
  opacity: 0.25;
  font-size: 13px;
  font-family: var(--sans);
}

/* ---------- Comment/Heading Marker ---------- */

.result-marker {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.result-dash {
  display: inline-block;
  width: 60%;
  height: 1px;
  background: var(--border);
  opacity: 0.4;
  font-size: 0;
  overflow: hidden;
}

/* ---------- Empty ---------- */

.result-empty {
  /* intentionally blank */
}

/* ---------- Stripes ---------- */

.result-stripe {
  background: var(--stripe, rgba(0, 0, 0, 0.02));
}

/* ---------- Responsive ---------- */

@media (max-width: 768px) {
  .results-panel {
    display: none;
  }
}
