/* MedElevator workspace chrome, display only. */
@media(min-width:761px){
 html body.med-workspace:not(.telegram-mini-app-page) .app-topbar{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;grid-template-rows:auto!important;align-items:center;gap:16px!important;min-height:76px!important;height:auto!important;padding:12px 24px!important}
 html body.med-workspace .app-topbar>.app-brand{grid-column:1!important;grid-row:1!important;min-width:0;justify-self:start}
 html body.med-workspace .app-topbar>.live-balances{position:static!important;grid-column:2!important;grid-row:1!important;justify-self:center;display:flex!important;align-items:center;justify-content:center!important;flex-wrap:nowrap!important;gap:8px!important;width:auto!important;min-width:0;max-width:100%;margin:0!important;padding:0!important;border:0!important}
 html body.med-workspace .app-topbar>.app-top-actions{grid-column:3!important;grid-row:1!important;justify-self:end;flex-wrap:nowrap;gap:7px;min-width:0}
 html body.med-workspace .app-topbar .balance-chip{display:grid!important;gap:2px;min-width:94px!important;min-height:42px!important;box-sizing:border-box;padding:5px 8px!important;border-radius:9px;white-space:nowrap}
 html body.med-workspace .app-topbar .balance-chip strong{margin:0!important;min-width:8ch;font-size:15px!important;line-height:1.2;text-align:start!important;font-variant-numeric:tabular-nums}
 html body.med-workspace .app-topbar .balance-chip span{font-size:10px!important;line-height:1.2}
 html body.med-workspace .app-topbar .research-switcher{width:clamp(100px,12vw,170px)!important;max-width:170px!important;flex:0 1 170px!important}
 html body.med-workspace .app-topbar .research-switcher label{display:none}
 .med-team-account{display:flex;align-items:center;gap:5px;min-width:0}
 .med-team-account .balance-team-chooser{box-sizing:border-box;width:30px!important;min-width:30px!important;max-width:30px!important;height:32px;min-height:32px;appearance:auto;padding:2px!important;margin:0!important;font-size:12px;border:1px solid #d6e4d9;border-radius:7px;background:#f4f7ee;color:#245b47;cursor:pointer}
 @media(max-width:1050px){html body.med-workspace .app-topbar{padding-inline:16px!important;gap:10px!important}html body.med-workspace .app-brand small{display:none}html body.med-workspace .app-brand b{font-size:17px}html body.med-workspace .app-top-actions .medelevator-telegram-button{padding-inline:9px}html body.med-workspace .app-topbar .balance-chip{min-width:88px!important;padding-inline:6px!important}}
}
@media(max-width:760px){
 .med-team-account{display:flex;align-items:center;min-width:0;gap:5px}.med-team-account .balance-chip{flex:1;min-width:0!important}.med-team-account .balance-team-chooser{width:28px;max-width:28px;min-width:28px;height:32px;min-height:32px;padding:0;margin:0;font-size:12px;appearance:auto}
 html body.med-workspace .app-topbar>.live-balances{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:6px!important}
 html body.med-workspace .app-topbar>.live-balances>.research-switcher{grid-column:1/-1!important;grid-row:auto!important}
 html body.med-workspace .app-topbar #balance-status{position:absolute!important;width:12px!important;height:12px!important;right:4px;bottom:4px;font-size:0!important}
}
yeti3-gpu-live.med-compute-dock{position:fixed!important;left:16px!important;bottom:16px!important;top:auto!important;right:auto!important;z-index:60!important;transform:none!important;max-width:calc(100vw - 32px)}
@media(max-width:760px){yeti3-gpu-live.med-compute-dock{left:10px!important;bottom:calc(10px + env(safe-area-inset-bottom,0px))!important;max-width:calc(100vw - 20px)}}

@media(min-width:761px) and (max-width:960px){html body.med-workspace .app-top-actions .button span{display:none}html body.med-workspace .app-top-actions :is(.button,.icon-button){width:38px;min-width:38px;height:38px;min-height:38px;padding:8px}html body.med-workspace .app-top-actions>.medelevator-telegram-button{width:38px;min-width:38px;padding:8px;font-size:0}html body.med-workspace .app-top-actions>.medelevator-telegram-button svg{width:19px;height:19px}}
