/* studio/transactions.css: Transactions in the new look (SPEC 2026-11-03 sections 3 and 4; panel 2 section 4 Tables, Filter row, Menus).
   Every rule starts with html[data-ui="studio"] and copies the Classic selector from public/css/transactions.css verbatim, inside the same media block as the
   Classic rule it overrides. Every colour and size is a token of studio/tokens.css. Slice 2A (build/20-ledger-reports.md).
   The account bar loses its card (a 48px row on the void with a hairline under it), the list panel loses its card (primitives strips only a panel whose child is
   .filters; .tx-tools is this page's own row), the toolbar sits bare on the void, the filter count is a bare mono figure, dates and amounts are mono, the lines
   table's capitals and tracking go, and every 600 weight becomes 400. No transition shorthand is written here; Classic's durations stay. */

/* ---- The account bar ---- */
html[data-ui="studio"] .tx-bar{padding:0;gap:0;background:none;border:0;border-radius:0;border-bottom:1px solid var(--divider)}
html[data-ui="studio"] .tx-bar-btn{gap:12px;min-height:var(--row);padding:0;border-radius:0}
html[data-ui="studio"] .tx-bar-btn:active{background:var(--bg-panel-2)}
@media (hover:hover) and (pointer:fine){html[data-ui="studio"] .tx-bar-btn:hover{background:var(--row-hover)}}
html[data-ui="studio"] .tx-bar-btn .icon{color:var(--text-secondary)}
html[data-ui="studio"] .tx-bar-bal{font-family:var(--font-num);font-variant-numeric:tabular-nums}
html[data-ui="studio"] .tx-through{padding:0 0 12px 36px}
html[data-ui="studio"] .tx-it-b{font-family:var(--font-num)}

/* ---- The toolbar: Filter, Sort, Search transactions, bare on the void ---- */
html[data-ui="studio"] .tx-panel{gap:16px;padding:0;background:none;border:0;border-radius:0}
html[data-ui="studio"] .tx-tools{gap:8px;padding:0;background:none;border-radius:0}
html[data-ui="studio"] .tx-fcount{min-width:0;height:auto;padding:0;border-radius:0;background:none;color:inherit;font-family:var(--font-num);font-size:var(--type-xs);font-weight:400}

/* ---- The table ---- */
html[data-ui="studio"] .tx-table td.tx-date{font-family:var(--font-num);font-variant-numeric:tabular-nums}
html[data-ui="studio"] .tx-d{font-weight:400}
html[data-ui="studio"] .tx-table td.tx-amt{font-family:var(--font-num);font-weight:400}

/* ---- The foot ---- */
html[data-ui="studio"] .tx-count{font-family:var(--font-num);font-size:var(--type-xs);font-variant-numeric:tabular-nums}

/* ---- The Filter dialog ---- */
html[data-ui="studio"] .tx-check{font-weight:400}

/* ---- The detail view ---- */
html[data-ui="studio"] .tx-lines th{padding:0 8px 8px 0;font-size:var(--type-xs);line-height:18px;font-weight:400;letter-spacing:0;text-transform:none}
html[data-ui="studio"] .tx-lines td{padding:12px 8px 12px 0}
html[data-ui="studio"] .tx-lines th.num,html[data-ui="studio"] .tx-lines td.num{font-family:var(--font-num)}
