html.lpc-installed-app body{padding-bottom:calc(88px + env(safe-area-inset-bottom,0px))!important}
.lpc-app-dock{display:none}
html.lpc-installed-app .lpc-app-dock{position:fixed;z-index:1200;left:50%;bottom:calc(12px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);display:flex;align-items:stretch;justify-content:center;gap:4px;width:min(620px,calc(100% - 24px));min-height:66px;padding:6px 8px;border:1px solid #d9dfe3;border-radius:18px;background:rgba(255,255,255,.97);box-shadow:0 8px 30px rgba(7,26,43,.16);backdrop-filter:blur(14px)}
.lpc-app-tab{display:flex;flex:1 1 0;min-width:0;min-height:52px;flex-direction:column;align-items:center;justify-content:center;gap:3px;border-radius:12px;color:#596b7b;text-decoration:none;font:600 9.5px/1.15 var(--lpc-font-family,Inter,system-ui,sans-serif);text-align:center;-webkit-tap-highlight-color:transparent}
button.lpc-app-tab{padding:0;border:0;background:transparent;cursor:pointer}
.lpc-app-logout:disabled{opacity:.58;cursor:wait}
.lpc-app-tab svg{display:block;width:21px;height:21px;flex:0 0 21px}
.lpc-app-tab[aria-current="page"]{background:#071a2b;color:#fff}
.lpc-app-tab:focus-visible{outline:3px solid #e5a23a;outline-offset:2px}
@media(min-width:760px){html.lpc-installed-app .lpc-app-dock{bottom:22px;min-height:58px;border-radius:16px}.lpc-app-tab{flex-direction:row;gap:8px;font-size:12px}}
@media(prefers-reduced-motion:no-preference){.lpc-app-dock{animation:lpc-dock-in .18s ease-out}@keyframes lpc-dock-in{from{opacity:0;translate:0 8px}to{opacity:1;translate:0 0}}}
.offline-page{min-height:100vh;background:#f6f3ed}
.offline-shell{box-sizing:border-box;width:min(100% - 32px,520px);min-height:460px;margin:clamp(48px,14vh,150px) auto 48px;padding:34px;border:1px solid #e1e5e8;border-radius:20px;background:#fff;box-shadow:0 16px 48px rgba(7,26,43,.08);text-align:left}
.offline-icon{display:block;width:54px;height:54px;object-fit:contain;margin-bottom:28px}
.offline-eyebrow{margin:0 0 10px;color:#a56a16;font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.offline-shell h1{margin:0;color:#071a2b;font-size:clamp(30px,7vw,40px);line-height:1.1;letter-spacing:-.04em}
.offline-copy{margin:16px 0 0;color:#687582;font-size:17px;line-height:1.55}
.offline-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:28px}
.offline-actions button{min-height:46px;padding:0 18px;border:0;border-radius:9px;background:#e5a23a;color:#071a2b;font:700 15px var(--lpc-font-family,Inter,system-ui,sans-serif);cursor:pointer}
.offline-actions a{color:#071a2b;font-weight:700;text-underline-offset:4px}
.offline-privacy{margin:38px 0 0;padding-top:18px;border-top:1px solid #e5e9ec;color:#687582;font-size:13px}
@media(max-width:520px){.offline-shell{min-height:0;margin:24px auto;padding:26px 22px}.offline-icon{margin-bottom:22px}.offline-privacy{margin-top:30px}}
@media(max-width:700px){
 .page-header{grid-template-columns:minmax(0,1fr) 46px 94px;grid-template-areas:"brand logout logout" "crumb chat menu"}
 .page-header .logout-button{grid-area:logout;justify-self:end;width:max-content;height:auto;min-height:44px;padding:8px 14px;border-radius:999px}
 .page-header .logout-button span{position:static;width:auto;height:auto;padding:0;margin:0;overflow:visible;clip:auto;white-space:nowrap;border:0}
 .page-header .logout-button svg{width:18px;height:18px}
 .page-header .crumb{grid-area:crumb}
 .page-chat-link{grid-area:chat;justify-self:end}
 .section-menu{grid-area:menu;justify-self:end}
 html.lpc-installed-app .page-header{grid-template-columns:minmax(0,1fr) 46px 46px;grid-template-areas:"brand chat menu" "crumb crumb crumb"}
 html.lpc-installed-app .page-header .logout-button{display:none}
 html.lpc-installed-app .section-menu nav{max-height:calc(100dvh - var(--section-menu-top,100px) - 104px - env(safe-area-inset-bottom,0px));padding-bottom:calc(14px + env(safe-area-inset-bottom,0px))}
}
