/* Presentation only, scoped to the embedded current main chat. Native dialogs/actions remain. */
html#imo-journey-main61.imo-journey-frame[data-imo-entry],html#imo-journey-main61.imo-journey-frame[data-imo-entry] body{height:100%!important;min-height:0!important;width:100%!important;max-width:none!important;margin:0!important;overflow:hidden!important;background:#080f1d!important}
html#imo-journey-main61.imo-journey-frame[data-imo-entry][data-imo-black] body #bpLayout #app,html#imo-journey-main61.imo-journey-frame[data-imo-entry][data-imo-black] body #bpLayout #app>.phone{height:100%!important;min-height:0!important;width:100%!important;max-width:none!important;border:0!important;border-radius:0!important;margin:0!important;padding:0!important;overflow:hidden!important}
html#imo-journey-main61.imo-journey-frame[data-imo-entry][data-imo-black] body #bpLayout #app>.phone{display:flex!important;flex-direction:column!important;position:relative!important}
html#imo-journey-main61.imo-journey-frame[data-imo-entry][data-imo-black] body #bpLayout #app .phone:has(#composer)>.topbar,html#imo-journey-main61.imo-journey-frame[data-imo-entry][data-imo-black] body #bpLayout #app .phone:has(#composer) #intro,html#imo-journey-main61.imo-journey-frame[data-imo-entry][data-imo-black] body #bpLayout #app .phone:has(#composer) #setup,html#imo-journey-main61.imo-journey-frame[data-imo-entry][data-imo-black] body #bpLayout #app .phone:has(#composer) #rightRail,html#imo-journey-main61.imo-journey-frame[data-imo-entry][data-imo-black] body #bpLayout #app .phone:has(#composer) #mossyRoomFixedEntry,html#imo-journey-main61.imo-journey-frame[data-imo-entry][data-imo-black] body #bpLayout #app .chat-hero,html#imo-journey-main61.imo-journey-frame[data-imo-entry][data-imo-black] body #bpLayout #app .bp-chat-heading,html#imo-journey-main61.imo-journey-frame[data-imo-entry][data-imo-black] body #bpLayout #app .phone:has(#composer) #imo-journey-entry-r34,html#imo-journey-main61.imo-journey-frame[data-imo-entry][data-imo-black] body #bpLayout #app .phone:has(#composer) #imo-korea-hub-v11{display:none!important}
html#imo-journey-main61.imo-journey-frame[data-imo-entry][data-imo-black] body #bpLayout #app .phone:has(#composer) #chat{display:flex!important;flex-direction:column!important;flex:1!important;min-height:0!important;width:100%!important;height:auto!important;margin:0!important;padding:0!important;overflow:hidden!important;position:relative!important;inset:auto!important}
html#imo-journey-main61.imo-journey-frame[data-imo-entry][data-imo-black] body #bpLayout #app .phone:has(#composer) #feed{flex:1!important;min-height:0!important;height:auto!important;width:100%!important;max-width:none!important;overflow-y:auto!important;overscroll-behavior:contain!important;margin:0!important;padding:12px!important;scrollbar-width:thin}
html#imo-journey-main61.imo-journey-frame[data-imo-entry][data-imo-black] body #bpLayout #app .phone:has(#composer) #bottomNav{display:flex!important;flex:none!important;position:relative!important;inset:auto!important;transform:none!important;width:100%!important;max-width:none!important;height:46px!important;min-height:46px!important;margin:0!important;padding:2px 6px!important;overflow-x:auto!important;overflow-y:hidden!important;gap:5px!important;order:2!important;scrollbar-width:thin}
html#imo-journey-main61.imo-journey-frame[data-imo-entry][data-imo-black] body #bpLayout #app .phone:has(#composer) #bottomNav>*{flex:0 0 auto!important;min-width:50px!important;height:40px!important;min-height:40px!important;padding:3px 7px!important;font-size:10px!important}
html#imo-journey-main61.imo-journey-frame[data-imo-entry][data-imo-black] body #bpLayout #app .phone:has(#composer) #bottomNav svg,html#imo-journey-main61.imo-journey-frame[data-imo-entry][data-imo-black] body #bpLayout #app .phone:has(#composer) #bottomNav img{height:18px!important;width:18px!important}
html#imo-journey-main61.imo-journey-frame[data-imo-entry][data-imo-black] body #bpLayout #app .phone:has(#composer) #composer{display:flex!important;flex:none!important;position:relative!important;inset:auto!important;transform:none!important;order:3!important;width:calc(100% - 12px)!important;max-width:none!important;min-height:52px!important;height:auto!important;margin:6px!important;padding:5px!important;gap:5px!important;border-radius:14px!important}
html#imo-journey-main61.imo-journey-frame[data-imo-entry][data-imo-black] body #bpLayout #app .phone:has(#composer) #msg{flex:1!important;min-width:0!important;max-width:none!important;width:0!important;font-size:16px!important;line-height:1.35!important;min-height:40px!important;max-height:90px!important;padding:8px!important;white-space:nowrap!important;overflow:auto!important}
html#imo-journey-main61.imo-journey-frame[data-imo-entry][data-imo-black] body #bpLayout #app .phone:has(#composer) #composer button{flex:none!important;min-width:38px!important;max-width:50px!important;min-height:40px!important;padding:5px!important}
html#imo-journey-main61.imo-journey-frame[data-imo-entry] dialog{max-width:calc(100vw - 16px)!important;max-height:calc(100dvh - 16px)!important;overflow:auto!important;box-sizing:border-box!important}
html#imo-journey-main61.imo-journey-frame[data-imo-entry] dialog input,html#imo-journey-main61.imo-journey-frame[data-imo-entry] dialog select{min-width:0!important;max-width:100%!important;box-sizing:border-box!important;font-size:16px!important}
html#imo-journey-main61.imo-journey-frame[data-imo-entry] .imo-dv-card{flex-basis:min(270px,85vw)!important;min-width:min(250px,82vw)!important}
html#imo-journey-main61.imo-journey-frame[data-imo-entry][data-imo-black] body #bpLayout #app .phone:has(#composer) #feed .journey61-collect{display:block!important;width:calc(100% - 20px)!important;min-height:42px!important;margin:10px!important;padding:9px!important;background:#244ed1!important;color:white!important;border:1px solid #577bd8!important;border-radius:10px!important;font-size:14px!important}
html#imo-journey-main61.imo-journey-frame[data-imo-entry][data-imo-black] body #bpLayout #app .phone:has(#composer) #feed img{max-width:100%}
html#imo-journey-main61.imo-journey-frame[data-imo-entry][data-imo-black] body #bpLayout #app .phone:has(#composer) #composer .send{min-width:42px!important;max-width:50px!important;white-space:nowrap!important}
html#imo-journey-main61.imo-journey-frame[data-imo-entry][data-imo-black] body #bpLayout #app .phone:has(#composer) #imo-travel-origin{position:relative!important;inset:auto!important;flex:none!important;max-height:52px!important;overflow:hidden!important;font-size:12px!important;min-height:36px!important;padding:8px 10px!important}

