/* The app «Vidicap ICU» on a phone (connect.push): the bottom tabs in standalone mode, the install sheet */
.app-tabs { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--topbar);
  border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px)); justify-content: space-around; }
.app-tabs a { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; color: var(--muted);
  text-decoration: none; min-width: 64px; padding: 2px 4px; }
.app-tabs a .icon { width: 24px; height: 24px; }
.app-tabs a.on { color: var(--accent); font-weight: 700; }
html.app .app-tabs { display: flex; }
html.app body { padding-bottom: calc(66px + env(safe-area-inset-bottom, 0px)); }
html.app .footer, html.app .back { display: none; }
@media (display-mode: standalone) and (max-width: 900px) {
  .app-tabs { display: flex; }
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom, 0px)); }
  .footer, .back { display: none; }
}
.app-sheet { position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, .35); display: flex; align-items: flex-end; }
.app-sheet[hidden] { display: none; }
.app-sheet-box { background: var(--card); color: var(--text); width: 100%; border-radius: 18px 18px 0 0; padding: 18px 20px calc(18px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -6px 24px rgba(0, 0, 0, .18); max-width: 520px; margin: 0 auto; }
.app-sheet-box h2 { margin: 0 0 10px; font-size: 19px; }
.app-steps { list-style: none; counter-reset: step; padding: 0; margin: 0 0 12px; }
.app-steps li { counter-increment: step; display: flex; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.app-steps li::before { content: counter(step); flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: #fff;
  font-weight: 700; font-size: 13px; display: grid; place-items: center; }
.app-sheet-box .btn.wide { margin-top: 8px; padding: 10px; font-weight: 700; }
