/* DJGABO Studio DAW — wider desktop workspace, scoped to actual track editor.
 * Existing React Studio.jsx contains:
 *   <main><div class="mx-auto max-w-6xl px-3 ...">
 *     <div>project header</div>
 *     <div class="-mx-2 sm:-mx-3 lg:-mx-8">... .daw-uvr-track ...</div>
 *   </div></main>
 * Its max-w-6xl=1152px causes ~200px wasted on either side on 1800px desktops.
 *
 * This patch only applies to the DAW route on wide desktop; does not change
 * menu, other routes, engine, waveforms, or mobile/editor modal sizing.
 */
@media (min-width: 1536px) {
  #root main > div.mx-auto.max-w-6xl:has(.daw-uvr-track) {
    box-sizing: border-box;
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important;
    padding-inline: clamp(22px, 1.75vw, 34px) !important;
  }

  /* Avoid the original lg:-mx-8 crossing the sidebar/viewport boundaries.
   * The DAW now aligns to its own full-width container and header. */
  #root main > div.mx-auto.max-w-6xl:has(.daw-uvr-track)
  > div:has(.daw-uvr-track) {
    margin-inline: 0 !important;
    max-width: 100%;
    min-width: 0;
  }

  #root main > div.mx-auto.max-w-6xl:has(.daw-uvr-track)
  .daw-track-waveform-area {
    min-width: 0;
  }
}
