/* Shared controls follow the original theme; database public designs keep their own CSS. */
html[data-standardization]{--wa-accent:#1683ff;--wa-accent-deep:#005ee8;--wa-bg:#f5f7fb;--wa-surface:#fff;--wa-surface-2:#f1f5f9;--wa-text:#0f172a;--wa-muted:#475569;--wa-border:#cadedc;--wa-shadow:rgba(15,23,42,.13);--wa-font:'Inter','Segoe UI',Arial,sans-serif;--wa-size:14px;--wa-type-scale:1;--wa-glow:.10;--wa-density:1;--wa-background-opacity:1;--wa-panel-bg:radial-gradient(ellipse at 0 0,color-mix(in srgb,var(--wa-accent) 9%,transparent),transparent 60%),linear-gradient(155deg,var(--wa-surface-2),var(--wa-surface) 60%);--wa-panel-shadow:0 18px 45px var(--wa-shadow),0 0 24px color-mix(in srgb,var(--wa-accent) 7%,transparent),inset 0 1px 0 color-mix(in srgb,#fff 10%,transparent);overflow-x:clip;scroll-behavior:auto}
html[data-standardization] body{isolation:isolate;overflow-x:clip}
html[data-standardization='internal'][data-wa-public-design='false']{background-color:var(--theme-bg);color:var(--theme-text)}
html[data-standardization] [hidden]{display:none!important}
html[data-standardization] :focus-visible{outline:2px solid var(--wa-accent);outline-offset:3px}
.wa-ambient{position:fixed;inset:0;z-index:-1;pointer-events:none;overflow:clip;contain:paint}
.wa-ambient span{position:absolute;width:min(780px,100vw);height:min(780px,100vw);border-radius:50%;background:radial-gradient(ellipse,var(--wa-accent),transparent 70%);opacity:var(--wa-glow);animation:waDrift 26s ease-in-out infinite alternate;will-change:transform}
.wa-ambient span:first-child{left:-240px;top:-170px}.wa-ambient span:last-child{right:-260px;bottom:-250px;animation-delay:-13s;animation-duration:32s}
body:has(.dashboard-moving-bg) .wa-ambient,html[data-wa-public-design='true'] .wa-ambient{display:none}
html[data-wa-motion='still'] .wa-ambient span{animation:none;will-change:auto}
body:has(.wa-appearance-panel:not([hidden])) .wa-ambient span{animation-play-state:paused}
@keyframes waDrift{from{transform:translate3d(-35px,-20px,0) scale(.92)}to{transform:translate3d(90px,80px,0) scale(1.05)}}
/* Keep the native master gradients, glass navigation and outlined accent buttons. */
html[data-standardization='internal'] .site-header::before,html[data-standardization='internal'] .site-header::after{pointer-events:none;max-width:100%}
html[data-wa-motion='animated'] :is(.site-header,.site-footer){background-size:150% 150%;animation:waChromeFlow 24s ease-in-out infinite alternate}
@keyframes waChromeFlow{from{background-position:0 50%}to{background-position:100% 50%}}
html[data-standardization='internal'] .dashboard-moving-bg{opacity:calc(.92 * var(--wa-background-opacity))}
html[data-wa-motion='still'] :is(.dashboard-bg-orb,.dashboard-bg-grid,.site-header,.site-footer,.site-header::before,.site-header::after,.site-footer::before,.site-footer::after){animation:none!important}
html[data-wa-motion='still'] :is(.eu-ambient span,.public-header::before,.public-header::after,.public-footer::before,.public-footer::after){animation-play-state:paused!important}
/* Density only adjusts tables when requested; normal retains the original spacing. */
html[data-standardization='internal']:not([data-density='normal']) :is(.dashboard-table,.data-table) :is(td,th){padding:calc(10px * var(--wa-density)) calc(14px * var(--wa-density))}
html[data-standardization='internal'] :is(.page-content-wrapper,.main-content,.site-main){opacity:1!important;visibility:visible!important;min-width:0}
html[data-standardization] :is(#GlobalPageLoader,#PublicPageLoader,#WebsiteStartupLoader,#DashboardPageTransitionLoader){display:none!important}
html[data-standardization] :is(.page-content-wrapper,.public-page-content){transition:opacity .16s ease,transform .16s ease!important}
html[data-wa-transitions='on'] body.wa-leaving :is(.page-content-wrapper,.public-page-content){opacity:.45!important;transform:translateY(3px)!important;pointer-events:none}
html[data-standardization] .wa-loading-overlay{transition:opacity .16s ease}
@media(prefers-reduced-motion:reduce){.wa-ambient span{animation:none;will-change:auto}html[data-standardization] :is(.page-content-wrapper,.public-page-content){transition:none!important;transform:none!important}html[data-standardization] :is(.site-header,.site-footer,.dashboard-bg-orb,.dashboard-bg-grid){animation:none!important}}
@media print{.wa-ambient,.wa-appearance-panel,.wa-loading-overlay{display:none!important}html[data-standardization] body{background:#fff!important;color:#000!important}}
