/* Mobile app shell shared by public pages. */
@media(max-width:1199px){
 :root{--prompt-top:calc(64px + env(safe-area-inset-top,0px))}
 .app-bar{height:var(--prompt-top);padding-top:env(safe-area-inset-top,0px);padding-left:max(12px,env(safe-area-inset-left,0px));padding-right:max(12px,env(safe-area-inset-right,0px))}
 .app-main{padding-top:var(--prompt-top);padding-bottom:0}
 body.phase-page{padding-top:var(--prompt-top)}
 body.prompt-guide-page{padding-top:var(--prompt-top)}
 html{scroll-padding-top:calc(var(--prompt-top) + 16px)}
 .site-mobile>nav{top:var(--prompt-top)}
 .bottom-nav{padding-left:env(safe-area-inset-left,0px);padding-right:env(safe-area-inset-right,0px);box-shadow:0 -4px 24px #172b4d0d}
 .bottom-nav .nav-tab{font-size:11px;gap:4px;min-height:52px;touch-action:manipulation}
 .bottom-nav .nav-tab.active{color:#800020;background:#8000200a}
 .bottom-nav .nav-book{background:#800020;color:#fff;border-radius:16px;margin:6px 10px;min-height:44px}
 .site-mobile summary,.header-social a,.btn,.button{touch-action:manipulation}
 input,select,textarea{font-size:16px}
 .hero h1{font-size:clamp(30px,7.5vw,48px);line-height:1.1}
 .phase-cards article,section.card,.svc-chip{border-radius:18px}
 .sheet-overlay{padding-top:env(safe-area-inset-top,0px)}
 .bottom-sheet{max-height:calc(100dvh - env(safe-area-inset-top,0px));padding-bottom:env(safe-area-inset-bottom,0px)}
 .sheet-close{min-width:44px;min-height:44px}
}
.prompt-install{background:transparent;color:inherit;border:1px solid currentColor;border-radius:999px;padding:10px 18px;min-height:44px;font:600 14px system-ui;cursor:pointer}
#prompt-install-help{width:min(440px,calc(100vw - 32px));border:0;border-radius:20px;padding:24px;color:#172b4d;background:#fff;box-shadow:0 20px 70px #0005;font:16px/1.6 system-ui}
#prompt-install-help::backdrop{background:#07132688}#prompt-install-help h2{font-size:24px;margin:0 0 12px}#prompt-install-help p{margin:12px 0}#prompt-install-help button{background:#800020;color:white;border:0;border-radius:999px;padding:12px 20px;min-height:44px;font:600 15px system-ui;cursor:pointer}
@media(display-mode:standalone){.prompt-install{display:none}.app-bar{background:#fff}body{overscroll-behavior-y:contain}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}.nav-tab,.btn,.bottom-sheet{transition:none!important;animation:none!important}}
@media print{.prompt-install,#prompt-install-help{display:none!important}}
