/* R26. Native checkbox state owns layout; earlier data/class toggles cannot hide an open rail. */
html[data-imo-black] body #bpLayout #app .phone:has(#imo-nav-state-r26){--r26-head:44px;--r26-rail:48px;--r26-dock:48px;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:var(--r26-head) minmax(0,1fr) auto!important;border-radius:12px!important;box-shadow:none!important}
html[data-imo-black] body #bpLayout #app #imo-nav-state-r26{position:absolute!important;width:1px!important;height:1px!important;margin:0!important;padding:0!important;clip-path:inset(50%)!important;opacity:0!important;pointer-events:none!important}
html[data-imo-black] body #bpLayout #app .phone:has(#imo-nav-state-r26) #chat{grid-column:1/-1!important;grid-row:2!important;position:relative!important;min-width:0!important}
html[data-imo-black] body #bpLayout #app .phone:has(#imo-nav-state-r26) #rightRail,
html[data-imo-black] body #bpLayout #app .phone:has(#imo-nav-state-r26) #bottomNav,
html[data-imo-black] body #bpLayout #app .phone:has(#imo-nav-state-r26) .bp-action-dock,
html[data-imo-black] body #bpLayout #app .phone:has(#imo-nav-state-r26) .r26-rail-control{display:none!important;visibility:hidden!important;pointer-events:none!important}
html[data-imo-black] body #bpLayout #app .phone:has(#imo-nav-state-r26:checked){grid-template-columns:var(--r26-rail) minmax(0,1fr)!important;grid-template-rows:var(--r26-head) minmax(0,1fr) auto calc(var(--r26-dock) + env(safe-area-inset-bottom,0px))!important}
html[data-imo-black] body #bpLayout #app .phone:has(#imo-nav-state-r26:checked) #chat{grid-column:2!important}
html[data-imo-black] body #bpLayout #app .phone:has(#imo-nav-state-r26:checked) #rightRail,
html[data-imo-black] body #bpLayout #app .phone:has(#imo-nav-state-r26:checked) #bottomNav{display:flex!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;transform:none!important}
html[data-imo-black] body #bpLayout #app .phone:has(#imo-nav-state-r26:checked) .bp-action-dock,
html[data-imo-black] body #bpLayout #app .phone:has(#imo-nav-state-r26:checked) .r26-rail-control{display:grid!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important}
/* The handle remains outside the feed's scroll content, inside the chat edges. */
html[data-imo-black] body #bpLayout #app .phone:has(#imo-nav-state-r26) .r26-nav-handle{display:grid!important;place-items:center!important;box-sizing:border-box!important;width:28px!important;min-width:28px!important;max-width:28px!important;height:24px!important;min-height:24px!important;max-height:24px!important;margin:0!important;padding:0!important;border:1px solid #6f87ad55!important;border-radius:8px!important;background:#18253a!important;color:#c8dcff!important;box-shadow:none!important;cursor:pointer;touch-action:manipulation;user-select:none;visibility:visible!important;opacity:1!important;pointer-events:auto!important;z-index:8!important}
html[data-imo-black] body #bpLayout #app .phone:has(#imo-nav-state-r26) .r26-nav-handle svg{width:16px!important;height:16px!important;pointer-events:none!important;transform:none!important}
html[data-imo-black] body #bpLayout #app .phone:has(#imo-nav-state-r26) #imo-tools-r20{position:absolute!important;inset:auto auto 0 50%!important;transform:translateX(-50%)!important;border-radius:8px 8px 0 0!important}
html[data-imo-black] body #bpLayout #app .phone:has(#imo-nav-state-r26) #imo-rail-open-r25{position:absolute!important;inset:auto auto 0 0!important;border-left:0!important;border-radius:0 8px 8px 0!important}
html[data-imo-black] body #bpLayout #app .phone:has(#imo-nav-state-r26:checked) #imo-tools-r20,
html[data-imo-black] body #bpLayout #app .phone:has(#imo-nav-state-r26:checked) #imo-rail-open-r25{display:none!important}
html[data-imo-black] body #bpLayout #app .phone:has(#imo-nav-state-r26) .r26-nav-handle:focus-visible{outline:2px solid #c4d8ff!important;outline-offset:-2px!important}
html[data-imo-black] body #bpLayout #app .phone:has(#imo-nav-state-r26) .r26-rail-control{position:absolute!important;grid-column:1!important;grid-row:2!important;inset:0 0 auto 0!important;height:28px!important;place-items:center!important;z-index:8!important;background:#10151f!important}
/* Thin header and plain, tightly spaced command icons. Native command nodes stay intact. */
html[data-imo-black] body #bpLayout #app .phone:has(#imo-nav-state-r26) .topbar{height:var(--r26-head)!important;padding:3px 8px!important}
html[data-imo-black] body #bpLayout #app .bp-chat-heading{gap:5px!important}
html[data-imo-black] body #bpLayout #app .bp-character-button{width:28px!important;min-width:28px!important;height:30px!important;min-height:30px!important;flex-basis:28px!important;border:0!important;background:transparent!important;padding:0!important}
html[data-imo-black] body #bpLayout #app .bp-character-button .bp-avatar{width:26px!important;height:28px!important;border:0!important;background:transparent!important}
html[data-imo-black] body #bpLayout #app .bp-heading-text strong{font-size:13px!important;line-height:1.2!important}
html[data-imo-black] body #bpLayout #app .bp-heading-text small{font-size:10px!important;line-height:1.3!important}
html[data-imo-black] body #bpLayout #app .bp-location-button,
html[data-imo-black] body #bpLayout #app .bp-mobile-menu,
html[data-imo-black] body #bpLayout #app .bp-sound-button,
html[data-imo-black] body #bpLayout #app .bp-stop{width:28px!important;min-width:28px!important;height:28px!important;min-height:28px!important;flex-basis:28px!important;padding:0!important;border-radius:7px!important;border-color:transparent!important;background:transparent!important}
html[data-imo-black] body #bpLayout #app .bp-icon{width:16px!important;height:16px!important}
html[data-imo-black] body #bpLayout #app .bp-mobile-account{min-height:28px!important;height:28px!important;padding:0 7px!important;font-size:11px!important;border-radius:7px!important}
html[data-imo-black] body #bpLayout #app .phone:has(#imo-nav-state-r26) #rightRail{padding:28px 2px 2px!important;scroll-padding-top:28px!important;gap:1px!important;min-width:0!important;overflow-y:auto!important;scrollbar-width:none!important}
html[data-imo-black] body #bpLayout #app #rightRail>button{height:40px!important;min-height:40px!important;padding:2px 0!important;gap:2px!important;border:0!important;border-radius:6px!important;background:transparent!important;box-shadow:none!important}
html[data-imo-black] body #bpLayout #app #rightRail .nav-icon,
html[data-imo-black] body #bpLayout #app #bottomNav>button>span{display:grid!important;place-items:center!important;width:18px!important;height:18px!important;min-height:0!important;line-height:18px!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
html[data-imo-black] body #bpLayout #app #rightRail svg,
html[data-imo-black] body #bpLayout #app #bottomNav>button svg{width:16px!important;height:16px!important}
html[data-imo-black] body #bpLayout #app #rightRail .nav-label,
html[data-imo-black] body #bpLayout #app #bottomNav>button>b{font-size:10px!important;line-height:1.1!important}
html[data-imo-black] body #bpLayout #app .phone:has(#imo-nav-state-r26) .bp-action-dock{grid-column:1/-1!important;grid-row:4!important;grid-template-columns:28px 18px minmax(0,1fr) 18px!important;min-height:0!important;height:100%!important;padding:2px 2px calc(2px + env(safe-area-inset-bottom,0px))!important;gap:1px!important;align-items:center!important}
html[data-imo-black] body #bpLayout #app #bottomNav{min-height:0!important;height:40px!important;padding:0!important;gap:1px!important;scrollbar-width:none!important}
html[data-imo-black] body #bpLayout #app #bottomNav>button{flex-basis:44px!important;width:44px!important;min-width:44px!important;height:40px!important;min-height:40px!important;padding:2px 0!important;gap:2px!important;border:0!important;border-radius:6px!important;background:transparent!important;box-shadow:none!important}
html[data-imo-black] body #bpLayout #app #rightRail>button.active,
html[data-imo-black] body #bpLayout #app #bottomNav>button.active{background:#243550!important;color:#f1f6ff!important}
html[data-imo-black] body #bpLayout #app .bp-dock-arrow{width:18px!important;height:28px!important;background:transparent!important}
/* The compact input opens the existing full writing dialog on an explicit tap. */
html[data-imo-black] body[data-view="chat"] #bpLayout #app #composer{grid-column:1/-1!important;grid-row:3!important;min-height:38px!important;height:38px!important;width:calc(100% - 12px)!important;margin:3px 6px calc(3px + env(safe-area-inset-bottom,0px))!important;padding:3px!important;grid-template-columns:24px minmax(0,1fr) 24px 28px!important;gap:2px!important;border-radius:10px!important;box-shadow:none!important}
html[data-imo-black] body[data-view="chat"] #bpLayout #app .phone:has(#imo-nav-state-r26:checked) #composer{margin-bottom:3px!important}
html[data-imo-black] body[data-view="chat"] #bpLayout #app #composer button{height:28px!important;min-height:28px!important;width:100%!important;min-width:0!important;padding:0!important;border-radius:7px!important}
html[data-imo-black] body[data-view="chat"] #bpLayout #app #composer #msg{height:28px!important;min-height:0!important;font-size:14px!important;line-height:1.3!important;padding:0 3px!important}
html[data-imo-black] body[data-view="chat"] #bpLayout #app #composer .send::after{font-size:19px!important}
html[data-imo-black] #imo-compose-r25{border-radius:12px 12px 0 0}
html[data-imo-black] #imo-compose-r25 header{flex-basis:36px;padding:0 10px}
html[data-imo-black] #imo-compose-r25 h2{font-size:13px}
html[data-imo-black] #imo-compose-r25 textarea{padding:10px 12px;font-size:14px;line-height:1.5}
html[data-imo-black] #imo-compose-r25 footer{gap:8px;padding:5px 8px calc(5px + env(safe-area-inset-bottom,0px))}
html[data-imo-black] #imo-compose-r25 button{min-height:32px;padding:5px 12px;border-radius:8px;font-size:12px}
html[data-imo-black] #imo-compose-r25 footer small{font-size:10px}
html[data-imo-black] #imo-compose-r25 #imo-compose-send-r25{min-width:72px}
/* Compact greeting, sponsor and reply actions; conversation retains the freed area. */
html[data-imo-black] body #bpLayout #app .phone:has(#imo-nav-state-r26) #feed{padding:10px 12px 28px!important;font-size:13px!important}
html[data-imo-black] body #bpLayout #app .phone:has(#imo-nav-state-r26:checked) #feed{padding-bottom:8px!important}
html[data-imo-black] body #bpLayout #app #feed #bpWelcome{max-width:360px!important;padding:4px 0 6px!important}
html[data-imo-black] body #bpLayout #app #feed .bp-hello-row{gap:8px!important;margin-bottom:0!important}
html[data-imo-black] body #bpLayout #app #feed .bp-hello-character{width:32px!important;height:36px!important;min-height:36px!important;flex-basis:32px!important;padding:0!important}
html[data-imo-black] body #bpLayout #app #feed .bp-hello-character img{width:100%!important;height:100%!important}
html[data-imo-black] body #bpLayout #app #feed .bp-hello-label{font-size:11px!important;line-height:1.3!important}
html[data-imo-black] body #bpLayout #app #feed #bpWelcome h2{font-size:20px!important;margin:2px 0 0!important;line-height:1.25!important}
html[data-imo-black] body #bpLayout #app #feed #bpWelcome>p{font-size:12px!important;margin:6px 0 0!important;line-height:1.45!important}
html[data-imo-black] body #bpLayout #app #imo-savorip-r20{max-width:280px!important;padding:0 4px!important;margin:8px 0 0!important;border-radius:9px!important;min-height:40px!important}
html[data-imo-black] body #bpLayout #app #imo-savorip-r20>a{min-height:40px!important;padding:4px 6px!important;gap:7px!important}
html[data-imo-black] body #bpLayout #app #imo-savorip-r20 img{width:30px!important;height:30px!important;border-radius:5px!important}
html[data-imo-black] body #bpLayout #app #imo-savorip-r20 .r20-ad-brand strong{font-size:12px!important}
html[data-imo-black] body #bpLayout #app #imo-savorip-r20 .r20-ad-brand small{font-size:9px!important}
html[data-imo-black] body #bpLayout #app #imo-savorip-r20 .r20-ad-line{font-size:10px!important;line-height:1.3!important}
html[data-imo-black] body #bpLayout #app #imo-savorip-r20>button{width:24px!important;height:24px!important;min-height:24px!important;min-width:24px!important;padding:0!important}
html[data-imo-black] body #bpLayout #app #feed .imo-r8-bubble,
html[data-imo-black] body #bpLayout #app #feed .user{font-size:13px!important;line-height:1.5!important;padding:8px 10px!important;border-radius:11px!important;margin-top:8px!important;margin-bottom:8px!important}
html[data-imo-black] body #bpLayout #app #feed .r20-place-list{border-radius:10px!important;margin-bottom:8px!important}
html[data-imo-black] body #bpLayout #app #feed .r20-place-row>summary{min-height:38px!important;padding:6px 9px!important;gap:7px!important;font-size:12px!important}
html[data-imo-black] body #bpLayout #app #feed .r20-place-row>summary small,
html[data-imo-black] body #bpLayout #app #feed .r20-place-number{font-size:10px!important}
html[data-imo-black] body #bpLayout #app #feed .r20-place-detail>.imo-r8-card{padding:0 9px 8px!important}
html[data-imo-black] body #bpLayout #app #feed .r20-place-detail .imo-r6-card__actions{gap:4px!important}
html[data-imo-black] body #bpLayout #app #feed .r20-place-detail button,
html[data-imo-black] body #bpLayout #app #feed .r20-reply-choices>button{min-height:30px!important;padding:5px 9px!important;font-size:11px!important}
html[data-imo-black] body #bpLayout #app #feed .r20-more-places{min-height:28px!important;font-size:11px!important}
html[data-imo-black] body #bpLayout #app #feed .r20-reply-choices{gap:5px!important;margin-bottom:8px!important}
html[data-imo-black] body #bpLayout #app #feed .r22-character{width:48px!important;height:48px!important;flex-basis:48px!important}
html[data-imo-black] body #bpLayout #app #feed .r22-pending{padding:0!important;border-radius:0!important;gap:6px!important}
html[data-imo-black] .r20-welcome-figure{width:80px!important;height:96px!important}
/* Desktop side panels and outer frame use the same restrained density. */
html[data-imo-black] body>.bp-top{height:44px!important;padding:0 16px!important;gap:10px!important}
html[data-imo-black] body>.bp-top .bp-brand{font-size:16px!important;gap:7px!important}
html[data-imo-black] body>.bp-top .bp-mark{width:26px!important;height:26px!important;border-radius:8px!important;font-size:13px!important}
html[data-imo-black] body>.bp-top .bp-icon-button{width:28px!important;height:28px!important;border-radius:7px!important}
html[data-imo-black] body>.bp-top .bp-language{padding:4px 7px!important;font-size:11px!important;border-radius:7px!important}
html[data-imo-black] body>.bp-top .bp-top-tag,
html[data-imo-black] body>.bp-top .bp-text-link{font-size:11px!important}
html[data-imo-black] body #bpLayout .bp-side{padding-top:10px!important}
html[data-imo-black] body #bpLayout .bp-left h1{font-size:26px!important;margin-bottom:10px!important}
html[data-imo-black] body #bpLayout .bp-kicker{font-size:10px!important;margin-bottom:8px!important}
html[data-imo-black] body #bpLayout .bp-lead{font-size:12px!important;line-height:1.5!important;margin-bottom:12px!important}
html[data-imo-black] body #bpLayout .bp-promo{border-radius:10px!important;margin-bottom:8px!important}
html[data-imo-black] body #bpLayout .bp-promo img{height:78px!important}
html[data-imo-black] body #bpLayout .bp-promo-copy{padding:8px 10px!important}
html[data-imo-black] body #bpLayout .bp-promo small,
html[data-imo-black] body #bpLayout .bp-promo-cta{font-size:10px!important}
html[data-imo-black] body #bpLayout .bp-promo b{font-size:13px!important;margin:3px 0 5px!important}
html[data-imo-black] body #bpLayout .bp-tool{min-height:44px!important;padding:8px 10px!important;margin-bottom:6px!important;gap:8px!important;border-radius:9px!important}
html[data-imo-black] body #bpLayout .bp-tool b{font-size:12px!important}
html[data-imo-black] body #bpLayout .bp-tool small{font-size:10px!important}
html[data-imo-black] body #bpLayout .bp-ad-entry{padding:12px!important;border-radius:10px!important;margin-top:12px!important}
html[data-imo-black] body #bpLayout .bp-ad-entry h3{font-size:18px!important;margin:6px 0 8px!important}
html[data-imo-black] body #bpLayout .bp-ad-entry p{font-size:12px!important;line-height:1.5!important;margin:0 0 10px!important}
html[data-imo-black] body #bpLayout .bp-primary-link{min-height:32px!important;padding:6px 10px!important;border-radius:7px!important;font-size:12px!important}
html[data-imo-black] body #bpLayout .r20-owner-manage{font-size:11px!important;margin-top:7px!important}
@media(min-width:900px){html[data-imo-black] body #bpLayout{height:calc(var(--bp-height) - 44px)!important;padding:0 16px 10px!important;gap:14px!important}}
@media(max-width:899px){
 html[data-imo-black] body #bpLayout #app .phone:has(#imo-nav-state-r26){--r26-head:40px;--r26-rail:44px;--r26-dock:44px;border-radius:0!important}
 html[data-imo-black] body #bpLayout #app .bp-heading-text small{display:none!important}
 html[data-imo-black] body #bpLayout #app #feed #bpWelcome h2{font-size:16px!important}
 html[data-imo-black] body #bpLayout #app #feed #bpWelcome>p{font-size:11px!important}
 html[data-imo-black] body #bpLayout #app #feed .imo-r8-bubble,
 html[data-imo-black] body #bpLayout #app #feed .user{font-size:12px!important;line-height:1.45!important}
 html[data-imo-black] body #bpLayout #app #feed .bp-hello-character{width:28px!important;height:32px!important;min-height:32px!important;flex-basis:28px!important}
 html[data-imo-black] body #bpLayout #app #feed .r22-character{width:40px!important;height:40px!important;flex-basis:40px!important}
 html[data-imo-black] body[data-view="chat"] #bpLayout #app #composer{height:36px!important;min-height:36px!important;padding:2px 3px!important}
 html[data-imo-black] body[data-view="chat"] #bpLayout #app #composer #msg{font-size:12px!important}
}
/* Only a genuinely open native overlay blocks the rail, never a stale body flag. */
html[data-imo-black] body #bpLayout #app .phone:has(#imo-nav-state-r26):has(.r9-overlay.open) #rightRail,
html[data-imo-black] body #bpLayout #app .phone:has(#imo-nav-state-r26):has(.r9-overlay.open) .bp-action-dock,
html[data-imo-black] body #bpLayout #app .phone:has(#imo-nav-state-r26):has(.r9-overlay.open) .r26-nav-handle{visibility:hidden!important;pointer-events:none!important}

html[data-imo-black] #imo-welcome-r20{gap:5px!important;padding:12px!important}
html[data-imo-black] #imo-welcome-r20 .r20-welcome-title{font-size:16px!important}
html[data-imo-black] #imo-welcome-r20 .r20-welcome-note{font-size:11px!important}
html[data-imo-black] #imo-welcome-r20 .r20-welcome-actions{gap:6px!important;margin-top:6px!important}
html[data-imo-black] #imo-welcome-r20 button{min-height:32px!important;padding:6px 12px!important;font-size:11px!important}

/* Deep neutral black surfaces and colour accents only in the newly drawn vectors. */
html[data-imo-black] body{background:#08090b!important}
html[data-imo-black] .bp-color-icon{color:var(--r26-icon)!important;stroke:currentColor!important}
html[data-imo-black] body #bpLayout #app .phone:has(#imo-nav-state-r26){background:#090a0c!important;border-color:#ffffff22!important}
html[data-imo-black] body #bpLayout #app .phone:has(#imo-nav-state-r26) .topbar,
html[data-imo-black] body #bpLayout #app .phone:has(#imo-nav-state-r26) #rightRail,
html[data-imo-black] body #bpLayout #app .phone:has(#imo-nav-state-r26) .bp-action-dock,
html[data-imo-black] body #bpLayout #app .phone:has(#imo-nav-state-r26) .r26-rail-control{background:#0d0e11!important;border-color:#ffffff16!important}
html[data-imo-black] body #bpLayout #app .phone:has(#imo-nav-state-r26) .r26-nav-handle{background:#1a1d23!important;border-color:#ffffff30!important;color:#c8d6ed!important}
html[data-imo-black] body[data-view="chat"] #bpLayout #app #composer{background:#15171b!important;border-color:#ffffff2c!important}
html[data-imo-black] body #bpLayout #app #feed .imo-r8-bubble{background:#15171c!important;border-color:#ffffff18!important}
html[data-imo-black] body #bpLayout #app #feed .r22-pending{background:transparent!important}
html[data-imo-black] body #bpLayout #app #feed .user{background:#202735!important;border-color:#b1c7ec25!important}
html[data-imo-black] body #bpLayout #app #feed .r20-place-list{background:#101216!important;border-color:#ffffff20!important}
html[data-imo-black] body #bpLayout #app #feed .r20-place-row{border-color:#ffffff13!important}
html[data-imo-black] body #bpLayout .bp-promo,
html[data-imo-black] body #bpLayout .bp-tool,
html[data-imo-black] body #bpLayout .bp-ad-entry{background:#111318!important;border-color:#ffffff20!important}
html[data-imo-black] body #bpLayout #app #imo-savorip-r20{background:#121722!important;border-color:#7ba5ef40!important}
html[data-imo-black] #imo-compose-r25{background:#101216;border-color:#ffffff24}
html[data-imo-black] .bp-dialog{background:#101216;border-radius:12px;border-color:#ffffff24}
html[data-imo-black] .bp-dialog-head{padding:10px 12px;gap:8px}
html[data-imo-black] .bp-dialog h2{font-size:16px}
html[data-imo-black] .bp-dialog-body{padding:10px 12px 14px}
html[data-imo-black] .bp-dialog .bp-icon-button{width:28px;height:28px;border-radius:7px}
/* A floating writer above the keyboard; surrounding conversation stays visible. */
html[data-imo-black] #imo-compose-r25{
 --r26-write-height:min(340px,max(176px,calc(var(--r25-vh,100dvh)*.56)),calc(var(--r25-vh,100dvh) - 24px));
 inset:calc(var(--r25-vtop,0px) + var(--r25-vh,100dvh) - var(--r26-write-height) - 12px) 0 auto;
 width:calc(100% - 24px);max-width:420px;height:var(--r26-write-height);max-height:calc(var(--r25-vh,100dvh) - 24px);
 border:0;border-radius:18px;background:#181a1f;box-shadow:0 18px 64px #000a,0 2px 8px #0006;
}
html[data-imo-black] #imo-compose-r25::backdrop{background:#0006;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}
html[data-imo-black] #imo-compose-r25 header{border:0;padding:3px 14px 0;flex-basis:32px}
html[data-imo-black] #imo-compose-r25 h2{font-size:12px;color:#a8b1c2;font-weight:500}
html[data-imo-black] #imo-compose-r25 textarea{padding:4px 14px 8px;border:0!important;outline:none!important;background:transparent;box-shadow:none}
html[data-imo-black] #imo-compose-r25 footer{border:0;padding:4px 8px 8px}
html[data-imo-black] #imo-compose-r25 button{border:0;border-radius:999px;min-height:30px;font-size:11px}
html[data-imo-black] #imo-compose-r25 #imo-compose-send-r25{min-width:64px}
html[data-imo-black] body[data-view="chat"] #bpLayout #app #composer{border:0!important;border-radius:18px!important;background:#15171b!important}
html[data-imo-black] body[data-view="chat"] #bpLayout #app #composer #msg{outline:none!important;border:0!important;box-shadow:none!important}
html[data-imo-black] body[data-view="chat"] #bpLayout #app #composer:focus-within{background:#202329!important}
html[data-imo-black] body[data-view="chat"] #bpLayout #app #composer .send{border-radius:50%!important}
/* Replies read as prose. Result details retain real actions without card chrome. */
html[data-imo-black] body #bpLayout #app #feed .imo-r8-bubble:not(.user),
html[data-imo-black] body #bpLayout #app #feed .imo-r8-card,
html[data-imo-black] body #bpLayout #app #feed .r20-place-list,
html[data-imo-black] body #bpLayout #app #feed .r20-place-row{
 background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;
}
html[data-imo-black] body #bpLayout #app #feed .imo-r8-bubble:not(.user){padding:0!important;margin:10px 0 12px!important;max-width:100%!important}
html[data-imo-black] body #bpLayout #app #feed .imo-r8-bubble:not(.user)::before,
html[data-imo-black] body #bpLayout #app #feed .imo-r8-bubble:not(.user)::after,
html[data-imo-black] body #bpLayout #app #feed .imo-r8-card::before{content:none!important}
html[data-imo-black] body #bpLayout #app #feed .imo-r8-card{padding:4px 0 8px!important;margin:0!important}
html[data-imo-black] body #bpLayout #app #feed .imo-r8-card h3{font-size:12px!important;line-height:1.4!important;margin:4px 0!important}
html[data-imo-black] body #bpLayout #app #feed .imo-r8-card p{font-size:12px!important;line-height:1.5!important;margin:4px 0!important}
html[data-imo-black] body #bpLayout #app #feed .imo-r8-card .imo-r6-card__meta{font-size:10px!important}
html[data-imo-black] body #bpLayout #app #feed .r20-place-row>summary{min-height:30px!important;padding:4px 0!important}
html[data-imo-black] body #bpLayout #app #feed .r20-place-detail>.imo-r8-card{padding:0 0 6px 20px!important}
html[data-imo-black] body #bpLayout #app #feed .imo-r6-card__actions{display:flex!important;gap:12px!important;flex-wrap:wrap!important}
html[data-imo-black] body #bpLayout #app #feed .imo-r6-card__actions button,
html[data-imo-black] body #bpLayout #app #feed .imo-r6-card__actions a,
html[data-imo-black] body #bpLayout #app #feed .r20-reply-choices>button,
html[data-imo-black] body #bpLayout #app #feed .r20-more-places{
 width:auto!important;flex:0 0 auto!important;min-height:26px!important;padding:3px 0!important;
 background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;
 color:#a9c5ec!important;font-size:11px!important;text-decoration:underline;text-underline-offset:3px;
}
html[data-imo-black] body #bpLayout #app #feed .r20-reply-choices{gap:14px!important}


