/* SoulOne LIVE — desktop-style mobile views. Loaded after earlier mobile CSS. */
.sl-mobile-presets,.sl-mobile-windows-wrap{display:none}
@media (max-width:1100px) and (pointer:coarse){
  .soul-mobile-console .sl-mobile-view-nav:not([hidden]){
    box-sizing:border-box;display:flex!important;flex-direction:row!important;
    flex-wrap:nowrap!important;align-items:center!important;justify-content:flex-start!important;
    min-height:39px!important;max-height:45px!important;
    gap:5px!important;padding:0 2px!important;margin:0!important;
  }
  .soul-mobile-console .sl-mobile-presets{
    display:flex;align-items:center;gap:2px;min-width:0;flex:0 1 auto;
    padding:2px;border:1px solid #d2e2ed;border-radius:9px;background:#eaf2f9;
  }
  .soul-mobile-console .sl-mobile-presets[hidden],
  .soul-mobile-console .sl-mobile-windows-wrap[hidden]{display:none!important}
  .soul-mobile-console .sl-mobile-preset{
    box-sizing:border-box;min-width:0;min-height:34px;height:34px;
    border:0!important;border-radius:7px;padding:5px 10px;
    background:transparent;color:#486983;
    font-size:11px;font-weight:800;line-height:1.1;white-space:nowrap;
    box-shadow:none!important;
  }
  .soul-mobile-console .sl-mobile-preset[aria-pressed=true]{
    color:#0b65ab;background:#fff!important;
    box-shadow:0 1px 5px #214a701a!important;
  }
  .soul-mobile-console .sl-mobile-preset:focus-visible,
  .soul-mobile-console .sl-mobile-windows-trigger:focus-visible{
    outline:2px solid #1885d0;outline-offset:2px;
  }
  .soul-mobile-console .sl-mobile-windows-wrap{
    display:flex;flex:0 0 auto;align-items:center;position:relative;
  }
  .soul-mobile-console .sl-mobile-windows-trigger{
    box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;
    height:38px;min-height:38px;min-width:0;padding:6px 10px;
    font-size:11px;font-weight:850;line-height:1;background:#fff;
    color:#3e617d;border:1px solid #cbdde9;border-radius:8px;box-shadow:none;
  }
  .soul-mobile-console .sl-mobile-windows-trigger[aria-expanded=true],
  .soul-mobile-console .sl-mobile-windows-trigger.is-custom{
    background:#e8f4ff;color:#0969b3;border-color:#acd3ef;
  }
  .sl-mobile-windows-menu:not([hidden]){
    box-sizing:border-box;display:flex;flex-direction:column;gap:4px;
    position:fixed;z-index:180;max-width:calc(100vw - 14px);
    padding:12px;border:1px solid #cbddea;border-radius:12px;
    background:#fff;box-shadow:0 14px 45px #173a5835;
  }
  .sl-mobile-windows-menu[hidden]{display:none!important}
  .sl-mobile-windows-menu>strong{
    font-size:12px;font-weight:900;color:#24445f;
  }
  .sl-mobile-windows-menu>small{
    font-size:10px;color:#738ba0;line-height:1.3;margin-bottom:5px;
  }
  .sl-mobile-windows-menu>label{
    display:flex;align-items:center;gap:10px;min-height:39px;
    border-radius:8px;padding:7px 9px;background:#f4f8fc;
    color:#35546d;font-size:12px;font-weight:750;cursor:pointer;
  }
  .sl-mobile-windows-menu>label input{
    flex:0 0 17px;width:17px;height:17px;margin:0;
    accent-color:#0a70c9;
  }
  /* Restore predictable display of each independently selected panel. */
  .soul-mobile-console.slmv-hide-stage .main-grid .live-workspace{display:none!important}
  .soul-mobile-console.slmv-hide-repertoire .main-grid .right.live-library-panel{display:none!important}
  .soul-mobile-console.slmv-hide-mixer>#mixer{display:none!important}
  .soul-mobile-console.slmv-hide-mixer>.meter-title{display:none!important}
  .soul-mobile-console.slmv-show-stage.slmv-hide-repertoire>.main-grid{
    grid-template-columns:minmax(0,1fr)!important;min-width:0!important;
  }
  .soul-mobile-console.slmv-hide-stage.slmv-show-repertoire>.main-grid{
    grid-template-columns:minmax(0,1fr)!important;min-width:0!important;
  }
  .soul-mobile-console.slmv-hide-stage.slmv-show-repertoire>.main-grid>.right.live-library-panel{
    display:flex!important;grid-column:1!important;grid-row:1!important;
    flex:1 1 auto!important;min-height:0!important;max-height:none!important;
  }
  .soul-mobile-console.slmv-hide-stage.slmv-hide-repertoire>.main-grid{display:none!important}
  .soul-mobile-console.soul-mobile-mix-screen.slmv-mixer-combined>.main-grid{
    display:grid!important;flex:1 1 50%!important;
    min-height:0!important;max-height:none!important;overflow:hidden!important;
    margin:0!important;
  }
  .soul-mobile-console.soul-mobile-mix-screen.slmv-mixer-combined>.meter-title{
    flex:0 0 34px!important;min-height:34px!important;max-height:34px!important;
    display:flex!important;
  }
  .soul-mobile-console.soul-mobile-mix-screen.slmv-mixer-combined>#mixer.mixer.clean-mixer{
    display:grid!important;flex:1 1 48%!important;min-height:0!important;
    max-height:none!important;overflow-y:auto!important;
    overflow-x:hidden!important;padding-bottom:3px!important;
  }
  .soul-mobile-console.soul-mobile-mix-screen.slmv-mixer-combined #mixer .clean-group{
    min-height:150px!important;
  }
  .soul-mobile-console.soul-mobile-mix-screen.slmv-mixer-combined #mixer .clean-rail{
    min-height:115px!important;
  }
  /* Keep original two-button navigation completely out of sight. */
  .soul-mobile-console .sl-mobile-view-nav>.sl-mobile-view-button{display:none!important}
  /* Prevent secondary menus stretching the toolbar. */
  .soul-mobile-console .sl-mobile-audio-trigger{
    margin-left:0!important;flex:0 0 auto!important;
    height:38px!important;min-height:38px!important;
    padding:5px 9px!important;font-size:11px!important;
  }
}
@media (max-width:1100px) and (pointer:coarse) and (orientation:landscape){
  .soul-mobile-console.slmv-show-stage.slmv-hide-repertoire>.main-grid>.live-workspace{
    grid-column:1!important;grid-row:1!important;
  }
  .soul-mobile-console.soul-mobile-mix-screen.slmv-mixer-combined>.main-grid{
    grid-template-columns:minmax(0,1fr) minmax(165px,28%)!important;
  }
  .soul-mobile-console.soul-mobile-mix-screen.slmv-mixer-combined.slmv-hide-repertoire>.main-grid{
    grid-template-columns:minmax(0,1fr)!important;
  }
  .soul-mobile-console.soul-mobile-mix-screen.slmv-mixer-combined.slmv-hide-stage>.main-grid{
    grid-template-columns:minmax(0,1fr)!important;
  }
}
@media (max-width:1100px) and (pointer:coarse) and (orientation:portrait){
  .soul-mobile-console .sl-mobile-view-nav:not([hidden]){gap:4px!important}
  .soul-mobile-console .sl-mobile-preset{padding:4px 7px;font-size:10px}
  .soul-mobile-console .sl-mobile-windows-trigger{padding:5px 7px;font-size:10px}
  .soul-mobile-console .sl-mobile-audio-trigger{padding:5px 7px!important;font-size:10px!important}
  .soul-mobile-console.soul-mobile-mix-screen.slmv-mixer-combined>.main-grid{
    display:flex!important;flex-direction:column!important;min-height:0!important;
  }
  .soul-mobile-console.slmv-hide-stage.slmv-show-repertoire>.main-grid{
    display:flex!important;flex-direction:column!important;
  }
  .soul-mobile-console.slmv-hide-stage.slmv-show-repertoire>.main-grid>.right.live-library-panel{
    flex:1 1 auto!important;height:100%!important;max-height:none!important;
  }
  .soul-mobile-console.slmv-show-stage.slmv-hide-repertoire>.main-grid>.live-workspace{
    flex:1 1 auto!important;
  }
}
@media(max-width:370px) and (pointer:coarse) and (orientation:portrait){
  .soul-mobile-console .sl-mobile-view-nav:not([hidden]){
    flex-wrap:wrap!important;min-height:76px!important;max-height:83px!important;row-gap:2px!important;
  }
  .soul-mobile-console .sl-mobile-presets{flex:1 1 100%;justify-content:space-between}
  .soul-mobile-console .sl-mobile-preset{flex:1 1 auto}
  .soul-mobile-console .sl-mobile-windows-wrap{margin-left:auto}
}


