/* Shows the workspace shape while real data loads. */
.workspace-loader{position:fixed;inset:0;z-index:1200;display:flex;align-items:center;justify-content:center;background:#f7f8fa;color:#26334a;transition:opacity .18s ease,visibility .18s ease}
.workspace-loader[hidden]{display:none}
.workspace-loader.is-complete{opacity:0;visibility:hidden;pointer-events:none}
.workspace-skeleton{display:grid;grid-template-columns:minmax(210px,260px) minmax(0,1fr);width:100%;height:100%;min-width:0;overflow:hidden}
.workspace-skeleton-sidebar{display:flex;flex-direction:column;gap:18px;padding:28px 22px;background:#fff;border-right:1px solid #e3e7ef}
.workspace-skeleton-main{min-width:0;overflow:hidden}
.workspace-skeleton-top{height:70px;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:0 30px;background:#fff;border-bottom:1px solid #e3e7ef}
.workspace-skeleton-content{max-width:1500px;margin:0 auto;padding:36px 32px;display:flex;flex-direction:column;gap:16px}
.skeleton-line,.skeleton-card,.workspace-skeleton-panel{display:block;background:#e9edf2;background-size:220% 100%;animation:skeleton-shimmer 1.5s ease-in-out infinite;border-radius:14px}
.skeleton-line{height:18px;flex:none}
.skeleton-brand{width:66%;height:40px;margin-bottom:14px}
.skeleton-search{width:100%;height:42px;margin-bottom:20px}
.skeleton-menu{width:80%;height:34px}
.skeleton-menu:nth-of-type(4){width:61%}
.skeleton-menu:nth-of-type(6){width:72%}
.skeleton-crumb{width:140px;height:16px}
.skeleton-top-search{width:min(230px,36%);height:35px}
.skeleton-title{width:min(330px,60%);height:28px}
.skeleton-subtitle{width:min(490px,80%);height:16px}
.workspace-skeleton-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:18px}
.skeleton-card{height:130px}
.workspace-skeleton-panel{height:300px;margin-top:10px;padding:24px;display:flex;flex-direction:column;gap:22px;background:#fff;border:1px solid #e3e7ef}
.workspace-skeleton-panel .skeleton-line{background:#e9edf2;background-size:220% 100%}
.skeleton-panel-title{width:180px;height:20px}
.skeleton-row{width:100%;height:34px}
.skeleton-row:last-child{width:74%}
#workspace-loading,.workspace-loader-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.workspace-loader.has-error{flex-direction:column;gap:16px;padding:24px}
.workspace-loader.has-error .workspace-skeleton{display:none}
.workspace-loader.has-error #workspace-loading{position:static;width:auto;height:auto;max-width:440px;overflow:visible;clip-path:none;white-space:normal;color:#26334a;font-size:14px;font-weight:600;line-height:1.5;text-align:center}
#workspace-loader-retry{background:#1747a1;color:#fff;border-radius:14px}
#workspace-loader-retry[hidden]{display:none}
@keyframes skeleton-shimmer{to{background-position-x:-220%}}
@media(max-width:760px){.workspace-skeleton{grid-template-columns:64px minmax(0,1fr)}.workspace-skeleton-sidebar{padding:22px 12px;align-items:center}.workspace-skeleton-sidebar .skeleton-line{width:38px;height:38px;margin:0}.workspace-skeleton-sidebar .skeleton-search{display:none}.workspace-skeleton-top{padding:0 18px}.workspace-skeleton-content{padding:28px 18px}.workspace-skeleton-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-skeleton-cards .skeleton-card:last-child{display:none}}
@media(max-width:520px){.workspace-skeleton{grid-template-columns:1fr}.workspace-skeleton-sidebar{display:none}.workspace-skeleton-cards{grid-template-columns:1fr}.workspace-skeleton-cards .skeleton-card:not(:first-child){display:none}.workspace-skeleton-top-search{width:80px}}
@media(prefers-reduced-motion:reduce){.workspace-loader,.skeleton-line,.skeleton-card,.workspace-skeleton-panel{animation:none;transition:none}}
