/*
 * Fuente: tf-sistema/public/shared/calidad-holograma.css, líneas 35–93,
 * 106–200, 210–257, 290–299, 354–373, 410–416, 434–458, 658–710.
 * Red, partículas, lente, sello, círculos y reglas de tamaño originales.
 * Retirados: tooltips, estados de calidad e interfaz de tableros.
 * Selectores limitados a .holo-intro; no gobiernan la página pública.
 */
body.tf-workspace .holo-intro .qch-projection {
  --qch-ice: #e8fdff;
  --qch-cyan: #91ecf7;
  --qch-cyan-soft: #c8f8ff;
  position: relative;
  width: 100%;
  min-height: clamp(410px, 56vh, 610px);
  overflow: visible;
  isolation: isolate;
  color: var(--qch-ice);
  background:
    radial-gradient(circle at 50% 50%, rgba(9, 49, 64, .22) 0 18%, rgba(7, 37, 52, .08) 42%, transparent 70%);
}

body.tf-workspace .holo-intro .qch-network {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  opacity: 0;
  transform: scale(.7216);
  transform-origin: 50% 50%;
  transition: opacity .16s ease;
}

body.tf-workspace .holo-intro .qch-projection.is-route-synced .qch-network { opacity: 1; }
body.tf-workspace .holo-intro .qch-hex-field { opacity: .22; }
body.tf-workspace .holo-intro .qch-hex-cluster { opacity: .23; }
body.tf-workspace .holo-intro .qch-line-cluster { opacity: .25; }

body.tf-workspace .holo-intro :is(.qch-route, .qch-route-detail, .qch-route-glow) {
  fill: none;
  vector-effect: non-scaling-stroke;
}

body.tf-workspace .holo-intro .qch-route {
  stroke: rgba(222, 253, 255, .70);
  stroke-width: 1.35;
  stroke-linecap: round;
  transition: stroke .1s ease, stroke-width .1s ease, opacity .1s ease;
}

body.tf-workspace .holo-intro .qch-route-glow {
  stroke: rgba(117, 236, 251, .22);
  stroke-width: 9;
  opacity: 0;
  filter: blur(4px);
  transition: opacity .1s ease;
}

body.tf-workspace .holo-intro .qch-route-detail {
  stroke: rgba(211, 251, 255, .34);
  stroke-width: 1;
  transition: stroke .1s ease, opacity .1s ease;
}

body.tf-workspace .holo-intro .qch-route-junction {
  fill: rgba(235, 254, 255, .9);
  stroke: rgba(108, 230, 248, .82);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 4px rgba(115, 234, 250, .72));
}

body.tf-workspace .holo-intro .qch-data-point {
  fill: rgba(241, 254, 255, .96);
  filter: drop-shadow(0 0 4px rgba(112, 234, 249, .7));
  transform-box: fill-box;
  transform-origin: center;
  animation: qch-point-pulse 3.8s ease-in-out infinite;
}

body.tf-workspace .holo-intro .qch-data-point:nth-of-type(3n) { animation-delay: -1.2s; }
body.tf-workspace .holo-intro .qch-data-point:nth-of-type(4n) { animation-delay: -2.1s; }

body.tf-workspace .holo-intro .qch-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

body.tf-workspace .holo-intro .qch-particle {
  position: absolute;
  left: var(--qch-x);
  top: var(--qch-y);
  width: var(--qch-size);
  height: var(--qch-size);
  border-radius: 50%;
  background: rgba(210, 249, 255, var(--qch-alpha));
  box-shadow: 0 0 8px rgba(113, 230, 246, .44);
  animation: qch-drift var(--qch-duration) ease-in-out var(--qch-delay) infinite alternate;
}

