.app-wait-screen{position:fixed;inset:0;z-index:100000;display:flex;align-items:center;justify-content:center;background:#087f4b;color:#fff;font-family:system-ui,-apple-system,sans-serif;text-align:center;padding:24px}
.app-wait-screen[hidden],.app-network-status[hidden]{display:none!important}
.app-wait-content{max-width:420px;width:100%}.app-signature{display:block;width:144px;height:144px;object-fit:contain;margin:0 auto 24px;border:0;border-radius:0;background:none;box-shadow:none}
.app-wait-content h1{font-size:22px;line-height:1.4;margin:0 0 14px;font-weight:600}.app-wait-content p{font-size:14px;line-height:1.6;color:#e5f3ed;margin:14px 0}
.app-wait-dots{display:flex;justify-content:center;gap:9px;margin:18px 0}.app-wait-dots i{display:block;width:9px;height:9px;background:currentColor;border-radius:50%;animation:app-wait-pulse 1.2s infinite ease-in-out}.app-wait-dots i:nth-child(2){animation-delay:.15s}.app-wait-dots i:nth-child(3){animation-delay:.3s}
@keyframes app-wait-pulse{0%,70%,100%{opacity:.35;transform:translateY(0)}35%{opacity:1;transform:translateY(-6px)}}
.app-retry{padding:11px 20px;border:1px solid rgba(255,255,255,.7);border-radius:6px;background:transparent;color:#fff;font:inherit;cursor:pointer}.app-retry:focus-visible{outline:3px solid #fff;outline-offset:4px}
.app-network-status{position:fixed;right:16px;bottom:16px;z-index:99999;display:flex;align-items:center;gap:12px;padding:12px 16px;max-width:calc(100vw - 32px);border-radius:8px;background:#087f4b;color:#fff;box-shadow:0 4px 18px #0003;font:14px system-ui,sans-serif}.app-network-status img{width:42px;height:42px;object-fit:contain}.app-network-status .app-wait-dots{margin:5px 0 0;justify-content:flex-start}.app-network-status .app-wait-dots i{width:6px;height:6px}
@media(prefers-reduced-motion:reduce){.app-wait-dots i{animation:none;opacity:.8}}
/* Top-layer connection screen also covers native transaction dialogs. */
dialog.app-wait-screen{width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;border:0;box-sizing:border-box;border-radius:0;outline:0;box-shadow:none}
dialog.app-wait-screen::backdrop{background:#087f4b}
@media print{dialog.app-wait-screen{display:none!important}}
/* Connection feedback is independent of business-profile dialog skins. */
html body dialog.app-wait-screen{background:#087f4b!important;color:#fff!important;border:0!important;border-radius:0!important;box-shadow:none!important;max-width:none!important;max-height:none!important;width:100vw!important;height:100dvh!important;padding:24px!important}
html body dialog.app-wait-screen::backdrop{background:#087f4b!important;backdrop-filter:none!important}
html body dialog.app-wait-screen .app-wait-content,html body dialog.app-wait-screen h1{background:transparent!important;color:#fff!important}
