import type { CSSProperties } from 'react' import { PanelEmpty } from '@/app/overlays/panel' import { TITLEBAR_HEIGHT } from '@/app/shell/titlebar' import { useI18n } from '@/i18n' import { windowBrowserTabId } from '@/store/windows' import { PreviewTilePane } from './right-rail/preview' /** * Dedicated shell for `?win=browser`: the in-app Browser, full-window, no * session sidebar or layout tree. Same webview + address bar the docked tab * uses — just in its own OS window. */ export function BrowserPopoutShell() { const { t } = useI18n() const tabId = windowBrowserTabId() return (