/* Keep native controls and row identities; only phone presentation becomes stacked. */
@media screen and (max-width:600px){
 html.mobile-records-page .content-flow table.mobile-record-table{display:block!important;min-width:0!important;width:100%!important;max-width:100%;table-layout:auto;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible;margin-top:10px!important}
 html.mobile-records-page .mobile-record-table>thead,html.mobile-records-page .mobile-record-table>colgroup{display:none}
 html.mobile-records-page .mobile-record-table>tbody{display:grid;gap:9px;width:100%}
 html.mobile-records-page .mobile-record-table>tbody>tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;padding:12px;min-width:0;max-width:100%;border:1px solid #dce6f3;border-radius:9px;background:#fff}
 html.mobile-records-page .mobile-record-table>tbody>tr[hidden]{display:none!important}
 html.mobile-records-page .mobile-record-table>tbody>tr>td{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:3px;min-width:0!important;width:auto!important;max-width:100%;padding:0!important;border:0!important;text-align:left!important;white-space:normal!important;overflow-wrap:anywhere;font-size:13px;line-height:1.6;background:transparent;box-sizing:border-box}
 html.mobile-records-page .mobile-record-table>tbody>tr>td::before{content:attr(data-mobile-field);font-size:11px;line-height:1.5;color:#7a8da8;font-weight:400}
 html.mobile-records-page .mobile-record-table>tbody>tr>.mobile-field-wide{grid-column:1/-1}
 html.mobile-records-page .mobile-record-table>tbody>tr>.mobile-field-expanded::before{display:none}
 html.mobile-records-page .mobile-record-table .mobile-field-cover{grid-column:1!important;justify-content:center;align-items:center;min-height:94px;border:1px solid #e2eaf5!important;border-radius:8px;background:#f5f8fd;padding:6px!important}
 html.mobile-records-page .mobile-record-table .mobile-field-cover::before{display:none}
 html.mobile-records-page .mobile-record-table .mobile-field-cover:not(:has(img))::after{content:'暂无图片';color:#899bb3;font-size:12px}
 html.mobile-records-page .mobile-record-table .mobile-field-cover:not(:has(img))>div{display:none!important}
 html.mobile-records-page .mobile-record-table .mobile-field-cover:has(img)::after{content:'点击放大';color:#2b5fd7;font-size:11px;text-align:center}
 html.mobile-records-page .mobile-record-table .mobile-field-cover img{width:100%!important;max-width:150px!important;height:88px!important;object-fit:contain;border-radius:6px;cursor:zoom-in}
 html.mobile-records-page .mobile-record-table .mobile-field-cover+.mobile-field-wide{grid-column:2!important;justify-content:center}
 html.mobile-records-page .mobile-record-table .rowlink{font-size:14px;line-height:1.5}
 html.mobile-records-page .mobile-record-table td>.pill{align-self:flex-start}
 html.mobile-records-page .mobile-record-table td :is(input:not([type=hidden],[type=checkbox],[type=radio],[type=file]),select,textarea){width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box;font-size:14px;min-height:40px}
 html.mobile-records-page .mobile-record-table td :is(input[type=checkbox],input[type=radio]){width:18px;height:18px;flex:none}
 html.mobile-records-page .mobile-record-table td :is(.inline-form,.decide-form){display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0 0 5px;width:100%}
 html.mobile-records-page .mobile-record-table .decide-form input,html.mobile-records-page .mobile-record-table .inline-form input:not([type=hidden]){flex:1 1 160px}
 html.mobile-records-page .mobile-record-table td :is(.shipping-order-actions,.shipping-actions){flex-wrap:wrap;gap:8px;max-width:100%}
 html.mobile-records-page .mobile-record-table td .btn-sub,html.mobile-records-page .mobile-record-table td .btn-primary{min-height:40px;height:auto;white-space:normal;padding:8px 12px;max-width:100%;width:auto}
 html.mobile-records-page .mobile-record-table .mold-status-form{min-width:0;width:100%}
 html.mobile-records-page .mobile-record-table .mold-status-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}
 html.mobile-records-page .mobile-record-table>tfoot{display:block;padding:10px;background:#f3f7fd}
 html.mobile-records-page .mobile-record-table>tfoot>tr{display:flex;flex-wrap:wrap;gap:10px}
 html.mobile-records-page .mobile-record-table>tfoot td{padding:0;border:0;width:auto}
 html.mobile-records-page .content-flow div:has(>table.mobile-record-table){min-width:0;max-width:100%;overflow-x:visible!important}
 html.mobile-records-page .shipping-host{width:100%;max-width:100%}
 html.mobile-records-page .shipping-panel{padding:10px;margin:8px 0}
 html.mobile-records-page .shipping-heading{gap:6px;align-items:flex-start}
 html.mobile-records-page .shipping-heading h3{font-size:14px;line-height:1.6;overflow-wrap:anywhere}
 html.mobile-records-page .shipping-panel .wf-form{padding:10px 0;gap:10px}
 html.mobile-records-page .shipping-panel form label{min-width:0;max-width:100%;display:flex;flex-direction:column;gap:6px}
 html.mobile-records-page .shipping-panel form label>input:not([type=hidden]){width:100%!important;min-width:0!important;max-width:100%}
 html.mobile-records-page nav[aria-label="审核类型"]{flex-wrap:wrap;gap:8px!important}
 html.mobile-records-page nav[aria-label="审核类型"]>a{flex:1;min-width:120px;text-align:center}
 html.mobile-records-page #newOrderDlg .mobile-record-table td .quote-item-summary{white-space:normal;overflow-wrap:anywhere}
 html.mobile-records-page #newOrderDlg .mobile-record-table th:last-child,html.mobile-records-page #newOrderDlg .mobile-record-table td:last-child{position:static;right:auto}
 html.mobile-records-page #newOrderDlg .mobile-record-table td:last-child .btn-sub{width:auto;min-width:44px}
 html.mobile-records-page .content-flow .toolbar{gap:8px}
 html.mobile-records-page .content-flow .toolbar select{flex:1 1 calc(50% - 8px);min-width:0!important}
}
