/* Floating conversation and diagnostic choreography. No enclosing dashboard. */
.hero-scene { overflow: clip; }
.fix-flow {
  --fix-ink: #fff;
  --fix-muted: #e0d8e9;
  --fix-purple: #ddb6ff;
  --fix-green: #b9f0d7;
  position: absolute;
  z-index: 2;
  right: max(50px, calc((100vw - 1480px) / 2));
  bottom: 46px;
  width: 520px;
  height: 335px;
  color: var(--fix-ink);
  font-size: 13px;
  line-height: 1.5;
  text-align: left;
  pointer-events: none;
}
.fix-stage { position: absolute; inset: 0; }
.fix-flow svg { fill: none; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }
.fix-flow p, .fix-flow strong { margin: 0; }
.fix-field {
  position: absolute;
  inset: -18px -36px -8px -20px;
  background-image: radial-gradient(circle, rgba(247,236,255,.76) .8px, transparent 1.15px);
  background-size: 18px 18px;
  mask-image: radial-gradient(ellipse at 62% 54%, #000 22%, rgba(0,0,0,.8) 48%, transparent 78%);
  transform: perspective(760px) rotateY(-9deg) rotateX(4deg);
  transform-origin: 62% 54%;
  opacity: .82;
}
.fix-field::after { content: ""; position: absolute; inset: 15% 0 0 24%; background: radial-gradient(ellipse, rgba(163,95,231,.2), transparent 66%); }
.fix-glass {
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 9px;
  background: linear-gradient(125deg, rgba(133,122,154,.28), rgba(48,40,62,.36));
  backdrop-filter: blur(13px) saturate(.85);
  -webkit-backdrop-filter: blur(13px) saturate(.85);
  box-shadow: 0 8px 28px rgba(18,12,32,.1), inset 0 1px 0 rgba(255,255,255,.1);
}
.fix-piece { opacity: 0; }
.fix-flow:not(.is-animated) .fix-static { opacity: 1; }
.fix-sender { display: flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 640; color: #f9f4ff; text-shadow: 0 1px 7px rgba(15,10,25,.5); }
.fix-sender svg { width: 15px; height: 15px; }
.fix-sender > span { margin-left: 3px; font-size: 9px; font-weight: 450; color: #ded3e8; }
.fix-request { position: absolute; top: 5px; left: 0; width: 245px; }
.fix-request-bubble { width: fit-content; margin-top: 7px; padding: 10px 14px; border-radius: 4px 9px 9px; background: rgba(35,29,47,.34); }
.fix-agent-sender { position: absolute; top: 90px; left: 18px; }
.fix-agent-sender > svg { color: var(--fix-purple); fill: rgba(220,177,255,.18); }
.fix-agent-panel { position: absolute; top: 115px; left: 18px; width: 282px; height: 137px; border-color: rgba(241,224,255,.43); background: linear-gradient(115deg, rgba(190,172,211,.27), rgba(59,43,78,.38)); }
.fix-message { position: absolute; top: 129px; left: 33px; width: 252px; }
.fix-message > strong, .fix-success > strong { display: block; font-size: 15px; font-weight: 580; letter-spacing: -.025em; }
.fix-message > p { margin-top: 4px; font-size: 11px; color: var(--fix-muted); }
.fix-task { display: flex; align-items: center; gap: 7px; height: 23px; margin: 15px 0 10px; font-size: 10px; color: #eee4f7; }
.fix-task svg { width: 17px; height: 17px; flex: none; color: var(--fix-purple); }
.fix-scan-dot { position: relative; width: 15px; height: 15px; border: 1px solid rgba(228,193,255,.35); border-radius: 50%; }
.fix-scan-dot::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: #e2baff; box-shadow: 0 0 8px #b568f2; }
.fix-progress { height: 2px; background: rgba(255,255,255,.14); overflow: hidden; border-radius: 2px; }
.fix-progress i { display: block; width: 100%; height: 100%; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, #c987ff, #faf0ff); box-shadow: 0 0 6px #d1a1ff; }
.fix-approval { position: absolute; top: 263px; left: 100px; display: flex; align-items: center; gap: 8px; padding: 8px 13px; color: #e5fff1; font-size: 11px; background: rgba(65,100,91,.45); border-color: rgba(185,240,215,.45); }
.fix-approval svg { width: 16px; height: 16px; color: var(--fix-green); }
.fix-diagnostics { position: absolute; top: 119px; right: 0; width: 200px; height: 186px; }
.fix-node { position: absolute; top: 0; left: 24px; width: 152px; height: 60px; display: flex; align-items: center; gap: 10px; padding: 11px; }
.fix-node > svg { width: 25px; height: 25px; color: #e4c8ff; }
.fix-node span { display: block; font-size: 7px; font-weight: 650; letter-spacing: .08em; color: #dfcee9; }
.fix-node strong { display: block; font-size: 11px; font-weight: 550; }
.fix-branches { position: absolute; top: 60px; width: 100%; height: 95px; overflow: visible; }
.fix-branch-base { stroke: rgba(232,214,253,.35); stroke-dasharray: 2 4; }
.fix-branch-trace { stroke: #e0afff; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 3px #be71ff); }
.fix-leaf { position: absolute; top: 125px; width: 92px; min-height: 47px; display: flex; align-items: center; gap: 6px; padding: 8px; border-radius: 6px; }
.fix-leaf-blocked { left: 0; }
.fix-leaf-online { right: 0; }
.fix-leaf > svg, .fix-leaf-icon { width: 17px; height: 17px; flex: none; }
.fix-leaf > svg { color: var(--fix-green); }
.fix-leaf-icon { display: grid; place-items: center; border: 1px solid #f3cfb8; border-radius: 50%; color: #ffdbc4; font-size: 10px; }
.fix-leaf span { font-size: 9px; }
.fix-leaf strong { display: block; color: #eee5f4; font-size: 8px; font-weight: 450; }
.fix-connection { position: absolute; top: 184px; left: 300px; width: 59px; height: 1px; background: rgba(226,193,255,.32); }
.fix-connection i { position: absolute; left: 0; top: -2px; width: 5px; height: 5px; border-radius: 50%; background: #edceff; box-shadow: 0 0 8px 2px rgba(210,139,255,.65); }
.fix-device { position: absolute; right: 13px; top: 115px; width: 149px; height: 153px; border-color: rgba(232,217,255,.42); background: linear-gradient(140deg, rgba(191,159,216,.2), rgba(66,50,84,.34)); }
.fix-printer { position: absolute; top: 13px; left: 26px; width: 96px; height: 96px; color: #f5e8ff; stroke-width: 1.4 !important; filter: drop-shadow(0 1px 4px rgba(25,12,41,.2)); }
.fix-paper-out { fill: rgba(203,167,231,.17); }
.fix-orbit { position: absolute; width: 115px; height: 115px; left: 16px; top: 5px; border: 1px solid rgba(229,200,255,.15); border-radius: 50%; }
.fix-orbit::after { content: ""; position: absolute; inset: 7px; border: 1px solid rgba(229,200,255,.1); border-radius: inherit; }
.fix-device-working, .fix-device-done { position: absolute; bottom: 14px; left: 0; width: 100%; text-align: center; font-size: 10px; color: #eee4f7; }
.fix-device-done { color: #d8ffea; }
.fix-device-tick { position: absolute; top: 73px; right: 12px; width: 28px; height: 28px; border: 1px solid rgba(212,255,234,.58); border-radius: 50%; background: #446d61; box-shadow: 0 0 17px rgba(142,232,188,.15); display: grid; place-items: center; }
.fix-device-tick svg { width: 18px; height: 18px; color: #d0ffe5; stroke-width: 1.8; }
.fix-success { position: absolute; top: 115px; left: 18px; width: 282px; padding: 15px; border-color: rgba(234,220,251,.5); }
.fix-success p { font-size: 11px; margin-top: 5px; color: #e4dbea; }
.fix-success > span { display: flex; align-items: center; gap: 7px; margin-top: 13px; font-size: 10px; color: #d0f7e2; }
.fix-success svg { width: 14px; height: 14px; }
.fix-reply { position: absolute; top: 244px; left: 36px; }
.fix-reply > .fix-glass { display: flex; align-items: center; gap: 16px; margin-top: 5px; padding: 8px 12px; border-radius: 4px 8px 8px; background: rgba(39,32,52,.4); font-size: 12px; }
.fix-reply > .fix-glass > span { color: var(--fix-green); }
.fix-record { position: absolute; top: 285px; right: 20px; display: flex; align-items: center; gap: 6px; color: #d6f7e6; font-size: 9px; text-shadow: 0 1px 8px #20152b; }
.fix-record svg { width: 12px; height: 12px; }
.fix-controls { position: absolute; right: -7px; bottom: -13px; display: flex; align-items: center; pointer-events: auto; }
.fix-controls button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; margin: 0; color: rgba(255,255,255,.8); border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.fix-controls button:hover { background: rgba(255,255,255,.1); color: #fff; }
.fix-controls button svg { width: 15px; height: 15px; }
.fix-controls .fix-replay svg { width: 17px; height: 17px; }
@media (min-width: 901px) and (max-width: 1200px) {
  .hero-description { max-width: calc(100vw - 565px); }
  .fix-flow { right: 28px; width: 455px; }
  .fix-agent-panel, .fix-success { width: 246px; left: 0; }
  .fix-agent-sender { left: 0; }
  .fix-message { width: 218px; left: 14px; }
  .fix-message > strong, .fix-success > strong { font-size: 14px; }
  .fix-message > p { font-size: 10px; }
  .fix-diagnostics { width: 186px; }
  .fix-node { left: 17px; }
  .fix-leaf { width: 87px; gap: 4px; padding: 7px; }
  .fix-connection { left: 246px; width: 47px; }
  .fix-device { right: 0; }
  .fix-record { right: 8px; }
}
@media (max-width: 900px) {
  .fix-flow { right: 35px; bottom: 28px; }
  .hero-shade { background: linear-gradient(0deg, rgba(31,23,42,.62), transparent 82%); }
}
@media (max-width: 600px) {
  .fix-flow { right: 18px; bottom: 23px; width: calc(100% - 36px); height: 325px; }
  .fix-glass { backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); background: linear-gradient(125deg, rgba(108,91,129,.33), rgba(38,29,53,.49)); }
  .fix-field { inset: 25px -18px 0; background-size: 15px 15px; }
  .fix-request { top: 2px; width: 240px; }
  .fix-request-bubble { font-size: 12px; }
  .fix-agent-sender { top: 85px; left: 0; }
  .fix-agent-panel { top: 110px; left: 0; width: 64%; height: 135px; }
  .fix-message { top: 124px; left: 12px; width: calc(64% - 24px); }
  .fix-message > strong, .fix-success > strong { font-size: 13px; }
  .fix-message > p, .fix-success p { font-size: 10px; line-height: 1.55; }
  .fix-task { margin-top: 10px; font-size: 9px; gap: 5px; }
  .fix-approval { left: 52px; top: 256px; }
  .fix-diagnostics { top: 126px; width: 32%; height: 172px; }
  .fix-node { left: 0; width: 100%; height: 54px; padding: 8px; gap: 5px; }
  .fix-node > svg { width: 19px; height: 19px; flex: none; }
  .fix-node strong { font-size: 10px; }
  .fix-node span { font-size: 6px; }
  .fix-branches { top: 54px; height: 80px; }
  .fix-leaf { top: 116px; width: 48%; padding: 6px 2px; min-height: 45px; justify-content: center; }
  .fix-leaf > svg, .fix-leaf-icon { display: none; }
  .fix-leaf span { font-size: 8px; }
  .fix-leaf strong { font-size: 7px; }
  .fix-leaf-blocked { border-color: rgba(249,200,166,.48); }
  .fix-leaf-online { border-color: rgba(176,241,209,.35); }
  .fix-connection { left: 64%; top: 174px; width: 5%; }
  .fix-device { right: 0; top: 123px; width: 32%; height: 132px; }
  .fix-printer { width: 82px; height: 82px; top: 12px; left: calc(50% - 41px); }
  .fix-orbit { width: 88px; height: 88px; left: calc(50% - 44px); top: 7px; }
  .fix-device-tick { width: 24px; height: 24px; right: 3px; top: 67px; }
  .fix-device-working, .fix-device-done { font-size: 8px; bottom: 12px; }
  .fix-success { top: 110px; left: 0; width: 64%; padding: 12px; }
  .fix-success > span { font-size: 8px; gap: 4px; margin-top: 10px; }
  .fix-reply { top: 239px; left: 15px; }
  .fix-record { right: 0; top: 272px; font-size: 8px; gap: 2px; }
  .fix-controls { bottom: -18px; }
}
@media (prefers-reduced-motion: reduce) {
  .fix-flow .fix-controls { display: none; }
}
