/* CRM v224: presentational adjustments on owner mobile only. No desktop, trade, finance or warehouse calculation changes. */
@media(max-width:760px){
 /* The floating profit button is an owner-only navigation duplicate: the menu has this destination. */
 html:has(#k201-owner-nav) .k171-float,
 html.k224-owner-mobile .k171-float{display:none!important}
 /* Inventory should feel like a true full-screen mobile view, without a second framed panel. */
 html.k224-owner-mobile #k201-overlay{inset:0!important;padding:0!important;background:#f5f9fc!important;align-items:stretch!important;justify-content:stretch!important}
 html.k224-owner-mobile #k201-overlay .k201-dialog{box-sizing:border-box!important;width:100vw!important;max-width:none!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important}
 html.k224-owner-mobile #k201-overlay .k201-head{flex:0 0 auto;padding:15px 16px!important}
 html.k224-owner-mobile #k201-overlay .k201-body{padding:14px 13px calc(18px + env(safe-area-inset-bottom))!important;overscroll-behavior:contain}
 html.k224-owner-mobile #k201-overlay .k201-section{margin:12px 0!important}
 /* Warehouse stays full screen, but its desktop-width ledger becomes vertically readable day cards. */
 html.k224-owner-mobile #k184-overlay .k184-content{padding:13px 12px calc(18px + env(safe-area-inset-bottom))!important}
 html.k224-owner-mobile #k184-overlay .k184-metrics{gap:9px!important;margin-bottom:15px!important}
 html.k224-owner-mobile #k184-overlay .k184-metric{padding:12px!important;gap:5px!important}
 html.k224-owner-mobile #k184-overlay .k184-table-wrap{background:transparent!important;max-height:none!important;overflow:visible!important;border:0!important;border-radius:0!important}
 html.k224-owner-mobile #k184-overlay .k184-table,
 html.k224-owner-mobile #k184-overlay .k184-table tbody{display:block!important;width:100%!important;min-width:0!important;white-space:normal!important}
 html.k224-owner-mobile #k184-overlay .k184-table thead{display:none!important}
 html.k224-owner-mobile #k184-overlay .k184-table tr.k224-row{display:block!important;box-sizing:border-box!important;width:100%!important;margin:0 0 11px!important;padding:7px 13px 10px!important;border:1px solid #dae5ee!important;border-radius:13px!important;background:#fff!important;box-shadow:0 2px 7px #102a4710!important}
 html.k224-owner-mobile #k184-overlay .k184-table tr.k224-row.k184-plan{border-left:4px solid #e9b45c!important}
 html.k224-owner-mobile #k184-overlay .k184-table tr.k224-row.k184-correction{border-left:4px solid #da7474!important}
 html.k224-owner-mobile #k184-overlay .k184-table tr.k224-row td{display:flex!important;align-items:baseline!important;justify-content:space-between!important;gap:12px!important;min-width:0!important;box-sizing:border-box!important;width:100%!important;white-space:normal!important;text-align:right!important;padding:9px 1px!important;border-top:0!important;border-bottom:1px solid #edf1f5!important;font-size:13px!important;line-height:1.4!important;overflow-wrap:anywhere!important}
 html.k224-owner-mobile #k184-overlay .k184-table tr.k224-row td::before{content:attr(data-k224-label)!important;flex:0 1 48%;color:#60738b;text-align:left!important;font-size:12px;font-weight:600;white-space:normal}
 html.k224-owner-mobile #k184-overlay .k184-table tr.k224-row td.k224-primary-cell{font-weight:800!important;font-size:16px!important;color:#183c60!important}
 html.k224-owner-mobile #k184-overlay .k184-table tr.k224-row td.k224-primary-cell::before{font-weight:700}
 html.k224-owner-mobile #k184-overlay .k184-table tr.k224-row td.k224-balance-cell{background:#eef3f8!important;border-radius:8px;padding:10px 9px!important;font-weight:800!important;color:#1c4c68!important}
 html.k224-owner-mobile #k184-overlay .k184-table tr.k224-row td.k224-action-cell{justify-content:flex-end!important;border:0!important;padding-bottom:0!important}
 html.k224-owner-mobile #k184-overlay .k184-table tr.k224-row td.k224-action-cell::before{display:none!important}
 html.k224-owner-mobile #k184-overlay .k184-table tr.k224-row td.k224-action-cell button{min-height:40px!important;padding:9px 18px!important}
}
