/* Preview guard veil and fallback (public/js/aura-preview-guard.js). */
.apg-host{position:relative}
.apg{position:absolute;z-index:6;display:grid;place-content:center;justify-items:center;gap:12px;padding:20px;box-sizing:border-box;text-align:center;
  background:#f7f5f0;color:#3b3a36;font:500 14px/1.45 system-ui,-apple-system,"Segoe UI",sans-serif;border-radius:inherit}
.apg[hidden]{display:none}
.apg p{margin:0;max-width:34ch}
.apg-spin{width:28px;height:28px;border-radius:50%;border:3px solid rgba(0,0,0,.12);border-top-color:#e8742a;animation:apg-spin .8s linear infinite}
.apg-acts{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}
.apg-btn{min-height:44px;padding:0 18px;border-radius:999px;border:1px solid #c2410c;background:#c2410c;color:#fff;font:600 14px/1 system-ui,sans-serif;cursor:pointer;display:inline-flex;align-items:center;text-decoration:none}
.apg-btn.apg-alt{background:transparent;color:#b5531a}
.apg-btn:focus-visible{outline:3px solid #1d4ed8;outline-offset:2px}
.apg-warm{position:fixed;left:-10000px;top:0;width:1280px;height:800px;border:0;visibility:hidden;pointer-events:none}
@keyframes apg-spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.apg-spin{animation:none}}
/* Follow the page theme (data-theme), not the OS: a light dashboard on a dark-mode computer stays light. */
:root[data-theme="dark"] .apg{background:#1d1c1a;color:#e9e6df}
:root[data-theme="dark"] .apg-spin{border-color:rgba(255,255,255,.15);border-top-color:#f08a45}
:root[data-theme="dark"] .apg-btn.apg-alt{color:#f3a46d}
