/* Kubera Revenue Reference UI v7
   Pixel-locked shell built from the user-approved 1680x945 rendering. */

#revenueReferenceShell {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 6000;
  overflow: hidden;
  background: #020a12;
  color: #eafcff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  user-select: none;
}

.rv7-stage {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 98vw;
  height: 100vh;
  transform: translate(-50%, -50%);
  overflow: hidden;
  background: #020a12;
}

body.rv7-ready.ro-final-active:not(.workspace-layer-open) #revenueReferenceShell {
  display: block;
}

body.rv7-ready.ro-final-active:not(.workspace-layer-open) .workspace-shell {
  visibility: hidden !important;
  pointer-events: none !important;
}

body.workspace-layer-open #revenueReferenceShell,
body:not(.ro-final-active) #revenueReferenceShell {
  display: none !important;
}

.rv7-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: fill;
  pointer-events: none;
}

.rv7-hotspot {
  position: absolute;
  z-index: 4;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: transparent;
  cursor: pointer;
  outline: none;
}

.rv7-hotspot:hover,
.rv7-hotspot:focus-visible {
  background: rgba(24, 214, 255, .075);
  box-shadow: inset 0 0 0 1px rgba(62, 229, 255, .55), 0 0 22px rgba(20, 216, 255, .14);
}

