/* Generated from products/design-system/shared/crumbs by Navorina/scripts/sync-ds-invoice-document.mjs. Do not edit. */
/* Хлебные крошки ДС (shared/crumbs.js). Product copy: css/components/nv-crumbs.css (sync-ds-invoice-document.mjs).
   One row of the 32px tab height, so the island below sits where it sits under the tabs. The first crumb's text starts
   on the island's left edge (owner, 2026-10-29: «назад криво»): no padding, no hover plate, the hover is the text
   colour. Separator is «/». */
/* The nav is a size container for the phone fold below: it stands on its own row above the island, full width. */
.nv-m-crumbs {
  --nv-crumbs-muted: var(--nv-table-head, var(--dash-text-muted, #8a8a8a));
  --nv-crumbs-text: var(--nv-table-text, var(--dash-text, currentColor));
  container: nv-crumbs / inline-size;
  min-width: 0;
}
.nv-m-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; min-height: 32px; margin: 0; padding: 0; list-style: none; color: var(--nv-crumbs-muted); font-size: var(--nv-type-callout-size, 13px); font-weight: 400; letter-spacing: var(--nv-type-callout-tracking, normal); line-height: var(--nv-type-callout-line, 18px); }
.nv-m-crumbs li { display: flex; min-width: 0; align-items: center; }
.nv-m-crumbs li + li::before { content: "/"; padding-inline: 8px; opacity: .5; }
.nv-m-crumbs__link { display: inline-flex; align-items: center; height: 32px; margin: 0; padding: 0; border: 0; border-radius: 6px; background: transparent; color: inherit; font: inherit; text-decoration: none; white-space: nowrap; cursor: pointer; transition: color 150ms ease; }
.nv-m-crumbs__link:hover { color: var(--nv-crumbs-text); }
.nv-m-crumbs__link:focus-visible { color: var(--nv-crumbs-text); outline: 2px solid currentColor; outline-offset: 2px; }
.nv-m-crumbs li:last-child { flex: 1 1 0; }
.nv-m-crumbs__current { overflow: hidden; color: var(--nv-crumbs-text); text-overflow: ellipsis; white-space: nowrap; }

/* On a phone the parent and the current page stay; the leading crumbs fold away. */
@container nv-crumbs (max-width: 480px) {
  .nv-m-crumbs li:not(:nth-last-child(-n+2)) { display: none; }
  .nv-m-crumbs li:nth-last-child(2)::before { content: none; }
}

/* Loading: a bone stands in for the current label, on the text line. */
.nv-m-crumbs__current > span { display: inline-block; max-width: 100%; vertical-align: middle; }
