/* Revenue Guard page: the report window (rg-integration/report-window.js). Enqueued by inc/assets.php.
   Everything is scoped with rgx-; colours come from the designer's tokens with fallbacks. */
dialog.rgx-dlg{position:fixed;top:0;left:0;right:0;bottom:0;z-index:2147483000;width:100vw;height:100vh;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:0;box-shadow:none;background:var(--bg,#F7F3EE);color:var(--ink,#1C1814);overflow:hidden}
dialog.rgx-dlg:not([open]){display:none}
dialog.rgx-dlg[open]{display:block}
dialog.rgx-dlg::backdrop{background:rgba(28,24,20,.6)}
.rgx-frame{position:absolute;top:0;left:0;z-index:1;display:block;width:100%;height:100%;border:0;background:transparent}
.rgx-x{position:absolute;z-index:2;top:calc(12px + env(safe-area-inset-top,0px));right:calc(12px + env(safe-area-inset-right,0px));width:44px;height:44px;display:grid;place-items:center;margin:0;padding:0;border:1px solid var(--line,rgba(28,24,20,.14));border-radius:50%;background:var(--surface,#fff);color:var(--ink,#1C1814);box-shadow:0 8px 24px rgba(28,24,20,.16);cursor:pointer}
.rgx-x:hover{background:var(--surface-2,#F0EDE8)}
/* the dialog sits outside .rg-page, where the page's .ico rules do not reach: the glyph is drawn here */
.rgx-x .ico{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.rgx-load{position:absolute;top:0;left:0;right:0;bottom:0;display:grid;place-items:center;margin:0;font:400 14px/1.5 var(--sans,'Inter',system-ui,sans-serif);color:var(--ink-3,#6B645C)}
.rgx-ready .rgx-load{visibility:hidden}
html.rgx-lock,html.rgx-lock body{overflow:hidden}
@keyframes rgx-in{from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion:no-preference){dialog.rgx-dlg[open]{animation:rgx-in .18s ease-out}}
