/* 3.7: Grid contents scroll within the library, not through a very long sidebar. */
  body.mimo-theme aside #elements-list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-items: start !important;
    gap: 8px !important;
    max-height: min(34vh, 350px) !important;
    min-height: 0;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    overscroll-behavior: contain;
    padding: 3px 3px 7px !important;
  }
  body.mimo-theme aside #elements-list > .mimo-asset-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: auto !important;
    min-width: 0 !important;
    gap: 8px !important;
    padding: 10px 9px !important;
    border-radius: 8px !important;
    position: relative;
  }
  body.mimo-theme aside #elements-list > .mimo-asset-card .mimo-asset-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
    color: var(--mimo-ink) !important;
  }
  body.mimo-theme aside #elements-list > .mimo-asset-card .individual-scale-slider,
  body.mimo-theme aside #elements-list > .mimo-asset-card .individual-weight-slider { width: 100% !important; margin: 0 !important; }
  body.mimo-theme aside #elements-list > .mimo-asset-card .btn-del-el {
    color: var(--mimo-copy) !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  body.mimo-theme aside #elements-list > .mimo-asset-card .btn-del-el:hover { color: var(--mimo-accent) !important; }
