/* Full screen button for the demo (homepage and What We'll Deliver), phones only.
   demo-fullscreen.js adds the button above the demo and the exit bar. */
.demo-fs-row { display: none; }
@media (max-width: 760px) {
  .demo-fs-row { display: flex; margin: 0 0 8px; }
}
.demo-fs-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cream, #F8F7F3);
  color: var(--navy, #243746);
  border: 0;
  border-radius: 8px;
  padding: 9px 14px;
  font: 600 14px/1 'Inter', sans-serif;
  cursor: pointer;
}
.demo-fs-btn svg { width: 16px; height: 16px; flex: none; }

/* Full screen: the demo covers the page below a thin exit bar */
.demo-fs-bar {
  --fs-bar: 48px;
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1001;
  height: calc(var(--fs-bar) + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) 12px 0;
  align-items: center;
  background: #1A2833;
  border-bottom: 1px solid rgba(248, 247, 243, 0.14);
}
.demo-fs-bar .demo-fs-btn {
  background: rgba(248, 247, 243, 0.1);
  color: var(--cream, #F8F7F3);
  border: 1px solid rgba(248, 247, 243, 0.25);
  padding: 8px 12px;
}
html.demo-fs-open, html.demo-fs-open body { overflow: hidden; }
html.demo-fs-open .demo-fs-bar { display: flex; }
html.demo-fs-open iframe.demo-fs-target {
  position: fixed !important;
  z-index: 1000;
  left: 0; right: 0; bottom: 0;
  top: calc(48px + env(safe-area-inset-top, 0px));
  width: 100% !important;
  height: calc(100vh - 48px - env(safe-area-inset-top, 0px)) !important;
  height: calc(100dvh - 48px - env(safe-area-inset-top, 0px)) !important;
  max-height: none !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  margin: 0 !important;
  border-radius: 0 !important;
}
