/* Keep completed items compact even under mobile and legacy item-card rules. */
.pw-editor form[data-price-offer-form] .offer-line-table tbody tr[data-offer-line].pw-collapsed{display:block!important;padding:0!important;gap:0!important;min-height:0!important;height:auto!important}
.pw-editor form[data-price-offer-form] .offer-line-table tbody tr[data-offer-line].pw-collapsed>td:not(.pw-summary){display:none!important}
.pw-editor form[data-price-offer-form] .offer-line-table tbody tr[data-offer-line].pw-collapsed>td.pw-summary{display:grid!important;grid-template-columns:minmax(0,1fr) 44px!important;gap:0!important;align-items:stretch!important;padding:0!important;min-height:0!important}
.pw-editor form[data-price-offer-form] .pw-collapsed .pw-summary>[data-pw-summary]{display:block!important;grid-column:1!important;grid-row:1!important;min-width:0!important}
.pw-editor form[data-price-offer-form] .pw-collapsed .pw-summary>.pw-item-actions{display:flex!important;grid-column:2!important;grid-row:1!important;margin:0!important;padding:0!important;align-items:center!important;justify-content:center!important;min-height:44px!important;border:0!important}
.pw-editor form[data-price-offer-form] .pw-first-saved .pw-summary>.pw-item-actions{position:relative;padding-top:30px!important}
.pw-editor form[data-price-offer-form] .pw-first-saved .pw-summary>.pw-item-actions:before{content:'Action';position:absolute;top:0;left:0;right:0;height:30px;display:grid;place-items:center;background:#f5f7fa;color:#687984;font-size:10px;font-weight:400;border-bottom:1px solid #e1e7eb;box-sizing:border-box}
.pw-editor form[data-price-offer-form] .pw-collapsed .pw-summary .pw-saved-item{min-height:44px!important;color:#203c4b!important}
.pw-editor form[data-price-offer-form] .pw-collapsed .pw-summary .pw-saved-item strong{color:#203c4b!important}
.pw-editor form[data-price-offer-form] .pw-collapsed .pw-saved-head{height:30px;box-sizing:border-box;align-items:center}
.pw-editor form[data-price-offer-form] .pw-collapsed .pw-saved-head span{padding:0 7px!important}
.pw-editor form[data-price-offer-form] .pw-collapsed .pw-item-actions [data-pw-item-edit]{width:44px!important;height:44px!important;min-height:44px!important;padding:0!important;font-size:0!important;display:grid!important;place-items:center!important}
.pw-editor form[data-price-offer-form] .pw-collapsed .pw-item-actions [data-pw-item-edit]:after{content:'✎';font-size:22px;color:#276674;font-weight:400}
.pw-editor form[data-price-offer-form] .pw-item-count{font-size:13px!important;font-weight:400!important;line-height:18px!important;margin:0 0 8px!important}
