/* COZMO_INTELLIGENCE_THEATRE_STYLES:BEGIN */
.cozmo-intelligence,
.cozmo-intelligence *,
.cozmo-intelligence *::before,
.cozmo-intelligence *::after,
.cozmo-intelligence-checkpoint,
.cozmo-intelligence-checkpoint *,
.cozmo-intelligence-checkpoint *::before,
.cozmo-intelligence-checkpoint *::after {
  box-sizing: border-box;
}

.cozmo-intelligence {
  --cozmo-blue: #1e90ff;
  --cozmo-cyan: #65d8ff;
  --cozmo-ice: #dff7ff;
  --cozmo-gold: #ffc857;
  --cozmo-green: #35d59a;
  --cozmo-red: #ff7785;
  --cozmo-ink: #07101f;
  --cozmo-panel: rgba(10, 20, 39, 0.76);
  --cozmo-panel-strong: rgba(8, 17, 34, 0.94);
  --cozmo-border: rgba(109, 205, 255, 0.2);
  --cozmo-border-soft: rgba(255, 255, 255, 0.09);
  --cozmo-text: #f4f9ff;
  --cozmo-muted: #adc1d8;
  --cozmo-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  --cozmo-radius: 28px;
  --cozmo-pointer-x: 50%;
  --cozmo-pointer-y: 35%;
  position: relative;
  isolation: isolate;
  width: 100%;
  margin: 0 auto 4rem;
  color: var(--cozmo-text);
  color-scheme: dark;
  font-family: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.cozmo-intelligence::before {
  content: "";
  position: absolute;
  z-index: -3;
  inset: -3rem -1rem;
  border-radius: 34px;
  background:
    radial-gradient(circle at var(--cozmo-pointer-x) var(--cozmo-pointer-y), rgba(30, 144, 255, 0.14), transparent 28%),
    radial-gradient(circle at 92% 18%, rgba(101, 216, 255, 0.1), transparent 24%),
    linear-gradient(180deg, rgba(7, 16, 31, 0.92), rgba(10, 18, 36, 0.46) 48%, rgba(7, 16, 31, 0.9));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035);
}

.cozmo-intelligence::after {
  content: "";
  position: absolute;
  z-index: -2;
  inset: -2rem 0;
  opacity: 0.35;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(75, 169, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(75, 169, 255, 0.07) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent);
}

.cozmo-intelligence button,
.cozmo-intelligence a,
.cozmo-intelligence input {
  font: inherit;
}

.cozmo-intelligence button {
  color: inherit;
}

.cozmo-intelligence h2,
.cozmo-intelligence h3,
.cozmo-intelligence h4,
.cozmo-intelligence h5,
.cozmo-intelligence p,
.cozmo-intelligence ol,
.cozmo-intelligence ul,
.cozmo-intelligence dl,
.cozmo-intelligence dt,
.cozmo-intelligence dd,
.cozmo-intelligence-checkpoint h2,
.cozmo-intelligence-checkpoint p,
.cozmo-intelligence-checkpoint span {
  margin: 0;
}

.cozmo-intelligence h2,
.cozmo-intelligence h3,
.cozmo-intelligence h4,
.cozmo-intelligence h5 {
  display: block;
  padding: 0;
  border-radius: 0;
  background: none;
  text-align: inherit;
  font-family: "Montserrat", "Roboto", sans-serif;
  letter-spacing: -0.035em;
}

.cozmo-intelligence ul,
.cozmo-intelligence ol {
  padding: 0;
  list-style: none;
}

.cozmo-intelligence__ambient {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.cozmo-intelligence__ambient::before,
.cozmo-intelligence__ambient::after {
  content: "";
  position: absolute;
  width: 22rem;
  height: 22rem;
  border-radius: 999px;
  filter: blur(55px);
  opacity: 0.18;
}

.cozmo-intelligence__ambient::before {
  top: 8rem;
  left: -10rem;
  background: var(--cozmo-blue);
}

.cozmo-intelligence__ambient::after {
  top: 44rem;
  right: -12rem;
  background: var(--cozmo-cyan);
}

.cozmo-intelligence__hero {
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(2.7rem, 7vw, 5.8rem) 1rem clamp(2.2rem, 5vw, 4rem);
  text-align: center;
}

.cozmo-intelligence__preview-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.15rem !important;
  padding: 0.46rem 0.76rem;
  border: 1px solid rgba(101, 216, 255, 0.24);
  border-radius: 999px;
  background: rgba(101, 216, 255, 0.055);
  color: #c8edff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.cozmo-intelligence__preview-label span {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 999px;
  background: var(--cozmo-green);
  box-shadow: 0 0 0 5px rgba(53, 213, 154, 0.12), 0 0 20px rgba(53, 213, 154, 0.45);
}

.cozmo-intelligence__kicker,
.cozmo-intelligence__chapter-number {
  color: var(--cozmo-cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.cozmo-intelligence__hero h2 {
  max-width: 850px;
  margin: 0.7rem auto 1rem;
  color: var(--cozmo-text);
  font-size: clamp(2.15rem, 6vw, 4.85rem);
  font-weight: 900;
  line-height: 0.98;
  text-wrap: balance;
}

.cozmo-intelligence__lede {
  max-width: 790px;
  margin: 0 auto !important;
  color: var(--cozmo-muted);
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  line-height: 1.7;
  text-wrap: pretty;
}

.cozmo-intelligence__loop {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  max-width: 850px;
  margin: 2rem auto 1.4rem !important;
}

.cozmo-intelligence__loop::before {
  content: "";
  position: absolute;
  top: 1.08rem;
  right: 10%;
  left: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(101, 216, 255, 0.58), transparent);
}

.cozmo-intelligence__loop li {
  position: relative;
  z-index: 1;
  min-width: 0;
  opacity: 0.48;
  transition: opacity 220ms ease, transform 220ms ease;
}

.cozmo-intelligence__loop li.is-active {
  opacity: 1;
  transform: translateY(-2px);
}

.cozmo-intelligence__loop li.is-active::before {
  background: var(--cozmo-blue);
  border-color: #d9f7ff;
}

.cozmo-intelligence__loop li::before {
  content: "";
  display: block;
  width: 0.72rem;
  height: 0.72rem;
  margin: 0.7rem auto 0.72rem;
  border: 2px solid #b8edff;
  border-radius: 999px;
  background: #0b1930;
  box-shadow: 0 0 0 6px rgba(30, 144, 255, 0.11), 0 0 22px rgba(30, 144, 255, 0.32);
}

.cozmo-intelligence__loop span,
.cozmo-intelligence__loop small {
  display: block;
}

.cozmo-intelligence__loop span {
  color: #fff;
  font-weight: 900;
}

.cozmo-intelligence__loop small {
  margin-top: 0.2rem;
  color: var(--cozmo-muted);
  font-size: 0.78rem;
}

.cozmo-intelligence__access-note {
  max-width: 760px;
  margin: 1.45rem auto 0 !important;
  color: #9fb5cc;
  font-size: 0.9rem;
  line-height: 1.6;
}

.cozmo-intelligence__access-note strong {
  color: #e9f6ff;
}

.cozmo-intelligence__chapter {
  position: relative;
  margin: 0 auto clamp(2rem, 6vw, 5rem);
  padding: clamp(1.15rem, 3vw, 2rem);
  border: 1px solid var(--cozmo-border);
  border-radius: var(--cozmo-radius);
  background:
    radial-gradient(circle at 80% 0%, rgba(30, 144, 255, 0.12), transparent 30%),
    linear-gradient(145deg, rgba(13, 25, 47, 0.92), rgba(7, 14, 28, 0.88));
  box-shadow: var(--cozmo-shadow);
  overflow: hidden;
  content-visibility: auto;
  contain-intrinsic-size: 900px;
}

.cozmo-intelligence__chapter::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.055), transparent 24%, transparent 78%, rgba(101, 216, 255, 0.04));
}

