/* Finishing touches retain the approved menu geometry and real destinations. */
html.workspace-menu-ready { scrollbar-gutter: stable; }
.workspace-navigation-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hub-shell .workspace-subnav { position: relative; }
.hub-shell .workspace-subnav[data-menu-refined=true] .workspace-subnav-link::after { display: none; }
.workspace-tab-marker { position: absolute; top: 0; left: 0; height: 2px; border-radius: 2px; background: var(--mint); pointer-events: none; }
.workspace-tab-marker[hidden] { display: none; }
.hub-shell .workspace-sidebar .hub-collapse[aria-busy=true] { cursor: progress; }
.hub-shell .workspace-sidebar .hub-collapse[aria-busy=true] > svg { opacity: .45; }
.hub-shell .workspace-search-result:focus-visible { outline-offset: -2px; }
@media (prefers-reduced-motion: no-preference) {
  .workspace-tab-marker { transition: transform 180ms cubic-bezier(.2,.75,.25,1), width 180ms ease; }
  .hub-shell .workspace-sidebar, .hub-shell .main, .hub-shell .workspace-external-main { transition-timing-function: cubic-bezier(.2,.75,.25,1); }
}
body.hub-shell[data-hub-reduced-motion=true] .workspace-tab-marker { transition: none; }
@media (max-width: 760px) {
  .hub-shell .workspace-sidebar .hub-sidebar-head { min-height: 44px; }
  .hub-shell .workspace-sidebar .main-nav { flex-wrap: nowrap; }
  .hub-shell .workspace-sidebar { transition: transform 210ms cubic-bezier(.2,.75,.25,1), visibility 0s 210ms; }
  .hub-shell.hub-menu-open .workspace-sidebar { transition-delay: 0s; }
  .hub-shell .workspace-sidebar .hub-menu-close { width: 44px; min-height: 44px; inset-block-start: 12px; inset-inline-end: 12px; }
  .hub-shell .hub-menu-backdrop { display: block; position: fixed; inset: 0; z-index: 30; border: 0; padding: 0; background: #05090cad; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 160ms ease, visibility 0s 160ms; }
  .hub-shell.hub-menu-open .hub-menu-backdrop { opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
}
@media (max-width: 760px) and (max-height: 700px) {
  .hub-shell .workspace-sidebar .main-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(3, 44px) minmax(44px, 1fr); align-content: start; gap: 2px; }
  .hub-shell .workspace-sidebar .nav-item { justify-content: center; min-width: 0; padding: 7px 3px; gap: 5px; text-align: center; }
  .hub-shell .workspace-sidebar .nav-item > svg, .hub-shell .workspace-sidebar .nav-item::after, .hub-shell .workspace-sidebar .nav-count { display: none; }
  .hub-shell .workspace-sidebar .workspace-nav-copy strong { font-size: 11px; }
  .hub-shell .workspace-sidebar .nav-item[data-area=config] { margin-top: 0; margin-bottom: 0; padding-top: 7px; align-self: end; }
}
@media (prefers-reduced-motion: reduce) {
  .workspace-tab-marker, .hub-shell .workspace-sidebar, .hub-shell .hub-menu-backdrop { transition: none; }
}
@media (max-width: 760px) and (max-height: 480px) {
  .hub-shell .workspace-sidebar .workspace-search-button { inset-block-start: 12px; inset-inline-end: 64px; width: 44px; min-height: 44px; }
  .hub-shell .workspace-sidebar .main-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(2, 44px) minmax(44px, 1fr); }
}
body.hub-shell[data-hub-reduced-motion=true] .hub-menu-backdrop { transition: none; }
@media (forced-colors: active) { .workspace-tab-marker { background: Highlight; } }
