/* Native modal keeps the chat, draft, and scroll position in place behind the guide. */
dialog.guide-shell { inset:0; margin:auto; padding:0; border:1px solid var(--kilby-border); border-radius:14px; width:calc(100vw - 40px); max-width:1500px; height:calc(100dvh - 40px); max-height:none; background:var(--kilby-black); color:var(--kilby-white); overflow:hidden; }
dialog.guide-shell[open] { display:flex; flex-direction:column; }
.guide-shell::backdrop { background:var(--kilby-scrim, rgba(0,0,0,.8)); }
.guide-shell-bar { display:flex; justify-content:space-between; align-items:center; gap:20px; padding:6px 18px; border-bottom:1px solid var(--kilby-border); flex:none; font:12px 'DM Sans',sans-serif; color:var(--kilby-secondary); }
.guide-shell-bar button { font:inherit; color:var(--kilby-white); border:0; background:transparent; min-height:40px; padding:8px 0 8px 16px; cursor:pointer; }
.guide-shell-bar button:focus-visible { outline:2px solid var(--kilby-white); outline-offset:2px; }
.guide-shell iframe { border:0; width:100%; flex:1; min-height:0; background:var(--kilby-black); }
body:has(.guide-shell[open]) { overflow:hidden; }
@media(max-width:700px) { dialog.guide-shell { width:100%; height:100dvh; max-width:none; margin:0; border:0; border-radius:0; } .guide-shell-bar { padding-top:max(6px,env(safe-area-inset-top)); } }
