/* studio/accounts.css: Chart of Accounts and the ledger roles page in the new look (SPEC 2026-11-03 sections 3 and 4; panel 2 section 4 Tables, Filter row).
   Every rule starts with html[data-ui="studio"] and copies the Classic selector from public/css/accounts.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 grey band per account type becomes a 13px bold label on a hairline, the rows are 48px lines with no inset, the count bubble on a tab is a bare mono
   figure (as primitives' bubble), the pencil is a square icon button, the "add" links are plain words that underline under the pointer, and the one 600 weight
   becomes 400. No transition shorthand is written here (only transition-property); Classic's durations stay. */

/* ---- Page frame ---- */
html[data-ui="studio"] .ca-tabs{justify-content:flex-start;padding-top:0;border-top:0}
html[data-ui="studio"] .ca-tabs .seg{border-radius:0}
html[data-ui="studio"] .ca-count{min-width:0;height:auto;padding:0;margin-left:8px;border-radius:0;background:none;color:inherit;font-family:var(--font-num);font-size:var(--type-xs);font-weight:400}
html[data-ui="studio"] .seg button[aria-selected=true] .ca-count{background:none;color:inherit}
@media (max-width:520px){html[data-ui="studio"] .ca-count{margin-left:8px}}

/* ---- A band per account type, then its rows ---- */
html[data-ui="studio"] .ca-body{gap:0}
html[data-ui="studio"] .ca-grp{margin-top:24px}
html[data-ui="studio"] .ca-band{min-height:40px;padding:0;background:none;border-radius:0;border-bottom:1px solid var(--divider);font-size:var(--type-xs);line-height:18px;font-weight:700;color:var(--text-secondary)}
html[data-ui="studio"] .ca-row{gap:16px;min-height:var(--row);padding:0;transition-property:background-color}
@media (hover:hover) and (pointer:fine){html[data-ui="studio"] .ca-row:hover{background:var(--row-hover)}}
html[data-ui="studio"] .ca-nm{font-weight:400}
html[data-ui="studio"] .ca-last{line-height:18px}
html[data-ui="studio"] .ca-desc{font-size:var(--type-m)}
html[data-ui="studio"] .ca-ib{width:36px;height:36px;border-radius:var(--radius-xs);color:var(--text-secondary);transition-property:background-color,transform}
@media (hover:hover) and (pointer:fine){html[data-ui="studio"] .ca-ib:hover{background:var(--bg-raised);color:var(--text-primary)}}
html[data-ui="studio"] .ca-none{padding:12px 0;font-style:normal}
html[data-ui="studio"] .ca-addlink{gap:8px;min-height:var(--control);padding:0;border-radius:0;color:var(--text-primary);font-size:var(--type-m);font-weight:400;transition-property:transform}
@media (hover:hover) and (pointer:fine){html[data-ui="studio"] .ca-addlink:hover{background:none;text-decoration:underline}}
html[data-ui="studio"] .ca-link{min-height:var(--control-s);padding:0;color:var(--text-primary);font-size:var(--type-m);font-weight:400}
@media (max-width:959px){
  html[data-ui="studio"] .ca-row{gap:4px 12px;padding:8px 0}
}

/* ---- Set up your accounts, the edit dialog ---- */
html[data-ui="studio"] .ca-check{font-weight:400}

/* ---- The ledger roles ---- */
html[data-ui="studio"] .ca-roles{gap:16px;padding:24px}
