/* Revenue > Overview and the deposit panel (10/03), as the owner reviewed
   them on the design branch. Loaded after skin/money.css.

   Transactions, Square and Lodging tax were rebuilt on testing (#3783) on
   their own rules, so nothing here may reach them. The design branch rooted
   this skin at .yw-revenue-page; here the Overview's rules root at
   .yw-money-page:where([data-rev-view="overview"]) (the same weight; page.tsx
   marks the view on screen) and the deposit panel's at .yw-rev-deposit
   (line-panel.tsx). Rules for the other views' classes are left out. */

/* ---- the shared rows these two ride on, narrowed to them ---- */
.yw-money-page:where([data-rev-view="overview"]) { font-family: var(--font-geist-sans), Geist, system-ui, sans-serif; font-size: 14px; letter-spacing: -.25px; /* The dashboard's warm greys (skin/base.css, overview.css): hairline #eae8ec, card border #e2e1e4, captions #929097, labels #87818c, row value #131f35, ink #202024. */ --color-zinc-50: #f8f7f9; --color-zinc-100: #eeedf0; --color-zinc-200: #e2e1e4; --color-zinc-300: #d6d2da; --color-zinc-400: #a09aa4; --color-zinc-500: #8a8490; --color-zinc-600: #6f6975; --color-zinc-700: #59535f; --color-zinc-800: #131f35; --color-zinc-900: #202024; --color-zinc-950: #0a0f1e; /* The accent and its tints. */ --color-violet-50: #f6f1fb; --color-violet-100: #eee5fd; --color-violet-200: #e3d6f6; --color-violet-300: #cdb5ee; --color-violet-400: #a883ee; --color-violet-500: #8553c2; --color-violet-600: #7c3aed; --color-violet-700: #7433d4; --color-violet-800: #5d2bb0; /* Good, bad and amber words (never values). */ --color-emerald-50: #eef7f3; --color-emerald-200: #cfe7dd; --color-emerald-300: #b5dccb; --color-emerald-500: #397965; --color-emerald-600: #279876; --color-emerald-700: #2f8a6d; --color-emerald-800: #397965; --color-rose-50: #fbf0f4; --color-rose-200: #f0d2dd; --color-rose-300: #e7b9cb; --color-rose-400: #d98aa9; --color-rose-500: #c85f84; --color-rose-600: #c85f84; --color-rose-700: #a96883; --color-rose-800: #9f6586; --color-amber-50: #fbf6ee; --color-amber-100: #f6ecdc; --color-amber-200: #ecdcc0; --color-amber-300: #e0c79c; --color-amber-600: #9a805f; --color-amber-700: #9a805f; --color-amber-800: #86704f; --color-amber-900: #6f5c40; }
:where(.yw-money-page[data-rev-view="overview"]) .yw-money-row-count { margin-left: 8px; color: #a59fab; font-size: 11px; }
.hw-info-body .yw-money-hover-meta { display: block; margin-bottom: 8px; color: #8f8996; font-size: 11px; line-height: 1.45; }
:where(.yw-money-page[data-rev-view="overview"]) .yw-money-parts > .yw-row-stat, :where(.yw-money-page[data-rev-view="overview"]) .yw-money-parts > details > summary.yw-row-stat { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; row-gap: 9px; padding: 15px 0 14px; }
:where(.yw-money-page[data-rev-view="overview"]) .yw-money-grid:not(.yw-money-grid--after) > .yw-money-card { display: flex; flex-direction: column; }
:where(.yw-money-page[data-rev-view="overview"]) .yw-money-grid:not(.yw-money-grid--after) > .yw-money-card > .yw-money-card-body { display: flex; flex: 1 1 auto; flex-direction: column; }
:where(.yw-money-page[data-rev-view="overview"]) .yw-money-parts { display: flex; flex: 1 1 auto; flex-direction: column; justify-content: space-between; }
:where(.yw-money-page[data-rev-view="overview"]) .yw-money-share { display: block; grid-column: 1 / -1; height: 8px; overflow: hidden; border-radius: 4px; background: #eeedf1; }
:where(.yw-money-page[data-rev-view="overview"]) .yw-money-parts .yw-row-stat-value { color: #202024; font-size: 22px; letter-spacing: -.7px; }
:where(.yw-money-page[data-rev-view="overview"]) .yw-money-parts > .yw-row-stat > span:first-child, :where(.yw-money-page[data-rev-view="overview"]) .yw-money-parts > details > summary > span:first-child { color: #59535f; font-size: 13px; }
:where(.yw-money-page[data-rev-view="overview"]) .yw-money-share > i { display: block; height: 100%; border-radius: inherit; background: repeating-linear-gradient(125deg, #9161df 0 2px, #dcccfa 2px 4px); transform-origin: left; animation: yw-scale-in 1s cubic-bezier(.2, .8, .2, 1) backwards; }
[data-theme-root].dark .hw-info-body .yw-money-hover-meta, [data-theme-root].dark :where(.yw-money-page[data-rev-view="overview"]) .yw-money-row-count { color: #a297ab; }
[data-theme-root].dark :where(.yw-money-page[data-rev-view="overview"]) .yw-money-share { background: #142036; }
[data-theme-root].dark :where(.yw-money-page[data-rev-view="overview"]) .yw-money-parts .yw-row-stat-value { color: #f3eef8; }
[data-theme-root].dark :where(.yw-money-page[data-rev-view="overview"]) .yw-money-parts > .yw-row-stat > span:first-child, [data-theme-root].dark :where(.yw-money-page[data-rev-view="overview"]) .yw-money-parts > details > summary > span:first-child { color: #c3b9cc; }
[data-theme-root].dark .yw-money-page:where([data-rev-view="overview"]) .yw-row-stat[data-quiet] > .yw-row-stat-value { color: #8f8996; }
.yw-money-page:where([data-rev-view="overview"]) .yw-rev-input { min-height: 32px; padding: 0 10px; border: 1px solid #e2e1e4; border-radius: 10px; background: #fff; color: #202024; font-size: 12px; outline: none; }
:where(.yw-money-page[data-rev-view="overview"]) .yw-rev-card-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; color: #929097; font-size: 12px; }
:where(.yw-money-page[data-rev-view="overview"]) .yw-money-note[data-tone="watch"] { color: #9a805f; }
:where(.yw-money-page[data-rev-view="overview"]) .yw-money-share[data-tone="grey"] > i { background: repeating-linear-gradient(125deg, #a6a0ac 0 2px, #dcd7e0 2px 4px); }
:where(.yw-money-page[data-rev-view="overview"]) .yw-money-share[data-tone="pink"] > i { background: repeating-linear-gradient(125deg, #d85e9e 0 2px, #f8dae9 2px 4px); }
[data-theme-root].dark :where(.yw-money-page[data-rev-view="overview"]) .yw-money-note[data-tone="watch"] { color: #e6bd7f; }
[data-theme-root].dark :where(.yw-money-page[data-rev-view="overview"]) .yw-money-share[data-tone="grey"] > i { background: repeating-linear-gradient(125deg, #8b8794 0 2px, #17243d 2px 4px); }
[data-theme-root].dark :where(.yw-money-page[data-rev-view="overview"]) .yw-money-share[data-tone="pink"] > i { background: repeating-linear-gradient(125deg, #e07fb4 0 2px, #5a3a4b 2px 4px); }
:where(.yw-rev-deposit) .yw-money-page { font-family: var(--font-geist-sans), Geist, system-ui, sans-serif; font-size: 14px; letter-spacing: -.25px; /* The dashboard's warm greys (skin/base.css, overview.css): hairline #eae8ec, card border #e2e1e4, captions #929097, labels #87818c, row value #131f35, ink #202024. */ --color-zinc-50: #f8f7f9; --color-zinc-100: #eeedf0; --color-zinc-200: #e2e1e4; --color-zinc-300: #d6d2da; --color-zinc-400: #a09aa4; --color-zinc-500: #8a8490; --color-zinc-600: #6f6975; --color-zinc-700: #59535f; --color-zinc-800: #131f35; --color-zinc-900: #202024; --color-zinc-950: #0a0f1e; /* The accent and its tints. */ --color-violet-50: #f6f1fb; --color-violet-100: #eee5fd; --color-violet-200: #e3d6f6; --color-violet-300: #cdb5ee; --color-violet-400: #a883ee; --color-violet-500: #8553c2; --color-violet-600: #7c3aed; --color-violet-700: #7433d4; --color-violet-800: #5d2bb0; /* Good, bad and amber words (never values). */ --color-emerald-50: #eef7f3; --color-emerald-200: #cfe7dd; --color-emerald-300: #b5dccb; --color-emerald-500: #397965; --color-emerald-600: #279876; --color-emerald-700: #2f8a6d; --color-emerald-800: #397965; --color-rose-50: #fbf0f4; --color-rose-200: #f0d2dd; --color-rose-300: #e7b9cb; --color-rose-400: #d98aa9; --color-rose-500: #c85f84; --color-rose-600: #c85f84; --color-rose-700: #a96883; --color-rose-800: #9f6586; --color-amber-50: #fbf6ee; --color-amber-100: #f6ecdc; --color-amber-200: #ecdcc0; --color-amber-300: #e0c79c; --color-amber-600: #9a805f; --color-amber-700: #9a805f; --color-amber-800: #86704f; --color-amber-900: #6f5c40; }
.yw-money-page :where(.yw-rev-deposit) .yw-rev-input { min-height: 32px; padding: 0 10px; border: 1px solid #e2e1e4; border-radius: 10px; background: #fff; color: #202024; font-size: 12px; outline: none; }
:where(.yw-rev-deposit) .yw-rev-dialog-total > span { color: #929097; font-size: 12px; font-weight: 400; letter-spacing: -.25px; }
:where(.yw-rev-deposit) .yw-rev-dialog-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; color: #343039; font-size: 13px; }

/* ---- the design branch's skin/money-revenue.css, re-rooted ---- */
/* Revenue redesign (10/03): the new Dashboard design on this Money section.
   Loaded after skin/money.css, so a rule here at the same weight wins.
   Light rules first, their dark twins under [data-theme-root].dark.

   Owner, for every Money tab: "use our new design ... no ai slop text ...
   explanations should be on the hover modals ... container layouts and
   graphs ... add integrated scrollers ... correct sizing to containers".
   Everything is scoped under .yw-revenue-page (revenue/page.tsx puts it on
   the yw-money-page body), so nothing here reaches another Money page. The
   10/01 wave 4 rules in money.css (yw-rev-*) still dress what this file does
   not restate. Values stay ink; flags, pills, marks and notes carry the tone. */

/* ------------------------------------------------- the shared row parts -- */
/* The quiet pill (the Dashboard's secondary move) and the one violet. */
.yw-money-page:where([data-rev-view="overview"]) .yw-rev-pill, .yw-rev-deposit .yw-rev-pill {
  display: inline-flex; align-items: center; gap: 6px; height: 30px; margin: 0; padding: 0 12px;
  border: 0; border-radius: 10px; background: #eeeded; color: #202024;
  font-size: 12px; font-weight: 500; line-height: 1; letter-spacing: -.1px;
  text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .16s, color .16s;
}
.yw-money-page:where([data-rev-view="overview"]) .yw-rev-pill:hover, .yw-rev-deposit .yw-rev-pill:hover { background: #e8e4ed; color: #202024; text-decoration: none; }
.yw-money-page:where([data-rev-view="overview"]) .yw-rev-pill:focus-visible, .yw-rev-deposit .yw-rev-pill:focus-visible { outline: 2px solid #b993ff; outline-offset: 2px; }
.yw-money-page:where([data-rev-view="overview"]) .yw-rev-pill:disabled, .yw-rev-deposit .yw-rev-pill:disabled { cursor: wait; opacity: .6; }
.yw-money-page:where([data-rev-view="overview"]) .yw-rev-pill.yw-rev-primary, .yw-rev-deposit .yw-rev-pill.yw-rev-primary { background: #7c3aed; color: #fff; }
.yw-money-page:where([data-rev-view="overview"]) .yw-rev-pill.yw-rev-primary:hover, .yw-rev-deposit .yw-rev-pill.yw-rev-primary:hover { background: #7130df; color: #fff; }
.yw-money-page:where([data-rev-view="overview"]) .yw-rev-pill.yw-rev-primary:disabled, .yw-rev-deposit .yw-rev-pill.yw-rev-primary:disabled { cursor: not-allowed; }
.yw-money-page:where([data-rev-view="overview"]) summary.yw-rev-pill, .yw-rev-deposit summary.yw-rev-pill { list-style: none; }
.yw-money-page:where([data-rev-view="overview"]) summary.yw-rev-pill::-webkit-details-marker, .yw-rev-deposit summary.yw-rev-pill::-webkit-details-marker { display: none; }

/* The round mark: a short word or a glyph, toned by kind (violet by default). */
.yw-money-page:where([data-rev-view="overview"]) .yw-rev-mark, .yw-rev-deposit .yw-rev-mark {
  display: grid; width: 36px; height: 36px; flex: 0 0 36px; place-items: center; border-radius: 50%;
  background: #efe8fb; color: #7c3aed; font-size: 14px; font-weight: 500; line-height: 1; letter-spacing: 0;
}
/* A Needs you row's copy: the title, one quiet line under it. */
.yw-money-page:where([data-rev-view="overview"]) .yw-rev-row-copy, .yw-rev-deposit .yw-rev-row-copy { min-width: 0; }
.yw-money-page:where([data-rev-view="overview"]) .yw-rev-row-title, .yw-rev-deposit .yw-rev-row-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; min-width: 0; color: #202024; font-size: 14px; font-weight: 500; letter-spacing: -.2px; }
.yw-money-page:where([data-rev-view="overview"]) .yw-rev-row-title .hw-info-label, .yw-rev-deposit .yw-rev-row-title .hw-info-label { font-weight: 500; text-align: left; }
.yw-money-page:where([data-rev-view="overview"]) .yw-rev-row-line, .yw-rev-deposit .yw-rev-row-line { margin-top: 3px; overflow: hidden; color: #929097; font-size: 12px; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.yw-money-page:where([data-rev-view="overview"]) .yw-rev-row-moves { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px; }
.yw-rev-deposit .yw-rev-row-amount { min-width: 64px; color: #202024; font-size: 16px; font-weight: 500; letter-spacing: -.4px; text-align: right; white-space: nowrap; }
.yw-rev-deposit .yw-rev-row-amount[data-muted] { color: #a09aa4; font-size: 13px; font-weight: 400; }
/* A long name inside a row label: one line, the rest in its title. */
/* A list that scrolls inside its card, every row in the DOM. */
.yw-money-page:where([data-rev-view="overview"]) :is(.yw-rev-deposits, .yw-rev-report-list, .yw-rev-sources)[data-scroll="list"] {
  max-height: 32rem; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #ddd2e7 transparent;
}
.yw-money-page:where([data-rev-view="overview"]) .yw-card-head .yw-rev-pill, .yw-rev-deposit .yw-card-head .yw-rev-pill { flex-shrink: 0; }
/* A row with nothing measured ("Not read", "n/a") is quiet at row size, not
   the 22px of a measured value over its track. */
.yw-money-page:where([data-rev-view="overview"]) .yw-money-parts .yw-row-stat-value[data-muted] { font-size: 13px; letter-spacing: -.2px; }
.yw-money-page:where([data-rev-view="overview"]) .yw-rev-input, .yw-rev-deposit .yw-rev-input { height: 32px; }
.yw-money-page:where([data-rev-view="overview"]) select.yw-rev-input, .yw-rev-deposit select.yw-rev-input { padding-right: 26px; }

/* -------------------------------------------------------------- Overview -- */
/* The hero's status: one pill, a muted word. */
.yw-money-page:where([data-rev-view="overview"]) .yw-money-hero .yw-hero-status { margin-top: 2px; }
/* Row 2: Money in beside the departments (two columns), level with each
   other; Money in's rows spread down the card over their share tracks. */
.yw-money-page:where([data-rev-view="overview"]) .yw-rev-overview-row { align-items: stretch; margin-top: 16px; }
.yw-money-page:where([data-rev-view="overview"]) .yw-rev-moneyin .yw-money-parts .yw-row-stat-label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 0; min-width: 0; }
.yw-money-page:where([data-rev-view="overview"]) .yw-rev-moneyin .yw-money-parts .yw-row-stat-label > .yw-money-flag { margin-left: 8px; }
.yw-money-page:where([data-rev-view="overview"]) .yw-rev-moneyin .yw-rev-prompts { margin-top: 14px; }

/* The room revenue trend: the Dashboard's month columns, hatched violet, a
   column still filling the lighter hatch; the picked one is the line under. */
.yw-money-page:where([data-rev-view="overview"]) .yw-rev-trend { display: flex; flex: 1 1 auto; flex-direction: column; margin-top: 16px; }
.yw-money-page:where([data-rev-view="overview"]) .yw-rev-cols { display: grid; flex: 1 1 auto; gap: 6px; min-height: 220px; }
.yw-money-page:where([data-rev-view="overview"]) .yw-rev-cols[data-dense] { gap: 3px; }
.yw-money-page:where([data-rev-view="overview"]) .yw-rev-col { display: flex; min-width: 0; flex-direction: column; height: 100%; margin: 0; padding: 0 2px; border: 0; border-radius: 8px; background: transparent; color: #202024; font: inherit; cursor: default; transition: background-color .2s ease; }
.yw-money-page:where([data-rev-view="overview"]) .yw-rev-col:hover, .yw-money-page:where([data-rev-view="overview"]) .yw-rev-col[data-active="true"] { background: #f4eefb; }
.yw-money-page:where([data-rev-view="overview"]) .yw-rev-col:focus-visible { outline: 2px solid #7836e9; outline-offset: -2px; }
.yw-money-page:where([data-rev-view="overview"]) .yw-rev-col-value { display: block; height: 22px; padding-top: 5px; overflow: visible; color: #87818c; font-size: 11px; font-weight: 500; line-height: 1.3; text-align: center; white-space: nowrap; }
.yw-money-page:where([data-rev-view="overview"]) .yw-rev-col[data-active="true"] .yw-rev-col-value { color: #202024; }
.yw-money-page:where([data-rev-view="overview"]) .yw-rev-col-rail { position: relative; display: block; flex: 1 1 auto; border-bottom: 1px solid #cfc8d5; background: linear-gradient(to bottom, #ece8f0 0 1px, transparent 1px calc(50% - .5px), #ece8f0 calc(50% - .5px) calc(50% + .5px), transparent calc(50% + .5px)); }
.yw-money-page:where([data-rev-view="overview"]) .yw-rev-col-bar { position: absolute; bottom: 0; left: 50%; width: min(58%, 40px); min-height: 1px; border-radius: 4px 4px 0 0; background: repeating-linear-gradient(125deg, #8a45f0 0 2px, #d4b6fb 2px 4px); transform: translateX(-50%); transform-origin: bottom; animation: yw-month-grow .65s cubic-bezier(.2, .7, .2, 1) both; }
.yw-money-page:where([data-rev-view="overview"]) .yw-rev-cols[data-dense] .yw-rev-col-bar { width: min(70%, 30px); border-radius: 3px 3px 0 0; }
.yw-money-page:where([data-rev-view="overview"]) .yw-rev-col[data-partial] .yw-rev-col-bar { background: repeating-linear-gradient(125deg, #b996f2 0 2px, #eee5fd 2px 4px); }
.yw-money-page:where([data-rev-view="overview"]) .yw-rev-col-label { display: block; height: 24px; padding-top: 7px; overflow: visible; color: #8b8290; font-size: 10.5px; text-align: center; white-space: nowrap; }
.yw-money-page:where([data-rev-view="overview"]) .yw-rev-cols[data-dense] .yw-rev-col-label { text-align: left; }
.yw-money-page:where([data-rev-view="overview"]) .yw-rev-trend .yw-month-detail { min-height: 40px; margin-top: 6px; }

/* Departments you run: one Needs you row per department, its mark violet
   when it is on. The controls sit on the right; Save is a quiet pill. */
.yw-money-page:where([data-rev-view="overview"]) .yw-rev-depts { display: flex; flex-direction: column; }
.yw-money-page:where([data-rev-view="overview"]) .yw-rev-dept-list { margin: 10px 0 0; padding: 0; list-style: none; }
.yw-money-page:where([data-rev-view="overview"]) .yw-rev-dept-list > li { border-bottom: 1px solid #eae8ec; }
.yw-money-page:where([data-rev-view="overview"]) .yw-rev-dept-list > li:last-child { border-bottom: 0; }
.yw-money-page:where([data-rev-view="overview"]) .yw-rev-dept { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 0 14px; min-height: 62px; padding: 8px 6px; border-radius: 14px; transition: background-color .16s; }
.yw-money-page:where([data-rev-view="overview"]) .yw-rev-dept:hover { background: #f8f6fa; }
.yw-money-page:where([data-rev-view="overview"]) .yw-rev-dept-mark { background: #f0eef2; color: #87818c; font-size: 10px; font-weight: 600; letter-spacing: .01em; }
.yw-money-page:where([data-rev-view="overview"]) .yw-rev-dept[data-on] .yw-rev-dept-mark { background: #efe8fb; color: #7c3aed; }
.yw-money-page:where([data-rev-view="overview"]) .yw-rev-switch { display: inline-flex; align-items: center; gap: 6px; padding: 0 4px; color: #59535f; font-size: 12px; cursor: pointer; }
.yw-money-page:where([data-rev-view="overview"]) .yw-rev-switch > input { width: 15px; height: 15px; margin: 0; accent-color: #7c3aed; cursor: pointer; }
.yw-money-page:where([data-rev-view="overview"]) .yw-rev-dept input[type="month"] { width: 10.5rem; }
.yw-money-page:where([data-rev-view="overview"]) .yw-rev-depts > .yw-rev-card-foot { margin-top: auto; padding-top: 14px; }

/* Sales to report: its own full row, every month a row, the list scrolls. */
.yw-money-page:where([data-rev-view="overview"]) .yw-rev-report-list { margin: 10px 0 0; padding: 0; list-style: none; }
.yw-money-page:where([data-rev-view="overview"]) .yw-rev-report-list > li { border-bottom: 1px solid #eae8ec; }
.yw-money-page:where([data-rev-view="overview"]) .yw-rev-report-list > li:last-child { border-bottom: 0; }
.yw-money-page:where([data-rev-view="overview"]) .yw-rev-report { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 0 14px; min-height: 64px; padding: 8px 6px; border-radius: 14px; transition: background-color .16s; }
.yw-money-page:where([data-rev-view="overview"]) .yw-rev-report:hover { background: #f8f6fa; }
.yw-money-page:where([data-rev-view="overview"]) .yw-rev-report-mark { font-size: 11px; font-weight: 600; }
.yw-money-page:where([data-rev-view="overview"]) .yw-rev-amount-input { width: 8.5rem; text-align: right; }

/* ---------------------------------------------------------- Transactions -- */
/* The deposits to tag: idle, the select-all line; picked, a quiet toolbar. */
.yw-rev-deposit .yw-rev-deposit { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto auto; align-items: center; gap: 0 14px; min-height: 64px; padding: 8px 6px; border-bottom: 1px solid #eae8ec; border-radius: 14px; transition: background-color .16s; }
.yw-rev-deposit .yw-rev-deposit:last-child { border-bottom: 0; }
.yw-rev-deposit .yw-rev-deposit:hover { background: #f8f6fa; }
.yw-rev-deposit .yw-rev-deposit[data-picked] { background: #f6f1fd; }
.yw-rev-deposit .yw-rev-deposit[data-picked] .yw-rev-pick { background: #7c3aed; color: #fff; }
.yw-money-page:where([data-rev-view="overview"]) .yw-rev-deposit .yw-rev-row-line .yw-text-link, .yw-rev-deposit .yw-rev-deposit .yw-rev-row-line .yw-text-link { font-size: 12px; }
.yw-rev-deposit .yw-rev-deposit > select { max-width: 11rem; }
/* The list of bank credits: dates on one line. */

/* The deposits behind a number (line-panel.tsx): Needs you rows in the dialog. */
.yw-rev-deposit .yw-rev-dialog-row { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 0 14px; }
.yw-money-page:where([data-rev-view="overview"]) .yw-rev-dialog-rows > li[data-untagged] .yw-rev-mark, .yw-rev-deposit .yw-rev-dialog-rows > li[data-untagged] .yw-rev-mark { background: #f8e8ef; color: #bd6a91; }
.yw-rev-deposit .yw-rev-dialog-tag { margin-top: 8px; padding-left: 50px; }
.yw-money-page:where([data-rev-view="overview"]) .yw-rev-dialog-head .yw-rev-pill, .yw-rev-deposit .yw-rev-dialog-head .yw-rev-pill { flex-shrink: 0; }

/* ---------------------------------------------------------------- Square -- */
.yw-money-page:where([data-rev-view="overview"]) .yw-rev-filters .yw-rev-pill, .yw-rev-deposit .yw-rev-filters .yw-rev-pill { height: 32px; }
/* Moving, Not moving and By location: a name, its quiet count, the value
   over its track. A long name keeps one line. */
.yw-money-page:where([data-rev-view="overview"]) .yw-rev-board-rows .yw-row-stat-label { display: flex; align-items: baseline; min-width: 0; }
.yw-money-page:where([data-rev-view="overview"]) .yw-rev-board-rows .yw-row-stat-label > .yw-rev-row-name { flex: 0 1 auto; }
.yw-money-page:where([data-rev-view="overview"]) .yw-rev-board-rows .yw-row-stat-label > .yw-money-row-count { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* The hero's best seller: its name is the row's quiet count, one line. */
.yw-money-page:where([data-rev-view="overview"]) .yw-rev-square-hero .yw-row-stat-label:has(> .yw-money-row-count) { display: inline-flex; align-items: baseline; min-width: 0; overflow: hidden; }
.yw-money-page:where([data-rev-view="overview"]) .yw-rev-square-hero .yw-row-stat-label > .yw-money-row-count { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yw-money-page:where([data-rev-view="overview"]) .yw-rev-square-hero .yw-rev-sync .yw-rev-pill, .yw-rev-deposit .yw-rev-square-hero .yw-rev-sync .yw-rev-pill { margin-top: 2px; }

/* ------------------------------------------------------------ Lodging tax -- */
/* The top row: the hero, Setup details and the sales tax on Square, one
   height. With no Square card, Setup details takes the two columns. */
.yw-money-page:where([data-rev-view="overview"]) .yw-rev-checks .yw-money-parts .yw-row-stat-label { display: flex; align-items: baseline; min-width: 0; }
.yw-money-page:where([data-rev-view="overview"]) .yw-rev-checks .yw-money-parts .yw-row-stat-label > .yw-money-flag { margin-left: 8px; }
.yw-money-page:where([data-rev-view="overview"]) .yw-rev-postax > .yw-money-empty, .yw-rev-deposit .yw-rev-postax > .yw-money-empty { margin-top: auto; }
.yw-money-page:where([data-rev-view="overview"]) .yw-money-hero .yw-hero-status .yw-hero-muted { line-height: 1.45; }
/* A note that is its own hover: the label keeps the note's colour and wraps. */
.yw-money-page:where([data-rev-view="overview"]) .yw-money-note .hw-info-label { text-align: left; }

/* Tax by booking source: a Needs you row per source, toned by its verdict. */
.yw-money-page:where([data-rev-view="overview"]) .yw-rev-sources-total > .yw-row-stat { padding-top: 13px; }
.yw-money-page:where([data-rev-view="overview"]) .yw-rev-sources-total .yw-row-stat-value { font-size: 16px; }

/* -------------------------------------------------------------- narrower -- */
@media (max-width: 1100px) {
  /* Two columns: Money in and the departments each take the row. */
  .yw-money-page:where([data-rev-view="overview"]) .yw-rev-overview-row > .yw-rev-moneyin { grid-column: 1 / -1; }
  /* A hero with one card beside it does not span two rows (a hole under the card). */
  .yw-money-page:where([data-rev-view="overview"]) .yw-rev-tax-row > .yw-money-hero:first-child:nth-last-child(2) { grid-row: auto; }
}
@media (max-width: 800px) {
  /* The moves drop under the title; the mark and the dollars stay put. */
  .yw-money-page:where([data-rev-view="overview"]) :is(.yw-rev-dept, .yw-rev-report) { grid-template-columns: 36px minmax(0, 1fr); row-gap: 8px; }
  .yw-money-page:where([data-rev-view="overview"]) :is(.yw-rev-dept, .yw-rev-report) > .yw-rev-row-moves { grid-column: 2; justify-content: flex-start; }
  .yw-rev-deposit .yw-rev-deposit { grid-template-columns: 36px minmax(0, 1fr) auto; row-gap: 8px; }
  .yw-rev-deposit .yw-rev-deposit > select { grid-column: 2 / -1; grid-row: 2; justify-self: start; }
  .yw-rev-deposit .yw-rev-dialog-tag { padding-left: 0; }
}
@media (max-width: 640px) {
  .yw-money-page:where([data-rev-view="overview"]) .yw-rev-col-value { visibility: hidden; }
  .yw-money-page:where([data-rev-view="overview"]) .yw-rev-cols { gap: 3px; }
}
@media (prefers-reduced-motion: reduce) {
  .yw-money-page:where([data-rev-view="overview"]) .yw-rev-col-bar { animation: none; }
  .yw-money-page:where([data-rev-view="overview"]) :is(.yw-rev-col, .yw-rev-dept, .yw-rev-report, .yw-rev-deposit, .yw-rev-source-row, .yw-rev-pill, .yw-rev-pick), .yw-rev-deposit :is(.yw-rev-col, .yw-rev-dept, .yw-rev-report, .yw-rev-deposit, .yw-rev-source-row, .yw-rev-pill, .yw-rev-pick) { transition: none; }
}

/* ------------------------------------------------------------------ dark -- */
[data-theme-root].dark .yw-money-page:where([data-rev-view="overview"]) .yw-rev-pill, [data-theme-root].dark .yw-rev-deposit .yw-rev-pill { background: #142036; color: #f3eef8; }
[data-theme-root].dark .yw-money-page:where([data-rev-view="overview"]) .yw-rev-pill:hover, [data-theme-root].dark .yw-rev-deposit .yw-rev-pill:hover { background: #1c2843; color: #f3eef8; }
[data-theme-root].dark .yw-money-page:where([data-rev-view="overview"]) .yw-rev-pill.yw-rev-primary, [data-theme-root].dark .yw-rev-deposit .yw-rev-pill.yw-rev-primary { background: #7c3aed; color: #fff; }
[data-theme-root].dark .yw-money-page:where([data-rev-view="overview"]) .yw-rev-pill.yw-rev-primary:hover, [data-theme-root].dark .yw-rev-deposit .yw-rev-pill.yw-rev-primary:hover { background: #8b4dfb; color: #fff; }
[data-theme-root].dark .yw-money-page:where([data-rev-view="overview"]) .yw-rev-mark, [data-theme-root].dark .yw-rev-deposit .yw-rev-mark { background: #3d3350; color: #c5a8ff; }
[data-theme-root].dark .yw-money-page:where([data-rev-view="overview"]) .yw-rev-dept-mark { background: #142036; color: #a297ab; }
[data-theme-root].dark .yw-money-page:where([data-rev-view="overview"]) .yw-rev-dept[data-on] .yw-rev-dept-mark { background: #3d3350; color: #c5a8ff; }
[data-theme-root].dark .yw-money-page:where([data-rev-view="overview"]) :is(.yw-rev-dialog-rows > li[data-untagged] .yw-rev-mark, .yw-rev-sources > li[data-verdict="leak"] .yw-rev-source-mark), [data-theme-root].dark .yw-rev-deposit :is(.yw-rev-dialog-rows > li[data-untagged] .yw-rev-mark, .yw-rev-sources > li[data-verdict="leak"] .yw-rev-source-mark) { background: #4d3345; color: #f0b8d2; }
[data-theme-root].dark .yw-rev-deposit .yw-rev-deposit[data-picked] .yw-rev-pick { background: #7c3aed; color: #fff; }
[data-theme-root].dark .yw-money-page:where([data-rev-view="overview"]) :is(.yw-rev-row-title, .yw-rev-row-amount, .yw-rev-bulk[data-state], .yw-rev-col[data-active="true"] .yw-rev-col-value), [data-theme-root].dark .yw-rev-deposit :is(.yw-rev-row-title, .yw-rev-row-amount, .yw-rev-bulk[data-state], .yw-rev-col[data-active="true"] .yw-rev-col-value) { color: #f3eef8; }
[data-theme-root].dark .yw-money-page:where([data-rev-view="overview"]) :is(.yw-rev-row-line, .yw-rev-col-value, .yw-rev-col-label, .yw-rev-kpi-detail, .yw-rev-row-amount[data-muted]), [data-theme-root].dark .yw-rev-deposit :is(.yw-rev-row-line, .yw-rev-col-value, .yw-rev-col-label, .yw-rev-kpi-detail, .yw-rev-row-amount[data-muted]) { color: #a297ab; }
[data-theme-root].dark .yw-money-page:where([data-rev-view="overview"]) .yw-rev-switch { color: #c3b9cc; }
[data-theme-root].dark .yw-money-page:where([data-rev-view="overview"]) :is(.yw-rev-dept-list > li, .yw-rev-report-list > li, .yw-rev-deposit, .yw-rev-sources > li), [data-theme-root].dark .yw-rev-deposit :is(.yw-rev-dept-list > li, .yw-rev-report-list > li, .yw-rev-deposit, .yw-rev-sources > li) { border-color: #1c2843; }
[data-theme-root].dark .yw-money-page:where([data-rev-view="overview"]) :is(.yw-rev-dept:hover, .yw-rev-report:hover, .yw-rev-deposit:hover, .yw-rev-source-row:hover), [data-theme-root].dark .yw-rev-deposit :is(.yw-rev-dept:hover, .yw-rev-report:hover, .yw-rev-deposit:hover, .yw-rev-source-row:hover) { background: #111b30; }
[data-theme-root].dark .yw-rev-deposit .yw-rev-deposit[data-picked] { background: #33293f; }
[data-theme-root].dark .yw-money-page:where([data-rev-view="overview"]) :is(.yw-rev-deposits, .yw-rev-report-list, .yw-rev-sources)[data-scroll="list"] { scrollbar-color: #273656 transparent; }
[data-theme-root].dark .yw-money-page:where([data-rev-view="overview"]) .yw-rev-col:hover, [data-theme-root].dark .yw-money-page:where([data-rev-view="overview"]) .yw-rev-col[data-active="true"] { background: #30263a; }
[data-theme-root].dark .yw-money-page:where([data-rev-view="overview"]) .yw-rev-col-rail { border-bottom-color: #5b5063; background: linear-gradient(to bottom, #39323f 0 1px, transparent 1px calc(50% - .5px), #39323f calc(50% - .5px) calc(50% + .5px), transparent calc(50% + .5px)); }
[data-theme-root].dark .yw-money-page:where([data-rev-view="overview"]) .yw-rev-col[data-partial] .yw-rev-col-bar { background: repeating-linear-gradient(125deg, #8f6fc4 0 2px, #3f3352 2px 4px); }

/* Expenses > Books (the closed books, its uploads and dialogs) and the
   Upload a statement page (10/03 to 10/07), as the owner reviewed them on
   the design branch. Loaded after skin/money.css.

   Overview, Transactions, Recurring and Log an expense were rebuilt on
   testing (#3766, #3768) on their own rules, so every rule here is narrowed
   to the Books tab (.yw-books) or the statement page (.yw-stmt-page) with
   :where(), which adds no weight; nothing reaches the rebuilt tabs. */

/* ---- .yw-books ---- */
.yw-money-page:where(.yw-books) { font-family: var(--font-geist-sans), Geist, system-ui, sans-serif; font-size: 14px; letter-spacing: -.25px; /* The dashboard's warm greys (skin/base.css, overview.css): hairline #eae8ec, card border #e2e1e4, captions #929097, labels #87818c, row value #131f35, ink #202024. */ --color-zinc-50: #f8f7f9; --color-zinc-100: #eeedf0; --color-zinc-200: #e2e1e4; --color-zinc-300: #d6d2da; --color-zinc-400: #a09aa4; --color-zinc-500: #8a8490; --color-zinc-600: #6f6975; --color-zinc-700: #59535f; --color-zinc-800: #131f35; --color-zinc-900: #202024; --color-zinc-950: #0a0f1e; /* The accent and its tints. */ --color-violet-50: #f6f1fb; --color-violet-100: #eee5fd; --color-violet-200: #e3d6f6; --color-violet-300: #cdb5ee; --color-violet-400: #a883ee; --color-violet-500: #8553c2; --color-violet-600: #7c3aed; --color-violet-700: #7433d4; --color-violet-800: #5d2bb0; /* Good, bad and amber words (never values). */ --color-emerald-50: #eef7f3; --color-emerald-200: #cfe7dd; --color-emerald-300: #b5dccb; --color-emerald-500: #397965; --color-emerald-600: #279876; --color-emerald-700: #2f8a6d; --color-emerald-800: #397965; --color-rose-50: #fbf0f4; --color-rose-200: #f0d2dd; --color-rose-300: #e7b9cb; --color-rose-400: #d98aa9; --color-rose-500: #c85f84; --color-rose-600: #c85f84; --color-rose-700: #a96883; --color-rose-800: #9f6586; --color-amber-50: #fbf6ee; --color-amber-100: #f6ecdc; --color-amber-200: #ecdcc0; --color-amber-300: #e0c79c; --color-amber-600: #9a805f; --color-amber-700: #9a805f; --color-amber-800: #86704f; --color-amber-900: #6f5c40; }
:where(.yw-books) .yw-money-row-count { margin-left: 8px; color: #a59fab; font-size: 11px; }
.hw-info-body .yw-money-hover-meta { display: block; margin-bottom: 8px; color: #8f8996; font-size: 11px; line-height: 1.45; }
:where(.yw-books) .yw-money-grid:not(.yw-money-grid--after) > .yw-money-card { display: flex; flex-direction: column; }
:where(.yw-books) .yw-money-grid:not(.yw-money-grid--after) > .yw-money-card > .yw-money-card-body { display: flex; flex: 1 1 auto; flex-direction: column; }
[data-theme-root].dark .hw-info-body .yw-money-hover-meta, [data-theme-root].dark :where(.yw-books) .yw-money-row-count { color: #a297ab; }
[data-theme-root].dark .yw-money-page:where(.yw-books) .yw-row-stat[data-quiet] > .yw-row-stat-value { color: #8f8996; }
:where(.yw-books) .yw-money-overflow[data-scroll="list"] { max-height: 34rem; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #ddd2e7 transparent; }
:where(.yw-books) .yw-money-overflow[data-scroll="list"] > .yw-money-table thead th { box-shadow: inset 0 -1px 0 #eae8ec; }
[data-theme-root].dark :where(.yw-books) .yw-money-overflow[data-scroll="list"] > .yw-money-table thead th { box-shadow: inset 0 -1px 0 #1c2843; }
[data-theme-root].dark :where(.yw-books) .yw-money-overflow[data-scroll="list"] { scrollbar-color: #273656 transparent; }
[data-theme-root].dark :where(.yw-books) dialog.yw-exp-dialog button[aria-pressed="false"][class~="border-zinc-300"] { border-color: #1c2843; background-color: #142036; color: #f3eef8; }
[data-theme-root].dark :where(.yw-books) dialog.yw-exp-dialog button[aria-pressed="true"][class~="border-violet-600"] { border-color: #7c3aed; background-color: #7c3aed; color: #fff; }
:where(.yw-books) .yw-xb-list { margin: 8px 0 0; padding: 0; list-style: none; }
:where(.yw-books) .yw-card-head + .yw-xb-list { margin-top: 12px; }
:where(.yw-books) .yw-xb-row { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 0 14px; min-height: 64px; padding: 10px 6px; border-bottom: 1px solid #eae8ec; border-radius: 0; transition: background-color .16s; }
:where(.yw-books) .yw-xb-row:last-child { border-bottom: 0; }
:where(.yw-books) .yw-xb-row:hover { background: #f8f6fa; }
:where(.yw-books) .yw-xb-row--tight { grid-template-columns: 30px minmax(0, 1fr) auto; gap: 0 12px; min-height: 50px; padding: 7px 4px; }
:where(.yw-books) .yw-xb-row--stack { align-items: start; }
:where(.yw-books) .yw-xb-row--stack > .yw-xb-mark { margin-top: 1px; }
:where(.yw-books) .yw-xb-mark { display: grid; width: 36px; height: 36px; overflow: hidden; place-items: center; border-radius: 50%; background: #f0eef2; color: #87818c; font-size: 9.5px; font-weight: 600; line-height: 1; letter-spacing: .03em; white-space: nowrap; }
:where(.yw-books) .yw-xb-row--tight .yw-xb-mark { width: 30px; height: 30px; font-size: 13px; font-weight: 500; letter-spacing: 0; }
:where(.yw-books) .yw-xb-row[data-tone="accent"] .yw-xb-mark { background: #efe8fb; color: #7c3aed; }
:where(.yw-books) .yw-xb-row[data-tone="bad"] .yw-xb-mark { background: #f8e8ef; color: #bd6a91; }
:where(.yw-books) .yw-xb-row[data-tone="amber"] .yw-xb-mark { background: #f6eddc; color: #9a805f; }
:where(.yw-books) .yw-xb-row[data-tone="good"] .yw-xb-mark { background: #e7f3ee; color: #2f8a6d; }
:where(.yw-books) .yw-xb-main { min-width: 0; }
:where(.yw-books) .yw-xb-title { display: flex; min-width: 0; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; color: #202024; font-size: 14px; font-weight: 500; line-height: 1.35; letter-spacing: -.2px; }
:where(.yw-books) .yw-xb-name { min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
:where(.yw-books) .yw-xb-line { display: block; min-width: 0; margin-top: 3px; overflow: hidden; color: #929097; font-size: 12px; font-weight: 400; line-height: 1.45; letter-spacing: -.1px; text-overflow: ellipsis; white-space: nowrap; }
:where(.yw-books) .yw-xb-line[data-tone="bad"] { color: #a96883; }
:where(.yw-books) .yw-xb-line--wrap { overflow: visible; white-space: normal; }
:where(.yw-books) .yw-xb-line--quiet { color: #a59fab; font-size: 11px; }
:where(.yw-books) .yw-xb-clip { display: block; min-width: 0; max-width: 100%; overflow: hidden; }
:where(.yw-books) .yw-xb-clip > .hw-info-label { display: block; max-width: 100%; overflow: hidden; text-align: left; text-overflow: ellipsis; white-space: nowrap; }
:where(.yw-books) .yw-xb-clip--ink > .hw-info-label { color: #343039; font-size: 13px; }
:where(.yw-books) .yw-xb-clip > .hw-info-label:is(:hover, [aria-expanded="true"]) { color: #8546d7; }
:where(.yw-books) .yw-xb-end { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px 12px; }
:where(.yw-books) .yw-xb-date { color: #929097; font-size: 12px; font-weight: 400; letter-spacing: -.1px; white-space: nowrap; }
:where(.yw-books) .yw-xb-amount { min-width: 64px; color: #202024; font-size: 16px; font-weight: 500; letter-spacing: -.4px; text-align: right; white-space: nowrap; }
:where(.yw-books) .yw-xb-push { margin-left: auto; }
:where(.yw-books) .yw-xb-scroll { max-height: 30rem; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #ddd2e7 transparent; }
:where(.yw-books) .yw-xb-pill { display: inline-flex; height: 30px; flex-shrink: 0; align-items: center; justify-content: center; gap: 6px; margin: 0; padding: 0 12px; border: 0; border-radius: 10px; background: #eeeded; color: #202024; font-family: inherit; font-size: 12px; font-weight: 500; line-height: 1; letter-spacing: -.1px; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .16s, color .16s; }
:where(.yw-books) .yw-xb-pill:hover { background: #e8e4ed; color: #202024; }
:where(.yw-books) .yw-xb-pill:focus-visible { outline: 2px solid #b993ff; outline-offset: 2px; }
:where(.yw-books) .yw-xb-pill:disabled { cursor: not-allowed; opacity: .5; }
:where(.yw-books) .yw-xb-pill--primary, :where(.yw-books) .yw-xb-pill--primary:hover { color: #fff; }
:where(.yw-books) .yw-xb-pill--primary { background: #7c3aed; }
:where(.yw-books) .yw-xb-pill--primary:hover { background: #7130df; }
:where(.yw-books) .yw-xb-pill--quiet { background: transparent; color: #59535f; }
:where(.yw-books) .yw-xb-pill--quiet:hover { background: #f1eef4; color: #202024; }
:where(.yw-books) .yw-xb-pill--danger { color: #c85f84; }
:where(.yw-books) .yw-xb-pill--danger:hover { background: #f8e8ef; color: #b9507a; }
:where(.yw-books) .yw-xb-moves { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; }
:where(.yw-books) .yw-xb-move { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; }
:where(.yw-books) .yw-xb-moves-note { flex-basis: 100%; margin: 2px 0 0; }
:where(.yw-books) .yw-xb-remove { padding: 0; border: 0; background: none; color: #a09aa4; font-size: 11px; font-weight: 500; cursor: pointer; transition: color .16s; }
:where(.yw-books) .yw-xb-remove:hover { color: #c85f84; }
:where(.yw-books) .yw-xb-input { display: block; width: 100%; min-height: 36px; padding: 0 11px; border: 1px solid #e2e1e4; border-radius: 10px; background: #fff; color: #202024; font-family: inherit; font-size: 13px; letter-spacing: -.1px; outline: none; transition: border-color .16s, box-shadow .16s; }
:where(.yw-books) .yw-xb-input:focus { border-color: #b993ff; box-shadow: 0 0 0 3px #efe6fd; }
:where(.yw-books) .yw-xb-input--sm { display: inline-block; width: auto; max-width: 100%; min-height: 30px; padding: 0 9px; font-size: 12px; }
:where(.yw-books) .yw-xb-field { display: flex; min-width: 0; flex-direction: column; gap: 5px; margin: 0; color: #87818c; font-size: 12px; font-weight: 400; }
:where(.yw-books) .yw-xb-field > span:first-child { color: #87818c; font-size: 12px; font-weight: 400; letter-spacing: -.1px; }
:where(.yw-books) .yw-xb-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; }
:where(.yw-books) .yw-xb-fields-wide, :where(.yw-books) .yw-xb-fields-foot { grid-column: 1 / -1; }
:where(.yw-books) .yw-xb-fields-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 4px; }
:where(.yw-books) .yw-xb-fields-foot > .yw-money-note { margin: 0; }
:where(.yw-books) .yw-xb-stack { display: flex; flex-direction: column; gap: 12px; }
:where(.yw-books) .yw-xb-stack > .yw-xb-moves { margin-top: 0; }
:where(.yw-books) .yw-xb-inline-form { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 6px; }
:where(.yw-books) .yw-xb-drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 22px 16px; border: 1.5px dashed #ddd3e6; border-radius: 16px; background: #faf8fc; text-align: center; cursor: pointer; transition: border-color .2s, background-color .2s; }
:where(.yw-books) .yw-xb-drop:hover { border-color: #cdb5ee; }
:where(.yw-books) .yw-xb-drop-title { color: #202024; font-size: 13px; font-weight: 500; }
:where(.yw-books) .yw-xb-drop-sub { color: #929097; font-size: 12px; }
:where(.yw-books) .yw-xb-file { max-width: 100%; margin-top: 10px; color: #6f6975; font-family: inherit; font-size: 12px; }
:where(.yw-books) .yw-xb-file::file-selector-button { margin-right: 10px; padding: 8px 12px; border: 0; border-radius: 10px; background: #eeeded; color: #202024; font: inherit; font-weight: 500; cursor: pointer; }
:where(.yw-books) .yw-xb-drop .yw-xb-file::file-selector-button { background: #7c3aed; color: #fff; }
:where(.yw-books) .yw-xb-choice { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; min-width: 0; margin: 0; padding: 0; border: 0; }
:where(.yw-books) .yw-xb-choice > legend { float: left; margin-right: 4px; padding: 0; color: #87818c; font-size: 12px; }
:where(.yw-books) .yw-xb-choice > label { display: inline-flex; align-items: center; gap: 6px; color: #343039; font-size: 13px; cursor: pointer; }
:where(.yw-books) .yw-xb-choice input { width: 14px; height: 14px; accent-color: #7c3aed; }
dialog.yw-exp-dialog.yw-books-dialog { padding: 0; overflow: hidden; border: 1px solid rgba(226, 225, 228, .9); border-radius: 20px; background: rgba(253, 252, 254, .92); -webkit-backdrop-filter: saturate(140%) blur(18px); backdrop-filter: saturate(140%) blur(18px); box-shadow: 0 24px 60px rgba(48, 32, 64, .16), 0 3px 9px rgba(58, 33, 68, .04); color: #202024; font-family: var(--font-geist-sans), Geist, system-ui, sans-serif; letter-spacing: -.25px; }
dialog.yw-exp-dialog.yw-books-dialog[open] { display: flex; max-height: min(88vh, 46rem); flex-direction: column; }
dialog.yw-books-dialog::backdrop { background: rgba(32, 32, 36, .3); }
.yw-books-dialog-head { display: flex; flex-shrink: 0; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 20px 22px 14px; border-bottom: 1px solid #eae8ec; }
.yw-books-dialog .yw-exp-dialog-title { font-size: 17px; font-weight: 500; letter-spacing: -.4px; }
.yw-books-dialog .yw-exp-dialog-sub { margin-top: 3px; }
.yw-books-dialog-close { display: inline-grid; width: 30px; height: 30px; flex-shrink: 0; place-items: center; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #87818c; font-size: 13px; line-height: 1; cursor: pointer; transition: background-color .16s, color .16s; }
.yw-books-dialog-close:hover { background: #f1eef4; color: #202024; }
.yw-books-dialog-close:focus-visible { outline: 2px solid #b993ff; outline-offset: 2px; }
.yw-books-dialog-body { min-height: 0; flex: 1 1 auto; overflow-y: auto; padding: 16px 22px 20px; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #ddd2e7 transparent; }
.yw-books-dialog-foot { display: flex; flex-shrink: 0; justify-content: flex-end; gap: 8px; padding: 12px 22px; border-top: 1px solid #eae8ec; }
.yw-books-dialog-group + .yw-books-dialog-group { margin-top: 14px; padding-top: 12px; border-top: 1px solid #eae8ec; }
.yw-books-dialog .yw-xb-list { margin-top: 6px; }
.yw-books-dialog .yw-xb-row { padding-right: 2px; padding-left: 2px; }
.yw-books-dialog .yw-xb-row:hover { background: transparent; }
.yw-books-dialog .yw-xb-moves { margin-top: 10px; }
.yw-books-pop { padding: 14px 16px; border: 1px solid rgba(226, 225, 228, .9); border-radius: 20px; background: rgba(253, 252, 254, .92); -webkit-backdrop-filter: saturate(140%) blur(18px); backdrop-filter: saturate(140%) blur(18px); box-shadow: 0 24px 60px rgba(48, 32, 64, .16); font-family: var(--font-geist-sans), Geist, system-ui, sans-serif; letter-spacing: -.25px; }
.yw-books-pop-list { max-height: 16rem; }
.yw-books-pop-row { padding: 9px 0; border-bottom: 1px solid #eae8ec; }
.yw-books-pop-row:last-child { border-bottom: 0; }
.yw-books-pop-caret { display: inline-block; color: #a09aa4; font-size: 10px; transition: transform .16s; }
.yw-books-pop-caret.is-open { transform: rotate(180deg); }
.yw-books > .yw-money-grid + .yw-money-grid { margin-top: 16px; }
.yw-books-of { margin-left: 3px; color: #a59fab; font-size: .42em; font-weight: 500; letter-spacing: -.02em; }
.yw-books-strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 5px; margin: 20px 0 0; padding: 0; list-style: none; }
.yw-books-strip > li { padding: 7px 0; border-radius: 8px; background: #f0edf2; color: #a09aa4; font-size: 11px; font-weight: 500; text-align: center; cursor: default; }
.yw-books-strip > li:is([data-source="qbo"], [data-source="upload"], [data-source="both"]) { background: #eee5fd; color: #7433d4; }
.yw-books-strip > li[data-source="entered"] { background: #f7f2fc; color: #8553c2; box-shadow: inset 0 0 0 1px #e3d6f6; }
.yw-books-moves { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.yw-books-hero > .yw-money-note { margin-top: 10px; }
.yw-books-hero > .yw-money-rows { padding-top: 16px; }
.yw-books-hero .yw-row-stats > a.yw-row-stat:hover .yw-text-link { text-decoration: underline; text-underline-offset: 2px; }
.yw-books-scroll { flex: 1 1 auto; }
.yw-books-table td { vertical-align: middle; white-space: nowrap; }
.yw-books-table tr[data-missing] td, .yw-books-table tr[data-missing] td strong { color: #b3adb8; }
.yw-books-source { display: inline-flex; align-items: baseline; gap: 7px; color: #49434e; }
.yw-books-landed { max-width: 15rem; overflow: hidden; color: #87818c; font-size: 12px; text-overflow: ellipsis; }
.yw-money-grid.yw-books-recon > .yw-books-month.yw-money-card > .yw-money-card-body { display: block; flex: 0 0 auto; }
.yw-books-month-title { display: flex; min-width: 0; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.yw-books-month-moves { display: flex; flex-shrink: 0; align-items: center; gap: 8px; }
.yw-books-month .yw-card-head { align-items: center; }
.yw-books-loud { margin-left: 8px; }
.yw-books-why { flex: 1 1 auto; max-height: 16rem; margin-top: 8px; }
.yw-money-card-body + .yw-books-why { padding-top: 4px; border-top: 1px solid #eae8ec; }
.yw-books-month > .yw-money-note { margin-top: 12px; }
@media (min-width: 1101px) { .yw-books-recon:has(> :only-child) { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 1101px) { .yw-books-recon:has(> :nth-child(2)):not(:has(> :nth-child(3))), .yw-books-recon:has(> :nth-child(4)):not(:has(> :nth-child(5))) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1101px) { .yw-books-recon > :nth-child(5):last-child { grid-column: span 2; } }
.yw-books-logs--solo > .yw-books-log { grid-column: 1 / -1; }
.yw-books-log > .yw-xb-scroll, .yw-books-typed > .yw-xb-scroll { max-height: 26rem; }
@media (max-width: 800px) { :where(.yw-books) .yw-xb-row { grid-template-columns: 36px minmax(0, 1fr); } }
@media (max-width: 800px) { :where(.yw-books) .yw-xb-row > :is(.yw-xb-end, .yw-xb-date, .yw-xb-amount) { grid-column: 2; justify-self: start; justify-content: flex-start; margin-top: 6px; } }
@media (max-width: 800px) { :where(.yw-books) .yw-xb-row--tight { grid-template-columns: 30px minmax(0, 1fr); } }
@media (max-width: 800px) { :where(.yw-books) .yw-xb-fields { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 800px) { .yw-books-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { :where(.yw-books) .yw-xb-row, :where(.yw-books) .yw-xb-pill, :where(.yw-books) .yw-xb-input, :where(.yw-books) .yw-xb-drop, .yw-books-pop-caret, :where(.yw-books) .yw-xb-remove, .yw-books-dialog-close { transition: none; } }
[data-theme-root].dark :where(.yw-books) .yw-xb-row { border-bottom-color: #1c2843; }
[data-theme-root].dark :where(.yw-books) .yw-xb-row:hover { background: #111b30; }
[data-theme-root].dark :where(.yw-books) .yw-xb-mark { background: #142036; color: #a297ab; }
[data-theme-root].dark :where(.yw-books) .yw-xb-row[data-tone="accent"] .yw-xb-mark { background: #3d3350; color: #c5a8ff; }
[data-theme-root].dark :where(.yw-books) .yw-xb-row[data-tone="bad"] .yw-xb-mark { background: #4d3345; color: #f0b8d2; }
[data-theme-root].dark :where(.yw-books) .yw-xb-row[data-tone="amber"] .yw-xb-mark { background: #3f3628; color: #e6bd7f; }
[data-theme-root].dark :where(.yw-books) .yw-xb-row[data-tone="good"] .yw-xb-mark { background: #26332e; color: #7fd3b4; }
[data-theme-root].dark :where(.yw-books) .yw-xb-title, [data-theme-root].dark :where(.yw-books) .yw-xb-amount, [data-theme-root].dark :where(.yw-books) .yw-xb-drop-title { color: #f3eef8; }
[data-theme-root].dark :where(.yw-books) .yw-xb-line, [data-theme-root].dark :where(.yw-books) .yw-xb-date, [data-theme-root].dark :where(.yw-books) .yw-xb-field, [data-theme-root].dark :where(.yw-books) .yw-xb-drop-sub, [data-theme-root].dark .yw-books-of, [data-theme-root].dark .yw-books-landed { color: #a297ab; }
[data-theme-root].dark :where(.yw-books) .yw-xb-field > span:first-child, [data-theme-root].dark :where(.yw-books) .yw-xb-choice > legend { color: #a297ab; }
[data-theme-root].dark :where(.yw-books) .yw-xb-line[data-tone="bad"] { color: #e69ac4; }
[data-theme-root].dark :where(.yw-books) .yw-xb-line--quiet { color: #8f8996; }
[data-theme-root].dark :where(.yw-books) .yw-xb-clip--ink > .hw-info-label { color: #d9d2e3; }
[data-theme-root].dark :where(.yw-books) .yw-xb-clip > .hw-info-label:is(:hover, [aria-expanded="true"]) { color: #b99ae9; }
[data-theme-root].dark :where(.yw-books) .yw-xb-scroll, [data-theme-root].dark .yw-books-dialog-body { scrollbar-color: #273656 transparent; }
[data-theme-root].dark :where(.yw-books) .yw-xb-pill { background: #142036; color: #f3eef8; }
[data-theme-root].dark :where(.yw-books) .yw-xb-pill:hover { background: #1c2843; color: #f3eef8; }
[data-theme-root].dark :where(.yw-books) .yw-xb-pill--primary, [data-theme-root].dark :where(.yw-books) .yw-xb-pill--primary:hover { color: #fff; }
[data-theme-root].dark :where(.yw-books) .yw-xb-pill--primary { background: #7c3aed; }
[data-theme-root].dark :where(.yw-books) .yw-xb-pill--primary:hover { background: #8b4dfb; }
[data-theme-root].dark :where(.yw-books) .yw-xb-pill--quiet { background: transparent; color: #c3b9cc; }
[data-theme-root].dark :where(.yw-books) .yw-xb-pill--quiet:hover { background: #142036; color: #f3eef8; }
[data-theme-root].dark :where(.yw-books) .yw-xb-pill--danger { color: #e69ac4; }
[data-theme-root].dark :where(.yw-books) .yw-xb-pill--danger:hover { background: #4d3345; color: #f0b8d2; }
[data-theme-root].dark :where(.yw-books) .yw-xb-remove { color: #8f8996; }
[data-theme-root].dark :where(.yw-books) .yw-xb-remove:hover { color: #e69ac4; }
[data-theme-root].dark :where(.yw-books) .yw-xb-input { border-color: #1c2843; background: #142036; color: #f3eef8; }
[data-theme-root].dark :where(.yw-books) .yw-xb-input:focus { border-color: #8b6cc4; box-shadow: 0 0 0 3px #3f2d5c; }
[data-theme-root].dark :where(.yw-books) .yw-xb-drop { border-color: #273656; background: #101a2f; }
[data-theme-root].dark :where(.yw-books) .yw-xb-drop:hover { border-color: #5c4a78; }
[data-theme-root].dark :where(.yw-books) .yw-xb-file { color: #c3b9cc; }
[data-theme-root].dark :where(.yw-books) .yw-xb-file::file-selector-button { background: #142036; color: #f3eef8; }
[data-theme-root].dark :where(.yw-books) .yw-xb-drop .yw-xb-file::file-selector-button { background: #7c3aed; color: #fff; }
[data-theme-root].dark :where(.yw-books) .yw-xb-choice > label { color: #d9d2e3; }
[data-theme-root].dark .yw-money-card-body + .yw-books-why, [data-theme-root].dark .yw-books-pop-row { border-color: #1c2843; }
[data-theme-root].dark .yw-books-strip > li { background: #142036; color: #8f8996; }
[data-theme-root].dark .yw-books-strip > li:is([data-source="qbo"], [data-source="upload"], [data-source="both"]) { background: #3f2d5c; color: #c9b1ff; }
[data-theme-root].dark .yw-books-strip > li[data-source="entered"] { background: #2f2638; color: #c5a8ff; box-shadow: inset 0 0 0 1px #4a3a63; }
[data-theme-root].dark .yw-books-table tr[data-missing] td, [data-theme-root].dark .yw-books-table tr[data-missing] td strong { color: #6f6975; }
[data-theme-root].dark .yw-books-source { color: #c3b9cc; }
[data-theme-root].dark dialog.yw-exp-dialog.yw-books-dialog { border-color: #1c2843; background: rgba(13, 21, 39, .92); box-shadow: 0 24px 60px rgba(0, 0, 0, .45), 0 3px 9px rgba(0, 0, 0, .2); color: #f3eef8; }
[data-theme-root].dark dialog.yw-books-dialog::backdrop { background: rgba(0, 0, 0, .5); }
[data-theme-root].dark .yw-books-dialog :is(.yw-books-dialog-head, .yw-books-dialog-foot, .yw-books-dialog-group + .yw-books-dialog-group) { border-color: #1c2843; }
[data-theme-root].dark .yw-books-dialog .yw-exp-subhead { color: #f3eef8; }
[data-theme-root].dark .yw-books-dialog-close { color: #a297ab; }
[data-theme-root].dark .yw-books-dialog-close:hover { background: #142036; color: #f3eef8; }
[data-theme-root].dark .yw-books-pop { border-color: #1c2843; background: rgba(13, 21, 39, .92); box-shadow: 0 24px 60px rgba(0, 0, 0, .45); color: #f3eef8; }
:where(.yw-books) .yw-money-note[data-tone="watch"] { color: #9a805f; }
[data-theme-root].dark :where(.yw-books) .yw-money-note[data-tone="watch"] { color: #e6bd7f; }

/* ---- .yw-stmt-page ---- */
.yw-money-page:where(.yw-stmt-page) { font-family: var(--font-geist-sans), Geist, system-ui, sans-serif; font-size: 14px; letter-spacing: -.25px; /* The dashboard's warm greys (skin/base.css, overview.css): hairline #eae8ec, card border #e2e1e4, captions #929097, labels #87818c, row value #131f35, ink #202024. */ --color-zinc-50: #f8f7f9; --color-zinc-100: #eeedf0; --color-zinc-200: #e2e1e4; --color-zinc-300: #d6d2da; --color-zinc-400: #a09aa4; --color-zinc-500: #8a8490; --color-zinc-600: #6f6975; --color-zinc-700: #59535f; --color-zinc-800: #131f35; --color-zinc-900: #202024; --color-zinc-950: #0a0f1e; /* The accent and its tints. */ --color-violet-50: #f6f1fb; --color-violet-100: #eee5fd; --color-violet-200: #e3d6f6; --color-violet-300: #cdb5ee; --color-violet-400: #a883ee; --color-violet-500: #8553c2; --color-violet-600: #7c3aed; --color-violet-700: #7433d4; --color-violet-800: #5d2bb0; /* Good, bad and amber words (never values). */ --color-emerald-50: #eef7f3; --color-emerald-200: #cfe7dd; --color-emerald-300: #b5dccb; --color-emerald-500: #397965; --color-emerald-600: #279876; --color-emerald-700: #2f8a6d; --color-emerald-800: #397965; --color-rose-50: #fbf0f4; --color-rose-200: #f0d2dd; --color-rose-300: #e7b9cb; --color-rose-400: #d98aa9; --color-rose-500: #c85f84; --color-rose-600: #c85f84; --color-rose-700: #a96883; --color-rose-800: #9f6586; --color-amber-50: #fbf6ee; --color-amber-100: #f6ecdc; --color-amber-200: #ecdcc0; --color-amber-300: #e0c79c; --color-amber-600: #9a805f; --color-amber-700: #9a805f; --color-amber-800: #86704f; --color-amber-900: #6f5c40; }
.hw-info-body .yw-money-hover-meta { display: block; margin-bottom: 8px; color: #8f8996; font-size: 11px; line-height: 1.45; }
:where(.yw-stmt-page) .yw-money-grid:not(.yw-money-grid--after) > .yw-money-card { display: flex; flex-direction: column; }
[data-theme-root].dark .hw-info-body .yw-money-hover-meta { color: #a297ab; }
[data-theme-root].dark .yw-money-page:where(.yw-stmt-page) .yw-row-stat[data-quiet] > .yw-row-stat-value { color: #8f8996; }
:where(.yw-stmt-page) .yw-exp-row-note { display: block; margin-top: 2px; color: #a09aa4; font-size: 11px; font-weight: 400; line-height: 1.45; }
:where(.yw-stmt-page) .yw-money-overflow[data-scroll="list"] { max-height: 34rem; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #ddd2e7 transparent; }
:where(.yw-stmt-page) .yw-money-overflow[data-scroll="list"] > .yw-money-table thead th { box-shadow: inset 0 -1px 0 #eae8ec; }
[data-theme-root].dark :where(.yw-stmt-page) .yw-money-overflow[data-scroll="list"] > .yw-money-table thead th { box-shadow: inset 0 -1px 0 #1c2843; }
[data-theme-root].dark :where(.yw-stmt-page) .yw-money-overflow[data-scroll="list"] { scrollbar-color: #273656 transparent; }
:where(.yw-stmt-page) .yw-xb-list { margin: 8px 0 0; padding: 0; list-style: none; }
:where(.yw-stmt-page) .yw-card-head + .yw-xb-list { margin-top: 12px; }
:where(.yw-stmt-page) .yw-xb-row { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 0 14px; min-height: 64px; padding: 10px 6px; border-bottom: 1px solid #eae8ec; border-radius: 0; transition: background-color .16s; }
:where(.yw-stmt-page) .yw-xb-row:last-child { border-bottom: 0; }
:where(.yw-stmt-page) .yw-xb-row:hover { background: #f8f6fa; }
:where(.yw-stmt-page) .yw-xb-mark { display: grid; width: 36px; height: 36px; overflow: hidden; place-items: center; border-radius: 50%; background: #f0eef2; color: #87818c; font-size: 9.5px; font-weight: 600; line-height: 1; letter-spacing: .03em; white-space: nowrap; }
:where(.yw-stmt-page) .yw-xb-row[data-tone="accent"] .yw-xb-mark { background: #efe8fb; color: #7c3aed; }
:where(.yw-stmt-page) .yw-xb-row[data-tone="bad"] .yw-xb-mark { background: #f8e8ef; color: #bd6a91; }
:where(.yw-stmt-page) .yw-xb-row[data-tone="amber"] .yw-xb-mark { background: #f6eddc; color: #9a805f; }
:where(.yw-stmt-page) .yw-xb-row[data-tone="good"] .yw-xb-mark { background: #e7f3ee; color: #2f8a6d; }
:where(.yw-stmt-page) .yw-xb-main { min-width: 0; }
:where(.yw-stmt-page) .yw-xb-title { display: flex; min-width: 0; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; color: #202024; font-size: 14px; font-weight: 500; line-height: 1.35; letter-spacing: -.2px; }
:where(.yw-stmt-page) .yw-xb-name { min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
:where(.yw-stmt-page) .yw-xb-line { display: block; min-width: 0; margin-top: 3px; overflow: hidden; color: #929097; font-size: 12px; font-weight: 400; line-height: 1.45; letter-spacing: -.1px; text-overflow: ellipsis; white-space: nowrap; }
:where(.yw-stmt-page) .yw-xb-line[data-tone="bad"] { color: #a96883; }
:where(.yw-stmt-page) .yw-xb-line--wrap { overflow: visible; white-space: normal; }
:where(.yw-stmt-page) .yw-xb-scroll { max-height: 30rem; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #ddd2e7 transparent; }
:where(.yw-stmt-page) .yw-xb-pill { display: inline-flex; height: 30px; flex-shrink: 0; align-items: center; justify-content: center; gap: 6px; margin: 0; padding: 0 12px; border: 0; border-radius: 10px; background: #eeeded; color: #202024; font-family: inherit; font-size: 12px; font-weight: 500; line-height: 1; letter-spacing: -.1px; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .16s, color .16s; }
:where(.yw-stmt-page) .yw-xb-pill:hover { background: #e8e4ed; color: #202024; }
:where(.yw-stmt-page) .yw-xb-pill:focus-visible { outline: 2px solid #b993ff; outline-offset: 2px; }
:where(.yw-stmt-page) .yw-xb-pill:disabled { cursor: not-allowed; opacity: .5; }
:where(.yw-stmt-page) .yw-xb-pill--primary, :where(.yw-stmt-page) .yw-xb-pill--primary:hover { color: #fff; }
:where(.yw-stmt-page) .yw-xb-pill--primary { background: #7c3aed; }
:where(.yw-stmt-page) .yw-xb-pill--primary:hover { background: #7130df; }
:where(.yw-stmt-page) .yw-xb-pill--quiet { background: transparent; color: #59535f; }
:where(.yw-stmt-page) .yw-xb-pill--quiet:hover { background: #f1eef4; color: #202024; }
:where(.yw-stmt-page) .yw-xb-moves { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; }
:where(.yw-stmt-page) .yw-xb-input { display: block; width: 100%; min-height: 36px; padding: 0 11px; border: 1px solid #e2e1e4; border-radius: 10px; background: #fff; color: #202024; font-family: inherit; font-size: 13px; letter-spacing: -.1px; outline: none; transition: border-color .16s, box-shadow .16s; }
:where(.yw-stmt-page) .yw-xb-input:focus { border-color: #b993ff; box-shadow: 0 0 0 3px #efe6fd; }
:where(.yw-stmt-page) .yw-xb-field { display: flex; min-width: 0; flex-direction: column; gap: 5px; margin: 0; color: #87818c; font-size: 12px; font-weight: 400; }
:where(.yw-stmt-page) .yw-xb-field > span:first-child { color: #87818c; font-size: 12px; font-weight: 400; letter-spacing: -.1px; }
:where(.yw-stmt-page) .yw-xb-hint { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 2px 0 0; color: #a09aa4; font-size: 11px; font-weight: 400; line-height: 1.45; }
:where(.yw-stmt-page) .yw-xb-file { max-width: 100%; margin-top: 10px; color: #6f6975; font-family: inherit; font-size: 12px; }
:where(.yw-stmt-page) .yw-xb-file::file-selector-button { margin-right: 10px; padding: 8px 12px; border: 0; border-radius: 10px; background: #eeeded; color: #202024; font: inherit; font-weight: 500; cursor: pointer; }
:where(.yw-stmt-page) .yw-stmt-choice input { width: 14px; height: 14px; accent-color: #7c3aed; }
:where(.yw-stmt-page) .yw-stmt { display: flex; min-width: 0; flex-direction: column; }
.yw-money-page:where(.yw-stmt-page) .yw-stmt-main > .yw-stmt { height: 100%; }
:where(.yw-stmt-page) .yw-stmt-main { display: flex; min-width: 0; flex-direction: column; }
:where(.yw-stmt-page) .yw-stmt-grid > .yw-stmt-main:only-child { grid-column: 1 / -1; }
.yw-money-page:where(.yw-stmt-page) > .yw-stmt-grid + .yw-card { margin-top: 16px; }
:where(.yw-stmt-page) .yw-stmt-done { margin-top: 14px; padding-bottom: 14px; border-bottom: 1px solid #eae8ec; }
:where(.yw-stmt-page) .yw-stmt-done > .yw-row-stats { margin-top: 8px; }
:where(.yw-stmt-page) .yw-stmt-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; margin-top: 16px; }
:where(.yw-stmt-page) .yw-stmt-file { margin-top: 12px; }
:where(.yw-stmt-page) .yw-stmt-file > .yw-xb-file { margin-top: 0; }
:where(.yw-stmt-page) .yw-stmt-error { margin-top: 10px; }
:where(.yw-stmt-page) .yw-stmt-go { margin-top: 14px; }
:where(.yw-stmt-page) .yw-stmt-check { margin-top: 16px; padding-top: 14px; border-top: 1px solid #eae8ec; }
:where(.yw-stmt-page) .yw-stmt-check > .yw-xb-line { margin-top: 4px; }
:where(.yw-stmt-page) .yw-stmt-check > .yw-money-note { margin-top: 8px; }
:where(.yw-stmt-page) .yw-stmt-totals { margin-top: 10px; }
:where(.yw-stmt-page) .yw-stmt-totals > .yw-row-stat { align-items: baseline; padding: 13px 0; }
:where(.yw-stmt-page) .yw-stmt-totals > .yw-row-stat:first-child { border-top: 0; }
:where(.yw-stmt-page) .yw-stmt-totals > .yw-row-stat > dt { color: #59535f; font-size: 13px; }
:where(.yw-stmt-page) .yw-stmt-totals > .yw-row-stat > dd { color: #202024; font-size: 22px; font-weight: 500; letter-spacing: -.7px; }
:where(.yw-stmt-page) .yw-stmt-sign { min-width: 0; margin: 12px 0 0; padding: 0; border: 0; }
:where(.yw-stmt-page) .yw-stmt-sign-legend { padding: 0; color: #202024; font-size: 13px; font-weight: 500; }
:where(.yw-stmt-page) .yw-stmt-sign .yw-exp-row-note { margin-top: 6px; }
:where(.yw-stmt-page) .yw-stmt-choices { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
:where(.yw-stmt-page) .yw-stmt-choice { display: flex; align-items: flex-start; gap: 9px; padding: 9px 12px; border: 1px solid #e7e3eb; border-radius: 12px; background: #fff; color: #343039; font-size: 12.5px; line-height: 1.45; cursor: pointer; transition: border-color .16s, background-color .16s; }
:where(.yw-stmt-page) .yw-stmt-choice:hover { border-color: #cdb5ee; }
:where(.yw-stmt-page) .yw-stmt-choice[data-on] { border-color: #b993ff; background: #f6f1fd; }
:where(.yw-stmt-page) .yw-stmt-choice input { flex-shrink: 0; margin-top: 2px; }
:where(.yw-stmt-page) .yw-money-overflow.yw-stmt-sample[data-scroll="list"] { max-height: 16rem; margin-top: 12px; }
:where(.yw-stmt-page) .yw-stmt-sample .yw-money-table { font-size: 12px; }
:where(.yw-stmt-page) .yw-stmt-sample .yw-money-table thead th { position: sticky; top: 0; z-index: 1; background: #fbfbfb; box-shadow: inset 0 -1px 0 #eae8ec; }
:where(.yw-stmt-page) .yw-stmt-date, :where(.yw-stmt-page) .yw-stmt-amount { white-space: nowrap; }
:where(.yw-stmt-page) .yw-stmt-warnings { margin: 10px 0 0; padding: 0; list-style: none; }
:where(.yw-stmt-page) .yw-stmt-warnings > li + li { margin-top: 3px; }
:where(.yw-stmt-page) .yw-stmt-check > .yw-xb-moves { margin-top: 14px; }
:where(.yw-stmt-page) .yw-stmt-trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; column-gap: 28px; }
:where(.yw-stmt-page) .yw-stmt-trust > :is(.yw-card-head, .yw-money-note) { grid-column: 1 / -1; }
@media (min-width: 1101px) { :where(.yw-stmt-page) .yw-stmt-grid > .yw-stmt-main:only-child .yw-stmt-fields { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1100px) { :where(.yw-stmt-page) .yw-stmt-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 800px) { :where(.yw-stmt-page) .yw-xb-row { grid-template-columns: 36px minmax(0, 1fr); } }
@media (max-width: 800px) { :where(.yw-stmt-page) .yw-stmt-fields { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 800px) { :where(.yw-stmt-page) .yw-stmt-trust { display: block; } }
@media (prefers-reduced-motion: reduce) { :where(.yw-stmt-page) .yw-xb-row, :where(.yw-stmt-page) .yw-xb-pill, :where(.yw-stmt-page) .yw-xb-input, :where(.yw-stmt-page) .yw-stmt-choice { transition: none; } }
[data-theme-root].dark :where(.yw-stmt-page) .yw-xb-row { border-bottom-color: #1c2843; }
[data-theme-root].dark :where(.yw-stmt-page) .yw-xb-row:hover { background: #111b30; }
[data-theme-root].dark :where(.yw-stmt-page) .yw-xb-mark { background: #142036; color: #a297ab; }
[data-theme-root].dark :where(.yw-stmt-page) .yw-xb-row[data-tone="accent"] .yw-xb-mark { background: #3d3350; color: #c5a8ff; }
[data-theme-root].dark :where(.yw-stmt-page) .yw-xb-row[data-tone="bad"] .yw-xb-mark { background: #4d3345; color: #f0b8d2; }
[data-theme-root].dark :where(.yw-stmt-page) .yw-xb-row[data-tone="amber"] .yw-xb-mark { background: #3f3628; color: #e6bd7f; }
[data-theme-root].dark :where(.yw-stmt-page) .yw-xb-row[data-tone="good"] .yw-xb-mark { background: #26332e; color: #7fd3b4; }
[data-theme-root].dark :where(.yw-stmt-page) .yw-xb-title, [data-theme-root].dark :where(.yw-stmt-page) .yw-stmt-sign-legend, [data-theme-root].dark :where(.yw-stmt-page) .yw-stmt-totals > .yw-row-stat > dd { color: #f3eef8; }
[data-theme-root].dark :where(.yw-stmt-page) .yw-xb-line, [data-theme-root].dark :where(.yw-stmt-page) .yw-xb-hint, [data-theme-root].dark :where(.yw-stmt-page) .yw-xb-field { color: #a297ab; }
[data-theme-root].dark :where(.yw-stmt-page) .yw-xb-field > span:first-child, [data-theme-root].dark :where(.yw-stmt-page) .yw-stmt-totals > .yw-row-stat > dt { color: #a297ab; }
[data-theme-root].dark :where(.yw-stmt-page) .yw-xb-line[data-tone="bad"] { color: #e69ac4; }
[data-theme-root].dark :where(.yw-stmt-page) .yw-xb-scroll { scrollbar-color: #273656 transparent; }
[data-theme-root].dark :where(.yw-stmt-page) .yw-xb-pill { background: #142036; color: #f3eef8; }
[data-theme-root].dark :where(.yw-stmt-page) .yw-xb-pill:hover { background: #1c2843; color: #f3eef8; }
[data-theme-root].dark :where(.yw-stmt-page) .yw-xb-pill--primary, [data-theme-root].dark :where(.yw-stmt-page) .yw-xb-pill--primary:hover { color: #fff; }
[data-theme-root].dark :where(.yw-stmt-page) .yw-xb-pill--primary { background: #7c3aed; }
[data-theme-root].dark :where(.yw-stmt-page) .yw-xb-pill--primary:hover { background: #8b4dfb; }
[data-theme-root].dark :where(.yw-stmt-page) .yw-xb-pill--quiet { background: transparent; color: #c3b9cc; }
[data-theme-root].dark :where(.yw-stmt-page) .yw-xb-pill--quiet:hover { background: #142036; color: #f3eef8; }
[data-theme-root].dark :where(.yw-stmt-page) .yw-xb-input { border-color: #1c2843; background: #142036; color: #f3eef8; }
[data-theme-root].dark :where(.yw-stmt-page) .yw-xb-input:focus { border-color: #8b6cc4; box-shadow: 0 0 0 3px #3f2d5c; }
[data-theme-root].dark :where(.yw-stmt-page) .yw-xb-file { color: #c3b9cc; }
[data-theme-root].dark :where(.yw-stmt-page) .yw-xb-file::file-selector-button { background: #142036; color: #f3eef8; }
[data-theme-root].dark :where(.yw-stmt-page) .yw-stmt-choice { border-color: #1c2843; background: #101a2f; color: #d9d2e3; }
[data-theme-root].dark :where(.yw-stmt-page) .yw-stmt-choice:hover { border-color: #5c4a78; }
[data-theme-root].dark :where(.yw-stmt-page) .yw-stmt-choice[data-on] { border-color: #8b6cc4; background: #2f2638; }
[data-theme-root].dark :where(.yw-stmt-page) .yw-stmt-check, [data-theme-root].dark :where(.yw-stmt-page) .yw-stmt-done { border-color: #1c2843; }
[data-theme-root].dark :where(.yw-stmt-page) .yw-stmt-sample .yw-money-table thead th { background: #0d1527; box-shadow: inset 0 -1px 0 #1c2843; }
:where(.yw-stmt-page) .yw-money-note[data-tone="watch"] { color: #9a805f; }
[data-theme-root].dark :where(.yw-stmt-page) .yw-money-note[data-tone="watch"] { color: #e6bd7f; }

/* Money > Compliance > Tracker: Bills, the wire (11/12, spec
   yieldwizard/am/2026-11-12-bills-wire-spec.md). Apple grammar: system
   font, 34 px title, 15 px body, 13 px secondary, inset grouped lists with
   hairlines, one evergreen accent. Colors are tokens on .yw-bills and the
   sheet, redefined for dark. Status is never color alone: a word and a dot.
   The late alarm pulses slowly (2.4 s) and stops under reduced motion. */

.yw-bills, .yw-bills-sheet {
  --yw-bg: #F2F2F5; --yw-surface: #FFFFFF; --yw-surface-2: #F7F7F9;
  --yw-ink: #1C1C1E; --yw-ink-2: #3A3A3F; --yw-muted: #6C6C72;
  --yw-hair: rgba(60, 60, 67, .16);
  --yw-accent: #1E6B56; --yw-accent-tint: #E5F1EC; --yw-on-accent: #FFFFFF;
  --yw-tone-late: #A3211A; --yw-tone-late-tint: #FBEAE8; --yw-tone-late-dot: #D93A2E;
  --yw-tone-soon: #7F5200; --yw-tone-soon-tint: #FDF1D8; --yw-tone-soon-dot: #E3A21A;
  --yw-tone-ok: #1D6B3F; --yw-tone-ok-tint: #E6F3EA; --yw-tone-ok-dot: #34A35A;
  --yw-gray: #5B5B61; --yw-gray-tint: #EEEEF1;
  --yw-scrim: rgba(0, 0, 0, .32); --yw-shadow: 0 18px 50px rgba(0, 0, 0, .18);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", system-ui, sans-serif;
  color: var(--yw-ink);
  -webkit-font-smoothing: antialiased;
}
[data-theme-root].dark .yw-bills, [data-theme-root].dark .yw-bills-sheet {
  --yw-bg: #000000; --yw-surface: #1C1C1E; --yw-surface-2: #2C2C2E;
  --yw-ink: #F5F5F7; --yw-ink-2: #D9D9DE; --yw-muted: #9C9CA3;
  --yw-hair: rgba(235, 235, 245, .14);
  --yw-accent: #5CC9A3; --yw-accent-tint: #13302A; --yw-on-accent: #05211A;
  --yw-tone-late: #FF9289; --yw-tone-late-tint: #3A1513; --yw-tone-late-dot: #FF5A4E;
  --yw-tone-soon: #F4C46A; --yw-tone-soon-tint: #3A2C0E; --yw-tone-soon-dot: #F0B12E;
  --yw-tone-ok: #7DD89B; --yw-tone-ok-tint: #12301D; --yw-tone-ok-dot: #45C46E;
  --yw-gray: #B5B5BB; --yw-gray-tint: #2C2C2E;
  --yw-scrim: rgba(0, 0, 0, .6); --yw-shadow: 0 18px 50px rgba(0, 0, 0, .6);
}

.yw-bills { max-width: 1080px; padding-bottom: 48px; font-size: 15px; line-height: 1.4; overflow-x: clip; }
.yw-bills .num, .yw-bills-sheet .num { font-variant-numeric: tabular-nums; }
.yw-bills :focus-visible, .yw-bills-sheet :focus-visible { outline: 2px solid var(--yw-accent); outline-offset: 2px; border-radius: 10px; }
.yw-bills :where(a) { color: inherit; text-decoration: none; }

/* title */
.yw-bills-title { margin: 8px 0 0; font-size: 34px; line-height: 1.1; font-weight: 700; letter-spacing: -.02em; color: var(--yw-ink); }
.yw-bills-sub { margin: 6px 0 0; color: var(--yw-muted); font-size: 15px; overflow-wrap: anywhere; }

/* notes (feed behind, load error) */
.yw-bills-note { margin: 14px 0 0; padding: 12px 14px; border-radius: 14px; background: var(--yw-surface); color: var(--yw-ink-2); font-size: 13px; }
.yw-bills-note[data-tone="warn"] { background: var(--yw-tone-soon-tint); color: var(--yw-tone-soon); }

/* the wire */
.yw-bills-wire { margin: 22px 0 6px; position: relative; }
.yw-bills-wire-track { position: relative; height: 64px; }
.yw-bills-wire-line { position: absolute; left: 0; right: 0; top: 44px; height: 1px; background: var(--yw-hair); }
.yw-bills-wire-past { position: absolute; left: 0; top: 44px; height: 1px; background: var(--yw-tone-late-dot); opacity: .5; }
.yw-bills-wire-today { position: absolute; top: 4px; bottom: 18px; width: 2px; margin-left: -1px; background: var(--yw-accent); border-radius: 2px; }
.yw-bills-wire-dot { position: absolute; width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%; background: var(--yw-ink-2); opacity: .55; }
.yw-bills-wire-dot[data-tone="late"] { background: var(--yw-tone-late-dot); opacity: 1; }
.yw-bills-wire-dot[data-tone="soon"] { background: var(--yw-tone-soon-dot); opacity: 1; }
.yw-bills-wire-dot[data-tone="paid"] { background: var(--yw-tone-ok-dot); opacity: .8; }
.yw-bills-wire-tick { position: absolute; top: 50px; font-size: 11px; color: var(--yw-muted); transform: translateX(-50%); white-space: nowrap; }
.yw-bills-wire-tick[data-today] { color: var(--yw-accent); font-weight: 600; }
.yw-bills-wire-tick[data-edge="start"] { transform: none; }
.yw-bills-wire-tick[data-edge="end"] { transform: translateX(-100%); }

/* the four numbers */
.yw-bills-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 18px 0 0; }
@media (min-width: 720px) { .yw-bills-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.yw-bills-stat { display: block; min-width: 0; min-height: 44px; padding: 14px 14px 12px; border-radius: 14px; background: var(--yw-surface); }
.yw-bills-stat:hover { background: var(--yw-surface-2); }
.yw-bills-stat[aria-current="true"] { box-shadow: inset 0 0 0 2px var(--yw-accent); }
.yw-bills-stat-k { display: block; font-size: 13px; color: var(--yw-muted); }
.yw-bills-stat-v { display: block; margin-top: 2px; font-size: 28px; font-weight: 700; letter-spacing: -.02em; color: var(--yw-ink); }
.yw-bills-stat[data-late] .yw-bills-stat-v { color: var(--yw-tone-late); }
.yw-bills-stat-n { display: block; margin-top: 2px; font-size: 13px; color: var(--yw-muted); overflow-wrap: anywhere; }

/* late banner */
.yw-bills-banner { display: flex; gap: 12px; align-items: center; min-height: 44px; margin: 14px 0 0; padding: 12px 14px; border-radius: 14px; background: var(--yw-tone-late-tint); color: var(--yw-tone-late); }
.yw-bills-banner b { font-weight: 600; }
.yw-bills-banner-go { margin-left: auto; font-size: 13px; font-weight: 600; white-space: nowrap; }

/* coverage */
.yw-bills-coverage { margin: 14px 0 0; padding: 12px 14px; border-radius: 14px; background: var(--yw-surface); font-size: 13px; color: var(--yw-ink-2); }
.yw-bills-coverage summary { display: flex; gap: 8px; align-items: center; min-height: 24px; cursor: pointer; font-weight: 600; color: var(--yw-ink); list-style: none; }
.yw-bills-coverage summary::-webkit-details-marker { display: none; }
.yw-bills-coverage ul { margin: 8px 0 0; padding-left: 18px; color: var(--yw-muted); }
.yw-bills-coverage li { margin: 3px 0; }
.yw-bills-coverage-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yw-tone-ok-dot); flex-shrink: 0; }
.yw-bills-coverage-dot[data-tone="warn"] { background: var(--yw-tone-soon-dot); }

/* filters */
.yw-bills-bar { position: sticky; top: 0; z-index: 5; padding: 14px 0 10px; margin-top: 8px; background: var(--yw-bg); }
.yw-bills-seg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; padding: 2px; border-radius: 10px; background: var(--yw-gray-tint); }
.yw-bills-seg a { display: flex; align-items: center; justify-content: center; min-height: 36px; padding: 7px 4px; border-radius: 8px; font-size: 13px; font-weight: 500; white-space: nowrap; color: var(--yw-ink); }
.yw-bills-seg a[aria-current="true"] { background: var(--yw-surface); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); font-weight: 600; }
.yw-bills-seg-c { margin-left: 3px; color: var(--yw-muted); font-weight: 500; }

/* the register */
.yw-bills-group-h { display: flex; justify-content: space-between; align-items: baseline; margin: 22px 4px 6px; font-size: 13px; font-weight: 400; color: var(--yw-muted); text-transform: uppercase; letter-spacing: .04em; }
.yw-bills-group-h span:last-child { text-transform: none; letter-spacing: 0; }
.yw-bills-head { display: none; }
.yw-bills-list { list-style: none; margin: 0; padding: 0; background: var(--yw-surface); border-radius: 14px; overflow: hidden; }
.yw-bills-list li + li .yw-bills-row { box-shadow: inset 0 1px 0 var(--yw-hair); }
.yw-bills-row { display: flex; gap: 12px; align-items: center; width: 100%; min-height: 60px; padding: 12px 14px; color: var(--yw-ink); }
.yw-bills-row:hover { background: var(--yw-surface-2); }
.yw-bills-row[data-late] { background: color-mix(in srgb, var(--yw-tone-late-tint) 55%, transparent); }
.yw-bills-row-main { flex: 1; min-width: 0; }
.yw-bills-row-t { display: block; font-size: 15px; font-weight: 500; overflow-wrap: anywhere; }
.yw-bills-row-c { display: block; margin-top: 2px; font-size: 13px; color: var(--yw-muted); overflow-wrap: anywhere; }
.yw-bills-row-setup { display: block; margin-top: 2px; font-size: 13px; color: var(--yw-tone-soon); overflow-wrap: anywhere; }
.yw-bills-row-side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex-shrink: 0; max-width: 46%; }
.yw-bills-row-amt { font-size: 13px; color: var(--yw-muted); }
.yw-bills-chev { flex-shrink: 0; color: var(--yw-muted); opacity: .6; font-size: 18px; }
.yw-bills-cell { display: none; }

.yw-bills-status { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.yw-bills-status i { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; background: currentColor; }
.yw-bills-status[data-tone="late"] { background: var(--yw-tone-late-tint); color: var(--yw-tone-late); }
.yw-bills-status[data-tone="late"] i { background: var(--yw-tone-late-dot); }
.yw-bills-status[data-tone="soon"] { background: var(--yw-tone-soon-tint); color: var(--yw-tone-soon); }
.yw-bills-status[data-tone="soon"] i { background: var(--yw-tone-soon-dot); }
.yw-bills-status[data-tone="paid"] { background: var(--yw-tone-ok-tint); color: var(--yw-tone-ok); }
.yw-bills-status[data-tone="paid"] i { background: var(--yw-tone-ok-dot); }
.yw-bills-status[data-tone="due"] { padding-left: 0; padding-right: 0; background: transparent; color: var(--yw-ink-2); font-weight: 500; }
.yw-bills-status[data-tone="due"] i { display: none; }
.yw-bills-status[data-tone="gray"] { background: var(--yw-gray-tint); color: var(--yw-gray); font-weight: 500; }
.yw-bills-status[data-tone="gray"] i { display: none; }

.yw-bills-chip { display: inline-block; padding: 2px 8px; border-radius: 6px; font-size: 12px; font-weight: 600; white-space: nowrap; background: var(--yw-gray-tint); color: var(--yw-ink-2); }
.yw-bills-chip[data-method="autopay"] { background: var(--yw-accent-tint); color: var(--yw-accent); }

@media (min-width: 880px) {
  .yw-bills-head, .yw-bills-row { display: grid; grid-template-columns: minmax(0, 1fr) 84px 128px 104px 96px 104px 150px; gap: 12px; align-items: center; }
  .yw-bills-head { padding: 0 14px 6px; font-size: 12px; color: var(--yw-muted); }
  .yw-bills-head span:nth-child(n+6) { text-align: right; }
  .yw-bills-cell { display: block; font-size: 13px; color: var(--yw-ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .yw-bills-cell[data-align="right"] { text-align: right; }
  .yw-bills-row-side, .yw-bills-chev, .yw-bills-row-c { display: none; }
  .yw-bills-stcell { display: flex; justify-content: flex-end; }
}

.yw-bills-empty { margin-top: 16px; padding: 24px 14px; border-radius: 14px; background: var(--yw-surface); color: var(--yw-muted); text-align: center; }

/* Manage: a mode, everything secondary (owner settings, editor, tax month) */
.yw-bills-titlebar { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.yw-bills-manage-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; color: var(--yw-accent); font-size: 16px; font-weight: 600; }
.yw-bills-manage-body { margin-top: 20px; }

/* the sheet: bottom sheet on phone, a centered modal from 640 px */
.yw-bills-sheet { border: 0; padding: 0; width: 100%; max-width: 100%; max-height: 92vh; margin: auto auto 0; border-radius: 16px 16px 0 0; overflow: hidden; background: var(--yw-surface); box-shadow: var(--yw-shadow); font-size: 15px; line-height: 1.4; }
.yw-bills-sheet::backdrop { background: rgba(0, 0, 0, .32); }
[data-theme-root].dark .yw-bills-sheet::backdrop { background: rgba(0, 0, 0, .6); }
.yw-bills-sheet[open] { animation: yw-bills-up .28s cubic-bezier(.2, .8, .2, 1); }
@media (min-width: 640px) {
  .yw-bills-sheet { max-width: 560px; max-height: 86vh; margin: auto; border-radius: 18px; }
  .yw-bills-sheet[open] { animation: yw-bills-pop .2s ease-out; }
}
@keyframes yw-bills-up { from { transform: translateY(40px); opacity: .4; } to { transform: none; opacity: 1; } }
@keyframes yw-bills-pop { from { transform: scale(.97); opacity: 0; } to { transform: none; opacity: 1; } }
.yw-bills-sheet-in { display: flex; flex-direction: column; max-height: 92vh; }
@media (min-width: 640px) { .yw-bills-sheet-in { max-height: 86vh; } }
.yw-bills-grab { width: 36px; height: 5px; margin: 8px auto 0; border-radius: 3px; background: var(--yw-hair); }
@media (min-width: 640px) { .yw-bills-grab { display: none; } }
.yw-bills-sh-top { display: flex; align-items: flex-start; gap: 12px; padding: 12px 16px 4px; }
.yw-bills-eyebrow { font-size: 12px; color: var(--yw-muted); text-transform: uppercase; letter-spacing: .05em; }
.yw-bills-sh-top h2 { margin: 2px 0 0; font-size: 20px; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; overflow-wrap: anywhere; color: var(--yw-ink); }
.yw-bills-payee { margin-top: 2px; font-size: 13px; color: var(--yw-muted); overflow-wrap: anywhere; }
.yw-bills-done { margin-left: auto; min-height: 44px; padding: 6px 2px; border: 0; background: none; color: var(--yw-accent); font-size: 16px; font-weight: 600; cursor: pointer; }
.yw-bills-sh-body { flex: 1; min-height: 0; overflow-y: auto; padding: 4px 16px 16px; -webkit-overflow-scrolling: touch; }
.yw-bills-big { margin: 12px 0 0; padding: 18px 16px; border-radius: 14px; background: var(--yw-surface-2); }
.yw-bills-big[data-tone="late"] { background: var(--yw-tone-late-tint); }
.yw-bills-big[data-tone="soon"] { background: var(--yw-tone-soon-tint); }
.yw-bills-big[data-tone="paid"] { background: var(--yw-tone-ok-tint); }
.yw-bills-big-v { display: flex; align-items: center; gap: 10px; font-size: 34px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; color: var(--yw-ink); }
.yw-bills-big[data-tone="late"] .yw-bills-big-v { color: var(--yw-tone-late); }
.yw-bills-big[data-tone="soon"] .yw-bills-big-v { color: var(--yw-tone-soon); }
.yw-bills-big[data-tone="paid"] .yw-bills-big-v { color: var(--yw-tone-ok); }
.yw-bills-big-n { margin-top: 6px; font-size: 15px; color: var(--yw-ink-2); }
.yw-bills-pulse { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; background: var(--yw-tone-late-dot); animation: yw-bills-pulse 2.4s ease-out infinite; }
@keyframes yw-bills-pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--yw-tone-late-dot) 45%, transparent); }
  70% { box-shadow: 0 0 0 12px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
.yw-bills-alert { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; padding: 12px 14px; border: 1px solid var(--yw-hair); border-radius: 14px; font-size: 14px; color: var(--yw-ink-2); }
.yw-bills-alert svg { flex-shrink: 0; margin-top: 1px; color: var(--yw-accent); }
.yw-bills-check { margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: var(--yw-tone-soon-tint); color: var(--yw-tone-soon); font-size: 13px; }
.yw-bills-facts { display: grid; grid-template-columns: 1fr 1fr; margin: 16px 0 0; border-radius: 14px; background: var(--yw-surface-2); overflow: hidden; }
.yw-bills-fact { min-width: 0; padding: 11px 14px; box-shadow: inset 0 -1px 0 var(--yw-hair); }
.yw-bills-fact[data-full] { grid-column: 1 / -1; }
.yw-bills-fact dt { font-size: 12px; color: var(--yw-muted); }
.yw-bills-fact dd { margin: 2px 0 0; font-size: 14px; color: var(--yw-ink); overflow-wrap: anywhere; }
.yw-bills-hist-h { display: flex; justify-content: space-between; align-items: baseline; margin: 20px 2px 8px; }
.yw-bills-hist-h h3 { margin: 0; font-size: 17px; font-weight: 700; color: var(--yw-ink); }
.yw-bills-hist-h span { font-size: 13px; color: var(--yw-muted); }
.yw-bills-tl { position: relative; list-style: none; margin: 0; padding: 0 0 0 18px; }
.yw-bills-tl::before { content: ""; position: absolute; left: 4px; top: 8px; bottom: 8px; width: 1px; background: var(--yw-hair); }
.yw-bills-tl li { position: relative; display: flex; gap: 10px; align-items: baseline; padding: 8px 0; box-shadow: inset 0 -1px 0 var(--yw-hair); }
.yw-bills-tl li:last-child { box-shadow: none; }
.yw-bills-tl li::before { content: ""; position: absolute; left: -17px; top: 14px; width: 7px; height: 7px; border-radius: 50%; background: var(--yw-tone-ok-dot); }
.yw-bills-tl-d { width: 64px; flex-shrink: 0; font-size: 14px; color: var(--yw-ink); }
.yw-bills-tl-a { flex: 1; font-size: 14px; font-weight: 600; color: var(--yw-ink); }
.yw-bills-tl-a small { display: block; font-size: 12px; font-weight: 400; color: var(--yw-muted); }
.yw-bills-tl-m { font-size: 12px; color: var(--yw-muted); text-align: right; }
.yw-bills-tl-empty { padding: 6px 2px; font-size: 14px; color: var(--yw-muted); }
.yw-bills-more { min-height: 44px; padding: 10px 0; border: 0; background: none; color: var(--yw-accent); font-weight: 600; cursor: pointer; }
.yw-bills-sh-actions { display: flex; gap: 10px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--yw-hair); background: var(--yw-surface); }
.yw-bills-primary { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 12px; background: var(--yw-accent); color: var(--yw-on-accent); font-size: 16px; font-weight: 600; text-decoration: none; }
.yw-bills-tinted { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 16px; border-radius: 12px; background: var(--yw-accent-tint); color: var(--yw-accent); font-weight: 600; text-decoration: none; }
.yw-bills-sh-actions .yw-bills-tinted:only-child { flex: 1; }
/* One-time bill actions (re-audit 11/12): set due date, mark paid, set aside. */
.yw-bills-onetime { display: flex; flex-direction: column; gap: 12px; margin: 4px 0 16px; }
.yw-bills-onetime-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; padding: 12px; border-radius: 12px; background: var(--yw-surface); box-shadow: inset 0 0 0 1px var(--yw-hair); }
.yw-bills-onetime-row label { display: flex; flex-direction: column; gap: 4px; flex: 1 1 160px; min-width: 0; font-size: 13px; color: var(--yw-muted); }
.yw-bills-onetime-row input[type="date"], .yw-bills-onetime-row input[type="file"] { min-height: 44px; font-size: 16px; color: var(--yw-ink); max-width: 100%; }
.yw-bills-onetime-row p { flex: 1 1 200px; margin: 0; font-size: 14px; color: var(--yw-muted); }
.yw-bills-onetime-row button { border: 0; cursor: pointer; }
.yw-bills-onetime-row .yw-bills-primary { flex: 0 1 auto; padding: 0 18px; }

@media (prefers-reduced-motion: reduce) {
  .yw-bills-pulse { animation: none; }
  .yw-bills-sheet[open] { animation: none; }
}

