/* v190 — cabeçalho móvel em uma única linha, com a marca sempre íntegra */
@media (max-width: 760px) {
  body.radar-v143-ready
      .app-shell:not(.management-page-shell):not(.system-page-shell):not(.insight-page-shell):not(.dashboard-shell)
      > .app-topbar,
  .app-shell:not(.management-page-shell):not(.system-page-shell):not(.insight-page-shell):not(.dashboard-shell)
      > .app-topbar,
  body.radar-v143-ready
      .unified-page-shell
      > .unified-app-topbar,
  .unified-page-shell > .unified-app-topbar {
    display: grid !important;
    grid-template-columns: 82px minmax(0, 1fr) 82px !important;
    grid-template-rows: 48px !important;
    align-items: center !important;
    gap: 6px !important;
    width: 100% !important;
    max-width: 100vw !important;
    min-height: 62px !important;
    height: 62px !important;
    padding: 7px 8px !important;
    overflow: hidden !important;
  }

  body.radar-v143-ready
      .app-shell:not(.management-page-shell):not(.system-page-shell):not(.insight-page-shell):not(.dashboard-shell)
      > .app-topbar
      > .unified-topbar-brand,
  .app-shell:not(.management-page-shell):not(.system-page-shell):not(.insight-page-shell):not(.dashboard-shell)
      > .app-topbar
      > .unified-topbar-brand,
  body.radar-v143-ready
      .unified-page-shell
      > .unified-app-topbar
      > .unified-topbar-brand,
  .unified-page-shell
      > .unified-app-topbar
      > .unified-topbar-brand {
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-self: center !important;
    align-self: center !important;
    display: flex !important;
    visibility: visible !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 42px !important;
    min-height: 42px !important;
    overflow: hidden !important;
    pointer-events: auto !important;
  }

  body.radar-v143-ready
      .app-shell:not(.management-page-shell):not(.system-page-shell):not(.insight-page-shell):not(.dashboard-shell)
      > .app-topbar
      > .unified-topbar-brand
      img,
  .app-shell:not(.management-page-shell):not(.system-page-shell):not(.insight-page-shell):not(.dashboard-shell)
      > .app-topbar
      > .unified-topbar-brand
      img,
  body.radar-v143-ready
      .unified-page-shell
      > .unified-app-topbar
      > .unified-topbar-brand
      img,
  .unified-page-shell
      > .unified-app-topbar
      > .unified-topbar-brand
      img {
    display: block !important;
    flex: 0 0 34px !important;
    width: 34px !important;
    height: 34px !important;
    max-width: 34px !important;
    max-height: 34px !important;
    object-fit: contain !important;
  }

  body.radar-v143-ready
      .app-shell:not(.management-page-shell):not(.system-page-shell):not(.insight-page-shell):not(.dashboard-shell)
      > .app-topbar
      > .unified-topbar-brand
      span,
  .app-shell:not(.management-page-shell):not(.system-page-shell):not(.insight-page-shell):not(.dashboard-shell)
      > .app-topbar
      > .unified-topbar-brand
      span,
  body.radar-v143-ready
      .unified-page-shell
      > .unified-app-topbar
      > .unified-topbar-brand
      span,
  .unified-page-shell
      > .unified-app-topbar
      > .unified-topbar-brand
      span {
    display: grid !important;
    gap: 2px !important;
    min-width: 0 !important;
    max-width: 104px !important;
    overflow: hidden !important;
  }

  body.radar-v143-ready
      .app-shell:not(.management-page-shell):not(.system-page-shell):not(.insight-page-shell):not(.dashboard-shell)
      > .app-topbar
      > .unified-topbar-brand
      strong,
  .app-shell:not(.management-page-shell):not(.system-page-shell):not(.insight-page-shell):not(.dashboard-shell)
      > .app-topbar
      > .unified-topbar-brand
      strong,
  body.radar-v143-ready
      .unified-page-shell
      > .unified-app-topbar
      > .unified-topbar-brand
      strong,
  .unified-page-shell
      > .unified-app-topbar
      > .unified-topbar-brand
      strong {
    display: block !important;
    max-width: 100% !important;
    font-size: 12px !important;
    line-height: 1 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  body.radar-v143-ready
      .app-shell:not(.management-page-shell):not(.system-page-shell):not(.insight-page-shell):not(.dashboard-shell)
      > .app-topbar
      > .unified-topbar-brand
      small,
  .app-shell:not(.management-page-shell):not(.system-page-shell):not(.insight-page-shell):not(.dashboard-shell)
      > .app-topbar
      > .unified-topbar-brand
      small,
  body.radar-v143-ready
      .unified-page-shell
      > .unified-app-topbar
      > .unified-topbar-brand
      small,
  .unified-page-shell
      > .unified-app-topbar
      > .unified-topbar-brand
      small {
    display: block !important;
    max-width: 100% !important;
    font-size: 7.5px !important;
    line-height: 1 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  body.radar-v143-ready
      .app-shell:not(.management-page-shell):not(.system-page-shell):not(.insight-page-shell):not(.dashboard-shell)
      > .app-topbar
      > .mobile-filter-button,
  .app-shell:not(.management-page-shell):not(.system-page-shell):not(.insight-page-shell):not(.dashboard-shell)
      > .app-topbar
      > .mobile-filter-button,
  body.radar-v143-ready
      .unified-page-shell
      > .unified-app-topbar
      > .mobile-filter-button,
  .unified-page-shell
      > .unified-app-topbar
      > .mobile-filter-button {
    grid-column: 1 !important;
    grid-row: 1 !important;
    justify-self: start !important;
    align-self: center !important;
    display: inline-flex !important;
    width: 78px !important;
    min-width: 78px !important;
    max-width: 78px !important;
    height: 36px !important;
    min-height: 36px !important;
    padding: 0 7px !important;
    gap: 5px !important;
    font-size: 10px !important;
    white-space: nowrap !important;
  }

  body.radar-v143-ready
      .app-shell:not(.management-page-shell):not(.system-page-shell):not(.insight-page-shell):not(.dashboard-shell)
      > .app-topbar
      > .account-actions,
  .app-shell:not(.management-page-shell):not(.system-page-shell):not(.insight-page-shell):not(.dashboard-shell)
      > .app-topbar
      > .account-actions,
  body.radar-v143-ready
      .unified-page-shell
      > .unified-app-topbar
      > .account-actions,
  .unified-page-shell
      > .unified-app-topbar
      > .account-actions {
    grid-column: 3 !important;
    grid-row: 1 !important;
    justify-self: end !important;
    align-self: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
    width: 82px !important;
    min-width: 82px !important;
    max-width: 82px !important;
    height: 42px !important;
    margin: 0 !important;
    overflow: visible !important;
  }

  body.radar-v143-ready
      :is(.app-topbar, .unified-app-topbar)
      > .account-actions
      > .topbar-date-pill,
  body.radar-v143-ready
      :is(.app-topbar, .unified-app-topbar)
      > .account-actions
      > .icon-text-button,
  :is(.app-topbar, .unified-app-topbar)
      > .account-actions
      > .topbar-date-pill,
  :is(.app-topbar, .unified-app-topbar)
      > .account-actions
      > .icon-text-button {
    display: none !important;
  }

  body.radar-v143-ready
      :is(.app-topbar, .unified-app-topbar)
      > .account-actions
      > .profile-chip-button,
  :is(.app-topbar, .unified-app-topbar)
      > .account-actions
      > .profile-chip-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  body.radar-v143-ready
      :is(.app-topbar, .unified-app-topbar)
      > .account-actions
      > .profile-chip-button
      > span:last-child,
  :is(.app-topbar, .unified-app-topbar)
      > .account-actions
      > .profile-chip-button
      > span:last-child {
    display: none !important;
  }

  body.radar-v143-ready
      :is(.app-topbar, .unified-app-topbar)
      > .account-actions
      > .profile-chip-button
      .profile-avatar,
  :is(.app-topbar, .unified-app-topbar)
      > .account-actions
      > .profile-chip-button
      .profile-avatar {
    flex: 0 0 28px !important;
    width: 28px !important;
    min-width: 28px !important;
    height: 28px !important;
  }

  body.radar-v143-ready
      :is(.app-topbar, .unified-app-topbar)
      > .menu-toggle,
  body.radar-v143-ready
      :is(.app-topbar, .unified-app-topbar)
      > .topbar-menu,
  :is(.app-topbar, .unified-app-topbar) > .menu-toggle,
  :is(.app-topbar, .unified-app-topbar) > .topbar-menu {
    display: none !important;
  }
}

@media (max-width: 420px) {
  body.radar-v143-ready
      .app-shell:not(.management-page-shell):not(.system-page-shell):not(.insight-page-shell):not(.dashboard-shell)
      > .app-topbar,
  .app-shell:not(.management-page-shell):not(.system-page-shell):not(.insight-page-shell):not(.dashboard-shell)
      > .app-topbar,
  body.radar-v143-ready
      .unified-page-shell
      > .unified-app-topbar,
  .unified-page-shell > .unified-app-topbar {
    grid-template-columns: 74px minmax(0, 1fr) 74px !important;
    gap: 4px !important;
    padding-inline: 6px !important;
  }

  body.radar-v143-ready
      :is(.app-topbar, .unified-app-topbar)
      > .mobile-filter-button,
  :is(.app-topbar, .unified-app-topbar)
      > .mobile-filter-button {
    width: 72px !important;
    min-width: 72px !important;
    max-width: 72px !important;
    padding-inline: 5px !important;
  }

  body.radar-v143-ready
      :is(.app-topbar, .unified-app-topbar)
      > .account-actions,
  :is(.app-topbar, .unified-app-topbar)
      > .account-actions {
    width: 74px !important;
    min-width: 74px !important;
    max-width: 74px !important;
  }
}

@media (max-width: 340px) {
  body.radar-v143-ready
      .app-shell:not(.management-page-shell):not(.system-page-shell):not(.insight-page-shell):not(.dashboard-shell)
      > .app-topbar,
  .app-shell:not(.management-page-shell):not(.system-page-shell):not(.insight-page-shell):not(.dashboard-shell)
      > .app-topbar,
  body.radar-v143-ready
      .unified-page-shell
      > .unified-app-topbar,
  .unified-page-shell > .unified-app-topbar {
    grid-template-columns: 48px minmax(0, 1fr) 48px !important;
  }

  body.radar-v143-ready
      :is(.app-topbar, .unified-app-topbar)
      > .mobile-filter-button,
  :is(.app-topbar, .unified-app-topbar)
      > .mobile-filter-button {
    width: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    padding: 0 !important;
    gap: 0 !important;
    font-size: 0 !important;
  }

  body.radar-v143-ready
      :is(.app-topbar, .unified-app-topbar)
      > .account-actions,
  :is(.app-topbar, .unified-app-topbar)
      > .account-actions {
    width: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;
  }
}
