.tablet-entry-nav[hidden]{display:none!important}
.tablet-entry-nav{position:fixed;z-index:180;box-sizing:border-box;display:flex;align-items:center;gap:8px;padding:6px 12px;background:var(--brand-soft,#eef5f4);border-top:1px solid var(--brand-border,#c3d6d1);box-shadow:0 -2px 10px #0002}
.tablet-entry-nav button{min-width:72px;min-height:44px;padding:8px 12px;margin:0;white-space:nowrap;touch-action:manipulation}
.tablet-entry-nav .tablet-entry-field{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
.tablet-entry-nav button:disabled{opacity:.4}
@media(any-pointer:coarse){
 .tablet-entry-active input:not([type=checkbox]):not([type=radio]),.tablet-entry-active select,.tablet-entry-active textarea{font-size:16px}
 .tablet-entry-active main{padding-bottom:90px}
 .tablet-keyboard-open .entry-live-strip,.tablet-keyboard-open .entry-total-summary,.tablet-keyboard-open .unified-document-actions,.tablet-keyboard-open .invoice-save-actions{position:static}
 .tablet-keyboard-open .catalog-results{max-height:max(96px,min(200px,calc(var(--tablet-visible-height) - 240px)))}
 .delivery-sale-choices>summary{min-height:44px;box-sizing:border-box;padding:12px 0;cursor:pointer}
}
/* The legacy tablet rule spans the product over the whole first row. Keep
   quantity and prices on the next row instead of sharing that same space. */
@media(any-pointer:coarse) and (min-width:601px) and (max-width:1150px){
 .unified-document-form .entry-compact-row.entry-compact-row .entry-row-main{grid-template-columns:80px minmax(180px,1fr) 100px 38px!important}
 .unified-document-form .entry-compact-row.entry-compact-row .entry-row-main>.entry-product{grid-column:1/-1!important;grid-row:1!important}
 .unified-document-form .entry-compact-row.entry-compact-row .entry-row-main>.entry-quantity{grid-column:1!important;grid-row:2!important}
 .unified-document-form .entry-compact-row.entry-compact-row .entry-row-main>.entry-price{grid-column:2!important;grid-row:2!important}
 .unified-document-form .entry-compact-row.entry-compact-row .entry-row-main>.entry-line-total{grid-column:3!important;grid-row:2!important}
 .unified-document-form .entry-compact-row.entry-compact-row .entry-row-main>.entry-remove{grid-column:4!important;grid-row:2!important;position:static!important}
 .unified-document-form .entry-compact-row.entry-compact-row .entry-row-main>.entry-discount{grid-column:2/4!important;grid-row:auto!important}
}
@media(max-width:500px){.tablet-entry-nav{gap:5px;padding:4px 6px}.tablet-entry-nav button{min-width:64px;padding:8px}.tablet-entry-nav .tablet-entry-field{display:none}.tablet-entry-nav button[data-done]{margin-left:auto}}
@media print{.tablet-entry-nav{display:none!important}}
