.logistics-magnifier-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
}

.logistics-command-page .logistics-magnifier-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  min-width: 132px;
  padding: 0 11px;
  border-radius: 8px;
  white-space: nowrap;
}

.logistics-command-page .logistics-magnifier-toggle[data-enabled="true"] {
  background: #eaf1ff;
  border-color: #b1c5ec;
  color: #1e4189;
}

.logistics-magnifier-toggle:focus-visible {
  outline: 2px solid #2459d1;
  outline-offset: 2px;
}

.logistics-magnifier-lens {
  position: fixed;
  z-index: 1000;
  box-sizing: border-box;
  width: max-content;
  max-width: min(450px, calc(100vw - 20px));
  max-height: calc(100dvh - 20px);
  overflow: hidden;
  padding: 9px 13px;
  border: 2px solid #173668;
  border-radius: 10px;
  background: #fff;
  color: #132647;
  box-shadow: 0 2px 12px #14274626;
  font-weight: 650;
  line-height: 1.28;
  overflow-wrap: anywhere;
  pointer-events: none;
}

.logistics-magnifier-lens[hidden] {
  display: none;
}

@media (any-hover: hover) and (any-pointer: fine) {
  .logistics-command-page .logistics-magnifier-toggle {
    display: inline-flex;
  }

  .logistics-magnifier-active :is(h1, h2, h3, h4, p, dt, dd, td, th, small, b, strong, span):not(:where(button *, a *, label *, [role="combobox"] *)) {
    cursor: zoom-in;
  }
}
