/* Независимые компактные переключатели: маска данных и чат Ромы. */
.app-side-version-main {
  align-items: start;
}

.app-side-mode-stack {
  display: grid;
  gap: 5px;
  justify-items: end;
}

.app-side-mode-control {
  display: grid;
  grid-template-columns: 20px 34px;
  align-items: center;
  justify-content: initial;
  column-gap: 5px;
  width: 59px !important;
  min-width: 59px !important;
  max-width: 59px !important;
  height: 20px !important;
  min-height: 20px !important;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

body.is-dashboard-view .app-side-mode-control {
  display: grid !important;
  grid-template-columns: 20px 34px !important;
  align-items: center !important;
  justify-content: initial !important;
  gap: 0 5px !important;
}

.app-side-mode-control[hidden] {
  display: none !important;
}

body.is-dashboard-view .app-side-mode-control .anon-mask-icon,
body.is-dashboard-view .app-side-mode-control .roma-chat-mark {
  display: inline-flex !important;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  max-width: 20px !important;
  min-height: 20px !important;
  max-height: 20px !important;
  flex: 0 0 20px !important;
}

body.is-dashboard-view .app-side-mode-control .anon-mask-icon {
  object-fit: contain;
}

.app-side-roma .roma-chat-mark {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  box-shadow: none;
}

.app-side-roma .roma-chat-mark .roma-bot-icon {
  display: block;
  width: 20px;
  height: 20px;
  overflow: visible;
}

.app-side-roma .roma-chat-mark .roma-bot-shell {
  fill: #fff;
}

.app-side-roma .roma-chat-mark .roma-bot-detail {
  fill: #111;
}

body.is-dashboard-view .app-side-mode-control .placement-vat-switch {
  width: 34px !important;
  height: 20px !important;
  min-width: 34px !important;
  max-width: 34px !important;
  min-height: 20px !important;
  max-height: 20px !important;
  flex: 0 0 34px !important;
  background: rgba(255, 255, 255, .2);
}

body.is-dashboard-view .app-side-mode-control .placement-vat-switch::after {
  top: 3px !important;
  left: 3px !important;
  width: 14px !important;
  height: 14px !important;
}

body.is-dashboard-view .app-side-mode-control .placement-vat-switch.is-on {
  background: #54b978 !important;
}

body.is-dashboard-view .app-side-mode-control .placement-vat-switch.is-on::after {
  transform: translate(14px) !important;
}

.app-side-roma:hover .roma-chat-mark,
.app-side-roma:focus-within .roma-chat-mark {
  color: #fff;
}
