/* V142: phone layout for wide read-only tables marked by mobile-tables.js (one card per row, label + value). */
@media (max-width:640px){
 :is(.px-table-wrap,.pj-table-wrap,.cash-wrap,.kp-table-wrap,.sf-table-wrap):has(>table.mt-cards){overflow-x:visible!important;max-height:none!important;overflow-y:visible!important}
 table.mt-cards{display:block!important;width:100%!important;min-width:0!important;border:0!important;background:none!important}
 table.mt-cards thead{display:none!important}
 table.mt-cards tbody,table.mt-cards tfoot{display:block!important;width:100%!important}
 table.mt-cards tr{display:block!important;grid-template-columns:none!important;width:auto!important;margin:0 0 10px!important;padding:10px 12px!important;border:1px solid #e3e8f0!important;border-radius:12px!important;background:#fff!important;box-shadow:0 1px 2px rgba(30,20,60,.05)}
 table.mt-cards td{display:flow-root!important;position:static!important;width:auto!important;min-width:0!important;max-width:none!important;padding:5px 0!important;border:0!important;border-top:1px solid #f0f2f6!important;background:none!important;text-align:right!important;white-space:normal!important;font-size:13px;line-height:1.35;overflow-wrap:anywhere}
 table.mt-cards td::before{content:attr(data-label);float:left;max-width:52%;margin-right:10px;text-align:left;color:#7b8798;font-size:12px;font-weight:600;line-height:1.35}
 table.mt-cards td[data-label=""]::before{content:none}
 table.mt-cards td:first-child{border-top:0!important;text-align:left!important;font-size:14px;padding-top:0!important}
 table.mt-cards td:first-child::before{content:none}
 table.mt-cards td:empty{display:none!important}
 table.mt-cards td > *{max-width:100%}
 table.mt-cards tfoot tr{background:#f6f1fb!important}
 body.ops-dark table.mt-cards tr{background:#1f2738!important;border-color:#2c3548!important}
 body.ops-dark table.mt-cards td{border-top-color:#2c3548!important}
 /* caption of the cash detail tables: amount floats right */
 .cash-sub-t caption{display:flow-root}
}
