.owner-auth-pending { display: none; }
html.owner-deployment #siteShell { display: none !important; }
/* Full-screen loading overlay is a genuine dark ground (like the POS login screen), so it
   uses the derived --pos-ground token rather than --bg (near-white) — see shared/tokens.css. */
html.owner-deployment .owner-auth-pending { position: fixed; z-index: 100; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 30px; background: var(--pos-ground); color: var(--pos-ground-ink); font: 600 .78rem/1.4 var(--font-body); letter-spacing: .11em; text-align: center; text-transform: uppercase; }
html.owner-deployment .owner-auth-pending[hidden] { display: none; }
.owner-auth-pending img { display: block; width: min(235px, 65vw); height: auto; }
.owner-gate { width: min(420px, calc(100vw - 32px)); border: 0; padding: 0; background: transparent; color: var(--ink); }
.owner-gate h2:focus { outline: none; }
.owner-gate::backdrop { background: rgba(4, 24, 43, .82); }
.owner-gate form { position: relative; display: grid; gap: 15px; padding: 38px 40px 40px; border: 1px solid #d9d3c8; background: var(--surface); box-shadow: 0 28px 70px rgba(4,24,43,.32); text-align: center; }
/* mix-blend-mode: multiply removed — it was tuned to the old vendor's logo art and makes a
   light/white placeholder logo (shared/tokens.css's svg() helper) vanish against this card. */
.owner-gate-logo { display: block; width: min(260px, 82%); height: auto; margin: 0 auto 9px; }
.owner-gate .eyebrow { margin-bottom: 0; }
.owner-gate h2 { margin: 0; font: 700 2rem/1.08 var(--font-heading); }
.owner-gate p:not(.eyebrow) { max-width: 34ch; margin: 0 auto 4px; color: var(--muted); }
.owner-gate small { min-height: 1.2em; color: var(--muted); text-align: center; }
.gate-close { position: absolute; top: 10px; right: 13px; border: 0; background: transparent; color: var(--brand); font-size: 1.7rem; cursor: pointer; }
@media (max-width: 480px) {
  .owner-gate form { padding: 30px 24px 32px; }
  .owner-gate h2 { font-size: 1.72rem; }
}

/* "Continue with Google": styled after Google's own light sign-in button. The white fill and
   the four-colour G (inline SVG in index.html) are Google's brand mark, the one allowed exception
   to the tokens-only colour rule; everything else uses tokens. */
.google-signin { position: relative; display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 50px; margin-top: 6px; padding: 12px 20px; border: 1px solid color-mix(in srgb, var(--ink) 22%, var(--surface)); border-radius: 999px; background: var(--surface); color: var(--ink); font: 500 1rem/1.2 var(--font-body); letter-spacing: .01em; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.google-signin:hover { border-color: var(--muted); box-shadow: 0 1px 3px color-mix(in srgb, var(--ink) 18%, transparent); }
.google-signin:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.google-signin .google-g { flex: none; width: 20px; height: 20px; }
.google-signin.is-connecting { cursor: progress; opacity: .7; }
.google-signin.is-connecting .google-g { animation: google-signin-pulse .9s ease-in-out infinite; }
@keyframes google-signin-pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .google-signin.is-connecting .google-g { animation: none; } }
