/* iPhone/browser build only (loaded after style.css). The Mac window is >= 560 px wide; phones are ~375-430 px. */
html.work-caller-web { -webkit-text-size-adjust: 100%; }
html.work-caller-web body {
  min-width: 0;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  box-sizing: border-box;
}
html.work-caller-web main { height: auto; min-height: 100vh; min-height: 100dvh; box-sizing: border-box; }
html.work-caller-web input, html.work-caller-web textarea, html.work-caller-web select { font-size: 16px; } /* no iOS zoom on focus */
/* Tiles are drag-sortable on the Mac (touch-action: none); on a phone the page must scroll when you swipe over them. */
html.work-caller-web .app-tile, html.work-caller-web button { touch-action: manipulation; }
@media (max-width: 520px) {
  html.work-caller-web main { padding-left: 12px; padding-right: 12px; }
  html.work-caller-web .app-grid { flex: none; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: none;
    grid-auto-rows: minmax(96px, auto); gap: 8px; }
  html.work-caller-web .view-header { flex-wrap: wrap; gap: 8px; }
}
