/* User Provided Stylesheet */

/* Prevent horizontal scrolling */
html {
  overflow-x: hidden;
}

/* Thebe / in-page execution output — single clean container */
.thebe-output {
  color: var(--pst-color-text-base, #000);
  background: var(--pst-color-surface, #f8f9fb);
  padding: 0.75em 1em;
  margin-top: 0.4em;
  border: 1px solid var(--pst-color-border, #d0d5dd);
  border-left: 4px solid var(--pst-color-primary, #3b82f6);
  border-radius: 6px;
  font-size: 0.95em;
  line-height: 1.45;
}

/* Reset inner Jupyter wrappers to avoid nesting */
.thebe-output .jp-OutputArea-output,
.thebe-output .jp-RenderedText,
.thebe-output pre {
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
}


/* Ensure full-width elements don't exceed 100% of the screen width 
.full-width {
    max-width: 100vw;
    box-sizing: border-box;
}
*/

/* Constrain main content width 
.bd-main .bd-content .bd-article-container {
  max-width: 900px;   
  margin-left: auto;
  margin-right: auto;
}
*/

/* Make code blocks wrap instead of forcing horizontal scroll 
pre, code {
  white-space: pre-wrap;
  word-wrap: break-word;
}
*/ 

/* Ensure images never overflow 
img {
  max-width: 100%;
  height: auto;
}
*/
