/* SOUL ONE LIVE 4.9 — SOLO REPERTORIO (desktop)
 * The 3-column v41 dashboard is intentionally inactive in this view.
 * Use the original live song library, its actual song controls and cloud,
 * not a duplicate playlist. Do not change the WebAudio engine or transport.
 */
@media (min-width:1000px) and (min-height:580px) and (pointer:fine) {
  /* Header + four-view switch + one uninterrupted repertoire workspace.
     v41 formerly reserved map and bottom-dock rows (the empty black gap). */
  html:not(.soulone-ipad-classic) body>.app.sl-mode-repertoire,
  html:fullscreen body>.app.sl-mode-repertoire {
    display:grid!important;
    grid-template-areas:none!important;
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-rows:var(--sl-compact-header-row,76px) 43px minmax(0,1fr)!important;
    grid-auto-rows:0!important;
    gap:7px!important;
    width:100%!important;
    min-width:0!important;
    height:100dvh!important;
    min-height:0!important;
    max-height:100dvh!important;
    overflow:hidden!important;
  }
  html:not(.soulone-ipad-classic) body>.app.sl-mode-repertoire>.top.stage-header,
  html:fullscreen body>.app.sl-mode-repertoire>.top.stage-header {
    grid-column:1!important;
    grid-row:1!important;
  }
  html:not(.soulone-ipad-classic) body>.app.sl-mode-repertoire>.stage-footer-note,
  html:fullscreen body>.app.sl-mode-repertoire>.stage-footer-note {
    grid-column:1!important;
    grid-row:2!important;
  }
  /* This is the sole content area in Repertorio; do not limit it to a
     third of the screen or a fixed-height card. */
  html:not(.soulone-ipad-classic) body>.app.sl-mode-repertoire>.main-grid,
  html:fullscreen body>.app.sl-mode-repertoire>.main-grid {
    box-sizing:border-box!important;
    display:grid!important;
    grid-column:1!important;
    grid-row:3!important;
    grid-template-areas:"library"!important;
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-rows:minmax(0,1fr)!important;
    grid-auto-columns:auto!important;
    grid-auto-rows:0!important;
    gap:0!important;
    justify-content:stretch!important;
    justify-items:stretch!important;
    align-items:stretch!important;
    align-content:stretch!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    min-height:0!important;
    height:100%!important;
    max-height:100%!important;
    overflow:hidden!important;
    padding:0!important;
    margin:0!important;
  }
  /* The original repertoire panel is the only visible grid child. */
  html:not(.soulone-ipad-classic) body>.app.sl-mode-repertoire>.main-grid>.right.live-library-panel,
  html:fullscreen body>.app.sl-mode-repertoire>.main-grid>.right.live-library-panel {
    box-sizing:border-box!important;
    display:flex!important;
    grid-area:library!important;
    grid-column:1!important;
    grid-row:1!important;
    flex-direction:column!important;
    justify-self:stretch!important;
    align-self:stretch!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    height:100%!important;
    min-height:0!important;
    max-height:100%!important;
    margin:0!important;
    overflow:hidden!important;
    border-radius:10px!important;
  }
  /* Generated auxiliary v41 cards remain in the DOM for other views and
     feature compatibility; they cannot consume columns or visible space. */
  html:not(.soulone-ipad-classic) body>.app.sl-mode-repertoire>.main-grid>.sl-rp-sections,
  html:not(.soulone-ipad-classic) body>.app.sl-mode-repertoire>.main-grid>.sl-rp-mixer,
  html:not(.soulone-ipad-classic) body>.app.sl-mode-repertoire>.main-grid>.live-workspace,
  html:fullscreen body>.app.sl-mode-repertoire>.main-grid>.sl-rp-sections,
  html:fullscreen body>.app.sl-mode-repertoire>.main-grid>.sl-rp-mixer,
  html:fullscreen body>.app.sl-mode-repertoire>.main-grid>.live-workspace,
  html:not(.soulone-ipad-classic) body>.app.sl-mode-repertoire>.sl-rp-dock,
  html:fullscreen body>.app.sl-mode-repertoire>.sl-rp-dock,
  html:not(.soulone-ipad-classic) body>.app.sl-mode-repertoire>.sl-arrangement-map,
  html:fullscreen body>.app.sl-mode-repertoire>.sl-arrangement-map,
  html:not(.soulone-ipad-classic) body>.app.sl-mode-repertoire>.meter-title,
  html:fullscreen body>.app.sl-mode-repertoire>.meter-title,
  html:not(.soulone-ipad-classic) body>.app.sl-mode-repertoire>#mixer,
  html:fullscreen body>.app.sl-mode-repertoire>#mixer {
    display:none!important;
    visibility:hidden!important;
    pointer-events:none!important;
    width:0!important;
    height:0!important;
    min-height:0!important;
    padding:0!important;
    margin:0!important;
  }
  /* Keep song search, setlist, cloud status and original transport inside
     the single panel scrollable, usable and not cut off. */
  html:not(.soulone-ipad-classic) body>.app.sl-mode-repertoire>.main-grid>.right.live-library-panel>.tabcontent,
  html:fullscreen body>.app.sl-mode-repertoire>.main-grid>.right.live-library-panel>.tabcontent {
    flex:1 1 0%!important;
    min-height:0!important;
    max-height:none!important;
    width:100%!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    overscroll-behavior-y:contain;
    scrollbar-width:thin;
  }
  body>.app.sl-mode-repertoire>.main-grid>.right.live-library-panel .setlist,
  body>.app.sl-mode-repertoire>.main-grid>.right.live-library-panel .songitem {
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
}
/* Deliberately leave original mobile/iPad layout and all other views alone. */
