/* /Components/Layout/AppTopbarSearch.razor.rz.scp.css */
/* Topbar search — mobile-first Gmail-style. Hidden on desktop where pages
   render their own SearchToolbar in the page header instead. */
.topbar-search[b-zucq5cf8ib] {
    display: none;
    align-items: center;
}

@media (max-width: 767.98px) {
    .topbar-search[b-zucq5cf8ib] {
        display: inline-flex;
    }
}

.topbar-search-toggle[b-zucq5cf8ib] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    font-size: 1.05rem;
    cursor: pointer;
    transition: background 0.15s ease;
}

.topbar-search-toggle:hover[b-zucq5cf8ib] {
    background: rgba(255, 255, 255, 0.18);
}

/* When expanded, the search field overlays the topbar from the hamburger
   onwards so users get a Gmail-like full-width search. */
.topbar-search.expanded[b-zucq5cf8ib] {
    position: absolute;
    inset: 0 0 0 0;
    z-index: 5;
    padding: 0 0.5rem;
    background: linear-gradient(90deg, #0f172a 0%, #1e293b 100%);
    display: flex;
    align-items: center;
}

.topbar-search-field[b-zucq5cf8ib] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    width: 100%;
}

.topbar-search-back[b-zucq5cf8ib],
.topbar-search-clear[b-zucq5cf8ib] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: #e2e8f0;
    font-size: 1rem;
    cursor: pointer;
    flex-shrink: 0;
}

.topbar-search-back:hover[b-zucq5cf8ib],
.topbar-search-clear:hover[b-zucq5cf8ib] {
    background: rgba(255, 255, 255, 0.12);
}

.topbar-search-field .form-control[b-zucq5cf8ib] {
    flex: 1 1 auto;
    background: rgba(255, 255, 255, 0.92);
    border: none;
    border-radius: 999px;
    height: 36px;
    padding: 0 0.9rem;
    color: #0f172a;
}

.topbar-search-field .form-control:focus[b-zucq5cf8ib] {
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.35);
    background: #fff;
}
/* /Components/Layout/AppTopbarTenantSwitcher.razor.rz.scp.css */
.topbar-tenant[b-itgbugjb66] {
    display: inline-flex;
    align-items: center;
}

.topbar-tenant-btn[b-itgbugjb66],
.topbar-tenant-static[b-itgbugjb66] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.65rem;
    border: none;
    border-radius: 18px;
    background: transparent;
    color: #cbd5e1;
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    max-width: 200px;
    transition: background 0.15s ease, color 0.15s ease;
}

.topbar-tenant-btn:hover[b-itgbugjb66],
.topbar-tenant-btn:focus-visible[b-itgbugjb66],
.topbar-tenant-static:hover[b-itgbugjb66],
.topbar-tenant-static:focus-visible[b-itgbugjb66] {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    text-decoration: none;
    outline: none;
}

.topbar-tenant-btn i.bi-house-door[b-itgbugjb66],
.topbar-tenant-static i.bi-house-door[b-itgbugjb66] {
    font-size: 1rem;
    opacity: 0.85;
}

.topbar-tenant-btn.dropdown-toggle[b-itgbugjb66]::after {
    margin-left: 0.2rem;
    opacity: 0.6;
}

.topbar-tenant-name[b-itgbugjb66] {
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.topbar-tenant-menu[b-itgbugjb66] {
    min-width: 240px;
}

.topbar-tenant-menu .dropdown-item.active[b-itgbugjb66] {
    background-color: rgba(13, 110, 253, 0.1);
    color: inherit;
}

/* Mobile: keep the name visible — bare ikon var for kryptisk. Drop background
   og border helt; det er ren chrome. Hover giver en antydning. */
@media (max-width: 768px) {
    .topbar-tenant-btn[b-itgbugjb66],
    .topbar-tenant-static[b-itgbugjb66] {
        padding: 0.3rem 0.55rem;
        max-width: 160px;
    }

    .topbar-tenant-name[b-itgbugjb66] {
        max-width: 110px;
        font-size: 0.85rem;
    }

    .topbar-tenant-btn.dropdown-toggle[b-itgbugjb66]::after {
        margin-left: 0.15rem;
        opacity: 0.6;
    }

    .topbar-tenant-btn i.bi-house-door[b-itgbugjb66],
    .topbar-tenant-static i.bi-house-door[b-itgbugjb66] {
        color: #e2e8f0;
    }
}
/* /Components/Layout/EnterpriseTopbar.razor.rz.scp.css */
.topbar[b-laeegpzcwc] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
    padding: 0 1rem 0 0.65rem;
    background: linear-gradient(90deg, #0f172a 0%, #1e293b 100%);
    border-bottom: 1px solid #334155;
    color: #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 1030;
    box-sizing: border-box;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .topbar[b-laeegpzcwc] {
        padding: 0 0.4rem 0 0.25rem;
    }
}

.topbar-start[b-laeegpzcwc] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}

