/* Demonstrations adapted from the user-supplied ColorLoop.ai folder. */
/* PreSet component, prefix ps- */
.ps-card {
  --ps-c: var(--cl-blue); --ps-m: #E5007E; --ps-y: #FFE500; --ps-k: var(--cl-ink); --ps-s: var(--cl-yellow);
  position: relative; container-type: inline-size; overflow: hidden;
  background: #fff; color: var(--ink); font-family: var(--font);
  border-radius: var(--r-card); padding: clamp(18px, 4.5vw, 44px);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .04), 0 12px 32px rgba(0, 0, 0, .05);
  font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased;
}
.ps-card *, .ps-card *::before, .ps-card *::after { box-sizing: border-box; }

/* Header and step indicator */
.ps-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; margin-bottom: 24px; }
.ps-app { display: block; font-size: 21px; font-weight: 600; letter-spacing: -.01em; line-height: 1.2; }
.ps-sub { display: block; margin-top: 2px; font-size: 14px; color: var(--ink-2); }
.ps-steps { list-style: none; margin: 0; padding: 0; flex: 1 1 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; }
.ps-step { display: flex; align-items: center; gap: 8px; font-size: 13px; line-height: 1.25; color: var(--ink-2); transition: color .3s var(--ease); }
.ps-dot {
  position: relative; flex: none; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; font-size: 12px; font-weight: 600;
  background: var(--gray); color: var(--ink-2); transition: background-color .3s var(--ease), color .3s var(--ease);
}
.ps-step.ps-now { color: var(--ink); }
.ps-step.ps-now .ps-dot { background: var(--ink); color: #fff; }
.ps-step.ps-done { color: var(--ink); }
.ps-step.ps-done .ps-dot { background: var(--cl-green); color: transparent; }
.ps-step.ps-done .ps-dot::after, .ps-chk::after {
  content: ""; position: absolute; left: 9px; top: 5px; width: 6px; height: 11px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}

/* Stage: job card and printing units */
.ps-stage { display: grid; gap: 16px; }
.ps-job { min-width: 0; display: flex; align-items: center; gap: 14px; padding: 14px; background: var(--gray); border-radius: var(--r-ui); }
.ps-thumb { flex: none; width: 96px; }
.ps-thumb svg { display: block; width: 100%; height: auto; border-radius: 8px; box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.ps-paper { fill: #fff; }
.ps-fc { fill: var(--ps-c); } .ps-fm { fill: var(--ps-m); } .ps-fy { fill: var(--ps-y); }
.ps-fk { fill: var(--ps-k); } .ps-fs { fill: var(--ps-s); } .ps-soft { opacity: .35; }
.ps-fc, .ps-fm, .ps-fy { mix-blend-mode: multiply; }
.ps-job-t { min-width: 0; }
.ps-job-k { display: block; font-size: 12px; color: var(--ink-2); }
.ps-job-n { display: block; margin: 2px 0 4px; font-size: 17px; font-weight: 600; }
.ps-job-m { display: block; font-size: 13px; line-height: 1.45; color: var(--ink-2); }

.ps-units { min-width: 0; container-type: inline-size; padding: 10px; background: var(--gray); border-radius: var(--r-ui); }
.ps-uh { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; padding: 4px 6px 10px; font-size: 12px; color: var(--ink-2); }
.ps-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ps-unit {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "n s s" "k k v";
  align-items: center; gap: 8px 10px; padding: 10px; background: #fff; border-radius: 12px; overflow: hidden;
}
.ps-unit[data-ink="c"] { --ps-ink: var(--ps-c); }
.ps-unit[data-ink="m"] { --ps-ink: var(--ps-m); }
.ps-unit[data-ink="y"] { --ps-ink: var(--ps-y); }
.ps-unit[data-ink="k"] { --ps-ink: var(--ps-k); }
.ps-unit[data-ink="s"] { --ps-ink: var(--ps-s); }
.ps-unit-n { grid-area: n; font-size: 12px; color: var(--ink-2); white-space: nowrap; }
.ps-slot { grid-area: s; position: relative; min-width: 0; height: 32px; border: 1px dashed var(--line); border-radius: 9px; }
.ps-plate {
  position: absolute; inset: -1px; display: flex; align-items: center; gap: 8px; padding: 0 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 9px; font-size: 13px; font-weight: 500;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05); will-change: transform, opacity;
}
.ps-plate-n { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ps-sw { flex: none; width: 12px; height: 15px; border-radius: 3px; background: var(--ps-ink); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.ps-keys { grid-area: k; display: flex; align-items: flex-end; gap: 2px; height: 36px; min-width: 0; }
.ps-key { flex: 1 1 0; min-width: 0; height: 100%; display: flex; align-items: flex-end; background: var(--gray); border-radius: 2px; overflow: hidden; }
.ps-fill { display: block; width: 100%; height: 100%; background: var(--ps-ink); transform-origin: 50% 100%; transform: scaleY(0); }
.ps-val { grid-area: v; min-width: 38px; text-align: right; font-size: 13px; font-weight: 600; }

/* Apply and confirmations */
.ps-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 20px; }
.ps-apply {
  --ps-ring: 0; --ps-rs: 1;
  position: relative; flex: none; display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 30px; border-radius: 980px; background: var(--ink); color: #fff;
  font-size: 15px; font-weight: 600; letter-spacing: -.01em; user-select: none; cursor: default;
}
.ps-apply::after {
  content: ""; position: absolute; inset: -6px; border-radius: inherit; border: 2px solid var(--ink);
  opacity: var(--ps-ring); transform: scale(var(--ps-rs)); pointer-events: none;
}
.ps-conf { list-style: none; margin: 0; padding: 0; flex: 1 1 260px; display: grid; gap: 8px; }
.ps-ok { display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 1.35; }
.ps-chk { position: relative; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--cl-green); }

/* Caption and controls */
.ps-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); }
.ps-cap { margin: 0; font-size: 12px; color: var(--ink-2); }
.ps-ctrl { display: flex; gap: 8px; }
.ps-btn {
  appearance: none; -webkit-appearance: none; border: 0; cursor: pointer;
  min-height: 40px; min-width: 40px; padding: 0 18px; border-radius: 980px;
  background: var(--gray); color: var(--ink); font: 500 14px/1 var(--font);
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}
@media (hover: hover) { .ps-btn:hover { background: var(--line); } }
.ps-btn:active { background: var(--line); transform: scale(.97); }
.ps-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.ps-btn[hidden] { display: none; }
.ps-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Wider layouts */
@container (min-width: 560px) {
  .ps-unit { grid-template-columns: 50px 150px minmax(0, 1fr) 40px; grid-template-areas: "n s k v"; gap: 12px; padding: 10px 12px; }
  .ps-keys { height: 32px; }
}
@container (min-width: 720px) {
  .ps-steps { flex: 0 1 auto; grid-template-columns: repeat(4, auto); gap: 10px 20px; }
  .ps-stage { grid-template-columns: 220px minmax(0, 1fr); gap: 20px; align-items: start; }
  .ps-job { flex-direction: column; align-items: stretch; padding: 16px; }
  .ps-thumb { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .ps-card *, .ps-card *::before, .ps-card *::after { transition: none !important; }
}

/* qscore: ColorLoop job quality score. Prefix qs- */
.qs-root {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(20px, 4.5vw, 48px);
  background: #fff;
  border-radius: var(--r-card);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 10px 30px rgba(0, 0, 0, .05);
  font-family: var(--font);
  color: var(--ink);
  container-type: inline-size;
  -webkit-font-smoothing: antialiased;
}
.qs-root *, .qs-root *::before, .qs-root *::after { box-sizing: border-box; }

/* Header and segmented control */
.qs-head { display: flex; flex-direction: column; gap: 18px; }
.qs-eyebrow { margin: 0; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.qs-lede {
  margin: 4px 0 0;
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.015em;
}
.qs-seg {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  padding: 4px;
  border-radius: 999px;
  background: var(--gray);
}
.qs-seg-thumb {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc((100% - 8px) / 3);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .12), 0 1px 1px rgba(0, 0, 0, .04);
  transform: translateX(calc(var(--qs-i, 0) * 100%));
  transition: transform .45s var(--ease);
}
.qs-seg-btn {
  position: relative;
  z-index: 1;
  min-width: 0;
  min-height: 40px;
  margin: 0;
  padding: 8px 4px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font: 600 13px/1.15 var(--font);
  color: var(--ink-2);
  text-align: center;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  transition: color .3s var(--ease);
}
.qs-seg-btn:hover { color: var(--ink); }
.qs-seg-btn[aria-checked="true"] { color: var(--ink); }
.qs-seg-btn:focus { outline: none; }
.qs-seg-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* Body layout */
.qs-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 32px; }
.qs-dial { display: flex; flex-direction: column; align-items: center; }
.qs-gauge { width: 100%; max-width: 250px; }
.qs-svg { display: block; width: 100%; height: auto; overflow: visible; }
.qs-track { fill: none; stroke: var(--line); stroke-opacity: .45; }
.qs-arc { fill: none; stroke-linecap: round; transition: stroke .6s var(--ease); }
.qs-arc.qs-good { stroke: var(--cl-green); }
.qs-arc.qs-close { stroke: var(--cl-yellow); }
.qs-arc.qs-off { stroke: var(--cl-red); }
.qs-letter {
  font-family: var(--font);
  font-size: 88px;
  font-weight: 700;
  letter-spacing: -.02em;
  fill: var(--ink);
}
.qs-num {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  fill: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
.qs-scale { display: flex; gap: 6px; margin: 18px 0 0; padding: 0; list-style: none; }
.qs-step {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gray);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 600;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
.qs-step.qs-on { background: var(--ink); color: #fff; }

/* Criteria bars */
.qs-list { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.qs-crit-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.qs-crit-name { min-width: 0; font-size: 15px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.qs-crit-val {
  min-width: 3ch;
  font-size: 15px;
  font-weight: 600;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.qs-bar { height: 8px; margin-top: 8px; border-radius: 999px; background: var(--gray); overflow: hidden; }
.qs-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  transition: width .9s var(--ease), background-color .6s var(--ease);
}
.qs-good.qs-fill, .qs-good.qs-dot { background: var(--cl-green); }
.qs-close.qs-fill, .qs-close.qs-dot { background: var(--cl-yellow); }
.qs-off.qs-fill, .qs-off.qs-dot { background: var(--cl-red); }
.qs-crit-hint {
  min-height: 2.8em;
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-2);
}
.qs-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  color: var(--ink-2);
}
.qs-legend li { display: inline-flex; align-items: center; gap: 6px; }
.qs-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; }

/* Footer */
.qs-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.qs-note { margin: 0; font-size: 15px; font-weight: 500; line-height: 1.4; }
.qs-cap { margin: 0; font-size: 12px; color: var(--ink-2); }
.qs-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

@container (min-width: 640px) {
  .qs-head { align-items: flex-start; }
  .qs-seg { width: auto; }
  .qs-seg-btn { padding: 8px 18px; font-size: 14px; white-space: nowrap; }
  .qs-body { grid-template-columns: minmax(200px, 5fr) minmax(0, 7fr); align-items: center; gap: 48px; }
}
@container (min-width: 820px) {
  .qs-crit-hint { min-height: 0; }
}

.qs-rm *, .qs-rm *::before, .qs-rm *::after { transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  .qs-root *, .qs-root *::before, .qs-root *::after { transition: none !important; }
}

/* liveboard: ColorConnect shop-floor TV screen (prefix lb-) */
.lb-root {
  --lb-red: color-mix(in srgb, var(--cl-red) 86%, var(--cl-ink));
  position: relative; box-sizing: border-box; max-width: 100%; margin: 0; overflow: hidden;
  padding: clamp(12px, 4vw, 44px);
  background: #fff; border-radius: var(--r-card);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 10px 36px rgba(0, 0, 0, .05);
  font-family: var(--font); color: var(--ink); line-height: 1.3;
  font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased;
}
.lb-root *, .lb-root *::before, .lb-root *::after { box-sizing: border-box; }
.lb-root p, .lb-root ul { margin: 0; padding: 0; }
.lb-root ul { list-style: none; }
.lb-sr {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* TV frame */
.lb-tv {
  max-width: 1040px; margin: 0 auto;
  padding: clamp(6px, 1.1vw, 12px) clamp(6px, 1.1vw, 12px) 0;
  background: var(--cl-ink); border-radius: clamp(14px, 2.2vw, 24px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07), 0 24px 48px -28px rgba(0, 0, 0, .5);
}
.lb-screen {
  container: lb / inline-size;
  padding: clamp(10px, 1.8vw, 20px);
  background: var(--gray); border-radius: clamp(8px, 1.3vw, 14px);
}
.lb-chin {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  height: clamp(20px, 2.6vw, 28px);
  font-size: 10px; font-weight: 600; letter-spacing: .06em; color: var(--ink-2);
}
.lb-led { width: 4px; height: 4px; border-radius: 50%; background: var(--cl-green); box-shadow: 0 0 6px var(--cl-green); }
.lb-stand { position: relative; max-width: 1040px; height: clamp(16px, 2.8vw, 30px); margin: 0 auto; }
.lb-stand::before, .lb-stand::after { content: ""; position: absolute; left: 50%; transform: translateX(-50%); }
.lb-stand::before { top: 0; bottom: 4px; width: clamp(36px, 8%, 84px); background: linear-gradient(var(--ink-2), var(--line)); }
.lb-stand::after { bottom: 0; width: clamp(110px, 30%, 300px); height: 5px; border-radius: 5px; background: var(--line); }

/* Header */
.lb-head {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px;
  margin-bottom: clamp(10px, 1.6vw, 16px);
}
.lb-title {
  display: flex; align-items: center; gap: 8px; flex: 1 1 auto;
  font-size: clamp(15px, 1.9vw, 19px); font-weight: 600; letter-spacing: -.01em;
}
.lb-live { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--cl-green); animation: lb-blink 2.4s var(--ease) infinite; }
.lb-clock { font-size: clamp(15px, 1.9vw, 19px); font-weight: 600; letter-spacing: -.01em; white-space: nowrap; }
.lb-sum { order: 3; flex: 1 1 100%; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: var(--ink-2); }
.lb-sum > li { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.lb-sum b { font-weight: 600; color: var(--ink); }
@container lb (min-width: 700px) {
  .lb-sum { order: 0; flex: 0 1 auto; }
}

/* Grid of presses: 1 column on phones, 2 on tablets, 3 on desktop */
.lb-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(8px, 1.3vw, 14px); }
@container lb (min-width: 440px) {
  .lb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container lb (min-width: 700px) {
  .lb-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Tile */
.lb-tile {
  position: relative; display: flex; flex-direction: column; gap: 12px; min-width: 0;
  padding: clamp(12px, 1.6vw, 18px);
  background: #fff; border-radius: var(--r-ui); box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}
.lb-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 8px; min-height: 26px; }
.lb-name { font-size: 15px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; }
.lb-chip, .lb-flag {
  display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px;
  border-radius: 999px; font-size: 12px; font-weight: 500; white-space: nowrap;
  background: var(--gray); color: var(--ink); transition: background-color .5s var(--ease);
}
.lb-flag { display: none; background: var(--lb-red); color: #fff; font-weight: 600; }
.lb-dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--ink-2); transition: background-color .5s var(--ease); }
.lb-root [data-st="run"] .lb-dot { background: var(--cl-green); }
.lb-root [data-st="mr"] .lb-dot { background: var(--cl-yellow); }
.lb-tile .lb-flag .lb-dot { background: #fff; }
.lb-tile[data-st="run"] .lb-chip { background: color-mix(in srgb, var(--cl-green) 16%, #fff); }
.lb-tile[data-st="mr"] .lb-chip { background: color-mix(in srgb, var(--cl-yellow) 26%, #fff); }

/* Attention state: pulsing red outline */
.lb-tile[data-alert] { box-shadow: 0 0 0 2px var(--cl-red); animation: lb-pulse 1.6s var(--ease) infinite; }
.lb-tile[data-alert] .lb-chip { display: none; }
.lb-tile[data-alert] .lb-flag { display: inline-flex; }

/* Metrics */
.lb-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.lb-num {
  display: block; font-size: 22px; font-size: clamp(21px, 2.9cqi, 27px);
  font-weight: 600; line-height: 1.1; letter-spacing: -.02em; font-variant-numeric: tabular-nums;
}
.lb-k { display: block; margin-top: 3px; font-size: 12px; color: var(--ink-2); }

/* Color quality: grade chip, color difference sparkline, value */
.lb-q {
  display: flex; align-items: center; gap: 10px; padding-top: 12px;
  border-top: 1px solid color-mix(in srgb, var(--line) 55%, #fff);
}
.lb-grade {
  flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px;
  font-size: 14px; font-weight: 700; background: var(--cl-green); color: var(--ink);
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
.lb-tile[data-g="B"] .lb-grade { background: color-mix(in srgb, var(--cl-green) 35%, #fff); }
.lb-tile[data-g="C"] .lb-grade { background: var(--cl-yellow); }
.lb-tile[data-g="D"] .lb-grade { background: color-mix(in srgb, var(--cl-red) 25%, #fff); }
.lb-tile[data-g="E"] .lb-grade { background: var(--lb-red); color: #fff; }
.lb-spark { flex: 1 1 auto; display: block; width: 100%; min-width: 0; height: 30px; overflow: visible; }
.lb-spark path {
  fill: none; stroke: var(--cl-green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  vector-effect: non-scaling-stroke; transition: stroke .4s var(--ease);
}
.lb-tol { stroke: var(--line); stroke-width: 1; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.lb-tile[data-q="warn"] .lb-spark path { stroke: color-mix(in srgb, var(--cl-yellow) 85%, var(--cl-ink)); }
.lb-tile[data-q="bad"] .lb-spark path { stroke: var(--cl-red); }
.lb-de { flex: none; font-size: 12px; color: var(--ink-2); white-space: nowrap; }
.lb-de b { font-size: 14px; font-weight: 600; color: var(--ink); }

/* Stopped presses step back, text stays readable (no opacity on text) */
.lb-tile[data-st="stop"] .lb-chip { background: color-mix(in srgb, var(--line) 60%, #fff); }
.lb-tile[data-st="stop"] .lb-num, .lb-tile[data-st="stop"] .lb-de b { color: var(--ink-2); }
.lb-tile[data-st="stop"] .lb-grade { background: var(--line); color: var(--ink); }
.lb-tile[data-st="stop"] .lb-spark { opacity: .55; }
.lb-tile[data-st="stop"] .lb-spark path { stroke: var(--ink-2); }

/* Caption and pause control */
.lb-foot { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: clamp(12px, 2vw, 20px); }
.lb-cap { font-size: 12px; color: var(--ink-2); }
.lb-btn {
  display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; padding: 0;
  border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink);
  cursor: pointer; transition: background-color .3s var(--ease);
}
.lb-btn:hover { background: var(--gray); }
.lb-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.lb-btn[hidden] { display: none; }
.lb-ico { width: 14px; height: 14px; fill: currentColor; }
.lb-btn[data-paused="true"] .lb-ico--pause, .lb-btn:not([data-paused="true"]) .lb-ico--play { display: none; }

/* Motion */
@keyframes lb-blink { 50% { opacity: .3; } }
@keyframes lb-pulse {
  0%, 100% { box-shadow: 0 0 0 2px var(--cl-red), 0 0 0 2px color-mix(in srgb, var(--cl-red) 45%, transparent); }
  70% { box-shadow: 0 0 0 2px var(--cl-red), 0 0 0 9px color-mix(in srgb, var(--cl-red) 0%, transparent); }
}
.lb-is-paused .lb-live, .lb-is-paused .lb-tile { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .lb-root *, .lb-root *::before, .lb-root *::after { animation: none !important; transition: none !important; }
}

/* journey: ColorConnect journey of one job. Prefix jn- */
.jn-root { container-type: inline-size; width: 100%; font-family: var(--font); color: var(--ink); -webkit-font-smoothing: antialiased; }
.jn-root *, .jn-root *::before, .jn-root *::after { box-sizing: border-box; }
.jn-card {
  position: relative; max-width: 980px; margin: 0 auto;
  padding: 24px; padding: clamp(20px, 5cqi, 48px);
  background: #fff; border-radius: var(--r-card);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 10px 30px rgba(0, 0, 0, .05);
}

/* Header */
.jn-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 28px; margin-bottom: clamp(20px, 4cqi, 36px); }
.jn-head-t { min-width: 0; }
.jn-kicker { margin: 0; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.jn-title { margin: 4px 0 0; font-size: 22px; font-size: clamp(20px, 2.8cqi, 26px); font-weight: 600; line-height: 1.2; letter-spacing: -.015em; }
.jn-play {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 0; border-radius: 50%; background: var(--gray); color: var(--ink); cursor: pointer;
  transition: background .2s var(--ease);
}
.jn-play:hover { background: var(--line); }
.jn-play[hidden] { display: none; }
.jn-play svg { width: 14px; height: 14px; }
.jn-play .jn-i-play, .jn-play.jn-paused .jn-i-pause { display: none; }
.jn-play.jn-paused .jn-i-play { display: block; }
.jn-root button:focus:not(:focus-visible) { outline: none; }
.jn-root button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* Track, rail and traveling job card */
.jn-track { position: relative; isolation: isolate; }
.jn-rail { position: absolute; left: 0; top: 0; z-index: 1; margin: -1px 0 0 -1px; border-radius: 2px; background: var(--line); pointer-events: none; }
.jn-fill { position: absolute; inset: 0; border-radius: inherit; background: var(--cl-green); transform-origin: 0 0; transform: scaleX(var(--jn-p, 0)); }
.jn-v .jn-fill { transform: scaleY(var(--jn-p, 0)); }
.jn-chip {
  position: absolute; left: 0; top: 0; z-index: 3; visibility: hidden;
  display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px 0 10px;
  background: #fff; border-radius: 12px; white-space: nowrap; pointer-events: none;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 6px 18px rgba(0, 0, 0, .1);
}
.jn-ready .jn-chip { visibility: visible; transition: transform .9s var(--ease); }
.jn-ready .jn-fill { transition: transform .9s var(--ease); }
.jn-thumb { display: grid; grid-template-rows: repeat(4, 1fr); gap: 2px; width: 18px; height: 24px; padding: 3px; border-radius: 4px; box-shadow: inset 0 0 0 1px var(--line); }
.jn-thumb i { border-radius: 1px; background: var(--cl-blue); }
.jn-thumb i:nth-child(2) { background: var(--cl-pink); }
.jn-thumb i:nth-child(3) { background: var(--cl-yellow); }
.jn-thumb i:nth-child(4) { background: var(--cl-ink); }
.jn-chip b { display: block; font-size: 12px; font-weight: 600; line-height: 1.2; font-variant-numeric: tabular-nums; }
.jn-chip-s { display: block; font-size: 11px; line-height: 1.3; color: var(--ink-2); }
.jn-v .jn-chip { justify-content: center; width: 32px; height: 32px; padding: 0; border-radius: 10px; box-shadow: 0 0 0 1.5px var(--ink), 0 4px 12px rgba(0, 0, 0, .12); }
.jn-v .jn-chip-t { display: none; }
.jn-v .jn-thumb { width: 16px; height: 20px; padding: 2px; }

/* Stations */
.jn-stations { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; margin: 0; padding: 0; list-style: none; }
.jn-st { position: relative; padding: 4px 12px 14px 4px; border-radius: var(--r-ui); transition: background .5s var(--ease); }
.jn-btn {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; margin: 0; padding: 4px;
  border: 0; border-radius: 14px; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer;
}
.jn-dot {
  position: relative; z-index: 2; flex: none; display: grid; place-items: center; width: 32px; height: 32px;
  border-radius: 50%; border: 1.5px solid var(--line); background: #fff center / 14px no-repeat;
  font-size: 13px; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums;
  transition: background-color .4s var(--ease), border-color .4s var(--ease), color .4s var(--ease);
}
.jn-name { font-size: 17px; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; color: var(--ink-2); transition: color .4s var(--ease); }
.jn-btn:hover .jn-name { color: var(--ink); }
.jn-body { padding-left: 48px; }
.jn-bul { display: grid; gap: 6px; margin: 6px 0 0; padding: 0; list-style: none; font-size: 14px; line-height: 1.4; color: var(--ink-2); transition: color .4s var(--ease); }
.jn-bul li { position: relative; padding-left: 14px; }
.jn-bul li::before { content: ""; position: absolute; left: 0; top: .55em; width: 5px; height: 5px; border-radius: 50%; background: var(--line); transition: background .4s var(--ease); }
.jn-st.jn-active { background: var(--gray); }
.jn-st.jn-active .jn-dot { border-color: var(--ink); background-color: var(--ink); color: #fff; }
.jn-st.jn-done .jn-dot {
  border-color: var(--cl-green); background-color: var(--cl-green); color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.jn-st.jn-active .jn-name, .jn-st.jn-done .jn-name { color: var(--ink); }
.jn-st.jn-active .jn-bul { color: var(--ink); }
.jn-st.jn-active .jn-viz, .jn-st.jn-done .jn-viz { opacity: 1; }
.jn-st.jn-active .jn-bul li::before { background: var(--ink); }
.jn-st.jn-done .jn-bul li::before { background: var(--cl-green); }

/* Small visuals per station */
.jn-viz { margin-top: 12px; opacity: .45; transition: opacity .5s var(--ease); }
.jn-cov { display: flex; align-items: flex-end; gap: 5px; height: 34px; }
.jn-cov i { width: 10px; height: calc(var(--jn-h) * 100%); border-radius: 3px; transform-origin: 50% 100%; transform: scaleY(.15); transition: transform .8s var(--ease); }
.jn-cov i:nth-child(1) { --jn-h: .62; background: var(--cl-blue); }
.jn-cov i:nth-child(2) { --jn-h: .8; background: var(--cl-pink); }
.jn-cov i:nth-child(3) { --jn-h: .7; background: var(--cl-yellow); }
.jn-cov i:nth-child(4) { --jn-h: .38; background: var(--cl-ink); }
.jn-cov i:nth-child(5) { --jn-h: .24; background: var(--cl-red); }
.jn-st.jn-active .jn-cov i, .jn-st.jn-done .jn-cov i { transform: none; }
.jn-pill {
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 14px;
  background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums;
}
.jn-pill svg { width: 14px; height: 14px; }
.jn-led { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: background .4s var(--ease); }
.jn-st.jn-active .jn-led, .jn-st.jn-done .jn-led, .jn-pp.jn-on .jn-led { background: var(--cl-green); }
.jn-grades { display: flex; gap: 4px; }
.jn-grades span {
  display: grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; background: #fff;
  box-shadow: inset 0 0 0 1px var(--line); font-size: 12px; font-weight: 600; color: var(--ink-2);
}
.jn-st.jn-active .jn-grades .jn-a, .jn-st.jn-done .jn-grades .jn-a, .jn-grade {
  background: color-mix(in srgb, var(--cl-green) 20%, #fff); box-shadow: inset 0 0 0 1.5px var(--cl-green); color: var(--ink);
}

/* Digital Product Passport */
.jn-pp {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px;
  margin-top: 24px; margin-top: clamp(16px, 3cqi, 28px); padding: 22px; padding: clamp(18px, 3cqi, 28px);
  border-radius: var(--r-ui); background: var(--gray); transform: translateY(6px);
  transition: background .6s var(--ease), box-shadow .6s var(--ease), transform .6s var(--ease);
}
.jn-pp.jn-on { background: #fff; transform: none; box-shadow: 0 0 0 1px var(--line), 0 14px 32px rgba(0, 0, 0, .08); }
.jn-pp-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; }
.jn-pp-eye { margin: 0; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.jn-pp-state { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.jn-pp-name { margin: 6px 0 14px; font-size: 22px; font-weight: 700; line-height: 1.2; letter-spacing: -.015em; }
.jn-pp-f { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; margin: 0; }
.jn-pp-f dt { font-size: 12px; color: var(--ink-2); }
.jn-pp-f dd {
  display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; min-height: 24px; margin: 4px 0 0;
  border-radius: 6px; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums;
  transition: color .5s var(--ease), background .5s var(--ease);
}
.jn-pp-f dd > * { transition: opacity .5s var(--ease); }
.jn-pp:not(.jn-on) .jn-pp-f dd { color: transparent; background: var(--line); }
.jn-pp:not(.jn-on) .jn-pp-f dd > * { opacity: 0; }
.jn-grade { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; font-size: 13px; }
.jn-demo { font-size: 11px; font-weight: 500; color: var(--ink-2); }
.jn-qr { display: flex; align-items: center; gap: 14px; margin: 0; }
.jn-qr-frame { flex: none; display: block; width: 104px; padding: 8px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.jn-qr-box { display: block; clip-path: inset(0 0 100% 0); transition: clip-path 1.2s var(--ease) .2s; }
.jn-pp.jn-on .jn-qr-box { clip-path: inset(0 0 0 0); }
.jn-qr svg { display: block; width: 100%; height: auto; color: var(--cl-ink); }
.jn-qr figcaption { max-width: 200px; font-size: 13px; line-height: 1.35; color: var(--ink-2); }

.jn-live { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.jn-cap { margin: 18px 0 0; font-size: 12px; color: var(--ink-2); }

/* Wide: horizontal track */
@container (min-width: 720px) {
  .jn-track { padding-top: 62px; }
  .jn-stations { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
  .jn-st { padding: 8px 10px 16px; }
  .jn-btn { flex-direction: column; align-items: flex-start; gap: 14px; }
  .jn-body { padding-left: 4px; }
  .jn-pp { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 32px; }
  .jn-qr { flex-direction: column; text-align: center; gap: 10px; }
  .jn-qr-frame { width: 120px; }
  .jn-qr figcaption { max-width: 170px; }
}
@container (min-width: 900px) {
  .jn-pp-f { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  .jn-root *, .jn-root *::before, .jn-root *::after { transition: none !important; animation: none !important; }
}


.console-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 50px; }
.screen { background: var(--gray); border-radius: var(--r-card); padding: 24px 24px 28px; text-align: left; }
.screen-top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 10px; }
.live { display: inline-flex; align-items: center; gap: 6px; color: var(--cl-green); }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulse 1.2s ease-in-out infinite; }
.screen svg { display: block; width: 100%; height: auto; background: #fff; border-radius: var(--r-ui); overflow: visible; }
.screen svg text { font: 600 11px ui-monospace, "SF Mono", Menlo, monospace; fill: var(--ink-2); }
.screen svg .row text { fill: var(--ink); font-weight: 500; }
.screen svg * { transform-box: fill-box; }
.screen h3 { font-size: 24px; letter-spacing: -.02em; margin: 20px 0 8px; }
.screen p { color: var(--ink-2); font-size: 17px; }
.screen .small { display: block; margin-top: 10px; }
@keyframes scanx { from { transform: translateX(0); } to { transform: translateX(420px); } }
.scanbar { animation: scanx 3s ease-in-out infinite alternate; }
.scanbar .beam { animation: glow .8s ease-in-out infinite; }
@keyframes rowin { 0%, 12% { opacity: 0; transform: translateY(4px); } 20%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.row { animation: rowin 3.6s var(--ease) infinite; }
.row.r2 { animation-delay: .5s; } .row.r3 { animation-delay: 1s; }
@keyframes settle { 0%, 8% { transform: scaleY(1); fill: var(--c); } 55%, 90% { transform: scaleY(.06); fill: #64A932; } 100% { transform: scaleY(1); fill: var(--c); } }
.zb { transform-origin: center; animation: settle 4.2s var(--ease) infinite; animation-delay: calc(var(--i) * 60ms); }
.zb[y="120"] { transform-origin: top; }
.zb:not([y="120"]) { transform-origin: bottom; }
@media (max-width: 760px) { .console-duo { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .scanbar, .row, .zb, .live::before { animation: none; } }
.sec:not(.sec-gray):not(.sec-dark) .card .px { --pb: #F5F5F7; }
.sec-dark .px { --pb: #1D1D1F; --pl: #3A3A3C; }
.px * { animation-play-state: paused !important; }
.card:hover .px *, .touch .px * { animation-play-state: running !important; }
.px .spin { animation: turn 2.2s linear infinite; }
.px .spin1 { animation: turn 1.6s var(--ease) infinite; }
.px-press .sheet { animation: px-slide 1.6s var(--ease) infinite; }
@keyframes px-slide { 0% { transform: none; opacity: 1; } 70% { transform: translateX(26px); opacity: 0; } 71% { transform: none; opacity: 0; } 100% { opacity: 1; } }
.px-operator .ring { animation: px-ring 1.2s ease-out infinite; }
@keyframes px-ring { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(2.6); opacity: 0; } }
.px-bars .gb { transform-origin: bottom; animation: px-grow 1.6s var(--ease) calc(var(--i) * .15s) infinite; }
@keyframes px-grow { 0%, 100% { transform: none; } 50% { transform: scaleY(.3); } }
.px-scan .head { animation: px-x 1.4s ease-in-out infinite alternate; --x: 36px; }
.px-net .tr { animation: px-x 1s ease-in-out infinite alternate; --x: 16px; }
@keyframes px-x { to { transform: translateX(var(--x)); } }
.px-crews .dr, .px-report .tk, .px-history .ln { stroke-dasharray: 60; animation: px-draw 1.8s var(--ease) calc(var(--i, 0) * .2s) infinite; }
.px-report .tk { stroke-dasharray: 14; --d: 14; }
@keyframes px-draw { 0%, 100% { stroke-dashoffset: 0; } 45% { stroke-dashoffset: var(--d, 60); } }
.px-approx .kn, .px-keys .kn { transform: translateY(var(--o)); }
.px-approx .kn { animation: px-jig calc(.8s + var(--i) * .15s) ease-in-out infinite; }
@keyframes px-jig { 0%, 100% { transform: translateY(var(--o)); } 50% { transform: translateY(calc(var(--o) * -1)); } }
.px-keys .kn { animation: px-level 2.4s var(--ease) infinite; }
@keyframes px-level { 0%, 100% { transform: translateY(var(--o)); } 40%, 80% { transform: none; } }
.px-target .dd { animation: px-off 1.3s ease-in-out infinite alternate; }
@keyframes px-off { to { transform: translate(10px, -9px); } }
.px-aim .dd { animation: px-home 2s var(--ease) infinite; }
@keyframes px-home { 0%, 100% { transform: none; } 45%, 80% { transform: translate(-12px, 11px); } }
.px-blank .ln, .px-sites .win, .px-glance .st, .px-live .wv { animation: px-fade .9s ease-in-out calc(var(--i) * .15s) infinite alternate; }
@keyframes px-fade { to { opacity: .15; } }
.px-server .led { animation: px-fade .45s steps(2) calc(var(--i) * .2s) infinite alternate; }
.px-pc .bl, .px-browser .bl { transform-origin: left center; animation: px-bar 1.6s var(--ease) calc(var(--i) * .2s) infinite; }
@keyframes px-bar { 0%, 100% { transform: none; } 50% { transform: scaleX(.25); } }
.px-alert .shk { transform-origin: bottom center; animation: px-shake .7s ease-in-out infinite; }
@keyframes px-shake { 0%, 100% { transform: none; } 25% { transform: rotate(-8deg); } 75% { transform: rotate(8deg); } }
.px-history .end { animation: px-pop 1.8s var(--ease) infinite; }
@keyframes px-pop { 0%, 100% { transform: none; } 45% { transform: scale(0); } }
.px-oee .ndl, .px-dial .ndl { transform-box: view-box; transform-origin: 28px 40px; animation: px-needle 1.6s var(--ease) infinite; }
@keyframes px-needle { 0%, 100% { transform: none; } 50% { transform: rotate(-75deg); } }
.px-waste .top { animation: px-off2 1.6s var(--ease) infinite; }
@keyframes px-off2 { 0%, 100% { transform: none; opacity: 1; } 60% { transform: translate(16px, -10px) rotate(14deg); opacity: 0; } 61% { transform: none; opacity: 0; } }
.px-plan .bk { animation: px-in 1.8s var(--ease) calc(var(--i) * .2s) infinite; }
@keyframes px-in { 0%, 100% { transform: none; opacity: 1; } 30% { transform: translateX(-8px); opacity: 0; } 60% { transform: none; opacity: 1; } }
.px-swatch .fan { transform-box: view-box; transform-origin: 28px 41px; transform: rotate(calc(var(--r) * .55)); animation: px-fan .9s var(--ease) infinite alternate; }
@keyframes px-fan { to { transform: rotate(var(--r)); } }
.px-colorbar .sq { animation: px-sq 1.1s var(--ease) calc(var(--i) * .08s) infinite; }
@keyframes px-sq { 0%, 60%, 100% { transform: none; } 30% { transform: scale(1.3); } }
.px-users .bdg, .px-force .bolt { animation: pulse .7s var(--ease) infinite; }
.px-shield .pl { animation: pulse 1.2s var(--ease) infinite; }
.px-langs .b1 { animation: px-b1 1.4s ease-in-out infinite alternate; }
.px-langs .b2 { animation: px-b1 1.4s ease-in-out infinite alternate-reverse; }
@keyframes px-b1 { to { transform: scale(.86); opacity: .5; } }
.px-folder .doc { animation: px-y .9s var(--ease) infinite alternate; --y: 9px; }
.px-home .shk, .px-lock .shk { animation: px-y .6s var(--ease) infinite alternate; --y: -5px; }
@keyframes px-y { to { transform: translateY(var(--y)); } }
.px-link .c1 { animation: px-x .7s var(--ease) infinite alternate; --x: -4px; }
.px-link .c2 { animation: px-x .7s var(--ease) infinite alternate; --x: 4px; }
.px-qr .sl { animation: px-scanv 1.6s ease-in-out infinite; }
@keyframes px-scanv { 0%, 100% { transform: none; } 25% { transform: translateY(-20px); } 75% { transform: translateY(20px); } }
.px-power .pw { animation: px-press .6s var(--ease) infinite alternate; }
@keyframes px-press { to { transform: scale(.86); } }
/* Integration: keep ColorLoop's paper, type, blue actions and restrained surfaces. */
.ps-card,.qs-root,.lb-root,.jn-root,.closed-loop-study,.ex-icon{--gray:#edf0eb;--ink-2:#58615b;--ease:cubic-bezier(.22,1,.36,1);--r-card:4px;--r-ui:3px}
.ps-card,.qs-root,.jn-card{border:1px solid #b9c5c1;border-top:3px solid var(--cl-primary);border-radius:4px;box-shadow:none;background:#fcfcf8}
.ps-card{padding:26px}.ps-sub{font-size:14px}.ps-step{font-size:14px}.ps-slot,.ps-plate,.ps-unit,.ps-job,.ps-units,.ps-thumb svg{border-radius:3px}.ps-unit{padding:10px 8px}.ps-card .ps-title{width:100%}.ps-card .ps-steps{gap:12px}.ps-app{font-size:25px;letter-spacing:-.04em}.ps-apply{background:var(--cl-primary)}.ps-conf{font-size:13px}.ps-btn{font-size:14px;border-radius:3px}.ps-cap{max-width:340px;line-height:1.5}
.qs-root{max-width:none;padding:36px}.qs-body{grid-template-columns:280px 1fr;gap:7%;margin-top:34px}.qs-head{flex-direction:row;justify-content:space-between;align-items:center}.qs-seg{max-width:430px;border-radius:3px}.qs-seg-thumb{border-radius:2px}.qs-seg-btn{font-size:14px;min-height:44px}.qs-gauge{max-width:240px;margin:auto}.qs-crit-name{font-size:16px}.qs-crit-hint{font-size:14px}.qs-foot{margin-top:26px}.qs-legend{font-size:13px}.qs-crit-top{margin-bottom:7px}.qs-list{gap:20px}
.explainer-foot{display:flex;align-items:center;justify-content:space-between;gap:30px;padding-top:24px}.explainer-foot p{max-width:680px;font-size:15px}.motion-control{padding:9px 13px;font-size:13px;white-space:nowrap;border:1px solid #a3b2b0;border-radius:3px;background:transparent;color:var(--cl-primary);min-height:42px}.motion-control:hover{background:#e6e6e8}.motion-control[disabled]{opacity:.6;cursor:default}
.closed-loop-study{margin-top:65px;border-top:1px solid var(--line);padding-top:38px}.study-heading{display:flex;align-items:end;gap:40px;justify-content:space-between}.study-heading h3{font-size:clamp(29px,3vw,42px);margin-top:16px;letter-spacing:-.055em}.study-heading p{max-width:420px;font-size:16px}.study-heading>.motion-control{align-self:center}.console-duo{margin-top:30px;gap:20px}.console-duo .screen{background:#f8f9f5;border:1px solid #bac7c1;border-radius:3px;padding:24px}.console-duo .screen svg{border:1px solid #dce2dc;border-radius:2px}.console-duo .screen-top{font:12px/1.5 var(--mono);text-transform:uppercase;letter-spacing:.04em}.console-duo .screen h3{font-size:29px}.console-duo .screen p{font-size:16px}.console-duo .small{font:12px/1.5 var(--mono);color:var(--muted)}
.lb-root{padding:26px;background:#e7edeb;border:1px solid #b9c6c5;border-radius:4px;box-shadow:none;margin-bottom:36px}.lb-tv{max-width:none;border-radius:4px;box-shadow:none;background:#141416;padding:12px 12px 0}.lb-screen{border-radius:2px;background:#eef1ed;padding:22px}.lb-chin{color:#cfcfd1;font-size:12px;height:34px}.lb-stand{display:none}.lb-foot{margin-top:17px}.lb-tile{border-radius:3px;border:1px solid #c7d0cd;box-shadow:none}.lb-metrics .lb-k{font-size:12px}.lb-name{font-size:16px}.lb-sum{font-size:13px}.lb-clock{font:12px var(--mono);letter-spacing:.1em}.lb-btn{border-radius:3px}.lb-row{flex-wrap:wrap}.lb-cap{font-size:12px}
.portal-feature{position:relative}.portal-feature>.ex-icon{width:52px;height:52px;margin:28px 0 0;float:right}.portal-feature h3{clear:both}.portal-feature .portal-detail{font-size:14px;min-height:0;border-top:1px solid #c0c0c2;padding-top:20px;margin-top:25px}.portal-feature p{font-size:16px}.ex-icon{width:48px;height:48px;display:block;color:var(--cl-primary);overflow:visible}.ex-icon *{transform-box:fill-box;transform-origin:center}.ex-icon.is-visible *{animation-play-state:running!important}.evidence-grid .ex-icon{margin-bottom:26px}.evidence-grid{margin-top:44px}
.jn-card{max-width:none;padding:34px;margin:0}.jn-head{margin-bottom:32px}.jn-title{font-size:27px;letter-spacing:-.04em}.jn-chip,.jn-st,.jn-btn,.jn-pp,.jn-pill{border-radius:3px}.jn-play{border-radius:3px}.jn-bul{font-size:14px;line-height:1.6}.jn-name{font-size:15px}.jn-pp{background:#f0f3ee}.jn-pp-f dt,.jn-pp-f dd,.jn-pp-state{font-size:14px}.jn-qr figcaption,.jn-cap{font-size:12px}.jn-chip-s{font-size:12px}.jn-track{margin-top:6px}.jn-cap{margin-top:25px;line-height:1.6}.jn-pp .jn-qr{max-width:165px}
.flexo-explainer{grid-column:1/-1;border-top:1px solid var(--line);padding-top:36px;margin-top:14px}.process-media-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:30px}.process-media-grid figure{margin:0;display:grid;grid-template-columns:42% 1fr;border:1px solid #b9c6c1;border-radius:3px;overflow:hidden;background:#f8f9f4}.process-media-grid video{width:100%;height:310px;object-fit:cover;background:#e5e8dc}.process-media-grid figcaption{padding:25px;align-self:center}.process-media-grid h4{font-size:25px;letter-spacing:-.04em;line-height:1.15;margin:15px 0}.process-media-grid p{font-size:15px}.media-note{margin-top:17px;font-size:13px}.ex-icon .spin,.ex-icon .spin1{animation-name:ex-turn}@keyframes ex-turn{to{transform:rotate(360deg)}}
[data-cmp] button:disabled{opacity:.55;cursor:default}html[data-motion=paused] .ex-icon *{animation-play-state:paused!important}.console-duo:not(.is-visible) *{animation-play-state:paused!important}
@media(min-width:1180px){.ps-card .ps-steps{grid-template-columns:repeat(4,1fr)}.journey{grid-template-columns:.65fr 1.35fr}}
@media(max-width:1000px){.study-heading{flex-wrap:wrap;gap:24px}.study-heading p{max-width:420px}.qs-body{grid-template-columns:210px 1fr;gap:30px}.qs-head{align-items:start;flex-direction:column}.lb-screen{padding:14px}.process-media-grid figure{grid-template-columns:1fr}.process-media-grid video{height:240px}.process-media-grid figcaption{padding:24px}}
@media(max-width:760px){.ps-card{padding:18px}.ps-card .ps-step{font-size:12px}.ps-card .ps-bar{flex-wrap:wrap;gap:12px}.ps-card .ps-ctrl{margin-left:auto}.ps-unit .ps-keys{height:45px}.ps-conf{font-size:12px}.ps-sub{font-size:13px}.qs-root{padding:21px}.qs-body{grid-template-columns:1fr;gap:30px}.qs-dial{max-width:250px;margin:auto}.qs-head{gap:20px}.qs-lede{font-size:23px}.qs-seg-btn{font-size:12px;padding:10px 4px;white-space:normal}.qs-crit-hint{font-size:14px}.qs-criteria{width:100%}.qs-foot{flex-direction:column;align-items:start;gap:9px}.qs-note{font-size:14px}.explainer-foot{align-items:start;flex-direction:column;gap:18px}.console-duo{grid-template-columns:1fr}.console-duo .screen{padding:18px}.study-heading{display:block}.study-heading p{margin:20px 0}.study-heading .motion-control{margin-top:0}.closed-loop-study{margin-top:45px;padding-top:28px}.lb-root{padding:10px}.lb-tv{padding:7px 7px 0}.lb-screen{padding:12px}.lb-grid{gap:10px}.lb-tile{padding:16px}.lb-title{font-size:16px}.lb-sum{gap:6px 12px;font-size:12px}.lb-foot{padding:0 6px;margin-top:12px}.lb-metrics .lb-num{font-size:27px}.lb-head{margin-bottom:18px}.jn-card{padding:23px 18px}.jn-title{font-size:23px}.jn-bul{font-size:14px}.jn-pp{padding:20px 15px}.jn-pp-f{gap:14px}.jn-pp-f dd{font-size:14px}.jn-qr{margin-top:16px}.jn-st{padding-right:0}.jn-name{font-size:15px}.process-media-grid{grid-template-columns:1fr}.process-media-grid figure{grid-template-columns:38% 1fr}.process-media-grid video{height:100%;min-height:270px}.process-media-grid figcaption{padding:21px 17px}.process-media-grid h4{font-size:24px}.process-media-grid .mono{font-size:10px}.process-media-grid p{font-size:14px}.evidence-grid{margin-top:25px}}
@media(prefers-reduced-motion:reduce){.ex-icon *,.console-duo *{animation:none!important}.ps-stage,.ps-foot{opacity:1}}
/* Source console highlights, scoped to these illustrations. */
@keyframes ex-glow{50%{opacity:.35}}@keyframes ex-pulse{50%{transform:scale(1.12)}}
.console-duo .scanbar .beam{animation-name:ex-glow}.console-duo .live:before{animation-name:ex-pulse}
.jn-root .jn-pp:not(.jn-on) .jn-pp-f dd{user-select:none}.ps-cap,.qs-cap,.jn-cap{color:#58615b}
