@layer components {
    .breadcrumb-nav {
            color: var(--dashboard-color-text-muted);
            display: flex;
            font-size: 0.875rem;
            font-weight: 600;
            line-height: 1.25rem;
            min-width: 0;
            overflow: hidden;
        }

    .breadcrumb-nav__list {
            align-items: center;
            display: flex;
            flex-wrap: nowrap;
            gap: 0.5rem;
            max-width: 100%;
            min-width: 0;
        }

    /* keep the earlier crumbs intact and let the current one truncate instead of overflowing into the section nav */
    .breadcrumb-nav__list > li {
            flex: 0 0 auto;
            min-width: 0;
        }

    .breadcrumb-nav__list > li:last-child {
            flex: 0 1 auto;
        }

    .breadcrumb-nav__item {
            align-items: center;
            display: flex;
            gap: 0.5rem;
            min-width: 0;
        }

    .breadcrumb-nav__link {
            align-items: center;
            color: var(--dashboard-color-text-muted);
            display: inline-flex;
            min-width: 0;
            overflow: hidden;
            text-decoration: none;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

    .breadcrumb-nav__link:hover {
            color: var(--dashboard-color-text);
        }

    .breadcrumb-nav__icon {
            color: var(--dashboard-color-text-muted);
            flex-shrink: 0;
            height: 1rem;
            width: 1rem;
        }

    .breadcrumb-nav__separator {
            color: var(--dashboard-color-text-subtle);
            flex-shrink: 0;
            height: 1rem;
            width: 1rem;
        }
}
