/* Structune Hub V17.7.4.563 — Labels tab switcher inside the existing context drawer. */
html.labels-qr-first-paint #labelsContextDrawer .labels-context-controls,
html body.v17-labels-constrained #labelsContextDrawer .labels-context-controls{
  display:flex!important;
  flex-direction:column!important;
  height:100%!important;
  min-height:0!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
}

html.labels-qr-first-paint #labelsContextDrawer .labels-tabs,
html body.v17-labels-constrained #labelsContextDrawer .labels-tabs{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  flex:0 0 auto!important;
  width:auto!important;
  min-width:0!important;
  margin:18px 14px 14px!important;
}

html.labels-qr-first-paint #labelsContextDrawer .labels-tab,
html body.v17-labels-constrained #labelsContextDrawer .labels-tab{
  width:100%!important;
  min-width:0!important;
  padding:0 8px!important;
  white-space:nowrap!important;
}

html.labels-qr-first-paint #labelsContextDrawer .labels-ar-context-content,
html body.v17-labels-constrained #labelsContextDrawer .labels-ar-context-content{
  flex:1 1 auto!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  padding:0 14px 18px!important;
}

@media(max-width:820px){
  html.labels-qr-first-paint #labelsContextDrawer .labels-tabs,
  html body.v17-labels-constrained #labelsContextDrawer .labels-tabs{margin:16px 14px 12px!important}
  html.labels-qr-first-paint #labelsContextDrawer .labels-ar-context-content,
  html body.v17-labels-constrained #labelsContextDrawer .labels-ar-context-content{padding:0 14px 16px!important}
}
