/* Wide-screen layout for the signed-in app pages (Oct 25 2026).
   Until then every app page clamped <body> to 480px from 600px up, so a laptop - or a phone
   with Chrome's "Desktop site" on, which lays out at ~980px - saw the whole app as a tiny
   phone strip in the middle of an empty screen. Now the page itself is full width and only the
   content column is capped, at --page-w (set per page on <body>: lists and forms read best
   narrow, the dashboard grid and video library use the room). Phones are unaffected: below the
   cap everything is exactly as before.
   The header and bottom bar span the screen but line their contents up with that column, so
   Back sits above the content's left edge instead of in the far corner. */
body { --page-w: 720px; max-width: none !important; margin: 0 !important; box-shadow: none !important; }

.main, .step { width: 100%; max-width: var(--page-w); margin-left: auto; margin-right: auto; }

.header, .navbar {
  padding-left: max(20px, calc((100% - var(--page-w)) / 2 + 20px));
  padding-right: max(20px, calc((100% - var(--page-w)) / 2 + 20px));
}

/* Five tabs spread across 1400px are hard to hit and look lost; keep them in a phone-width group. */
.bottom-nav {
  padding-left: max(16px, calc((100% - 560px) / 2));
  padding-right: max(16px, calc((100% - 560px) / 2));
}

/* Tab strip as the app draws it (screens/MainTabs.js, dark theme): #111 bar with a #1a1a1a top
   rule, inactive tabs theme.icon #888, labels 11/600, the current tab green. */
.bottom-nav { background: #111; border-top-color: #1a1a1a; }
.bnav-item { color: #888; font-size: 11px; }
.bnav-item.active { color: #2ECC71; }
