/* BAAKEE V77 — screenshot-led account/calc/net-worth polish.
   Appearance-only; never change the ledger, saved allocations or calculator math.
   Applied last so earlier Update 4 mint/emerald-only rules cannot leak into
   monochrome, Berry Wine, Sapphire, etc. */

/* The reserved / available panel previously had a fixed #B8E6D1 mint fill.
   Use the live appearance surface instead, including dark mode. */
html[data-baakee-theme] body #app .finance-full-body.u4acct-detail-page
 .u4q-safeguards .u4q-allocation-summary .u4q-reserve-totals {
  background:color-mix(in srgb,var(--baakee-active-fill,var(--card,#fff)) 60%,var(--baakee-surface,var(--card,#fff)))!important;
  border:1px solid var(--baakee-glass-border,var(--border,#dce8e4))!important;
}
html[data-baakee-theme] body #app .finance-full-body.u4acct-detail-page
 .u4q-safeguards .u4q-allocation-summary .u4q-reserve-totals::before {
  background:var(--baakee-glass-border,var(--border,#dce8e4))!important;
}

/* Standard and Financial calculators use the SAME expression input.
   Match the rounded controls instead of the old square text field. */
html[data-baakee-theme] body #modal-root .modal .u1-calc .u1-calc-screen #u1-calc-expression {
  box-sizing:border-box!important;
  width:100%!important;
  border-radius:17px!important;
  border:1px solid var(--baakee-glass-border,var(--border,#dce8e4))!important;
  background:var(--baakee-surface,var(--card,#fff))!important;
  color:var(--baakee-body-ink,var(--text,#1c2928))!important;
  background-clip:padding-box!important;
}

/* A negative number must stay negative-colored while Financial Health is
   collapsed; legacy motion polish forced all compact figures green. */
html[data-baakee-theme] body #app main.u4-finance-home
 .u4-health-dashboard.is-collapsed .u4-health-compact-balance.is-negative strong {
  color:#ef6b78!important;
}
