/* MOT bay showroom — 3D stage chrome. The stage is always dark, so literals, not theme tokens (those invert in light mode). */
:where(#bay-stage) { min-height: min(72vh, 680px); }
#bay-stage {
  position: relative; overflow: hidden; isolation: isolate;
  background: #0E0F11; border-radius: 14px;
  --bay-n0: #0E0F11; --bay-n1: #16181B; --bay-n2: #1D2024;
  --bay-n3: #25292E; --bay-n4: #30353B; --bay-n5: #4A5058;
  --bay-n6: #8A919A; --bay-n7: #B9BFC6; --bay-n8: #F2F4F6;
}
#bay-stage .bay-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; outline: none; }
#bay-stage.is-hovering .bay-canvas { cursor: pointer; }
#bay-stage::after { /* soft vignette so the diorama sits in the dark */
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(14, 15, 17, .72) 100%);
}
#bay-stage .bay-nogl { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; padding: 24px; text-align: center; color: var(--bay-n6); font: 400 15px/1.5 Inter, system-ui, sans-serif; }

.bay-pins { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.bay-pin {
  position: absolute; left: 0; top: 0; pointer-events: auto; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 3px; border-radius: 999px;
  background: rgba(22, 24, 27, .82); color: var(--bay-n8); border: 1px solid var(--bay-n4);
  font: 500 11.5px/1 Inter, system-ui, sans-serif; letter-spacing: .01em; white-space: nowrap;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: background .15s, border-color .15s, color .15s; will-change: transform;
}
.bay-pin__n { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--bay-n4); color: var(--bay-n8); font-weight: 700; font-size: 11px; }
.bay-pin::after { content: ""; position: absolute; left: 13px; bottom: -6px; width: 1px; height: 6px; background: var(--bay-n6); }
.bay-pin:hover, .bay-pin.is-hover { background: var(--bay-n3); border-color: var(--bay-n6); }
.bay-pin.is-active { background: var(--bay-n8); color: var(--bay-n0); border-color: var(--bay-n8); }
.bay-pin.is-active .bay-pin__n { background: var(--bay-n0); color: var(--bay-n8); }
@media (max-width: 760px) {
  .bay-pin { padding: 0; border-radius: 50%; }
  .bay-pin__t { display: none; }
  .bay-pin::after { left: 50%; }
  .bay-pin__n { width: 24px; height: 24px; }
}

.bay-tools { position: absolute; left: 12px; top: 12px; right: 12px; z-index: 3; display: flex; flex-wrap: wrap; gap: 6px; pointer-events: none; }
.bay-tools > * { pointer-events: auto; }
.bay-home {
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
  font: 500 12px/1 Inter, system-ui, sans-serif; color: var(--bay-n7); background: rgba(22, 24, 27, .82);
  border: 1px solid var(--bay-n4); border-radius: 8px; padding: 8px 12px; backdrop-filter: blur(6px);
}
.bay-home:hover { color: var(--bay-n8); border-color: var(--bay-n6); }

