/* Notebook-specific styles for nbconvert output */

.notebook-content .cell {
  margin: 1rem 0;
}

.notebook-content .cell .input,
.notebook-content .cell .output {
  margin: 0.5rem 0;
}

/* Input area */
.notebook-content .input_area {
  background: var(--code-bg);
  border: 1px solid var(--highlight-border);
  border-radius: 4px;
  padding: 0.5rem 0.75rem;
  overflow-x: auto;
}

.notebook-content .input_area pre {
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  font-size: 0.85rem;
}

/* Output area */
.notebook-content .output_area {
  margin-top: 0.35rem;
}

.notebook-content .output_area pre {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
}

/* Output images */
.notebook-content .output_area img {
  max-width: 100%;
  height: auto;
}

/* Output text */
.notebook-content .output_stream,
.notebook-content .output_text {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.4rem 0.75rem;
  white-space: pre-wrap;
  overflow-x: auto;
}

/* Inline markdown images */
.notebook-content img {
  max-width: 100%;
  height: auto;
}

/* ANSI color output */
.notebook-content .ansi-bold { font-weight: bold; }
.notebook-content .ansi-black-fg { color: #3e424d; }
.notebook-content .ansi-red-fg { color: #e75c58; }
.notebook-content .ansi-green-fg { color: #00a250; }
.notebook-content .ansi-yellow-fg { color: #ddb62b; }
.notebook-content .ansi-blue-fg { color: #208ffb; }
.notebook-content .ansi-magenta-fg { color: #d160c4; }
.notebook-content .ansi-cyan-fg { color: #60c6c8; }
.notebook-content .ansi-white-fg { color: #c5c1b4; }

.notebook-content .ansi-black-bg { background-color: #3e424d; }
.notebook-content .ansi-red-bg { background-color: #e75c58; }
.notebook-content .ansi-green-bg { background-color: #00a250; }
.notebook-content .ansi-yellow-bg { background-color: #ddb62b; }
.notebook-content .ansi-blue-bg { background-color: #208ffb; }
.notebook-content .ansi-magenta-bg { background-color: #d160c4; }
.notebook-content .ansi-cyan-bg { background-color: #60c6c8; }
.notebook-content .ansi-white-bg { background-color: #c5c1b4; }
