/*
  Breadcrumb 10 — Signature Breadcrumb — standalone HTML/CSS
  implementation. No build step, no framework, no external dependency:
  copy index.html and this file into any project as-is.
*/

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --breadcrumb-accent: #39ff14;
  --breadcrumb-fg: oklch(0.145 0 0);
  --breadcrumb-muted: oklch(0.5 0 0);
  --breadcrumb-border: oklch(0.88 0 0);
}

.breadcrumb10 {
  position: relative;
  display: block;
  min-width: 0;
  font-family:
    Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji";
}

.breadcrumb10__rail,
.breadcrumb10__trace {
  position: absolute;
  top: 7px;
  right: 0;
  left: 0;
  height: 1px;
  pointer-events: none;
}

.breadcrumb10__rail {
  background-color: var(--breadcrumb-border);
}

.breadcrumb10__trace {
  transform-origin: left;
  background-color: var(--breadcrumb-accent);
  animation: breadcrumb10-reveal 500ms ease-out both;
}

@keyframes breadcrumb10-reveal {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.breadcrumb10__list {
  position: relative;
  display: flex;
  min-width: 0;
  align-items: flex-start;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb10__node {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  flex: 1 1 0%;
  flex-direction: column;
  align-items: flex-start;
}

.breadcrumb10__node--current {
  gap: 0.5rem;
}

.breadcrumb10__ancestor {
  display: flex;
  min-width: 0;
  max-width: 100%;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  border-radius: 0.375rem;
  text-decoration: none;
  outline: none;
}

.breadcrumb10__ancestor:focus-visible {
  outline: 2px solid var(--breadcrumb-fg);
  outline-offset: 4px;
}

.breadcrumb10__dot {
  display: block;
  border-radius: 9999px;
}

.breadcrumb10__dot--ancestor {
  height: 7px;
  width: 7px;
  background-color: var(--breadcrumb-border);
  transition: transform 150ms ease-out, background-color 150ms ease-out;
}

.breadcrumb10__ancestor:hover .breadcrumb10__dot--ancestor,
.breadcrumb10__ancestor:focus-visible .breadcrumb10__dot--ancestor {
  transform: scale(1.25);
  background-color: var(--breadcrumb-accent);
}

.breadcrumb10__dot--current {
  height: 11px;
  width: 11px;
  margin-top: -2px;
  margin-left: -2px;
  background-color: var(--breadcrumb-accent);
  box-shadow: 0 0 0 4px color-mix(in oklch, var(--breadcrumb-accent) 18%, transparent);
}

.breadcrumb10__label {
  max-width: 100%;
  overflow: hidden;
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--breadcrumb-muted);
  transition: color 150ms ease-out;
}

.breadcrumb10__ancestor:hover .breadcrumb10__label {
  color: var(--breadcrumb-fg);
}

.breadcrumb10__current-label {
  max-width: 100%;
  overflow: hidden;
  font-size: 0.875rem;
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--breadcrumb-fg);
}

@media (prefers-reduced-motion: reduce) {
  .breadcrumb10__trace {
    animation: none;
  }
  .breadcrumb10__dot--ancestor {
    transition: none;
  }
}

/*
  Page layout — the canvas this resource is presented on. Adjust or drop it
  when placing the resource inside your own layout.
*/

*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family:
    Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: linear-gradient(to bottom, #fafafa, #f4f4f5);
}
.breadcrumb10-layout {
  display: flex;
  min-height: 13rem;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
}
.breadcrumb10-layout__panel {
  width: 100%;
  max-width: 56.25rem;
  border: 1px solid oklch(0.9 0 0);
  border-radius: 1rem;
  background: #ffffff;
  padding: 2.25rem;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 16px 40px -16px rgba(0, 0, 0, 0.14);
}
