/* Draw the wider border outside the symbol so the reference stays readable
   even at fit-to-page zoom. Keep the solid or dashed style set by the viewer. */
[data-opc-navigation-layer="true"] [data-opc-state] {
  --opc-outline-width: 4px;
  border-width: 0 !important;
}

[data-opc-navigation-layer="true"] [data-opc-state]::before {
  content: "";
  position: absolute;
  inset: calc(-1 * var(--opc-outline-width));
  border: inherit;
  border-width: var(--opc-outline-width);
}

/* An OPC awaiting a connection check shares the orange review color.
   Suppress the legacy gray hover ring for this state. */
[data-opc-navigation-layer="true"] [data-opc-state="UNKNOWN"] {
  border-color: #c2410c !important;
  box-shadow: none !important;
}