/* CHAT-SPACE-1: main chat presentation only; native commands keep their nodes. */
html[data-imo-black] body:not(.journey33-open) #bpLayout #app #chat > #op-entry-v44 {
 display:none!important;
}
/* Keep the existing location control in normal flow, before chat content. */
html[data-imo-black] body:not(.journey33-open) #bpLayout #app #chat > #imo-visitor-context-v19 {
 order:-1!important; flex:0 0 auto!important; margin:0!important;
 padding:4px 10px!important; gap:6px!important;
}
/* Place results retain horizontal scrolling, complete text and all actions.
   Route instructions (.imo-v3-route) and enlarged-image dialogs are untouched. */
html[data-imo-black] body:not(.journey33-open) #bpLayout #app #feed .imo-v2-carousel {
 margin:6px 0 10px!important;
}
html[data-imo-black] body:not(.journey33-open) #bpLayout #app #feed .imo-v2-track {
 gap:8px!important; align-items:flex-start!important; padding:2px 2px 6px!important;
}
html[data-imo-black] body:not(.journey33-open) #bpLayout #app #feed .imo-v2-card[data-place-key]:not([data-place-key=""]) {
 box-sizing:border-box!important; flex:0 0 208px!important; max-width:100%!important;
 border-radius:10px!important;
}
html[data-imo-black] body:not(.journey33-open) #bpLayout #app #feed .imo-v2-card .imo-v2-media {
 height:80px!important; min-height:0!important;
}
html[data-imo-black] body:not(.journey33-open) #bpLayout #app #feed .imo-v2-content {
 padding:8px!important;
}
html[data-imo-black] body:not(.journey33-open) #bpLayout #app #feed .imo-v2-content h3 {
 font-size:13px!important; line-height:1.4!important; margin:0 0 4px!important;
}
html[data-imo-black] body:not(.journey33-open) #bpLayout #app #feed .imo-v2-content p {
 font-size:12px!important; line-height:1.45!important; margin:0 0 6px!important;
}
html[data-imo-black] body:not(.journey33-open) #bpLayout #app #feed .imo-v2-actions {
 gap:4px!important; flex-wrap:wrap!important;
}
html[data-imo-black] body:not(.journey33-open) #bpLayout #app #feed .imo-v2-actions > :is(button,a) {
 box-sizing:border-box!important; min-height:32px!important; max-width:100%!important;
 padding:5px 7px!important; font-size:12px!important; line-height:1.35!important;
 white-space:normal!important; overflow-wrap:anywhere!important; border-radius:8px!important;
}
