/* Central My Business breadcrumb bar (breadcrumbs.py + partials/gs_breadcrumbs.html).
   One shared class for every My Business page so the crumb looks identical on a
   Batch Labels print page, an invoice and the CRM. Loaded from base.html, so it
   ships to the vendor shell, the App Shell rail layout and admin alike. */

.gs-crumbs {
    margin: 0 0 14px;
    font-size: 0.78rem;
    line-height: 1.35;
    color: var(--text-muted);
}

.gs-crumbs-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.gs-crumbs-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

/* Separator between crumbles, no leading slash on the first one. */
.gs-crumbs-item + .gs-crumbs-item::before {
    content: '/';
    color: var(--text-muted);
    opacity: 0.45;
    flex-shrink: 0;
}

.gs-crumbs a {
    color: var(--accent-text);
    text-decoration: none;
    white-space: nowrap;
}

.gs-crumbs a:hover,
.gs-crumbs a:focus-visible {
    text-decoration: underline;
}

.gs-crumbs-current {
    color: var(--text-primary);
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 42ch;
    white-space: nowrap;
}

/* Print pages (Batch Labels, QR sheets) must not spend ink on navigation. */
@media print {
    .gs-crumbs {
        display: none !important;
    }
}
