/* =====================================================================================================================
   Liabilities dashboards (prefix lx-): the Overview's BY KIND ring, EVERY DEBT, COMING UP, WHAT STANDS OUT and the
   hero's "where the payoff leads" pane; the Payoff page's order, what-if and plan-vs-minimums; the whose-debt filter.
   Built on the Reports recipes (rci- ring, rp-breakdown rows whose fills fade into the track, rp-timeline rows, the
   rp-nwp pane, the rpw- slider) in the liability tokens. Backgrounds stay the cards' own: tone lives in a glyph chip,
   a bar or a word, never in a tinted tile. The partner reads in the couple palette (you blue, the partner amber).
   ===================================================================================================================== */

:root {
    --lxk-card: #E11D48;
    --lxk-mortgage: #3E6A9A;
    --lxk-student: #8A6A3B;
    --lxk-auto: #0EA5E9;
    --lxk-line: #0D9488;
    --lxk-loan: #D97706;
    --lx-good: #16A34A;
    --lx-you: #2563EB;
    --lx-partner: #B45309;
    --lx-tile: var(--rp-tile, #F6F7FD);
    --lx-line: var(--rp-tile-border, #E5E7F5);
}

[data-bs-theme="dark"] {
    --lxk-card: #FB7185;
    --lxk-mortgage: #8DB4DC;
    --lxk-student: #D6B98C;
    --lxk-auto: #38BDF8;
    --lxk-line: #2DD4BF;
    --lxk-loan: #FBBF24;
    --lx-good: #22C55E;
    --lx-you: #60A5FA;
    --lx-partner: #FBBF24;
}

/* ------------------------------------------------------------------ Whose debt (the Reports filter bar, untinted) */
.lxw {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .65rem 1.25rem;
    margin: 0 0 1rem;
    padding: 10px 14px;
    border: 1px solid var(--rc-card-border, var(--lx-line));
    border-radius: 16px;
    background: var(--rc-card, var(--rp-card));
    box-shadow: var(--lb-shadow);
}

.lxw-group { display: flex; align-items: center; gap: .55rem; min-width: 0; }
.lxw-label { font-size: 10.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--lb-muted); white-space: nowrap; }
/* The shared neutral recess and pill (no rose hairline on the selection); the selected glyph keeps the rose. */
.lxw .tx-seg.lxw-seg {
    --tx-seg-selected-glyph: var(--lb-rose);
    --tx-seg-selected-text: var(--lb-text);
    --tx-seg-text: var(--lb-muted);
    border-radius: var(--ci-act-radius, 12px);
    box-shadow: inset 0 0 0 1px var(--ci-act-border, var(--lx-line));
}
.lxw .tx-seg.lxw-seg .tx-seg-pill { border-radius: 9px; box-shadow: 0 1px 4px var(--tx-seg-pill-shadow); }
.lxw .tx-seg.lxw-seg .tx-seg-item { height: calc(var(--ci-act-height, 36px) - 6px); border-radius: 9px; }

.lxw-summary { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; font-size: 12.5px; color: var(--lb-muted); }
.lxw-summary b { color: var(--lb-text); font-weight: 700; font-variant-numeric: tabular-nums; }
.lxw-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--lb-light); }
.lxw-who {
    display: inline-grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    border: 1px solid var(--lx-line);
    font-size: 11px;
    color: var(--lb-rose);
}
.lxw-who.is-you { color: var(--lx-you); }
.lxw-who.is-partner { color: var(--lx-partner); }
.lxw-notice { flex: 1 1 100%; }

@media (max-width: 575.98px) {
    .lxw { padding: 10px; }
    .lxw-group { flex: 1 1 100%; }
    .lxw-group .lxw-seg { flex: 1 1 auto; }
    .lxw-summary { margin-left: 0; }
}

/* ------------------------------------------------------------------ Shared: owner tags, flags, date pills */
.lx-owner {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 1px 7px;
    border: 1px solid color-mix(in srgb, var(--lx-partner) 40%, transparent);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.5;
    white-space: nowrap;
    color: var(--lx-partner);
}
.lx-owner::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }

.lx-flag { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; font-weight: 700; white-space: nowrap; }
.lx-flag.is-negative { color: var(--lb-negative); }