.topbar-hamburger[b-laeegpzcwc] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: #e2e8f0;
    font-size: 1.35rem;
    cursor: pointer;
    transition: background 0.15s ease;
    flex-shrink: 0;
}

.topbar-hamburger:hover[b-laeegpzcwc] {
    background: rgba(255, 255, 255, 0.12);
}

/* ── Brand-blok i topbaren (Gmail-style: hamburger → logo → app-navn) ──
   Sidebaren har ikke længere sit eget brand-bånd, så den bærende app-identitet
   sidder her. Logo-ikonet er altid synligt; tekst-labelet skjules på meget
   smalle skærme så søg/avatar-blokken til højre stadig får plads. */
.topbar-brand[b-laeegpzcwc] {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: #f1f5f9;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: -0.01em;
    padding: 0 0.25rem;
    flex-shrink: 0;
}

.topbar-brand:hover[b-laeegpzcwc] {
    color: #fff;
}

.topbar-brand-icon[b-laeegpzcwc] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: linear-gradient(135deg, #3b82f6 0%, #22c55e 100%);
    color: #fff;
    font-size: 1rem;
}

.topbar-brand-text[b-laeegpzcwc] {
    font-size: 1.05rem;
    line-height: 1;
}

@media (max-width: 575.98px) {
    .topbar-brand-text[b-laeegpzcwc] { display: none; }
}

.topbar-greeting[b-laeegpzcwc] {
    font-size: 0.9rem;
    font-weight: 500;
    color: #cbd5e1;
}

.topbar-end[b-laeegpzcwc] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.topbar-control[b-laeegpzcwc] {
    display: flex;
    align-items: center;
}

.topbar-select[b-laeegpzcwc] {
    border: none;
    border-radius: 20px;
    font-size: 0.8rem;
    padding: 0.3rem 1.8rem 0.3rem 0.6rem;
    background: #f1f5f9;
    color: #475569;
    cursor: pointer;
    min-width: auto;
    width: auto;
    font-weight: 500;
    line-height: 1.4;
}

.topbar-select:focus[b-laeegpzcwc] {
    border-color: transparent;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.15);
    background: #e2e8f0;
}

.topbar-icon-btn[b-laeegpzcwc] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    transition: all 0.15s ease;
    font-size: 1.1rem;
}

.topbar-icon-btn:hover[b-laeegpzcwc] {
    background: #f1f5f9;
    color: #334155;
}

.topbar-user[b-laeegpzcwc] {
    position: relative;
}

.topbar-avatar-btn[b-laeegpzcwc] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0.75rem 0.3rem 0.3rem;
    border-radius: 24px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.15s ease;
}

.topbar-avatar-btn:hover[b-laeegpzcwc] {
    background: rgba(255, 255, 255, 0.18);
}

.topbar-avatar-btn[b-laeegpzcwc]::after {
    font-size: 0.6rem;
    vertical-align: middle;
    margin-left: 0.15rem;
}

.topbar-avatar[b-laeegpzcwc] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: #fff;
    font-size: 0.85rem;
}

