/* The breadcrumb: the trail of a page, one wrapping line, its current page in the text colour, the folded steps behind a
   native disclosure that opens a small list under its button, over the page, so that the line does not move. Shared
   tokens and layout words only, on the root of the breadcrumb (packages/components/src/styles.ts); logical properties
   only, so the line follows the direction of the page. A sheet of this kind holds no string, so the separator between
   two steps belongs to the sheet of the app, which draws and mirrors it (the page docs/breadcrumb.md says how). */
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--nw-space-4);
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--nw-color-text-muted);
}

.breadcrumb [aria-current] {
  color: var(--nw-color-text);
}

.breadcrumb details {
  display: inline-block;
}

.breadcrumb summary {
  display: inline-block;
  padding-inline: var(--nw-space-4);
  list-style: none;
  cursor: pointer;
  color: var(--nw-color-accent-text);
}

.breadcrumb summary::-webkit-details-marker {
  display: none;
}

.breadcrumb details ol {
  position: absolute;
  flex-direction: column;
  flex-wrap: nowrap;
  padding: var(--nw-space-8);
  background: var(--nw-color-surface);
  border: var(--nw-border-width-1) solid var(--nw-color-border);
  border-radius: var(--nw-radius-m);
  box-shadow: var(--nw-shadow-overlay);
}