/* Four mobile views: replace Ventanas with a visible, full-height Repertorio tab. */
@media (max-width:1100px) and (pointer:coarse){
  .soul-mobile-console .sl-mobile-view-nav .sl-mobile-windows-wrap{
    display:none!important;
  }
  .soul-mobile-console .sl-mobile-presets{
    flex:1 1 auto!important;
    width:auto;
    min-width:0;
    max-width:100%;
    justify-content:space-between;
    padding:2px!important;
    gap:1px!important;
  }
  .soul-mobile-console .sl-mobile-preset{
    flex:1 1 0;
    min-width:0!important;
    padding:5px 5px!important;
    text-align:center;
    white-space:nowrap;
    letter-spacing:-.02em;
    border-radius:7px;
  }
  .soul-mobile-console .sl-mobile-preset[data-view="repertoire"]{
    font-weight:820;
  }
  .soul-mobile-console.slmv-repertoire-only>.main-grid{
    display:flex!important;
    flex:1 1 auto!important;
    flex-direction:column!important;
    min-width:0!important;
    min-height:0!important;
    max-height:none!important;
    overflow:hidden!important;
    padding:0!important;
    margin:0!important;
    gap:0!important;
  }
  .soul-mobile-console.slmv-repertoire-only>.main-grid>.live-workspace{
    display:none!important;
  }
  .soul-mobile-console.slmv-repertoire-only>.main-grid>.right.live-library-panel{
    display:flex!important;
    flex:1 1 auto!important;
    order:0!important;
    width:100%!important;
    min-width:0!important;
    min-height:0!important;
    height:100%!important;
    max-height:none!important;
    max-width:none!important;
    overflow:hidden!important;
    grid-column:auto!important;
    grid-row:auto!important;
  }
  .soul-mobile-console.slmv-repertoire-only>.main-grid>.right .tabcontent{
    flex:1 1 auto!important;
    min-height:0!important;
    overflow-y:auto!important;
    overscroll-behavior-y:contain;
  }
  .soul-mobile-console.slmv-repertoire-only>.meter-title,
  .soul-mobile-console.slmv-repertoire-only>#mixer{
    display:none!important;
  }
}
@media (max-width:435px) and (pointer:coarse) and (orientation:portrait){
  .soul-mobile-console .sl-mobile-view-nav:not([hidden]){
    flex-wrap:wrap!important;
    align-content:center!important;
    row-gap:3px!important;
    max-height:none!important;
    min-height:0!important;
  }
  .soul-mobile-console .sl-mobile-presets{
    flex:1 1 100%!important;
    width:100%!important;
    justify-content:space-between!important;
  }
  .soul-mobile-console .sl-mobile-preset{
    flex:1 1 0!important;
    padding:6px 3px!important;
    min-height:32px!important;
    height:32px!important;
    font-size:10px!important;
  }
  .soul-mobile-console .sl-mobile-audio-trigger{
    margin-left:auto!important;
    min-height:30px!important;
    height:30px!important;
    padding:4px 10px!important;
  }
}