html#imo-journey-main61.imo-journey-frame[data-imo-entry][data-imo-black] body #bpLayout{display:block!important;position:relative!important;inset:auto!important;height:100%!important;min-height:0!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;overflow:hidden!important}
html#imo-journey-main61.imo-journey-frame[data-imo-entry][data-imo-black] body>.bp-top,html#imo-journey-main61.imo-journey-frame[data-imo-entry][data-imo-black] body #bpLayout>.bp-side{display:none!important}
html#imo-journey-main61.imo-journey-frame[data-imo-entry][data-imo-black] body #bpLayout #app .phone:has(#composer) .bp-action-dock{display:flex!important;flex:none!important;order:2!important;position:relative!important;inset:auto!important;transform:none!important;width:100%!important;max-width:none!important;height:48px!important;min-height:48px!important;padding:0!important;margin:0!important;overflow:hidden!important}
html#imo-journey-main61.imo-journey-frame[data-imo-entry][data-imo-black] body #bpLayout #app .bp-action-dock>.bp-dock-arrow{display:none!important}
html#imo-journey-main61.imo-journey-frame[data-imo-entry][data-imo-black] body #bpLayout #app .phone:has(#composer) #feed .journey61-collect{width:calc(100% - 20px)!important;min-width:calc(100% - 20px)!important;max-width:none!important;height:auto!important;max-height:none!important;white-space:nowrap!important;line-height:1.4!important}
html#imo-journey-main61.imo-journey-frame[data-imo-entry][data-imo-black] body #bpLayout #app .phone:has(#composer) #bottomNav>b,html#imo-journey-main61.imo-journey-frame[data-imo-entry][data-imo-black] body #bpLayout #app .phone:has(#composer) #bottomNav button>b{white-space:nowrap!important;line-height:1.2!important;font-size:10px!important}

