body {
  font-family: monospace;
  max-width: 600px;
  margin: 0 auto;
  padding: 16px;
  background: #fff;
  color: #000;
  font-size: 14px;
  line-height: 1.5;
}

a { color: #00f; }

input, textarea {
  font-family: monospace;
  font-size: 14px;
  border: 1px solid #000;
  padding: 4px;
  width: 100%;
  box-sizing: border-box;
}

textarea { resize: vertical; }

button {
  font-family: monospace;
  font-size: 14px;
  border: 1px solid #000;
  background: #fff;
  padding: 4px 8px;
  cursor: pointer;
}

button:hover { background: #eee; }
button:disabled { color: #999; cursor: default; }

hr { border: none; border-top: 1px solid #000; margin: 12px 0; }

pre {
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0;
  font-size: 13px;
}

.right { text-align: right; }
.muted { color: #666; }
.small { font-size: 12px; }
.row { display: flex; gap: 4px; }
.row input, .row textarea { flex: 1; }
.hidden { display: none; }
.msg { margin-bottom: 8px; }
.msg-user { padding-left: 20px; }
.msg-assistant { padding-right: 20px; }
.tool { background: #f5f5f5; padding: 4px; margin: 2px 0; }
.error { color: red; }

.tip { position: relative; cursor: default; }
.tip:hover::after {
  content: attr(data-tip);
  position: absolute;
  left: 0;
  top: 100%;
  background: #333;
  color: #fff;
  font-size: 11px;
  padding: 2px 6px;
  white-space: nowrap;
  z-index: 1;
}

