/* studio/ledger.css: the four ledger reports in the new look (SPEC 2026-11-03 sections 3 and 4; panel 2 section 4 Tables, Summary strip).
   Every rule starts with html[data-ui="studio"] and copies the Classic selector from public/css/ledger.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 group bands (Assets, Liabilities & Equity, Income) are bold text rows on a hairline with no fill, a section label inside a band is 13 bold secondary,
   the error and skipped bands lose their tint (the red triangle in the markup is the signal), dates are mono, and Account Balances' five figures are 13px mono
   with 6px cell padding from 960, so the six columns fit beside the 280px rail at 1024 (the red slice 0 found). The equation strip takes the flat strip's
   spacing inside Classic's own 720 block. No transition shorthand is written here; Classic's durations stay. */

/* ---- The strip above the Balance Sheet ---- */
@media (min-width:720px){
  html[data-ui="studio"] .strip.led-eq .stat{padding:0 24px 0 0}
}

/* ---- The error band and the skipped band: one line with the triangle, no tint ---- */
html[data-ui="studio"] .led-error,html[data-ui="studio"] .led-skip{gap:8px;padding:0;border-radius:0;background:none}
html[data-ui="studio"] .led-error{font-weight:700}
html[data-ui="studio"] .led-skip-h{font-weight:700}

/* ---- The tables ---- */
html[data-ui="studio"] .table.led th.name,html[data-ui="studio"] .table.led td.name{padding-left:0}
html[data-ui="studio"] .table.led th.led-when,html[data-ui="studio"] .table.led td.led-when{padding-left:0;padding-right:12px;font-family:var(--font-num);font-variant-numeric:tabular-nums}
html[data-ui="studio"] .table.led tr.led-band td.led-band{height:var(--row);padding:0;background:none;border-bottom:1px solid var(--divider)}
html[data-ui="studio"] .table.led tr.led-sect td.led-sect{height:40px;padding:0;font-size:var(--type-xs);font-weight:700}
html[data-ui="studio"] .table.led.led-flat tr.led-row td.name,html[data-ui="studio"] .table.led.led-flat tr.led-plain td.name,html[data-ui="studio"] .table.led.led-flat tr.led-sub td.name{padding-left:16px}

/* ---- The General Ledger ---- */
html[data-ui="studio"] .led-under{font-size:var(--type-xs)}
html[data-ui="studio"] .table.led.led-gl tr.led-row td.name,html[data-ui="studio"] .table.led.led-gl tr.led-plain td.name,html[data-ui="studio"] .table.led.led-gl tr.led-total td.name{padding-left:0}

/* ---- Account Balances: six columns at 13px mono so they fit beside the rail at 1024 ---- */
@media (min-width:960px){
  html[data-ui="studio"] .table.led.led-ab td.num,html[data-ui="studio"] .table.led.led-ab th.num{padding-left:6px;padding-right:6px}
  html[data-ui="studio"] .table.led.led-ab td.num{font-size:var(--type-xs)}
}

/* ---- Tags ---- */
html[data-ui="studio"] .led-pick-btn{border-radius:var(--radius-xs)}

/* ---- Phone ---- */
@media (max-width:959px){
  html[data-ui="studio"] .table.led.led-flat td.name,html[data-ui="studio"] .table.led.led-flat td.led-when{padding:0 12px 0 0}
  html[data-ui="studio"] .table.led.led-flat tr.led-row td.name,html[data-ui="studio"] .table.led.led-flat tr.led-plain td.name,html[data-ui="studio"] .table.led.led-flat tr.led-sub td.name{padding-left:16px}
  html[data-ui="studio"] .table.led.led-flat.led-gl tr.led-row td.name,html[data-ui="studio"] .table.led.led-flat.led-gl tr.led-plain td.name,html[data-ui="studio"] .table.led.led-flat.led-gl tr.led-total td.name{padding-left:0}
  html[data-ui="studio"] .table.led.led-flat tr.led-band td.led-band,html[data-ui="studio"] .table.led.led-flat tr.led-sect td.led-sect{padding:0}
  html[data-ui="studio"] .table.led.led-stack tr.led-band td.led-band{padding:0}
}