/* FIX2: the native R26 checkbox and auxiliary rails also participate in layout. */
html#imo-journey-main61.imo-journey-frame[data-imo-entry][data-imo-black] body #bpLayout #app .phone:has(#composer) :is(#rightRail,.r26-rail-control,.r26-nav-handle,#imo-visitor-context-v19,#imo-travel-origin,#imo-discovery-bar,#imo-visual-home-v57,.v57-shortcuts){display:none!important}
html#imo-journey-main61.imo-journey-frame[data-imo-entry][data-imo-black] body #bpLayout #app .phone:has(#composer) :is(#bottomNav,.bp-action-dock){visibility:visible!important;opacity:1!important;pointer-events:auto!important;flex-direction:row!important;transform:none!important}
html#imo-journey-main61.imo-journey-frame[data-imo-entry][data-imo-black] body #bpLayout #app .phone:has(#composer) #bottomNav{flex:1 1 auto!important;min-width:0!important;align-items:center!important;justify-content:flex-start!important;flex-wrap:nowrap!important}
html#imo-journey-main61.imo-journey-frame[data-imo-entry][data-imo-black] body #bpLayout #app .phone:has(#composer) #feed{display:block!important;flex:1 1 0!important;overflow-x:hidden!important;padding:10px!important;min-height:0!important}
html#imo-journey-main61.imo-journey-frame[data-imo-entry][data-imo-black] body #bpLayout #app .phone:has(#composer) #feed>*{flex-shrink:0!important}
html#imo-journey-main61.imo-journey-frame[data-imo-entry][data-imo-black] body #bpLayout #app .phone:has(#composer) #feed .r33-ad{position:relative!important;inset:auto!important;max-height:none!important;margin:10px 0!important}
html#imo-journey-main61.imo-journey-frame[data-imo-entry][data-imo-black] body #bpLayout #app .phone:has(#composer) #journey61-region{display:flex!important;flex:none!important;align-items:center;justify-content:space-between;gap:8px;min-height:36px;padding:4px 10px;background:#10213d;color:#d7e6ff;font-size:12px}
html#imo-journey-main61.imo-journey-frame[data-imo-entry][data-imo-black] body #bpLayout #app .phone:has(#composer) #journey61-region button{flex:none;min-height:34px;padding:4px 9px;font-size:12px}
html#imo-journey-main61.imo-journey-frame .imo-dv-dialog[open]{display:flex!important;flex-direction:column!important;height:auto!important;max-height:calc(100dvh - 12px)!important;margin:auto!important;overflow:hidden!important}
html#imo-journey-main61.imo-journey-frame .imo-dv-dialog>header{flex:none!important;min-height:44px!important;max-height:66px!important;padding:8px 12px!important;box-sizing:border-box!important}
html#imo-journey-main61.imo-journey-frame .imo-dv-body{flex:1 1 auto!important;min-height:0!important;overflow:auto!important;padding:10px!important}
