/* Mirror the shipped left drawer. The previous page owns the rounded edge. */
body{
  --ow-drawer-width:min(48vw,820px);
  --ow-enter-ease:cubic-bezier(.16,1,.3,1);
  --ow-leave-ease:cubic-bezier(.4,0,.8,.3);
}
/* Keep the revealed corners on the right drawer's surface through its exit. */
body.ow-transition:not(.ow-fullscreen) #app.app{background:var(--panel,#fff)!important}
.operation-workspace{
  width:var(--ow-drawer-width);min-width:0;max-width:none;border-radius:0;
  transform:translate3d(102%,0,0);visibility:hidden;pointer-events:none;
  transition:transform 280ms var(--ow-leave-ease),visibility 0s linear 280ms;
}
.operation-workspace.ow-visible{
  transform:translate3d(0,0,0);visibility:visible;pointer-events:auto;
  transition:transform 460ms var(--ow-enter-ease),visibility 0s;
}
.operation-workspace.ow-expanded{
  inset:0;width:100%;height:100dvh;max-height:100dvh;min-width:0;border:0;border-radius:0;
  padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom);
}
.ow-shade{
  position:fixed;inset:0 calc(var(--ow-drawer-width) + 10px) 0 0;
  z-index:44;margin:0;padding:0;border:0;border-radius:0;background:transparent;
  cursor:pointer;-webkit-tap-highlight-color:transparent;
}
.ow-shade[hidden]{display:none!important}
body.ow-transition #app>.workspace{
  transform-origin:right center;
  transition:transform 280ms var(--ow-leave-ease),border-radius 280ms,opacity 280ms,margin-right 280ms var(--ow-leave-ease);
}
body.ow-open:not(.ow-fullscreen) #app>.workspace{
  min-width:0;margin-right:calc(var(--ow-drawer-width) + 10px);
  transform:scale(.97);border-radius:32px;overflow:hidden;opacity:.72;
  box-shadow:12px 0 36px #0000000b;
  transition:transform 460ms var(--ow-enter-ease),border-radius 460ms,opacity 280ms,margin-right 460ms var(--ow-enter-ease);
}
body.ow-fullscreen #app>.workspace{
  margin-right:0;transform:none;border-radius:0;opacity:1;box-shadow:none;
}
.operation-workspace .ow-header{
  min-height:56px;padding:8px 12px;gap:10px;border-bottom:1px solid var(--ow-line);
}
.operation-workspace .ow-header>.ow-icon:first-child{display:inline-grid}
.operation-workspace .ow-header>.ow-tabs{
  flex:1;min-width:0;justify-content:center;align-self:stretch;
  padding:0;margin:0;border:0;gap:24px;overflow:hidden;
}
.operation-workspace .ow-header .ow-tab{padding:0 0 3px;min-height:38px}
.operation-workspace .ow-header .ow-tab[aria-selected=true]:after{bottom:0}
.operation-workspace .ow-header>.ow-fullscreen-toggle{display:inline-grid}
.operation-workspace .ow-browser-actions{flex-wrap:wrap}

@media(max-width:900px){
  body{--ow-drawer-width:min(380px,calc(100vw - clamp(56px,16.5vw,84px)))}
  .operation-workspace{
    inset:0 0 0 auto;width:var(--ow-drawer-width);min-width:0;height:100dvh;max-height:100dvh;
    border:0;border-radius:0;box-shadow:none;z-index:65;
    padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom);
  }
  .operation-workspace.ow-expanded{inset:0;width:100%;border-radius:0}
  .ow-shade{inset:0 var(--ow-drawer-width) 0 0;z-index:64}
  body.ow-open:not(.ow-fullscreen) #app>.workspace{
    margin-right:0;
    transform:translate3d(calc(-1 * var(--ow-drawer-width)),0,0) scale(.97);
    border-radius:32px;opacity:.72;
  }
  body.ow-fullscreen #app>.workspace{margin-right:0;transform:none;border-radius:0;opacity:1}
  .operation-workspace .ow-header{padding:8px 10px;gap:8px}
  .operation-workspace .ow-header>.ow-tabs{gap:20px}
  .operation-workspace .ow-header .ow-tab{font-size:13px!important;gap:6px}
  .operation-workspace .ow-edit-actions{flex-wrap:wrap;gap:8px}
  .operation-workspace .ow-edit-actions>small{flex:1;min-width:75px}
  .operation-workspace .ow-browser-actions .ow-button{flex:1;min-width:0}
}
@media(prefers-reduced-motion:reduce){
  .operation-workspace,.operation-workspace.ow-visible,
  body.ow-transition #app>.workspace,
  body.ow-open:not(.ow-fullscreen) #app>.workspace{transition:none!important}
}
