.desk-dialog { box-sizing:border-box; position:fixed; inset:auto max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) auto; margin:0; padding:0; width:min(390px,calc(100% - 32px)); height:min(610px,calc(100dvh - 32px)); max-height:100%; border:1px solid #513238; border-radius:20px; background:#191719; color:#faf7f8; box-shadow:0 14px 60px #0008; }
.desk-dialog[open] { display:flex; flex-direction:column; }
.desk-dialog::backdrop { background:#09080985; }
.desk-head { display:flex; align-items:center; justify-content:space-between; padding:7px 10px 7px 17px; border-bottom:1px solid #ffffff18; }
.desk-head strong { font-size:14px; }
.desk-head button { width:40px; height:40px; display:grid; place-items:center; background:transparent; color:inherit; border:0; border-radius:10px; cursor:pointer; }
.desk-head button:focus-visible,.desk-head button:hover { background:#ffffff15; }
.desk-head svg { width:19px; height:19px; }
.desk-stage { position:relative; flex:1; min-height:0; }
.desk-stage iframe { position:absolute; inset:0; width:100%; height:100%; border:0; background:#191719; }
.desk-status { position:absolute; inset:0; display:grid; align-content:center; justify-items:center; padding:24px; text-align:center; gap:10px; }
.desk-status[hidden],.desk-status [hidden] { display:none; }
.desk-contact { color:#e6b4b0; text-decoration:underline; text-underline-offset:3px; }
@media(max-width:520px) { .desk-dialog { inset:auto 0 0; width:100%; max-width:100%; height:min(680px,94dvh); max-height:100dvh; padding-bottom:env(safe-area-inset-bottom); border-radius:20px 20px 0 0; } }

.desk-dialog[data-ready] .desk-head { display:none; }

.desk-launcher {
  position:fixed; z-index:25;
  right:max(16px, env(safe-area-inset-right)); bottom:max(16px, env(safe-area-inset-bottom));
  display:grid; place-items:center; box-sizing:border-box; width:48px; height:48px;
  border:1px solid #5a4844; border-radius:50%; color:#ffe5da; background:#211b1b;
  box-shadow:0 3px 14px #0005; text-decoration:none; touch-action:manipulation;
}
.desk-launcher svg { display:block; pointer-events:none; }
@media (hover:hover) { .desk-launcher:hover { color:white; border-color:#ff9278; background:#342322; } }
.desk-launcher:focus-visible,.desk-guest a:focus-visible { outline:2px solid #ffab91; outline-offset:3px; }
body:has(dialog[open]) .desk-launcher { visibility:hidden; }
.desk-dialog--guest { width:min(300px,calc(100% - 32px)); height:auto; color-scheme:dark; }
.desk-guest { display:grid; gap:12px; padding:16px; font:500 14px/1.45 Inter,system-ui,sans-serif; text-align:center; }
.desk-guest-primary { display:block; padding:11px; border-radius:11px; background:#f5f2f0; color:#211917; text-decoration:none; font-weight:650; }
@media(max-width:520px) {
  .desk-dialog--guest { inset:auto max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) auto; border-radius:17px; }
  body:not(.flash-entry):not(.quick-flow):has(.desk-launcher) .page:after { content:""; display:block; height:64px; flex-shrink:0; }
}