.rv7-live {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
  background: linear-gradient(90deg, #061a29 0%, #061a29 88%, rgba(6, 26, 41, 0) 100%);
  color: #f4fdff;
  font-weight: 750;
  line-height: 1;
  text-shadow: 0 0 12px rgba(46, 226, 255, .18);
  pointer-events: none;
}

.rv7-top-metric {
  top: 11.95%;
  height: 3.8%;
  font-size: clamp(13px, 1.45vw, 25px);
}

.rv7-pipeline { left: 19.35%; width: 9.6%; }
.rv7-leads { left: 36.75%; width: 7.8%; }
.rv7-meetings { left: 54.35%; width: 7.3%; }
.rv7-conversion { left: 71.25%; width: 7.2%; }
.rv7-revenue { left: 86.7%; width: 10.25%; }

.rv7-mini {
  top: 26.25%;
  width: 6.45%;
  height: 6.65%;
  justify-content: center;
  align-items: flex-start;
  padding-top: .55%;
  box-sizing: border-box;
  border: 1px solid rgba(44, 213, 246, .58);
  border-radius: 7px;
  background: linear-gradient(155deg, #073249, #031622);
  color: #53e9ff;
  font-size: clamp(14px, 1.28vw, 21px);
  box-shadow: inset 0 0 22px rgba(29, 223, 255, .05), 0 0 14px rgba(17, 199, 242, .08);
}

.rv7-mini::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 15%;
  content: attr(data-label);
  color: #b5deea;
  text-align: center;
  font-size: clamp(5px, .47vw, 8px);
  font-weight: 650;
  letter-spacing: .8px;
}

.rv7-mini-leads { left: 32.15%; }
.rv7-mini-meetings { left: 68.15%; }

.rv7-panel-fill {
  position: absolute;
  z-index: 3;
  overflow: hidden;
  background: #041520;
  color: #dffaff;
}

.rv7-feed {
  left: 77.05%;
  top: 25.35%;
  width: 20.55%;
  height: 25.1%;
}

.rv7-ops {
  left: 77.05%;
  top: 58.7%;
  width: 20.55%;
  height: 16.45%;
}

.rv7-list {
  height: 100%;
  display: grid;
  grid-auto-rows: minmax(0, 1fr);
}

.rv7-row {
  min-height: 0;
  display: grid;
  grid-template-columns: clamp(22px, 2vw, 34px) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(6px, .65vw, 10px);
  padding: 0 3.5%;
  border-bottom: 1px solid rgba(41, 144, 172, .25);
}

.rv7-row:last-child { border-bottom: 0; }

.rv7-row-icon {
  width: clamp(22px, 2vw, 34px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(40, 187, 224, .35);
  border-radius: 7px;
  background: linear-gradient(145deg, #073853, #052235);
  color: #43e5ff;
  font-size: clamp(7px, .68vw, 11px);
}

.rv7-row-copy { min-width: 0; }
.rv7-row-copy b,
.rv7-row-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rv7-row-copy b { font-size: clamp(7px, .7vw, 11px); line-height: 1.12; }
.rv7-row-copy small { margin-top: 3px; color: #7da7b8; font-size: clamp(6px, .56vw, 9px); }
.rv7-row-state { color: #35efaa; font-size: clamp(5px, .48vw, 8px); }

.rv7-profile {
  position: absolute;
  z-index: 5;
  left: 85.8%;
  top: 0;
  width: 13.1%;
  height: 7.4%;
  display: flex;
  align-items: center;
  gap: 8%;
  padding-left: 5%;
  box-sizing: border-box;
  background: linear-gradient(90deg, rgba(2, 12, 21, .92), #020a12 18%);
}

.rv7-profile-avatar {
  width: clamp(29px, 3vw, 45px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(52, 184, 224, .42);
  border-radius: 50%;
  background: linear-gradient(145deg, #0c4568, #09283f);
  color: white;
  font-size: clamp(10px, 1vw, 16px);
  font-weight: 850;
}

.rv7-profile-copy b,
.rv7-profile-copy small { display: block; white-space: nowrap; }
.rv7-profile-copy b { font-size: clamp(8px, .74vw, 12px); }
.rv7-profile-copy small { margin-top: 3px; color: #82aabc; font-size: clamp(6px, .55vw, 9px); }

.rv7-crm {
  position: absolute;
  z-index: 5;
  left: 1.05%;
  top: 77.7%;
  width: 11.05%;
  height: 7.6%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(41, 190, 226, .55);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(6, 42, 62, .98), rgba(3, 20, 32, .98));
  color: #64eaff;
  font-size: clamp(7px, .69vw, 11px);
  font-weight: 750;
  letter-spacing: .45px;
  cursor: pointer;
  box-shadow: inset 0 0 22px rgba(22, 215, 255, .05), 0 0 16px rgba(10, 179, 221, .07);
}

.rv7-crm:hover,
.rv7-crm:focus-visible {
  border-color: #43e8ff;
  color: white;
  box-shadow: inset 0 0 25px rgba(25, 222, 255, .09), 0 0 22px rgba(22, 211, 255, .2);
}

.rv7-chart-value {
  position: absolute;
  z-index: 5;
  top: 78.9%;
  height: 3.2%;
  justify-content: flex-end;
  padding-right: .35%;
  box-sizing: border-box;
  font-size: clamp(9px, 1vw, 16px);
}

.rv7-lead-flow { left: 31.8%; width: 6.2%; }
.rv7-revenue-trend { left: 60.3%; width: 8.6%; }

.rv7-ring-value {
  position: absolute;
  z-index: 5;
  left: 75.95%;
  top: 85.65%;
  width: 7.2%;
  height: 6.5%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle, #061522 0 62%, transparent 64%);
  color: #f4fdff;
  font-size: clamp(11px, 1.3vw, 21px);
  font-weight: 780;
  pointer-events: none;
}

.rv7-chart-live {
  position: absolute;
  z-index: 4;
  top: 82.55%;
  height: 14.15%;
  overflow: hidden;
  background:
    linear-gradient(rgba(30, 113, 140, .18) 1px, transparent 1px),
    #041520;
  background-size: 100% 33.333%;
}

.rv7-chart-leads { left: 14.9%; width: 23.9%; }
.rv7-chart-revenue { left: 42.1%; width: 26.9%; }
.rv7-chart-actions { left: 73.2%; width: 23.9%; }

.rv7-live-bars {
  position: absolute;
  inset: 4% 3% 13%;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: end;
  gap: 4.2%;
  border-bottom: 1px solid rgba(82, 184, 211, .35);
}

.rv7-live-bar {
  position: relative;
  min-height: 3px;
  background: linear-gradient(180deg, #3aeaff, #0b7dab);
  box-shadow: 0 0 12px rgba(32, 222, 255, .25);
}

.rv7-live-bar::after {
  content: attr(data-day);
  position: absolute;
  left: 50%;
  top: calc(100% + 5px);
  transform: translateX(-50%);
  color: #789eae;
  font-size: clamp(5px, .43vw, 7px);
}

.rv7-live-trend {
  position: absolute;
  inset: 2% 2% 10%;
  width: 96%;
  height: 88%;
  overflow: visible;
}

.rv7-live-trend .gridline {
  stroke: rgba(49, 126, 151, .22);
  stroke-width: .7;
}

.rv7-live-trend .area { fill: url(#rv7TrendFill); }
.rv7-live-trend .line {
  fill: none;
  stroke: #35e7ff;
  stroke-width: 2.4;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 4px rgba(40, 224, 255, .45));
}

.rv7-live-trend .dot { fill: #6af2ff; }

.rv7-actions-layout {
  height: 100%;
  display: grid;
  grid-template-columns: 39% minmax(0, 1fr);
  align-items: center;
  gap: 5%;
  padding: 2% 4%;
  box-sizing: border-box;
}

.rv7-actions-donut {
  width: min(8.2vw, 90px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  justify-self: center;
  border-radius: 50%;
  background:
    radial-gradient(circle, #041520 0 55%, transparent 57%),
    conic-gradient(#23dfff 0 76%, #0b3a50 76% 100%);
  box-shadow: 0 0 18px rgba(26, 219, 255, .19);
  color: #f3fdff;
  font-size: clamp(10px, 1.15vw, 19px);
  font-weight: 780;
}

.rv7-actions-list {
  display: grid;
  gap: clamp(4px, .55vh, 7px);
  min-width: 0;
}

.rv7-actions-list div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(40, 132, 158, .22);
  color: #83aebe;
  font-size: clamp(5px, .48vw, 8px);
}

.rv7-actions-list b { color: #eafcff; }

/* V8 entity-truth overlays: opaque replacements for every concept-only number. */
.rv8-kpi {
  position: absolute;
  z-index: 7;
  top: 9.05%;
  height: 8.25%;
  box-sizing: border-box;
  overflow: hidden;
  padding: .3% .35%;
  background: #061a29;
  color: #eefcff;
  pointer-events: none;
}

.rv8-kpi-pipeline { left: 19.1%; width: 9.7%; }
.rv8-kpi-leads { left: 36.35%; width: 9.15%; }
.rv8-kpi-meetings { left: 53.3%; width: 9.15%; }
.rv8-kpi-conversion { left: 70.25%; width: 8.75%; }
.rv8-kpi-revenue { left: 86.65%; width: 10.25%; }

.rv8-kpi small,
.rv8-kpi strong,
.rv8-kpi em { position: relative; z-index: 2; display: block; }
.rv8-kpi small {
  color: #b6dce7;
  font-size: clamp(6px, .52vw, 9px);
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.2;
}
.rv8-kpi strong {
  margin-top: 4%;
  font-size: clamp(14px, 1.45vw, 25px);
  line-height: 1;
  letter-spacing: -.4px;
}
.rv8-kpi em {
  position: absolute;
  left: .4%;
  bottom: 7%;
  color: #35eea7;
  font-size: clamp(5px, .48vw, 8px);
  font-style: normal;
  font-weight: 750;
  letter-spacing: .35px;
}
.rv8-kpi-spark {
  position: absolute;
  z-index: 1;
  right: 1%;
  bottom: 5%;
  width: 43%;
  height: 36%;
}
.rv8-kpi-spark svg { width: 100%; height: 100%; overflow: visible; }
.rv8-kpi-spark polyline {
  fill: none;
  stroke: #26dcff;
  stroke-width: 5;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 3px rgba(38,220,255,.45));
}
.rv8-spark-bars {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: end;
  justify-content: end;
  gap: 7%;
}
.rv8-spark-bars i {
  width: 8%;
  min-height: 2px;
  background: linear-gradient(#35e7ff,#0b7eae);
  box-shadow: 0 0 5px rgba(45,225,255,.3);
}

.rv8-agent-count {
  position: absolute;
  z-index: 7;
  left: 27.0%;
  top: 20.8%;
  width: 3.3%;
  height: 2.7%;
  display: grid;
  place-items: center;
  background: #061a29;
  color: #86adbd;
  font-size: clamp(5px,.45vw,8px);
  font-weight: 700;
  white-space: nowrap;
}
.rv8-agent-state {
  position: absolute;
  z-index: 7;
  left: 18.65%;
  width: 4.1%;
  height: 1.65%;
  display: flex;
  align-items: center;
  background: #061a29;
  color: #36efaa;
  font-size: clamp(5px,.44vw,8px);
  font-weight: 700;
}
.rv8-agent-state[data-state="pause"] { color: #ffd070; }
.rv8-agent-state[data-state="bad"] { color: #ff7f8e; }
.rv8-agent-state-1 { top: 30.35%; }
.rv8-agent-state-2 { top: 39.0%; }
.rv8-agent-state-3 { top: 47.75%; }
.rv8-agent-state-4 { top: 56.5%; }
.rv8-agent-state-5 { top: 65.15%; }

.rv8-ai-state {
  position: absolute;
  z-index: 7;
  left: 32.15%;
  top: 65.25%;
  width: 8.1%;
  height: 10.45%;
  display: grid;
  place-content: center;
  text-align: center;
  border-radius: 7px;
  background: #061a29;
  color: #44e7ff;
  pointer-events: none;
}
.rv8-ai-state b { font-size: clamp(8px,.8vw,14px); letter-spacing: .6px; }
.rv8-ai-state small { margin-top: 7%; color: #86adbd; font-size: clamp(5px,.46vw,8px); letter-spacing: .7px; }

.rv8-revenue-node {
  position: absolute;
  z-index: 7;
  left: 66.2%;
  top: 65.25%;
  width: 7.5%;
  height: 10.55%;
  display: grid;
  place-content: center;
  text-align: center;
  border-radius: 7px;
  background: #061a29;
  color: #5aeaff;
  pointer-events: none;
}
.rv8-revenue-node b { font-size: clamp(11px,1.13vw,19px); line-height: 1; }
.rv8-revenue-node small { margin-top: 9%; color: #a9d2df; font-size: clamp(5px,.47vw,8px); line-height: 1.35; letter-spacing: 1px; }

.rv8-stage-count {
  position: absolute;
  z-index: 7;
  min-width: 1.7%;
  height: 1.65%;
  display: grid;
  place-items: center;
  padding: 0 .25%;
  border: 1px solid rgba(51,220,250,.35);
  border-radius: 999px;
  background: rgba(3,20,31,.94);
  color: #50e9ff;
  font-size: clamp(5px,.47vw,8px);
  font-weight: 800;
  pointer-events: none;
}
.rv8-stage-leads { left: 52.25%; top: 29.25%; }
.rv8-stage-contacted { left: 61.6%; top: 51.4%; }
.rv8-stage-qualified { left: 57.95%; top: 69.75%; }
.rv8-stage-proposal { left: 45.1%; top: 69.75%; }
.rv8-stage-closed { left: 41.75%; top: 51.4%; }

.rv7-chart-live {
  z-index: 7;
  background-color: #041520;
}
.rv7-chart-actions { left: 72.55%; width: 25.15%; }
.rv7-live-trend .area { fill: url(#rv8TrendFill); }
.rv7-actions-donut {
  background:
    radial-gradient(circle, #041520 0 55%, transparent 57%),
    conic-gradient(#23dfff 0 var(--rv8-fill,0%), #0b3a50 var(--rv8-fill,0%) 100%);
}
.rv8-chart-days {
  position: absolute;
  left: 2%;
  right: 2%;
  bottom: 8%;
  display: grid;
  grid-template-columns: repeat(7,1fr);
  color: #6e98a9;
  font-size: clamp(4px,.4vw,7px);
  text-align: center;
}
.rv8-chart-caption {
  position: absolute;
  left: 3%;
  bottom: 1.2%;
  color: #47788c;
  font-size: clamp(4px,.38vw,6px);
  letter-spacing: .4px;
}

.rv7-status-pill {
  position: absolute;
  z-index: 6;
  left: 72.7%;
  top: 2.05%;
  padding: .34% .7%;
  border: 1px solid rgba(41, 207, 240, .34);
  border-radius: 999px;
  background: rgba(2, 20, 31, .92);
  color: #37efac;
  font-size: clamp(5px, .48vw, 8px);
  letter-spacing: .6px;
}
.rv7-status-pill[data-state="pause"] { color: #ffd070; border-color: rgba(255,198,92,.38); }
.rv7-status-pill[data-state="bad"] { color: #ff7f8e; border-color: rgba(255,78,99,.5); }

/* Preserve the required master kill switch above the reference artwork. */
body.rv7-ready .ro-final-kill {
  z-index: 8000 !important;
}

@media (max-width: 820px) {
  #revenueReferenceShell { display: none !important; }
  body.rv7-ready.ro-final-active .workspace-shell {
    visibility: visible !important;
    pointer-events: auto !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rv7-hotspot { transition: none; }
}


/* Revenue nucleus motion v8.1 — visual-only, no network or data work. */
.rv9-motion {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
  contain: layout paint;
}

.rv9-core-glow {
  position: absolute;
  left: 53.1%;
  top: 49.1%;
  width: 14.2%;
  height: 25.2%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center,
    rgba(53, 239, 255, .17) 0 19%,
    rgba(20, 161, 255, .10) 32%,
    rgba(0, 112, 255, .035) 54%,
    transparent 72%);
  mix-blend-mode: screen;
  filter: blur(1px);
  transform: translate(-50%, -50%);
  animation: rv9-core-breathe 4.8s ease-in-out infinite;
}

.rv9-energy-ring {
  position: absolute;
  left: 53.1%;
  top: 49.1%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: .62;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 5px rgba(35, 222, 255, .36));
}
.rv9-energy-ring::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: conic-gradient(
    from 0deg,
    transparent 0 8%,
    rgba(48, 235, 255, .82) 11% 16%,
    transparent 20% 35%,
    rgba(20, 145, 255, .62) 39% 45%,
    transparent 49% 70%,
    rgba(92, 245, 255, .72) 74% 80%,
    transparent 84% 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  animation: rv9-ring-spin 18s linear infinite;
}
.rv9-ring-a { width: 25.3%; height: 44.8%; }
.rv9-ring-b { width: 21.8%; height: 38.5%; opacity: .48; }
.rv9-ring-b::before {
  animation-direction: reverse;
  animation-duration: 13s;
  background: conic-gradient(from 80deg, transparent 0 14%, rgba(62,224,255,.72) 17% 22%, transparent 26% 57%, rgba(12,105,255,.7) 61% 68%, transparent 72% 100%);
}
.rv9-ring-c { width: 17.2%; height: 30.4%; opacity: .40; }
.rv9-ring-c::before {
  animation-duration: 9s;
  background: conic-gradient(from 190deg, transparent 0 21%, rgba(77,244,255,.72) 24% 31%, transparent 34% 72%, rgba(22,134,255,.62) 76% 84%, transparent 88% 100%);
}

.rv9-orbit {
  position: absolute;
  left: 53.1%;
  top: 49.1%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.rv9-orbit > i {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  animation: rv9-orbit-spin 11s linear infinite;
}
.rv9-orbit > i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -3px;
  width: clamp(3px, .34vw, 6px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #8df8ff;
  box-shadow: 0 0 4px #8df8ff, 0 0 12px #28dcff, 0 0 24px rgba(25,137,255,.8);
}
.rv9-orbit-a { width: 24.2%; height: 42.8%; }
.rv9-orbit-b { width: 19.2%; height: 34%; }
.rv9-orbit-b > i { animation-duration: 7.5s; animation-direction: reverse; }
.rv9-orbit-b > i::after { background: #36a5ff; box-shadow: 0 0 4px #58ddff, 0 0 14px #157aff; }

.rv9-node-pulse {
  position: absolute;
  width: 7.2%;
  height: 12.5%;
  border: 1px solid rgba(79, 232, 255, .2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: inset 0 0 10px rgba(29, 209, 255, .08);
  animation: rv9-node-pulse 3.2s ease-in-out infinite;
}
.rv9-node-leads { left: 53.1%; top: 25.8%; animation-delay: 0s; }
.rv9-node-contacted { left: 62.7%; top: 49.0%; animation-delay: -.65s; }
.rv9-node-qualified { left: 59.0%; top: 67.7%; animation-delay: -1.3s; }
.rv9-node-proposal { left: 46.5%; top: 67.7%; animation-delay: -1.95s; }
.rv9-node-closed { left: 43.1%; top: 49.0%; animation-delay: -2.6s; }

.rv9-particle {
  position: absolute;
  width: clamp(2px, .16vw, 3px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #7df5ff;
  box-shadow: 0 0 5px #37ddff, 0 0 10px rgba(32, 126, 255, .75);
  opacity: 0;
  animation: rv9-particle-drift 6.5s ease-in-out infinite;
}
.rv9-particle-1 { left: 39.8%; top: 39%; animation-delay: -1s; }
.rv9-particle-2 { left: 44%; top: 28%; animation-delay: -4.2s; }
.rv9-particle-3 { left: 49%; top: 18%; animation-delay: -2.4s; }
.rv9-particle-4 { left: 58.8%; top: 22%; animation-delay: -.4s; }
.rv9-particle-5 { left: 65%; top: 35%; animation-delay: -3.5s; }
.rv9-particle-6 { left: 66.6%; top: 58%; animation-delay: -5.1s; }
.rv9-particle-7 { left: 60.8%; top: 73%; animation-delay: -1.8s; }
.rv9-particle-8 { left: 51.2%; top: 77%; animation-delay: -4.8s; }
.rv9-particle-9 { left: 42%; top: 69%; animation-delay: -3s; }
.rv9-particle-10 { left: 38.4%; top: 54%; animation-delay: -.1s; }

@keyframes rv9-ring-spin { to { transform: rotate(360deg); } }
@keyframes rv9-orbit-spin { to { transform: rotate(360deg); } }
@keyframes rv9-core-breathe {
  0%,100% { opacity: .52; transform: translate(-50%, -50%) scale(.96); }
  50% { opacity: .92; transform: translate(-50%, -50%) scale(1.045); }
}
@keyframes rv9-node-pulse {
  0%,100% { opacity: .18; box-shadow: 0 0 0 0 rgba(53,229,255,0), inset 0 0 10px rgba(29,209,255,.05); }
  48% { opacity: .7; box-shadow: 0 0 0 clamp(2px,.22vw,4px) rgba(53,229,255,.055), 0 0 18px rgba(32,194,255,.23), inset 0 0 15px rgba(29,209,255,.12); }
}
@keyframes rv9-particle-drift {
  0% { opacity: 0; transform: translate3d(-7px,8px,0) scale(.7); }
  24% { opacity: .85; }
  67% { opacity: .36; }
  100% { opacity: 0; transform: translate3d(13px,-18px,0) scale(1.25); }
}

@media (prefers-reduced-motion: reduce) {
  .rv9-core-glow,
  .rv9-energy-ring::before,
  .rv9-orbit > i,
  .rv9-node-pulse,
  .rv9-particle { animation: none !important; }
  .rv9-particle { display: none; }
  .rv9-core-glow { opacity: .58; }
}


/* Revenue layout correction v8.1.1 — keep the value panel clear of Qualified. */
.rv8-revenue-node {
  left: 67.05%;
  top: 66.35%;
  width: 5.95%;
  height: 8.65%;
  border-radius: 5px;
  background: rgba(4, 21, 32, .96);
}
.rv8-revenue-node b {
  font-size: clamp(9px, .91vw, 15px);
}
.rv8-revenue-node small {
  margin-top: 7%;
  font-size: clamp(4px, .39vw, 7px);
  line-height: 1.25;
  letter-spacing: .75px;
}

/* Keep the emergency control inside the lower section of the desktop menu rail. */
@media (min-width: 821px) {
  body.rv7-ready.ro-final-active #roFinalKill.ro-final-kill {
    right: auto !important;
    left: 10.45vw !important;
    bottom: 5.1vh !important;
    width: 48px !important;
    height: 48px !important;
    transform: translateX(-50%) !important;
  }
}


/* Revenue value-window calibration v8.1.2 — masks the artwork placeholder. */
.rv8-revenue-node {
  left: 67.45%;
  top: 64.05%;
  width: 7.05%;
  height: 11.65%;
  box-sizing: border-box;
  border: 1px solid rgba(40, 190, 226, .24);
  border-radius: 7px;
  background: #041520;
  box-shadow: inset 0 0 18px rgba(25, 190, 224, .035);
}
.rv8-revenue-node b {
  font-size: clamp(9px, .94vw, 16px);
}
.rv8-revenue-node small {
  margin-top: 8%;
  font-size: clamp(4px, .4vw, 7px);
  line-height: 1.28;
  letter-spacing: .8px;
}


/* v8.2.0 — visible Media Intelligence entry in the rendered Revenue sidebar */
.rv10-media {
  position: absolute;
  z-index: 8;
  left: 1.05%;
  top: 68.4%;
  width: 11.05%;
  height: 5.6%;
  display: flex;
  align-items: center;
  gap: clamp(7px, .65vw, 12px);
  padding: 0 clamp(10px, 1.2vw, 21px);
  border: 1px solid transparent;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(5, 40, 58, .9), rgba(3, 20, 32, .55));
  color: #9bcbd9;
  font: 700 clamp(7px, .68vw, 12px)/1.1 Inter, ui-sans-serif, system-ui, sans-serif;
  text-align: left;
  cursor: pointer;
  box-shadow: inset 3px 0 #2deaff, 0 0 18px rgba(16, 218, 255, .1);
}
.rv10-media i {
  width: clamp(15px, 1.3vw, 23px);
  color: #44edff;
  font-size: clamp(12px, 1.05vw, 18px);
  font-style: normal;
  text-align: center;
}
.rv10-media:hover,
.rv10-media:focus-visible {
  color: #fff;
  border-color: rgba(67, 232, 255, .75);
  background: linear-gradient(90deg, rgba(7, 63, 87, .98), rgba(3, 25, 39, .9));
  box-shadow: inset 3px 0 #2deaff, 0 0 24px rgba(22, 211, 255, .25);
  outline: none;
}
