/* First paint and real request states, shared by all workspaces. */
.aster-boot-pending>#app,.aster-boot-pending>aside.sidebar,.aster-boot-pending>.shell{visibility:hidden}
.aster-page-loader{position:fixed;inset:0;z-index:1500;display:grid;place-items:center;background:color-mix(in srgb,var(--aster-surface) 100%,transparent);padding:24px;pointer-events:auto}
.aster-page-loader[hidden]{display:none!important}
.aster-loading-card{display:flex;flex-direction:column;align-items:center;gap:14px;text-align:center;color:var(--aster-text);font:14px/1.5 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;max-width:32rem}
.aster-loading-card>span:last-child{color:var(--aster-muted)}
.aster-loading-card strong{font-size:18px;font-weight:600}
.aster-loading-mark{display:grid;place-items:center;max-width:100%;min-height:36px;background:transparent}
.aster-loading-mark .appearance-brand-image{display:block;width:auto;height:var(--aster-logo-height,36px);max-width:min(280px,75vw);object-fit:contain;border-radius:0}
.aster-section-mark{display:inline-flex;align-items:center;justify-content:center;flex:none;max-width:90px}
.aster-section-mark .appearance-brand-image{display:block;width:auto;height:26px;max-width:80px;object-fit:contain}
.aster-loading-spinner{display:inline-block;width:24px;height:24px;flex:none;border:3px solid var(--aster-border);border-top-color:var(--aster-accent);border-radius:50%;animation:aster-loading-spin .8s linear infinite}
.aster-section-pending{position:relative;min-height:150px}
.aster-section-loader{position:absolute;inset:0;z-index:3;display:flex;gap:12px;align-items:center;justify-content:center;background:color-mix(in srgb,var(--aster-surface) 100%,transparent);border-radius:inherit;color:var(--aster-text);font:14px/1.5 system-ui;text-align:center;padding:20px}
.aster-loading-warning{position:relative;z-index:1700;padding:14px;background:var(--aster-warning-surface);color:var(--aster-warning-ink);font:14px/1.5 system-ui;text-align:center}
.aster-loading-warning button{font:inherit;cursor:pointer;margin-left:6px}
.aster-route-enter{animation:aster-route-reveal .14s ease-out}
@keyframes aster-loading-spin{to{transform:rotate(360deg)}}
@keyframes aster-route-reveal{from{opacity:.65;transform:translateY(3px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.aster-loading-spinner,.aster-route-enter{animation:none}}
@media(max-width:640px){
  .aster-unified-ui .page-head{flex-wrap:wrap;gap:14px}
  .aster-unified-ui .page-head>div{min-width:0;max-width:100%}
  .aster-unified-ui .page-head .head-actions{flex-basis:100%;justify-content:flex-start;flex-wrap:wrap}
  .aster-unified-ui .page-head .head-actions .btn{max-width:100%;white-space:normal;overflow-wrap:anywhere;text-align:left}
}

/* The slow-load recovery action retains a label beside its refresh glyph. */
.aster-loading-warning button{display:inline-flex;align-items:center;gap:6px}
.aster-loading-warning button>.icon{width:16px;height:16px;flex:0 0 16px}
