/* ─── Percentile Gauge (Children) ────────────────────────────────── */
.percentile-gauge {
    position: relative;
}

.percentile-gauge-bar {
    display: flex;
    height: 12px;
    border-radius: 6px;
    overflow: hidden;
}

.percentile-seg {
    transition: flex 0.3s ease;
}

.seg-thin {
    background: #dc3545;
}

.seg-underweight {
    background: #17a2b8;
}

.seg-normal {
    background: #28a745;
}

.seg-overweight {
    background: #ffc107;
}

.seg-obese {
    background: #dc3545;
}

.percentile-marker {
    display: none;
    position: absolute;
    top: -6px;
    width: 4px;
    height: 24px;
    background: #212529;
    border-radius: 2px;
    transform: translateX(-50%);
    box-shadow: 0 0 0 3px rgba(33, 37, 41, 0.2);
    transition: left 0.4s ease;
}

/* ─── Breadcrumb ────────────────────────────────────────────────── */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    background: none;
    padding: 0;
    margin: 0;
    font-size: 0.875rem;
}

.breadcrumb-item {
    display: inline-flex;
    align-items: center;
}

.breadcrumb-item + .breadcrumb-item {
    padding-left: 0.5rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    display: inline-block;
    padding-right: 0.5rem;
    color: #adb5bd;
    font-weight: 500;
}

.breadcrumb-item.active {
    color: #6c757d;
}

.breadcrumb-item a {
    color: #0d6efd;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}