/* CrowQ chat: the existing controls share one compact desktop bar.
   CSS placement keeps every React control, handler and menu intact. */
@media (min-width: 1101px) {
  html:not([data-crowq-native]) #root .cgv6 .view.on.cq-product.cdr-live:not(.studio-live) {
    display: grid !important;
    grid-template-columns: auto auto minmax(0, 1fr) auto 54px;
    grid-template-rows: 64px minmax(0, 1fr);
    column-gap: 12px;
    align-items: stretch;
  }
  html:not([data-crowq-native]) #root .cgv6 .cq-product.cdr-live:not(.studio-live) > :is(.cqp-header, .vh) {
    display: contents !important;
  }
  html:not([data-crowq-native]) #root .cgv6 .cq-product.cdr-live:not(.studio-live) .cqp-brand {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    margin-left: 24px;
    font-size: 22px;
    white-space: nowrap;
  }
  html:not([data-crowq-native]) #root .cgv6 .cq-product.cdr-live:not(.studio-live) :is(.cqp-header, .vh) > .vh-lead {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    min-width: 0;
  }
  html:not([data-crowq-native]) #root .cgv6 .cq-product.cdr-live:not(.studio-live) .cqp-apps {
    grid-column: 3;
    grid-row: 1;
    align-self: center;
    justify-self: center;
    display: inline-flex;
    gap: 2px;
    padding: 3px;
    border: 1px solid var(--border);
    border-radius: 11px;
    background: var(--surface-2, #f5f3ed);
    margin: 0;
    white-space: nowrap;
  }
  html:not([data-crowq-native]) #root .cgv6 .cq-product.cdr-live:not(.studio-live) .cqp-apps button {
    padding: 7px 10px;
    font-size: 13px;
    line-height: 20px;
    border-radius: 8px;
    min-height: 34px;
  }
  html:not([data-crowq-native]) #root .cgv6 .cq-product.cdr-live:not(.studio-live) :is(.cqp-header, .vh) > .vh-side {
    grid-column: 4;
    grid-row: 1;
    align-self: center;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    min-width: 0;
  }
  html:not([data-crowq-native]) #root .cgv6 .cq-product.cdr-live:not(.studio-live) .cqp-settings {
    grid-column: 5;
    grid-row: 1;
    align-self: center;
    width: 32px;
    height: 32px;
    margin: 0;
  }
  html:not([data-crowq-native]) #root .cgv6 .cq-product.cdr-live:not(.studio-live) > :not(.cqp-header):not(.vh) {
    grid-column: 1 / -1;
    grid-row: 2;
    min-width: 0;
  }
  html:not([data-crowq-native]) #root .cgv6 .cq-product.cdr-live:not(.studio-live) .cdr-chats {
    margin-bottom: 0;
  }
  html:not([data-crowq-native]) #root .cgv6 .cq-product.cdr-live:not(.studio-live) :is(.cdr-new, .cdr-recent, .vh-ptog, .cdr-agent-btn) {
    font-size: 13px;
    white-space: nowrap;
  }
  html:not([data-crowq-native]) #root .cgv6 .cq-product.cdr-live:not(.studio-live) .cdr-recent-lbl {
    max-width: 160px;
  }
  html:not([data-crowq-native]) #root .cgv6 .cq-product.cdr-live:not(.studio-live) .vh-ptog svg {
    width: 13px;
    height: 13px;
  }
}
