.portal-loading-overlay{position:fixed;inset:0;z-index:20000;display:grid;place-items:center;padding:24px;background:rgba(239,243,244,.82);opacity:0;visibility:hidden;transition:opacity .18s ease,visibility .18s ease}
.portal-loading-overlay.is-visible{opacity:1;visibility:visible}
.portal-loading-card{display:grid;justify-items:center;gap:13px;padding:25px 28px;background:transparent;color:#26343d;text-align:center}
.portal-loading-spinner{width:34px;height:34px;border:3px solid #d9e8e5;border-top-color:#0e887e;border-radius:50%;animation:portal-loading-spin .75s linear infinite}
.portal-loading-card strong{color:#0f3e85;font-size:16px;font-weight:600}
.portal-loading-card p{max-width:270px;margin:0;color:#58656d;font-size:13px;line-height:1.55}
.portal-loading-card p:empty{display:none}
button.is-loading-action,input[type="submit"].is-loading-action{position:relative;pointer-events:none;color:transparent!important}
button.is-loading-action::after{content:"";position:absolute;top:50%;left:50%;width:18px;height:18px;margin:-9px 0 0 -9px;border:2px solid rgba(255,255,255,.5);border-top-color:#fff;border-radius:50%;animation:portal-loading-spin .7s linear infinite}
html[data-theme="dark"] .portal-loading-overlay{background:rgba(17,19,21,.86)}
html[data-theme="dark"] .portal-loading-card{color:#eef2f4}
html[data-theme="dark"] .portal-loading-card strong{color:#fff}
html[data-theme="dark"] .portal-loading-card p{color:#b8c0c5}
@keyframes portal-loading-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.portal-loading-spinner,button.is-loading-action::after{animation-duration:1.5s}}