/* A date pill (the Net Worth milestones' "10 / NOV"): the day or month large, the month or year small in the rose. */
.lx-pill {
    display: inline-flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    padding: 5px 6px 4px;
    border-radius: 11px;
    background: var(--rc-card, var(--rp-card));
    box-shadow: inset 0 0 0 1px var(--lx-line);
    line-height: 1;
}
.lx-pill strong { font-family: var(--tx-font); font-size: 15px; font-weight: 700; letter-spacing: .01em; color: var(--lb-text); }
.lx-pill small { margin-top: 3px; font-size: 9.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--lb-rose); }
.lx-pill.is-day strong { font-size: 17px; }
.lx-pill.is-good small { color: var(--lx-good); }
.lx-pill.is-good { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--lx-good) 40%, var(--lx-line)); }
.lx-pill.is-empty strong { color: var(--lb-light); }
.lx-pill.is-large { min-width: 64px; padding: 8px 8px 7px; border-radius: 14px; }
.lx-pill.is-large strong { font-size: 21px; }
.lx-pill.is-large small { font-size: 11px; }

.lx-filter-empty { display: flex; align-items: center; gap: 8px; }

/* ------------------------------------------------------------------ BY KIND (rci- ring) */
.lxk-spot-chip {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    border: 1px solid color-mix(in srgb, var(--c) 35%, transparent);
    color: var(--c);
    font-size: 13px;
}
.lxk .rci-spot-head .lx-pill { margin-left: auto; }
.lxk .rci-spot-head .lx-pill + .rci-open { margin-left: 6px; }
.lxk-part-name {
    overflow: hidden;
    padding: 0;
    border: 0;
    background: none;
    color: var(--rp-text);
    font-size: 12.5px;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
}
.lxk-part-name:hover { color: var(--lb-rose); text-decoration: underline; }

/* ------------------------------------------------------------------ EVERY DEBT (rp-breakdown rows) */
.lxd .lxd-row { gap: 10px; padding: 2px 0; }
.lxd-name { display: flex; align-items: center; gap: 6px; min-width: 0; }
.lxd-name-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lxd .rp-breakdown-main { padding-block: 9px; }
.lxd-figures { min-width: 96px; }
.lxd-plan { font-size: 10.5px; font-weight: 600; color: var(--lb-muted); white-space: nowrap; }
.lxd-plan.is-focus { display: inline-flex; align-items: center; gap: 4px; color: var(--lx-good); }
.lxd-plan.is-out { color: var(--lb-light); }
.lxd-item.is-focus > .lxd-row { box-shadow: inset 3px 0 0 var(--lx-good); border-radius: 10px; }
.lxd-capture { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px 46px; }
.lxd-more { margin-top: 8px; }
.lxd .rp-breakdown-fill { animation: lx-grow .9s cubic-bezier(.22, .9, .25, 1) backwards; transform-origin: left; }
.lxd .rp-breakdown-item:nth-child(2) .rp-breakdown-fill { animation-delay: .06s; }
.lxd .rp-breakdown-item:nth-child(3) .rp-breakdown-fill { animation-delay: .12s; }
.lxd .rp-breakdown-item:nth-child(4) .rp-breakdown-fill { animation-delay: .18s; }
.lxd .rp-breakdown-item:nth-child(n+5) .rp-breakdown-fill { animation-delay: .24s; }

@container (max-width: 520px) {
    .lxd .lx-pill { display: none; }
}

@media (max-width: 575.98px) {
    .lxd .lx-pill { display: none; }
    .lxd-capture { margin-left: 0; }
}

/* ------------------------------------------------------------------ COMING UP (a rail of the month, then date pills) */
.lxc { display: flex; flex-direction: column; gap: 14px; }
.lxc-head { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 18px; }
.lxc-total { display: flex; flex-direction: column; gap: 2px; }
.lxc-caption { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--lb-muted); }
.lxc-total strong { font-family: var(--tx-font); font-size: 24px; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; color: var(--lb-text); }
.lxc-total small { font-size: 11.5px; color: var(--lb-muted); }

.lxc-rail { position: relative; height: 48px; margin: 0 10px; }
.lxc-rail-track {
    position: absolute;
    top: 18px;
    left: 0;
    right: 0;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, color-mix(in srgb, var(--lb-rose) 45%, var(--lb-track)), var(--lb-track) 70%);
}
.lxc-rail-today,
.lxc-rail-end { position: absolute; top: 30px; font-size: 9.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--lb-muted); }
.lxc-rail-today em, .lxc-rail-end em { font-style: normal; }
.lxc-rail-end { right: 0; }
.lxc-dot {
    position: absolute;
    top: 21px;
    width: var(--s, 12px);
    height: var(--s, 12px);
    border-radius: 50%;
    background: var(--rc-card, var(--rp-card));
    border: 3px solid var(--lb-rose);
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 8px -2px rgba(15, 23, 42, .25);
    animation: lx-dot .45s cubic-bezier(.34, 1.56, .64, 1) backwards;
}
.lxc-dot.is-caution { border-color: var(--lb-caution); }
.lxc-dot.is-negative { border-color: var(--lb-negative); box-shadow: 0 0 0 4px color-mix(in srgb, var(--lb-negative) 18%, transparent); }
.lxc-dot:nth-of-type(2n) { animation-delay: .08s; }
.lxc-dot:nth-of-type(3n) { animation-delay: .16s; }

