/* Loans, polished ledger (user pick 2026-11-25). Loaded after loans-v2.css; restyles only, no layout of its own.
   Two-tone stays: principal blue, interest yellow. Family (interest-free) money going back uses the income green. */
html[data-theme] .private-workspace{--lg-free:var(--income,#2f8a5b);--lg-track:color-mix(in srgb,var(--muted) 14%,var(--surface));--lg-ink-soft:color-mix(in srgb,var(--text) 70%,var(--surface))}

/* ---------- Top card: one total, a clear two-tone bar, two keys ---------- */
html[data-theme] .private-workspace .lr-list .lx-hero .lr-big{margin:4px 0 2px;letter-spacing:-.01em}
html[data-theme] .private-workspace .lx-hero>time{display:block;margin:0 0 14px;font-size:var(--text-xs)}
html[data-theme] .private-workspace :is(.lx-hero,.lr-balance) .lr-split,html[data-theme] .private-workspace .lx-hero>.lr-split{height:10px;gap:3px;margin:0 0 10px;background:none;border-radius:999px;overflow:visible}
html[data-theme] .private-workspace .lx-hero>.lr-split>i{border-radius:999px;min-width:8px}
html[data-theme] .private-workspace :is(.lx-hero,.lr-balance) .lr-keys .lr-dot{display:inline-block;width:8px;height:8px;border-radius:3px;margin-inline-end:6px;vertical-align:1px}
html[data-theme] .private-workspace .lr-balance .lr-keys{margin-top:10px}

/* ---------- Needs you: one banner that opens into the rows ---------- */
html[data-theme] .private-workspace .lr-list .lx-attn-banner{display:block;gap:0}
html[data-theme] .private-workspace .lx-attn-banner>details{--lg-tone:var(--decorative);border:1px solid color-mix(in srgb,var(--lg-tone) 38%,var(--border));background:color-mix(in srgb,var(--lg-tone) 9%,var(--surface));border-radius:20px;overflow:hidden}
html[data-theme] .private-workspace .lx-attn-banner[data-tone=red]>details{--lg-tone:var(--expense)}
html[data-theme] .private-workspace .lx-attn-banner>details>summary{list-style:none;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;min-height:44px;padding:12px 14px;cursor:pointer}
html[data-theme] .private-workspace .lx-attn-banner>details>summary::-webkit-details-marker{display:none}
html[data-theme] .private-workspace .lx-attn-banner>details>summary::after,html[data-theme] .private-workspace .lx-attn-banner>details>summary::before{content:none;display:none}
html[data-theme] .private-workspace .lx-attn-banner>details>summary>.disclosure-chevron{display:none}
html[data-theme] .private-workspace .lx-attn-banner .lx-t{font-weight:650}
html[data-theme] .private-workspace .lx-attn-banner .lx-s{display:block;color:var(--muted);font-size:var(--text-sm);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html[data-theme] .private-workspace .lx-attn-banner>details>summary>.lx-chev{transform:rotate(90deg);transition:transform var(--duration-enter,.24s) cubic-bezier(.2,0,0,1)}
html[data-theme] .private-workspace .lx-attn-banner>details[open]>summary>.lx-chev{transform:rotate(-90deg)}
html[data-theme] .private-workspace .lx-attn-banner .lx-list{border-top:1px solid color-mix(in srgb,var(--lg-tone) 30%,var(--border));background:var(--surface);border-radius:0;margin:0;box-shadow:none;border-inline:0;border-bottom:0}
html[data-theme] .private-workspace .lx-attn-banner .lx-ic{width:32px;height:32px;border-radius:10px}
@media (prefers-reduced-motion:reduce){html[data-theme] .private-workspace .lx-attn-banner>details>summary>.lx-chev{transition:none}}

/* ---------- Filter: chips, not a segmented bar. Yellow means selected. ---------- */
html[data-theme] .private-workspace .lr-list .private-filters.lx-seg{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:8px;width:auto;padding:0;background:none;border:0;border-radius:0}
html[data-theme] .private-workspace .lr-list .private-filters.lx-seg>button{flex:0 0 auto;min-height:36px;padding:6px 14px;border:1px solid var(--border);border-radius:var(--radius-control,12px);background:var(--surface);color:var(--text);box-shadow:none;font-weight:500}
html[data-theme] .private-workspace .lr-list .private-filters.lx-seg>button[aria-pressed="true"]{background:var(--sw-thumb,var(--decorative));border-color:transparent;color:var(--sw-active-text,#2a1d07);box-shadow:none;font-weight:650}
html[data-theme=dark] .private-workspace .lr-list .private-filters.lx-seg>button[aria-pressed="true"]{background:color-mix(in srgb,var(--decorative) 30%,var(--surface));color:var(--text)}
html[data-theme] .private-workspace .lr-list .private-filters.lx-seg .count{margin-left:6px;color:inherit;opacity:.62;font-weight:500}
html[data-theme] .private-workspace .lr-list .private-filters.lx-seg>.filter-slide-pill,html[data-theme] .private-workspace .lr-list .private-filters.lx-seg>.segment-pill{display:none}

/* Sort menu also holds Cards / Table, so the list has one tool row. */
html[data-theme] .private-workspace .private-sort-menu .lx-menu-h{display:block;padding:8px 12px 4px;font-size:var(--text-xs);font-weight:600;color:var(--muted);text-transform:none}
html[data-theme] .private-workspace .private-sort-menu>div>.lr-list-view{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:6px 0 0;padding:6px 8px 8px;border-top:1px solid var(--border);background:none;border-radius:0;width:auto}
html[data-theme] .private-workspace .private-sort-menu>div>.lr-list-view>.lx-menu-h{grid-column:1/-1;padding:2px 4px 2px}
html[data-theme] .private-workspace .private-sort-menu>div>.lr-list-view>button{min-height:36px;border:1px solid var(--border);border-radius:var(--radius-control,12px);background:var(--surface);color:var(--text);box-shadow:none;justify-content:center;text-align:center}
html[data-theme] .private-workspace .private-sort-menu>div>.lr-list-view>button[aria-pressed="true"]{background:var(--sw-thumb,var(--decorative));border-color:transparent;color:var(--sw-active-text,#2a1d07)}
html[data-theme=dark] .private-workspace .private-sort-menu>div>.lr-list-view>button[aria-pressed="true"]{background:color-mix(in srgb,var(--decorative) 30%,var(--surface));color:var(--text)}

/* ---------- Loan rows: mark, name and amount, the reason, progress in the loan's own terms ---------- */
html[data-theme] .private-workspace .lr-list .lx-lrow>.lr-open{grid-template-columns:36px minmax(0,1fr) auto;gap:3px 12px;padding:14px 16px 15px;align-items:baseline}
html[data-theme] .private-workspace .lr-list .lx-lrow .lr-lender-mark{grid-area:1/1/3/2;align-self:center;width:36px;height:36px;border-radius:12px;font-size:var(--text-sm);font-weight:650}
html[data-theme] .private-workspace .lr-lender-mark[data-kind=emi]{--lender-mark:var(--loan-chart-principal)}
html[data-theme] .private-workspace .lr-lender-mark[data-kind=interest]{--lender-mark:var(--loan-chart-interest)}
html[data-theme] .private-workspace .lr-lender-mark[data-kind=free]{--lender-mark:var(--lg-free)}
html[data-theme] .private-workspace .lr-list .lx-lrow>.lr-open>.lr-s{grid-column:2;grid-row:2;color:var(--muted)}
html[data-theme] .private-workspace .lr-list .lx-lrow>.lr-open>.lr-rate{grid-column:3;grid-row:2;text-align:right;align-self:start}
html[data-theme] .private-workspace .lr-list .lx-lrow .lx-prog{grid-column:2/-1;grid-row:3;margin-top:8px;gap:12px}
html[data-theme] .private-workspace .lr-list .lx-lrow .lr-bar{height:6px;border-radius:3px;background:var(--lg-track)}
html[data-theme] .private-workspace .lr-list .lx-lrow .lr-bar>i{border-radius:3px;min-width:4px}
html[data-theme] .private-workspace .lr-list .lx-lrow:has([data-kind=free]) .lr-bar>i{background:var(--lg-free)}
html[data-theme] .private-workspace .lr-list .lx-lrow .lr-p{color:var(--lg-ink-soft);font-size:var(--text-xs)}
html[data-theme] .private-workspace .lr-list .lx-lrow .lx-nobar{margin-top:4px}
html[data-theme] .private-workspace .lr-list .lx-lrow .lx-nobar>.lr-p{text-align:start;min-width:0}
html[data-theme] .private-workspace .lr-list .lx-lrow .lx-nobar>.lr-p::before{content:"";display:inline-block;width:8px;height:8px;margin-inline-end:6px;border-radius:3px;background:var(--loan-chart-interest);vertical-align:0}
@media(max-width:480px){
 html[data-theme] .private-workspace .lr-list .lx-lrow>.lr-open>.lr-s{grid-column:2;grid-row:2}
 html[data-theme] .private-workspace .lr-list .lx-lrow>.lr-open>.lr-rate{grid-column:3;grid-row:2;text-align:right}
 html[data-theme] .private-workspace .lr-list .lx-lrow .lx-prog{grid-row:3}
}

/* ---------- Loan page ---------- */
html[data-theme] .private-workspace .lr-detail .lr-balance .lr-keys b{font-size:var(--text-base)}
html[data-theme] .private-workspace .lx-paidto{justify-self:start;align-self:center;display:grid;align-content:center;justify-items:start;gap:2px;min-width:96px;padding:10px 12px;border-radius:14px;background:color-mix(in srgb,var(--loan-chart-interest) 16%,var(--surface));border:1px solid color-mix(in srgb,var(--loan-chart-interest) 40%,var(--border))}
html[data-theme] .private-workspace .lx-paidto[data-behind=false]{background:var(--subtle);border-color:var(--border)}
html[data-theme] .private-workspace .lx-paidto>small{font-size:var(--text-xs);color:var(--muted)}
html[data-theme] .private-workspace .lx-paidto>b{font-size:var(--text-base);font-weight:650}
html[data-theme] .private-workspace .lx-term{display:grid;gap:8px;margin:14px 0 4px;padding:12px 14px;border:1px solid var(--border);border-radius:14px;background:var(--surface)}
html[data-theme] .private-workspace .lx-term-h{display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-size:var(--text-sm)}
html[data-theme] .private-workspace .lx-term-h b{font-weight:650}
html[data-theme] .private-workspace .lx-term-left{flex:none;padding:2px 8px;border-radius:8px;font-size:var(--text-xs);font-weight:600;background:var(--subtle);color:var(--text)}
html[data-theme] .private-workspace .lx-term[data-tone=soon] .lx-term-left{background:color-mix(in srgb,var(--decorative) 30%,var(--surface))}
html[data-theme] .private-workspace .lx-term[data-tone=late] .lx-term-left{background:color-mix(in srgb,var(--expense) 14%,var(--surface));color:var(--expense)}
html[data-theme] .private-workspace .lx-term-bar{display:block;height:6px;border-radius:3px;background:var(--lg-track);overflow:hidden}
html[data-theme] .private-workspace .lx-term-bar>i{display:block;height:100%;border-radius:3px;background:var(--loan-chart-interest)}
html[data-theme] .private-workspace .lx-term[data-tone=late] .lx-term-bar>i{background:var(--expense)}
html[data-theme] .private-workspace .lx-term>p{margin:0;font-size:var(--text-xs);color:var(--muted)}
html[data-theme] .private-workspace .lx-loan-note{display:flex;gap:8px;align-items:flex-start;margin:12px 0 0;padding:10px 12px;border-radius:14px;background:var(--subtle);font-size:var(--text-sm);color:var(--lg-ink-soft)}
html[data-theme] .private-workspace .lx-loan-note>.icon,html[data-theme] .private-workspace .lx-loan-note>svg{flex:none;width:16px;height:16px;margin-top:2px;color:var(--muted)}

/* ---------- Charts: clean plots, no dot texture or hatching, softer corners, one blue and one yellow ---------- */
html[data-theme] .private-workspace,html[data-theme] .lr-sheet{--lg-grid:color-mix(in srgb,var(--border) 70%,transparent)}
html[data-theme] .private-workspace .lm-progress :is(.lm-line-plot,.lr-mchart-plot),.private-workspace [data-history-chart],.private-workspace .payoff-curve>svg,.lr-sheet .lr-chart{background:linear-gradient(var(--lg-grid),var(--lg-grid)) 0 0/100% 1px no-repeat,linear-gradient(var(--lg-grid),var(--lg-grid)) 0 50%/100% 1px no-repeat;border-radius:0}
.lr-sheet .lr-chart,.private-workspace [data-history-chart]{background:none}
.lr-mseg-i,.lm-mini .lm-int,.lm-chart-key .lm-int{background-image:none}
/* Crisp columns (user, 2026-11-25): flat sides, 3px corners on each block, like the Stats day bars. */
html[data-theme] .private-workspace .lr-mstack{width:min(26px,66%);gap:2px;border-radius:0;overflow:visible}
html[data-theme] .private-workspace .lr-mstack>i{border-radius:3px 3px 1px 1px}
html[data-theme] .private-workspace .lm-progress .lr-mchart .lr-mcol[aria-pressed=true]{background:color-mix(in srgb,var(--loan-chart-principal) 9%,transparent);border-radius:8px 8px 0 0}
html[data-theme] .private-workspace .lm-line-dot:not(.is-on,.is-last){opacity:.35;transform:scale(.8)}
html[data-theme] .private-workspace .lm-line-dot:is(.is-on,.is-last){box-shadow:0 0 0 3px var(--surface)}
.lm-line-area{fill-opacity:.1}
html[data-theme] .lr-chart .lr-grid{stroke:var(--lg-grid);stroke-opacity:1}
html[data-theme] .lr-chart .lr-base{stroke:var(--border)}
html[data-theme] .lr-sheet .lr-curve-area{fill:var(--loan-chart-principal);fill-opacity:.1;stroke:none}
html[data-theme] .lr-sheet .lr-curve-line{stroke:var(--loan-chart-principal);stroke-width:2.5}
html[data-theme] .lr-sheet .lr-curve-mark{fill:var(--surface);stroke:var(--loan-chart-principal);stroke-width:2}
html[data-theme] .lr-sheet .lr-curve-mark[data-on],html[data-theme] .lr-sheet .lr-curve-dot{fill:var(--decorative,#ffbb6a);stroke:var(--surface);stroke-width:2.5}
html[data-theme] .lr-sheet .lr-curve-guide{stroke:var(--muted);stroke-opacity:.5}
@media(forced-colors:active){html[data-theme] .lr-sheet .lr-curve-area{fill:none}}

/* Past payments not recorded: one compact line per loan instead of a big button under each name. */
html[data-theme] .private-workspace .lx-past-list>li{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:4px 12px;padding:8px 0}
html[data-theme] .private-workspace .lx-past-list>li+li{border-top:1px solid var(--border)}
html[data-theme] .private-workspace .lx-past-list>li>.lx-past-name{min-width:0;overflow-wrap:anywhere}
html[data-theme] .private-workspace .lx-past-list>li>.button{grid-column:auto;width:auto;min-height:36px;padding:0 12px;margin:0;font-size:var(--text-sm)}
@media(max-width:380px){html[data-theme] .private-workspace .lx-past-list>li{grid-template-columns:minmax(0,1fr) auto}html[data-theme] .private-workspace .lx-past-list>li>.button{grid-column:1/-1;justify-self:start}}
/* Loans is a full page (2026-11-25): the list page shows its title in the top bar. */
html[data-theme] .private-workspace:has(.lr-list:not([hidden])) .dialog-heading>h2{opacity:1}
html[data-theme] .private-workspace:not([data-bottom-sheet])>.dialog-heading>.sheet-drag-handle{display:none}
/* ---------- Nine improvements (user, 2026-11-25) ---------- */
/* 2. Row status as a short pill: "₹1,800 short", "Oct and Nov unpaid". */
html[data-theme] .private-workspace .lr-list .lx-lrow .lr-s.lx-pill{justify-self:start;display:inline-flex;align-items:center;gap:6px;width:max-content;max-width:100%;padding:2px 8px;border-radius:8px;font-size:var(--text-xs);font-weight:600;line-height:1.5}
html[data-theme] .private-workspace .lr-list .lx-lrow .lr-s.lx-pill.lx-red{background:color-mix(in srgb,var(--expense) 11%,var(--surface));color:var(--expense)}
html[data-theme] .private-workspace .lr-list .lx-lrow .lr-s.lx-pill.lx-amber{background:color-mix(in srgb,var(--decorative) 24%,var(--surface));color:var(--warning,#885b13)}
html[data-theme] .private-workspace .lr-list .lx-lrow .lr-s.lx-pill>.lr-flag{display:none}
/* 3. One overdue card: the Pay button is the main action on the card. */
html[data-theme] .private-workspace .lr-detail .lx-overdue-one{border-color:color-mix(in srgb,var(--expense) 30%,var(--border));background:color-mix(in srgb,var(--expense) 5%,var(--surface))}
html[data-theme] .private-workspace .lr-detail .lx-overdue-one strong{color:var(--text)}
/* 4. Loan page tiles: three in a row, so none sits alone. */
@media(max-width:480px){
 html[data-theme] .private-workspace .lr-detail .lx-tiles{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
 html[data-theme] .private-workspace .lr-detail .lx-tiles>div{padding:10px;grid-template-rows:auto auto auto}
 html[data-theme] .private-workspace .lr-detail .lx-tiles dt{font-size:var(--text-xs);line-height:1.3}
 html[data-theme] .private-workspace .lr-detail .lx-tiles dd{font-size:var(--text-base)}
}
/* 1. Record a payment: quick amounts as chips, one purpose question, "After this payment" under the amount. */
html[data-theme] .private-workspace form.lr-pay .lr-quick{display:flex;flex-wrap:wrap;gap:8px;padding:0;background:none;border:0}
html[data-theme] .private-workspace form.lr-pay .lr-quick>button{flex:0 0 auto;display:inline-flex;gap:6px;align-items:baseline;min-height:36px;padding:6px 12px;border:1px solid var(--border);border-radius:var(--radius-control,12px);background:var(--surface);color:var(--text);box-shadow:none;font-size:var(--text-sm)}
html[data-theme] .private-workspace form.lr-pay .lr-quick>button>span{font-weight:650}
html[data-theme] .private-workspace form.lr-pay .lr-payment-due-context{padding:0;background:none;border:0;font-size:var(--text-sm);color:var(--muted)}
html[data-theme] .private-workspace form.lr-pay .lr-payment-due-context>strong{color:var(--text)}
html[data-theme] .private-workspace form.lr-pay .lr-purpose-fold .lr-native-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
html[data-theme] .private-workspace form.lr-pay .lr-purpose>button>small{font-size:var(--text-xs)}
html[data-theme] .private-workspace form.lr-pay .lx-after::before{content:"After this payment";display:block;margin:0 0 8px;font-size:var(--text-xs);font-weight:650;color:var(--muted);letter-spacing:.02em}
html[data-theme] .private-workspace form.lr-pay .lx-after:empty::before,html[data-theme] .private-workspace form.lr-pay .lx-after[hidden]::before{content:none}
/* 7. Planned months fold into one row. */
html[data-theme] .private-workspace .lm-plan-fold{position:relative;list-style:none}
html[data-theme] .private-workspace .lm-plan-fold>details{border:1px dashed var(--border);border-radius:14px;padding:0 12px}
html[data-theme] .private-workspace .lm-plan-fold>details>summary{list-style:none;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:2px 12px;min-height:44px;padding:10px 0;cursor:pointer}
html[data-theme] .private-workspace .lm-plan-fold>details>summary::-webkit-details-marker{display:none}
html[data-theme] .private-workspace .lm-plan-fold>details>summary>small{grid-row:2;color:var(--muted);font-size:var(--text-sm)}
html[data-theme] .private-workspace .lm-plan-fold>details>summary>.disclosure-chevron{grid-row:1/3;grid-column:2}
html[data-theme] .private-workspace .lm-plan-fold .lm-plan-rows{margin:0 0 10px;padding:0}
/* 8. Next payment in the top card: a row with a date tile. */
html[data-theme] .private-workspace .lx-hero>.lx-next-row{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;margin-top:10px;padding:10px 12px;text-align:start;white-space:normal;min-height:56px}
html[data-theme] .private-workspace .lx-next-row .lx-t{display:block;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html[data-theme] .private-workspace .lx-next-row .lx-s{display:block;color:var(--muted);font-size:var(--text-sm)}
html[data-theme] .private-workspace .lx-next-row .lx-s b{color:var(--text);font-weight:650}
html[data-theme] .private-workspace .lx-next-row>.lx-chev{width:16px;height:16px;color:var(--muted)}
/* 9. Hide amounts: blurred until you press and hold. */
html[data-theme] dialog[data-loan-amounts-hidden] [data-private-loans] :is(.lr-big,.lr-a,.private-loan-total,.lr-keys b,.lx-tiles dd,.lx-amt b,.lx-amt-s,.lx-amt-total b,.lx-past-list b,.lx-past-total,.lx-s b,.lr-repayment-top strong,.lm-row-head strong,.lm-parts,.lr-mval,.lr-mchart-scale,.lm-line-scale,.lr-cost strong,.lx-paidto b,.lr-sub,.lr-asum,.lr-table-number,.lr-p,.lx-term-h b,.lr-s.lx-pill,.lx-intchip .lx-s>span,.lx-attn-banner .lx-list .lx-s):not([data-loan-peek] *){filter:blur(7px);user-select:none}
html[data-theme] dialog[data-loan-amounts-hidden] [data-private-loans] :is(.lr-chart,.lm-line,.lr-mchart) :is(text,.lr-scale):not([data-loan-peek] *){filter:blur(5px)}
@media (prefers-reduced-motion:no-preference){html[data-theme] .private-workspace [data-private-loans] :is(.lr-big,.lr-a,.private-loan-total,.lr-keys b,.lx-tiles dd,.lx-amt b,.lx-amt-s,.lx-amt-total b,.lx-past-list b,.lx-past-total,.lx-s b,.lr-repayment-top strong,.lm-row-head strong,.lm-parts,.lr-mval,.lr-mchart-scale,.lm-line-scale,.lr-cost strong,.lx-paidto b,.lr-sub,.lr-asum,.lr-table-number,.lr-p,.lx-term-h b,.lr-s.lx-pill,.lx-intchip .lx-s>span,.lx-attn-banner .lx-list .lx-s),html[data-theme] .private-workspace [data-private-loans] :is(.lr-chart,.lm-line,.lr-mchart) :is(text,.lr-scale){transition:filter .24s cubic-bezier(.2,0,0,1),opacity .24s cubic-bezier(.2,0,0,1)}}
html[data-theme] .private-session-menu .lx-hide-toggle[aria-pressed=true]::after{content:" · On";color:var(--muted)}
/* Activity tools: month menu on the left, a search icon on the right; the search field grows out of the icon and the
   icon turns into a close button in place. Every control is 40px tall so the row lines up. */
html[data-theme] .private-workspace .lr-detail .lx-tools{flex-wrap:nowrap;gap:8px}
html[data-theme] .private-workspace .lr-detail .lx-tools .lx-month select,html[data-theme] .private-workspace .lr-detail .lx-tools .lx-chip{min-height:40px;height:40px;margin:0}
html[data-theme] .private-workspace .lr-detail .lx-tools .lx-sbox{flex:1;min-width:0;margin:0;height:40px}
html[data-theme] .private-workspace .lr-detail .lx-search-btn{margin-left:auto!important;width:40px;padding:0;display:inline-grid;place-items:center;flex:none}
html[data-theme] .private-workspace .lr-detail .lx-search-btn .icon{width:18px;height:18px;grid-area:1/1}
html[data-theme] .private-workspace .lr-detail .lx-search-btn[aria-pressed=false] .icon:last-child,html[data-theme] .private-workspace .lr-detail .lx-search-btn[aria-pressed=true] .icon:first-child{display:none}
html[data-theme] .private-workspace .lr-detail .lx-search-btn[aria-pressed=true]{background:var(--surface);color:var(--text);border-color:var(--border)}
html[data-theme] .private-workspace .lr-detail .lx-tools[data-searching] :is(.lx-month,[data-loan-detail-clear]){display:none}
html[data-theme] .private-workspace .lr-detail .lx-tools .lx-sbox input::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none;display:none}
/* Motion picks (2026-11-25), all off with reduced motion. */
/* Planned months unroll one after another when the fold opens. */
@media (prefers-reduced-motion:no-preference){
html[data-theme] .private-workspace .lm-plan-fold>details[open] .lm-plan-rows>li{animation:lx-unroll .28s cubic-bezier(.2,0,0,1) both}
html[data-theme] .private-workspace .lm-plan-fold>details[open] .lm-plan-rows>li:nth-child(2){animation-delay:50ms}
html[data-theme] .private-workspace .lm-plan-fold>details[open] .lm-plan-rows>li:nth-child(3){animation-delay:100ms}
html[data-theme] .private-workspace .lm-plan-fold>details[open] .lm-plan-rows>li:nth-child(4){animation-delay:150ms}
html[data-theme] .private-workspace .lm-plan-fold>details[open] .lm-plan-rows>li:nth-child(5){animation-delay:200ms}
html[data-theme] .private-workspace .lm-plan-fold>details[open] .lm-plan-rows>li:nth-child(n+6){animation-delay:240ms}
html[data-theme] .private-workspace .lm-plan-fold>details>summary>.disclosure-chevron{transition:transform .24s cubic-bezier(.2,0,0,1)}
}
@keyframes lx-unroll{from{opacity:0;transform:translateY(-8px) scaleY(.92);transform-origin:top}to{opacity:1;transform:none}}
html[data-theme] .private-workspace .lm-plan-fold>details[open]>summary>.disclosure-chevron{transform:rotate(180deg)}
/* Counting totals and rolling digits keep their width steady. */
html[data-theme] .private-workspace :is(.lx-counting,.lx-rolling){font-variant-numeric:tabular-nums}
html[data-theme] .private-workspace .lx-roll{display:inline-block}
html[data-theme] .private-workspace .lx-after :is(strong,b){display:inline-block}
/* The unpaid pill that a payment cleared, shrinking away where it was. */
html[data-theme] .private-workspace .lx-lrow{position:relative}
html[data-theme] .private-workspace .lx-pill-ghost{position:absolute;margin:0;pointer-events:none;white-space:nowrap;z-index:1}