.cozmo-intelligence__chapter-heading {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto clamp(1.3rem, 3vw, 2.2rem);
  text-align: center;
}

.cozmo-intelligence__chapter-heading h3 {
  margin: 0.48rem 0 0.75rem;
  color: var(--cozmo-text);
  font-size: clamp(1.7rem, 4.1vw, 3.2rem);
  font-weight: 900;
  line-height: 1.04;
  text-wrap: balance;
}

.cozmo-intelligence__chapter-heading > p:last-child {
  color: var(--cozmo-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.cozmo-intelligence__decision-shell,
.cozmo-intelligence__ask-stage,
.cozmo-intelligence__reactor,
.cozmo-intelligence__timefold {
  position: relative;
  z-index: 2;
}

.cozmo-intelligence__mode-switch,
.cozmo-intelligence__output-switch,
.cozmo-intelligence__validation-switch {
  display: inline-flex;
  gap: 0.35rem;
  padding: 0.3rem;
  border: 1px solid var(--cozmo-border-soft);
  border-radius: 999px;
  background: rgba(4, 10, 22, 0.64);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.cozmo-intelligence__mode-switch {
  display: flex;
  width: fit-content;
  margin: 0 auto 1rem;
}

.cozmo-intelligence__mode-switch button,
.cozmo-intelligence__output-switch button,
.cozmo-intelligence__validation-switch button {
  min-height: 40px;
  padding: 0.62rem 0.88rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--cozmo-muted);
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 850;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.cozmo-intelligence__mode-switch button[aria-pressed="true"],
.cozmo-intelligence__output-switch button[aria-pressed="true"],
.cozmo-intelligence__validation-switch button[aria-pressed="true"] {
  background: linear-gradient(135deg, rgba(30, 144, 255, 0.95), rgba(36, 185, 239, 0.9));
  color: #fff;
  box-shadow: 0 8px 22px rgba(30, 144, 255, 0.25);
}

.cozmo-intelligence__mode-switch button:hover,
.cozmo-intelligence__output-switch button:hover,
.cozmo-intelligence__validation-switch button:hover {
  color: #fff;
}

.cozmo-intelligence button:focus-visible,
.cozmo-intelligence a:focus-visible,
.cozmo-intelligence input:focus-visible {
  outline: 3px solid rgba(101, 216, 255, 0.38);
  outline-offset: 3px;
}

.cozmo-intelligence__decision-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.7fr);
  gap: 1rem;
  align-items: stretch;
}

.cozmo-intelligence__constellation {
  --constellation-tilt-x: 0deg;
  --constellation-tilt-y: 0deg;
  position: relative;
  min-height: 580px;
  overflow: hidden;
  border: 1px solid rgba(101, 216, 255, 0.16);
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 50%, rgba(30, 144, 255, 0.18), transparent 13%),
    radial-gradient(circle at 50% 50%, rgba(101, 216, 255, 0.055), transparent 45%),
    linear-gradient(180deg, rgba(3, 9, 21, 0.75), rgba(8, 17, 32, 0.94));
  transform: perspective(1100px) rotateX(var(--constellation-tilt-y)) rotateY(var(--constellation-tilt-x));
  transform-style: preserve-3d;
  transition: transform 160ms ease-out;
}

.cozmo-intelligence__constellation::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.5;
  pointer-events: none;
  background:
    radial-gradient(circle at 23% 32%, rgba(255, 255, 255, 0.7) 0 1px, transparent 1.8px),
    radial-gradient(circle at 72% 20%, rgba(255, 255, 255, 0.5) 0 1px, transparent 1.8px),
    radial-gradient(circle at 88% 65%, rgba(101, 216, 255, 0.55) 0 1px, transparent 1.8px),
    radial-gradient(circle at 14% 78%, rgba(101, 216, 255, 0.45) 0 1px, transparent 1.8px);
}