.lxc-list { gap: 4px; }
.lxc-item { list-style: none; }
.lxc-row {
    width: 100%;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
    transition: background-color .15s ease;
}
.lxc-row:hover { background: var(--rp-row-hover); }
.lxc-row .rp-timeline-text strong { display: flex; align-items: center; gap: 6px; }
.lxc-when { font-weight: 600; }
.lxc-when.is-caution { color: var(--lb-caution); }
.lxc-when.is-negative { color: var(--lb-negative); }
.lxc-item.is-negative .lx-pill small { color: var(--lb-negative); }
.lxc-item.is-caution .lx-pill small { color: var(--lb-caution); }

.lxc-clear { display: flex; align-items: center; gap: 12px; padding: 4px 0; }
.lxc-clear div { display: flex; flex-direction: column; gap: 2px; }
.lxc-clear strong { font-size: 13.5px; color: var(--lb-text); }
.lxc-clear span { font-size: 12px; color: var(--lb-muted); }
.lxc-clear-chip { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; border: 1px solid var(--lx-line); color: var(--lx-good); }
.lxc-wait { display: flex; flex-direction: column; gap: 10px; padding: 6px 0; }
.lxc-wait .dsh-bone { display: block; height: 38px; border-radius: 12px; }

@media (max-width: 575.98px) {
    .lxc-head { grid-template-columns: minmax(0, 1fr); gap: 10px; }
}

