/* Authenticated presentation only. Approved master artwork is never rebuilt. */
.app-shell .brand-approved-master { height: 84px; padding: 4px 8px 12px; }
.app-shell .brand-artwork { display: block; width: 100%; height: auto; object-fit: contain; }
.app-shell .brand-symbol { display: none; width: 44px; height: 44px; object-fit: contain; flex-shrink: 0; }
.app-shell.sidebar-compact .brand-artwork { display: none; }
.app-shell.sidebar-compact .brand-symbol { display: block; }
.app-shell .sidebar-close { display: none; }
.app-shell > .scrim:not([data-action="close-mobile"]) { z-index: 105; }
.app-shell > .drawer { z-index: 110; }
.app-shell > .popover { z-index: 110; }
.app-shell .popover-head { position: relative; padding-right: 54px; }
.app-shell .popover-close { position: absolute; right: 0; top: 0; }
.app-shell .nav-item { height: auto; min-height: 44px; padding-block: 10px; }
.app-shell .nav-item.active { color: var(--gc-brand-contrast); }
.app-shell .topbar :is(.context-button,.icon-button,.profile-button,.search-button),
.app-shell .mobile-context-bar .context-button { min-height: 44px; }
.app-shell .topbar .icon-button { min-width: 44px; flex-shrink: 0; }
.app-shell .topbar .search-button { min-width: 44px; }
.app-shell .avatar { flex-shrink: 0; color: var(--gc-brand-contrast); }
.app-shell :is(.topbar,.popover,.drawer,.command-palette) :focus-visible { outline: 3px solid var(--gc-text-strong); outline-offset: 2px; }
.app-shell .sidebar :focus-visible { outline: 3px solid var(--gc-sidebar-text); outline-offset: 2px; }
.app-shell .command-input { min-width: 0; }
.app-shell .command-input:focus-visible { outline-offset: -3px; }
.app-shell .drawer-head { height: auto; min-height: 76px; padding-block: 12px; flex-shrink: 0; }
.app-shell .drawer-head .icon-button { min-width: 44px; min-height: 44px; flex-shrink: 0; }
.app-shell .popover .menu-row { min-height: 44px; }
.app-shell .workspace-capability { padding: 24px; display: flex; align-items: flex-start; gap: 16px; }
.app-shell .workspace-capability .command-icon { flex: 0 0 44px; width: 44px; height: 44px; }
.app-shell .workspace-capability h2 { margin: 0; font-size: var(--gc-font-lg); color: var(--gc-text-strong); }
.app-shell .workspace-capability p { margin: 8px 0 0; line-height: 1.6; color: var(--gc-muted); max-width: 76ch; }
.app-shell .master-editor [data-master-fields] { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 14px; }
.app-shell .master-editor :is(input:not([type="checkbox"]),select,textarea) { min-height: 44px; border-color: var(--gc-muted); }
.app-shell .master-form-actions { position: sticky; bottom: -18px; display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 0; background: var(--gc-surface); border-top: 1px solid var(--gc-border); }
.app-shell .master-form-actions .action-button { min-height: 44px; }
.app-shell .master-form-actions [role="status"] { width: 100%; }
.app-shell .master-discard-prompt { padding: 16px; margin-bottom: 16px; background: var(--gc-surface-subtle); border: 1px solid var(--gc-muted); border-radius: var(--gc-radius-sm); }
.app-shell .field-required { color: var(--gc-muted); font-size: var(--gc-font-xs); font-weight: 500; }
.app-shell .form-alert { flex-wrap: wrap; }
.app-shell .form-alert > span { flex: 1; min-width: 120px; }
.app-shell .master-editor .checkbox-field { min-height: 44px; align-items: center; }
.app-shell .drawer .segment-button { min-height: 44px; height: auto; padding-block: 10px; }
.app-shell :is(.search-button kbd,.profile-role,.page-subtitle,.master-editor .login-help) { color: var(--gc-text); }
.app-shell :is(.popover,.command-input-wrap) .icon-button { width: 44px; height: 44px; flex-shrink: 0; }
.app-shell .page-actions .action-button { min-height: 44px; }
.app-shell .search-button { container: workspace-search / inline-size; }
@container workspace-search (max-width: 170px) {
  .search-button :is(.search-copy,kbd) { display: none; }
}
@media (max-width: 760px) { .app-shell :is(.table-action,.panel-link) { min-height: 44px; } }
@media (prefers-reduced-motion: reduce) {
  html[data-auth="false"] body,
  .app-shell :is(.sidebar,.nav-item,button,input,select,textarea) { transition: none; }
}
@media (max-width: 940px) {
  .app-shell.sidebar-compact .brand-artwork { display: block; }
  .app-shell.sidebar-compact .brand-symbol { display: none; }
  .app-shell .brand-approved-master { margin-right: 38px; height: 80px; padding-left: 0; }
  .app-shell .sidebar-close { display: grid; position: absolute; top: 34px; right: 10px; width: 44px; height: 44px; }
  .app-shell .profile-button { min-width: 44px; width: 44px; padding: 0; }
  .app-shell .profile-button > svg { display: none; }
  .app-shell .mobile-context-bar { flex-wrap: wrap; }
  .app-shell .mobile-context-bar .context-button { height: auto; padding-block: 8px; }
}
@media (max-width: 390px) { .app-shell .workspace-capability { padding: 18px; flex-direction: column; } }
