/* The home composer reuses the same consultation, above the same navigation. */
#home-ai-dock{position:fixed;z-index:38;left:50%;transform:translateX(-50%);bottom:var(--home-ai-nav,90px);width:min(800px,calc(100% - 16px));height:160px;max-height:calc(100dvh - var(--home-ai-nav,90px) - 12px);transition:height 220ms ease;pointer-events:auto}
#home-ai-dock[data-expanded=true]{height:calc(100dvh - var(--home-ai-nav,90px) - 24px)}
#home-ai-frame{display:block;width:100%;height:100%;border:0;border-radius:24px;background:transparent}
.cinematic-home .home-footer{padding-bottom:230px}
.cinematic-home .bottomnav{z-index:40}
body.ai-home-embed{background:transparent;margin:0;overflow:hidden}
.ai-home-embed .intake-app{padding:0;min-height:0;background:transparent}
.ai-home-embed .intake-app>.topbar,.ai-home-embed .intake-app>.bottomnav,.ai-home-embed .intake-intro,.ai-home-embed .intake-app>#draft-status,.ai-home-embed .intake-app>#ai-connection{display:none!important}
.ai-home-embed .intake-app .conversation-sheet{width:calc(100% - 2px);bottom:0!important;max-height:calc(100dvh - 2px);box-shadow:none}
.ai-home-embed .intake-app .conversation-sheet[data-expanded=true]{height:calc(100dvh - 2px)}
.ai-home-embed .intake-app[data-view=review],.ai-home-embed .intake-app[data-view=submitted]{height:100dvh;overflow:auto;padding-bottom:16px;background:var(--paper,#faf8f3);border:1px solid var(--line);border-radius:24px}
.ai-home-embed #review-heading{padding:18px}.ai-home-embed #review-heading h1{font-size:24px}.ai-home-embed #review-heading p{font-size:14px}
.ai-recommendations{display:grid;gap:12px;margin-top:20px}.ai-recommendations .map-canvas{min-height:220px;max-width:100%;box-sizing:border-box}.ai-recommendations article{min-width:0;overflow-wrap:anywhere}.ai-recommendations .verified-business-badge{font-size:12px}.ai-recommendations button{min-height:44px}
#composer button[type=submit]{font-size:0}#composer button[type=submit]::after{content:'↑';font-size:27px;line-height:1;font-weight:600}#composer[aria-busy=true] button[type=submit]::after{content:'…'}
@media(prefers-reduced-motion:reduce){#home-ai-dock{transition:none}}

.ai-home-embed #embed-review-close{display:none}.ai-home-embed .intake-app[data-view=review]>#embed-review-close,.ai-home-embed .intake-app[data-view=submitted]>#embed-review-close{display:block;position:sticky;top:0;z-index:2;width:100%;height:44px;margin:0;border:0;background:var(--paper,#faf8f3);color:var(--muted);font-size:28px;touch-action:none;cursor:pointer}
