/* FDS extension: reserve the authenticated sidebar's space while fresh permissions are pending.
   No navigation link is revealed until the server has authorized it. */
@media (min-width: 1024px) {
  body[data-fpa-shell="early"] .ssa-app[data-shell="pending"] { grid-template-columns: var(--ssa-sidebar) minmax(0, 1fr); }
  body[data-fpa-shell="early"] .ssa-app[data-shell="pending"].is-collapsed { grid-template-columns: var(--ssa-sidebar-collapsed) minmax(0, 1fr); }
  body[data-fpa-shell="early"] .ssa-app[data-shell="pending"] .ssa-sidebar { display: flex; }
  body[data-fpa-shell="early"] .ssa-app[data-shell="pending"] .ssa-sidebar > * { visibility: hidden; }
  body[data-fpa-shell="early"] .ssa-app[data-shell="pending"] .ssa-sidebar::after { content: ''; position: absolute; inset-inline: 16px; top: 100px; height: 12px; border-radius: var(--fds-radius-sm); background: var(--fds-bg-muted); box-shadow: 0 32px var(--fds-bg-muted), 0 64px var(--fds-bg-muted), 0 96px var(--fds-bg-muted); }
}
/* FDS extension: the component page's title/actions row and eight links are the V2 standard. */
body[data-fpa-shell="early"] .ssa-app .fpa-workspace-head {
  display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap;
  gap: var(--fds-space-4); margin: 0 0 var(--fds-space-4); padding: 0;
}
body[data-fpa-shell="early"] .ssa-app .fpa-workspace-head > :first-child { min-width: 0; flex: 1 1 auto; }
body[data-fpa-shell="early"] .ssa-app .fpa-workspace-head h1 { margin: 0; font-size: 1.375rem; font-weight: 600; line-height: 1.4; }
body[data-fpa-shell="early"] .ssa-app .fpa-workspace-head p { margin-block: var(--fds-space-2) 0; font-size: .8125rem; line-height: 1.6; color: var(--fds-text-secondary); }
body[data-fpa-shell="early"] .ssa-app .fpa-workspace-head .ssa-page-actions { display: flex; align-items: center; flex-wrap: wrap; gap: var(--fds-space-2); }
.fpa-workspace-navigation { display: flex; flex-wrap: wrap; gap: var(--fds-space-2); margin-block: 0 var(--fds-space-4); }
.fpa-workspace-navigation .fds-btn { display: inline-flex; align-items: center; justify-content: center; min-height: var(--faus-control); padding-inline: var(--faus-control-pad-x); font-size: var(--faus-control-font); line-height: var(--faus-control-line); }
.fpa-workspace-navigation [aria-current="page"] { background: var(--fds-gray-100); box-shadow: inset 0 -2px var(--fds-blue-600); }
body[data-fpa-shell="early"] .ssa-app .ssa-main {
  box-sizing: border-box; width: 100%; max-width: none; min-width: 0; margin-inline: 0;
  padding-inline: var(--faus-gutter);
}
body[data-fpa-shell="early"] .ssa-main .fpa-overview { max-width: none; width: 100%; margin-inline: 0; }
/* Keep wide authoring tables inside the shared content width. */
body[data-fpa-shell="early"] .ssa-main #fpa-v2-root { min-width: 0; max-width: 100%; overflow-x: auto; }
