/* Accounting composition; shared components own control and financial geometry. */
.ws-accounting-workspace,.ws-accounting-workspace>.erp-printable{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--ws-space-5);min-width:0}
.ws-accounting-workspace>.page-heading{margin-bottom:0}
.ws-accounting-back{display:inline-flex;align-items:center;min-height:var(--ws-control-height);justify-self:start}
.ws-accounting-basis{margin:0;font:var(--ws-type-small);color:var(--ws-color-muted)}
.ws-accounting-statements{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--ws-space-5);min-width:0}
.ws-accounting-workspace .ws-table small{display:block;font:var(--ws-type-small);color:var(--ws-color-muted)}
.ws-accounting-more{display:flex;justify-content:center;margin-top:var(--ws-space-4)}
.ws-accounting-line{display:grid;gap:var(--ws-space-3);border-block-start:1px solid var(--ws-color-line);padding-block:var(--ws-space-4)}
.ws-accounting-line h3{margin:0;font:var(--ws-type-heading)}
.ws-accounting-line-amounts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--ws-space-3)}
.ws-accounting-dialog .ws-accounting-line .ws-actions{justify-content:flex-end}
@media(max-width:900px){.ws-accounting-statements{grid-template-columns:1fr}}
@media(max-width:760px){.ws-accounting-workspace .ws-table-region{max-width:100%}.ws-accounting-line-amounts{grid-template-columns:1fr}}
@media print{body.erp-printing .erp-page>.ws-accounting-workspace{display:block!important}body.erp-printing .erp-page>.ws-accounting-workspace>:not(.erp-printable){display:none!important}.ws-accounting-workspace .erp-printable{display:block!important}.ws-accounting-workspace .ws-table-region{overflow:visible!important}.ws-accounting-workspace .ws-table tr,.ws-accounting-workspace .ws-surface,.ws-accounting-workspace .ws-report-metric{break-inside:avoid}}

dialog.ws-accounting-dialog[data-complex]{width:min(880px,calc(100vw - 32px))}

.ws-accounting-statement{display:grid;gap:var(--ws-space-3);align-content:start;min-width:0}
