/* ECHOWX_R235T_RADAR_DECK_CLUSTERS_LINKED_DUAL_PANE
   Desktop Radar deck visual unification, damage-report decluttering, and
   linked side-by-side dual-pane presentation. Mobile dock and Radar data
   pipelines are intentionally unchanged.
*/

@media (min-width: 900px) {
  body.echowx-r235h-radar-page {
    --r235t-edge: 10px;
    --r235t-command-bottom: 10px;
    --r235t-command-height: 52px;
    --r235t-selector-height: 46px;
    --r235t-timeline-height: 44px;
    --r235t-row-gap: 4px;
    --r235t-deck: #0b1016;
    --r235t-control: #111820;
    --r235t-control-hover: #17212b;
    --r235t-border: rgba(148, 163, 184, 0.22);
    --r235t-border-strong: rgba(148, 163, 184, 0.34);
    --r235t-text: #f4f7fa;
    --r235t-muted: #9ba7b4;
    --r235t-orange: #ff6a00;
    --r235t-selector-bottom: calc(
      var(--r235t-command-bottom) +
      var(--r235t-command-height) +
      var(--r235t-row-gap)
    );
    --r235t-timeline-bottom: calc(
      var(--r235t-selector-bottom) +
      var(--r235t-selector-height) +
      var(--r235t-row-gap)
    );
  }

  body.echowx-r235h-radar-page .echowx-r235t-row-host {
    overflow: visible !important;
    contain: none !important;
  }

  body.echowx-r235h-radar-page .echowx-r235h-selector-row,
  body.echowx-r235h-radar-page .echowx-r235h-command-row,
  body.echowx-r235h-radar-page .echowx-r235h-timeline-row {
    box-sizing: border-box !important;
    position: fixed !important;
    top: auto !important;
    right: var(--r235t-edge) !important;
    left: var(--r235t-edge) !important;
    transform: none !important;
    float: none !important;
    clear: none !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    overflow: visible !important;
    color: var(--r235t-text) !important;
    background: var(--r235t-deck) !important;
    border: 1px solid var(--r235t-border) !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.23) !important;
  }

  body.echowx-r235h-radar-page .echowx-r235h-selector-row {
    z-index: 2147483201 !important;
    bottom: var(--r235t-selector-bottom) !important;
    min-height: var(--r235t-selector-height) !important;
    height: var(--r235t-selector-height) !important;
    padding: 4px 10px !important;
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    border-radius: 11px 11px 7px 7px !important;
  }

  body.echowx-r235h-radar-page .echowx-r235h-command-row {
    z-index: 2147483202 !important;
    bottom: var(--r235t-command-bottom) !important;
    min-height: var(--r235t-command-height) !important;
    height: var(--r235t-command-height) !important;
    padding: 3px 12px !important;
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    border-radius: 7px 7px 11px 11px !important;
  }

  body.echowx-r235h-radar-page .echowx-r235h-timeline-row {
    z-index: 2147483203 !important;
    bottom: var(--r235t-timeline-bottom) !important;
    min-height: var(--r235t-timeline-height) !important;
    height: var(--r235t-timeline-height) !important;
    padding: 4px 10px !important;
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;
    border-radius: 11px !important;
  }

  body.echowx-r235h-radar-page .echowx-r235h-selector {
    position: relative !important;
    inset: auto !important;
    transform: none !important;
    display: grid !important;
    grid-template-rows: 9px 21px !important;
    align-content: center !important;
    align-items: center !important;
    min-width: 0 !important;
    min-height: 36px !important;
    height: 36px !important;
    margin: 0 !important;
    padding: 3px 9px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    color: var(--r235t-text) !important;
    background: var(--r235t-control) !important;
    border: 1px solid var(--r235t-border) !important;
    border-radius: 9px !important;
    box-shadow: none !important;
  }

  body.echowx-r235h-radar-page .echowx-r235h-selector:focus-within {
    border-color: rgba(255, 106, 0, 0.70) !important;
    box-shadow: 0 0 0 2px rgba(255, 106, 0, 0.10) !important;
  }

  body.echowx-r235h-radar-page .echowx-r235h-selector label,
  body.echowx-r235h-radar-page .echowx-r235h-selector [class*="label"] {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    display: block !important;
    width: 100% !important;
    min-height: 9px !important;
    height: 9px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: var(--r235t-muted) !important;
    font-size: 8px !important;
    line-height: 9px !important;
    letter-spacing: 0.075em !important;
    overflow: hidden !important;
    white-space: nowrap !important;
  }

  body.echowx-r235h-radar-page .echowx-r235h-selector select {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 21px !important;
    height: 21px !important;
    margin: 0 !important;
    padding: 0 24px 0 0 !important;
    color: var(--r235t-text) !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
    font-size: 12px !important;
    font-weight: 650 !important;
    line-height: 21px !important;
    overflow: visible !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  body.echowx-r235h-radar-page .echowx-r235h-location-selector {
    flex: 0 1 270px !important;
    width: min(270px, 23vw) !important;
    max-width: 270px !important;
  }

  body.echowx-r235h-radar-page .echowx-r235h-product-selector {
    flex: 1 1 410px !important;
    width: auto !important;
    min-width: 260px !important;
    max-width: 620px !important;
  }

  body.echowx-r235h-radar-page .echowx-r235h-tilt-selector {
    flex: 0 1 165px !important;
    width: 165px !important;
    max-width: 165px !important;
  }

  body.echowx-r235h-radar-page
    .echowx-r235h-tilt-selector:has(select:disabled) {
    display: none !important;
  }

  body.echowx-r235h-radar-page .echowx-r235t-draw-shell {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    display: flex !important;
    flex: 0 0 104px !important;
    align-items: center !important;
    justify-content: center !important;
    width: 104px !important;
    min-width: 104px !important;
    max-width: 104px !important;
    height: 36px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 9px !important;
    box-shadow: none !important;
    overflow: visible !important;
  }

  body.echowx-r235h-radar-page .echowx-r235h-draw-button {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    display: inline-flex !important;
    flex: 0 0 104px !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 104px !important;
    min-width: 104px !important;
    max-width: 104px !important;
    min-height: 36px !important;
    height: 36px !important;
    margin: 0 !important;
    padding: 0 11px !important;
    color: #dce3ea !important;
    background: var(--r235t-control) !important;
    border: 1px solid var(--r235t-border) !important;
    border-radius: 9px !important;
    box-shadow: none !important;
    font-size: 11px !important;
    font-weight: 650 !important;
    line-height: 1 !important;
    text-align: center !important;
  }

  body.echowx-r235h-radar-page .echowx-r235h-draw-button:hover {
    color: #fff !important;
    background: var(--r235t-control-hover) !important;
    border-color: var(--r235t-border-strong) !important;
  }

  body.echowx-r235h-radar-page .echowx-r235h-live-pill {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    display: inline-flex !important;
    flex: 0 0 64px !important;
    align-items: center !important;
    justify-content: center !important;
    width: 64px !important;
    min-width: 64px !important;
    max-width: 64px !important;
    min-height: 24px !important;
    height: 24px !important;
    margin: 0 !important;
    padding: 0 8px !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    white-space: nowrap !important;
  }

  body.echowx-r235h-radar-page .echowx-r235h-command-button {
    position: relative !important;
    inset: auto !important;
    transform: none !important;
    display: inline-flex !important;
    flex: 0 1 190px !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px !important;
    width: 190px !important;
    min-width: 120px !important;
    max-width: 190px !important;
    min-height: 42px !important;
    height: 42px !important;
    margin: 0 !important;
    padding: 4px 12px !important;
    color: #cbd3dc !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    font-size: 11px !important;
    font-weight: 650 !important;
    line-height: 1 !important;
    text-align: center !important;
    white-space: nowrap !important;
  }

  body.echowx-r235h-radar-page .echowx-r235h-command-button > *,
  body.echowx-r235h-radar-page .echowx-r235h-command-button span,
  body.echowx-r235h-radar-page .echowx-r235h-command-button svg {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    vertical-align: middle !important;
  }

  body.echowx-r235h-radar-page .echowx-r235h-command-button:hover {
    color: #fff !important;
    background: var(--r235t-control-hover) !important;
    border-color: var(--r235t-border-strong) !important;
  }

  body.echowx-r235h-radar-page .echowx-r235h-dock-dual.is-dual-active {
    color: #fff !important;
    background: rgba(255, 106, 0, 0.16) !important;
    border-color: rgba(255, 106, 0, 0.42) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 106, 0, 0.08) !important;
  }

  body.echowx-r235h-radar-page .echowx-r235h-dock-dual.is-dual-active::after {
    content: "LINKED" !important;
    margin-left: 2px !important;
    padding: 2px 5px !important;
    color: #ffd8b8 !important;
    background: rgba(255, 106, 0, 0.13) !important;
    border-radius: 999px !important;
    font-size: 7px !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em !important;
  }

  body.echowx-r235t-dual-active .echowx-r235h-selector-row {
    right: calc(50% + 5px) !important;
  }

  body.echowx-r235t-dual-active .echowx-r235h-timeline-row {
    right: calc(50% + 5px) !important;
  }

  body.echowx-r235t-dual-active .echowx-r235t-primary-map {
    left: 0 !important;
    right: auto !important;
    width: 50vw !important;
    max-width: 50vw !important;
  }

  .echowx-r235t-dual-frame {
    position: fixed !important;
    z-index: 2147482000 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 50% !important;
    width: 50% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #0a0f14 !important;
    border: 0 !important;
  }

  .echowx-r235t-dual-divider {
    position: fixed !important;
    z-index: 2147483199 !important;
    top: 0 !important;
    bottom: calc(
      var(--r235t-command-bottom, 10px) +
      var(--r235t-command-height, 52px) +
      var(--r235t-row-gap, 4px) +
      var(--r235t-selector-height, 46px)
    ) !important;
    left: calc(50% - 1px) !important;
    width: 2px !important;
    background: rgba(255, 106, 0, 0.52) !important;
    box-shadow: 0 0 8px rgba(255, 106, 0, 0.20) !important;
    pointer-events: none !important;
  }

  html.echowx-r235t-dual-child-html,
  html.echowx-r235t-dual-child-html body {
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
  }

  body.echowx-r235t-dual-child .echowx-r235h-command-row,
  body.echowx-r235t-dual-child .echowx-r235h-timeline-row {
    display: none !important;
  }

  body.echowx-r235t-dual-child .echowx-r235h-selector-row {
    z-index: 2147483201 !important;
    right: 8px !important;
    left: 8px !important;
    bottom: var(--r235t-selector-bottom, 66px) !important;
    justify-content: center !important;
  }

  body.echowx-r235t-dual-child .echowx-r235h-location-selector,
  body.echowx-r235t-dual-child .echowx-r235h-draw-button,
  body.echowx-r235t-dual-child .echowx-r235t-draw-shell,
  body.echowx-r235t-dual-child .echowx-r235h-live-pill {
    display: none !important;
  }

  body.echowx-r235t-dual-child .echowx-r235h-product-selector {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 180px !important;
    max-width: none !important;
  }

  body.echowx-r235t-dual-child .echowx-r235h-tilt-selector {
    flex: 0 0 135px !important;
    width: 135px !important;
    max-width: 135px !important;
  }

  .echowx-r235t-damage-cluster-hidden {
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .echowx-r235t-damage-cluster {
    overflow: visible !important;
    isolation: isolate !important;
  }

  .echowx-r235t-damage-cluster::after {
    content: attr(data-echowx-r235t-cluster-count) !important;
    position: absolute !important;
    z-index: 4 !important;
    top: -7px !important;
    right: -8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 18px !important;
    height: 18px !important;
    padding: 0 4px !important;
    color: #fff !important;
    background: #ff6a00 !important;
    border: 2px solid #0b1016 !important;
    border-radius: 999px !important;
    box-sizing: border-box !important;
    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.45) !important;
    font-size: 8px !important;
    font-weight: 850 !important;
    line-height: 1 !important;
    letter-spacing: -0.02em !important;
    pointer-events: none !important;
  }

  @media (max-width: 1120px) {
    body.echowx-r235h-radar-page .echowx-r235h-location-selector {
      flex-basis: 220px !important;
      width: 220px !important;
      max-width: 220px !important;
    }

    body.echowx-r235h-radar-page .echowx-r235h-product-selector {
      flex: 1 1 300px !important;
      min-width: 220px !important;
      max-width: 430px !important;
    }

    body.echowx-r235h-radar-page .echowx-r235h-command-button {
      flex-basis: 160px !important;
      width: 160px !important;
      min-width: 105px !important;
      max-width: 160px !important;
    }

    body.echowx-r235t-dual-active .echowx-r235h-live-pill {
      display: none !important;
    }
  }
}
