/* Keep the interactive miniature stack in the one-eighth-width history rail. */
.dbx-workspace .ds-drawing { cursor: pointer; }
@media (max-width: 730px) {
  .dbx-workspace .ds-stack {
    padding: .4rem 0 max(.4rem,env(safe-area-inset-bottom));
    grid-template-rows: auto min(32%,9rem) minmax(0,1fr) auto;
    gap: .25rem;
  }
  .dbx-workspace .studio-history-pile::before,
  .dbx-workspace .dbx-mobile-pile { display: none; }
  .dbx-workspace .ds-heading {
    display: flex;
    justify-content: center;
    gap: .15rem;
    padding: .3rem .05rem .5rem;
  }
  .dbx-workspace .ds-heading svg { width: .8rem; height: .8rem; }
  .dbx-workspace .ds-count { margin: 0; }
  .dbx-workspace .ds-drawing { display: block; grid-row: 2; }
  .dbx-workspace .ds-tools {
    display: grid;
    grid-row: 4;
    margin-inline: min(2px, 1cqw);
    gap: .25rem;
  }
  .dbx-workspace .ds-tools :is(.ds-mode,.ds-open) { min-height: 44px; }
}