body.tf-workspace .holo-intro .qch-quality-emblem {
  --qch-score-color: #9eb9c8;
  --qch-lens-edge: 29%;
  --qch-orbit-dot-radius: 24.5%;
  --qch-scan-radius: 16.8%;
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 4;
  width: clamp(210px, 28vw, 330px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  outline: none;
  transform: translate(-50%, -50%);
}

body.tf-workspace .holo-intro .qch-emblem-lens {
  position: absolute;
  z-index: 0;
  inset: calc(50% - var(--qch-lens-edge));
  border: 1px solid rgba(229, 253, 255, .16);
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 69%, rgba(198, 249, 255, .16) 69.5%, transparent 70%),
    radial-gradient(circle, transparent 81.5%, rgba(151, 239, 251, .13) 82%, transparent 82.5%),
    radial-gradient(circle at 38% 28%, rgba(243, 255, 255, .31), transparent 18%),
    radial-gradient(circle, rgba(164, 242, 252, .10), rgba(8, 54, 67, .13) 69%, rgba(128, 232, 245, .06));
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

body.tf-workspace .holo-intro .qch-emblem-lens::before,
body.tf-workspace .holo-intro .qch-emblem-lens::after {
  content: "";
  position: absolute;
  display: block;
  border-radius: 50%;
}

body.tf-workspace .holo-intro .qch-emblem-lens::before {
  inset: calc(50% - var(--qch-orbit-dot-radius));
  border: 1px dotted rgba(224, 252, 255, .62);
  animation: qch-ring-spin 36s linear infinite;
}

body.tf-workspace .holo-intro .qch-emblem-lens::after {
  inset: calc(50% - var(--qch-scan-radius));
  background: conic-gradient(from 0deg, rgba(238, 255, 255, .88) 0 6%, transparent 7% 100%);
  -webkit-mask: radial-gradient(circle, transparent calc(100% - 2.8px), #000 calc(100% - 2.3px) calc(100% - .7px), transparent 100%);
  mask: radial-gradient(circle, transparent calc(100% - 2.8px), #000 calc(100% - 2.3px) calc(100% - .7px), transparent 100%);
  filter: drop-shadow(0 0 8px rgba(112, 234, 249, .64));
  animation: qch-ring-spin 6.4s linear infinite;
}

body.tf-workspace .holo-intro .qch-structural-rings {
  position: absolute;
  z-index: 2;
  width: 100%;
  aspect-ratio: 1;
  overflow: visible;
  pointer-events: none;
}

body.tf-workspace .holo-intro .qch-fine-ring {
  fill: none;
  stroke-linecap: round;
  transform-box: view-box;
  transform-origin: 100px 100px;
  vector-effect: non-scaling-stroke;
}

body.tf-workspace .holo-intro .qch-fine-ring--continuous {
  stroke: rgba(203, 249, 255, .52);
  stroke-width: .86;
  filter: drop-shadow(0 0 3px rgba(72, 218, 241, .28));
  animation: qch-ring-breathe 5.8s ease-in-out infinite;
}

body.tf-workspace .holo-intro .qch-fine-ring--segmented {
  stroke: rgba(139, 238, 251, .72);
  stroke-width: 1.15;
  stroke-dasharray: 42 15 26 12 18 20;
  filter: drop-shadow(0 0 4px rgba(67, 220, 243, .36));
  animation: qch-ring-spin 25s linear infinite reverse;
}

body.tf-workspace .holo-intro .qch-fine-ring--dotted {
  stroke: rgba(224, 253, 255, .58);
  stroke-width: .92;
  stroke-dasharray: .8 7.4;
  filter: drop-shadow(0 0 3px rgba(93, 229, 247, .3));
  animation: qch-ring-spin 34s linear infinite;
}

body.tf-workspace .holo-intro .qch-fine-ring--scan {
  stroke: rgba(189, 248, 255, .88);
  stroke-width: 1.35;
  stroke-dasharray: 64 426;
  filter: drop-shadow(0 0 5px rgba(83, 225, 246, .58));
  animation: qch-ring-spin 7.2s linear infinite reverse;
}

body.tf-workspace .holo-intro .qch-seal {
  position: relative;
  z-index: 4;
  width: 52%;
  height: 52%;
  color: var(--qch-ice);
  filter: drop-shadow(0 0 8px rgba(244, 255, 255, .95)) drop-shadow(0 0 32px rgba(102, 235, 252, .62));
  animation: qch-seal-breathe 4.8s ease-in-out infinite;
}

body.tf-workspace .holo-intro .qch-orbit-button {
  --qch-button-color: var(--qch-cyan-soft);
  position: absolute;
  z-index: 6;
  width: clamp(94px, 7.6vw, 108px);
  height: clamp(94px, 7.6vw, 108px);
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(192, 247, 254, .56);
  border-radius: 50%;
  color: var(--qch-ice);
  background: radial-gradient(circle at 38% 28%, rgba(239, 255, 255, .15), transparent 24%), rgba(125, 236, 249, .035);
  box-shadow: inset 0 0 16px rgba(211, 251, 255, .1), 0 0 19px rgba(98, 228, 246, .24);
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: border-color .1s ease, color .1s ease, background .1s ease, box-shadow .12s ease;
  touch-action: manipulation;
}

body.tf-workspace .holo-intro .qch-orbit-button svg {
  width: 46%;
  height: 46%;
  filter: drop-shadow(0 0 7px rgba(223, 253, 255, .76));
  transform: scale(1);
  transition: transform .11s cubic-bezier(.2, .82, .2, 1), filter .11s ease;
}
body.tf-workspace .holo-intro .qch-button--performance { left: 39.2%; top: 27%; }
body.tf-workspace .holo-intro .qch-button--clients { left: 63.7%; top: 29.8%; }
body.tf-workspace .holo-intro .qch-button--improvement { left: 72.35%; top: 54.22%; }
body.tf-workspace .holo-intro .qch-button--audit { left: 58.62%; top: 73.23%; }
body.tf-workspace .holo-intro .qch-button--documents { left: 34.51%; top: 68.04%; }
body.tf-workspace .holo-intro .qch-button--compliance { left: 28.7%; top: 44.8%; }

body.tf-workspace .holo-intro .qch-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@keyframes qch-ring-spin { to { transform: rotate(360deg); } }
@keyframes qch-ring-breathe { 0%, 100% { opacity: .32; } 50% { opacity: .76; } }
@keyframes qch-drift { to { transform: translate3d(var(--qch-dx), var(--qch-dy), 0); opacity: .28; } }
@keyframes qch-point-pulse { 0%, 100% { opacity: .35; transform: scale(.7); } 50% { opacity: 1; transform: scale(1.25); } }
@keyframes qch-seal-pulse { 0% { transform: scale(1); } 40% { transform: scale(1.08); } 100% { transform: scale(1); } }
@keyframes qch-seal-breathe { 0%, 100% { opacity: .88; transform: scale(.985); } 50% { opacity: 1; transform: scale(1.015); } }

@media (min-width: 921px) {
  body.tf-workspace .holo-intro.qch-scene-active .qch-projection {
    width: 100vw;
    height: 100svh;
    min-height: 560px;
    max-height: none;
    background:
      radial-gradient(circle at 50% 50%, rgba(9, 49, 64, .12) 0 18%, rgba(7, 37, 52, .04) 42%, transparent 70%);
  }

  body.tf-workspace .holo-intro.qch-scene-active .qch-quality-emblem {
    width: 384px;
  }

  body.tf-workspace .holo-intro.qch-scene-active .qch-orbit-button {
    width: 108px;
    height: 108px;
  }
}
@media (max-width: 720px) {
  body.tf-workspace .holo-intro .qch-projection {
    --qch-net-size: clamp(300px, 90vw, 390px);
    min-height: clamp(520px, 143vw, 620px);
    background: radial-gradient(circle, rgba(4, 35, 49, .28) 0 20%, rgba(5, 40, 54, .08) 46%, transparent 68%);
  }

  body.tf-workspace .holo-intro .qch-network {
    inset: auto;
    left: 50%;
    top: 50%;
    width: var(--qch-net-size);
    height: var(--qch-net-size);
    transform: translate(-50%, -50%);
  }

  body.tf-workspace .holo-intro .qch-quality-emblem {
    width: clamp(128px, 38vw, 158px);
  }

  body.tf-workspace .holo-intro .qch-orbit-button { width: 52px; height: 52px; }
  body.tf-workspace .holo-intro .qch-button--performance { left: calc(50% - (var(--qch-net-size) * .15)); top: calc(50% - (var(--qch-net-size) * .3184)); }
  body.tf-workspace .holo-intro .qch-button--clients { left: calc(50% + (var(--qch-net-size) * .19)); top: calc(50% - (var(--qch-net-size) * .2789)); }
  body.tf-workspace .holo-intro .qch-button--improvement { left: calc(50% + (var(--qch-net-size) * .31)); top: calc(50% + (var(--qch-net-size) * .0592)); }
  body.tf-workspace .holo-intro .qch-button--audit { left: calc(50% + (var(--qch-net-size) * .12)); top: calc(50% + (var(--qch-net-size) * .3224)); }
  body.tf-workspace .holo-intro .qch-button--documents { left: calc(50% - (var(--qch-net-size) * .215)); top: calc(50% + (var(--qch-net-size) * .25)); }
  body.tf-workspace .holo-intro .qch-button--compliance { left: calc(50% - (var(--qch-net-size) * .295)); top: calc(50% - (var(--qch-net-size) * .0724)); }
}

@media (max-width: 370px) {
  body.tf-workspace .holo-intro .qch-projection { --qch-net-size: 292px; min-height: 500px; }
  body.tf-workspace .holo-intro .qch-orbit-button { width: 48px; height: 48px; }
}

/* Adaptación decorativa: el mecanismo no ofrece controles ni rótulos. */
body.tf-workspace .holo-intro .qch-orbit-button {
  cursor: default;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  body.tf-workspace .holo-intro .qch-projection *,
  body.tf-workspace .holo-intro .qch-projection *::before,
  body.tf-workspace .holo-intro .qch-projection *::after {
    animation: none !important;
    transition: none !important;
  }
}
