/* Quiet chapter separation; scientific panels and navigation retain their own surfaces. */
:root {
  --section-wash: #f8f7fa;
}

[data-section-surface="soft"],
.platform-workflow [data-section-surface="soft"] {
  background: var(--section-wash);
}

/* Extend editorial chapters without changing their content width or sticky geometry. */
[data-section-surface="bleed"] {
  position: relative;
  isolation: isolate;
}

[data-section-surface="bleed"]::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--section-wash);
  /* Paint beyond the column without a viewport-wide box that could add a scrollbar. */
  box-shadow: 0 0 0 100vmax var(--section-wash);
  clip-path: inset(0 -100vmax);
}

/* Training and validation form one chapter between the two tinted platform stages. */
.platform-learning,
.platform-verification {
  background: #fff;
}
