/* 0.5.32 — travamento por escala do layout mobile.
   A mesa inteira passa a caber na viewport, preservando a proporção do desenho-base. */
@media (max-width:760px){
  html.emr-mobile-mix-open,
  body.emr-mobile-mix-open{
    overflow:hidden!important;
    background:#060a0c!important;
  }

  body.emr-mobile-mix-open #emr-mobile-mix-root:not([hidden]){
    position:fixed!important;
    left:0!important;
    right:0!important;
    top:var(--emr-mobile-visible-top,0px)!important;
    width:100vw!important;
    height:var(--emr-mobile-visible-height,100dvh)!important;
    padding:0!important;
    margin:0!important;
    overflow:hidden!important;
    background:#060a0c!important;
    z-index:2147483646!important;
  }

  #emr-mobile-mix-root .emr-mobile-console,
  #emr-mobile-mix-root .emr-mobile-console *{box-sizing:border-box!important}

  #emr-mobile-mix-root .emr-mobile-console{
    position:absolute!important;
    left:50%!important;
    top:0!important;
    width:390px!important;
    height:844px!important;
    min-height:844px!important;
    max-height:844px!important;
    margin:0!important;
    padding:0!important;
    transform:translateX(-50%) scale(var(--emr-mobile-scale,1))!important;
    transform-origin:top center!important;
    display:grid!important;
    grid-template-rows:54px 52px 62px 246px 356px 74px!important;
    overflow:hidden!important;
    border:1px solid #39464c!important;
    border-radius:0!important;
    background:#080c0e!important;
    box-shadow:inset 0 0 18px #000,0 0 14px #000!important;
  }

  #emr-mobile-mix-root .emr-mobile-console>header{
    grid-row:1!important;display:grid!important;grid-template-columns:minmax(0,1fr) 40px!important;align-items:center!important;
    width:100%!important;height:54px!important;min-height:54px!important;padding:6px 9px!important;margin:0!important;
    border:0!important;border-bottom:1px solid #344148!important;background:linear-gradient(180deg,#262e32,#161d20)!important;
  }
  #emr-mobile-mix-root .emr-mobile-brand{display:flex!important;align-items:center!important;gap:5px!important;min-width:0!important;white-space:nowrap!important;overflow:hidden!important}
  #emr-mobile-mix-root .emr-mobile-brand:before{flex:0 0 38px!important;width:38px!important;height:38px!important;border-radius:7px!important}
  #emr-mobile-mix-root .emr-mobile-brand span{font-size:25px!important;line-height:1!important}
  #emr-mobile-mix-root .emr-mobile-brand strong{font-size:21px!important;line-height:1!important}
  #emr-mobile-mix-root .emr-mobile-brand b{font-size:10px!important;line-height:1!important;letter-spacing:.2px!important}
  #emr-mobile-mix-root .emr-mobile-console>header>button{width:36px!important;height:36px!important;margin:0!important;border-radius:6px!important;font-size:21px!important;line-height:1!important}

  #emr-mobile-mix-root .emr-mobile-preset{
    grid-row:2!important;display:grid!important;grid-template-columns:62px minmax(0,1fr)!important;align-items:center!important;gap:6px!important;
    width:100%!important;height:52px!important;min-height:52px!important;padding:8px 11px!important;margin:0!important;border:0!important;
    border-bottom:1px solid #273239!important;background:#11191e!important;
  }
  #emr-mobile-mix-root .emr-mobile-preset label{font-size:10px!important;letter-spacing:1.1px!important}
  #emr-mobile-mix-root .emr-mobile-preset select{width:100%!important;height:35px!important;min-height:35px!important;padding:0 10px!important;border:1px solid #536168!important;border-radius:4px!important;font-size:15px!important}

  #emr-mobile-mix-root .emr-mobile-top-actions{
    grid-row:3!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:center!important;gap:8px!important;
    width:100%!important;height:62px!important;min-height:62px!important;padding:10px 8px!important;margin:0!important;background:#171d20!important;
  }
  #emr-mobile-mix-root .emr-mobile-top-actions button{
    width:100%!important;height:42px!important;min-width:0!important;padding:0 4px!important;border-radius:22px!important;
    font-size:13px!important;line-height:1!important;letter-spacing:.25px!important;white-space:nowrap!important;
  }

  #emr-mobile-mix-root .emr-mobile-source-room{
    grid-row:4!important;display:grid!important;grid-template-columns:1.1fr .9fr!important;align-items:stretch!important;
    gap:12px!important;width:100%!important;height:246px!important;min-height:246px!important;padding:12px 11px!important;margin:0!important;overflow:hidden!important;
    background:repeating-linear-gradient(90deg,#111719 0,#111719 3px,#151b1e 4px,#0d1214 7px)!important;
  }
  #emr-mobile-mix-root .emr-mobile-source-left,
  #emr-mobile-mix-root .emr-mobile-source-right{
    display:grid!important;align-items:stretch!important;width:100%!important;height:100%!important;min-height:0!important
  }
  #emr-mobile-mix-root .emr-mobile-source-left{grid-template-rows:repeat(3,minmax(0,1fr))!important;gap:10px!important}
  #emr-mobile-mix-root .emr-mobile-source-right{grid-template-rows:repeat(2,minmax(0,1fr))!important;gap:12px!important}
  #emr-mobile-mix-root .emr-mobile-source-room button{
    display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:100%!important;min-height:0!important;
    padding:8px 10px!important;border-radius:26px!important;font-size:24px!important;line-height:1.03!important;letter-spacing:.15px!important;text-align:center!important;white-space:normal!important;overflow:hidden!important;
  }
  #emr-mobile-mix-root .emr-mobile-source-right button{border-radius:14px!important;font-size:22px!important}

  #emr-mobile-mix-root .emr-mobile-channel-stage{
    grid-row:5!important;position:relative!important;display:grid!important;grid-template-rows:minmax(0,1fr) 14px!important;
    align-self:stretch!important;width:100%!important;height:356px!important;min-height:356px!important;margin:0!important;padding:0!important;overflow:hidden!important;background:#090d0f!important;
  }
  #emr-mobile-mix-root .emr-mobile-channels{
    grid-row:1!important;display:flex!important;align-items:stretch!important;gap:5px!important;width:100%!important;height:100%!important;min-height:0!important;
    margin:0!important;padding:5px 3px!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none!important;-ms-overflow-style:none!important;
    touch-action:none!important;cursor:grab!important;user-select:none!important;-webkit-user-select:none!important;
  }
  #emr-mobile-mix-root .emr-mobile-channels::-webkit-scrollbar{display:none!important}
  #emr-mobile-mix-root .emr-mobile-channels.is-dragging{cursor:grabbing!important}
  #emr-mobile-mix-root .emr-mobile-channel{
    position:relative!important;display:flex!important;flex:0 0 24%!important;min-width:92px!important;max-width:none!important;height:100%!important;min-height:0!important;
    flex-direction:column!important;align-items:center!important;margin:0!important;padding:7px 4px 16px!important;border:1px solid #58656c!important;border-radius:4px!important;
    background:linear-gradient(180deg,#3c454a,#252b2f)!important;overflow:hidden!important;
  }
  #emr-mobile-mix-root .emr-mobile-channel>strong{width:100%!important;padding:0 1px 4px!important;border-bottom:3px solid #28d8c0!important;font-size:11px!important;line-height:1!important;letter-spacing:.35px!important;text-align:center!important;white-space:nowrap!important}
  #emr-mobile-mix-root .emr-mobile-channel:nth-child(3)>strong,
  #emr-mobile-mix-root .emr-mobile-channel:nth-child(4)>strong,
  #emr-mobile-mix-root .emr-mobile-channel:nth-child(6)>strong{border-bottom-color:#e7bd38!important}
  #emr-mobile-mix-root .emr-mobile-channel>span{max-width:100%!important;margin-top:4px!important;font:700 9px/1.05 Arial,sans-serif!important;text-align:center!important;white-space:normal!important}
  #emr-mobile-mix-root .emr-mobile-channel>b{margin-top:4px!important;color:#f1c63b!important;font:900 12px/1 Arial,sans-serif!important}
  #emr-mobile-mix-root .emr-mobile-channel input{
    position:absolute!important;top:63%!important;left:50%!important;width:154px!important;height:30px!important;min-height:0!important;
    margin:0!important;transform:translate(-50%,-50%) rotate(-90deg)!important;accent-color:#f1f2f2!important;touch-action:none!important;z-index:4!important;cursor:pointer!important;
  }
  #emr-mobile-mix-root .emr-mobile-channel .emr-mobile-vu{
    position:absolute!important;left:7px!important;top:72px!important;bottom:18px!important;width:7px!important;min-height:28px!important;
    background:repeating-linear-gradient(to top,#20df68 0 6px,#07120b 7px 10px)!important;box-shadow:inset 0 0 4px #000!important;z-index:2!important;
  }
  #emr-mobile-mix-root .emr-mobile-channel>i{right:4px!important;bottom:2px!important;font-size:8px!important}

  #emr-mobile-mix-root .emr-mobile-rack-nav{
    grid-row:2!important;display:block!important;width:100%!important;height:14px!important;min-height:14px!important;margin:0!important;padding:3px 8px!important;border-top:1px solid #354047!important;background:#14191c!important;overflow:hidden!important;
  }
  #emr-mobile-mix-root .emr-mobile-rack-nav span{display:none!important}
  #emr-mobile-mix-root .emr-mobile-rack-scroll{
    -webkit-appearance:none!important;appearance:none!important;display:block!important;width:100%!important;height:6px!important;margin:0!important;padding:0!important;border:0!important;border-radius:999px!important;background:#283035!important;box-shadow:inset 0 1px 2px #000!important;touch-action:none!important;cursor:ew-resize!important;
  }
  #emr-mobile-mix-root .emr-mobile-rack-scroll::-webkit-slider-thumb{-webkit-appearance:none!important;appearance:none!important;width:30px!important;height:6px!important;border:0!important;border-radius:999px!important;background:#d6a91f!important;box-shadow:0 0 3px #000!important}
  #emr-mobile-mix-root .emr-mobile-rack-scroll::-moz-range-thumb{width:30px!important;height:6px!important;border:0!important;border-radius:999px!important;background:#d6a91f!important;box-shadow:0 0 3px #000!important}

  #emr-mobile-mix-root .emr-mobile-transport{
    grid-row:6!important;position:relative!important;display:grid!important;grid-template-columns:50px 50px 68px 50px 50px!important;align-items:center!important;justify-content:space-evenly!important;
    width:100%!important;height:74px!important;min-height:74px!important;margin:0!important;padding:5px 8px max(5px,env(safe-area-inset-bottom))!important;
    border-top:1px solid #465157!important;background:linear-gradient(#252d31,#111619 72%,#080b0d)!important;box-shadow:0 -4px 10px #000b!important;overflow:visible!important;
  }
  #emr-mobile-mix-root .emr-mobile-transport button{width:50px!important;height:56px!important;min-width:0!important;margin:0!important;padding:0!important;border-radius:11px!important}
  #emr-mobile-mix-root .emr-mobile-transport button.is-play{width:66px!important;height:66px!important;border-radius:50%!important}
  #emr-mobile-mix-root .emr-mobile-transport .emr-play-icon{border-top-width:12px!important;border-bottom-width:12px!important;border-left-width:18px!important}
  #emr-mobile-mix-root .emr-mobile-transport .emr-stop-icon{width:16px!important;height:16px!important}
  #emr-mobile-mix-root .emr-mobile-transport .emr-repeat{font-size:31px!important}
}