.bay-panel {
  position: absolute; z-index: 4; display: flex; flex-direction: column; outline: none;
  right: 14px; top: 14px; bottom: 14px; width: min(400px, 42%);
  background: rgba(29, 32, 36, .96); color: var(--bay-n8); border: 1px solid var(--bay-n4); border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font: 400 15px/1.55 Inter, system-ui, sans-serif;
  animation: bay-in .22s ease-out both;
}
.bay-panel[hidden] { display: none; }
.bay-panel__bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px 8px 18px; }
.bay-panel__step { font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--bay-n6); }
.bay-panel__close, .bay-panel__foot button {
  font: 500 13px/1 Inter, system-ui, sans-serif; color: var(--bay-n7); background: transparent; cursor: pointer;
  border: 1px solid var(--bay-n4); border-radius: 8px; padding: 8px 11px; min-height: 36px;
}
.bay-panel__close:hover, .bay-panel__foot button:hover { color: var(--bay-n8); border-color: var(--bay-n6); background: var(--bay-n3); }
.bay-panel__body { flex: 1; overflow-y: auto; padding: 4px 20px 18px; overscroll-behavior: contain; }
.bay-panel__body h1, .bay-panel__body h2, .bay-panel__body h3 { font: 650 20px/1.25 Inter, system-ui, sans-serif; margin: 4px 0 10px; color: var(--bay-n8); }
.bay-panel__body p { margin: 0 0 12px; color: var(--bay-n7); }
.bay-panel__body a { color: var(--bay-n8); }
.bay-panel__foot { display: flex; justify-content: space-between; gap: 8px; padding: 10px 14px 14px; border-top: 1px solid var(--bay-n3); }
.bay-home[aria-pressed="true"] { color: var(--bay-n8); border-color: var(--bay-n6); }
/* Icons drawn in CSS so no extra requests. */
.bay-full__i { width: 11px; height: 11px; border: 1.5px solid currentColor; border-radius: 2px; clip-path: polygon(0 0,40% 0,40% 15%,15% 15%,15% 40%,0 40%,0 60%,15% 60%,15% 85%,40% 85%,40% 100%,60% 100%,60% 85%,85% 85%,85% 60%,100% 60%,100% 40%,85% 40%,85% 15%,60% 15%,60% 0,100% 0,100% 100%,0 100%); }
.bay-voice__i { width: 12px; height: 12px; background: currentColor; clip-path: polygon(0 35%,30% 35%,65% 5%,65% 95%,30% 65%,0 65%); }
.bay-voice[aria-pressed="false"] .bay-voice__i { opacity: .45; }

/* Full screen. :fullscreen fills the screen via the UA sheet; .is-max is the CSS fallback (iPhone has no element fullscreen). */
#bay-stage:fullscreen { border-radius: 0; border: 0; }
#bay-stage:-webkit-full-screen { border-radius: 0; border: 0; width: 100%; height: 100%; }
.showroom #bay-stage.is-max {
  position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100dvh; min-height: 0; margin: 0;
  border: 0; border-radius: 0; z-index: 2147483000;
}
html.bay-max-open, html.bay-max-open body { overflow: hidden; }

.bay-panel :focus-visible, .bay-home:focus-visible, .bay-pin:focus-visible { outline: 2px solid var(--bay-n8); outline-offset: 2px; }

.bay-panel.is-sheet { left: 8px; right: 8px; top: auto; bottom: 8px; width: auto; max-height: 46%; height: auto; animation-name: bay-up; }
@keyframes bay-in { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
@keyframes bay-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .bay-panel { animation: none; } .bay-pin { transition: none; } }

/* The stage is always dark: pin the chrome colours so site-wide light-theme rules cannot dim them. */
#bay-stage .bay-pin .bay-pin__n { color: #F2F4F6 !important; }
#bay-stage .bay-pin.is-active .bay-pin__n { color: #F2F4F6 !important; background: #0E0F11; }
#bay-stage .bay-pin, #bay-stage .bay-home { color: #F2F4F6; }
#bay-stage .bay-pin.is-active { color: #0E0F11; }
#bay-stage .bay-home { color: #B9BFC6; }
#bay-stage .bay-panel { color: #F2F4F6; }
#bay-stage .bay-panel .bay-panel__body p { color: #B9BFC6 !important; }
#bay-stage .bay-panel .bay-panel__body .sr-summary, #bay-stage .bay-panel .bay-panel__body h1,
#bay-stage .bay-panel .bay-panel__body h2, #bay-stage .bay-panel .bay-panel__body h3 { color: #F2F4F6 !important; }
#bay-stage .bay-panel .bay-panel__body .sr-num { color: #8A919A !important; }
#bay-stage .bay-panel .bay-panel__body a.sr-btn-secondary { color: #F2F4F6 !important; border-color: #4A5058; background: transparent; }
#bay-stage .bay-panel .bay-panel__body a.sr-btn-primary { color: #fff !important; }
#bay-stage .bay-pin .bay-pin__t { color: #F2F4F6 !important; }
#bay-stage .bay-pin.is-active .bay-pin__t { color: #0E0F11 !important; }
