/* Marketing content remains responsive. Only product canvases retain desktop geometry. */
.desktop-preview-frame{position:relative;display:block;width:100%;min-width:0;overflow:hidden;aspect-ratio:var(--preview-ratio);border-radius:var(--system-preview-radius,12px);background:#fff}
.desktop-preview-frame>iframe{position:absolute;inset:0;display:block;border:0;max-width:none!important;max-height:none!important;transform-origin:top left;background:#fff;box-shadow:none!important;border-radius:0!important}
.desktop-preview-frame.is-static>iframe{pointer-events:none}
@media(max-width:900px){
.blynd-platform-preview:has(.desktop-preview-frame)>.blynd-platform-mobile{display:none!important}
.hero-product:has(.desktop-preview-frame){height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:auto!important}
.story-slide>.desktop-preview-frame{flex:none;align-self:center;box-shadow:0 12px 32px #13375a12}
.ent-split-live>.desktop-preview-frame{box-shadow:0 16px 40px #0004}
}
@media(max-width:900px){
.site-header .menu-toggle{width:44px;min-width:44px;height:44px;min-height:44px}
.site-header .header-login{min-height:40px;display:inline-flex;align-items:center}
}
@media(max-width:600px){:root .agents-closing-family .website-agent-avatar{width:clamp(40px,11.5vw,48px)!important}}
@media(max-width:900px){
:root .business-story-row:not(.business-story-mobile) .business-story-stage{height:auto;min-height:0;padding:22px 18px;display:block}
:root .business-story-row .story-slide{display:none!important;width:100%;opacity:1;transform:none}
:root .business-story-row .story-slide.is-active{display:block!important}
:root .ux-demo-stage{height:auto;min-height:0;aspect-ratio:1040/500}
:root .ux-demo-stage>.ux-demo-slide{padding:0!important;overflow:hidden}
:root .ux-demo-stage>.ux-demo-slide>.desktop-preview-frame{height:100%;border-radius:0}
:root .ent-workspace-dialog{height:auto;max-height:calc(100dvh - 24px);width:calc(100vw - 24px);max-width:640px}
:root .ent-workspace-dialog>div.desktop-preview-frame{display:block;padding:0;border:0;height:auto;aspect-ratio:1440/810}
:root .ent-workspace-dialog>div:first-child{height:auto;min-height:58px;flex-wrap:wrap;gap:12px;padding:14px 18px}
}
.mobile-story-controls{display:none}
@media(max-width:900px){
.mobile-story-controls{display:flex;justify-content:center;gap:8px;margin-top:-10px}
.mobile-story-controls button{font:inherit;font-size:13px;min-height:44px;padding:10px 20px;border:1px solid #dce5ef;border-radius:24px;color:#53667e;background:#fff;cursor:pointer}
.mobile-story-controls button[aria-pressed=true]{color:#fff;background:#223d60;border-color:#223d60}
.mobile-story-controls button:focus-visible{outline:2px solid #327bff;outline-offset:3px}
:root .ux-auto-dots button,:root .ux-auto-pause{min-height:44px;min-width:44px}
:root .ent-area-tabs button{min-height:44px}
}
.desktop-preview-frame.is-device,.desktop-preview-frame.is-device>iframe{background:transparent}
@media(max-width:900px){:root .business-story-mobile .business-story-stage:has(.desktop-preview-frame.is-device){height:auto;min-height:0;padding:24px 14px}}
@media(max-width:900px){:root .ux-demo-stage{border-radius:var(--system-preview-radius,12px)}}
/* Reserve the final desktop aspect ratio before the isolated canvas initializes. */
@media(max-width:900px){
:root .blynd-platform-preview:has(>.blynd-platform-desktop)>.blynd-platform-desktop{display:block!important}
:root .blynd-platform-preview:has(>.blynd-platform-desktop)>.blynd-platform-mobile{display:none!important}
:root .hero-product:has(.blynd-platform-preview){height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:auto!important}
}
/* Enterprise dialogs fit the visible screen, including landscape and browser bars. */
@media(max-width:900px){
:root .ent-feature-modal{inset:0;margin:0;width:100%;max-width:100vw;height:100dvh;max-height:100dvh;padding:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scroll-padding-top:88px;scroll-padding-bottom:32px;-webkit-overflow-scrolling:touch}
:root .ent-feature-modal-top{position:sticky;top:0;z-index:5;background:#fff;padding:max(10px,env(safe-area-inset-top)) 22px 12px;margin:0;border-bottom:1px solid #e9edf2;gap:16px}
:root .ent-feature-modal-top button{min-width:44px;min-height:44px;padding:8px 0;flex:none}
:root .ent-feature-modal>article{min-width:0;padding:26px 22px max(32px,env(safe-area-inset-bottom));overflow-wrap:anywhere}
:root .ent-feature-modal h2{font-size:clamp(26px,7.5vw,32px);line-height:1.13}
:root .ent-feature-modal .ent-drawer-intro{font-size:16px;line-height:1.7}
:root .ent-feature-modal li{font-size:15px}
:root .ent-feature-modal .ai-messages{padding-inline:0;min-width:0}
:root .ent-feature-modal .ai-message-user>div{max-width:100%}
:root .ent-feature-modal .ent-drawer-link{display:inline-flex;align-items:center;min-height:44px;max-width:100%;line-height:1.5}
:root .ent-workspace-dialog{width:min(calc(100vw - 24px),var(--workspace-dialog-width,640px));overflow:hidden}
:root .ent-workspace-dialog>div:first-child{flex-wrap:nowrap;padding:8px 16px;min-height:60px;gap:12px}
:root .ent-workspace-dialog>div:first-child>span{display:none}
:root .ent-workspace-dialog h2{flex:1;min-width:0;font-size:15px;line-height:1.35}
:root .ent-workspace-dialog [data-close-workspace]{flex:none;min-height:44px;min-width:44px;padding:8px 0}
:root .ux-demo [data-guided-area][hidden]{display:none!important}
:root .ux-demo-slide:not([hidden]){animation:ent-mobile-scene-arrive .24s ease both}
}
@keyframes ent-mobile-scene-arrive{from{opacity:.8}to{opacity:1}}
@media(max-width:900px) and (prefers-reduced-motion:reduce){:root .ux-demo-slide:not([hidden]){animation:none}}
@media(max-width:900px){:root .ent-workspace-dialog{position:fixed;inset:50% auto auto 50%;margin:0;transform:translate(-50%,-50%);height:max-content}}
:root .ent-workspace-dialog .workspace-loading-state{position:absolute;inset:var(--workspace-header-height,61px) 0 0;z-index:2;height:auto;margin:0;padding:20px;border:0;background:#fff;color:#667386;display:flex;flex-direction:column;justify-content:center;gap:12px;font-size:14px;text-align:center}
:root .ent-workspace-dialog .workspace-loading-state[hidden]{display:none!important}
:root .ent-workspace-dialog.is-loading iframe{opacity:0}
:root .ent-workspace-dialog .workspace-loading-spinner{width:22px;height:22px;flex:none;border:2px solid #e3eaf3;border-top-color:#496d9d;border-radius:50%;animation:workspace-loading .8s linear infinite}
:root .ent-workspace-dialog .workspace-loading-state button{margin:0;min-height:44px;padding:8px 18px;border:1px solid #dce5f0;border-radius:24px;color:#2f527f;font:inherit;background:#f6f9fc}
@keyframes workspace-loading{to{rotate:360deg}}
@media(prefers-reduced-motion:reduce){.workspace-loading-spinner{animation:none!important}}
@media(max-width:900px){:root .ent-feature-modal-top,:root .ent-feature-modal>article{padding-left:max(22px,env(safe-area-inset-left));padding-right:max(22px,env(safe-area-inset-right))}}
