/* Workspace leftovers that still serve the legacy editor and feature markup
   (.button, .card, .page-heading, .eyebrow). The shell itself lives in ui-30-shell.css. */
.workspace-icon { width: 20px; height: 20px; flex: none; vertical-align: middle; }
/* One focus ring for the whole workspace: the primary token is re-pointed on midnight
   surfaces, so the ring stays visible on the sidebar and on bands. */
.workspace-page :is(a, button, summary, input, select, textarea):focus-visible { outline: 2px solid var(--pg-primary); outline-offset: 2px; }
.workspace-menu-open { overflow: hidden; }
:where(.workspace-page:not(.workspace-editor)) .button { border-radius: var(--pg-radius-sm); min-height: 42px; padding: 10px 16px; font-size: 12px; font-weight: 600; gap: 8px; box-shadow: none; }
:where(.workspace-page:not(.workspace-editor)) .button-primary { background: var(--pg-primary); border-color: var(--pg-primary); }
:where(.workspace-page:not(.workspace-editor)) .button-primary:hover { background: var(--pg-primary-hover); }
:where(.workspace-page:not(.workspace-editor)) .button-secondary { background: var(--pg-surface); border-color: var(--pg-line-strong); color: var(--pg-muted); }
:where(.workspace-page:not(.workspace-editor)) .button-secondary:hover { background: var(--pg-surface-2); border-color: var(--pg-primary-line); }
:where(.workspace-page:not(.workspace-editor)) .card { border-radius: var(--pg-radius-md); background: var(--pg-surface); border-color: var(--pg-line); box-shadow: none; }
:where(.workspace-page:not(.workspace-editor)) .page-heading { align-items: center; margin-bottom: 26px; gap: 20px; }
:where(.workspace-page:not(.workspace-editor)) .page-heading h1 { font-size: 30px; line-height: 1.3; letter-spacing: -.8px; margin-block: 7px 8px; }
:where(.workspace-page:not(.workspace-editor)) .page-heading p { font-size: 13px; color: var(--pg-muted); line-height: 1.8; margin-top: 7px; max-width: 700px; }
:where(.workspace-page:not(.workspace-editor)) .eyebrow { font-size: 12px; letter-spacing: .08em; color: var(--pg-primary); }
html[dir=rtl] .workspace-page :is(h1,h2,h3,.eyebrow) { letter-spacing: 0; }
@media (max-width: 599px) {
  :where(.workspace-page:not(.workspace-editor)) .page-heading { flex-direction: column; align-items: stretch; gap: 16px; }
  :where(.workspace-page:not(.workspace-editor)) .page-heading h1 { font-size: 26px; letter-spacing: -.6px; }
  :where(.workspace-page:not(.workspace-editor)) .page-heading > .inline-actions { flex-wrap: wrap; }
  :where(.workspace-page:not(.workspace-editor)) .button { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .workspace-page :is(.button,.card) { transition: none; }
}
