/* Format and template template (reconscribe-reader-v2): preview tables beyond the balance-sheet layout in site.css. */
.sheet caption{caption-side:top;text-align:left;font:700 12px var(--f);letter-spacing:.04em;text-transform:uppercase;color:var(--muted);padding:12px 12px 4px}
.sheet .tw{overflow-x:auto}
.bs.pv-ap{table-layout:auto}
.bs.pv-ap th{width:auto!important}
.bs.pv-ap th,.bs.pv-ap td{white-space:nowrap}
.bs.pv-ap td:nth-child(2){white-space:normal;text-align:left}
.bs.pv-ap th:nth-child(2){text-align:left}
.tw+.tw{margin-top:6px}
@media (max-width:759px){.bs.pv-ap th,.bs.pv-ap td{padding-left:7px;padding-right:7px}.bs.pv-ap{font-size:12.5px}}
.dl .btn{width:100%}
.dl-n{font-size:13.5px;color:var(--muted)}
.fmt-main{margin-top:28px;max-width:820px}
.fmt-top+.ad{margin-top:28px}
.sheet .top .fn{flex:1 1 auto;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal}
/* Purchase order preview (3 Dec 2026): order details and totals as label/value rows, line items scroll sideways inside the sheet on phones. */
.bs.pv-po,.bs.pv-po-kv,.bs.pv-po-t{table-layout:auto}
.bs.pv-po th,.bs.pv-po-kv th,.bs.pv-po-t th{width:auto!important}
.bs.pv-po th,.bs.pv-po td{white-space:nowrap}
.bs.pv-po td:first-child{white-space:normal;min-width:200px}
.bs.pv-po-kv td:nth-child(2),.bs.pv-po-kv th:nth-child(2){text-align:left}
.bs.pv-po-kv td:first-child{white-space:nowrap;color:var(--muted)}
.bs.pv-po-t tr:last-child td:nth-child(2){white-space:normal;font-variant-numeric:normal}
@media (max-width:759px){.bs.pv-po th,.bs.pv-po td,.bs.pv-po-kv td,.bs.pv-po-t td{padding-left:7px;padding-right:7px}.bs.pv-po,.bs.pv-po-kv,.bs.pv-po-t{font-size:12.5px}}
/* Vendor reconciliation statement (3 Dec 2026): auto column widths so lakh amounts fit on phones. */
.bs.pv-vr{table-layout:auto}
.bs.pv-vr th{width:auto!important}
.bs.pv-vr td:nth-child(2),.bs.pv-vr td:nth-child(3),.bs.pv-vr th:nth-child(2),.bs.pv-vr th:nth-child(3){white-space:nowrap}
@media (max-width:759px){.bs.pv-vr td,.bs.pv-vr th{padding-left:7px;padding-right:7px}.bs.pv-vr{font-size:12.5px}}
