/* Weight Track cards & progress styles — mimics retire.css */

/* ── Cards ────────────────────────────────────────────── */
.weight-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 1em 0;
}
.weight-card {
    flex: 1 1 140px;
    background: var(--md-default-fg-color--lightest);
    border-radius: 8px;
    padding: 10px 14px;
    text-align: center;
    min-width: 120px;
}
.weight-card .label {
    font-size: 0.78em;
    color: var(--md-default-fg-color--light);
    margin-bottom: 4px;
}
.weight-card .value {
    font-size: 1.25em;
    font-weight: 700;
    color: var(--md-primary-fg-color);
}

/* ── Note / formula line ──────────────────────────────── */
.weight-note {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.82em;
    color: var(--md-default-fg-color--light);
    margin: 0.2em 0 1em;
    align-items: center;
}
.weight-note .sep {
    color: var(--md-default-fg-color--lighter);
}

/* ── Progress / BMI spectrum bar ──────────────────────── */
.weight-progress {
    margin: 1em 0;
}
.weight-progress-heading {
    margin-top: 1em;
    font-size: 0.9em;
}
.weight-progress-stats {
    display: flex;
    justify-content: flex-start;
    font-size: 0.85em;
    color: var(--md-default-fg-color--light);
    margin-bottom: 0.5em;
}
.weight-bmi-bar {
    position: relative;
    width: 100%;
    height: 20px;
    border-radius: 10px;
    overflow: hidden;
    background: #e0e0e0;
    margin: 0.3em 0 0.1em;
}
.weight-bmi-bar .bmi-segment {
    position: absolute;
    top: 0;
    height: 100%;
}
.weight-bmi-bar .bmi-marker {
    position: absolute;
    top: -6px;
    transform: translateX(-50%);
    font-size: 1.2em;
    color: #333;
    line-height: 1;
    text-shadow: 0 0 3px rgba(255,255,255,0.8);
}
[data-md-color-scheme="slate"] .weight-bmi-bar .bmi-marker {
    color: #fff;
    text-shadow: 0 0 3px rgba(0,0,0,0.8);
}
.weight-bmi-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.72em;
    color: var(--md-default-fg-color--light);
    margin-top: 2px;
    padding: 0 2px;
}


