/* PC navigation density only. Keep the established catalog and native details
   state authoritative; mobile navigation and every work area are untouched. */
@media screen and (min-width: 761px) {
  #admin.admin-simple-workspace .admin-sidebar .admin-nav {
    padding: 8px !important;
  }

  #admin.admin-simple-workspace .admin-sidebar .admin-nav .admin-menu-home,
  #admin.admin-simple-workspace .admin-sidebar .admin-nav details.admin-menu-category {
    margin-bottom: 4px !important;
  }

  #admin.admin-simple-workspace .admin-sidebar .admin-menu-category-summary {
    min-height: 32px !important;
    padding: 6px 9px !important;
    gap: 8px !important;
    box-sizing: border-box;
  }

  #admin.admin-simple-workspace .admin-sidebar .admin-menu-category-title {
    font-size: 12px !important;
    line-height: 20px !important;
    font-weight: 700 !important;
  }

  #admin.admin-simple-workspace .admin-sidebar .admin-menu-category-count {
    font-size: 10px !important;
    line-height: 16px !important;
    padding-block: 0 !important;
  }

  #admin.admin-simple-workspace .admin-sidebar .admin-menu-category-items {
    gap: 2px !important;
    padding-bottom: 4px !important;
  }

  #admin.admin-simple-workspace .admin-sidebar .admin-menu-home > .admin-menu-category-items {
    padding-bottom: 0 !important;
  }

  #admin.admin-simple-workspace .admin-sidebar .admin-nav .tab {
    min-height: 40px !important;
    height: auto !important;
    padding: 6px 8px !important;
    grid-template-columns: 26px minmax(0, 1fr) !important;
    gap: 8px !important;
    border-radius: 7px !important;
    box-sizing: border-box;
  }

  #admin.admin-simple-workspace .admin-sidebar .admin-nav .tab .tab-icon {
    width: 26px !important;
    height: 26px !important;
    font-size: 13px !important;
    border-radius: 6px !important;
  }

  #admin.admin-simple-workspace .admin-sidebar .admin-nav .tab > span:last-child {
    min-width: 0;
  }

  #admin.admin-simple-workspace .admin-sidebar .admin-nav .tab b {
    font-size: 14px !important;
    line-height: 22px !important;
    font-weight: 650 !important;
    white-space: nowrap !important;
    overflow-wrap: normal !important;
  }

  /* Descriptions remain in the DOM for title/accessible focus help. */
  #admin.admin-simple-workspace .admin-sidebar .admin-nav .tab small {
    display: none !important;
  }

  #admin.admin-simple-workspace .admin-sidebar .admin-nav .tab.active {
    color: #1b426d !important;
    border-color: #b8cce2 !important;
    background: #eaf1fa !important;
    box-shadow: inset 3px 0 #285580 !important;
  }

  #admin.admin-simple-workspace .admin-sidebar .admin-nav .tab:focus-visible {
    outline: 2px solid #385d87 !important;
    outline-offset: 1px;
  }
}
