.prototype-launch {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 11px 17px;
  border: 1px solid #fff;
  border-radius: 999px;
  background: #f6f9ff;
  color: #101c29;
  font: 700 .82rem system-ui, sans-serif;
  text-decoration: none;
}
.prototype-launch:hover { background: #dcecff; }
.prototype-launch:focus-visible, .prototype-toolbar button:focus-visible {
  outline: 2px solid #8fcaff;
  outline-offset: 4px;
}
#prototype-overlay {
  position: fixed;
  inset: 0;
  width: min(1440px, calc(100% - 40px));
  height: calc(100% - 40px);
  height: calc(100dvh - 40px);
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid #647f9e;
  border-radius: 16px;
  background: #081120;
  color: #f6f9ff;
}
#prototype-overlay[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
#prototype-overlay::backdrop { background: #020711cc; }
html.prototype-open { overflow: hidden; }
.prototype-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 12px 6px 18px;
  border-bottom: 1px solid #40546d;
  font: 650 .85rem system-ui, sans-serif;
}
.prototype-toolbar button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #596f89;
  border-radius: 50%;
  background: #16263a;
  color: inherit;
  cursor: pointer;
  font: 26px/1 system-ui, sans-serif;
}
.prototype-toolbar button:hover { background: #284363; }
#prototype-overlay iframe { width: 100%; height: 100%; border: 0; }
@media (max-width: 680px) {
  #prototype-overlay { width: 100%; height: 100%; height: 100dvh; border: 0; border-radius: 0; }
  .prototype-toolbar { padding-top: max(6px, env(safe-area-inset-top)); }
}
