/* ==========================================================================
   Notebook Styling (clean Jupyter cells for static docs)
   ========================================================================== */

/* Hide prompts — code vs output distinguished by background */
.jp-InputPrompt,
.jp-OutputPrompt {
  display: none !important;
}

/* Code input area layout */
.jp-Cell-inputWrapper {
  display: flex;
}

.jp-InputArea {
  display: flex;
  width: 100%;
}

.jp-InputArea-editor {
  flex: 1;
  min-width: 0;
}

/* Code cell: light gray background */
.jp-CodeCell .highlight-ipynb {
  background: #f7f7f7;
  border: 1px solid #e0e0e0;
  border-radius: 3px;
  margin: 0;
}

/* Output area layout */
.jp-Cell-outputWrapper {
  display: flex;
}

.jp-OutputArea {
  flex: 1;
  min-width: 0;
}

/* Text output: no background */
.jp-RenderedText pre {
  background: none;
  border: none;
  padding: 0.4em 0.75em;
  margin: 0;
}

/* Hide collapsers — not functional in static docs */
.jp-Collapser {
  display: none;
}

/* Cell spacing */
.jp-Cell {
  margin-bottom: 1em;
}

/* Compact Plotly chart spacing */
.jp-OutputArea .js-plotly-plot {
  margin: 0.25em 0 !important;
}

/* Dark mode overrides */
[data-md-color-scheme="slate"] .jp-CodeCell .highlight-ipynb {
  background: #2b2b2b;
  border-color: #404040;
}
