/* Screen 02 docking, cycle and local handoff mechanics. */
.reason-hybrid-pixel-cross::before,
.reason-hybrid-pixel-cross::after { transition: none; }
.reason-hybrid-cross-pulse { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; transform: translate(-50%, -50%) scale(.5); border-radius: 50%; opacity: 0; pointer-events: none; z-index: 1; background: radial-gradient(circle, var(--rh-cross-paint, #f460c4) 0%, transparent 70%); }
.reason-hybrid-section[data-rh-paint='gradient'] .reason-hybrid-cross-pulse { background: radial-gradient(circle, #fa6acc 0%, #d9a2f2 40%, #8bbffc 100%); }
.reason-hybrid-section[data-rh-docking='true'] .reason-hybrid-cross-pulse { animation: rh-pulse 650ms cubic-bezier(.2,.8,.25,1) both; }
/* Screen 02 local dock layering: key sits under preview (z-index: 2) but above receiver cross (z-index: 0) */
.reason-hybrid-preview-positioner > .cross-field__key {
  position: absolute;
  z-index: 1;
  inset: 0 auto auto 0;
  pointer-events: none;
}
@keyframes rh-pulse {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(.5); }
  35% { opacity: .85; transform: translate(-50%, -50%) scale(1.4); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(2.2); }
}
.reason-hybrid-section.is-focus-mode .reason-hybrid-explanation,
.reason-hybrid-section.is-focus-mode .reason-hybrid-context-side,
.reason-hybrid-section.is-focus-mode .reason-hybrid-node,
.reason-hybrid-section.is-focus-mode .reason-hybrid-segment,
.reason-hybrid-section.is-focus-mode .reason-hybrid-features {
  opacity: .3 !important;
  pointer-events: none !important;
  transition: opacity .4s ease;
}
.reason-hybrid-section.is-focus-mode .reason-hybrid-controls {
  pointer-events: none !important;
  opacity: 1 !important;
}
.reason-hybrid-section[data-rh-cycle='true'] .reason-hybrid-layout-overlay { opacity: 1; }
.reason-hybrid-section[data-rh-phase='2'] .reason-hybrid-layout-phase--2,
.reason-hybrid-section[data-rh-phase='3'] .reason-hybrid-layout-phase--3,
.reason-hybrid-section[data-rh-phase='4'] .reason-hybrid-layout-phase--4 { opacity: 1; z-index: 2; }
/* The outgoing surface is opaque until the incoming surface covers it.
   Independent CSS crossfades would expose up to25% of the baseline beneath. */
.reason-hybrid-section[data-rh-phase-outgoing='2'] .reason-hybrid-layout-phase--2,
.reason-hybrid-section[data-rh-phase-outgoing='3'] .reason-hybrid-layout-phase--3,
.reason-hybrid-section[data-rh-phase-outgoing='4'] .reason-hybrid-layout-phase--4 { opacity: 1; z-index: 1; }
@media (prefers-reduced-motion: reduce) {
  .reason-hybrid-section[data-rh-cycle='true'] .reason-hybrid-pixel-cross { animation: none; }
  .reason-hybrid-cross-pulse { animation: none !important; }
}
.reason-hybrid-section[data-rh-cycle='true'] .reason-hybrid-pixel-cross {
  transition: none !important;
  transform: rotate(var(--rh-cross-angle, 0deg)) !important;
}
.reason-hybrid-section[data-rh-docking='true'] .reason-hybrid-pixel-cross,
.reason-hybrid-section[data-rh-active-cross='true'] .reason-hybrid-pixel-cross {
  opacity: 1 !important;
}
.reason-hybrid-section[data-rh-docking='true'] .reason-hybrid-pixel-cross::before,
.reason-hybrid-section[data-rh-docking='true'] .reason-hybrid-pixel-cross::after,
.reason-hybrid-section[data-rh-active-cross='true'] .reason-hybrid-pixel-cross::before,
.reason-hybrid-section[data-rh-active-cross='true'] .reason-hybrid-pixel-cross::after {
  background: var(--rh-cross-paint, #f460c4) !important;
}
.reason-hybrid-section[data-rh-paint='gradient'][data-rh-active-cross='true'] .reason-hybrid-pixel-cross::before,
.reason-hybrid-section[data-rh-paint='gradient'][data-rh-active-cross='true'] .reason-hybrid-pixel-cross::after {
  background: linear-gradient(135deg, #f460c4 0%, #d9a2f2 35%, #8bbffc 70%, #f9c1df 100%) !important;
}
