/* Shared startup identity stays still; motion belongs to the progress track. */
:root:has(.page-loading).refresh-booting::before,:root:has(.page-loading).refresh-booting::after{display:none!important}
.page-loading,.page-loading *{box-sizing:border-box}
.page-loading{position:fixed;inset:0;z-index:10002;display:grid;place-items:center;padding:24px;background:#f6f8fc;color:#263548;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei","Segoe UI",sans-serif;opacity:0;pointer-events:none;transition:opacity 180ms ease-out}
.page-loading[data-state="loading"],.page-loading[data-state="error"]{opacity:1;pointer-events:auto}
.page-loading-card{width:min(100%,340px);padding:30px 28px;border:1px solid #e5ebf3;border-radius:24px;background:#fff;box-shadow:0 12px 36px #26354808;text-align:center;transition:opacity 180ms ease-out}
.page-loading[data-state="ready"] .page-loading-card{opacity:0}
.page-loading-identity{display:flex;align-items:center;justify-content:center;gap:9px;margin:0 0 24px;color:#53667e;font-size:13px;line-height:1;font-weight:650}
.page-loading .page-loading-identity img{display:block;width:28px;height:28px;border-radius:8px}
.page-loading h2{margin:0;font-size:20px;font-weight:650;line-height:1.45;text-wrap:balance}
.page-loading [data-page-loading-detail]{margin:10px 0 24px;color:#64748b;font-size:12px;line-height:1.7;text-wrap:pretty}
.page-loading-track{position:relative;overflow:hidden;width:100%;height:7px;border-radius:8px;background:#eaf0f9}
.page-loading-track>span{position:absolute;inset:0;overflow:hidden;width:100%;border-radius:inherit;background:#086be6;transform-origin:left;transition:transform 180ms ease-out}
.page-loading-track>span::after{position:absolute;inset:0 0 0 auto;width:3px;border-radius:inherit;background:#b8d8ff;opacity:.75;content:""}
.page-loading[data-progress="unknown"] .page-loading-track>span{transform:scaleX(.12)}
.page-loading [hidden]{display:none!important}
.page-loading-resources{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 12px;margin-top:16px;color:#64748b;font-size:11px;line-height:1.6;font-variant-numeric:tabular-nums}
.page-loading-resources:has(>span:not([hidden])){min-height:16px}
.page-loading-resources>span:not([hidden]){display:inline-flex;align-items:center;justify-content:center;gap:4px;animation:page-resource-ready 180ms ease-out both}
.page-loading-resources>span:nth-child(2){animation-delay:40ms}
.page-loading-resources>span:nth-child(3){animation-delay:80ms}
.page-loading .page-loading-resources svg{display:block;width:13px;height:13px;flex:0 0 13px;fill:none;stroke:#6885a9;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.page-loading-resources [data-resource-value]{display:block;line-height:1.6}
@keyframes page-resource-ready{from{opacity:0;transform:translateY(3px)}to{opacity:1;transform:none}}
.page-loading [data-page-loading-actions]{display:grid;gap:8px;margin-top:20px}
.page-loading button{display:flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border:0;border-radius:12px;background:#086be6;color:#fff;font:inherit;font-size:14px;font-weight:600;line-height:1.4;cursor:pointer}
.page-loading button[data-page-loading-dismiss]{background:#edf2f9;color:#52657c}
.page-loading button:focus-visible{outline:3px solid #8ebdf5;outline-offset:3px}
@media(prefers-reduced-motion:reduce){.page-loading,.page-loading-card,.page-loading-track>span{transition:none}.page-loading .page-loading-resources>span{animation:none}}
html:has(.page-loading) .login-startup{display:none}
@media print{.page-loading{display:none!important}}