/* ------------------------------------------------------------------ WHAT STANDS OUT (plain tiles, tone in the chip) */
.lxs { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.lxs-item {
    --t: var(--lb-muted);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 11px 12px;
    border: 1px solid var(--lx-line);
    border-radius: 14px;
    background: var(--lx-tile);
    /* The tone's edge on the left, curving round the corners (the card spend alert timeline's tiles). */
    box-shadow: inset 3px 0 0 var(--t);
    animation: lx-rise .4s ease backwards;
}
.lxs-item:nth-child(2) { animation-delay: .05s; }
.lxs-item:nth-child(3) { animation-delay: .1s; }
.lxs-item:nth-child(n+4) { animation-delay: .15s; }
.lxs-item.is-positive { --t: var(--lx-good); }
.lxs-item.is-caution { --t: var(--lb-caution); }
.lxs-item.is-negative { --t: var(--lb-negative); }
.lxs-chip {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    border: 1px solid color-mix(in srgb, var(--t) 35%, transparent);
    color: var(--t);
    font-size: 12.5px;
}
.lxs-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.lxs-text strong { font-family: var(--tx-font); font-size: 13.5px; font-weight: 600; line-height: 1.3; color: var(--lb-text); }
.lxs-text span { font-size: 12px; line-height: 1.45; color: var(--lb-muted); }
.lxs-text .rp-link { align-self: flex-start; margin-top: 2px; }

/* ------------------------------------------------------------------ The hero's pane: where the payoff leads (rp-nwp) */
.hx.hx-liabilities {
    --nwp-a: #F43F5E;
    --nwp-b: #10B981;
    --nwp-glass-1: rgba(255, 255, 255, .7);
    --nwp-glass-2: rgba(255, 250, 251, .56);
    --nwp-edge: rgba(255, 255, 255, .9);
    --nwp-rail: rgba(225, 29, 72, .1);
    --nwp-tile: rgba(255, 255, 255, .66);
}
[data-bs-theme="dark"] .hx.hx-liabilities {
    --nwp-a: #FB7185;
    --nwp-b: #34D399;
    --nwp-glass-1: rgba(40, 24, 34, .5);
    --nwp-glass-2: rgba(16, 14, 22, .38);
    --nwp-edge: rgba(255, 255, 255, .12);
    --nwp-rail: rgba(255, 255, 255, .08);
    --nwp-tile: rgba(255, 255, 255, .045);
}
.hx .hx-side.rp-nwp.lxp.is-falling { --nwp-b: #F59E0B; }
.lxp-road { margin-top: 8px; }
.lxp-tick {
    position: absolute;
    top: 11px;
    width: 2px;
    height: 8px;
    margin-left: -1px;
    border-radius: 2px;
    background: var(--hx-panel-solid, #fff);
    opacity: .9;
    animation: hx-in-up .4s 1.1s ease backwards;
}
[data-bs-theme="dark"] .lxp-tick { background: #14162A; }
.lxp-good { color: var(--hx-pos) !important; }
.lxp-goal .rp-nwp-goal-chip { color: var(--nwp-b); background: color-mix(in srgb, var(--nwp-b) 16%, transparent); }
.lxp-goal { border-color: color-mix(in srgb, var(--nwp-b) 26%, transparent); background: var(--nwp-tile); }
.lxp-goal .rp-nwp-goal-fill { background: linear-gradient(90deg, var(--nwp-a), var(--nwp-b)); }
.lxp-status { display: flex; align-items: flex-start; gap: 11px; padding: 10px 0; }
.lxp-status div { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; color: var(--hx-ink-2); }
.lxp-status strong { font-size: 15px; color: var(--hx-ink); }
.lxp-status-chip { display: inline-grid; place-items: center; flex: 0 0 auto; width: 32px; height: 32px; border-radius: 10px; color: var(--hx-caution); border: 1px solid color-mix(in srgb, var(--hx-caution) 35%, transparent); }
.lxp-open {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid var(--hx-glass-line);
    color: var(--hx-ink);
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
    transition: border-color .15s ease, transform .15s ease;
}
.lxp-open:hover { border-color: color-mix(in srgb, var(--nwp-b) 45%, transparent); color: var(--hx-ink); transform: translateY(-1px); }

/* ------------------------------------------------------------------ PAYOFF ORDER */
.lxo { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.lxo-row {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 12px;
    padding: 6px 0;
    border-top: 1px solid var(--lx-line);
}
.lxo-row:first-child { border-top: 0; }
.lxo-row.is-focus { box-shadow: inset 3px 0 0 var(--lx-good); padding-left: 6px; border-radius: 10px; }
.lxo-rank {
    display: inline-grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid var(--lx-line);
    font-size: 11.5px;
    font-weight: 700;
    color: var(--lb-text);
}
.lxo-row.is-focus .lxo-rank { border-color: color-mix(in srgb, var(--lx-good) 50%, transparent); color: var(--lx-good); }
.lxo-main {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 6px 8px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
}
.lxo-main:hover { background: var(--rp-row-hover); }
.lxo-text { display: flex; flex: 1 1 auto; flex-direction: column; gap: 5px; min-width: 0; }
.lxo-name { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: 13.5px; font-weight: 600; color: var(--lb-text); }
.lxo-name-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lxo-focus { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; font-weight: 700; color: var(--lx-good); white-space: nowrap; }
.lxo-bar .rp-breakdown-fill { animation: lx-grow 1s cubic-bezier(.22, .9, .25, 1) backwards; transform-origin: left; }
.lxo-sub { overflow: hidden; font-size: 11px; color: var(--lb-muted); text-overflow: ellipsis; white-space: nowrap; }
.lxo-balance { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.lxo-balance strong { font-size: 13.5px; font-variant-numeric: tabular-nums; color: var(--lb-text); }
.lxo-balance small { font-size: 10.5px; color: var(--lb-muted); white-space: nowrap; }

@media (max-width: 575.98px) {
    .lxo-row { grid-template-columns: 22px minmax(0, 1fr) auto; }
    .lxo-balance { display: none; }
}

/* ------------------------------------------------------------------ WHAT IF YOU PAID MORE? */
.lxw-card .rc-card-body { container-type: inline-size; container-name: lxwi; }
.lxwi { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.lxwi-total {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid var(--lx-line);
    border-radius: 14px;
    background: var(--lx-tile);
    transition: border-color .3s ease;
}
.lxwi-total.is-on { border-color: color-mix(in srgb, var(--lx-good) 45%, var(--lx-line)); }
.lxwi-total .lx-pill { animation: lx-pop .35s cubic-bezier(.34, 1.56, .64, 1); }
.lxwi-total.is-on .lx-pill small { color: var(--lx-good); }
.lxwi-copy { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.lxwi-caption { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--lb-muted); }
.lxwi-value { font-family: var(--tx-font); font-size: 24px; font-weight: 700; line-height: 1.1; color: var(--lb-text); }
.lxwi-total.is-on .lxwi-value { color: var(--lx-good); }
.lxwi-gain { font-size: 12.5px; color: var(--lb-muted); }
.lxwi-good { color: var(--lx-good); }

.lxwi-bars { display: flex; flex-direction: column; gap: 8px; }
.lxwi-bar-row { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr) 6.5rem; align-items: center; gap: 12px; }
.lxwi-bar-label { overflow: hidden; font-size: 12px; font-weight: 600; color: var(--lb-text); text-overflow: ellipsis; white-space: nowrap; }
.lxwi-bar-value { font-size: 12px; font-variant-numeric: tabular-nums; color: var(--lb-muted); text-align: right; white-space: nowrap; }
.lxwi-track { height: 10px; }
.lxwi-fill { transition: width .45s cubic-bezier(.2, .8, .2, 1); }
.lxwi-fill.is-now { background: color-mix(in srgb, var(--lb-rose) 70%, var(--lb-track)); }
.lxwi-fill.is-more { background: var(--lx-good); }
.lxwi-fill.is-idle { background: color-mix(in srgb, var(--lb-muted) 28%, var(--lb-track)); }

.lxwi-slider { position: relative; padding-bottom: 24px; }
.lxwi-range { --rpw-color: var(--lx-good); }
.lxwi-ticks { position: absolute; left: 9px; right: 9px; bottom: 0; height: 20px; }
.lxwi-tick {
    position: absolute;
    top: 0;
    padding: 1px 6px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--lb-muted);
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    transform: translateX(-50%);
    cursor: pointer;
}
.lxwi-tick:first-child { transform: none; margin-left: -9px; }
.lxwi-tick:last-child { transform: translateX(-100%); margin-left: 9px; }
.lxwi-tick.is-on { color: var(--lx-good); }
.lxwi .rpw-preset.is-active,
.lxwi .rpw-preset:hover { border-color: var(--lx-good); background: transparent; color: var(--lx-good); }
.lxwi.is-demo .lxwi-range { pointer-events: auto; }
.lxwi-act { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; font-size: 12.5px; color: var(--lb-muted); animation: lx-rise .3s ease; }

@container lxwi (max-width: 460px) {
    .lxwi-bar-row { grid-template-columns: 5.5rem minmax(0, 1fr) 5rem; gap: 8px; }
    .lxwi-total { flex-direction: column; align-items: flex-start; }
}

/* ------------------------------------------------------------------ YOUR PLAN VS THE MINIMUMS */
.lxv { display: flex; flex-direction: column; gap: 14px; }
.lxv-saved { display: flex; flex-direction: column; gap: 3px; }
.lxv-caption { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--lb-muted); }
.lxv-saved strong { font-family: var(--tx-font); font-size: 28px; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; color: var(--lx-good); }
.lxv-saved strong.lxv-warn { color: var(--lb-negative); font-size: 22px; }
.lxv-sub { font-size: 12.5px; color: var(--lb-muted); }
.lxv-rows { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.lxv-row { display: flex; flex-direction: column; gap: 6px; padding: 12px; border: 1px solid var(--lx-line); border-radius: 14px; background: var(--lx-tile); }
.lxv-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.lxv-head strong { font-size: 13px; color: var(--lb-text); }
.lxv-head span { font-size: 12px; font-variant-numeric: tabular-nums; color: var(--lb-muted); }
.lxv-track { height: 10px; }
.lxv-row.is-plan .lxv-fill { background: var(--lx-good); }
.lxv-row.is-min .lxv-fill { background: color-mix(in srgb, var(--lb-rose) 75%, var(--lb-track)); }
.lxv-fill { animation: lx-grow 1.1s cubic-bezier(.22, .9, .25, 1) backwards; transform-origin: left; }
.lxv-row.is-min .lxv-fill { animation-delay: .15s; }
.lxv-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--lb-muted); }

/* ------------------------------------------------------------------ Motion */
@keyframes lx-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes lx-pop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: scale(1); } }
@keyframes lx-dot { from { opacity: 0; transform: translate(-50%, -50%) scale(.4); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
@keyframes lx-rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
    .lxd .rp-breakdown-fill, .lxo-bar .rp-breakdown-fill, .lxv-fill, .lxc-dot, .lxs-item, .lxwi-total .lx-pill, .lxwi-act, .lxp-tick { animation: none !important; }
    .lxwi-fill { transition: none; }
}
