.site-loading { position: fixed; inset: 0 0 auto; z-index: 10000; height: 3px; overflow: hidden; pointer-events: none; background: rgba(0, 41, 168, .16); }
.site-loading[hidden], .loading-inline[hidden] { display: none; }
.site-loading-bar { display: block; width: 35%; height: 100%; background: linear-gradient(90deg, #0b4bd1, #ff8a00); animation: site-loading-progress 1.1s ease-in-out infinite; }
.site-loading-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.loading-inline { display: inline-flex; align-items: center; gap: .45rem; margin-top: .35rem; color: #60708e; font-size: .75rem; line-height: 1.4; }
.loading-inline::before { content: ""; width: .8rem; height: .8rem; flex: none; border: 2px solid #dce8fb; border-top-color: #0a37bd; border-radius: 50%; animation: loading-spin .8s linear infinite; }
.loading-inline.is-error::before, .loading-inline.is-empty::before { display: none; }
.loading-inline.is-error { color: #a51f27; }
button.is-submitting { cursor: wait; opacity: .75; }
@keyframes site-loading-progress { from { transform: translateX(-100%); } to { transform: translateX(290%); } }
@keyframes loading-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .site-loading-bar, .loading-inline::before { animation: none; } }
.loading-recovery[hidden], .loading-recovery a[hidden] { display: none; }
.loading-recovery { position: fixed; inset: auto 1rem 1rem; z-index: 10001; width: min(440px, calc(100% - 2rem)); padding: 1rem 1.2rem; border: 1px solid #f0d3a4; border-radius: 12px; color: #60420b; background: #fffaf0; box-shadow: 0 8px 30px #182c4c20; font-size: .85rem; }
.loading-recovery p { margin: 0; }
.loading-recovery a { display: inline-block; margin-top: .5rem; color: #153c9c; text-decoration: underline; }
