.qtw-stage { position: relative; width: 100%; max-width: 480px; height: 520px; border-radius: 10px; overflow: hidden; background: #efefef; }
.qtw-stage .qtw-screen { position: absolute; inset: 0; }
.stage-msg { position: absolute; inset: 0; margin: 0; padding: 16px; display: flex; flex-direction: column; gap: 10px; align-items: center; justify-content: center; text-align: center; color: #222; background: #efefef; font-size: 15px; }
.stage-msg[hidden] { display: none; }
/* #region widget-css */
/* Copied inline onto each element before Qt takes it: Qt's canvas is in a shadow root,
   where the page's stylesheet does not apply. The backgrounds are opaque on purpose. */
.qtw-dom {
  box-sizing: border-box; margin: 0; font: 16px/1.35 system-ui, sans-serif; color: #111111; color-scheme: light;
  background: #ffffff; border: 1px solid #8a8a90; border-radius: 4px; padding: 7px 9px; resize: none;
}
p.qtw-dom { border: 0; padding: 4px 0; background: transparent; font-size: 14px; }
/* #endregion widget-css */
.qtw-parts { position: absolute; left: -9999px; top: 0; width: 300px; }