.cozmo-intelligence__grid-field {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  opacity: 0.38;
  transform: perspective(700px) rotateX(66deg) translateY(28%);
  background-image:
    linear-gradient(rgba(75, 169, 255, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(75, 169, 255, 0.13) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(ellipse, #000 34%, transparent 72%);
}

.cozmo-intelligence__constellation-canvas,
.cozmo-intelligence__evidence-canvas {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.cozmo-intelligence__core {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  display: grid;
  width: 118px;
  height: 118px;
  place-items: center;
  border: 1px solid rgba(101, 216, 255, 0.48);
  border-radius: 999px;
  background: radial-gradient(circle at 36% 28%, #e5f8ff, #1e90ff 18%, #0b2f5f 55%, rgba(2, 9, 20, 0.2) 72%);
  transform: translate(-50%, -50%) translateZ(70px);
  box-shadow:
    0 0 0 16px rgba(30, 144, 255, 0.05),
    0 0 0 36px rgba(30, 144, 255, 0.025),
    0 0 65px rgba(30, 144, 255, 0.42);
}

.cozmo-intelligence__core-ring {
  position: absolute;
  inset: -16px;
  border: 1px dashed rgba(101, 216, 255, 0.42);
  border-radius: inherit;
  animation: cozmoIntelligenceSpin 16s linear infinite;
}

.cozmo-intelligence__core-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  background: rgba(3, 14, 29, 0.78);
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.cozmo-intelligence__core small {
  position: absolute;
  top: calc(100% + 0.65rem);
  width: max-content;
  color: #bfeaff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cozmo-intelligence__node {
  position: absolute;
  z-index: 5;
  display: grid;
  min-width: 128px;
  min-height: 66px;
  place-items: center;
  padding: 0.72rem 0.82rem;
  border: 1px solid rgba(101, 216, 255, 0.22);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(18, 38, 70, 0.9), rgba(7, 17, 34, 0.92));
  color: #fff;
  cursor: pointer;
  transform: translate(-50%, -50%) scale(var(--node-scale, 1)) translateZ(var(--node-depth, 0px));
  opacity: var(--node-opacity, 1);
  box-shadow: 0 13px 35px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.055);
  transition:
    top 720ms cubic-bezier(0.2, 0.75, 0.2, 1),
    left 720ms cubic-bezier(0.2, 0.75, 0.2, 1),
    transform 720ms cubic-bezier(0.2, 0.75, 0.2, 1),
    opacity 520ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.cozmo-intelligence__node span,
.cozmo-intelligence__node small {
  display: block;
}

.cozmo-intelligence__node span {
  font-size: 0.88rem;
  font-weight: 900;
}

.cozmo-intelligence__node small {
  margin-top: 0.2rem;
  color: var(--cozmo-muted);
  font-size: 0.68rem;
}

.cozmo-intelligence__node::before,
.cozmo-intelligence__node::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.cozmo-intelligence__node::before {
  inset: -6px;
  border: 1px solid transparent;
  border-radius: 22px;
}

.cozmo-intelligence__node.is-healthy::before {
  border-color: rgba(53, 213, 154, 0.48);
  box-shadow: 0 0 20px rgba(53, 213, 154, 0.09);
}

.cozmo-intelligence__node.is-fractured::after {
  inset: 6px;
  opacity: 0;
  background:
    linear-gradient(118deg, transparent 42%, rgba(255, 119, 133, 0.62) 43% 44%, transparent 45%),
    linear-gradient(56deg, transparent 56%, rgba(255, 119, 133, 0.45) 57% 58%, transparent 59%);
  transition: opacity 280ms ease;
}

.cozmo-intelligence__constellation[data-mode="enhanced"] .cozmo-intelligence__node.is-fractured::after {
  opacity: 0.62;
}

.cozmo-intelligence__node:hover,
.cozmo-intelligence__node:focus-visible,
.cozmo-intelligence__node.is-selected {
  border-color: rgba(157, 230, 255, 0.78);
  box-shadow: 0 0 0 4px rgba(30, 144, 255, 0.1), 0 20px 45px rgba(30, 144, 255, 0.24);
}

.cozmo-intelligence__node.is-selected {
  z-index: 8;
}

.cozmo-intelligence__constellation[data-mode="raw"] .cozmo-intelligence__node {
  --node-scale: 1;
  --node-depth: 0px;
  --node-opacity: 0.92;
}

.cozmo-intelligence__constellation[data-mode="raw"] .cozmo-intelligence__node--home { left: 15%; top: 24%; }
.cozmo-intelligence__constellation[data-mode="raw"] .cozmo-intelligence__node--product { left: 46%; top: 16%; }
.cozmo-intelligence__constellation[data-mode="raw"] .cozmo-intelligence__node--service { left: 79%; top: 24%; }
.cozmo-intelligence__constellation[data-mode="raw"] .cozmo-intelligence__node--pricing { left: 82%; top: 65%; }
.cozmo-intelligence__constellation[data-mode="raw"] .cozmo-intelligence__node--article { left: 52%; top: 82%; }
.cozmo-intelligence__constellation[data-mode="raw"] .cozmo-intelligence__node--contact { left: 17%; top: 70%; }
.cozmo-intelligence__constellation[data-mode="raw"] .cozmo-intelligence__node--policy { left: 48%; top: 50%; }

.cozmo-intelligence__constellation[data-mode="enhanced"] .cozmo-intelligence__node--home { left: 17%; top: 25%; --node-scale: 0.92; --node-depth: -10px; --node-opacity: 0.78; }
.cozmo-intelligence__constellation[data-mode="enhanced"] .cozmo-intelligence__node--product { left: 63%; top: 28%; --node-scale: 1.08; --node-depth: 36px; --node-opacity: 1; }
.cozmo-intelligence__constellation[data-mode="enhanced"] .cozmo-intelligence__node--service { left: 79%; top: 50%; --node-scale: 0.98; --node-depth: 12px; --node-opacity: 0.9; }
.cozmo-intelligence__constellation[data-mode="enhanced"] .cozmo-intelligence__node--pricing { left: 58%; top: 62%; --node-scale: 1.2; --node-depth: 62px; --node-opacity: 1; }
.cozmo-intelligence__constellation[data-mode="enhanced"] .cozmo-intelligence__node--article { left: 34%; top: 72%; --node-scale: 1.03; --node-depth: 22px; --node-opacity: 0.96; }
.cozmo-intelligence__constellation[data-mode="enhanced"] .cozmo-intelligence__node--contact { left: 19%; top: 52%; --node-scale: 0.86; --node-depth: -20px; --node-opacity: 0.68; }
.cozmo-intelligence__constellation[data-mode="enhanced"] .cozmo-intelligence__node--policy { left: 45%; top: 14%; --node-scale: 0.78; --node-depth: -30px; --node-opacity: 0.54; }

.cozmo-intelligence__decision-panel {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.cozmo-intelligence__status-stack,
.cozmo-intelligence__page-readout {
  border: 1px solid var(--cozmo-border-soft);
  border-radius: 20px;
  background: rgba(5, 13, 27, 0.68);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.cozmo-intelligence__status-stack {
  display: grid;
  gap: 0.72rem;
  padding: 1rem;
}

.cozmo-intelligence__status-stack span {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #c9d8e8;
  font-size: 0.82rem;
  font-weight: 750;
}

.cozmo-intelligence__status-stack i {
  width: 0.62rem;
  height: 0.62rem;
  flex: 0 0 auto;
  border: 2px solid rgba(101, 216, 255, 0.3);
  border-top-color: var(--cozmo-cyan);
  border-radius: 999px;
  animation: cozmoIntelligenceSpin 2.8s linear infinite;
}

.cozmo-intelligence__status-stack span:last-child i {
  border: 0;
  background: var(--cozmo-green);
  box-shadow: 0 0 0 5px rgba(53, 213, 154, 0.1);
  animation: none;
}

[data-decision-shell][data-mode="raw"] .cozmo-intelligence__status-stack span:not(:first-child) {
  opacity: 0.34;
}

[data-decision-shell][data-mode="raw"] .cozmo-intelligence__status-stack span:not(:first-child) i {
  background: transparent;
  box-shadow: none;
  animation: none;
}

.cozmo-intelligence__page-readout {
  padding: 1.2rem;
}

.cozmo-intelligence__page-readout > p:first-child,
.cozmo-intelligence__evidence-card header p,
.cozmo-intelligence__reactor-readout article > p:first-child {
  color: var(--cozmo-cyan);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cozmo-intelligence__page-readout h4,
.cozmo-intelligence__evidence-card h4,
.cozmo-intelligence__reactor-readout h4 {
  margin-top: 0.35rem;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 900;
}

.cozmo-intelligence__priority-pill {
  display: inline-flex;
  margin: 0.75rem 0;
  padding: 0.32rem 0.55rem;
  border: 1px solid rgba(255, 200, 87, 0.32);
  border-radius: 999px;
  background: rgba(255, 200, 87, 0.08);
  color: #ffe2a6;
  font-size: 0.72rem;
  font-weight: 850;
}

.cozmo-intelligence__page-readout > p:nth-of-type(2) {
  color: var(--cozmo-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.cozmo-intelligence__page-readout dl {
  display: grid;
  gap: 0.7rem;
  margin-top: 1rem;
}

.cozmo-intelligence__page-readout dl div {
  padding-top: 0.65rem;
  border-top: 1px solid var(--cozmo-border-soft);
}

.cozmo-intelligence__page-readout dt {
  color: #7f95ac;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.cozmo-intelligence__page-readout dd {
  margin-top: 0.16rem;
  color: #e8f4ff;
  font-size: 0.84rem;
  line-height: 1.45;
}

/* Ask the audit */
.cozmo-intelligence__ask-stage {
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(0, 1.34fr);
  gap: 1rem;
  align-items: stretch;
}

.cozmo-intelligence__ask-map-column,
.cozmo-intelligence__console {
  position: relative;
  z-index: 3;
}

.cozmo-intelligence__ask-map-column {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.cozmo-intelligence__ask-map {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  border: 1px solid rgba(101, 216, 255, 0.15);
  border-radius: 22px;
  background:
    radial-gradient(circle at center, rgba(30, 144, 255, 0.14), transparent 18%),
    linear-gradient(180deg, rgba(4, 11, 24, 0.78), rgba(8, 17, 34, 0.9));
}

.cozmo-intelligence__ask-map::before {
  content: "";
  position: absolute;
  inset: 7%;
  border: 1px solid rgba(101, 216, 255, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(101, 216, 255, 0.018), 0 0 0 110px rgba(101, 216, 255, 0.012);
}

.cozmo-intelligence__ask-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  border: 1px solid rgba(101, 216, 255, 0.38);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #dff7ff, #1e90ff 22%, #0a2850 68%);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 34px rgba(30, 144, 255, 0.32);
}

.cozmo-intelligence__ask-core span {
  display: grid;
  padding: 0.3rem 0.48rem;
  border-radius: 8px;
  background: rgba(4, 12, 26, 0.76);
  font-size: 0.72rem;
  font-weight: 900;
}

.cozmo-intelligence__ask-map button {
  position: absolute;
  z-index: 2;
  min-height: 38px;
  padding: 0.48rem 0.66rem;
  border: 1px solid rgba(101, 216, 255, 0.2);
  border-radius: 12px;
  background: rgba(12, 29, 53, 0.9);
  color: #c9dded;
  cursor: pointer;
  font-size: 0.74rem;
  font-weight: 850;
  transform: translate(-50%, -50%);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, opacity 180ms ease;
}

.cozmo-intelligence__ask-map button:hover,
.cozmo-intelligence__ask-map button:focus-visible,
.cozmo-intelligence__ask-map button.is-selected,
.cozmo-intelligence__ask-map button.is-evidence-target {
  z-index: 4;
  border-color: rgba(157, 230, 255, 0.84);
  background: rgba(24, 77, 125, 0.95);
  color: #fff;
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 0 0 4px rgba(30, 144, 255, 0.1), 0 0 24px rgba(30, 144, 255, 0.28);
}

.cozmo-intelligence__ask-map button[data-ask-page="home"] { left: 18%; top: 23%; }
.cozmo-intelligence__ask-map button[data-ask-page="product"] { left: 51%; top: 15%; }
.cozmo-intelligence__ask-map button[data-ask-page="service"] { left: 82%; top: 26%; }
.cozmo-intelligence__ask-map button[data-ask-page="pricing"] { left: 76%; top: 68%; }
.cozmo-intelligence__ask-map button[data-ask-page="article"] { left: 49%; top: 84%; }
.cozmo-intelligence__ask-map button[data-ask-page="contact"] { left: 16%; top: 70%; }
.cozmo-intelligence__ask-map button[data-ask-page="policy"] { left: 24%; top: 47%; }

.cozmo-intelligence__evidence-card {
  padding: 1.15rem;
  border: 1px solid var(--cozmo-border-soft);
  border-radius: 20px;
  background: rgba(5, 13, 27, 0.74);
}

.cozmo-intelligence__evidence-card header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.cozmo-intelligence__evidence-card header > span {
  display: inline-flex;
  padding: 0.32rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 200, 87, 0.12);
  color: #ffe3a8;
  font-size: 0.72rem;
  font-weight: 900;
}

.cozmo-intelligence__evidence-card > p:not(.cozmo-intelligence__evidence-scope) {
  margin-top: 0.75rem;
  color: var(--cozmo-muted);
  font-size: 0.88rem;
  line-height: 1.56;
}

.cozmo-intelligence__evidence-card ul {
  display: grid;
  gap: 0.48rem;
  margin-top: 0.8rem !important;
}

.cozmo-intelligence__evidence-card li {
  position: relative;
  margin: 0;
  padding: 0.52rem 0.58rem 0.52rem 1.5rem;
  border: 1px solid var(--cozmo-border-soft);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  color: #c8d9e8;
  font-size: 0.78rem;
  line-height: 1.4;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.cozmo-intelligence__evidence-card li::before {
  content: "";
  position: absolute;
  top: 0.82rem;
  left: 0.62rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--cozmo-cyan);
  box-shadow: 0 0 12px rgba(101, 216, 255, 0.55);
}

.cozmo-intelligence__evidence-card li.is-evidence-target {
  border-color: rgba(101, 216, 255, 0.52);
  background: rgba(30, 144, 255, 0.1);
  transform: translateX(4px);
}

.cozmo-intelligence__evidence-scope {
  margin-top: 0.8rem !important;
  color: #7890a8;
  font-size: 0.7rem;
  font-weight: 750;
}

.cozmo-intelligence__console {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(101, 216, 255, 0.19);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(8, 17, 33, 0.97), rgba(4, 10, 22, 0.94));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.cozmo-intelligence__console-topbar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  min-height: 48px;
  padding: 0.72rem 1rem;
  border-bottom: 1px solid var(--cozmo-border-soft);
  background: rgba(255, 255, 255, 0.025);
  color: #9fb5ca;
  font-size: 0.72rem;
  font-weight: 800;
}

.cozmo-intelligence__console-topbar > div {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  color: #d8f4ff;
}

.cozmo-intelligence__connected-dot {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: var(--cozmo-green);
  box-shadow: 0 0 0 5px rgba(53, 213, 154, 0.1), 0 0 15px rgba(53, 213, 154, 0.46);
}

.cozmo-intelligence__console-control {
  padding: 0.85rem 1rem 0;
}

.cozmo-intelligence__console-control > span {
  display: block;
  margin-bottom: 0.52rem;
  color: #8198af;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.cozmo-intelligence__role-selector,
.cozmo-intelligence__question-rail {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
  padding: 0.15rem 0 0.4rem;
}

.cozmo-intelligence__role-selector button,
.cozmo-intelligence__question-rail button {
  flex: 0 0 auto;
  min-height: 38px;
  border: 1px solid var(--cozmo-border-soft);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.028);
  color: #a9bdd1;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 800;
  scroll-snap-align: start;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.cozmo-intelligence__role-selector button {
  padding: 0.55rem 0.76rem;
}

.cozmo-intelligence__question-rail button {
  max-width: 240px;
  padding: 0.55rem 0.82rem;
  text-align: left;
}

.cozmo-intelligence__role-selector button:hover,
.cozmo-intelligence__question-rail button:hover,
.cozmo-intelligence__role-selector button[aria-pressed="true"],
.cozmo-intelligence__question-rail button[aria-pressed="true"] {
  border-color: rgba(101, 216, 255, 0.42);
  background: rgba(30, 144, 255, 0.12);
  color: #e8f7ff;
}

.cozmo-intelligence__conversation {
  display: grid;
  gap: 0.7rem;
  padding: 0.9rem 1rem 0;
}

.cozmo-intelligence__message {
  min-width: 0;
  border: 1px solid var(--cozmo-border-soft);
  border-radius: 16px;
}

.cozmo-intelligence__message--user {
  justify-self: end;
  max-width: 82%;
  padding: 0.72rem 0.82rem;
  background: rgba(30, 144, 255, 0.11);
}

.cozmo-intelligence__message--user span,
.cozmo-intelligence__message-heading > span {
  color: var(--cozmo-cyan);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cozmo-intelligence__message--user p {
  margin-top: 0.2rem;
  color: #e5f5ff;
  font-size: 0.84rem;
  line-height: 1.45;
}

.cozmo-intelligence__message--cozmo {
  padding: 0.92rem;
  background: rgba(255, 255, 255, 0.028);
}

.cozmo-intelligence__message-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.cozmo-intelligence__message-heading small {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  color: #7f97af;
  font-size: 0.66rem;
  font-weight: 750;
}

.cozmo-intelligence__message-heading small i {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--cozmo-green);
}

.cozmo-intelligence__answer-lead {
  margin-top: 0.62rem !important;
  color: #d7e7f5;
  font-size: 0.9rem;
  line-height: 1.58;
}

.cozmo-intelligence__evidence-link {
  display: inline;
  padding: 0;
  border: 0;
  border-bottom: 1px dashed rgba(101, 216, 255, 0.72);
  background: none;
  color: #b8ecff;
  cursor: pointer;
  font-weight: 850;
}

.cozmo-intelligence__evidence-link:hover,
.cozmo-intelligence__evidence-link:focus-visible {
  color: #fff;
  border-bottom-color: #fff;
}

.cozmo-intelligence__answer-layout {
  display: grid;
  gap: 0.58rem;
  margin-top: 0.72rem;
}

.cozmo-intelligence__answer-layout[data-view="explain"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cozmo-intelligence__answer-layout[data-view="explain"] article:first-child {
  grid-column: 1 / -1;
}

.cozmo-intelligence__answer-layout[data-view="plan"] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cozmo-intelligence__answer-layout[data-view="tasks"] {
  grid-template-columns: 1fr;
}

.cozmo-intelligence__answer-layout article {
  min-width: 0;
  padding: 0.72rem;
  border: 1px solid var(--cozmo-border-soft);
  border-radius: 13px;
  background: rgba(3, 10, 22, 0.52);
  transform-origin: center;
}

.cozmo-intelligence__answer-layout[data-view="tasks"] article {
  display: grid;
  grid-template-columns: minmax(110px, 0.28fr) minmax(0, 1fr) auto;
  gap: 0.8rem;
  align-items: center;
}

.cozmo-intelligence__answer-layout h5 {
  color: #fff;
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.cozmo-intelligence__answer-layout p {
  margin-top: 0.3rem;
  color: #aabed0;
  font-size: 0.76rem;
  line-height: 1.48;
}

.cozmo-intelligence__answer-layout small {
  display: block;
  margin-top: 0.42rem;
  color: #6f879f;
  font-size: 0.67rem;
  font-weight: 750;
}

.cozmo-intelligence__answer-layout[data-view="tasks"] article p,
.cozmo-intelligence__answer-layout[data-view="tasks"] article small {
  margin-top: 0;
}

.cozmo-intelligence__answer-layout[data-view="tasks"] article small {
  justify-self: end;
  padding: 0.26rem 0.45rem;
  border-radius: 999px;
  background: rgba(30, 144, 255, 0.1);
  color: #bcecff;
  white-space: nowrap;
}

.cozmo-intelligence__output-switch {
  display: flex;
  width: fit-content;
  max-width: calc(100% - 2rem);
  margin: 0.85rem 1rem 0;
  overflow-x: auto;
}

.cozmo-intelligence__console-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  margin-top: 0.9rem;
  padding: 1rem;
  border-top: 1px solid var(--cozmo-border-soft);
  background: rgba(255, 255, 255, 0.018);
}

.cozmo-intelligence__console-footer p {
  color: #71889f;
  font-size: 0.69rem;
  line-height: 1.5;
}

.cozmo-intelligence__console-footer > div,
.cozmo-intelligence-checkpoint__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: flex-end;
}

.cozmo-intelligence__button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0.68rem 0.84rem;
  border: 1px solid transparent;
  border-radius: 11px;
  text-align: center;
  text-decoration: none !important;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.25;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.cozmo-intelligence__button--primary {
  background: linear-gradient(135deg, var(--cozmo-blue), #2cc5ef);
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(30, 144, 255, 0.24);
}

.cozmo-intelligence__button--secondary {
  border-color: rgba(101, 216, 255, 0.26);
  background: rgba(255, 255, 255, 0.04);
  color: #dff6ff !important;
}

.cozmo-intelligence__button:hover,
.cozmo-intelligence__button:focus-visible {
  transform: translateY(-2px);
}

/* Trust reactor */
.cozmo-intelligence__reactor {
  --reactor-progress: 8%;
  --reactor-bend: 0px;
  --reactor-angle: 0deg;
  overflow: hidden;
  padding: 1rem;
  border: 1px solid rgba(101, 216, 255, 0.16);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(4, 11, 23, 0.9), rgba(8, 16, 31, 0.94));
}

.cozmo-intelligence__reactor-beam {
  position: absolute;
  z-index: 0;
  top: 5.2rem;
  right: 8%;
  left: 8%;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(30, 144, 255, 0.16), rgba(101, 216, 255, 0.88), rgba(30, 144, 255, 0.16));
  transform: translateY(var(--reactor-bend)) rotate(var(--reactor-angle));
  box-shadow: 0 0 18px rgba(101, 216, 255, 0.36);
  transition: transform 160ms ease-out;
}

.cozmo-intelligence__reactor-packet {
  position: absolute;
  z-index: 4;
  top: 4.48rem;
  left: var(--reactor-progress);
  display: grid;
  width: 44px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(197, 241, 255, 0.72);
  border-radius: 9px;
  background: linear-gradient(135deg, #1e90ff, #66ddff);
  color: #fff;
  font-size: 0.52rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transform: translateX(-50%);
  box-shadow: 0 0 0 6px rgba(30, 144, 255, 0.08), 0 0 26px rgba(101, 216, 255, 0.5);
  transition: left 520ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.cozmo-intelligence__reactor-chambers {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.55rem;
}

.cozmo-intelligence__reactor-chambers button {
  min-width: 0;
  min-height: 128px;
  padding: 0.82rem 0.65rem;
  border: 1px solid var(--cozmo-border-soft);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  color: #9fb4c9;
  cursor: pointer;
  text-align: left;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.cozmo-intelligence__reactor-chambers button:hover,
.cozmo-intelligence__reactor-chambers button:focus-visible,
.cozmo-intelligence__reactor-chambers button.is-active {
  border-color: rgba(101, 216, 255, 0.46);
  background: linear-gradient(145deg, rgba(30, 144, 255, 0.12), rgba(255, 255, 255, 0.035));
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.2);
}

.cozmo-intelligence__reactor-chambers button span,
.cozmo-intelligence__reactor-chambers button strong,
.cozmo-intelligence__reactor-chambers button small {
  display: block;
}

.cozmo-intelligence__reactor-chambers button span {
  color: var(--cozmo-cyan);
  font-size: 0.68rem;
  font-weight: 900;
}

.cozmo-intelligence__reactor-chambers button strong {
  margin-top: 1.65rem;
  color: currentColor;
  font-size: 0.8rem;
  line-height: 1.35;
}

.cozmo-intelligence__reactor-chambers button small {
  margin-top: 0.25rem;
  color: #738ba3;
  font-size: 0.65rem;
}

.cozmo-intelligence__reactor-controls {
  display: grid;
  grid-template-columns: auto minmax(160px, 1fr) auto;
  gap: 0.8rem;
  align-items: center;
  margin-top: 1rem;
  padding: 0.8rem;
  border: 1px solid var(--cozmo-border-soft);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.02);
}

.cozmo-intelligence__reactor-controls label {
  color: #9bb0c4;
  font-size: 0.72rem;
  font-weight: 800;
}

.cozmo-intelligence__reactor-controls input,
.cozmo-intelligence__timefold-control input {
  width: 100%;
  accent-color: var(--cozmo-blue);
  cursor: pointer;
}

.cozmo-intelligence__reactor-readout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(300px, 1.12fr);
  gap: 0.8rem;
  margin-top: 0.8rem;
}

.cozmo-intelligence__reactor-readout > article,
.cozmo-intelligence__validation-vessel {
  min-width: 0;
  min-height: 270px;
  padding: 1rem;
  border: 1px solid var(--cozmo-border-soft);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.022);
}

.cozmo-intelligence__reactor-readout article > p:nth-of-type(2) {
  margin-top: 0.68rem;
  color: var(--cozmo-muted);
  font-size: 0.86rem;
  line-height: 1.58;
}

.cozmo-intelligence__reactor-readout ul {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.85rem !important;
}

.cozmo-intelligence__reactor-readout li {
  position: relative;
  margin: 0;
  padding-left: 1.1rem;
  color: #c5d6e5;
  font-size: 0.78rem;
  line-height: 1.45;
}

.cozmo-intelligence__reactor-readout li::before {
  content: "";
  position: absolute;
  top: 0.48rem;
  left: 0;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--cozmo-cyan);
}

.cozmo-intelligence__validation-vessel {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(30, 144, 255, 0.12), transparent 42%),
    rgba(255, 255, 255, 0.018);
}

.cozmo-intelligence__validation-vessel::before,
.cozmo-intelligence__validation-vessel::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(101, 216, 255, 0.12);
}

.cozmo-intelligence__validation-vessel::before { width: 230px; height: 230px; }
.cozmo-intelligence__validation-vessel::after { width: 160px; height: 160px; border-style: dashed; }

.cozmo-intelligence__raw-fragments,
.cozmo-intelligence__validated-action,
.cozmo-intelligence__rejected-fragments {
  position: relative;
  z-index: 2;
}

.cozmo-intelligence__raw-fragments {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
  max-width: 380px;
  transition: opacity 280ms ease, transform 280ms ease, filter 280ms ease;
}

.cozmo-intelligence__raw-fragments span {
  padding: 0.5rem 0.62rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
  color: #c3d3e2;
  font-size: 0.72rem;
  font-weight: 780;
}

.cozmo-intelligence__validated-action {
  position: absolute;
  display: grid;
  max-width: 320px;
  padding: 1rem;
  border: 1px solid rgba(53, 213, 154, 0.32);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(53, 213, 154, 0.1), rgba(30, 144, 255, 0.07));
  opacity: 0;
  transform: scale(0.88);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
  transition: opacity 340ms ease, transform 340ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.cozmo-intelligence__validated-action span {
  color: var(--cozmo-green);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cozmo-intelligence__validated-action strong {
  margin-top: 0.42rem;
  color: #fff;
  font-size: 0.9rem;
  line-height: 1.45;
}

.cozmo-intelligence__validated-action small {
  margin-top: 0.48rem;
  color: #8ca4ba;
  font-size: 0.68rem;
  line-height: 1.45;
}

.cozmo-intelligence__rejected-fragments {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cozmo-intelligence__rejected-fragments span {
  position: absolute;
  padding: 0.28rem 0.4rem;
  border: 1px solid rgba(255, 119, 133, 0.2);
  border-radius: 8px;
  background: rgba(255, 119, 133, 0.06);
  color: #d99aa2;
  font-size: 0.58rem;
  opacity: 0;
}

.cozmo-intelligence__rejected-fragments span:nth-child(1) { top: 16%; left: 9%; }
.cozmo-intelligence__rejected-fragments span:nth-child(2) { top: 24%; right: 9%; }
.cozmo-intelligence__rejected-fragments span:nth-child(3) { bottom: 18%; left: 13%; }
.cozmo-intelligence__rejected-fragments span:nth-child(4) { right: 12%; bottom: 15%; }

.cozmo-intelligence__reactor[data-reactor-mode="validated"] .cozmo-intelligence__raw-fragments {
  opacity: 0.08;
  filter: blur(4px);
  transform: scale(0.76);
}

.cozmo-intelligence__reactor[data-reactor-mode="validated"] .cozmo-intelligence__validated-action {
  opacity: 1;
  transform: scale(1);
}

.cozmo-intelligence__reactor[data-reactor-mode="validated"] .cozmo-intelligence__rejected-fragments span {
  animation: cozmoRejectedFragment 2.8s ease-in-out infinite;
}

.cozmo-intelligence__reactor[data-reactor-mode="validated"] .cozmo-intelligence__rejected-fragments span:nth-child(2) { animation-delay: 0.35s; }
.cozmo-intelligence__reactor[data-reactor-mode="validated"] .cozmo-intelligence__rejected-fragments span:nth-child(3) { animation-delay: 0.7s; }
.cozmo-intelligence__reactor[data-reactor-mode="validated"] .cozmo-intelligence__rejected-fragments span:nth-child(4) { animation-delay: 1.05s; }

.cozmo-intelligence__trust-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 0.9rem !important;
}

.cozmo-intelligence__trust-strip li {
  position: relative;
  margin: 0;
  padding: 0.72rem 0.62rem 0.72rem 1.75rem;
  border: 1px solid var(--cozmo-border-soft);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  color: #c4d5e4;
  font-size: 0.72rem;
  font-weight: 780;
  line-height: 1.4;
}

.cozmo-intelligence__trust-strip li::before {
  content: "✓";
  position: absolute;
  top: 0.72rem;
  left: 0.62rem;
  display: grid;
  width: 0.75rem;
  height: 0.75rem;
  place-items: center;
  border-radius: 50%;
  background: rgba(53, 213, 154, 0.12);
  color: var(--cozmo-green);
  font-size: 0.58rem;
  font-weight: 900;
}

/* Workflow timefold */
.cozmo-intelligence__timefold-viewport {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid rgba(101, 216, 255, 0.16);
  border-radius: 22px;
  background: rgba(4, 11, 23, 0.86);
}

.cozmo-intelligence__workflow {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  padding: clamp(1rem, 4vw, 3rem);
}

.cozmo-intelligence__workflow header {
  max-width: 680px;
}

.cozmo-intelligence__workflow header span,
.cozmo-intelligence__workflow header strong {
  display: block;
}

.cozmo-intelligence__workflow header span {
  color: var(--cozmo-cyan);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.cozmo-intelligence__workflow header strong {
  margin-top: 0.4rem;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.3rem, 3vw, 2.2rem);
  line-height: 1.1;
}

.cozmo-intelligence__workflow ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.58rem;
  max-width: 860px;
  margin-top: 1.5rem !important;
}

.cozmo-intelligence__workflow li {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  margin: 0;
  padding: 0.62rem 2rem 0.62rem 0.78rem;
  border: 1px solid var(--cozmo-border-soft);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: #c9d8e7;
  font-size: 0.77rem;
  font-weight: 800;
}

.cozmo-intelligence__workflow li:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: 0.55rem;
  color: #6d849b;
}

.cozmo-intelligence__workflow > p {
  margin-top: 1.1rem !important;
  color: #8299b0;
  font-size: 0.78rem;
  font-weight: 750;
}

.cozmo-intelligence__workflow--traditional {
  background:
    linear-gradient(90deg, rgba(255, 119, 133, 0.09), transparent 55%),
    radial-gradient(circle at 15% 50%, rgba(255, 119, 133, 0.08), transparent 32%);
}

.cozmo-intelligence__workflow--traditional {
  justify-items: end;
  text-align: right;
}

.cozmo-intelligence__workflow--traditional header {
  max-width: 430px;
  margin-left: auto;
}

.cozmo-intelligence__workflow--traditional ol {
  max-width: 540px;
  margin-left: auto !important;
  justify-content: flex-end;
}

.cozmo-intelligence__workflow--traditional > p {
  text-align: right;
}

.cozmo-intelligence__workflow--intelligence header {
  max-width: 550px;
}

.cozmo-intelligence__workflow--intelligence ol {
  max-width: 600px;
}

.cozmo-intelligence__workflow--traditional li:nth-child(2),
.cozmo-intelligence__workflow--traditional li:nth-child(3),
.cozmo-intelligence__workflow--traditional li:nth-child(5),
.cozmo-intelligence__workflow--traditional li:nth-child(6) {
  border-style: dashed;
}

.cozmo-intelligence__workflow--intelligence {
  clip-path: inset(0 calc(100% - var(--fold-position)) 0 0);
  background:
    linear-gradient(90deg, rgba(30, 144, 255, 0.12), rgba(53, 213, 154, 0.04)),
    linear-gradient(180deg, #07152a, #081323);
  transition: clip-path 90ms linear;
}

.cozmo-intelligence__workflow--intelligence li {
  border-color: rgba(101, 216, 255, 0.24);
  background: rgba(30, 144, 255, 0.08);
}

.cozmo-intelligence__workflow--intelligence li:last-child {
  border-color: rgba(53, 213, 154, 0.4);
  background: rgba(53, 213, 154, 0.1);
  color: #e9fff7;
  box-shadow: 0 0 24px rgba(53, 213, 154, 0.08);
}

.cozmo-intelligence__fold-handle {
  position: absolute;
  z-index: 5;
  top: 0;
  bottom: 0;
  left: var(--fold-position);
  width: 2px;
  background: linear-gradient(180deg, transparent, rgba(210, 246, 255, 0.95) 12%, rgba(101, 216, 255, 0.95) 88%, transparent);
  transform: translateX(-50%);
  box-shadow: 0 0 22px rgba(101, 216, 255, 0.42);
  transition: left 90ms linear;
}

.cozmo-intelligence__fold-handle span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 42px;
  height: 62px;
  border: 1px solid rgba(207, 245, 255, 0.72);
  border-radius: 999px;
  background: #0a2748;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 7px rgba(30, 144, 255, 0.09), 0 0 28px rgba(30, 144, 255, 0.35);
}

.cozmo-intelligence__fold-handle span::before,
.cozmo-intelligence__fold-handle span::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 7px;
  height: 7px;
  border-top: 2px solid #bfeeff;
  border-right: 2px solid #bfeeff;
}

.cozmo-intelligence__fold-handle span::before { left: 8px; transform: translateY(-50%) rotate(-135deg); }
.cozmo-intelligence__fold-handle span::after { right: 8px; transform: translateY(-50%) rotate(45deg); }

.cozmo-intelligence__timefold-control {
  display: grid;
  grid-template-columns: auto minmax(120px, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.9rem 1rem 0;
  color: #8da4ba;
  font-size: 0.72rem;
  font-weight: 850;
}

.cozmo-intelligence__workflow-outcomes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 0.9rem;
}

.cozmo-intelligence__workflow-outcomes span {
  padding: 0.72rem;
  border: 1px solid var(--cozmo-border-soft);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.024);
  color: #bfd0df;
  text-align: center;
  font-size: 0.73rem;
  font-weight: 800;
}

.cozmo-intelligence__handoff {
  position: relative;
  margin: 0 auto 3rem;
  padding: 1.2rem;
  border-top: 1px solid rgba(101, 216, 255, 0.2);
  border-bottom: 1px solid rgba(101, 216, 255, 0.2);
  text-align: center;
}

.cozmo-intelligence__handoff p {
  color: #9fb4c8;
  font-size: clamp(0.95rem, 2vw, 1.12rem);
  line-height: 1.6;
}

.cozmo-intelligence__handoff strong {
  color: #fff;
}

/* Compact lower conversion checkpoint */
.cozmo-intelligence-checkpoint {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.2rem;
  align-items: center;
  margin: 3rem 0;
  padding: clamp(1.1rem, 3vw, 1.65rem);
  overflow: hidden;
  border: 1px solid rgba(101, 216, 255, 0.24);
  border-radius: 18px;
  background:
    radial-gradient(circle at 0% 0%, rgba(30, 144, 255, 0.18), transparent 35%),
    linear-gradient(135deg, #0a162b, #101b31);
  color: #fff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.24);
}

.cozmo-intelligence-checkpoint::after {
  content: "";
  position: absolute;
  right: -4rem;
  bottom: -7rem;
  width: 16rem;
  height: 16rem;
  border: 1px solid rgba(101, 216, 255, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 35px rgba(101, 216, 255, 0.025), 0 0 0 70px rgba(101, 216, 255, 0.018);
}

.cozmo-intelligence-checkpoint > * {
  position: relative;
  z-index: 1;
}

.cozmo-intelligence-checkpoint > div:first-child > p {
  color: #65d8ff;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cozmo-intelligence-checkpoint h2 {
  max-width: 760px;
  margin-top: 0.32rem;
  color: #fff;
  font-family: "Montserrat", "Roboto", sans-serif;
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -0.035em;
}

.cozmo-intelligence-checkpoint > div:first-child > span {
  display: block;
  margin-top: 0.48rem;
  color: #9fb4c8;
  font-size: 0.78rem;
  line-height: 1.5;
}

@keyframes cozmoIntelligenceSpin {
  to { transform: rotate(360deg); }
}

@keyframes cozmoRejectedFragment {
  0%, 100% { opacity: 0; transform: translateY(0) scale(0.9); filter: blur(0); }
  35% { opacity: 0.72; }
  70% { opacity: 0; transform: translateY(-18px) scale(0.72); filter: blur(2px); }
}

@media (max-width: 1020px) {
  .cozmo-intelligence__decision-layout,
  .cozmo-intelligence__ask-stage,
  .cozmo-intelligence__reactor-readout {
    grid-template-columns: 1fr;
  }

  .cozmo-intelligence__decision-panel {
    grid-template-columns: minmax(220px, 0.6fr) minmax(0, 1fr);
  }

  .cozmo-intelligence__ask-map-column {
    grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1fr);
  }

  .cozmo-intelligence__console-footer {
    grid-template-columns: 1fr;
  }

  .cozmo-intelligence__console-footer > div {
    justify-content: flex-start;
  }

  .cozmo-intelligence__trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cozmo-intelligence__trust-strip li:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 800px) {
  .cozmo-intelligence::before {
    inset: -2rem -0.35rem;
  }

  .cozmo-intelligence__hero {
    padding-inline: 0.35rem;
  }

  .cozmo-intelligence__chapter {
    padding: 1rem;
    border-radius: 22px;
  }

  .cozmo-intelligence__loop {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem 0.45rem;
  }

  .cozmo-intelligence__loop::before {
    display: none;
  }

  .cozmo-intelligence__constellation {
    min-height: 520px;
    transform: none !important;
  }

  .cozmo-intelligence__decision-panel,
  .cozmo-intelligence__ask-map-column {
    grid-template-columns: 1fr;
  }

  .cozmo-intelligence__ask-map {
    display: flex;
    min-height: auto;
    gap: 0.55rem;
    overflow-x: auto;
    padding: 1rem;
    scroll-snap-type: x mandatory;
  }

  .cozmo-intelligence__ask-map::before,
  .cozmo-intelligence__ask-core {
    display: none;
  }

  .cozmo-intelligence__ask-map button {
    position: relative;
    top: auto !important;
    left: auto !important;
    flex: 0 0 42%;
    min-height: 92px;
    padding: 0.8rem;
    border-radius: 16px;
    transform: none;
    scroll-snap-align: center;
  }

  .cozmo-intelligence__ask-map button:hover,
  .cozmo-intelligence__ask-map button:focus-visible,
  .cozmo-intelligence__ask-map button.is-selected,
  .cozmo-intelligence__ask-map button.is-evidence-target {
    transform: translateY(-3px);
  }

  .cozmo-intelligence__evidence-canvas {
    display: none;
  }

  .cozmo-intelligence__reactor-chambers {
    display: flex;
    overflow-x: auto;
    padding-bottom: 0.4rem;
    scroll-snap-type: x mandatory;
  }

  .cozmo-intelligence__reactor-chambers button {
    flex: 0 0 46%;
    scroll-snap-align: center;
  }

  .cozmo-intelligence__reactor-beam,
  .cozmo-intelligence__reactor-packet {
    display: none;
  }

  .cozmo-intelligence__reactor-controls {
    grid-template-columns: 1fr;
  }

  .cozmo-intelligence__validation-switch {
    width: fit-content;
    max-width: 100%;
  }

  .cozmo-intelligence__workflow-outcomes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cozmo-intelligence-checkpoint {
    grid-template-columns: 1fr;
  }

  .cozmo-intelligence-checkpoint__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 580px) {
  .cozmo-intelligence {
    margin-bottom: 2.5rem;
  }

  .cozmo-intelligence__preview-label {
    max-width: 100%;
    white-space: normal;
  }

  .cozmo-intelligence__hero h2 {
    font-size: clamp(2rem, 12vw, 3rem);
  }

  .cozmo-intelligence__chapter-heading h3 {
    font-size: clamp(1.55rem, 9vw, 2.35rem);
  }

  .cozmo-intelligence__mode-switch,
  .cozmo-intelligence__output-switch,
  .cozmo-intelligence__validation-switch {
    width: 100%;
    border-radius: 15px;
  }

  .cozmo-intelligence__mode-switch button,
  .cozmo-intelligence__output-switch button,
  .cozmo-intelligence__validation-switch button {
    flex: 1 1 0;
    min-width: 0;
    border-radius: 11px;
    white-space: normal;
  }

  .cozmo-intelligence__constellation {
    display: flex;
    min-height: auto;
    gap: 0.55rem;
    overflow-x: auto;
    padding: 5.6rem 1rem 1.1rem;
    scroll-snap-type: x mandatory;
  }

  .cozmo-intelligence__grid-field,
  .cozmo-intelligence__constellation-canvas {
    display: none;
  }

  .cozmo-intelligence__core {
    top: 0.9rem;
    left: 1rem;
    width: 66px;
    height: 66px;
    transform: none;
  }

  .cozmo-intelligence__core-ring {
    inset: -8px;
  }

  .cozmo-intelligence__core-mark {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    font-size: 1rem;
  }

  .cozmo-intelligence__core small {
    top: 1.35rem;
    left: calc(100% + 0.8rem);
  }

  .cozmo-intelligence__node,
  .cozmo-intelligence__constellation[data-mode="raw"] .cozmo-intelligence__node,
  .cozmo-intelligence__constellation[data-mode="enhanced"] .cozmo-intelligence__node {
    position: relative;
    top: auto !important;
    left: auto !important;
    flex: 0 0 68%;
    min-height: 130px;
    border-radius: 19px;
    transform: none;
    opacity: 1;
    scroll-snap-align: center;
  }

  .cozmo-intelligence__node:hover,
  .cozmo-intelligence__node:focus-visible,
  .cozmo-intelligence__node.is-selected {
    transform: translateY(-3px);
  }

  .cozmo-intelligence__ask-map button {
    flex-basis: 68%;
  }

  .cozmo-intelligence__console-topbar,
  .cozmo-intelligence__message-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
  }

  .cozmo-intelligence__message--user {
    max-width: 100%;
  }

  .cozmo-intelligence__answer-layout[data-view="explain"],
  .cozmo-intelligence__answer-layout[data-view="plan"] {
    grid-template-columns: 1fr;
  }

  .cozmo-intelligence__answer-layout[data-view="explain"] article:first-child {
    grid-column: auto;
  }

  .cozmo-intelligence__answer-layout[data-view="tasks"] article {
    grid-template-columns: 1fr;
  }

  .cozmo-intelligence__answer-layout[data-view="tasks"] article small {
    justify-self: start;
  }


  .cozmo-intelligence__answer-layout {
    position: relative;
    margin-top: 1rem;
    padding: 1rem 0.15rem 0.15rem;
    border-radius: 18px 18px 10px 10px;
    background: linear-gradient(180deg, rgba(30, 144, 255, 0.08), rgba(4, 10, 22, 0.2));
    box-shadow: 0 -12px 30px rgba(0, 0, 0, 0.18);
  }

  .cozmo-intelligence__answer-layout::before {
    content: "";
    position: absolute;
    top: 0.42rem;
    left: 50%;
    width: 34px;
    height: 3px;
    border-radius: 999px;
    background: rgba(182, 229, 255, 0.35);
    transform: translateX(-50%);
  }

  .cozmo-intelligence__output-switch {
    max-width: calc(100% - 2rem);
  }

  .cozmo-intelligence__console-footer > div,
  .cozmo-intelligence-checkpoint__actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .cozmo-intelligence__button {
    width: 100%;
  }

  .cozmo-intelligence__reactor-chambers button {
    flex-basis: 72%;
  }

  .cozmo-intelligence__reactor-readout > article,
  .cozmo-intelligence__validation-vessel {
    min-height: 250px;
  }

  .cozmo-intelligence__trust-strip,
  .cozmo-intelligence__workflow-outcomes {
    grid-template-columns: 1fr;
  }

  .cozmo-intelligence__trust-strip li:last-child {
    grid-column: auto;
  }

  .cozmo-intelligence__timefold-viewport {
    display: grid;
    min-height: auto;
    overflow: visible;
    border: 0;
    background: none;
    gap: 0.75rem;
  }

  .cozmo-intelligence__workflow {
    position: relative;
    inset: auto;
    padding: 1rem;
    border: 1px solid var(--cozmo-border-soft);
    border-radius: 16px;
  }

  .cozmo-intelligence__workflow--intelligence {
    clip-path: none;
  }

  .cozmo-intelligence__workflow--traditional {
    justify-items: start;
    text-align: left;
  }

  .cozmo-intelligence__workflow--traditional header,
  .cozmo-intelligence__workflow--traditional ol {
    max-width: none;
    margin-left: 0 !important;
  }

  .cozmo-intelligence__workflow--traditional ol {
    justify-content: flex-start;
  }

  .cozmo-intelligence__workflow--traditional > p {
    text-align: left;
  }

  .cozmo-intelligence__workflow ol {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cozmo-intelligence__fold-handle,
  .cozmo-intelligence__timefold-control {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cozmo-intelligence,
  .cozmo-intelligence *,
  .cozmo-intelligence *::before,
  .cozmo-intelligence *::after,
  .cozmo-intelligence-checkpoint,
  .cozmo-intelligence-checkpoint *,
  .cozmo-intelligence-checkpoint *::before,
  .cozmo-intelligence-checkpoint *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }

  .cozmo-intelligence__constellation {
    transform: none !important;
  }

  .cozmo-intelligence__raw-fragments {
    filter: none !important;
  }
}
/* COZMO_INTELLIGENCE_THEATRE_STYLES:END */
