/* Workspace defaults also reach confirmations appended to the body. The
   photographic authentication and public documents retain their own metrics. */
body:has(> .workspace-shell) { --line-control: 1; --tracking-control: var(--tracking-body); line-height: var(--line-workspace); letter-spacing: var(--tracking-body); }
.workspace-shell { background: var(--surface); color: var(--ink); }
.workspace-shell :is(h1, h2, h3) { letter-spacing: var(--tracking-ui); }

.workspace-shell .page-tabs:not(.topbar-tabs) { margin-bottom: var(--space-4); }
/* A register has 16px of separation from its title band. When a status or
   secondary navigation row intervenes, split that space evenly around it. */
.workspace-content > :is(.production-page, .inventory-page, .sales-index) > .page-header { --page-header-gap: var(--space-2); }
.workspace-shell :is(.production-page, .inventory-page, .sales-inbox) > .page-tabs { margin-bottom: var(--space-2); padding-block: 0; overflow: visible; }
.production-navigation { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-2); }
.workspace-shell .production-navigation > .page-tabs { margin: 0; padding: 0; overflow: visible; }
.production-page > .order-sheet-empty { padding-top: 0; }
.order-sheet-empty:has(> .register-empty) { padding: 0; }
.register-empty {
  display: grid;
  grid-template-columns: minmax(0, 192px) minmax(0, 32ch);
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  width: 100%;
  min-height: clamp(240px, 36svh, 352px);
  padding-block: var(--space-8);
}
.register-empty__illustration { display: block; width: 100%; aspect-ratio: 24 / 17; height: auto; object-fit: contain; }
.register-empty__copy h2 { margin: 0; font-size: var(--title-panel); line-height: var(--line-panel); font-weight: 600; }
.register-empty__copy p { margin: var(--compact-copy-gap) 0 0; color: var(--muted); font-size: var(--text-body); line-height: var(--line-workspace); text-wrap: pretty; }
.register-empty__copy .button { margin-top: var(--space-3); }
@media (max-width: 600px) {
  .register-empty {
    grid-template-columns: minmax(0, 32ch);
    align-content: center;
    gap: var(--space-4);
    min-height: 256px;
  }
  .register-empty__illustration { width: 144px; object-position: left bottom; }
}
@media (max-width: 760px) {
  .workspace-shell .page-header { gap: var(--space-3); }
  .workspace-shell .page-header__identity { min-width: 0; }
}
