/* Copy-ready code, with usable formatting even when JavaScript is disabled. */
.neural-lab pre {
  box-sizing: border-box;
  max-width: 100%;
  margin: 1.6em 0;
  padding: 22px;
  overflow: auto;
  border: 1px solid #365b4b;
  border-radius: 12px;
  background: #0b1513;
  color: #e1f5e9;
  font: 400 16px/1.75 var(--lab-mono, ui-monospace, Consolas, monospace);
  tab-size: 4;
  white-space: pre;
  overflow-wrap: normal;
  word-break: normal;
  text-align: left;
  scrollbar-color: #547b67 #101e18;
  scrollbar-width: thin;
}
.neural-lab pre code {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  white-space: inherit;
  overflow-wrap: normal;
  word-break: normal;
  text-shadow: none;
}
.neural-lab :not(pre) > code {
  padding: .12em .35em;
  border: 1px solid #345443;
  border-radius: 4px;
  background: #13261d;
  color: #d5ffe2;
  font-family: var(--lab-mono, ui-monospace, Consolas, monospace);
  font-size: .9em;
  overflow-wrap: anywhere;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.neural-lab .abx-code-block {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  margin: 28px 0;
  overflow: hidden;
  border: 1px solid #365b4b;
  border-radius: 12px;
  background: #0b1513;
  box-shadow: 0 10px 26px #0003;
}
.abx-code-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid #2e4c3d;
  background: #14261e;
}
.abx-code-label {
  color: #baffce;
  font: 600 13px/1.6 var(--lab-mono, ui-monospace, Consolas, monospace);
  letter-spacing: .035em;
}
.neural-lab .abx-code-copy {
  flex: none;
  min-width: 82px;
  min-height: 38px;
  margin: 0;
  padding: 7px 14px;
  border: 1px solid #6b9a7e;
  border-radius: 6px;
  background: #203e2e;
  color: #effff3;
  font: 600 14px/1.5 var(--lab-font, Arial, sans-serif);
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
}
.neural-lab .abx-code-copy:hover,
.neural-lab .abx-code-copy:focus-visible {
  border-color: #beffca;
  background: #beffca;
  color: #10271b;
}
.neural-lab .abx-code-copy[data-copied=true] {
  border-color: #beffca;
  background: #beffca;
  color: #10271b;
}
.neural-lab .abx-code-block > pre {
  width: 100%;
  max-height: 40rem;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.abx-code-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.abx-reading-main, .abx-article { min-width: 0; }
@media (max-width: 720px) {
  .neural-lab pre { padding: 18px; font-size: 15px; }
  .abx-code-toolbar { padding: 10px 14px; }
  .neural-lab .abx-code-copy { min-height: 44px; }
}