.topbar-username[b-laeegpzcwc] {
    font-weight: 500;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* /Components/Shared/AppNotificationBell.razor.rz.scp.css */
.topbar-bell[b-73v9qev24v] {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    font-size: 1.05rem;
    line-height: 1;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
    flex-shrink: 0;
}

    .topbar-bell:hover[b-73v9qev24v] {
        background-color: rgba(255, 255, 255, 0.18);
        color: #ffffff;
    }

    .topbar-bell.has-unread[b-73v9qev24v] {
        color: #fbbf24; /* amber for unread to stand out on the dark gradient */
    }

    .topbar-bell.has-unread:hover[b-73v9qev24v] {
        color: #fcd34d;
    }

.topbar-bell-badge[b-73v9qev24v] {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 1.1rem;
    height: 1.1rem;
    padding: 0 .3rem;
    border-radius: .6rem;
    background-color: var(--bs-danger);
    color: #fff;
    font-size: .65rem;
    line-height: 1.1rem;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 0 0 2px #0f172a;
}
/* /Components/Shared/AppStarRating.razor.rz.scp.css */
.app-star-rating[b-watxinjhz1] {
    display: inline-flex;
    align-items: center;
    gap: .15rem;
    line-height: 1;
}

.app-star-rating .bi[b-watxinjhz1] {
    color: var(--bs-warning, #f6c343);
    font-size: 1.1em;
}

.app-star-rating.is-readonly .bi-star[b-watxinjhz1] {
    color: var(--bs-secondary, #6c757d);
    opacity: .5;
}

.app-star-btn[b-watxinjhz1] {
    color: var(--bs-warning, #f6c343);
    line-height: 1;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 0 .1rem;
}

.app-star-btn:hover .bi[b-watxinjhz1] {
    transform: scale(1.1);
    transition: transform .08s ease-out;
}

.app-star-btn:focus-visible[b-watxinjhz1] {
    outline: 2px solid var(--bs-primary, #0d6efd);
    outline-offset: 2px;
    border-radius: .15rem;
}

.app-star-rating-label[b-watxinjhz1] {
    font-size: .85em;
}
/* /Layout/MainLayout.razor.rz.scp.css */
.app-layout[b-dnxq1afopu] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.app-body[b-dnxq1afopu] {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
}

.app-sidebar[b-dnxq1afopu] {
    width: 260px;
    /* Topbaren er 56 px høj og sticky/full-width over sidebar+main, så sidebaren
       starter under den i stedet for at have sit eget brand-bånd. */
    height: calc(100vh - 56px);
    background: var(--sidebar-bg);
    color: var(--sidebar-text);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 56px;
    left: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 1040;
    transition: transform 0.25s ease;
}

.app-main[b-dnxq1afopu] {
    flex: 1;
    margin-left: 260px;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 56px);
    /* Flex children default to min-width:auto, which lets a wide descendant
       (long barcode, ikke-ombrydende tekst, bred tabel, …) presse hele
       kolonnen bredere end viewporten — så topbar-søg/avatar bliver skubbet
       udenfor skærmen på mobil. min-width:0 + overflow-x:clip låser bredden
       til containerens egen plads og lader kun listen scrolle, ikke siden. */
    min-width: 0;
    max-width: 100%;
    overflow-x: clip;
    /* Følger temaet: lys default, mørk via [data-bs-theme="dark"] tokens i app.css. */
    background: var(--color-surface-alt, #f8fafc);
    color: var(--color-text, inherit);
}

.app-content[b-dnxq1afopu] {
    flex: 1;
    min-width: 0;
    max-width: 100%;
    /* No horizontal padding here — `.app-page` (the shared page shell)
       owns the side gutter so we can have one source of truth and let
       mobile go edge-to-edge while desktop keeps a comfortable margin. */
    padding: 1rem 0;
}

@media (min-width: 768px) {
    .app-content[b-dnxq1afopu] {
        padding: 1.5rem 0;
    }
}

/* Treat tablets as small screens too, so the sidebar collapses behind
   a backdrop and the page content doesn't fight for vertical space. */
@media (max-width: 1024px) {
    .app-sidebar[b-dnxq1afopu] {
        transform: translateX(-100%);
    }

    .app-main[b-dnxq1afopu] {
        margin-left: 0;
    }

    .sidebar-open .app-sidebar[b-dnxq1afopu] {
        transform: translateX(0);
    }

    .sidebar-backdrop[b-dnxq1afopu] {
        display: none;
        position: fixed;
        top: 56px;
        right: 0;
        bottom: 0;
        left: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 1035;
    }

    .sidebar-open .sidebar-backdrop[b-dnxq1afopu] {
        display: block;
    }
}
/* /Pages/Notifications/Inbox.razor.rz.scp.css */
/* Category chips — togglable filter buttons */
.app-chip-button[b-y7is4xntkd] {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .35rem .75rem;
    border-radius: 999px;
    border: 1px solid var(--bs-border-color, #dee2e6);
    background: var(--bs-body-bg, #fff);
    color: var(--bs-body-color);
    font-size: .875rem;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.app-chip-button:hover[b-y7is4xntkd] {
    background: var(--bs-tertiary-bg, #f8f9fa);
}

.app-chip-button.is-active[b-y7is4xntkd] {
    background: var(--bs-primary, #0d6efd);
    border-color: var(--bs-primary, #0d6efd);
    color: #fff;
}

.app-chip-button.is-active:hover[b-y7is4xntkd] {
    filter: brightness(1.05);
}

/* Category section */
.notifications-category[b-y7is4xntkd] {
}

.notifications-category-header[b-y7is4xntkd] {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .5rem;
    padding-bottom: .35rem;
    border-bottom: 1px solid var(--bs-border-color-translucent, rgba(0,0,0,.08));
}

.notifications-category-toggle[b-y7is4xntkd] {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    flex: 1 1 auto;
    min-width: 0;
    background: none;
    border: 0;
    padding: .25rem 0;
    color: inherit;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.notifications-category-toggle:hover[b-y7is4xntkd] {
    color: var(--bs-primary, #0d6efd);
}

.notifications-category-label[b-y7is4xntkd] {
    margin-right: auto;
}

/* List + row */
.notifications-list[b-y7is4xntkd] {
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

[b-y7is4xntkd] .app-list-row.is-unread {
    border-left: 3px solid var(--bs-primary, #0d6efd);
    background: var(--bs-primary-bg-subtle, rgba(13, 110, 253, .04));
}

.notification-row[b-y7is4xntkd] {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: .75rem;
    align-items: start;
    min-width: 0;
}

.notification-severity[b-y7is4xntkd] {
    margin-top: .15rem;
    font-size: 1.05rem;
    line-height: 1;
}

.notification-content[b-y7is4xntkd] {
    min-width: 0;
}

.notification-title[b-y7is4xntkd] {
    display: flex;
    align-items: baseline;
    gap: .5rem;
    flex-wrap: wrap;
    min-width: 0;
}

.notification-title > span[b-y7is4xntkd] {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.notification-time[b-y7is4xntkd] {
    margin-left: auto;
    white-space: nowrap;
    flex-shrink: 0;
}

.notification-body[b-y7is4xntkd] {
    margin-top: .15rem;
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* Mobile tweaks */
@media (max-width: 575.98px) {
    .notification-title[b-y7is4xntkd] {
        gap: .25rem;
    }

    .notification-time[b-y7is4xntkd] {
        flex-basis: 100%;
        margin-left: 0;
    }
}
/* /Pages/Shopping/ShoppingListDetail.razor.rz.scp.css */
/* Add-item form on the shopping list detail page.
   Collapsed by default so the list itself dominates the screen, especially
   on mobile where the form used to take ~60% of the viewport. */

.add-item-card[b-i7kybxm7fw] {
    margin-bottom: 0.75rem;
}

.add-item-toggle[b-i7kybxm7fw] {
    color: inherit;
    font-size: 1rem;
    line-height: 1.4;
}

.add-item-toggle:hover[b-i7kybxm7fw],
.add-item-toggle:focus[b-i7kybxm7fw] {
    color: inherit;
    text-decoration: none;
    box-shadow: none;
}

.add-item-toggle:focus-visible[b-i7kybxm7fw] {
    outline: 2px solid rgba(13, 110, 253, 0.35);
    outline-offset: 2px;
    border-radius: 4px;
}

.add-item-title[b-i7kybxm7fw] {
    font-weight: 600;
}
/* /Shared/EnterpriseSidebar.razor.rz.scp.css */
.sidebar-inner[b-omzyhercu2] {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0;
}

.sidebar-brand[b-omzyhercu2] {
    display: flex;
    align-items: center;
    height: 56px;
    padding: 0 1.5rem;
    /* Match the topbar exactly so the header reads as a single band across
       the whole viewport in both light and dark themes. */
    background: linear-gradient(90deg, #0f172a 0%, #1e293b 100%);
    border-bottom: 1px solid #334155;
    box-sizing: border-box;
    flex-shrink: 0;
}

.sidebar-brand a[b-omzyhercu2] {
    color: #f1f5f9;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.brand-icon[b-omzyhercu2] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #3b82f6 0%, #22c55e 100%);
    color: #fff;
    font-size: 1.1rem;
}

.brand-text[b-omzyhercu2] {
    font-size: 1.15rem;
}

.sidebar-nav[b-omzyhercu2] {
    flex: 1 1 auto;
    min-height: 0;
    padding: 0.75rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 2px;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    /* Reserve space so the last item isn't hidden behind the footer on short screens */
    padding-bottom: 1rem;
    /* Subtle scrollbar styling so it's visible on tablets */
    scrollbar-width: thin;
    scrollbar-color: var(--sidebar-scrollbar) transparent;
}

.sidebar-nav[b-omzyhercu2]::-webkit-scrollbar {
    width: 8px;
}

.sidebar-nav[b-omzyhercu2]::-webkit-scrollbar-thumb {
    background: var(--sidebar-scrollbar);
    border-radius: 4px;
}

.sidebar-nav[b-omzyhercu2]::-webkit-scrollbar-thumb:hover {
    background: var(--sidebar-text-muted);
}

.sidebar-link[b-omzyhercu2] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.85rem;
    border-radius: 8px;
    color: var(--sidebar-text);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.15s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.sidebar-link:hover[b-omzyhercu2] {
    background: var(--sidebar-hover-bg);
    color: var(--sidebar-active-text);
}

.sidebar-link.active[b-omzyhercu2] {
    background: var(--sidebar-active-bg);
    color: var(--sidebar-active-text);
}

.sidebar-link.active .sidebar-icon[b-omzyhercu2] {
    color: var(--sidebar-active-text);
}

.sidebar-link-child[b-omzyhercu2] {
    position: relative;
    margin-left: 1.25rem;
    padding-left: 1.25rem;
    font-size: 0.82rem;
    color: var(--sidebar-text-muted);
}

    .sidebar-link-child[b-omzyhercu2]::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0.35rem;
        bottom: 0.35rem;
        width: 2px;
        background: var(--sidebar-border);
        border-radius: 1px;
    }

    .sidebar-link-child .sidebar-icon[b-omzyhercu2] {
        font-size: 0.95rem;
    }

.sidebar-icon[b-omzyhercu2] {
    font-size: 1.1rem;
    width: 1.25rem;
    text-align: center;
    flex-shrink: 0;
}

.sidebar-footer[b-omzyhercu2] {
    flex: 0 0 auto;
    padding: 0.75rem;
    border-top: 1px solid var(--sidebar-border);
}

.sidebar-logout[b-omzyhercu2] {
    color: var(--sidebar-text-muted) !important;
}

.sidebar-logout:hover[b-omzyhercu2] {
    color: #f87171 !important;
    background: rgba(248, 113, 113, 0.12) !important;
}

.sidebar-section[b-omzyhercu2] {
    display: flex;
    flex-direction: column;
    margin-top: 0.25rem;
}

.sidebar-section + .sidebar-section[b-omzyhercu2] {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--sidebar-border);
}

.sidebar-section-header[b-omzyhercu2] {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    width: 100%;
    padding: 0.55rem 0.75rem;
    background: none;
    border: none;
    color: var(--sidebar-brand-text);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: pointer;
    border-radius: 8px;
    transition: color 0.15s ease, background 0.15s ease;
}

.sidebar-section-header:hover[b-omzyhercu2] {
    color: var(--sidebar-active-text);
    background: var(--sidebar-hover-bg);
}

.sidebar-section-header .section-icon[b-omzyhercu2] {
    font-size: 1.1rem;
    width: 1.25rem;
    text-align: center;
    color: var(--sidebar-text-muted);
    flex-shrink: 0;
}

.sidebar-section-header .section-label[b-omzyhercu2] {
    flex: 1;
    text-align: left;
}

.sidebar-section-header .chevron[b-omzyhercu2] {
    font-size: 0.8rem;
    transition: transform 0.2s ease;
    color: var(--sidebar-text-muted);
}

.sidebar-section.is-collapsed .chevron[b-omzyhercu2] {
    transform: rotate(-90deg);
}

/* Når en gruppe er foldet sammen (is-collapsed) i normal sidebar-mode skjules
   dens items. CSS i app.css overruler dette i .app-layout.sidebar-collapsed,
   så items altid vises som ikoner uanset gruppe-folde-state. */
.sidebar-section.is-collapsed .sidebar-section-items[b-omzyhercu2] {
    display: none;
}

.sidebar-section-items[b-omzyhercu2] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 2px 0 2px 0.6rem;
    margin-left: 0.6rem;
    border-left: 1px solid var(--sidebar-border);
}

.sidebar-version[b-omzyhercu2] {
    padding: 0.35rem 1rem 0.6rem;
    font-size: 0.7rem;
    color: var(--bs-secondary-color, #8a93a6);
    opacity: 0.65;
    user-select: all;
}

.sidebar-version-build[b-omzyhercu2] {
    margin-left: 0.25rem;
    font-variant-numeric: tabular-nums;
}
