/* CAPP_GUIDEBOOK_GUEST_MAIID_V1 — isolated, no global shell changes. */
.capp-gb-guest-overlay{position:fixed;inset:0;z-index:100001;background:#0c0c1c9e;display:flex;align-items:center;justify-content:center;padding:20px}
.capp-gb-guest-panel{box-sizing:border-box;width:min(100%,420px);padding:24px;background:#fff;color:#241f45;border-radius:22px;box-shadow:0 20px 50px #0004}
.capp-gb-guest-panel h2{font-size:1.35rem;margin:0 0 12px}.capp-gb-guest-panel p{line-height:1.5}
.capp-gb-guest-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.capp-gb-guest-actions button{border-radius:100px;padding:11px 17px;border:1px solid #b6b2d5;font:inherit;cursor:pointer}
.capp-gb-guest-primary{background:#221df3;color:white;border-color:#221df3!important}
.capp-gb-guest-alt{display:inline-block;margin-top:16px;text-decoration:underline;color:#221df3}
@media(max-width:560px){.capp-gb-guest-overlay{padding:0 0 env(safe-area-inset-bottom);align-items:flex-end}.capp-gb-guest-panel{width:100%;border-radius:20px 20px 0 0}}

/* CAPP_PEV1_MAIID_BOTTOMSHEET_FIX2 — iPhone/PWA only; scoped to Guest modal. */
@media (max-width: 820px), (display-mode: standalone) {
  html .capp-gb-guest-overlay {
    position: fixed !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    height: 100dvh !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    align-items: stretch !important;
    transform: none !important;
    box-sizing: border-box !important;
    overflow: hidden;
  }
  html .capp-gb-guest-panel {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 22px 20px calc(20px + env(safe-area-inset-bottom, 0px)) !important;
    border-radius: 24px 24px 0 0 !important;
    max-height: calc(100dvh - 16px) !important;
    overflow-y: auto !important;
    box-sizing: border-box !important;
    transform: none !important;
    flex: 0 1 auto;
  }
}
