/* Web edition only (admin.apexroping.com/console). Loaded after style.css. */

/* The web console always talks to production and never remembers a password. */
label[for="central"], #central { display: none !important; }
.login-card .check { display: none !important; }

/* Turnstile shows only if Cloudflare wants a click (appearance interaction-only)
   and portal-web.js removes + hides it the moment the check finishes. */
#aiq-turnstile { position: fixed; bottom: 12px; right: 12px; z-index: 1000; }

.aiq-qr { display: block; width: 200px; height: 200px; margin: 8px auto; background: #fff; padding: 6px; border-radius: 8px; }
.aiq-backup { font-size: 13px; background: var(--bg-raised, #111827); border: 1px solid var(--line, #334155); border-radius: 6px; padding: 8px; column-count: 2; user-select: all; }
#aiq-enroll { position: fixed; inset: 0; z-index: 900; overflow-y: auto; }

/* Phone layout: sidebar becomes a top strip that scrolls sideways. */
@media (max-width: 760px) {
  html, body { height: auto; }
  .app { flex-direction: column; height: auto; min-height: 100vh; }
  .sidebar { width: 100%; border-right: 0; border-bottom: 1px solid var(--line); max-height: none; }
  .side-nav { display: flex; flex-direction: row; flex-wrap: nowrap; overflow-x: auto; gap: 4px; padding: 6px; -webkit-overflow-scrolling: touch; }
  .side-nav .nav-group { display: none; }
  .side-nav > * { flex: 0 0 auto; white-space: nowrap; }
  .side-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 6px 10px; }
  .main { overflow: visible; }
  .split, .playbook { grid-template-columns: 1fr !important; }
  table { display: block; overflow-x: auto; max-width: 100%; }
  .minw260 { min-width: 0; width: 100%; }
  .row > div { min-width: 0; max-width: 100%; }
  .side-nav .navbtn { border-left: 0; border-bottom: 3px solid transparent; border-radius: 6px 6px 0 0; }
  .side-nav .navbtn.on { border-bottom-color: var(--accent); }
  .login-card { width: auto; max-width: 420px; margin: 16px; }
  input, select, textarea, button { font-size: 16px; } /* no iOS zoom on focus */
}
