/* Use the homepage’s full-width canvas without a second texture or a fade. */
.bs-stage[data-scene-layout] {
  background: #211b3a;
}

.bs-stage[data-scene-layout] > .binary-backdrop {
  opacity: 1;
  mask-image: none;
}

.bs-demo-cursor {
  position: absolute;
  inset: 0 auto auto 0;
  z-index: 9;
  pointer-events: none;
}

.bs-demo-cursor svg {
  display: block;
  width: 36px;
  height: 42px;
  overflow: visible;
  transform-origin: 4px 3px;
  filter: drop-shadow(0 3px 4px #211b3a55);
  transition: transform 140ms ease;
}

.bs-demo-cursor path:first-child {
  fill: #163d60;
  stroke: #fff;
  stroke-width: 3;
  stroke-linejoin: round;
  paint-order: stroke fill;
}

.bs-demo-cursor path:last-child {
  fill: #b9fb74;
}

.bs-demo-cursor.is-pressing svg { transform: scale(.84); }
.bs-fact.is-demo-linked { box-shadow: 0 0 0 2px #398b66; }
.bs-result [data-span-facts].is-demo-linked {
  background: #dcefe2;
  box-decoration-break: clone;
}

.bs-stage[data-scene-layout] .bs-result [data-scene-draft] {
  font-size: clamp(20px, 1.8vw, 23px);
  line-height: 1.56;
}

@media (prefers-reduced-motion: reduce) {
  .bs-demo-cursor { display: none; }
}

@media (min-width: 1101px) {
  .bs-stage[data-scene-layout] .bs-composition {
    grid-template-columns: minmax(0, 1fr) 180px minmax(0, 1fr);
    align-items: stretch;
  }

  .bs-stage[data-scene-layout] :is(.bs-knowledge, .bs-result) {
    display: flex;
    flex-direction: column;
    padding: clamp(18px, 1.6vw, 24px);
  }

  .bs-stage[data-scene-layout] .bs-bridge {
    align-self: center;
    padding-top: 0;
  }

  .bs-stage[data-scene-layout] .bs-owner-review {
    margin-top: auto !important;
  }

  .bs-stage[data-scene-layout] .bs-source-note {
    margin-top: auto;
    padding-top: 12px;
  }
}

@media print {
  .bs-stage[data-scene-layout] > .binary-backdrop { display: none; }
}
