/* Every selector is scoped to the recognized public home and active adapter. */
html.ojs-h123-active .ojs-h123-center > :not(.ojs-h123-logo):not(.ojs-h123-search):not(#ojs-h123-promo):not(#ojs-smart-home):not(script):not(style):not(link):not(template):not(#googminbiz-global-footer):not(#googminbiz-search-sheet):not(#googminbiz-camera-input){display:none!important}
html.ojs-h123-active .ojs-h123-extra{display:none!important}
html.ojs-h123-active[data-ojs123-mode="1"] .ojs-h123-search,
html.ojs-h123-active[data-ojs123-mode="3"] .ojs-h123-search{display:none!important}
html.ojs-h123-active[data-ojs123-mode="2"] .ojs-h123-search{visibility:visible!important}
/* Mode 1 is logo + existing footer; mode 2 is original logo/search; mode 3 has one approved card. */
html.ojs-h123-active #ojs-h123-promo{box-sizing:border-box!important;max-width:720px!important;width:100%!important;margin:20px auto 0!important;padding:22px!important;border-radius:18px!important;border:1px solid #d9e6e1!important;background:#f4faf7!important;color:#163b2e!important;text-align:left!important;font-family:inherit!important;overflow-wrap:anywhere!important}
html.ojs-h123-active #ojs-h123-promo h2{font-size:clamp(20px,3vw,28px)!important;line-height:1.3!important;margin:6px 0 10px!important;color:inherit!important;letter-spacing:-.025em!important}
html.ojs-h123-active #ojs-h123-promo p{font-size:15px!important;line-height:1.55!important;margin:8px 0 14px!important;color:#415c50!important}
html.ojs-h123-active #ojs-h123-promo small{font-size:11px!important;letter-spacing:.07em!important;color:#557364!important}
html.ojs-h123-active .ojs-h123-promo-actions{display:flex!important;gap:9px!important;flex-wrap:wrap!important}
html.ojs-h123-active #ojs-h123-promo a,html.ojs-h123-active #ojs-h123-promo button{font-family:inherit!important;font-size:14px!important;line-height:1.4!important;padding:11px 15px!important;background:#0b6b4d!important;color:#fff!important;border:0!important;border-radius:11px!important;text-decoration:none!important;cursor:pointer!important;min-height:44px!important;box-sizing:border-box!important}
html.ojs-h123-active .ojs-h123-video{display:block!important;width:100%!important;aspect-ratio:16/9!important;height:auto!important;border:0!important;margin:14px 0!important;border-radius:10px!important;background:#111!important}
html.ojs-h123-active .ojs-h123-trigger{position:fixed!important;right:12px!important;bottom:max(70px,calc(env(safe-area-inset-bottom) + 66px))!important;z-index:100001!important;width:40px!important;min-height:34px!important;padding:4px!important;border:1px solid #cbdcd4!important;border-radius:15px!important;background:#fff!important;color:#24634d!important;font:700 12px/1.2 sans-serif!important;box-shadow:0 3px 12px #0000000b!important;cursor:pointer!important}
html.ojs-h123-active .ojs-h123-controls{position:fixed!important;right:12px!important;bottom:max(111px,calc(env(safe-area-inset-bottom) + 107px))!important;z-index:100001!important;width:min(310px,calc(100vw - 24px))!important;padding:16px!important;border:1px solid #d4e1da!important;border-radius:16px!important;background:#fff!important;color:#153b2c!important;box-shadow:0 12px 36px #10281c22!important;box-sizing:border-box!important;font:14px/1.45 sans-serif!important;text-align:left!important}
html.ojs-h123-active .ojs-h123-controls[hidden]{display:none!important}
html.ojs-h123-active .ojs-h123-controls strong{font-size:16px!important}
html.ojs-h123-active .ojs-h123-buttons{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;margin:12px 0 8px!important}
html.ojs-h123-active .ojs-h123-controls button{min-height:40px!important;padding:8px 10px!important;border:1px solid #d4e1da!important;border-radius:9px!important;background:#f7faf8!important;color:#184332!important;font:600 13px/1.35 sans-serif!important;cursor:pointer!important}
html.ojs-h123-active .ojs-h123-controls button[aria-pressed="true"]{background:#0b6b4d!important;color:#fff!important}
html.ojs-h123-active .ojs-h123-controls p{font-size:12px!important;line-height:1.5!important;margin:10px 0!important}
html.ojs-h123-active .ojs-h123-controls small{font-size:11px!important;line-height:1.45!important;color:#657a6d!important}
html.ojs-h123-active .ojs-h123-preview{color:#9f4c00!important}
html.ojs-h123-active .ojs-h123-controls button:focus-visible,html.ojs-h123-active .ojs-h123-trigger:focus-visible,html.ojs-h123-active #ojs-h123-promo a:focus-visible{outline:3px solid #305ec4!important;outline-offset:3px!important}
@media(max-width:540px){html.ojs-h123-active #ojs-h123-promo{padding:17px!important;margin-top:15px!important;border-radius:15px!important}html.ojs-h123-active #ojs-h123-promo h2{font-size:21px!important}}
@media(prefers-reduced-motion:reduce){html.ojs-h123-active .ojs-h123-controls,html.ojs-h123-active #ojs-h123-promo{transition:none!important;animation:none!important}}

/* v0.3.0 controls only; no global selectors or original footer replacement. */
html.ojs-h123-active .ojs-h123-controls{max-height:calc(100dvh - 130px)!important;overflow-y:auto!important;overscroll-behavior:contain!important}
html.ojs-h123-active .ojs-h123-small-actions{display:flex!important;gap:6px!important;margin:8px 0!important}
html.ojs-h123-active .ojs-h123-controls .ojs-h123-small-actions button{font-size:12px!important;min-height:34px!important}
html.ojs-h123-active .ojs-h123-mic{width:100%!important}
html.ojs-h123-active .ojs-h123-controls button:disabled{opacity:.5!important;cursor:not-allowed!important}
html.ojs-h123-active .ojs-h123-controls details{margin-top:8px!important}
html.ojs-h123-active .ojs-h123-controls small{display:block!important;margin:5px 0!important}
html.ojs-h123-active .ojs-h123-controls input{box-sizing:border-box!important;max-width:100%!important;width:100%!important;font-size:16px!important;padding:8px!important;margin:8px 0!important}
html.ojs-h123-active .ojs-h123-controls [hidden]{display:none!important}
html.ojs-h123-active .ojs-h123-confirm{border:1px solid #bccebf!important;border-radius:10px!important;padding:10px!important;margin:10px 0!important;background:#f4f9f6!important}
