/* 0.5.25 — acabamento SaaS compacto da mesa mobile. O motor 0.5.24 permanece intacto. */
@media(max-width:760px){
  body.emr-mobile-mix-open #emr-mobile-mix-root:not([hidden]){height:100dvh!important;min-height:100dvh!important;padding:3px!important;overflow:hidden!important}
  #emr-mobile-mix-root .emr-mobile-console{display:grid!important;grid-template-rows:46px 38px 40px 82px minmax(190px,1fr) 72px!important;height:calc(100dvh - 6px)!important;min-height:0!important;overflow:hidden!important;border:1px solid #37444a!important;border-radius:7px!important;background:#080c0e!important;box-shadow:inset 0 0 18px #000,0 0 12px #000!important}
  #emr-mobile-mix-root .emr-mobile-loading{grid-row:2/-1!important;min-height:0!important;height:100%!important}

  #emr-mobile-mix-root .emr-mobile-console>header{grid-template-columns:minmax(0,1fr) 32px!important;min-height:0!important;height:46px!important;padding:3px 6px!important;border:0!important;border-bottom:1px solid #37444a!important}
  #emr-mobile-mix-root .emr-mobile-brand{gap:3px!important;line-height:1!important}
  #emr-mobile-mix-root .emr-mobile-brand:before{flex-basis:34px!important;width:34px!important;height:34px!important;border-radius:6px!important}
  #emr-mobile-mix-root .emr-mobile-brand span{font-size:22px!important}
  #emr-mobile-mix-root .emr-mobile-brand strong{font-size:18px!important}
  #emr-mobile-mix-root .emr-mobile-brand b{font-size:9px!important}
  #emr-mobile-mix-root .emr-mobile-console>header>button{align-self:start!important;width:29px!important;height:29px!important;margin-top:-1px!important;border-radius:6px!important;font-size:18px!important;box-shadow:0 3px 0 #47060a!important}

  #emr-mobile-mix-root .emr-mobile-preset{grid-template-columns:52px minmax(0,1fr)!important;height:38px!important;gap:5px!important;padding:3px 9px!important;border:0!important;border-bottom:1px solid #273239!important}
  #emr-mobile-mix-root .emr-mobile-preset label{font-size:9px!important;letter-spacing:1px!important}
  #emr-mobile-mix-root .emr-mobile-preset select{height:30px!important;padding:0 7px!important;border-width:1px!important;font-size:12px!important}

  #emr-mobile-mix-root .emr-mobile-top-actions{height:40px!important;gap:6px!important;padding:4px 7px!important}
  #emr-mobile-mix-root .emr-mobile-top-actions button{height:31px!important;border-radius:8px!important;font-size:11px!important;letter-spacing:.4px!important;box-shadow:inset 0 2px 2px #ffffff20,inset 0 -4px 6px #000,0 2px 4px #000b!important}

  #emr-mobile-mix-root .emr-mobile-source-room{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:34px 36px!important;gap:5px!important;width:100%!important;height:82px!important;padding:5px 7px!important}
  #emr-mobile-mix-root .emr-mobile-source-left,#emr-mobile-mix-root .emr-mobile-source-right{display:contents!important}
  #emr-mobile-mix-root .emr-mobile-source-room button{min-width:0!important;min-height:0!important;height:auto!important;border-radius:8px!important;font-size:11px!important;letter-spacing:.25px!important;line-height:1!important;box-shadow:inset 0 2px 2px #ffffff20,inset 0 -4px 6px #000,0 2px 4px #000b!important}
  #emr-mobile-mix-root .emr-mobile-source-right button:first-child{grid-column:span 2!important}

  #emr-mobile-mix-root .emr-mobile-channel-stage{display:grid!important;grid-template-rows:minmax(0,1fr) 25px!important;min-height:0!important;overflow:hidden!important;background:#090d0f!important}
  #emr-mobile-mix-root .emr-mobile-channels{display:flex!important;gap:5px!important;width:100%!important;height:100%!important;min-height:0!important;padding:4px!important;overflow-x:hidden!important;overflow-y:hidden!important;scroll-snap-type:none!important;touch-action:pan-y!important;scroll-behavior:smooth!important}
  #emr-mobile-mix-root .emr-mobile-channel{flex:0 0 27%!important;min-width:88px!important;height:100%!important;min-height:0!important;padding:5px 4px 16px!important;border-radius:4px!important}
  #emr-mobile-mix-root .emr-mobile-channel>strong{padding-bottom:3px!important;border-bottom-width:3px!important;font-size:11px!important}
  #emr-mobile-mix-root .emr-mobile-channel>span{margin-top:3px!important;font-size:8px!important;white-space:nowrap!important}
  #emr-mobile-mix-root .emr-mobile-channel>b{margin-top:3px!important;font-size:11px!important}
  #emr-mobile-mix-root .emr-mobile-channel input{top:50%!important;width:118px!important;height:32px!important;margin-top:8px!important;margin-left:-59px!important;touch-action:none!important}
  #emr-mobile-mix-root .emr-mobile-channel .emr-mobile-vu{left:6px!important;top:72px!important;bottom:20px!important;width:7px!important}
  #emr-mobile-mix-root .emr-mobile-channel>i{right:4px!important;bottom:3px!important;font-size:9px!important}

  #emr-mobile-mix-root .emr-mobile-rack-nav{display:grid!important;grid-template-columns:42px minmax(0,1fr)!important;align-items:center!important;gap:4px!important;height:25px!important;padding:1px 8px 3px!important;border-top:1px solid #354047!important;background:#151b1e!important}
  #emr-mobile-mix-root .emr-mobile-rack-nav span{color:#aeb6ba!important;font:700 8px Arial,sans-serif!important;letter-spacing:1px!important}
  #emr-mobile-mix-root .emr-mobile-rack-scroll{width:100%!important;height:20px!important;margin:0!important;padding:0!important;accent-color:#d4aa29!important;touch-action:none!important;cursor:ew-resize!important}

  #emr-mobile-mix-root .emr-mobile-transport{align-self:end!important;display:grid!important;grid-template-columns:48px 48px 70px 48px 48px!important;align-items:center!important;justify-content:space-evenly!important;gap:4px!important;width:100%!important;height:72px!important;min-height:72px!important;padding:4px 7px max(4px,env(safe-area-inset-bottom))!important}
  #emr-mobile-mix-root .emr-mobile-transport button{display:grid!important;place-items:center!important;width:48px!important;height:52px!important;min-width:0!important;flex:none!important;border-radius:12px!important;font-size:0!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-play-icon{display:block!important;width:0!important;height:0!important;margin-left:5px!important;border-top:12px solid transparent!important;border-bottom:12px solid transparent!important;border-left:19px solid #202427!important;filter:drop-shadow(0 1px 0 #fff)!important}
  #emr-mobile-mix-root .emr-stop-icon{display:block!important;width:17px!important;height:17px!important;border-radius:2px!important;background:#e7e9ea!important;box-shadow:0 1px 0 #fff!important}
  #emr-mobile-mix-root .emr-repeat{font:34px/1 Arial,sans-serif!important;color:#eef0f1!important}
  #emr-mobile-mix-root .emr-skip{display:flex!important;align-items:center!important}
  #emr-mobile-mix-root .emr-skip i{display:block!important;width:0!important;height:0!important;border-top:9px solid transparent!important;border-bottom:9px solid transparent!important}
  #emr-mobile-mix-root .emr-skip-back i{border-right:13px solid #eef0f1!important}
  #emr-mobile-mix-root .emr-skip-forward i{border-left:13px solid #eef0f1!important}
}

@media(max-width:380px){
  #emr-mobile-mix-root .emr-mobile-console{grid-template-rows:44px 36px 38px 78px minmax(180px,1fr) 68px!important}
  #emr-mobile-mix-root .emr-mobile-console>header{height:44px!important}
  #emr-mobile-mix-root .emr-mobile-source-room{height:78px!important;grid-template-rows:32px 34px!important}
  #emr-mobile-mix-root .emr-mobile-channel{flex-basis:29%!important;min-width:86px!important}
  #emr-mobile-mix-root .emr-mobile-transport{grid-template-columns:44px 44px 66px 44px 44px!important;height:68px!important;min-height:68px!important}
  #emr-mobile-mix-root .emr-mobile-transport button{width:44px!important;height:48px!important}
  #emr-mobile-mix-root .emr-mobile-transport button.is-play{width:62px!important;height:62px!important}
}