/* Repertorio is a dedicated button immediately after the three-view selector. */
@media (max-width:1100px) and (pointer:coarse){
  .soul-mobile-console .sl-mobile-view-nav>.sl-mobile-repertoire-trigger{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    flex:0 0 auto!important;
    width:auto!important;
    min-width:0!important;
    height:38px!important;
    min-height:38px!important;
    padding:5px 9px!important;
    border:1px solid #cbddea!important;
    border-radius:9px!important;
    background:#fff!important;
    box-shadow:none!important;
    font-family:inherit;
    font-size:11px!important;
    font-weight:820!important;
    color:#385e7c!important;
    white-space:nowrap;
  }
  .soul-mobile-console .sl-mobile-view-nav>.sl-mobile-repertoire-trigger[aria-pressed=true]{
    background:#e5f3ff!important;
    color:#086cb5!important;
    border-color:#a8d2ef!important;
  }
  .soul-mobile-console .sl-mobile-view-nav>.sl-mobile-repertoire-trigger:focus-visible{
    outline:2px solid #1885d0;
    outline-offset:2px;
  }
}
@media (max-width:435px) and (pointer:coarse) and (orientation:portrait){
  .soul-mobile-console .sl-mobile-view-nav>.sl-mobile-repertoire-trigger{
    margin-right:auto;
    min-height:30px!important;
    height:30px!important;
    padding:4px 10px!important;
    font-size:10px!important;
  }
  .soul-mobile-console .sl-mobile-view-nav .sl-mobile-audio-trigger{
    margin-left:0!important;
  }
}
