/* ECHOWX_R235I_RADAR_CONTROL_DECK_CORRECTION
   Desktop-only correction layered over r235h.
   Radar data, decoding, publisher, mobile dock, and Outlooks are unchanged.
*/

@media (min-width: 900px) {
  body.echowx-r235h-radar-page .echowx-r235h-selector-row {
    min-height: 50px !important;
    height: 50px !important;
    padding: 5px 10px !important;
    gap: 7px !important;
    overflow: visible !important;
    align-items: center !important;
  }

  body.echowx-r235h-radar-page .echowx-r235h-selector {
    min-height: 38px !important;
    height: 38px !important;
    overflow: visible !important;
  }

  body.echowx-r235h-radar-page .echowx-r235h-selector select {
    min-height: 36px !important;
    height: 36px !important;
    padding-top: 10px !important;
    padding-bottom: 2px !important;
    line-height: 1.15 !important;
  }

  body.echowx-r235h-radar-page .echowx-r235h-selector label,
  body.echowx-r235h-radar-page .echowx-r235h-selector [class*="label"] {
    top: 5px !important;
    line-height: 1 !important;
  }

  body.echowx-r235h-radar-page .echowx-r235h-draw-button {
    min-height: 38px !important;
    height: 38px !important;
    flex: 0 0 auto !important;
  }

  body.echowx-r235h-radar-page .echowx-r235h-live-pill {
    position: static !important;
    inset: auto !important;
    right: auto !important;
    left: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    flex: 0 0 68px !important;
    width: 68px !important;
    min-width: 68px !important;
    max-width: 68px !important;
    height: 26px !important;
    margin: 0 0 0 auto !important;
    padding: 0 8px !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    white-space: nowrap !important;
  }

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

  body.echowx-r235h-radar-page .echowx-r235h-product-selector {
    flex: 1 1 360px !important;
    min-width: 250px !important;
  }

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

  /* r235h guessed the largest timeline button and could style Previous as Play.
     Neutralize every guessed primary unless r235i positively identifies it. */
  body.echowx-r235h-radar-page
    .echowx-r235h-timeline-button.echowx-r235h-timeline-play:not(.echowx-r235i-timeline-primary) {
    width: 28px !important;
    min-width: 28px !important;
    height: 28px !important;
    min-height: 28px !important;
    color: #cbd3dc !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    box-shadow: none !important;
  }

  body.echowx-r235h-radar-page .echowx-r235i-timeline-primary {
    width: 36px !important;
    min-width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    color: #fff !important;
    background: var(--r235h-orange, #ff6a00) !important;
    border: 0 !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 14px rgba(255, 106, 0, 0.24) !important;
  }

  body.echowx-r235h-radar-page .echowx-r235i-timeline-primary:hover {
    background: #ff781c !important;
  }

  body.echowx-r235h-radar-page .echowx-r235h-timeline-row {
    gap: 7px !important;
    padding-left: 10px !important;
    padding-right: 12px !important;
  }

  body.echowx-r235h-radar-page .echowx-r235h-timeline-row input[type="range"] {
    min-width: 0 !important;
  }

  body.echowx-r235h-radar-page .echowx-r235h-frame-count {
    margin-left: 3px !important;
    font-variant-numeric: tabular-nums !important;
  }

  body.echowx-r235h-radar-page .echowx-r235h-command-row {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  body.echowx-r235h-radar-page .echowx-r235h-command-button {
    flex: 0 1 220px !important;
    width: min(18vw, 220px) !important;
    min-width: 130px !important;
    max-width: 220px !important;
    position: relative !important;
  }

  body.echowx-r235h-radar-page
    .echowx-r235h-command-button + .echowx-r235h-command-button {
    border-left-color: rgba(148, 163, 184, 0.10) !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
  }

  body.echowx-r235h-radar-page
    .echowx-r235h-command-button:has(+ .echowx-r235h-command-button) {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
  }
}
