/* Item and combo editors have their own confirmation action; omit the shortcut
   row while editing so their native layout retains the full workspace. */
.cashier-catalog-layout.product-editor-open ~ .cashier-dock-bottom {
  display:none;
}

/* Reserve a compact row for shortcuts. Absolute positioning used to cover table
   tiles, menu cards and category controls in the bottom-right of the workspace. */
@media (min-width:901px) {
  .cashier-stage-with-compact-dock {
    position:relative;
    grid-template-rows:64px minmax(0,1fr) auto;
  }
  .cashier-stage-with-compact-dock > .cashier-worktop { grid-row:1; }
  .cashier-stage-with-compact-dock > :not(.cashier-worktop):not(.cashier-dock) {
    min-height:0;
    grid-row:2;
  }
  .cashier-dock-bottom {
    position:static;
    grid-row:3;
    justify-self:stretch;
    width:auto;
    max-width:100%;
    justify-content:flex-end;
    gap:8px;
    padding:9px 12px;
    border:1px solid #d1e6f3;
    border-width:1px 0 0;
    border-radius:0;
    background:#fff;
    box-shadow:none;
  }
  .cashier-dock-bottom :is(a,button) {
    min-width:80px;
    height:46px;
    padding:8px 10px;
  }
}
