:root {
  color-scheme: light dark;
  --bg: #faf8f4;
  --ink: #161614;
  --muted: #57534e;
  --line: #cfc8b8;
  --code-bg: #18181b;
  --code-ink: #f4f4f5;
  --danger-bg: #fee2e2;
  --danger: #991b1b;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #25221e;
    --ink: #eae5dc;
    --muted: #b8b0a4;
    --line: #524b40;
    --code-bg: #141311;
    --code-ink: #eae5dc;
    --danger-bg: #381e1e;
    --danger: #fca5a5;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 10px;
  background: var(--bg);
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.45;
}

.probe-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.probe-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
}

.probe-title {
  font-weight: 600;
  color: var(--ink);
}

.probe-origin {
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--danger-bg);
  color: var(--danger);
  font-weight: 600;
}

.probe-pre {
  margin: 0;
  padding: 10px;
  background: var(--code-bg);
  color: var(--code-ink);
  border: 1px solid var(--line);
  border-radius: 6px;
  white-space: pre-wrap;
  word-break: break-word;
  min-height: 98px;
}
