/* AstroLoop Browse navigation spacing — 20260909-tab-navigation-spacing-1.
   Label typography only; preserve the existing pane width and navigation controls.
   Natural flow applies only to the small AstroLoop root list (fewer than 25 items).
   Larger/expanded trees retain native virtualization and original typography. */

/* Keep the pinned 70px Mission Control launcher below the scrollable labels. */
html body:has(#al-mc4-toggle) .l-shell__pane-tree .c-tree-and-search__tree > .c-tree__scrollable:has(> div > .c-tree__item-h[role="treeitem"] .c-tree__item__label[aria-label$=" astroloop.dashboard Object"]):not(:has(> div > :nth-child(25))) {
    max-height: calc(100% - 104px) !important;
}

html body .l-shell__pane-tree .c-tree-and-search__tree > .c-tree__scrollable > div:has(> .c-tree__item-h[role="treeitem"] .c-tree__item__label[aria-label$=" astroloop.dashboard Object"]):not(:has(> :nth-child(25))) {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    height: auto !important;
}

html body .l-shell__pane-tree .c-tree-and-search__tree > .c-tree__scrollable > div:has(> .c-tree__item-h[role="treeitem"] .c-tree__item__label[aria-label$=" astroloop.dashboard Object"]):not(:has(> :nth-child(25))) > .c-tree__item-h[role="treeitem"] {
    position: relative !important;
    top: auto !important;
    height: auto !important;
    min-width: 0;
}

html body .l-shell__pane-tree .c-tree-and-search__tree > .c-tree__scrollable > div:has(> .c-tree__item-h[role="treeitem"] .c-tree__item__label[aria-label$=" astroloop.dashboard Object"]):not(:has(> :nth-child(25))) .c-tree__item__label {
    min-width: 0;
    height: auto !important;
    white-space: normal !important;
    align-items: flex-start;
}

html body .l-shell__pane-tree .c-tree-and-search__tree > .c-tree__scrollable > div:has(> .c-tree__item-h[role="treeitem"] .c-tree__item__label[aria-label$=" astroloop.dashboard Object"]):not(:has(> :nth-child(25))) .c-tree__item__name {
    font-size: 19.5px !important;
    line-height: 1.35 !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
    text-overflow: clip !important;
    min-width: 0;
}
