/* Child tab content: follows the active HumHub theme, not a colored banner. */
.nestedspaces-child-tab-panel {
    margin: 0 0 16px;
    padding: 12px;
    border: 1px solid var(--hh-border-color, var(--bs-border-color, #ddd));
    border-top: 0;
    border-radius: 0 0 5px 5px;
    background: var(--hh-background-color-page, var(--bs-body-bg, #fff));
    color: inherit;
}
.nestedspaces-child-tab-panel[hidden] { display: none !important; }
.nestedspaces-child-tab-list { list-style: none; margin: 0; padding: 0; }
.nestedspaces-child-tab-list li + li { border-top: 1px solid var(--hh-border-color, #eee); }
.nestedspaces-child-tab-list a {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 10px; border-radius: 4px;
    color: inherit; text-decoration: none; overflow-wrap: anywhere;
}
.nestedspaces-child-tab-list a:hover,
.nestedspaces-child-tab-list a:focus-visible {
    background: var(--hh-background-color-highlight, var(--bs-tertiary-bg, #f5f5f5));
    text-decoration: none;
}
.nestedspaces-child-tab-list .fa { opacity: .65; }
.nestedspaces-child-tab-all {
    display: inline-flex; gap: 8px; align-items: center;
    padding: 11px 10px 3px;
    font-weight: 600;
}
