/* svc.css on the page: the services section's stylesheets as one file, verbatim and in their order (v3/svc,
   tools/bundle-css.mjs): art/cloud.css ... art/ai-ml.css (the six tiles), then svc.css. Edit the sources in v3/svc. */
/* ---- v3/svc/art/cloud.css */
/* Service art "cloud": a simulated AWS serverless API. Every rule is scoped under .th-svc-art--cloud.
   Fixed 400 x 400 design box in CSS px: the section scales it with transform: scale(), so nothing here depends on the
   viewport or the container. Colours and fonts are the homepage tokens (with fallbacks, for Kajabi). No outer card
   chrome: the section frames the tile. Motion is driven by cloud.js (transform and opacity only). */
.th-svc-art--cloud {
  --sa-ok: var(--ok, #00d68f);
  --sa-cyan: var(--cyan, #00d4ff);
  --sa-async: #a78bfa;
  --sa-line: var(--line, rgba(255, 255, 255, .09));
  --sa-wire: rgba(255, 255, 255, .2);
  position: relative; display: block; flex: none; width: var(--sa-w, 400px); height: 400px; max-width: none; margin: 0; padding: 0;
  overflow: hidden; contain: strict; box-sizing: border-box;
  font: 400 12px/1.2 var(--f-body, 'Outfit', system-ui, sans-serif); color: var(--text, #eef2fb);
  text-align: left; letter-spacing: 0; -webkit-font-smoothing: antialiased; -webkit-user-select: none; user-select: none;
  text-transform: none; text-indent: 0; text-shadow: none; word-spacing: normal; white-space: normal; /* nothing inherited from the host */
}
@supports (color: color-mix(in srgb, red, blue)) {
  .th-svc-art--cloud { --sa-async: color-mix(in srgb, var(--violet, #7c3aed) 55%, #fff); }
}
.th-svc-art--cloud *, .th-svc-art--cloud *::before, .th-svc-art--cloud *::after { box-sizing: border-box; }
.th-svc-art--cloud :is(b, small, i, em, span, img, svg) { margin: 0; padding: 0; font-style: normal; }
.th-svc-art--cloud img { display: block; max-width: none; border: 0; border-radius: 0; }

/* Header: what it is, where it runs, the simulation label */
.th-svc-art--cloud .th-svc-art__hd {
  position: absolute; left: 0; top: 0; width: var(--sa-w, 400px); height: 44px; padding: 0 16px;
  display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--sa-line); white-space: nowrap;
}
.th-svc-art--cloud .th-svc-art__ttl { font: 500 14px/1 var(--f-display, 'Space Grotesk', sans-serif); color: var(--text, #eef2fb); }
.th-svc-art--cloud .th-svc-art__where { font: 400 11px/1 var(--f-mono, 'JetBrains Mono', monospace); color: var(--text-3, #8d97b2); }
.th-svc-art--cloud .th-svc-art__pill {
  margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 6px; height: 20px; padding: 0 8px;
  border: 1px solid var(--line-2, rgba(255, 255, 255, .16)); border-radius: 10px;
  font: 500 9.5px/1 var(--f-mono, 'JetBrains Mono', monospace); letter-spacing: .08em; text-transform: uppercase; color: var(--text-2, #b4bdd3);
}

/* The architecture: wires (SVG), the AWS Cloud group, request dots, nodes (official icons, named under) */
.th-svc-art--cloud .th-svc-art__wires { position: absolute; left: 0; top: 0; width: 400px; height: 400px; z-index: 1; overflow: visible; }
.th-svc-art--cloud .th-svc-art__grp-box { fill: rgba(255, 255, 255, .015); stroke: rgba(255, 255, 255, .16); stroke-width: 1; }
.th-svc-art--cloud .th-svc-art__wire { fill: none; stroke: var(--sa-wire); stroke-width: 1; }
.th-svc-art--cloud .th-svc-art__wire--async { stroke: var(--sa-async); stroke-opacity: .55; stroke-dasharray: 3 3; }
.th-svc-art--cloud .th-svc-art__head { fill: none; stroke: rgba(255, 255, 255, .42); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.th-svc-art--cloud .th-svc-art__head--async { stroke: var(--sa-async); stroke-opacity: .8; }
.th-svc-art--cloud .th-svc-art__grp { position: absolute; left: 93px; top: 55px; width: 20px; height: 20px; z-index: 3; opacity: .82; } /* official group icon, dimmed by opacity only */
.th-svc-art--cloud .th-svc-art__grp-t { position: absolute; left: 119px; top: 60px; z-index: 3; font: 400 10px/1 var(--f-mono, 'JetBrains Mono', monospace); color: var(--text-3, #8d97b2); white-space: nowrap; }
.th-svc-art--cloud .th-svc-art__dots { position: absolute; left: 0; top: 0; width: 400px; height: 400px; z-index: 2; pointer-events: none; }
.th-svc-art--cloud .th-svc-art__dots i { position: absolute; left: -3px; top: -3px; width: 6px; height: 6px; border-radius: 50%; background: var(--sa-cyan); }
.th-svc-art--cloud.is-playing .th-svc-art__dots i { will-change: transform, opacity; } /* layers only while it moves */
.th-svc-art--cloud .th-svc-art__dots i[data-v="async"] { background: var(--sa-async); }
.th-svc-art--cloud .th-svc-art__n { position: absolute; z-index: 3; width: 80px; display: flex; flex-direction: column; align-items: center; text-align: center; white-space: nowrap; }
.th-svc-art--cloud .th-svc-art__n b { margin-top: 4px; font: 500 12px/14px var(--f-display, 'Space Grotesk', sans-serif); color: var(--text, #eef2fb); }
.th-svc-art--cloud .th-svc-art__n small { font: 400 10px/12px var(--f-mono, 'JetBrains Mono', monospace); color: var(--text-3, #8d97b2); }
.th-svc-art--cloud .th-svc-art__n img { width: 28px; height: 28px; }
.th-svc-art--cloud .th-svc-art__n--users img, .th-svc-art--cloud .th-svc-art__n--api img { width: 30px; height: 30px; }
.th-svc-art--cloud .th-svc-art__n--users { left: 6px; top: 145px; }
.th-svc-art--cloud .th-svc-art__n--api { left: 100px; top: 145px; }
.th-svc-art--cloud .th-svc-art__n--fn1 { left: 198px; top: 84px; }
.th-svc-art--cloud .th-svc-art__n--fn2 { left: 198px; top: 146px; }
.th-svc-art--cloud .th-svc-art__n--fn3 { left: 198px; top: 208px; }
.th-svc-art--cloud .th-svc-art__n--s3 { left: 296px; top: 84px; }
.th-svc-art--cloud .th-svc-art__n--rds { left: 296px; top: 146px; }
.th-svc-art--cloud .th-svc-art__n--sns { left: 296px; top: 208px; }

/* Readouts: four stats and the three most recent requests (newest first) */
.th-svc-art--cloud .th-svc-art__stats {
  position: absolute; left: 16px; top: 280px; width: calc(var(--sa-w, 400px) - 32px); height: 46px; padding-top: 9px;
  display: flex; border-top: 1px solid var(--sa-line);
}
.th-svc-art--cloud .th-svc-art__stat { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.th-svc-art--cloud .th-svc-art__stat small { font: 500 9.5px/12px var(--f-mono, 'JetBrains Mono', monospace); letter-spacing: .06em; text-transform: uppercase; color: var(--text-3, #8d97b2); white-space: nowrap; }
.th-svc-art--cloud .th-svc-art__stat b { font: 500 16px/20px var(--f-mono, 'JetBrains Mono', monospace); color: var(--text, #eef2fb); font-variant-numeric: tabular-nums; }
.th-svc-art--cloud .th-svc-art__log { position: absolute; left: 16px; top: 331px; width: calc(var(--sa-w, 400px) - 32px); }
.th-svc-art--cloud .th-svc-art__row {
  display: grid; grid-template-columns: 54px minmax(0, 1fr) 34px 50px; align-items: center; height: 21px;
  font: 400 10.5px/1 var(--f-mono, 'JetBrains Mono', monospace); color: var(--text, #eef2fb); white-space: nowrap;
}
.th-svc-art--cloud .th-svc-art__row + .th-svc-art__row { border-top: 1px solid rgba(255, 255, 255, .05); }
.th-svc-art--cloud .th-svc-art__row b { font-weight: 500; color: var(--text-2, #b4bdd3); }
.th-svc-art--cloud .th-svc-art__row span { overflow: hidden; text-overflow: ellipsis; }
.th-svc-art--cloud .th-svc-art__row i { color: var(--sa-ok); }
.th-svc-art--cloud .th-svc-art__row em { text-align: right; color: var(--text-3, #8d97b2); font-variant-numeric: tabular-nums; }
/* Width (2026-11-27, v3/svc follow-up): the box is 400px tall and --sa-w wide, 400px unless the host sets it (the
   services section's pinned grid does, up to 720px, so a tile can be wider than tall without being stretched or
   cropped). The header, the four readouts and the request log span it; the architecture (wires, AWS Cloud group, dots, nodes) keeps its coordinates and is centred. */
.th-svc-art--cloud { --sa-dx: calc((var(--sa-w, 400px) - 400px) / 2); }
.th-svc-art--cloud :is(.th-svc-art__wires, .th-svc-art__grp, .th-svc-art__grp-t, .th-svc-art__dots, .th-svc-art__n) { margin-left: var(--sa-dx); }
/* ---- v3/svc/art/kubernetes.css */
/* Service art "kubernetes": a simulated EKS deployment scaling behind an ingress. Every rule is scoped under
   .th-svc-art--kubernetes. Fixed 400 x 400 design box in CSS px: the section scales it with transform: scale(), so
   nothing here depends on the viewport or the container. Homepage tokens, with fallbacks for Kajabi. No outer card
   chrome: the section frames the tile. Motion is driven by kubernetes.js (transform and opacity only). */
.th-svc-art--kubernetes {
  --sa-ok: var(--ok, #00d68f);
  --sa-warn: var(--draft, #fbbf24);
  --sa-bad: #ff6b81;
  --sa-cyan: var(--cyan, #00d4ff);
  --sa-line: var(--line, rgba(255, 255, 255, .09));
  --sa-wire: rgba(255, 255, 255, .22);
  position: relative; display: block; flex: none; width: var(--sa-w, 400px); height: 400px; max-width: none; margin: 0; padding: 0;
  overflow: hidden; contain: strict; box-sizing: border-box;
  font: 400 12px/1.2 var(--f-body, 'Outfit', system-ui, sans-serif); color: var(--text, #eef2fb);
  text-align: left; letter-spacing: 0; -webkit-font-smoothing: antialiased; -webkit-user-select: none; user-select: none;
  text-transform: none; text-indent: 0; text-shadow: none; word-spacing: normal; white-space: normal; /* nothing inherited from the host */
}
.th-svc-art--kubernetes *, .th-svc-art--kubernetes *::before, .th-svc-art--kubernetes *::after { box-sizing: border-box; }
.th-svc-art--kubernetes :is(b, small, i, s, u, span, img, svg) { margin: 0; padding: 0; font-style: normal; text-decoration: none; }
.th-svc-art--kubernetes img { display: block; max-width: none; border: 0; border-radius: 0; }
.th-svc-art--kubernetes small { font: 500 9.5px/12px var(--f-mono, 'JetBrains Mono', monospace); letter-spacing: .06em; text-transform: uppercase; color: var(--text-3, #8d97b2); white-space: nowrap; }

/* Header */
.th-svc-art--kubernetes .th-svc-art__hd {
  position: absolute; left: 0; top: 0; width: var(--sa-w, 400px); height: 44px; padding: 0 16px;
  display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--sa-line); white-space: nowrap;
}
.th-svc-art--kubernetes .th-svc-art__hd img { width: 22px; height: 22px; }
.th-svc-art--kubernetes .th-svc-art__hd b { font: 500 14px/1 var(--f-display, 'Space Grotesk', sans-serif); color: var(--text, #eef2fb); }
.th-svc-art--kubernetes .th-svc-art__dep { margin-left: 2px; font: 400 11px/1 var(--f-mono, 'JetBrains Mono', monospace); color: var(--text-3, #8d97b2); }
.th-svc-art--kubernetes .th-svc-art__pill {
  margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 6px; height: 20px; padding: 0 8px;
  border: 1px solid var(--line-2, rgba(255, 255, 255, .16)); border-radius: 10px;
  font: 500 9.5px/1 var(--f-mono, 'JetBrains Mono', monospace); letter-spacing: .08em; text-transform: uppercase; color: var(--text-2, #b4bdd3);
}

/* Meters: requests per second with a sparkline, CPU per pod against the 60% target */
.th-svc-art--kubernetes .th-svc-art__meters { position: absolute; left: 16px; top: 56px; width: calc(var(--sa-w, 400px) - 32px); height: 48px; display: flex; gap: 28px; }
.th-svc-art--kubernetes .th-svc-art__m { display: grid; grid-template-rows: 12px 30px; row-gap: 6px; align-items: center; min-width: 0; }
.th-svc-art--kubernetes .th-svc-art__m small { grid-column: 1 / -1; }
.th-svc-art--kubernetes .th-svc-art__m b { font: 500 22px/30px var(--f-mono, 'JetBrains Mono', monospace); color: var(--text, #eef2fb); font-variant-numeric: tabular-nums; }
.th-svc-art--kubernetes .th-svc-art__m--req { flex: none; width: 166px; grid-template-columns: 70px 84px; column-gap: 12px; }
.th-svc-art--kubernetes .th-svc-art__spark { display: block; width: 84px; height: 24px; overflow: visible; }
.th-svc-art--kubernetes .th-svc-art__spark polyline { fill: none; stroke: var(--sa-cyan); stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; }
.th-svc-art--kubernetes .th-svc-art__spark polygon { fill: var(--sa-cyan); fill-opacity: .1; stroke: none; }
.th-svc-art--kubernetes .th-svc-art__m--cpu { flex: 1 1 0; grid-template-columns: minmax(0, 1fr) 62px; column-gap: 12px; }
.th-svc-art--kubernetes .th-svc-art__m--cpu b { text-align: right; }
.th-svc-art--kubernetes .th-svc-art__bar { position: relative; display: block; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .09); }
.th-svc-art--kubernetes .th-svc-art__bar s { position: absolute; left: 0; top: 0; width: 100%; height: 6px; border-radius: 3px; background: var(--sa-cyan); transform-origin: 0 50%; }
.th-svc-art--kubernetes .th-svc-art__bar i { position: absolute; left: 60%; top: -5px; width: 1px; height: 16px; background: rgba(255, 255, 255, .6); }
.th-svc-art--kubernetes .th-svc-art__m--cpu[data-hot] .th-svc-art__bar s { background: var(--sa-warn); }
.th-svc-art--kubernetes .th-svc-art__m--cpu[data-hot] b { color: var(--sa-warn); }

/* Ingress, trunk, request dots, pods */
.th-svc-art--kubernetes .th-svc-art__lines { position: absolute; left: 0; top: 0; width: 400px; height: 400px; z-index: 1; overflow: visible; }
.th-svc-art--kubernetes .th-svc-art__trunk { fill: none; stroke: var(--sa-wire); stroke-width: 1; }
.th-svc-art--kubernetes .th-svc-art__n { position: absolute; z-index: 3; width: 80px; display: flex; flex-direction: column; align-items: center; text-align: center; white-space: nowrap; }
.th-svc-art--kubernetes .th-svc-art__n img { width: 30px; height: 30px; }
.th-svc-art--kubernetes .th-svc-art__n b { margin-top: 4px; font: 500 12px/14px var(--f-display, 'Space Grotesk', sans-serif); color: var(--text, #eef2fb); }
.th-svc-art--kubernetes .th-svc-art__n small { font: 400 10px/12px var(--f-mono, 'JetBrains Mono', monospace); letter-spacing: 0; text-transform: none; }
.th-svc-art--kubernetes .th-svc-art__n--lb { left: 4px; top: 201px; }
.th-svc-art--kubernetes .th-svc-art__dots { position: absolute; left: 0; top: 0; width: 400px; height: 400px; z-index: 2; pointer-events: none; }
.th-svc-art--kubernetes .th-svc-art__dots i { position: absolute; left: -3px; top: -3px; width: 6px; height: 6px; border-radius: 50%; background: var(--sa-cyan); }
.th-svc-art--kubernetes.is-playing .th-svc-art__dots i { will-change: transform, opacity; } /* layers only while it moves */
.th-svc-art--kubernetes .th-svc-art__pods {
  position: absolute; left: 101px; top: 124px; z-index: 3;
  display: grid; grid-template-columns: repeat(4, 64px); grid-auto-rows: 84px; column-gap: 9px; row-gap: 16px;
}
.th-svc-art--kubernetes .th-svc-art__pod {
  position: relative; display: flex; flex-direction: column; align-items: center; padding-top: 22px;
  border: 1px solid rgba(var(--cyan-rgb, 0, 212, 255), .34); border-radius: 8px; background: rgba(var(--cyan-rgb, 0, 212, 255), .05);
  white-space: nowrap; transform-origin: 50% 50%;
}
.th-svc-art--kubernetes .th-svc-art__pod::before { content: ''; position: absolute; left: 50%; width: 1px; height: 7px; margin-left: -.5px; background: var(--sa-wire); }
.th-svc-art--kubernetes .th-svc-art__pod:nth-child(-n+4)::before { top: calc(100% + 1px); }
.th-svc-art--kubernetes .th-svc-art__pod:nth-child(n+5)::before { bottom: calc(100% + 1px); }
.th-svc-art--kubernetes .th-svc-art__pod i { position: absolute; left: 8px; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--sa-ok); }
.th-svc-art--kubernetes .th-svc-art__pod b { font: 400 9.5px/12px var(--f-mono, 'JetBrains Mono', monospace); color: var(--text-2, #b4bdd3); }
.th-svc-art--kubernetes .th-svc-art__pod span { margin-top: 8px; font: 500 10.5px/14px var(--f-body, 'Outfit', sans-serif); color: var(--text, #eef2fb); }
.th-svc-art--kubernetes .th-svc-art__pod u { position: absolute; left: 10px; right: 10px; bottom: 12px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.th-svc-art--kubernetes .th-svc-art__pod s { position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: var(--sa-cyan); transform-origin: 0 50%; }
.th-svc-art--kubernetes .th-svc-art__pod[data-s="pend"] { border-style: dashed; border-color: rgba(251, 191, 36, .55); background: rgba(251, 191, 36, .06); }
/* Creating (2026-11-29, the owner's pod rules): scheduled and starting its container, so the outline turns solid; still
   amber until it runs (kubernetes.js: Pending, then Creating, then Running) */
.th-svc-art--kubernetes .th-svc-art__pod[data-s="make"] { border-color: rgba(251, 191, 36, .55); background: rgba(251, 191, 36, .06); }
.th-svc-art--kubernetes .th-svc-art__pod:is([data-s="pend"], [data-s="make"]) i { background: var(--sa-warn); }
.th-svc-art--kubernetes .th-svc-art__pod:is([data-s="pend"], [data-s="make"]) span { color: var(--sa-warn); }
.th-svc-art--kubernetes .th-svc-art__pod[data-s="term"] { border-color: rgba(255, 107, 129, .5); background: rgba(255, 107, 129, .06); }
.th-svc-art--kubernetes .th-svc-art__pod[data-s="term"] i { background: var(--sa-bad); }
.th-svc-art--kubernetes .th-svc-art__pod[data-s="term"] span { color: var(--sa-bad); }
/* a slot with no pod draws nothing, its place kept (2026-11-29, the owner: "why not just hide the empty boxes that don't
   exist 'yet' until they're needed and show up?"): a pod appears as a dashed Pending placeholder when the autoscaler
   adds it, turns Creating, then runs; a terminated pod fades out before its slot empties; the dots never head to an
   empty slot (kubernetes.js) */
.th-svc-art--kubernetes .th-svc-art__pod[data-s="empty"] { visibility: hidden; }

/* Footer: the autoscaler's state and its settings */
.th-svc-art--kubernetes .th-svc-art__ft {
  position: absolute; left: 16px; top: 324px; width: calc(var(--sa-w, 400px) - 32px); padding-top: 13px; border-top: 1px solid var(--sa-line);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; row-gap: 11px; white-space: nowrap;
}
.th-svc-art--kubernetes .th-svc-art__hpa { display: flex; align-items: center; gap: 8px; min-width: 0; color: var(--text, #eef2fb); }
.th-svc-art--kubernetes .th-svc-art__hpa b { font: 500 14px/18px var(--f-display, 'Space Grotesk', sans-serif); color: inherit; }
.th-svc-art--kubernetes .th-svc-art__hpa i { display: none; width: 0; height: 0; border-left: 4.5px solid transparent; border-right: 4.5px solid transparent; }
.th-svc-art--kubernetes .th-svc-art__hpa[data-dir="up"] i { display: block; border-bottom: 7px solid currentColor; }
.th-svc-art--kubernetes .th-svc-art__hpa[data-dir="down"] i { display: block; border-top: 7px solid currentColor; }
.th-svc-art--kubernetes .th-svc-art__hpa[data-tone="ok"] { color: var(--sa-ok); }
.th-svc-art--kubernetes .th-svc-art__hpa[data-tone="warn"] { color: var(--sa-warn); }
.th-svc-art--kubernetes .th-svc-art__hpa[data-tone="bad"] { color: var(--sa-bad); }
.th-svc-art--kubernetes .th-svc-art__ready { display: flex; align-items: center; gap: 8px; }
.th-svc-art--kubernetes .th-svc-art__ready b { font: 500 15px/18px var(--f-mono, 'JetBrains Mono', monospace); color: var(--text, #eef2fb); font-variant-numeric: tabular-nums; }
.th-svc-art--kubernetes .th-svc-art__cfg { grid-column: 1 / -1; font: 400 10px/12px var(--f-mono, 'JetBrains Mono', monospace); color: var(--text-3, #8d97b2); }
/* Width (2026-11-27, v3/svc follow-up): the box is 400px tall and --sa-w wide, 400px unless the host sets it (the
   services section's pinned grid does, up to 720px, so a tile can be wider than tall without being stretched or
   cropped). The header, the two meters (the CPU bar grows) and the autoscaler footer span it; the ingress, trunk, dots and pods keep their coordinates and are centred. */
.th-svc-art--kubernetes { --sa-dx: calc((var(--sa-w, 400px) - 400px) / 2); }
.th-svc-art--kubernetes :is(.th-svc-art__lines, .th-svc-art__n, .th-svc-art__dots, .th-svc-art__pods) { margin-left: var(--sa-dx); }
/* ---- v3/svc/art/devsecops.css */
/* Service art "devsecops": a simulated dependency scan that blocks a merge. Every rule is scoped under
   .th-svc-art--devsecops. Fixed 400 x 400 design box in CSS px: the section scales it with transform: scale(), so
   nothing here depends on the viewport or the container. Homepage tokens, with fallbacks for Kajabi. No outer card
   chrome: the section frames the tile. Motion is driven by devsecops.js (transform and opacity only). */
.th-svc-art--devsecops {
  --sa-ok: var(--ok, #00d68f);
  --sa-warn: var(--draft, #fbbf24);
  --sa-bad: #ff6b81;
  --sa-cyan: var(--cyan, #00d4ff);
  --sa-line: var(--line, rgba(255, 255, 255, .09));
  position: relative; display: block; flex: none; width: var(--sa-w, 400px); height: 400px; max-width: none; margin: 0; padding: 0;
  overflow: hidden; contain: strict; box-sizing: border-box;
  font: 400 12px/1.2 var(--f-body, 'Outfit', system-ui, sans-serif); color: var(--text, #eef2fb);
  text-align: left; letter-spacing: 0; -webkit-font-smoothing: antialiased; -webkit-user-select: none; user-select: none;
  text-transform: none; text-indent: 0; text-shadow: none; word-spacing: normal; white-space: normal; /* nothing inherited from the host */
}
.th-svc-art--devsecops *, .th-svc-art--devsecops *::before, .th-svc-art--devsecops *::after { box-sizing: border-box; }
.th-svc-art--devsecops :is(b, small, i, s, span) { margin: 0; padding: 0; font-style: normal; text-decoration: none; }

/* Header: the tool (npm has no icon in the registry, so it is a mono text tile), the file, the simulation label */
.th-svc-art--devsecops .th-svc-art__hd {
  position: absolute; left: 0; top: 0; width: var(--sa-w, 400px); height: 44px; padding: 0 16px;
  display: flex; align-items: center; gap: 7px; border-bottom: 1px solid var(--sa-line); white-space: nowrap;
}
.th-svc-art--devsecops .th-svc-art__tile {
  display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 20px; border: 1px solid var(--line-2, rgba(255, 255, 255, .16)); border-radius: 5px;
  font: 500 10px/1 var(--f-mono, 'JetBrains Mono', monospace); color: var(--text-2, #b4bdd3);
}
.th-svc-art--devsecops .th-svc-art__hd b { font: 500 14px/1 var(--f-display, 'Space Grotesk', sans-serif); color: var(--text, #eef2fb); }
.th-svc-art--devsecops .th-svc-art__file { font: 400 10px/1 var(--f-mono, 'JetBrains Mono', monospace); color: var(--text-3, #8d97b2); }
.th-svc-art--devsecops .th-svc-art__pill {
  margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 6px; height: 20px; padding: 0 8px;
  border: 1px solid var(--line-2, rgba(255, 255, 255, .16)); border-radius: 10px;
  font: 500 9.5px/1 var(--f-mono, 'JetBrains Mono', monospace); letter-spacing: .08em; text-transform: uppercase; color: var(--text-2, #b4bdd3);
}
.th-svc-art--devsecops .th-svc-art__prog { position: absolute; left: 0; top: 43px; width: var(--sa-w, 400px); height: 2px; z-index: 2; }
.th-svc-art--devsecops .th-svc-art__prog s { position: absolute; left: 0; top: 0; width: 100%; height: 2px; background: var(--sa-cyan); transform-origin: 0 50%; }

/* Rows: one package each; the band marks the row being checked */
.th-svc-art--devsecops .th-svc-art__rows { position: absolute; left: 0; top: 50px; width: var(--sa-w, 400px); height: 266px; }
.th-svc-art--devsecops .th-svc-art__band {
  position: absolute; left: 0; top: 0; width: var(--sa-w, 400px); height: 38px; z-index: 0;
  border-left: 2px solid var(--sa-cyan); background: rgba(var(--cyan-rgb, 0, 212, 255), .07);
}
.th-svc-art--devsecops .th-svc-art__row {
  position: relative; z-index: 1; height: 38px; padding: 0 16px;
  display: grid; grid-template-columns: 20px minmax(0, 1fr) 76px; grid-template-rows: 17px 13px; column-gap: 10px; row-gap: 2px; align-content: center;
  white-space: nowrap;
}
.th-svc-art--devsecops .th-svc-art__row:is([data-s="crit"], [data-s="high"]) { background: rgba(255, 107, 129, .055); }
.th-svc-art--devsecops .th-svc-art__row[data-s="mod"] { background: rgba(251, 191, 36, .05); }
.th-svc-art--devsecops .th-svc-art__glyph {
  grid-row: 1 / 3; grid-column: 1; align-self: center; position: relative; display: block; width: 20px; height: 20px;
  border: 1px solid rgba(255, 255, 255, .14); border-radius: 6px; color: var(--text-3, #8d97b2);
}
.th-svc-art--devsecops .th-svc-art__glyph::before, .th-svc-art--devsecops .th-svc-art__glyph::after { content: ''; position: absolute; display: none; background: currentColor; border-radius: 1px; }
.th-svc-art--devsecops .th-svc-art__pkg { grid-row: 1; grid-column: 2; display: flex; align-items: baseline; gap: 7px; min-width: 0; overflow: hidden; }
.th-svc-art--devsecops .th-svc-art__pkg b { font: 500 13px/17px var(--f-display, 'Space Grotesk', sans-serif); color: var(--text, #eef2fb); }
.th-svc-art--devsecops .th-svc-art__pkg small { font: 400 10.5px/17px var(--f-mono, 'JetBrains Mono', monospace); color: var(--text-3, #8d97b2); }
.th-svc-art--devsecops .th-svc-art__note { grid-row: 2; grid-column: 2; overflow: hidden; text-overflow: ellipsis; font: 400 10px/13px var(--f-mono, 'JetBrains Mono', monospace); color: var(--text-3, #8d97b2); }
.th-svc-art--devsecops .th-svc-art__badge {
  grid-row: 1 / 3; grid-column: 3; justify-self: end; align-self: center; display: inline-flex; align-items: center; height: 20px; padding: 0 8px;
  border: 1px solid var(--line-2, rgba(255, 255, 255, .16)); border-radius: 5px;
  font: 500 9.5px/1 var(--f-mono, 'JetBrains Mono', monospace); letter-spacing: .06em; text-transform: uppercase; color: var(--text-3, #8d97b2);
}
/* states */
.th-svc-art--devsecops .th-svc-art__row[data-s="queued"] :is(.th-svc-art__pkg, .th-svc-art__note) { opacity: .45; }
.th-svc-art--devsecops .th-svc-art__row[data-s="scan"] .th-svc-art__glyph { border-color: var(--sa-cyan); color: var(--sa-cyan); }
.th-svc-art--devsecops .th-svc-art__row[data-s="scan"] .th-svc-art__glyph::before { display: block; left: 6px; top: 6px; width: 6px; height: 6px; border-radius: 50%; }
.th-svc-art--devsecops .th-svc-art__row[data-s="scan"] .th-svc-art__badge { border-color: rgba(var(--cyan-rgb, 0, 212, 255), .5); color: var(--sa-cyan); }
.th-svc-art--devsecops .th-svc-art__row[data-s="clean"] .th-svc-art__glyph { border-color: rgba(0, 214, 143, .4); background: rgba(0, 214, 143, .1); color: var(--sa-ok); }
.th-svc-art--devsecops .th-svc-art__row[data-s="clean"] .th-svc-art__glyph::after { display: block; left: 6.5px; top: 3.5px; width: 5px; height: 9px; background: none; border: solid currentColor; border-width: 0 2px 2px 0; border-radius: 0; transform: rotate(45deg); }
.th-svc-art--devsecops .th-svc-art__row[data-s="clean"] .th-svc-art__badge { border-color: rgba(0, 214, 143, .38); background: rgba(0, 214, 143, .08); color: var(--sa-ok); }
.th-svc-art--devsecops .th-svc-art__row:is([data-s="crit"], [data-s="high"]) .th-svc-art__glyph { border-color: rgba(255, 107, 129, .45); background: rgba(255, 107, 129, .12); color: var(--sa-bad); }
.th-svc-art--devsecops .th-svc-art__row:is([data-s="crit"], [data-s="high"]) .th-svc-art__glyph::before,
.th-svc-art--devsecops .th-svc-art__row:is([data-s="crit"], [data-s="high"]) .th-svc-art__glyph::after { display: block; left: 4.5px; top: 8px; width: 9px; height: 2px; transform: rotate(45deg); }
.th-svc-art--devsecops .th-svc-art__row:is([data-s="crit"], [data-s="high"]) .th-svc-art__glyph::after { transform: rotate(-45deg); }
.th-svc-art--devsecops .th-svc-art__row:is([data-s="crit"], [data-s="high"]) .th-svc-art__badge { border-color: rgba(255, 107, 129, .45); background: rgba(255, 107, 129, .1); color: var(--sa-bad); }
.th-svc-art--devsecops .th-svc-art__row:is([data-s="crit"], [data-s="high"], [data-s="mod"]) .th-svc-art__note { color: var(--text-2, #b4bdd3); }
.th-svc-art--devsecops .th-svc-art__row[data-s="mod"] .th-svc-art__glyph { border-color: rgba(251, 191, 36, .45); background: rgba(251, 191, 36, .1); color: var(--sa-warn); }
.th-svc-art--devsecops .th-svc-art__row[data-s="mod"] .th-svc-art__glyph::before { display: block; left: 8px; top: 3.5px; width: 2px; height: 7px; }
.th-svc-art--devsecops .th-svc-art__row[data-s="mod"] .th-svc-art__glyph::after { display: block; left: 8px; top: 12px; width: 2px; height: 2px; }
.th-svc-art--devsecops .th-svc-art__row[data-s="mod"] .th-svc-art__badge { border-color: rgba(251, 191, 36, .45); background: rgba(251, 191, 36, .08); color: var(--sa-warn); }

/* Footer: totals and the verdict */
.th-svc-art--devsecops .th-svc-art__ft {
  position: absolute; left: 16px; top: 322px; width: calc(var(--sa-w, 400px) - 32px); padding-top: 12px; border-top: 1px solid var(--sa-line);
  display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 26px; row-gap: 10px; white-space: nowrap;
}
.th-svc-art--devsecops .th-svc-art__tot { display: inline-flex; align-items: baseline; gap: 7px; }
.th-svc-art--devsecops .th-svc-art__tot b { font: 500 20px/24px var(--f-mono, 'JetBrains Mono', monospace); font-variant-numeric: tabular-nums; }
.th-svc-art--devsecops .th-svc-art__tot small { font: 500 9.5px/12px var(--f-mono, 'JetBrains Mono', monospace); letter-spacing: .06em; text-transform: uppercase; color: var(--text-3, #8d97b2); }
.th-svc-art--devsecops .th-svc-art__tot--clean b { color: var(--sa-ok); }
.th-svc-art--devsecops .th-svc-art__tot--blocked b { color: var(--sa-bad); }
.th-svc-art--devsecops .th-svc-art__tot--warn b { color: var(--sa-warn); }
.th-svc-art--devsecops .th-svc-art__status { flex-basis: 100%; display: flex; align-items: center; gap: 8px; color: var(--text-2, #b4bdd3); }
.th-svc-art--devsecops .th-svc-art__status i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--sa-cyan); }
.th-svc-art--devsecops .th-svc-art__status b { font: 500 13px/18px var(--f-body, 'Outfit', sans-serif); color: inherit; }
.th-svc-art--devsecops .th-svc-art__status[data-tone="bad"] { color: var(--sa-bad); }
.th-svc-art--devsecops .th-svc-art__status[data-tone="bad"] i { background: var(--sa-bad); }
/* Width (2026-11-27, v3/svc follow-up): the box is 400px tall and --sa-w wide, 400px unless the host sets it (the
   services section's pinned grid does, up to 720px, so a tile can be wider than tall without being stretched or
   cropped). Everything is rows, so the header, the progress bar, the package rows (their notes get the room), the scan band and the footer span it. */
/* ---- v3/svc/art/full-stack.css */
/* Service art: full-stack. A deploy script in a terminal (lint, test, build, migrate, deploy). Ported from the live
   card (kajabi-theme/snippets/tsp-service-anim-fullstack.liquid) and made truthful; see NOTES-b.md.
   Contract: a fixed 400 x 400 CSS px design box that the section scales with transform: scale(). Sizes are px only
   (no viewport, container or rem units), so nothing reflows when it is scaled. No outer card chrome: the section
   frames the tile. Every rule is scoped under .th-svc-art--full-stack; keyframes are th-svc-fs-*. Reads tokens.css. */
.th-svc-art--full-stack {
  position: relative; display: block; box-sizing: border-box; flex: none; width: var(--sa-w, 400px); height: 400px; max-width: none;
  margin: 0; padding: 0; overflow: hidden; contain: strict; -webkit-user-select: none; user-select: none;
  font: 400 11.5px/19px var(--f-mono, 'JetBrains Mono', ui-monospace, monospace);
  font-variant-ligatures: none; color: var(--text, #eef2fb);
  text-align: left; text-transform: none; text-indent: 0; letter-spacing: 0; word-spacing: 0; white-space: normal;
  text-shadow: none; word-break: normal; overflow-wrap: normal; direction: ltr; /* nothing inherited from the host */
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
.th-svc-art--full-stack *, .th-svc-art--full-stack *::before, .th-svc-art--full-stack *::after {
  box-sizing: border-box; margin: 0; padding: 0; border: 0; font: inherit; color: inherit; letter-spacing: inherit;
  text-decoration: none; font-style: normal;
}

/* header: what it is, where it runs, the simulation label (44px, as in the other service tiles). No macOS window
   dots: none of the other five tiles has window chrome, and the red/amber/green dots were the loudest marks in the
   grid and in the 64px thumbnail. Copies of the round-1 fragment (svc.html until it is rebuilt) still carry the dots'
   markup, so it is hidden here and both fragments render the same. */
.th-svc-art--full-stack .th-svc-art__hd {
  position: absolute; left: 0; top: 0; width: var(--sa-w, 400px); height: 44px; display: flex; align-items: center; gap: 10px;
  padding: 0 16px; border-bottom: 1px solid var(--line, rgba(255, 255, 255, .09)); white-space: nowrap;
}
.th-svc-art--full-stack .th-svc-art__dots { display: none; }
.th-svc-art--full-stack .th-svc-art__ttl { font: 500 14px/1 var(--f-display, 'Space Grotesk', system-ui, sans-serif); color: var(--text, #eef2fb); }
.th-svc-art--full-stack .th-svc-art__ctx { font-size: 11px; line-height: 1; color: var(--text-3, #8d97b2); }
.th-svc-art--full-stack .th-svc-art__pill {
  margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 6px; height: 20px; padding: 0 8px;
  border: 1px solid var(--line-2, rgba(255, 255, 255, .16)); border-radius: 10px;
  font: 500 9.5px/1 var(--f-mono, 'JetBrains Mono', ui-monospace, monospace); letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-2, #b4bdd3); white-space: nowrap;
}

/* pipeline stages */
.th-svc-art--full-stack .th-svc-art__stages {
  position: absolute; left: 0; top: 44px; width: var(--sa-w, 400px); height: 48px; display: flex; align-items: center;
  padding: 0 16px; border-bottom: 1px solid rgba(255, 255, 255, .05);
}
.th-svc-art--full-stack .th-svc-art__stage {
  display: inline-flex; align-items: center; gap: 6px; flex: none; font-size: 11px; line-height: 1;
  color: var(--text-3, #8d97b2); white-space: nowrap; transition: color .3s;
}
.th-svc-art--full-stack .th-svc-art__stage i {
  display: block; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .28);
  transition: background-color .3s, border-color .3s;
}
.th-svc-art--full-stack .th-svc-art__link { display: block; flex: 1; min-width: 6px; height: 1px; margin: 0 7px; background: rgba(255, 255, 255, .14); }
.th-svc-art--full-stack .th-svc-art__stage[data-s="run"] { color: var(--cyan, #00d4ff); }
.th-svc-art--full-stack .th-svc-art__stage[data-s="run"] i { border-color: var(--cyan, #00d4ff); background: rgba(0, 212, 255, .25); }
.th-svc-art--full-stack .th-svc-art__stage[data-s="ok"] { color: var(--text-2, #b4bdd3); }
.th-svc-art--full-stack .th-svc-art__stage[data-s="ok"] i { border-color: var(--ok, #00d68f); background: var(--ok, #00d68f); }

/* output: the lines sit on the bottom edge; JS appends and slides them up */
.th-svc-art--full-stack .th-svc-art__out { position: absolute; left: 0; top: 92px; width: var(--sa-w, 400px); height: 272px; overflow: hidden; }
.th-svc-art--full-stack .th-svc-art__lines { position: absolute; left: 16px; bottom: 12px; width: calc(var(--sa-w, 400px) - 32px); }
.th-svc-art--full-stack .th-svc-art__ln { display: block; height: 19px; line-height: 19px; white-space: pre; overflow: hidden; color: var(--text-3, #8d97b2); }
.th-svc-art--full-stack [data-k="step"] { color: var(--cyan, #00d4ff); }
.th-svc-art--full-stack [data-k="cmd"] { color: var(--text-2, #b4bdd3); }
.th-svc-art--full-stack [data-k="ok"] { color: var(--ok, #00d68f); }
.th-svc-art--full-stack [data-k="ps"] { color: var(--ok, #00d68f); }
.th-svc-art--full-stack [data-k="in"] { color: var(--text, #eef2fb); }
.th-svc-art--full-stack .th-svc-art__caret {
  display: inline-block; width: 7px; height: 14px; margin-left: 1px; vertical-align: -2px; background: var(--text-2, #b4bdd3);
}

/* status bar */
.th-svc-art--full-stack .th-svc-art__foot {
  position: absolute; left: 0; top: 364px; width: var(--sa-w, 400px); height: 36px; display: flex; align-items: center;
  justify-content: space-between; gap: 12px; padding: 0 16px; border-top: 1px solid var(--line, rgba(255, 255, 255, .09));
  font-size: 11px; line-height: 1;
}
.th-svc-art--full-stack .th-svc-art__status { display: inline-flex; align-items: center; gap: 7px; color: var(--text-3, #8d97b2); white-space: nowrap; transition: color .3s; }
.th-svc-art--full-stack .th-svc-art__status i { display: block; width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .3); transition: background-color .3s; }
.th-svc-art--full-stack .th-svc-art__url { color: var(--text-3, #8d97b2); white-space: nowrap; transition: color .3s; }
.th-svc-art--full-stack .th-svc-art__foot[data-s="run"] .th-svc-art__status { color: var(--cyan, #00d4ff); }
.th-svc-art--full-stack .th-svc-art__foot[data-s="run"] .th-svc-art__status i { background: var(--cyan, #00d4ff); }
.th-svc-art--full-stack .th-svc-art__foot[data-s="ok"] .th-svc-art__status { color: var(--ok, #00d68f); }
.th-svc-art--full-stack .th-svc-art__foot[data-s="ok"] .th-svc-art__status i { background: var(--ok, #00d68f); }
.th-svc-art--full-stack .th-svc-art__foot[data-s="ok"] .th-svc-art__url { color: var(--text-2, #b4bdd3); }

/* motion runs only while the JS has the tile playing (.is-playing); paused and static frames are still */
.th-svc-art--full-stack.is-playing .th-svc-art__caret { animation: th-svc-fs-caret 1.05s steps(1, end) infinite; }
.th-svc-art--full-stack.is-playing .th-svc-art__stage[data-s="run"] i,
.th-svc-art--full-stack.is-playing .th-svc-art__foot[data-s="run"] .th-svc-art__status i { animation: th-svc-fs-blink .8s ease-in-out infinite alternate; }
@keyframes th-svc-fs-caret { 50% { opacity: 0; } }
@keyframes th-svc-fs-blink { from { opacity: .4; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .th-svc-art--full-stack *, .th-svc-art--full-stack *::before, .th-svc-art--full-stack *::after { animation: none !important; transition: none !important; }
}
/* Width (2026-11-27, v3/svc follow-up): the box is 400px tall and --sa-w wide, 400px unless the host sets it (the
   services section's pinned grid does, up to 720px, so a tile can be wider than tall without being stretched or
   cropped). The header, the stage row (its links lengthen), the terminal (its long commands lose less to the ellipsis) and the status bar span it. */
/* ---- v3/svc/art/mobile.css */
/* Service art: mobile. React Native code in an editor beside a phone preview (Fast Refresh). Ported from the live
   card (kajabi-theme/snippets/tsp-service-anim-mobile.liquid) and made truthful; see NOTES-b.md.
   Contract: a fixed 400 x 400 CSS px design box that the section scales with transform: scale(). Sizes are px only
   (no viewport, container or rem units), so nothing reflows when it is scaled. No outer card chrome: the section
   frames the tile. Every rule is scoped under .th-svc-art--mobile; keyframes are th-svc-mo-*. Reads tokens.css. */
.th-svc-art--mobile {
  position: relative; display: block; box-sizing: border-box; flex: none; width: var(--sa-w, 400px); height: 400px; max-width: none;
  margin: 0; padding: 0; overflow: hidden; contain: strict; -webkit-user-select: none; user-select: none;
  font: 400 10.5px/19px var(--f-mono, 'JetBrains Mono', ui-monospace, monospace);
  font-variant-ligatures: none; color: var(--text, #eef2fb);
  text-align: left; text-transform: none; text-indent: 0; letter-spacing: 0; word-spacing: 0; white-space: normal;
  text-shadow: none; word-break: normal; overflow-wrap: normal; direction: ltr; /* nothing inherited from the host */
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
.th-svc-art--mobile *, .th-svc-art--mobile *::before, .th-svc-art--mobile *::after {
  box-sizing: border-box; margin: 0; padding: 0; border: 0; font: inherit; color: inherit; letter-spacing: inherit;
  text-decoration: none; font-style: normal;
}

/* header: what it is, the open file (a dot while it has unsaved edits), the simulation label (44px, as in the other
   service tiles). The React mark is the registry's white brand mark, named beside it. */
.th-svc-art--mobile .th-svc-art__hd {
  position: absolute; left: 0; top: 0; width: var(--sa-w, 400px); height: 44px; display: flex; align-items: center; gap: 8px;
  padding: 0 16px; border-bottom: 1px solid var(--line, rgba(255, 255, 255, .09)); white-space: nowrap;
}
.th-svc-art--mobile .th-svc-art__ico { display: block; flex: none; width: 18px; height: 18px; max-width: none; }
/* the React mark on React's own colour (2026-11-27, brand colour as on the case studies; icons.mjs brandTile()) */
.th-svc-art--mobile .th-svc-art__bt { flex: none; display: grid; place-items: center; width: var(--bt, 20px); height: var(--bt, 20px); border-radius: 5px; background: var(--ic); }
.th-svc-art--mobile .th-svc-art__bt img { display: block; width: 58%; height: 58%; max-width: none; }
.th-svc-art--mobile .th-svc-art__ttl { font: 500 14px/1 var(--f-display, 'Space Grotesk', system-ui, sans-serif); color: var(--text, #eef2fb); }
.th-svc-art--mobile .th-svc-art__ctx { display: inline-flex; align-items: center; gap: 6px; margin-left: 2px; font-size: 11px; line-height: 1; color: var(--text-3, #8d97b2); }
.th-svc-art--mobile .th-svc-art__ctx i { display: block; width: 6px; height: 6px; border-radius: 50%; background: var(--text-2, #b4bdd3); opacity: 0; transition: opacity .15s; }
.th-svc-art--mobile .th-svc-art__ctx[data-dirty="1"] i { opacity: 1; }
.th-svc-art--mobile .th-svc-art__pill {
  margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 6px; height: 20px; padding: 0 8px;
  border: 1px solid var(--line-2, rgba(255, 255, 255, .16)); border-radius: 10px;
  font: 500 9.5px/1 var(--f-mono, 'JetBrains Mono', ui-monospace, monospace); letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-2, #b4bdd3); white-space: nowrap;
}

/* editor */
.th-svc-art--mobile .th-svc-art__ed { position: absolute; left: 0; top: 44px; width: calc(236px + var(--sa-dx)); height: 356px; border-right: 1px solid var(--line, rgba(255, 255, 255, .09)); }
.th-svc-art--mobile .th-svc-art__code { position: absolute; left: 0; top: 0; width: calc(235px + var(--sa-dx)); height: 356px; padding-top: 12px; overflow: hidden; }
.th-svc-art--mobile .th-svc-art__cl { display: block; height: 19px; white-space: pre; overflow: hidden; color: #d6deef; transition: background-color .25s; }
.th-svc-art--mobile .th-svc-art__cl[data-hl="1"] { background: rgba(255, 255, 255, .055); }
.th-svc-art--mobile .th-svc-art__n {
  display: inline-block; width: 30px; margin-right: 10px; text-align: right; color: #5f6a86; font-variant-numeric: tabular-nums;
  transition: color .25s;
}
.th-svc-art--mobile .th-svc-art__cl[data-hl="1"] .th-svc-art__n { color: var(--text-2, #b4bdd3); }
.th-svc-art--mobile [data-k="kw"] { color: #c4a5ff; }
.th-svc-art--mobile [data-k="fn"] { color: #8fb3ff; }
.th-svc-art--mobile [data-k="tg"] { color: #7fd6ff; }
.th-svc-art--mobile [data-k="at"] { color: #ffcf8b; }
.th-svc-art--mobile [data-k="st"] { color: #a8e6a1; }
.th-svc-art--mobile [data-k="nu"] { color: #ff9e9e; }
.th-svc-art--mobile [data-k="pu"] { color: #8d97b2; }
.th-svc-art--mobile [data-k="tx"] { color: var(--text, #eef2fb); }
.th-svc-art--mobile .th-svc-art__caret { display: inline-block; width: 2px; height: 14px; margin: 0 -1px 0 -1px; vertical-align: -3px; background: var(--cyan, #00d4ff); }
/* preview */
.th-svc-art--mobile .th-svc-art__pv { position: absolute; left: calc(236px + var(--sa-dx)); top: 44px; width: calc(164px + var(--sa-dx)); height: 356px; background: rgba(0, 0, 0, .16); }
.th-svc-art--mobile .th-svc-art__phone {
  position: absolute; left: calc(12px + var(--sa-dx) / 2); top: 10px; width: 140px; height: 296px; padding: 5px; border-radius: 26px;
  border: 1.5px solid rgba(255, 255, 255, .22); background: #05091a;
}
.th-svc-art--mobile .th-svc-art__scr { position: relative; width: 127px; height: 283px; border-radius: 21px; overflow: hidden; background: #0c1430; }
.th-svc-art--mobile .th-svc-art__time { position: absolute; left: 15px; top: 10px; font: 600 9.5px/1 var(--f-body, 'Outfit', system-ui, sans-serif); color: var(--text, #eef2fb); }
.th-svc-art--mobile .th-svc-art__cam { position: absolute; left: 60px; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: #02040a; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1); }
.th-svc-art--mobile .th-svc-art__batt { position: absolute; right: 15px; top: 10px; width: 15px; height: 7.5px; border-radius: 2px; border: 1px solid rgba(255, 255, 255, .6); }
.th-svc-art--mobile .th-svc-art__batt::after { content: ''; position: absolute; left: 1px; top: 1px; width: 8px; height: 3.5px; border-radius: 1px; background: var(--text, #eef2fb); }
.th-svc-art--mobile .th-svc-art__sweep { position: absolute; left: 0; top: 0; width: 127px; height: 2px; background: var(--cyan, #00d4ff); transform: scaleX(0); transform-origin: 0 50%; }
.th-svc-art--mobile .th-svc-art__app { position: absolute; left: 0; top: 0; width: 127px; height: 283px; opacity: 1; transition: opacity .2s; }
.th-svc-art--mobile .th-svc-art__app[data-s="off"] { opacity: 0; }
.th-svc-art--mobile .th-svc-art__h { position: absolute; left: 15px; top: 32px; font: 600 15px/1 var(--f-display, 'Space Grotesk', system-ui, sans-serif); letter-spacing: -.01em; color: var(--text, #eef2fb); }
.th-svc-art--mobile .th-svc-art__ring { position: absolute; left: 15.5px; top: 56px; width: 96px; height: 96px; }
.th-svc-art--mobile .th-svc-art__ring svg { display: block; width: 96px; height: 96px; overflow: visible; }
.th-svc-art--mobile .th-svc-art__trk { fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: 8; }
.th-svc-art--mobile .th-svc-art__val { fill: none; stroke: var(--cyan, #00d4ff); stroke-width: 8; stroke-linecap: round; stroke-dasharray: 100; }
.th-svc-art--mobile .th-svc-art__num {
  position: absolute; left: 0; top: 30px; width: 96px; display: flex; flex-direction: column; align-items: center; gap: 5px;
}
.th-svc-art--mobile .th-svc-art__num b { font: 600 19px/1 var(--f-display, 'Space Grotesk', system-ui, sans-serif); letter-spacing: -.01em; font-variant-numeric: tabular-nums; color: var(--text, #eef2fb); }
.th-svc-art--mobile .th-svc-art__num span { font: 400 9.5px/1 var(--f-body, 'Outfit', system-ui, sans-serif); color: var(--text-3, #8d97b2); }
.th-svc-art--mobile .th-svc-art__goal { position: absolute; left: 0; top: 160px; width: 127px; text-align: center; font: 400 9.5px/1 var(--f-body, 'Outfit', system-ui, sans-serif); color: var(--text-3, #8d97b2); }
.th-svc-art--mobile .th-svc-art__week { position: absolute; left: 17.5px; top: 182px; width: 92px; height: 34px; display: flex; align-items: flex-end; gap: 6px; }
.th-svc-art--mobile .th-svc-art__week i { display: block; width: 8px; border-radius: 2px; background: rgba(255, 255, 255, .16); transform-origin: 50% 100%; }
.th-svc-art--mobile .th-svc-art__week .th-svc-art__today { background: var(--cyan, #00d4ff); }
.th-svc-art--mobile .th-svc-art__btn {
  position: absolute; left: 14px; top: 228px; width: 99px; height: 30px; border-radius: 9px; background: var(--cyan, #00d4ff);
  font: 600 12px/30px var(--f-body, 'Outfit', system-ui, sans-serif); color: #03131c; text-align: center; white-space: nowrap;
  transition: transform .12s;
}
.th-svc-art--mobile .th-svc-art__btn[data-pressed="1"] { transform: scale(.95); }
.th-svc-art--mobile .th-svc-art__tap {
  position: absolute; left: 50.5px; top: 230px; width: 26px; height: 26px; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .85); background: rgba(255, 255, 255, .22);
  opacity: 0; transform: scale(.6); transition: opacity .15s, transform .25s;
}
.th-svc-art--mobile .th-svc-art__tap[data-on="1"] { opacity: 1; transform: scale(1); }
.th-svc-art--mobile .th-svc-art__home { position: absolute; left: 43.5px; top: 273px; width: 40px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .35); }
.th-svc-art--mobile .th-svc-art__cap {
  position: absolute; left: 0; top: 316px; width: calc(164px + var(--sa-dx)); height: 20px; font-size: 10px; line-height: 20px; text-align: center;
  color: var(--text-3, #8d97b2); white-space: nowrap; transition: color .2s;
}
.th-svc-art--mobile .th-svc-art__cap[data-s="on"] { color: var(--cyan, #00d4ff); }

/* motion runs only while the JS has the tile playing (.is-playing); paused and static frames are still */
.th-svc-art--mobile.is-playing .th-svc-art__caret { animation: th-svc-mo-caret 1.05s steps(1, end) infinite; }
@keyframes th-svc-mo-caret { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .th-svc-art--mobile *, .th-svc-art--mobile *::before, .th-svc-art--mobile *::after { animation: none !important; transition: none !important; }
}
/* Width (2026-11-27, v3/svc follow-up): the box is 400px tall and --sa-w wide, 400px unless the host sets it (the
   services section's pinned grid does, up to 720px, so a tile can be wider than tall without being stretched or
   cropped). The header spans it; the editor and the preview share the extra width half and half, with the phone centred in its pane. */
.th-svc-art--mobile { --sa-dx: calc((var(--sa-w, 400px) - 400px) / 2); }
/* ---- v3/svc/art/ai-ml.css */
/* Service art: ai-ml. A question to an assistant on Amazon Bedrock, a small transformer network diagram, and a
   streamed answer that cites its sources. Ported from the live card (kajabi-theme/snippets/tsp-service-anim-ai-ml.liquid)
   and made truthful; see NOTES-b.md.
   Contract: a fixed 400 x 400 CSS px design box that the section scales with transform: scale(). Sizes are px only
   (no viewport, container or rem units), so nothing reflows when it is scaled. No outer card chrome: the section
   frames the tile. Every rule is scoped under .th-svc-art--ai-ml; keyframes are th-svc-ai-*. Reads tokens.css. */
.th-svc-art--ai-ml {
  position: relative; display: block; box-sizing: border-box; flex: none; width: var(--sa-w, 400px); height: 400px; max-width: none;
  margin: 0; padding: 0; overflow: hidden; contain: strict; -webkit-user-select: none; user-select: none;
  font: 400 12.5px/1.4 var(--f-body, 'Outfit', system-ui, sans-serif);
  color: var(--text, #eef2fb); text-align: left; text-transform: none; text-indent: 0; letter-spacing: 0; word-spacing: 0;
  white-space: normal; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-shadow: none; word-break: normal; overflow-wrap: normal; direction: ltr; /* nothing inherited from the host */
}
.th-svc-art--ai-ml *, .th-svc-art--ai-ml *::before, .th-svc-art--ai-ml *::after {
  box-sizing: border-box; margin: 0; padding: 0; border: 0; font: inherit; color: inherit; letter-spacing: inherit;
  text-decoration: none; font-style: normal;
}
.th-svc-art--ai-ml .th-svc-art__k {
  font: 500 9.5px/1 var(--f-mono, 'JetBrains Mono', ui-monospace, monospace); letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-3, #8d97b2); white-space: nowrap;
}

/* header: the official Amazon Bedrock icon (whole, unmodified, named beside it), what it is, the simulation label
   (44px, as in the other service tiles) */
.th-svc-art--ai-ml .th-svc-art__hd {
  position: absolute; left: 0; top: 0; width: var(--sa-w, 400px); height: 44px; display: flex; align-items: center; gap: 8px;
  padding: 0 16px; border-bottom: 1px solid var(--line, rgba(255, 255, 255, .09)); white-space: nowrap;
}
.th-svc-art--ai-ml .th-svc-art__ico { display: block; flex: none; width: 22px; height: 22px; max-width: none; }
.th-svc-art--ai-ml .th-svc-art__ttl { font: 500 14px/1 var(--f-display, 'Space Grotesk', system-ui, sans-serif); color: var(--text, #eef2fb); }
.th-svc-art--ai-ml .th-svc-art__ctx { margin-left: 2px; font: 400 11px/1 var(--f-mono, 'JetBrains Mono', ui-monospace, monospace); color: var(--text-3, #8d97b2); }
.th-svc-art--ai-ml .th-svc-art__pill {
  margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 6px; height: 20px; padding: 0 8px;
  border: 1px solid var(--line-2, rgba(255, 255, 255, .16)); border-radius: 10px;
  font: 500 9.5px/1 var(--f-mono, 'JetBrains Mono', ui-monospace, monospace); letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-2, #b4bdd3); white-space: nowrap;
}

/* question */
.th-svc-art--ai-ml .th-svc-art__ask {
  position: absolute; left: 0; top: 44px; width: var(--sa-w, 400px); height: 40px; display: flex; align-items: center; gap: 10px;
  padding: 0 16px; border-bottom: 1px solid rgba(255, 255, 255, .05);
}
.th-svc-art--ai-ml .th-svc-art__q { flex: 1; min-width: 0; height: 18px; font-size: 13px; line-height: 18px; color: var(--text, #eef2fb); white-space: nowrap; overflow: hidden; }
.th-svc-art--ai-ml .th-svc-art__caret { display: inline-block; width: 2px; height: 14px; margin-left: 1px; vertical-align: -2px; background: var(--cyan, #00d4ff); }

/* network diagram: one path per gap of edges, one group per column of nodes; states: idle | on | done */
.th-svc-art--ai-ml .th-svc-art__model { position: absolute; left: calc(16px + var(--sa-dx)); top: 94px; width: 368px; height: 106px; }
.th-svc-art--ai-ml .th-svc-art__net { display: block; width: 368px; height: 106px; overflow: visible; }
.th-svc-art--ai-ml .th-svc-art__e { fill: none; stroke: rgba(255, 255, 255, .07); stroke-width: .8; transition: stroke .3s; }
.th-svc-art--ai-ml .th-svc-art__e[data-s="done"] { stroke: rgba(0, 212, 255, .17); }
.th-svc-art--ai-ml .th-svc-art__e[data-s="on"] { stroke: rgba(0, 212, 255, .5); }
.th-svc-art--ai-ml .th-svc-art__l circle { fill: #0b1226; stroke: rgba(255, 255, 255, .24); stroke-width: 1.2; transition: fill .3s, stroke .3s; }
.th-svc-art--ai-ml .th-svc-art__l[data-s="done"] circle { fill: #0b3550; stroke: rgba(0, 212, 255, .7); }
.th-svc-art--ai-ml .th-svc-art__l[data-s="on"] circle { fill: var(--cyan, #00d4ff); stroke: var(--cyan, #00d4ff); }
.th-svc-art--ai-ml .th-svc-art__l text {
  font: 500 10px var(--f-mono, 'JetBrains Mono', ui-monospace, monospace); fill: var(--text-3, #8d97b2); text-anchor: middle;
  transition: fill .3s;
}
.th-svc-art--ai-ml .th-svc-art__l[data-s="on"] text { fill: var(--cyan, #00d4ff); }

/* answer */
.th-svc-art--ai-ml .th-svc-art__ans { position: absolute; left: 0; top: 206px; width: var(--sa-w, 400px); height: 158px; padding: 12px 16px 0; border-top: 1px solid rgba(255, 255, 255, .05); }
.th-svc-art--ai-ml .th-svc-art__ah { display: flex; align-items: center; justify-content: space-between; height: 14px; }
.th-svc-art--ai-ml .th-svc-art__think {
  display: inline-flex; align-items: center; gap: 3px; font: 400 10.5px/1 var(--f-mono, 'JetBrains Mono', ui-monospace, monospace);
  color: var(--text-3, #8d97b2); opacity: 0; transition: opacity .2s;
}
.th-svc-art--ai-ml .th-svc-art__think i { display: block; width: 3px; height: 3px; margin-top: 4px; border-radius: 50%; background: currentColor; }
.th-svc-art--ai-ml .th-svc-art__ans[data-s="think"] .th-svc-art__think { opacity: 1; }
.th-svc-art--ai-ml .th-svc-art__txt { height: 66px; margin-top: 8px; font-size: 14px; line-height: 22px; color: var(--text, #eef2fb); transition: opacity .2s; }
.th-svc-art--ai-ml .th-svc-art__ans[data-s="off"] .th-svc-art__txt,
.th-svc-art--ai-ml .th-svc-art__ans[data-s="think"] .th-svc-art__txt { opacity: 0; }
.th-svc-art--ai-ml .th-svc-art__txt [data-v="0"] { opacity: 0; }
.th-svc-art--ai-ml .th-svc-art__txt [data-v="1"] { opacity: 1; transition: opacity .12s; }
.th-svc-art--ai-ml [data-k="code"] { padding: 1px 4px; border-radius: 4px; background: rgba(255, 255, 255, .07); font: 500 12px var(--f-mono, 'JetBrains Mono', ui-monospace, monospace); color: #d6deef; }
.th-svc-art--ai-ml [data-k="cite"] {
  display: inline-block; height: 15px; min-width: 15px; margin-left: 2px; padding: 0 4px; border-radius: 4px; vertical-align: 2px;
  border: 1px solid rgba(0, 212, 255, .45); font: 500 9.5px/13px var(--f-mono, 'JetBrains Mono', ui-monospace, monospace); color: var(--cyan, #00d4ff); text-align: center;
}
.th-svc-art--ai-ml .th-svc-art__src { display: flex; gap: 8px; margin-top: 12px; transition: opacity .25s; }
.th-svc-art--ai-ml .th-svc-art__src[data-s="off"] { opacity: 0; }
.th-svc-art--ai-ml .th-svc-art__doc {
  display: inline-flex; align-items: center; gap: 7px; height: 24px; padding: 0 9px; border-radius: 6px;
  border: 1px solid var(--line-2, rgba(255, 255, 255, .16)); background: rgba(255, 255, 255, .03);
  font: 400 10.5px/1 var(--f-mono, 'JetBrains Mono', ui-monospace, monospace); color: var(--text-2, #b4bdd3); white-space: nowrap;
}
.th-svc-art--ai-ml .th-svc-art__doc b { font-weight: 500; color: var(--cyan, #00d4ff); }

/* stats */
.th-svc-art--ai-ml .th-svc-art__foot {
  position: absolute; left: 0; top: 364px; width: var(--sa-w, 400px); height: 36px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px; border-top: 1px solid var(--line, rgba(255, 255, 255, .09));
  font: 400 10.5px/1 var(--f-mono, 'JetBrains Mono', ui-monospace, monospace); color: var(--text-3, #8d97b2); white-space: nowrap;
}
.th-svc-art--ai-ml .th-svc-art__foot b { font-weight: 500; color: var(--text-2, #b4bdd3); font-variant-numeric: tabular-nums; }

/* motion runs only while the JS has the tile playing (.is-playing); paused and static frames are still */
.th-svc-art--ai-ml.is-playing .th-svc-art__caret { animation: th-svc-ai-caret 1.05s steps(1, end) infinite; }
.th-svc-art--ai-ml.is-playing .th-svc-art__think i { animation: th-svc-ai-dot 1s ease-in-out infinite; }
.th-svc-art--ai-ml.is-playing .th-svc-art__think i:nth-child(2) { animation-delay: .15s; }
.th-svc-art--ai-ml.is-playing .th-svc-art__think i:nth-child(3) { animation-delay: .3s; }
@keyframes th-svc-ai-caret { 50% { opacity: 0; } }
@keyframes th-svc-ai-dot { 0%, 100% { opacity: .25; } 40% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .th-svc-art--ai-ml *, .th-svc-art--ai-ml *::before, .th-svc-art--ai-ml *::after { animation: none !important; transition: none !important; }
}
/* Width (2026-11-27, v3/svc follow-up): the box is 400px tall and --sa-w wide, 400px unless the host sets it (the
   services section's pinned grid does, up to 720px, so a tile can be wider than tall without being stretched or
   cropped). The header, the question, the answer and the stats span it; the network diagram keeps its coordinates and is centred. */
.th-svc-art--ai-ml { --sa-dx: calc((var(--sa-w, 400px) - 400px) / 2); }
/* ---- v3/svc/svc.css */
/* Homepage section 6, services ("capabilities"): six squares in a grid that travel into a left index on scroll,
   while the right three-fifths shows one service at a time. Every rule is scoped under .th-svc; reads tokens.css;
   keyframes th-svc-w*, th-svc-pulse, th-svc-ring. The square tiles are styled by art/<id>.css (.th-svc-art--<id>).
   The demo engines and their visuals are the capabilities console's (console.css), moved under .th-svc.
   Modes (svc.js sets the class): no class or .is-js = the stacked layout (tablets, short windows, reduced motion, JS
   off, and phones without JS); .is-pin = the pinned scroll story (>= 1024 x 640); .is-tabs = phones (767px and
   narrower), one service at a time under a sticky row of chips. */
.th-svc {
  --sv-top: var(--sticky-top, var(--nav-h));   /* where the stage and the phone chips stick: under the header and the chapter bar (2026-11-27) */
  --sv-ok: var(--ok);
  --sv-warn: var(--draft);
  --sv-bad: #ff6b81;
  --sv-stage: #070d1d;
  --sv-tile: #070d1d;
  --sv-dim: .38;            /* inactive index thumbnails (their rows dim by colour) */
  --sv-split: clamp(40px, 4.2vw, 64px);   /* index column | panel column */
  --sv-colgap: clamp(20px, 2.6vw, 40px);
  position: relative;
  isolation: isolate;
  padding: clamp(96px, 10vw, 144px) 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  line-height: 1.6;
}
.th-svc *, .th-svc *::before, .th-svc *::after { box-sizing: border-box; }
.th-svc a { color: inherit; }
.th-svc__wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.th-svc__vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* thread anchors: x = 0 / 1 are the middles of the left / right gutters (as in the console they replace) */
.th-svc .th-anchor { position: absolute; display: block; visibility: hidden; pointer-events: none; }
.th-svc__a { top: 0; bottom: 0; left: calc((100% - min(100%, var(--wrap))) / 4 + var(--gutter) / 2); right: calc((100% - min(100%, var(--wrap))) / 4 + var(--gutter) / 2); }

/* ============================================================== header */
.th-svc__head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px 64px; align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
/* section label: a quiet text-3 label with no accent rule, as every other section's (out/home.css .th-eyebrow since
   23:02; the owner, 22:57: the cyan label with a rule "looks vibe coded ai slop") */
.th-svc__label { grid-column: 1 / -1; margin: 0; font: 500 15px/1.4 var(--f-body); color: var(--text-3); }
.th-svc__h2 { margin: 0; max-width: 20ch; font: 600 clamp(36px, 3.6vw, 48px)/1.06 var(--f-display); letter-spacing: -0.035em; color: var(--text); text-wrap: balance; }
.th-svc__lede { margin: 0; max-width: 44ch; font-size: 17px; line-height: 1.6; color: var(--text-2); }

/* ============================================================== the grid of squares (every mode) */
.th-svc__track { position: relative; }
.th-svc__frame { position: relative; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.th-svc__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 4vw, 48px) var(--sv-colgap); }
.th-svc__cell { min-width: 0; margin: 0; }
.th-svc__card { display: block; text-decoration: none; border-radius: 14px; }
.th-svc__sq {
  position: relative; display: block; width: 100%; aspect-ratio: 1 / 1; overflow: hidden;
  border-radius: 14px; border: 1px solid var(--line); background: var(--sv-tile);
  container-type: inline-size; transform-origin: 0 0; transition: border-color .25s;
}
/* The tile is a design box 400px tall and --sa-w wide, scaled to the tile (a unitless ratio of two lengths via
   tan(atan2()), so no script is needed; older browsers keep the .5 fallback). Stacked it is 400 x 400 in a square.
   Pinned (below) the tile spans its column and may be wider than tall: the box then takes the tile's aspect
   (--sa-w = 400px x --sv-ar), and each tile lays its parts out to that width (art/<id>.css, 400 to 720px): the
   scale stays uniform and nothing is cropped. */
.th-svc__art { --sa-w: 400px; position: absolute; left: 0; top: 0; width: var(--sa-w); height: 400px; transform-origin: 0 0; transform: scale(.5); transform: scale(tan(atan2(100cqw, var(--sa-w)))); }
/* titles (2026-11-27): number, name, arrow; the line quieter, under the name as in the index */
.th-svc__card { --sv-n: 30px; }
.th-svc__name { display: flex; align-items: baseline; margin-top: 22px; font: 600 25px/1.15 var(--f-display); letter-spacing: -0.025em; color: var(--text); transform-origin: 0 0; }
.th-svc__num { flex: none; width: var(--sv-n); font: 500 13px/1 var(--f-mono); letter-spacing: 0; color: var(--text-3); }
.th-svc__t { min-width: 0; }
.th-svc__go { flex: none; margin-left: 10px; font: 500 .8em/1 var(--f-body); color: var(--text-2); transition: transform .2s ease, color .2s; }
.th-svc__line { display: block; margin-top: 8px; padding-left: var(--sv-n); max-width: calc(36ch + var(--sv-n)); font-size: 14.5px; line-height: 1.45; color: var(--text-3); text-wrap: pretty; }
.th-svc__card:hover .th-svc__sq { border-color: var(--line-2); }
.th-svc__card:hover .th-svc__t { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; text-decoration-color: rgba(255, 255, 255, .35); }
.th-svc__card:is(:hover, :focus-visible) .th-svc__go { color: var(--text); transform: translateX(3px); }
/* one readable statement that the squares are simulations (each tile's own "Simulated" label is small at grid size).
   Plain text: no dot before it (2026-11-27, the owner: "the dots here look like ai slop"). */
.th-svc__gnote { margin: 22px 0 0; max-width: 60ch; font-size: 14px; line-height: 1.45; color: var(--text-3); }

/* Stacked (short desktop windows, tablets, reduced motion, JS off) the grid simply fills the content width, the H2's
   left edge to the lede's right edge, with square tiles; it may be taller than one screen (the owner, 2026-11-27:
   "can we make these boxes spread across the page horizontally?"). The height cap of the review-fix pass is gone. */

/* the index exists only in the pinned story */
.th-svc__index { display: none; }

/* ============================================================== panels: shared parts */
.th-svc__panels { margin-top: clamp(72px, 9vw, 128px); }
.th-svc__panel { position: relative; scroll-margin-top: 24px; }   /* + html's scroll-padding-top (the header) */
.th-svc__panel + .th-svc__panel { margin-top: clamp(64px, 7vw, 104px); padding-top: clamp(64px, 7vw, 104px); border-top: 1px solid var(--line); }
.th-svc__phead { min-width: 0; }
.th-svc__kicker { margin: 0 0 8px; font: 500 14px/1.4 var(--f-body); color: var(--text-3); }
.th-svc__promise { margin: 0; max-width: 26ch; font: 600 clamp(24px, 2.3vw, 32px)/1.14 var(--f-display); letter-spacing: -0.028em; color: var(--text); text-wrap: balance; scroll-margin-top: 24px; }
.th-svc__sub { margin: 10px 0 0; max-width: 58ch; font-size: 16px; line-height: 1.5; color: var(--text-2); text-wrap: pretty; }

/* media: the simulation only (2026-11-27: no Code tabs); its bar: "Simulated", then Play/Pause */
.th-svc__media { position: relative; min-width: 0; margin-top: 22px; border-radius: 12px; border: 1px solid var(--line); background: var(--sv-stage); overflow: hidden; container: th-svc-media / inline-size; }
.th-svc__demo { position: relative; margin: 0; min-width: 0; display: flex; flex-direction: column; container: th-svc-demo / inline-size; }
.th-svc__dbar { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 7px 12px 7px 14px; border-bottom: 1px solid rgba(255, 255, 255, .07); }

/* "Simulated": plain text, no dot (2026-11-27), the Cloud diagram's included; a product screen's own dots stay */
.th-svc__pill { display: inline-flex; align-items: center; gap: 7px; font: 500 12.5px var(--f-body); color: var(--text-3); white-space: nowrap; }
.th-svc__pill > i, .th-svc .tsp-arch__pill > i, .th-svc__say-dot, .th-svc__out-dot { display: none; }
/* Play / Pause keeps one width (2026-11-27): every label svc.js gives it sits hidden in the label's grid cell
   (.th-svc__play-z, tools/build.mjs), so the widest sizes it, as the captions' sizers do; 28px tall in any font */
.th-svc__play {
  margin-left: auto; display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 5px 11px; border-radius: 6px;
  border: 1px solid var(--line-2); background: transparent; color: var(--text-2);
  font: 500 12.5px var(--f-body); cursor: pointer; transition: border-color .2s, color .2s;
}
.th-svc__play-b, .th-svc__play-z { display: inline-grid; }
.th-svc__play-b > *, .th-svc__play-z > * { grid-area: 1 / 1; }
.th-svc__play-z { visibility: hidden; }
.th-svc__play:hover { border-color: rgba(var(--cyan-rgb), .6); color: var(--text); }
.th-svc__play[hidden] { display: none; }
.th-svc__play i { position: relative; width: 9px; height: 10px; }
.th-svc__play i::before, .th-svc__play i::after { content: ''; position: absolute; top: 0; bottom: 0; }
.th-svc__play[data-mode="play"] i::before, .th-svc__play[data-mode="play"] i::after { width: 3px; background: currentColor; border-radius: 1px; }
.th-svc__play[data-mode="play"] i::before { left: 0; }
.th-svc__play[data-mode="play"] i::after { right: 0; }
.th-svc__play:not([data-mode="play"]) i::before { left: 1px; border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent currentColor; }
.th-svc__play[data-mode="end"] i::before { left: 0; top: 1px; bottom: auto; width: 9px; height: 9px; border: 1.5px solid currentColor; border-right-color: transparent; border-radius: 50%; }
.th-svc__play[data-mode="end"] i::after { right: 0; top: 0; bottom: auto; border-style: solid; border-width: 3px 0 3px 4px; border-color: transparent transparent transparent currentColor; transform: rotate(-35deg); }
/* The Cloud diagram's Pause (v3/arch) takes the five's box, so it doesn't jump as Cloud crossfades to Kubernetes
   (2026-11-27 review): their height and padding, 12px from the bar's edge, 1.5px under its padding (its row stays 26px,
   so the two-row bar keeps its height), its label sized by svc.js's labels, hidden (tools/build.mjs checks them) */
.th-svc .tsp-arch__pause { min-width: auto; height: 28px; padding: 5px 11px; align-self: flex-start; margin-top: 1.5px; margin-right: 2px; margin-bottom: -3.5px; }
.th-svc .tsp-arch__pause-t::after { content: 'Pause\A Replay\A Play'; display: block; height: 0; overflow: hidden; visibility: hidden; white-space: pre; }

.th-svc__fit { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 300px; }
/* the caption narrates each stage in plain text: no coloured dot before it (2026-11-27); its data-tone stays */
.th-svc__say { position: relative; margin: 0; display: flex; align-items: flex-start; gap: 10px; min-height: 48px; padding: 12px 16px 13px; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.5; color: var(--text-2); background: rgba(6, 11, 24, .4); }
/* Nothing a loop changes moves the layout (the owner, 2026-11-27). The caption keeps its story's tallest caption: the
   live text and, hidden, every caption the story shows share one grid cell (.th-svc__say-z, written by
   tools/build.mjs), so it never grows or shrinks between steps, at any width and in any font. Likewise every text a
   step changes inside a demo (.thx: the value and, hidden, every value it takes), so a status keeps two lines where its
   longest needs two, and a chip or a number keeps its widest width. */
.th-svc__say-b { flex: 1 1 auto; min-width: 0; display: grid; }
.th-svc__say-b > *, .th-svc__say-z > * { grid-area: 1 / 1; min-width: 0; }
.th-svc__say-z, .th-svc .thx-z { display: grid; visibility: hidden; }
.th-svc .thx { display: inline-grid; }
.th-svc .thx > *, .th-svc .thx-z > * { grid-area: 1 / 1; }

/* The CTA card (2026-11-27, the owner: "it's more of a cta? This just sort of blends into the architecture diagram/
   code section"): its own surface (a soft cyan-to-violet tint and edge, no glow or shadow), the client line, the
   outcome, the case-study link and a solid button like the hero's primary. Arrow nudge and gap: cta-library/cta.css. */
.th-svc__out {
  container: th-svc-card / inline-size;
  position: relative; display: grid; align-content: start; gap: 8px;
  margin-top: 28px; padding: 18px 20px 20px;
  border: 1px solid transparent; border-radius: 14px;
  background:
    linear-gradient(105deg, rgba(var(--cyan-rgb), .075), rgba(var(--violet-rgb), .12)) padding-box,
    linear-gradient(var(--bg-2), var(--bg-2)) padding-box,
    linear-gradient(105deg, rgba(var(--cyan-rgb), .42), rgba(var(--violet-rgb), .55)) border-box;
}
.th-svc__out-k { margin: 0; font: 500 14px/1.4 var(--f-body); color: var(--text-2); }
.th-svc__out-row { margin: 0; display: flex; align-items: center; gap: 16px; }
.th-svc__out-v { flex: none; font: 600 clamp(30px, 2.8vw, 40px)/1 var(--f-display); letter-spacing: -0.04em; color: var(--text); white-space: nowrap; }
.th-svc__out-v.is-word { font-size: clamp(23px, 2vw, 27px); letter-spacing: -0.03em; }
.th-svc__out-t { font-size: 15.5px; line-height: 1.5; color: var(--text-2); }
.th-svc__links { margin: 4px 0 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.th-svc__out-link { font: 500 14.5px var(--f-display); color: var(--text); text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: rgba(255, 255, 255, .3); text-underline-offset: 4px; }
.th-svc__out-link:hover { text-decoration-color: currentColor; }
.th-svc .th-svc__cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 0 18px; border: 1px solid transparent; border-radius: 8px;
  font: 600 15px/1 var(--f-display); letter-spacing: -0.005em; color: #060b18; background: var(--text);
  text-decoration: none; white-space: nowrap; transition: background-color .2s ease;
}
.th-svc .th-svc__cta:hover { background: #fff; }
.th-svc__cta-arr { display: inline-block; transition: transform .2s ease; }
.th-svc__cta:hover .th-svc__cta-arr { transform: translateX(3px); }
/* under 600px (pinned at 1024) one row still; under 480px the button spans the card under the proof */
@container th-svc-card (max-width: 599px) {
  .th-svc .th-svc__out-link { font-size: 13.5px; }
  .th-svc .th-svc__links { column-gap: 14px; }
  .th-svc .th-svc__cta { padding: 0 16px; font-size: 14px; }
}
@container th-svc-card (max-width: 479px) {
  .th-svc .th-svc__links { flex-direction: column; align-items: stretch; gap: 14px; }
  .th-svc .th-svc__out-link { align-self: flex-start; font-size: 14.5px; }
  .th-svc .th-svc__cta { width: 100%; font-size: 15px; }
}
@media (forced-colors: active) {
  .th-svc__out { border-color: CanvasText; }
  .th-svc .th-svc__cta { border-color: LinkText; }
}

/* Brand marks on their own colour, as on the case studies (icons/README.md "Brand colour"; case-study.css .cs-ic):
   markup from v3/engage/tools/icons.mjs brandTile(). AWS icons and supplied logos are drawn as they are. */
.th-svc .thv-bt { --ic-r: calc(var(--bt, 22px) * .27); flex: none; display: inline-grid; place-items: center; width: var(--bt, 22px); height: var(--bt, 22px); border-radius: var(--ic-r); background: var(--ic); }
.th-svc .thv-bt > img { display: block; width: 58%; height: 58%; }
.th-svc .thv-bt--edge { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .24); }
.th-svc .thv-bt--badge { background: none; }
.th-svc .thv-bt--badge > img { width: 100%; height: 100%; }
.th-svc .thv-bt--round { clip-path: inset(0 round var(--ic-r)); }

/* ============================================================== demo visuals (the console's, unchanged in look) */
/* Cloud and DevSecOps keep the console's demos (below). The Kubernetes, Full-Stack, Mobile and AI & ML demos were rebuilt
   from their tiles (2026-11-27): their rules are the block at the end of this file, from v3/svc/demos/<slug>/<slug>.css
   (tools/demo-css.mjs); the old demos' rules are gone. */
.th-svc .thv { position: relative; flex: 1; width: 100%; display: flex; flex-direction: column; justify-content: center; padding: 14px 22px 18px; }
.th-svc .thv > * { width: 100%; max-width: 480px; margin-left: auto; margin-right: auto; }
.th-svc .thv-ico { display: block; flex: none; }
.th-svc .thv-ico--brand { width: 16px; height: 16px; }
.th-svc .thv-node { display: flex; flex-direction: column; align-items: center; gap: 2px; width: 96px; text-align: center; }
.th-svc .thv-node .thv-ico { width: 38px; height: 38px; margin-bottom: 6px; border-radius: 0; }
.th-svc .thv-node b { font: 500 13px/1.25 var(--f-display); color: var(--text); }
.th-svc .thv-node small { font: 400 10.5px/1.3 var(--f-mono); color: var(--text-3); }
.th-svc .thv-cap { margin-top: 4px; padding: 1px 6px; border-radius: 5px; border: 1px solid rgba(var(--cyan-rgb), .35); font: 500 10px/1.4 var(--f-mono); color: var(--cyan); white-space: nowrap; }
.th-svc .thv-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 6px; border: 1px solid var(--line-2); font: 500 11px var(--f-mono); color: var(--text-2); white-space: nowrap; transition: color .3s, border-color .3s, background-color .3s; }
.th-svc .thv-chip::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.th-svc .thv-chip[data-s="ok"] { color: var(--sv-ok); border-color: rgba(0, 214, 143, .38); background: rgba(0, 214, 143, .08); }
.th-svc .thv-chip[data-s="warn"] { color: var(--sv-warn); border-color: rgba(251, 191, 36, .4); background: rgba(251, 191, 36, .08); }
.th-svc .thv-chip[data-s="bad"] { color: var(--sv-bad); border-color: rgba(255, 107, 129, .45); background: rgba(255, 107, 129, .09); }
.th-svc .thv-chip[data-s="wait"] { color: var(--text-3); }

/* wires: packets are full-length carriers moved by 100% of the wire */
.th-svc .thv-wire { position: relative; align-self: center; height: 1px; min-width: 18px; margin: 0 6px; background: rgba(255, 255, 255, .16); }
.th-svc .thv-wire[data-s="on"], .th-svc .thv-wire[data-s="busy"] { background: linear-gradient(90deg, rgba(var(--cyan-rgb), .22), rgba(var(--cyan-rgb), .62)); }
.th-svc .thv-wire::after { content: ''; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid rgba(255, 255, 255, .5); border-right: 1px solid rgba(255, 255, 255, .5); transform: rotate(45deg); }
.th-svc .thv-wire i { position: absolute; inset: 0; opacity: 0; }
.th-svc .thv-wire i::before { content: ''; position: absolute; left: -3px; top: -2.5px; width: 6px; height: 6px; border-radius: 50%; background: #d8f8ff; box-shadow: 0 0 6px rgba(var(--cyan-rgb), .6); }
.th-svc .thv-wire--v { align-self: stretch; justify-self: center; width: 1px; height: auto; min-width: 0; min-height: 26px; margin: 6px 0; }
.th-svc .thv-wire--v[data-s="on"], .th-svc .thv-wire--v[data-s="busy"] { background: linear-gradient(180deg, rgba(var(--cyan-rgb), .22), rgba(var(--cyan-rgb), .62)); }
.th-svc .thv-wire--v::after { right: auto; top: auto; left: -3px; bottom: 0; transform: rotate(135deg); }
.th-svc .thv-wire--v i::before { left: -2.5px; top: -3px; }
.th-svc .thv-wire--rev { transform: scaleX(-1); }
.th-svc .is-playing .thv-wire[data-s="on"] i:first-child,
.th-svc .is-playing .thv-wire[data-s="busy"] i { animation: th-svc-wx 1.25s linear infinite; }
.th-svc .is-playing .thv-wire--v[data-s="on"] i:first-child,
.th-svc .is-playing .thv-wire--v[data-s="busy"] i { animation-name: th-svc-wy; }
.th-svc .is-playing .thv-wire[data-s="busy"] i:nth-child(2) { animation-delay: -.42s; }
.th-svc .is-playing .thv-wire[data-s="busy"] i:nth-child(3) { animation-delay: -.84s; }
@keyframes th-svc-wx { 0% { transform: translateX(0); opacity: 0; } 12%, 84% { opacity: 1; } 100% { transform: translateX(100%); opacity: 0; } }
@keyframes th-svc-wy { 0% { transform: translateY(0); opacity: 0; } 12%, 84% { opacity: 1; } 100% { transform: translateY(100%); opacity: 0; } }
@keyframes th-svc-pulse { from { opacity: .45; } to { opacity: 1; } }
@keyframes th-svc-ring { from { box-shadow: 0 0 0 0 rgba(var(--cyan-rgb), .45); } to { box-shadow: 0 0 0 7px rgba(var(--cyan-rgb), 0); } }
.th-svc__demo.is-paused *, .th-svc__demo.is-paused *::before, .th-svc__demo.is-paused *::after { animation-play-state: paused !important; }
.th-svc__demo.is-resetting *, .th-svc__demo.is-resetting *::before, .th-svc__demo.is-resetting *::after { transition: none !important; }
/* the loop (svc.js rewind(), as v3/arch/loop/console-loop.css): the visual fades down while it resets to its first
   step, then back up as the next lap starts; the caption and the bar stay. Opacity only; off under reduced motion. */
.th-svc__demo .thv { transition: opacity .28s ease; }
.th-svc__demo.is-rewinding .thv { opacity: .12; }

/* meters */
.th-svc .thv-meter { display: block; width: 58px; height: 4px; margin-top: 6px; border-radius: 2px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.th-svc .thv-meter b { display: block; height: 100%; border-radius: inherit; background: var(--sv-ok); transform-origin: 0 50%; transform: scaleX(var(--q, 0)); transition: transform 2s linear, background-color .4s; }
.th-svc .thv-meter[data-s="warn"] b { background: var(--sv-warn); }
.th-svc .thv-meter--db b { transform: scaleX(.3); }

/* 01 cloud */
.th-svc .thv-cloud__grid {
  display: grid; align-items: center; justify-content: center;
  grid-template-columns: 96px minmax(24px, 1fr) 96px minmax(24px, 1fr) 96px;
  grid-template-areas: "u w1 g w2 l" ". . . . w3" "d w5 k w4 q";
  max-width: 470px; width: 100%; margin: 0 auto;
}
.th-svc .thv-cloud__u { grid-area: u; } .th-svc .thv-cloud__g { grid-area: g; } .th-svc .thv-cloud__l { grid-area: l; }
.th-svc .thv-cloud__q { grid-area: q; } .th-svc .thv-cloud__k { grid-area: k; } .th-svc .thv-cloud__d { grid-area: d; }
.th-svc .thv-cloud__w1 { grid-area: w1; } .th-svc .thv-cloud__w2 { grid-area: w2; } .th-svc .thv-cloud__w3 { grid-area: w3; min-height: 34px; }
.th-svc .thv-cloud__w4 { grid-area: w4; } .th-svc .thv-cloud__w5 { grid-area: w5; }
.th-svc .thv-cloud .thv-wire { align-self: start; margin-top: 19px; }
.th-svc .thv-cloud .thv-wire--v { align-self: stretch; margin-top: 6px; }

/* 03 devsecops */
.th-svc .thv-dso { gap: 22px; }
.th-svc .thv-dso__pr { display: grid; justify-items: start; gap: 8px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); }
.th-svc .thv-dso__src { display: inline-flex; align-items: center; gap: 8px; font: 500 13px var(--f-display); color: var(--text); }
.th-svc .thv-dso__src span { font: 400 11px var(--f-mono); color: var(--text-3); }
.th-svc .thv-dso__diff { padding: 3px 9px; border-radius: 6px; font: 500 12.5px var(--f-mono); color: #a8e6a1; background: rgba(0, 214, 143, .08); transition: color .3s, background-color .3s; }
.th-svc .thv-dso__diff[data-s="bad"] { color: #ffb3bf; background: rgba(255, 107, 129, .14); }
.th-svc .thv-dso__diff[data-s="rev"] { color: var(--text-3); background: rgba(255, 255, 255, .04); text-decoration: line-through; }
.th-svc .thv-dso__find { display: inline-flex; align-items: center; gap: 8px; font: 400 11px var(--f-mono); color: var(--text-3); opacity: 0; transition: opacity .3s; }
.th-svc .thv-dso__find b { padding: 1px 7px; border-radius: 5px; font-weight: 600; font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--text-2); background: rgba(255, 255, 255, .08); }
.th-svc .thv-dso__find[data-s="bad"], .th-svc .thv-dso__find[data-s="ok"] { opacity: 1; }
.th-svc .thv-dso__find[data-s="bad"] { color: #ffb3bf; }
.th-svc .thv-dso__find[data-s="bad"] b { color: #1b0509; background: var(--sv-bad); }
.th-svc .thv-dso__lane { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); --ri: 10%; --rt: 10px; }
.th-svc .thv-rail { position: absolute; left: var(--ri); right: var(--ri); top: var(--rt); height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .1); }
.th-svc .thv-rail > b { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, rgba(var(--cyan-rgb), .35), var(--cyan)); transform-origin: 0 50%; transform: scaleX(var(--p, 1)); transition: transform .7s var(--ease-out); }
.th-svc .thv-gate { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center; min-width: 0; }
.th-svc .thv-gate i { position: relative; z-index: 1; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .24); background: #0b1226; transition: background-color .3s, border-color .3s, box-shadow .3s; }
.th-svc .thv-gate i::before, .th-svc .thv-gate i::after { content: ''; position: absolute; left: 50%; top: 50%; }
.th-svc .thv-gate b { margin-top: 7px; font: 500 12.5px/1.2 var(--f-display); color: var(--text-2); }
.th-svc .thv-gate small { font: 400 10.5px/1.3 var(--f-mono); color: var(--text-3); }
.th-svc .thv-gate[data-s="run"] i { border-color: var(--cyan); }
.th-svc .is-playing .thv-gate[data-s="run"] i { animation: th-svc-ring .9s ease-out infinite; }
.th-svc .thv-gate[data-s="ok"] i { border-color: var(--sv-ok); background: var(--sv-ok); }
.th-svc .thv-gate[data-s="ok"] i::after { width: 6px; height: 10px; margin: -6px 0 0 -3px; border: solid #04150d; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.th-svc .thv-gate[data-s="bad"] i { border-color: var(--sv-bad); background: var(--sv-bad); }
.th-svc .thv-gate[data-s="bad"] i::before, .th-svc .thv-gate[data-s="bad"] i::after { width: 11px; height: 2px; margin: -1px 0 0 -5.5px; background: #1b0509; border-radius: 1px; transform: rotate(45deg); }
.th-svc .thv-gate[data-s="bad"] i::after { transform: rotate(-45deg); }
.th-svc .thv-gate[data-s="ok"] b, .th-svc .thv-gate[data-s="run"] b { color: var(--text); }
.th-svc .thv-gate[data-s="bad"] b, .th-svc .thv-gate[data-s="bad"] small { color: var(--sv-bad); }
.th-svc .thv-gate[data-s="lock"] { opacity: .45; }
.th-svc .thv-gate--prod[data-s="ok"] i { box-shadow: 0 0 0 5px rgba(0, 214, 143, .14); }

/* ============================================================== focus */
.th-svc a:focus-visible, .th-svc button:focus-visible, .th-svc [tabindex]:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.th-svc .th-svc__card:focus-visible { outline-offset: 6px; border-radius: 16px; }
.th-svc .th-svc__ix:focus-visible { outline-offset: 4px; border-radius: 10px; }
.th-svc .th-svc__promise:focus-visible { outline-offset: 6px; }
.th-svc .th-svc__cta:focus-visible { border-radius: 8px; }
.th-svc .th-svc__chip:focus-visible { outline-offset: 2px; border-radius: 8px; }

/* ============================================================== stacked layout: tablets and up (not pinned) */
@media (min-width: 1024px) {
  .th-svc:not(.is-pin) .th-svc__panel {
    display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); grid-template-rows: auto 1fr;
    grid-template-areas: "head media" "out media"; column-gap: var(--sv-split);
  }
  .th-svc:not(.is-pin) .th-svc__phead { grid-area: head; }
  .th-svc:not(.is-pin) .th-svc__media { grid-area: media; margin-top: 0; align-self: start; }
  .th-svc:not(.is-pin) .th-svc__out { grid-area: out; align-self: end; }
}
@media (max-width: 1023px) {
  .th-svc__panel { max-width: 760px; }
}

/* ============================================================== pinned scroll story (svc.js: .is-pin) */
.th-svc.is-pin {
  --sv-s: 280px;                                   /* tile height; svc.js fits it to the stage on resize */
  --sv-ar: 1;                                      /* tile width / height (1 to 1.8); svc.js sets it with --sv-s */
  --sv-h: calc(100vh - var(--sv-top));             /* the pinned stage */
  --sv-pad-t: clamp(18px, 3.4vh, 40px);
  --sv-pad-b: clamp(16px, 3vh, 34px);
  --sv-t: clamp(48px, calc((100vh - var(--sv-top) - 150px) / 6 - 24px), 84px);   /* index thumbnail's height */
  --sv-tw: calc(var(--sv-t) * var(--sv-ar));       /* and width: the tiles' aspect, so the morph scales them uniformly */
  --sv-col-max: 820px;                             /* tall windows: the index and panel columns stay this tall, centred */
  --sv-note: 34px;                                 /* the grid note's line and its gap above */
}
.th-svc.is-pin .th-svc__stage { position: sticky; top: var(--sv-top); height: var(--sv-h); overflow: clip; }   /* the track's height is set by svc.js */
.th-svc.is-pin .th-svc__frame { height: 100%; }

/* grid layer: the three columns span the content width (the H2's left edge to the lede's right edge), centred
   vertically. Each tile spans its column and is --sv-s tall (svc.js fitGrid(): the tallest that lets both rows, their
   titles and the note fit the stage, and never taller than the column is wide). Where the stage is short the tiles
   are wider than tall (--sv-ar, width / height, up to 1.8) and the art's design box takes that aspect (400px tall,
   --sa-w wide); where the height allows they are square. */
.th-svc.is-pin .th-svc__grid {
  position: absolute; z-index: 3; top: var(--sv-pad-t); bottom: var(--sv-pad-b); left: var(--gutter); right: var(--gutter);
  grid-template-columns: repeat(3, minmax(0, 1fr)); align-content: center;
  gap: clamp(18px, 3.2vh, 36px) var(--sv-colgap);
}
.th-svc.is-pin .th-svc__sq { aspect-ratio: auto; height: var(--sv-s); }
.th-svc.is-pin .th-svc__art { --sa-w: calc(400px * var(--sv-ar, 1)); }
.th-svc.is-pin .th-svc__name { margin-top: 18px; font-size: 23px; }
.th-svc.is-pin .th-svc__line { margin-top: 6px; font-size: 14px; line-height: 1.42; }
.th-svc.is-morph :is(.th-svc__sq, .th-svc__name, .th-svc__line) { will-change: transform, opacity; }
.th-svc.is-pin.is-past .th-svc__grid { pointer-events: none; }
/* after the morph the squares are the index thumbnails: inactive ones dim (their rows by colour, below) */
.th-svc.is-indexed .th-svc__sq { transition: opacity .35s var(--ease-out), border-color .25s; }
.th-svc.is-indexed .th-svc__cell:not(.is-on) .th-svc__sq { opacity: var(--sv-dim); }
.th-svc.is-indexed :is(.th-svc__name, .th-svc__line, .th-svc__gnote) { opacity: 0; }
/* the grid's note sits under the squares, at the stage's foot; the grid keeps its height clear */
.th-svc.is-pin .th-svc__grid { bottom: calc(var(--sv-pad-b) + var(--sv-note)); }
.th-svc.is-pin .th-svc__gnote { position: absolute; z-index: 3; left: var(--gutter); bottom: var(--sv-pad-b); margin: 0; max-width: none; font-size: 13.5px; line-height: 18px; pointer-events: none; }

/* index layer: the left two-fifths */
.th-svc.is-pin .th-svc__index {
  position: absolute; z-index: 1; top: var(--sv-pad-t); bottom: var(--sv-pad-b); left: var(--gutter);
  width: calc((100% - 2 * var(--gutter) - var(--sv-split)) * .4);
  max-height: var(--sv-col-max); margin: auto 0;
  display: flex; flex-direction: column;
}
.th-svc.is-pin:not(.is-indexed) .th-svc__index { pointer-events: none; }   /* and inert until then (svc.js) */
.th-svc__ix-label { margin: 0; font: 500 14px/1.4 var(--f-body); color: var(--text-3); }
.th-svc__ix-list { list-style: none; margin: clamp(10px, 2.4vh, 26px) 0 0; padding: 0; flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 4px; }
.th-svc__ix-item { margin: 0; }
/* The rows that are not the current step are dimmed by colour, not opacity, so their text keeps its contrast
   (--text-3 on --bg is 6.7:1) and a focus ring on them stays at full strength; only their thumbnails dim by opacity
   (above). Hover and keyboard focus lift a row's text, and its thumbnail with it (.is-lift, set by svc.js). */
.th-svc.is-pin .th-svc__ix-item:not(.is-on) :is(.th-svc__ix-num, .th-svc__ix-name, .th-svc__ix-meta) { color: var(--text-3); }
.th-svc.is-pin .th-svc__ix-item:not(.is-on):is(:hover, :focus-within) .th-svc__ix-name { color: var(--text); }
.th-svc.is-pin .th-svc__ix-item:not(.is-on):is(:hover, :focus-within) .th-svc__ix-meta { color: var(--text-2); }
.th-svc.is-pin .th-svc__ix-item.is-on .th-svc__ix-num { color: var(--text-2); }
.th-svc.is-indexed .th-svc__cell.is-lift:not(.is-on) .th-svc__sq { opacity: .72; }
.th-svc__ix {
  display: grid; grid-template-columns: var(--sv-tw, var(--sv-t)) 28px minmax(0, 1fr); grid-template-rows: auto auto auto;
  grid-template-areas: "thumb num name" "thumb . meta" "thumb . bar"; align-content: center; column-gap: 14px;
  min-height: var(--sv-t); padding: 6px 0; text-decoration: none; border-radius: 10px;
}
.th-svc__ix-thumb { grid-area: thumb; align-self: center; width: var(--sv-tw, var(--sv-t)); height: var(--sv-t); border-radius: 10px; }
.th-svc__ix-num { grid-area: num; align-self: baseline; padding-top: 4px; font: 500 12px/1.2 var(--f-mono); color: var(--text-3); }
.th-svc__ix-name { grid-area: name; align-self: baseline; font: 500 18px/1.2 var(--f-display); letter-spacing: -0.02em; color: var(--text); transform-origin: 0 0; }
.th-svc__ix-meta { grid-area: meta; margin-top: 3px; font-size: 13.5px; line-height: 1.35; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.th-svc__ix-bar { grid-area: bar; position: relative; display: block; height: 2px; margin-top: 10px; border-radius: 1px; background: rgba(255, 255, 255, .1); overflow: hidden; opacity: 0; transition: opacity .3s; }
.th-svc__ix-bar i { position: absolute; inset: 0; background: var(--cyan); transform-origin: 0 50%; transform: scaleX(0); }
.th-svc.is-pin .th-svc__ix-item.is-on .th-svc__ix-bar { opacity: 1; }

/* panel layer: the right three-fifths, one service at a time */
.th-svc.is-pin .th-svc__panels {
  position: absolute; z-index: 2; margin: 0; top: var(--sv-pad-t); bottom: var(--sv-pad-b); right: var(--gutter);
  width: calc((100% - 2 * var(--gutter) - var(--sv-split)) * .6);
  max-height: var(--sv-col-max); margin: auto 0;
}
/* Inactive panels are hidden by opacity only: they stay in the accessibility tree and in the tab order, and focus
   entering one scrolls to its step (svc.js), so a keyboard walks the story. Only the shown panel takes the pointer. */
.th-svc.is-pin .th-svc__panels { pointer-events: none; }
/* The panels crossfade in place, by opacity only (2026-11-27 follow-up; it was a crossfade with a 14px rise). The six
   share one frame (evenBlocks(), below), so a rise would be the only thing in the column that moves between services,
   and the owner asked that nothing does: the head, the demo box, the outcome and the links stay exactly where they
   are while one service's content gives way to the next. */
.th-svc.is-pin .th-svc__panel {
  position: absolute; inset: 0; margin: 0; padding: 0; border: 0; display: flex; flex-direction: column;
  opacity: 0; transition: opacity .3s var(--ease-out);
}
.th-svc.is-pin .th-svc__panel.is-on { opacity: 1; transition: opacity .34s var(--ease-out) .05s; }
/* a deep link: until the load event the browser keeps scrolling its fragment target to the header + this margin; at
   the panel's real offset in the sticky stage that scroll is already done, so the page no longer drifts through the
   step (2026-11-27 fix pass) */
.th-svc.is-pin .th-svc__panel { scroll-margin-top: calc(var(--sv-pad-t) + max(0px, (var(--sv-h) - var(--sv-pad-t) - var(--sv-pad-b) - var(--sv-col-max)) / 2)); }
.th-svc.is-pin.is-past .th-svc__panel.is-on, .th-svc.is-pin.is-nav .th-svc__panel.is-on { pointer-events: auto; }
.th-svc.is-pin .th-svc__promise { max-width: 30ch; }
/* pinned, the line's measure is the column (2026-11-27 fix pass): at 58ch DevSecOps' line wrapped and evenBlocks()
   gave all six heads that height; not a ch value, which follows the fallback font shown until Outfit arrives */
.th-svc.is-pin .th-svc__sub { max-width: none; }
.th-svc.is-pin .th-svc__media { flex: 1 1 0; min-height: 0; display: flex; flex-direction: column; margin-top: 18px; }
.th-svc.is-pin .th-svc__demo { flex: 1 1 0; min-height: 0; }
.th-svc.is-pin .th-svc__fit { flex: 1 1 0; min-height: 0; overflow: hidden; }
.th-svc.is-pin .th-svc__fit .thv { position: absolute; left: 50%; top: 50%; flex: none; width: 520px; transform: translate(-50%, -50%); transform-origin: 50% 50%; }
.th-svc.is-pin .th-svc__say { min-height: var(--sv-sh, 46px); padding: 11px 16px 12px; font-size: 14px; }
.th-svc.is-pin .th-svc__out { flex: none; margin-top: 18px; padding: 13px 18px; gap: 8px; }
/* One size for all six (the owner, 2026-11-27: the Mobile panel "gets wonky height wise because it has a box with a
   few lines rather than one"): every panel's head (label, headline, line) and outcome block, and every demo's caption,
   take the tallest one's height at the current width (svc.js evenBlocks(), on resize and when the fonts arrive), so
   the media box and the demo's box are the same in all six and nothing in the column moves between steps. The head
   keeps its text to the top; the outcome keeps its links to the bottom. */
.th-svc.is-pin .th-svc__phead { flex: none; min-height: var(--sv-ph, 0px); }
.th-svc.is-pin .th-svc__out { min-height: var(--sv-oh, 0px); grid-template-rows: auto auto minmax(0, 1fr); }
.th-svc.is-pin .th-svc__links { align-self: end; margin-top: 2px; }
.th-svc.is-pin .th-svc__out-t { font-size: 15px; }
.th-svc.is-pin .th-svc__cta { min-height: 40px; }
/* the card takes the room the outcome block took (--sv-card), so the media box keeps its size at every pinned size */
.th-svc.is-pin .th-svc__out { --sv-card: 152.59375px; min-height: max(var(--sv-oh, 0px), var(--sv-card)); }

/* short pinned windows (640-819 tall): tighter type so the panel still fits without scrolling, and the grid shows each
   square with its title only (the line under it is the panel's headline, as on phones), so the squares can be a third
   larger (1444 x 727: 189px with the lines, 257px without). The gaps around the demo are 8px tighter (2026-11-27 fix
   pass), which keeps the Cloud diagram's step list at 1231 x 734, 1408 x 726 and 1280 x 720. */
@media (max-height: 819px) {
  .th-svc.is-pin .th-svc__line { display: none; }
  .th-svc.is-pin .th-svc__kicker { margin-bottom: 4px; font-size: 13px; }
  .th-svc.is-pin .th-svc__promise { font-size: clamp(21px, 1.9vw, 25px); }
  .th-svc.is-pin .th-svc__sub { margin-top: 6px; font-size: 14.5px; line-height: 1.42; }
  .th-svc.is-pin .th-svc__media { margin-top: 10px; }
  .th-svc.is-pin .th-svc__dbar { min-height: 42px; padding-top: 5px; padding-bottom: 5px; }
  .th-svc.is-pin .th-svc__say { min-height: var(--sv-sh, 40px); padding: 9px 14px 10px; font-size: 13.5px; }
  .th-svc.is-pin .th-svc__out { margin-top: 12px; padding: 10px 16px; gap: 5px; --sv-card: 123.9375px; }
  .th-svc.is-pin .th-svc__out-k { font-size: 12.5px; line-height: 1.36; }
  .th-svc.is-pin .th-svc__out-v { font-size: 28px; }
  .th-svc.is-pin .th-svc__out-v.is-word { font-size: 22px; }
  .th-svc.is-pin .th-svc__out-t { font-size: 13.5px; line-height: 1.4; }
  .th-svc.is-pin .th-svc__links { margin-top: 2px; }
  .th-svc.is-pin .th-svc__cta { min-height: 34px; }
  .th-svc.is-pin .th-svc__ix-name { font-size: 16.5px; }
  .th-svc.is-pin .th-svc__ix-meta { font-size: 12.5px; }
  .th-svc.is-pin .th-svc__ix-bar { margin-top: 7px; }
}

/* ============================================================== container queries */
@container th-svc-demo (max-width: 460px) {
  .th-svc .thv { padding: 10px 12px 14px; }
  .th-svc .thv-node { width: 74px; }
  .th-svc .thv-node .thv-ico { width: 32px; height: 32px; }
  .th-svc .thv-node b { font-size: 12px; }
  .th-svc .thv-cloud__grid { grid-template-columns: 74px minmax(22px, 1fr) 74px minmax(22px, 1fr) 74px; }
  .th-svc .thv-cloud .thv-wire:not(.thv-wire--v) { margin-top: 16px; margin-left: 3px; margin-right: 3px; }
  .th-svc .thv-dso__lane { grid-template-columns: 1fr; gap: 12px; }
  .th-svc .thv-gate { flex-direction: row; align-items: center; gap: 12px; text-align: left; }
  .th-svc .thv-gate b { margin-top: 0; min-width: 96px; }
  .th-svc .thv-gate small { margin-left: auto; text-align: right; }
  .th-svc .thv-dso__lane { --ri: 10px; --rt: 11px; }
  .th-svc .thv-rail { right: auto; bottom: var(--rt); width: 2px; height: auto; }
  .th-svc .thv-rail > b { transform-origin: 50% 0; transform: scaleY(var(--p, 1)); }
}

/* ============================================================== smaller screens */
@media (max-width: 1099px) {
  .th-svc__head { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 859px) {
  .th-svc__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* 2026-11-27 mobile pass S2, S3 (v3/mobile-audit/PLAN.md; the caption's sizers wrap with it) */
@media (max-width: 960px) {
  .th-svc { padding: clamp(64px, 10vw, 96px) 0; }
  .th-svc :is(.th-svc__lede, .th-svc__say-b) { text-wrap: pretty; }
  .th-svc :is(.th-svc__out-row, .th-svc__out-link) { text-wrap: balance; }
}
@media (max-width: 767px) {
  .th-svc__lede { font-size: 16.5px; }
  .th-svc__grid { gap: 26px 14px; }
  .th-svc__sq { border-radius: 12px; }
  .th-svc__card { --sv-n: 24px; }
  .th-svc__name { margin-top: 12px; font-size: 19px; }
  .th-svc__num { font-size: 11px; }
  .th-svc__go { margin-left: 7px; }
  .th-svc__line { display: none; }
  .th-svc__panels { margin-top: 72px; }
  .th-svc__panel + .th-svc__panel { margin-top: 56px; padding-top: 56px; }
  .th-svc__promise { font-size: 24px; }
  .th-svc__sub { font-size: 15.5px; }
  .th-svc__media { margin-top: 18px; border-radius: 12px; }
  .th-svc__fit { min-height: 0; }
  .th-svc__say { min-height: 70px; font-size: 14px; }
  .th-svc__out { margin-top: 22px; padding: 16px 16px 18px; }
  /* mobile plan C2: the figure begins its sentence */
  .th-svc__out-row { display: block; font-size: 15.5px; line-height: 1.5; }
  .th-svc__out-v { display: inline; margin-right: .3em; vertical-align: baseline; }
  /* mobile plan S4: 44px targets (the step rows grow) */
  .th-svc :is(.th-svc__play, .tsp-arch__pause, .th-svc__out-link) { position: relative; }
  .th-svc :is(.th-svc__play, .tsp-arch__pause)::after { content: ''; position: absolute; inset: -9px -6px; }
  .th-svc .th-svc__out-link::after { content: ''; position: absolute; inset: -13px 0; }
  .th-svc :is(.tsp-arch__step, .tsp-arch:not(.has-steps) .tsp-arch__steps li) { min-height: 44px; }
}
@media (max-width: 640px) {
  .th-svc__panels { margin-top: 48px; }   /* S2 */
  .th-svc__panel + .th-svc__panel { margin-top: 40px; padding-top: 40px; }
}

/* one-time reveal of the header (opacity + 12px rise); svc.js adds the class only below the fold */
.th-svc.is-js .th-svc__rv { opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.th-svc.is-js .th-svc__rv.is-in { opacity: 1; transform: none; }

/* ============================================================== reduced motion */
@media (prefers-reduced-motion: reduce) {
  .th-svc *, .th-svc *::before, .th-svc *::after { animation: none !important; transition: none !important; }
  .th-svc .th-svc__cta:hover .th-svc__cta-arr { transform: none; }
}

/* ============================================================== phones: one service at a time (svc.js .is-tabs) */
.th-svc__chips { display: none; }
.th-svc.is-tabs .th-svc__chips {
  position: sticky; top: var(--sv-top); z-index: 5; display: flex; gap: 8px;
  margin: 0 calc(-1 * var(--gutter)); padding: 10px var(--gutter);
  overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scrollbar-width: none;
  background: var(--bg); border-bottom: 1px solid var(--line);
}
.th-svc.is-tabs .th-svc__chips::-webkit-scrollbar { display: none; }
.th-svc__chip {
  position: relative; flex: none; height: 40px; padding: 0 15px; border: 1px solid var(--line-2); border-radius: 8px;
  background: transparent; color: var(--text-2); font: 500 14.5px/1 var(--f-body); white-space: nowrap; cursor: pointer;
  transition: color .2s, border-color .2s, background-color .2s;
}
.th-svc__chip::after { content: ''; position: absolute; inset: -3px 0; }
.th-svc__chip:hover { color: var(--text); }
.th-svc__chip[aria-selected="true"] { color: var(--text); border-color: rgba(var(--cyan-rgb), .6); background: rgba(var(--cyan-rgb), .1); }
.th-svc.is-tabs .th-svc__panel:not(.is-sel) { display: none; }
.th-svc.is-tabs .th-svc__panel { margin: 0; padding-top: 26px; border-top: 0; scroll-margin-top: 61px; }
/* focus moving up stops under the stuck chips (61px) with its ring (8px) */
.th-svc.is-tabs .th-svc__panel :is(a[href], button, [tabindex]) { scroll-margin-top: 69px; }
.th-svc.is-tabs .th-svc__cell.is-sel .th-svc__sq { border-color: rgba(var(--cyan-rgb), .6); }
.th-svc.is-tabs .th-svc__cell.is-sel .th-svc__num { color: var(--cyan); }
@media (forced-colors: active) { .th-svc__chip[aria-selected="true"] { border-width: 2px; } }

/* the Cloud diagram's bar is the five's: no room for a switch, their 1px rule (over arch-panel.css) */
.th-svc.is-js .th-svc__media .th-svc__demo > .tsp-arch > .tsp-arch__bar { padding-left: 14px; border-bottom: 1px solid rgba(255, 255, 255, .07); }

/* mobile plan S5: an 11px floor on phones (Kubernetes: in its own stylesheet) */
@container th-svc-demo (max-width: 460px) {
  .th-svc :is(
    .thv-gate small, .thv-dso__find b,
    .thv-pipe__stg, .thv-pipe__ps, .thv-pipe__typed, .thv-pipe__go, .thv-pipe__cmd, .thv-pipe__ok, .thv-pipe__l,
    .thv-pipe__schema small, .thv-pipe__schema i, .thv-pipe__schema span,
    .thv-mo__ic, .thv-mo__time, .thv-mo__goal, .thv-mo__n, .thv-mo__cl, .thv-mo__cap span, .thv-mo__num span,
    .thv-mo__stt small, .thv-mo :is(.c-at, .c-fn, .c-kw, .c-nu, .c-pu, .c-st, .c-tg, .c-tx),
    .thv-aiq__cite, .thv-aiq__flag, .thv-aiq__k, .thv-aiq__lab
  ) { font-size: 11px; }
}

/* ============================================================== rebuilt demos (2026-11-27, written by tools/demo-css.mjs:
   each from v3/svc/demos/<slug>/<slug>.css, whose comments explain it; edit those files, not this block) */
/* 02 kubernetes: demos/kubernetes/kubernetes.css */
.th-svc .thv.thv-eks { --cpu: .42; container: th-svc-eks / inline-size; }
.th-svc .thv.thv-eks > * { width: 100%; max-width: none; margin: 0; }
.th-svc.is-pin .th-svc__fit .thv.thv-eks { width: 600px; height: 250px; padding: 0; }
.th-svc .thv-eks > .thv-eks__fit { position: relative; height: 250px; height: calc(250px * min(1.2, tan(atan2(100cqw, 600px)))); overflow: hidden; }
.th-svc .thv-eks__stage {
  --ek-ok: var(--sv-ok, #00d68f); --ek-warn: var(--sv-warn, #fbbf24); --ek-bad: var(--sv-bad, #ff6b81); --ek-cyan: var(--cyan, #00d4ff);
  --ek-line: var(--line, rgba(255, 255, 255, .09)); --ek-wire: rgba(255, 255, 255, .22);
  position: absolute; left: 50%; top: 0; width: 600px; height: 250px; margin: 0; padding: 0; contain: strict;
  transform-origin: 50% 0; transform: translateX(-50%); transform: translateX(-50%) scale(min(1.2, tan(atan2(100cqw, 600px))));
  font: 400 12px/1.2 var(--f-body, 'Outfit', system-ui, sans-serif); color: var(--text, #eef2fb); text-align: left;
  letter-spacing: 0; text-transform: none; text-indent: 0; text-shadow: none; word-spacing: normal; white-space: normal;
  -webkit-font-smoothing: antialiased; -webkit-user-select: none; user-select: none;
}
.th-svc .thv-eks__stage :where(b, small, i, s, u, em, span, img, svg) { margin: 0; padding: 0; font-style: normal; text-decoration: none; }
.th-svc .thv-eks__stage img { display: block; max-width: none; border: 0; border-radius: 0; }
.th-svc .thv-eks__stage small { font: 500 9.5px/12px var(--f-mono, 'JetBrains Mono', monospace); letter-spacing: .06em; text-transform: uppercase; color: var(--text-3, #8d97b2); white-space: nowrap; }
.th-svc .thv-eks__hd {
  position: absolute; left: 0; top: 0; width: 600px; height: 36px; padding: 0 16px; display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--ek-line); white-space: nowrap;
}
.th-svc .thv-eks__hd img { width: 20px; height: 20px; }
.th-svc .thv-eks__hd b { font: 500 14px/1 var(--f-display, 'Space Grotesk', sans-serif); color: var(--text, #eef2fb); }
.th-svc .thv-eks__dep, .th-svc .thv-eks__rgn { font: 400 11px/1 var(--f-mono, 'JetBrains Mono', monospace); color: var(--text-3, #8d97b2); }
.th-svc .thv-eks__dep { margin-left: 2px; }
.th-svc .thv-eks__rgn { margin-left: auto; }
.th-svc .thv-eks__meters {
  position: absolute; left: 16px; top: 44px; width: 568px; height: 38px;
  display: grid; grid-template-columns: 168px minmax(0, 1fr) 84px; column-gap: 36px;
}
.th-svc .thv-eks__m { display: grid; grid-template-rows: 12px 24px; row-gap: 2px; align-items: center; min-width: 0; }
.th-svc .thv-eks__m small { grid-column: 1 / -1; }
.th-svc .thv-eks__m > b { font: 500 19px/24px var(--f-mono, 'JetBrains Mono', monospace); color: var(--text, #eef2fb); font-variant-numeric: tabular-nums; white-space: nowrap; transition: color .3s; }
.th-svc .thv-eks__m--req { grid-template-columns: 62px 90px; column-gap: 12px; }
.th-svc .thv-eks__spark { position: relative; display: block; width: 90px; height: 22px; overflow: hidden; }
.th-svc .thv-eks__spark svg { position: absolute; left: 0; top: 0; display: block; width: 180px; height: 22px; overflow: visible; }
.th-svc .thv-eks__spark polyline { fill: none; stroke: var(--ek-cyan); stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; }
.th-svc .thv-eks__spark polygon { fill: var(--ek-cyan); fill-opacity: .1; stroke: none; }
.th-svc .thv-eks__m--cpu { grid-template-columns: minmax(0, 1fr) 54px; column-gap: 12px; }
.th-svc .thv-eks__m--cpu > b { text-align: right; }
.th-svc .thv-eks__bar { position: relative; display: block; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .09); }
.th-svc .thv-eks__bar s { position: absolute; left: 0; top: 0; width: 100%; height: 6px; border-radius: 3px; background: var(--ek-cyan); transform-origin: 0 50%; transform: scaleX(var(--cpu)); transition: transform .55s var(--ease-out, ease-out), background-color .3s; }
.th-svc .thv-eks__bar i { position: absolute; left: 60%; top: -5px; width: 1px; height: 16px; background: rgba(255, 255, 255, .6); }
.th-svc .thv-eks__m--cpu[data-s="hot"] .thv-eks__bar s { background: var(--ek-warn); }
.th-svc .thv-eks__m--cpu[data-s="hot"] > b, .th-svc .thv-eks__m--rdy[data-s="warn"] > b { color: var(--ek-warn); }
.th-svc .thv-eks__lb { position: absolute; left: 16px; top: 138px; width: 56px; display: flex; flex-direction: column; align-items: center; text-align: center; white-space: nowrap; }
.th-svc .thv-eks__lb img { width: 26px; height: 26px; }
.th-svc .thv-eks__lb b { margin-top: 3px; font: 500 12px/14px var(--f-display, 'Space Grotesk', sans-serif); color: var(--text, #eef2fb); }
.th-svc .thv-eks__lb small { font: 400 10px/12px var(--f-mono, 'JetBrains Mono', monospace); letter-spacing: 0; text-transform: none; }
.th-svc .thv-eks__trunk { --ek-tl: 1; --ek-fe: 490.5px; position: absolute; left: 60px; top: 147.5px; width: 487.5px; height: 7px; }
.th-svc .thv-eks__trunk[data-s="p1"] { --ek-tl: .6718; --ek-fe: 330.5px; }
.th-svc .thv-eks__trunk[data-s="p2"] { --ek-fe: 330.5px; }
.th-svc .thv-eks__trunk::before { content: ''; position: absolute; left: 0; top: 3px; width: 100%; height: 1px; background: var(--ek-wire); transform-origin: 0 50%; transform: scaleX(var(--ek-tl)); transition: transform .5s var(--ease-out, ease-out); }
.th-svc .thv-eks__trunk > i { position: absolute; left: 0; top: 0; width: calc(100% + 3px); height: 7px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(var(--ek-fe) - 16px), transparent var(--ek-fe)); mask-image: linear-gradient(90deg, #000 calc(var(--ek-fe) - 16px), transparent var(--ek-fe)); }
.th-svc .thv-eks__trunk > i::after, .th-svc .thv-eks__drop::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: -122px; right: 0;
  background:
    radial-gradient(circle at 3.5px 3.5px, var(--ek-cyan) 2.4px, rgba(0, 212, 255, 0) 3px) 0 0 / 122px 7px repeat-x,
    radial-gradient(circle at 44.5px 3.5px, var(--ek-cyan) 2.4px, rgba(0, 212, 255, 0) 3px) 0 0 / 122px 7px repeat-x,
    radial-gradient(circle at 79.5px 3.5px, var(--ek-cyan) 2.4px, rgba(0, 212, 255, 0) 3px) 0 0 / 122px 7px repeat-x;
}
.th-svc :is(.is-playing, .is-paused) .thv-eks__trunk > i::after { animation: th-svc-eks-flow .52s linear infinite; }
@keyframes th-svc-eks-flow { to { transform: translateX(122px); } }
.th-svc .thv-eks__drop { display: none; }
.th-svc .thv-eks__zone { position: absolute; left: 0; width: 600px; height: 52px; }
.th-svc .thv-eks__zone--a { top: 90px; }
.th-svc .thv-eks__zone--b { top: 160px; }
.th-svc .thv-eks__zn { position: absolute; left: 16px; top: 0; font: 500 9.5px/12px var(--f-mono, 'JetBrains Mono', monospace); letter-spacing: .04em; color: var(--text-3, #8d97b2); white-space: nowrap; }
.th-svc .thv-eks__zone--b .thv-eks__zn { top: auto; bottom: 0; }
.th-svc .thv-eks__node { position: absolute; top: 0; left: 96px; width: 234px; height: 52px; }
.th-svc .thv-eks__node:nth-child(3) { left: 350px; }
.th-svc .thv-eks__nl { position: absolute; left: 0; top: 0; width: 234px; height: 12px; display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.th-svc .thv-eks__zone--b .thv-eks__nl { top: auto; bottom: 0; }
.th-svc .thv-eks__nl::after { content: ''; flex: 1 1 auto; height: 1px; background: rgba(255, 255, 255, .12); transition: background-color .35s; }
.th-svc .thv-eks__nl b { font: 500 10px/12px var(--f-mono, 'JetBrains Mono', monospace); color: var(--text-2, #b4bdd3); transition: color .35s; }
.th-svc .thv-eks__nl em { display: grid; font: 500 10px/12px var(--f-mono, 'JetBrains Mono', monospace); }
.th-svc .thv-eks__nl em > span { grid-area: 1 / 1; color: var(--ek-ok); transition: opacity .3s; }
.th-svc .thv-eks__nl em > span + span { color: var(--ek-bad); opacity: 0; }
.th-svc .thv-eks__node[data-s="down"] .thv-eks__nl em > span { opacity: 0; }
.th-svc .thv-eks__node[data-s="down"] .thv-eks__nl em > span + span { opacity: 1; }
.th-svc .thv-eks__node[data-s="down"] .thv-eks__nl b { color: var(--text-3, #8d97b2); }
.th-svc .thv-eks__node[data-s="down"] .thv-eks__nl::after { background: rgba(255, 107, 129, .55); }
.th-svc .thv-eks__pod {
  position: absolute; top: 14px; left: 0; width: 74px; height: 38px;
  border: 1px solid rgba(var(--cyan-rgb, 0, 212, 255), .34); border-radius: 7px; background: rgba(var(--cyan-rgb, 0, 212, 255), .05);
  white-space: nowrap; transform-origin: 50% 50%; transition: border-color .35s, background-color .35s;
}
.th-svc .thv-eks__zone--b .thv-eks__pod { top: 0; }
.th-svc .thv-eks__pod:nth-child(3) { left: 80px; }
.th-svc .thv-eks__pod:nth-child(4) { left: 160px; }
.th-svc .thv-eks__pod > i { position: absolute; left: 7px; top: 7px; width: 6px; height: 6px; border-radius: 50%; background: var(--ek-ok); transition: background-color .35s; }
.th-svc .thv-eks__pod > b { position: absolute; left: 17px; top: 3px; font: 400 9.5px/12px var(--f-mono, 'JetBrains Mono', monospace); color: var(--text-2, #b4bdd3); }
.th-svc .thv-eks__ps { position: absolute; left: 7px; top: 17px; display: grid; font: 500 10.5px/13px var(--f-body, 'Outfit', sans-serif); color: var(--text, #eef2fb); }
.th-svc .thv-eks__ps > span { grid-area: 1 / 1; opacity: 0; transition: opacity .3s; }
.th-svc .thv-eks__pod[data-s="run"] .thv-eks__ps > :nth-child(1),
.th-svc .thv-eks__pod[data-s="pend"] .thv-eks__ps > :nth-child(2),
.th-svc .thv-eks__pod[data-s="term"] .thv-eks__ps > :nth-child(3) { opacity: 1; }
.th-svc .thv-eks__pod > u { position: absolute; left: 7px; right: 7px; bottom: 4px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.th-svc .thv-eks__pod > u > s { position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: var(--ek-cyan); transform-origin: 0 50%; transform: scaleX(0); transition: transform .55s var(--ease-out, ease-out); }
.th-svc .thv-eks__pod[data-s="run"] > u > s { transform: scaleX(calc(var(--cpu) * var(--j, 1))); }
.th-svc :is(.is-playing, .is-paused) .thv-eks__pod[data-s="run"] > u > s { animation: th-svc-eks-load 1.7s ease-in-out infinite alternate; }
.th-svc :is(.is-playing, .is-paused) .thv-eks__node:nth-child(2) .thv-eks__pod:nth-child(3) > u > s,
.th-svc :is(.is-playing, .is-paused) .thv-eks__node:nth-child(3) .thv-eks__pod:nth-child(2) > u > s { animation-delay: -.6s; }
.th-svc :is(.is-playing, .is-paused) .thv-eks__zone--b .thv-eks__pod > u > s { animation-duration: 1.45s; }
@keyframes th-svc-eks-load { from { scale: .93 1; } to { scale: 1.05 1; } }
.th-svc .thv-eks__pod[data-s="empty"] { visibility: hidden; }
.th-svc .thv-eks__pod::before { content: ''; position: absolute; inset: -1px; border: 1px dashed rgba(251, 191, 36, .6); border-radius: inherit; opacity: 0; pointer-events: none; }
.th-svc .thv-eks__ps::after { content: 'Creating'; grid-area: 1 / 1; opacity: 0; }
.th-svc .thv-eks__pod[data-s="pend"] { border-color: rgba(251, 191, 36, 0); background: rgba(251, 191, 36, .04); }
.th-svc .thv-eks__pod[data-s="pend"]::before { opacity: 1; }
.th-svc .thv-eks__pod[data-s="pend"] > b, .th-svc .thv-eks__pod[data-s="pend"] > u, .th-svc .thv-eks__pod[data-s="pend"] .thv-eks__w { opacity: 0; }
.th-svc .thv-eks__pod[data-s="pend"] > i { background: var(--ek-warn); }
.th-svc .thv-eks__pod[data-s="pend"] .thv-eks__ps { color: var(--ek-warn); }
.th-svc .thv-eks__pod[data-s="term"] { border-color: rgba(255, 107, 129, .5); background: rgba(255, 107, 129, .06); }
.th-svc .thv-eks__pod[data-s="term"] > i { background: var(--ek-bad); }
.th-svc .thv-eks__pod[data-s="term"] .thv-eks__ps { color: var(--ek-bad); }
.th-svc :is(.is-playing, .is-paused) .thv-eks__pod[data-s="pend"] { animation: th-svc-eks-in .32s ease-out both, th-svc-eks-make 1.4s linear both; }
.th-svc :is(.is-playing, .is-paused) .thv-eks__pod[data-s="pend"] > i { animation: th-svc-pulse .45s ease-in-out infinite alternate; }
.th-svc :is(.is-playing, .is-paused) .thv-eks__pod[data-s="pend"]::before,
.th-svc :is(.is-playing, .is-paused) .thv-eks__pod[data-s="pend"] .thv-eks__ps > :nth-child(2) { animation: th-svc-eks-dash 1.4s linear both; }
.th-svc :is(.is-playing, .is-paused) .thv-eks__pod[data-s="pend"] > b,
.th-svc :is(.is-playing, .is-paused) .thv-eks__pod[data-s="pend"] > u,
.th-svc :is(.is-playing, .is-paused) .thv-eks__pod[data-s="pend"] .thv-eks__w,
.th-svc :is(.is-playing, .is-paused) .thv-eks__pod[data-s="pend"] .thv-eks__ps::after { animation: th-svc-eks-fill 1.4s linear both; }
.th-svc :is(.is-playing, .is-paused) .thv-eks__pod[data-s="term"] { animation: th-svc-eks-term 1.4s ease-in both; }
@keyframes th-svc-eks-in { from { opacity: .2; transform: scale(.92); } to { opacity: 1; transform: none; } }
@keyframes th-svc-eks-make { 0%, 44% { border-color: rgba(251, 191, 36, 0); background-color: rgba(251, 191, 36, .04); } 58%, 100% { border-color: rgba(var(--cyan-rgb, 0, 212, 255), .34); background-color: rgba(var(--cyan-rgb, 0, 212, 255), .05); } }
@keyframes th-svc-eks-dash { 0%, 44% { opacity: 1; } 58%, 100% { opacity: 0; } }
@keyframes th-svc-eks-fill { 0%, 44% { opacity: 0; } 58%, 100% { opacity: 1; } }
@keyframes th-svc-eks-term { 0%, 30% { opacity: 1; } to { opacity: 0; } }
.th-svc .thv-eks__w { --ek-dy: 9px; position: absolute; left: 50%; top: calc(100% + 1px); width: 1px; height: 8px; margin-left: -.5px; background: var(--ek-wire); transition: background-color .35s; }
.th-svc .thv-eks__zone--b .thv-eks__w { --ek-dy: -9px; top: auto; bottom: calc(100% + 1px); }
.th-svc .thv-eks__pod[data-s="run"] .thv-eks__w { background: rgba(var(--cyan-rgb, 0, 212, 255), .8); }
.th-svc .thv-eks__pod[data-s="term"] .thv-eks__w { background: rgba(255, 107, 129, .45); }
.th-svc .thv-eks__w::before, .th-svc .thv-eks__w::after { content: ''; position: absolute; left: -2px; top: -2.5px; width: 5px; height: 5px; border-radius: 50%; background: var(--ek-cyan); opacity: 0; }
.th-svc .thv-eks__zone--b .thv-eks__w::before, .th-svc .thv-eks__zone--b .thv-eks__w::after { top: auto; bottom: -2.5px; }
.th-svc .thv-eks__w::after { visibility: hidden; }
.th-svc .thv-eks__stage[data-s="hot"] .thv-eks__w::after { visibility: visible; }
.th-svc :is(.is-playing, .is-paused) .thv-eks__pod[data-s="run"] .thv-eks__w::before,
.th-svc :is(.is-playing, .is-paused) .thv-eks__pod[data-s="run"] .thv-eks__w::after { animation: th-svc-eks-drop 1.04s linear var(--d, 0s) infinite; }
.th-svc :is(.is-playing, .is-paused) .thv-eks__pod[data-s="run"] .thv-eks__w::after { animation-delay: calc(var(--d, 0s) - .52s); }
@keyframes th-svc-eks-drop { 0% { transform: translateY(var(--ek-dy)); opacity: 0; } 8% { opacity: 1; } 42% { opacity: 1; } 50% { transform: none; opacity: 0; } 100% { opacity: 0; } }
.th-svc .thv-eks__ft { position: absolute; left: 16px; top: 220px; width: 568px; height: 30px; padding-top: 1px; display: flex; align-items: center; gap: 10px; border-top: 1px solid var(--ek-line); white-space: nowrap; }
.th-svc .thv-eks__ft > b { font: 500 14px/18px var(--f-display, 'Space Grotesk', sans-serif); color: var(--ek-ok); transition: color .3s; }
.th-svc .thv-eks__ft[data-s="warn"] > b { color: var(--ek-warn); }
.th-svc .thv-eks__ft[data-s="bad"] > b { color: var(--ek-bad); }
.th-svc .thv-eks__cfg { margin-left: auto; font: 400 10px/12px var(--f-mono, 'JetBrains Mono', monospace); color: var(--text-3, #8d97b2); }
@container th-svc-demo (max-width: 480px) { .th-svc .thv.thv-eks { padding-left: 0; padding-right: 0; } }
@container th-svc-eks (max-width: 480px) {
  .th-svc .thv-eks > .thv-eks__fit { height: 324px; height: calc(324px * min(1.2, tan(atan2(100cqw, 320px)))); }
  .th-svc .thv-eks__stage { width: 320px; height: 324px; transform: translateX(-50%) scale(min(1.2, tan(atan2(100cqw, 320px)))); }
  .th-svc .thv-eks__stage small { font-size: 11px; line-height: 13px; }
  .th-svc .thv-eks__hd { width: 320px; height: 34px; padding: 0 12px; }
  .th-svc .thv-eks__rgn { display: none; }
  .th-svc .thv-eks__meters { left: 12px; top: 42px; width: 296px; height: 66px; grid-template-columns: minmax(0, 1fr) 64px; grid-template-rows: 38px 22px; column-gap: 16px; row-gap: 6px; }
  .th-svc .thv-eks__m { grid-template-rows: 13px 23px; row-gap: 2px; }
  .th-svc .thv-eks__m > b { line-height: 23px; }
  .th-svc .thv-eks__m--req { grid-row: 1; grid-column: 1; grid-template-columns: 58px minmax(0, 90px); }
  .th-svc .thv-eks__m--rdy { grid-row: 1; grid-column: 2; }
  .th-svc .thv-eks__m--cpu { grid-row: 2; grid-column: 1 / -1; grid-template-rows: 22px; grid-template-columns: 90px minmax(0, 1fr) 46px; row-gap: 0; }
  .th-svc .thv-eks__m--cpu small { grid-column: auto; }
  .th-svc .thv-eks__m--cpu > b { font-size: 16px; line-height: 22px; }
  .th-svc .thv-eks__lb { left: 12px; top: 116px; width: auto; flex-direction: row; align-items: center; gap: 7px; }
  .th-svc .thv-eks__lb img { width: 22px; height: 22px; }
  .th-svc .thv-eks__lb b { margin-top: 0; }
  .th-svc .thv-eks__drop { display: block; position: absolute; left: 19.5px; top: 140px; width: 7px; height: 73px; overflow: hidden; }
  .th-svc .thv-eks__drop::before { content: ''; position: absolute; left: 3px; top: 0; bottom: 0; width: 1px; background: var(--ek-wire); }
  .th-svc .thv-eks__drop::after { left: 0; right: 0; top: -122px; bottom: 0; background:
    radial-gradient(circle at 3.5px 3.5px, var(--ek-cyan) 2.4px, rgba(0, 212, 255, 0) 3px) 0 0 / 7px 122px repeat-y,
    radial-gradient(circle at 3.5px 44.5px, var(--ek-cyan) 2.4px, rgba(0, 212, 255, 0) 3px) 0 0 / 7px 122px repeat-y,
    radial-gradient(circle at 3.5px 79.5px, var(--ek-cyan) 2.4px, rgba(0, 212, 255, 0) 3px) 0 0 / 7px 122px repeat-y; }
  .th-svc :is(.is-playing, .is-paused) .thv-eks__drop::after { animation: th-svc-eks-flowy .52s linear infinite; }
  .th-svc .thv-eks__trunk { --ek-fe: 268.5px; left: 23px; top: 209.5px; width: 265.5px; }
  .th-svc .thv-eks__trunk[data-s="p1"] { --ek-tl: .6685; --ek-fe: 180.5px; }
  .th-svc .thv-eks__trunk[data-s="p2"] { --ek-fe: 180.5px; }
  .th-svc .thv-eks__zone { left: 0; width: 320px; height: 63px; }
  .th-svc .thv-eks__zone--a { top: 141px; }
  .th-svc .thv-eks__zone--b { top: 222px; }
  .th-svc .thv-eks__zn, .th-svc .thv-eks__zone--b .thv-eks__zn { left: 34px; font-size: 11px; line-height: 13px; }
  .th-svc .thv-eks__node, .th-svc .thv-eks__node:nth-child(3) { left: 34px; top: 14px; width: 128px; height: 49px; }
  .th-svc .thv-eks__node:nth-child(3) { left: 180px; }
  .th-svc .thv-eks__zone--b .thv-eks__node { top: 0; }
  .th-svc .thv-eks__nl { width: 128px; height: 13px; gap: 6px; }
  .th-svc .thv-eks__nl b, .th-svc .thv-eks__nl em { font-size: 11px; line-height: 13px; }
  .th-svc .thv-eks__pod { top: 15px; width: 40px; height: 34px; border-radius: 6px; }
  .th-svc .thv-eks__zone--b .thv-eks__pod { top: 0; }
  .th-svc .thv-eks__pod:nth-child(3) { left: 44px; }
  .th-svc .thv-eks__pod:nth-child(4) { left: 88px; }
  .th-svc .thv-eks__pod > i { left: 5px; top: 21px; width: 5px; height: 5px; }
  .th-svc .thv-eks__pod > b { left: 5px; top: 3px; font-size: 11px; line-height: 13px; }
  .th-svc .thv-eks__pod > b > span { display: none; font-size: 11px; }
  .th-svc .thv-eks__ps { display: none; font-size: 11px; }
  .th-svc .thv-eks__pod > u { left: 13px; right: 5px; top: 22px; bottom: auto; }
  .th-svc .thv-eks__ft { left: 12px; top: 294px; width: 296px; }
  .th-svc .thv-eks__cfg { font-size: 11px; line-height: 13px; }
  .th-svc .thv-eks__cfg > span { display: none; }
}
@keyframes th-svc-eks-flowy { to { transform: translateY(122px); } }
.th-svc.is-pin .th-svc__fit:has(> .thv-eks) { container: th-svc-fit-eks / size; }
@container th-svc-fit-eks (max-aspect-ratio: 19 / 10) {
  .th-svc.is-pin .th-svc__fit .thv.thv-eks { height: 330px; }
  .th-svc .thv-eks > .thv-eks__fit { height: 330px; height: calc(330px * min(1.2, tan(atan2(100cqw, 600px)))); }
  .th-svc .thv-eks__stage { height: 330px; }
  .th-svc .thv-eks__hd { height: 42px; }
  .th-svc .thv-eks__hd img { width: 22px; height: 22px; }
  .th-svc .thv-eks__meters { top: 56px; height: 46px; }
  .th-svc .thv-eks__m { grid-template-rows: 12px 30px; row-gap: 4px; }
  .th-svc .thv-eks__m > b { font-size: 22px; line-height: 30px; }
  .th-svc .thv-eks__m--req { grid-template-columns: 66px 90px; }
  .th-svc .thv-eks__spark { height: 24px; }
  .th-svc .thv-eks__zone { height: 68px; }
  .th-svc .thv-eks__zone--a { top: 118px; }
  .th-svc .thv-eks__zone--b { top: 206px; }
  .th-svc .thv-eks__node { height: 68px; }
  .th-svc .thv-eks__pod { top: 16px; height: 52px; border-radius: 8px; }
  .th-svc .thv-eks__zone--b .thv-eks__pod { top: 0; }
  .th-svc .thv-eks__pod > i { top: 9px; }
  .th-svc .thv-eks__pod > b { top: 5px; font-size: 10px; line-height: 14px; }
  .th-svc .thv-eks__ps { top: 23px; font-size: 11px; line-height: 14px; }
  .th-svc .thv-eks__pod > u { bottom: 8px; height: 4px; }
  .th-svc .thv-eks__pod > u > s { height: 4px; }
  .th-svc .thv-eks__w { --ek-dy: 10px; height: 9px; }
  .th-svc .thv-eks__zone--b .thv-eks__w { --ek-dy: -10px; }
  .th-svc .thv-eks__lb { top: 181px; }
  .th-svc .thv-eks__lb img { width: 30px; height: 30px; }
  .th-svc .thv-eks__trunk { top: 192.5px; }
  .th-svc .thv-eks__ft { top: 288px; height: 42px; }
  .th-svc .thv-eks__ft > b { font-size: 15px; }
}

/* 04 full-stack: demos/full-stack/full-stack.css */
.th-svc .thv.thv-pipe { --n: 18; --vis: 8; container: th-svc-pipe / inline-size; }
.th-svc .thv.thv-pipe > * { width: 100%; max-width: none; margin: 0; }
.th-svc.is-pin .th-svc__fit .thv.thv-pipe { width: 600px; height: 250px; padding: 0; }
.th-svc .thv-pipe > .thv-pipe__fit { position: relative; height: 250px; height: calc(250px * min(1.2, tan(atan2(100cqw, 600px)))); overflow: hidden; }
.th-svc .thv-pipe__stage {
  --pp-ok: var(--sv-ok, #00d68f); --pp-cyan: var(--cyan, #00d4ff); --pp-line: var(--line, rgba(255, 255, 255, .09));
  position: absolute; left: 50%; top: 0; width: 600px; height: 250px; margin: 0; padding: 0; contain: strict;
  transform-origin: 50% 0; transform: translateX(-50%); transform: translateX(-50%) scale(min(1.2, tan(atan2(100cqw, 600px))));
  font: 400 11px/17px var(--f-mono, 'JetBrains Mono', ui-monospace, monospace); font-variant-ligatures: none; color: var(--text, #eef2fb);
  text-align: left; letter-spacing: 0; text-transform: none; text-indent: 0; text-shadow: none; word-spacing: 0; white-space: normal;
  -webkit-font-smoothing: antialiased; -webkit-user-select: none; user-select: none;
}
.th-svc .thv-pipe__stage :where(b, small, i, em, span) { margin: 0; padding: 0; font-style: normal; text-decoration: none; }
.th-svc .thv-pipe__hd { position: absolute; left: 0; top: 0; width: 600px; height: 36px; padding: 0 16px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--pp-line); white-space: nowrap; }
.th-svc .thv-pipe__hd b { font: 500 14px/1 var(--f-display, 'Space Grotesk', system-ui, sans-serif); color: var(--text, #eef2fb); }
.th-svc .thv-pipe__hd span { font-size: 11px; line-height: 1; color: var(--text-3, #8d97b2); }
.th-svc .thv-pipe__stages { position: absolute; left: 0; top: 36px; width: 600px; height: 40px; padding: 0 16px; display: flex; align-items: center; border-bottom: 1px solid rgba(255, 255, 255, .05); }
.th-svc .thv-pipe__stg { display: inline-flex; align-items: center; gap: 6px; flex: none; font-size: 11px; line-height: 1; color: var(--text-3, #8d97b2); white-space: nowrap; transition: color .3s; }
.th-svc .thv-pipe__stg i { display: block; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .28); transition: background-color .3s, border-color .3s; }
.th-svc .thv-pipe__ln { display: block; flex: 1; min-width: 6px; height: 1px; margin: 0 7px; background: rgba(255, 255, 255, .14); }
.th-svc .thv-pipe__stg[data-s="run"] { color: var(--pp-cyan); }
.th-svc .thv-pipe__stg[data-s="run"] i { border-color: var(--pp-cyan); background: rgba(0, 212, 255, .25); }
.th-svc .thv-pipe__stg[data-s="ok"] { color: var(--text-2, #b4bdd3); }
.th-svc .thv-pipe__stg[data-s="ok"] i { border-color: var(--pp-ok); background: var(--pp-ok); }
.th-svc .thv-pipe__term { position: absolute; left: 0; top: 80px; width: 416px; height: 136px; overflow: hidden; }
.th-svc .thv-pipe__lines { position: absolute; left: 16px; top: 0; width: 392px; transform: translateY(calc(max(0, var(--n) + 1 - var(--vis)) * -17px)); transition: transform .2s cubic-bezier(.2, .8, .2, 1); }
.th-svc .thv-pipe__l { display: block; height: 17px; overflow: hidden; white-space: pre; text-overflow: ellipsis; color: var(--text-3, #8d97b2); opacity: clamp(0, var(--n) - var(--i) + 1, 1); transition: opacity .12s; }
.th-svc .thv-pipe__go { color: var(--pp-cyan); }
.th-svc .thv-pipe__cmd { color: var(--text-2, #b4bdd3); }
.th-svc .thv-pipe__ok, .th-svc .thv-pipe__ps { color: var(--pp-ok); }
.th-svc .thv-pipe__typed { display: inline-block; vertical-align: top; width: 22ch; white-space: pre; color: var(--text, #eef2fb); clip-path: inset(0 0 0 0); }
.th-svc .thv-pipe__typed[data-s="idle"] { clip-path: inset(0 100% 0 0); }
.th-svc .thv-pipe__typed[data-s="type"] { animation: th-svc-pipe-type 1s steps(22, end) both; }
@keyframes th-svc-pipe-type { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.th-svc .thv-pipe__caret { display: inline-block; width: 7px; height: 13px; margin-left: 1px; vertical-align: -2px; background: var(--text-2, #b4bdd3); }
.th-svc .thv-pipe__caret--0 { opacity: clamp(0, 1 - var(--n), 1); }
.th-svc .thv-pipe__typed[data-s="idle"] + .thv-pipe__caret--0 { transform: translateX(-22ch); }
.th-svc :is(.is-playing, .is-paused) .thv-pipe__caret { animation: th-svc-pipe-caret 1.05s steps(1, end) infinite; }
.th-svc :is(.is-playing, .is-paused) .thv-pipe__typed[data-s="type"] + .thv-pipe__caret--0 { animation: th-svc-pipe-follow 1s steps(22, end) both, th-svc-pipe-caret 1.05s steps(1, end) infinite; }
.th-svc .thv-pipe__typed[data-s="type"] + .thv-pipe__caret--0 { animation: th-svc-pipe-follow 1s steps(22, end) both; }
@keyframes th-svc-pipe-caret { 50% { visibility: hidden; } }
@keyframes th-svc-pipe-follow { from { transform: translateX(-22ch); } to { transform: none; } }
.th-svc .thv-pipe__con { position: absolute; left: 424px; top: 84px; width: 160px; height: 126px; }
.th-svc .thv-pipe__schema {
  position: absolute; left: 0; top: 0; width: 160px; height: 72px; padding: 6px 10px 0; border: 1px solid var(--line-2, rgba(255, 255, 255, .16)); border-radius: 8px;
  background: rgba(255, 255, 255, .03); display: grid; grid-template-columns: 1fr auto; grid-auto-rows: 15px; align-items: center; column-gap: 8px;
}
.th-svc .thv-pipe__schema b { font: 500 11.5px/15px var(--f-mono, 'JetBrains Mono', monospace); color: var(--text, #eef2fb); }
.th-svc .thv-pipe__schema small { font: 500 9px/15px var(--f-mono, 'JetBrains Mono', monospace); letter-spacing: .06em; text-transform: uppercase; color: var(--text-3, #8d97b2); }
.th-svc .thv-pipe__schema span { grid-column: 1 / -1; display: flex; font-size: 10.5px; line-height: 15px; color: var(--text-3, #8d97b2); }
.th-svc .thv-pipe__schema span i { flex: none; width: 50px; color: var(--text-2, #b4bdd3); }
.th-svc .thv-pipe__links { position: absolute; left: 0; top: 72px; width: 160px; height: 26px; }
.th-svc .thv-pipe__links i { position: absolute; overflow: hidden; background: rgba(255, 255, 255, .16); transition: background-color .35s; }
.th-svc .thv-pipe__lk-v { left: 79.5px; top: 0; width: 1px; height: 9px; }
.th-svc .thv-pipe__lk-h { left: 36px; top: 9px; width: 88px; height: 1px; }
.th-svc .thv-pipe__lk-a { left: 35.5px; top: 9px; width: 1px; height: 17px; }
.th-svc .thv-pipe__lk-b { left: 123.5px; top: 9px; width: 1px; height: 17px; }
.th-svc .thv-pipe__links[data-s="run"] i { background: rgba(var(--cyan-rgb, 0, 212, 255), .7); }
.th-svc .thv-pipe__links[data-s="on"] i { background: rgba(0, 214, 143, .5); }
.th-svc .thv-pipe__links i::after { content: ''; position: absolute; left: -1px; top: -6px; width: 3px; height: 6px; border-radius: 2px; background: #d8f8ff; opacity: 0; }
.th-svc .thv-pipe__lk-h::after { display: none; }
.th-svc :is(.is-playing, .is-paused) .thv-pipe__links[data-s="run"] i::after { animation: th-svc-pipe-pulse .7s linear infinite; }
@keyframes th-svc-pipe-pulse { 0% { opacity: 0; transform: translateY(0); } 20%, 80% { opacity: 1; } 100% { opacity: 0; transform: translateY(26px); } }
.th-svc .thv-pipe__use {
  position: absolute; top: 98px; width: 72px; height: 28px; display: flex; align-items: center; justify-content: center; gap: 7px;
  border: 1px solid rgba(255, 255, 255, .16); border-radius: 7px; background: rgba(255, 255, 255, .02); transition: border-color .3s, background-color .3s;
}
.th-svc .thv-pipe__use--api { left: 0; }
.th-svc .thv-pipe__use--web { left: 88px; }
.th-svc .thv-pipe__use b { font: 500 11.5px/1 var(--f-mono, 'JetBrains Mono', monospace); color: var(--text-3, #8d97b2); transition: color .3s; }
.th-svc .thv-pipe__use em { font: 600 11px/1 var(--f-mono, 'JetBrains Mono', monospace); color: var(--pp-ok); opacity: 0; transition: opacity .3s; }
.th-svc .thv-pipe__use[data-s="run"] { border-color: rgba(var(--cyan-rgb, 0, 212, 255), .7); background: rgba(var(--cyan-rgb, 0, 212, 255), .07); }
.th-svc .thv-pipe__use[data-s="run"] b { color: var(--pp-cyan); }
.th-svc .thv-pipe__use[data-s="ok"] { border-color: rgba(0, 214, 143, .45); background: rgba(0, 214, 143, .07); }
.th-svc .thv-pipe__use[data-s="ok"] b { color: var(--text, #eef2fb); }
.th-svc .thv-pipe__use[data-s="ok"] em { opacity: 1; }
.th-svc :is(.is-playing, .is-paused) .thv-pipe__use[data-s="run"] { animation: th-svc-pulse .45s ease-in-out infinite alternate; }
.th-svc .thv-pipe__ft { position: absolute; left: 0; top: 218px; width: 600px; height: 32px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--pp-line); font-size: 11px; line-height: 1; }
.th-svc .thv-pipe__st { display: inline-flex; align-items: center; gap: 7px; color: var(--text-3, #8d97b2); white-space: nowrap; transition: color .3s; }
.th-svc .thv-pipe__st i { display: block; width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .3); transition: background-color .3s; }
.th-svc .thv-pipe__st b { font-weight: 400; }
.th-svc .thv-pipe__url { color: var(--text-3, #8d97b2); white-space: nowrap; transition: color .3s; }
.th-svc .thv-pipe__ft[data-s="run"] .thv-pipe__st { color: var(--pp-cyan); }
.th-svc .thv-pipe__ft[data-s="run"] .thv-pipe__st i { background: var(--pp-cyan); }
.th-svc .thv-pipe__ft[data-s="ok"] .thv-pipe__st { color: var(--pp-ok); }
.th-svc .thv-pipe__ft[data-s="ok"] .thv-pipe__st i { background: var(--pp-ok); }
.th-svc .thv-pipe__ft[data-s="ok"] .thv-pipe__url { color: var(--text-2, #b4bdd3); }
.th-svc :is(.is-playing, .is-paused) :is(.thv-pipe__stg[data-s="run"] i, .thv-pipe__ft[data-s="run"] .thv-pipe__st i) { animation: th-svc-pipe-blink .8s ease-in-out infinite alternate; }
@keyframes th-svc-pipe-blink { from { opacity: .4; } to { opacity: 1; } }
@container th-svc-pipe (max-width: 480px) {
  .th-svc .thv-pipe > .thv-pipe__fit { height: 318px; height: calc(318px * min(1.2, tan(atan2(100cqw, 320px)))); }
  .th-svc .thv-pipe__stage { --vis: 10; width: 320px; height: 318px; transform: translateX(-50%) scale(min(1.2, tan(atan2(100cqw, 320px)))); }
  .th-svc .thv-pipe__hd { width: 320px; height: 34px; padding: 0 12px; }
  .th-svc .thv-pipe__stages { top: 34px; width: 320px; height: 36px; padding: 0 12px; }
  .th-svc .thv-pipe__stages { justify-content: space-between; }
  .th-svc .thv-pipe__stg { gap: 4px; font-size: 10px; }
  .th-svc .thv-pipe__stg i { width: 8px; height: 8px; border-width: 1.5px; }
  .th-svc .thv-pipe__ln { display: none; }
  .th-svc .thv-pipe__con { left: 12px; top: 76px; width: 296px; height: 28px; }
  .th-svc .thv-pipe__schema { width: 120px; height: 28px; padding: 0 9px; grid-template-columns: auto 1fr; grid-auto-rows: 26px; column-gap: 6px; }
  .th-svc .thv-pipe__schema span { display: none; }
  .th-svc .thv-pipe__schema small { text-align: right; }
  .th-svc .thv-pipe__links { left: 120px; top: 0; width: 32px; height: 28px; }
  .th-svc .thv-pipe__lk-v { left: 0; top: 13.5px; width: 32px; height: 1px; }
  .th-svc .thv-pipe__lk-h, .th-svc .thv-pipe__lk-a, .th-svc .thv-pipe__lk-b { display: none; }
  .th-svc .thv-pipe__links i::after { display: none; }
  .th-svc .thv-pipe__use { top: 0; width: 66px; }
  .th-svc .thv-pipe__use--api { left: 152px; }
  .th-svc .thv-pipe__use--web { left: 230px; }
  .th-svc .thv-pipe__term { top: 112px; width: 320px; height: 170px; }
  .th-svc .thv-pipe__lines { left: 12px; width: 300px; font-size: 10.5px; }
  .th-svc .thv-pipe__ft { top: 286px; width: 320px; padding: 0 12px; }
}
.th-svc.is-pin .th-svc__fit:has(> .thv-pipe) { container: th-svc-fit-pipe / size; }
@container th-svc-fit-pipe (max-aspect-ratio: 19 / 10) {
  .th-svc.is-pin .th-svc__fit .thv.thv-pipe { height: 330px; }
  .th-svc .thv-pipe > .thv-pipe__fit { height: 330px; height: calc(330px * min(1.2, tan(atan2(100cqw, 600px)))); }
  .th-svc .thv-pipe__stage { --vis: 11; height: 330px; }
  .th-svc .thv-pipe__hd { height: 42px; }
  .th-svc .thv-pipe__hd b { font-size: 15px; }
  .th-svc .thv-pipe__stages { top: 42px; height: 46px; }
  .th-svc .thv-pipe__term { top: 98px; height: 187px; }
  .th-svc .thv-pipe__con { top: 110px; height: 160px; }
  .th-svc .thv-pipe__schema { height: 84px; padding-top: 8px; grid-auto-rows: 17px; }
  .th-svc .thv-pipe__schema b { font-size: 12px; }
  .th-svc .thv-pipe__links { top: 84px; height: 32px; }
  .th-svc .thv-pipe__lk-v { height: 11px; }
  .th-svc .thv-pipe__lk-h { top: 11px; }
  .th-svc .thv-pipe__lk-a, .th-svc .thv-pipe__lk-b { top: 11px; height: 21px; }
  .th-svc :is(.is-playing, .is-paused) .thv-pipe__links[data-s="run"] i::after { animation-name: th-svc-pipe-pulse-t; }
  .th-svc .thv-pipe__use { top: 116px; height: 32px; }
  .th-svc .thv-pipe__ft { top: 290px; height: 40px; }
}
@keyframes th-svc-pipe-pulse-t { 0% { opacity: 0; transform: translateY(0); } 20%, 80% { opacity: 1; } 100% { opacity: 0; transform: translateY(32px); } }

/* 05 mobile: demos/mobile/mobile.css */
.th-svc .thv.thv-mo {
  --W: 620px; --H: 270px; --kmax: 1.25;
  --ed-x: 0px; --ed-y: 0px; --ed-w: 250px; --ed-h: 270px; --ed-br: 1px; --ed-bb: 0px; --ln0: 12; --ln-n: 12; --ln-pad: 4px;
  --pv-x: 250px; --pv-y: 0px; --pv-w: 160px; --pv-h: 270px; --ph-s: .79; --ph-t: 9px; --cap-fs: 10px;
  --rl-x: 410px; --rl-y: 0px; --rl-w: 210px; --rl-h: 270px; --rl-hd: 36px; --st-h: 48px; --st-gap: 10px;
  position: relative; display: block; flex: none; padding: 0; overflow: hidden;
  font: 400 10.5px/19px var(--f-mono); font-variant-ligatures: none; color: var(--text); text-align: left;
  letter-spacing: 0; white-space: normal; -webkit-user-select: none; user-select: none;
}
@media (min-height: 880px) {
  @container th-svc-demo (min-width: 521px) {
    .th-svc .thv.thv-mo {
      --H: 330px; --ed-h: 330px; --ln0: 9; --ln-n: 15; --ln-pad: 6px; --pv-h: 330px; --ph-s: .97; --ph-t: 8px;
      --rl-h: 330px; --rl-hd: 40px; --st-h: 58px; --st-gap: 12px;
    }
  }
}
@container th-svc-demo (max-width: 520px) {
  .th-svc .thv.thv-mo {
    --W: 340px; --H: 460px; --kmax: 1.2;
    --ed-w: 340px; --ed-h: 187px; --ed-br: 0px; --ed-bb: 1px; --ln0: 16; --ln-n: 7; --ln-pad: 8px;
    --pv-x: 0px; --pv-y: 187px; --pv-w: 140px; --pv-h: 273px; --ph-s: .79; --ph-t: 8px; --cap-fs: 9px; --st-wrap: normal;
    --rl-x: 140px; --rl-y: 187px; --rl-w: 200px; --rl-h: 273px; --st-h: 52px; --st-gap: 6px; --rl-pad: 10px; --rl-gap: 6px;
  }
}
.th-svc .thv-mo *, .th-svc .thv-mo *::before, .th-svc .thv-mo *::after { box-sizing: border-box; }
.th-svc .thv.thv-mo > .thv-mo__box { position: absolute; left: 0; top: 0; width: var(--W); max-width: none; height: var(--H); margin: 0; transform-origin: 0 0; }
.th-svc.is-pin .th-svc__fit .thv.thv-mo { width: var(--W); height: var(--H); }
.th-svc:not(.is-pin) .thv.thv-mo { width: 100%; height: var(--H); }
.th-svc:not(.is-pin) .thv.thv-mo > .thv-mo__box { left: 50%; transform-origin: 50% 0; transform: translateX(-50%); }
@supports (width: calc(100cqw * tan(atan2(1px, 2px)))) {
  .th-svc:not(.is-pin) .thv.thv-mo { --k: min(var(--kmax), tan(atan2(100cqw, var(--W)))); height: calc(var(--H) * var(--k)); }
  .th-svc:not(.is-pin) .thv.thv-mo > .thv-mo__box { transform: translateX(-50%) scale(var(--k)); }
}

.th-svc .thv-mo__ed { position: absolute; left: var(--ed-x); top: var(--ed-y); width: var(--ed-w); height: var(--ed-h); overflow: hidden; border: solid var(--line); border-width: 0 var(--ed-br) var(--ed-bb) 0; }
.th-svc .thv-mo__edhd { position: absolute; left: 0; top: 0; right: 0; height: 36px; display: flex; align-items: center; gap: 8px; padding: 0 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.th-svc .thv-mo__ttl { font: 500 13.5px/1 var(--f-display); color: var(--text); }
.th-svc .thv-mo__file { display: inline-flex; align-items: center; gap: 6px; margin-left: 2px; font-size: 11px; line-height: 1; color: var(--text-3); }
.th-svc .thv-mo__file i { display: block; width: 6px; height: 6px; border-radius: 50%; background: var(--text-2); opacity: 0; transition: opacity .15s; }
.th-svc .thv-mo__file i[data-s="1"] { opacity: 1; }
.th-svc .thv-mo__code { position: absolute; left: 0; right: 0; top: calc(36px + var(--ln-pad)); height: calc(var(--ln-n) * 19px); overflow: hidden; }
.th-svc .thv-mo__lines { position: absolute; left: 0; right: 0; top: calc((9 - var(--ln0)) * 19px); }
.th-svc .thv-mo__cl { display: block; height: 19px; white-space: pre; overflow: hidden; color: #d6deef; transition: background-color .25s; }
.th-svc .thv-mo__cl[data-s="edit"] { background: rgba(255, 255, 255, .055); }
.th-svc .thv-mo__n { display: inline-block; width: 30px; margin-right: 10px; text-align: right; color: #5f6a86; font-variant-numeric: tabular-nums; transition: color .25s; }
.th-svc .thv-mo__cl[data-s="edit"] .thv-mo__n { color: var(--text-2); }
.th-svc .thv-mo .c-kw { color: #c4a5ff; }
.th-svc .thv-mo .c-fn { color: #8fb3ff; }
.th-svc .thv-mo .c-tg { color: #7fd6ff; }
.th-svc .thv-mo .c-at { color: #ffcf8b; }
.th-svc .thv-mo .c-st { color: #a8e6a1; }
.th-svc .thv-mo .c-nu { color: #ff9e9e; }
.th-svc .thv-mo .c-pu { color: #8d97b2; }
.th-svc .thv-mo .c-tx { color: var(--text); }
.th-svc .thv-mo__ty { display: inline-grid; }
.th-svc .thv-mo__ty > span { grid-area: 1 / 1; visibility: hidden; white-space: pre; }
.th-svc .thv-mo__ty[data-s="walk"] > [data-o="walk"], .th-svc .thv-mo__ty[data-s="wal"] > [data-o="wal"],
.th-svc .thv-mo__ty[data-s="wa"] > [data-o="wa"], .th-svc .thv-mo__ty[data-s="w"] > [data-o="w"],
.th-svc .thv-mo__ty[data-s="e"] > [data-o="e"], .th-svc .thv-mo__ty[data-s="r"] > [data-o="r"],
.th-svc .thv-mo__ty[data-s="ru"] > [data-o="ru"], .th-svc .thv-mo__ty[data-s="run"] > [data-o="run"] { visibility: visible; }
.th-svc .thv-mo__caret { display: inline-block; width: 2px; height: 14px; margin: 0 -1px; vertical-align: -3px; background: var(--cyan); opacity: 0; }
.th-svc .thv-mo__cl[data-s="edit"] .thv-mo__caret { opacity: 1; }
.th-svc .th-svc__demo.is-playing .thv-mo__cl[data-s="edit"] .thv-mo__caret { animation: th-svc-mob-caret 1.05s steps(1, end) infinite; }
@keyframes th-svc-mob-caret { 50% { opacity: 0; } }

.th-svc .thv-mo__pv { position: absolute; left: var(--pv-x); top: var(--pv-y); width: var(--pv-w); height: var(--pv-h); background: rgba(0, 0, 0, .16); }
.th-svc .thv-mo__phone { position: absolute; left: calc((var(--pv-w) - 140px) / 2); top: var(--ph-t); width: 140px; height: 296px; padding: 5px; border-radius: 26px; border: 1.5px solid rgba(255, 255, 255, .22); background: #05091a; transform: scale(var(--ph-s)); transform-origin: 50% 0; }
.th-svc .thv-mo__scr { position: relative; width: 127px; height: 283px; border-radius: 21px; overflow: hidden; background: #0c1430; }
.th-svc .thv-mo__time { position: absolute; left: 15px; top: 10px; font: 600 9.5px/1 var(--f-body); color: var(--text); }
.th-svc .thv-mo__cam { position: absolute; left: 60px; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: #02040a; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1); }
.th-svc .thv-mo__batt { position: absolute; right: 15px; top: 10px; width: 15px; height: 7.5px; border-radius: 2px; border: 1px solid rgba(255, 255, 255, .6); }
.th-svc .thv-mo__batt::after { content: ''; position: absolute; left: 1px; top: 1px; width: 8px; height: 3.5px; border-radius: 1px; background: var(--text); }
.th-svc .thv-mo__sweep { position: absolute; left: 0; top: 0; width: 127px; height: 2px; background: var(--cyan); transform: scaleX(0); transform-origin: 0 50%; }
.th-svc .thv-mo__sweep[data-s="go"] { animation: th-svc-mob-sweep .52s ease-out both; }
@keyframes th-svc-mob-sweep { 0% { transform: scaleX(0); opacity: 1; } 75% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
.th-svc .thv-mo__app { position: absolute; left: 0; top: 0; width: 127px; height: 283px; }
.th-svc .thv-mo__h { position: absolute; left: 15px; top: 32px; font: 600 15px/1 var(--f-display); letter-spacing: -.01em; color: var(--text); }
.th-svc .thv-mo__ring { position: absolute; left: 15.5px; top: 56px; width: 96px; height: 96px; }
.th-svc .thv-mo__ring svg { display: block; width: 96px; height: 96px; overflow: visible; }
.th-svc .thv-mo__trk { fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: 8; }
.th-svc .thv-mo__val { fill: none; stroke: var(--cyan); stroke-width: 8; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 15.8; }
.th-svc .thv-mo__num { position: absolute; left: 0; top: 30px; width: 96px; display: flex; flex-direction: column; align-items: center; gap: 5px; }
.th-svc .thv-mo__num b { font: 600 19px/1 var(--f-display); letter-spacing: -.01em; font-variant-numeric: tabular-nums; color: var(--text); }
.th-svc .thv-mo__num span { font: 400 9.5px/1 var(--f-body); color: var(--text-3); }
.th-svc .thv-mo__goal { position: absolute; left: 0; top: 160px; width: 127px; text-align: center; font: 400 9.5px/1 var(--f-body); color: var(--text-3); }
.th-svc .thv-mo__week { position: absolute; left: 17.5px; top: 182px; width: 92px; height: 34px; display: flex; align-items: flex-end; gap: 6px; }
.th-svc .thv-mo__week i { display: block; width: 8px; border-radius: 2px; background: rgba(255, 255, 255, .16); }
.th-svc .thv-mo__week .thv-mo__today { background: var(--cyan); }
.th-svc .thv-mo__btn { position: absolute; left: 14px; top: 228px; width: 99px; height: 30px; border-radius: 9px; background: var(--cyan); font: 600 12px/30px var(--f-body); color: #03131c; text-align: center; white-space: nowrap; }
.th-svc .thv-mo__home { position: absolute; left: 43.5px; top: 273px; width: 40px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .35); }
.th-svc .thv-mo__cap { position: absolute; left: 0; top: calc(var(--ph-t) + 296px * var(--ph-s) + 5px); width: var(--pv-w); height: 18px; font-size: var(--cap-fs); line-height: 18px; text-align: center; color: var(--text-3); white-space: nowrap; transition: color .2s; }
.th-svc .thv-mo__cap[data-s="on"] { color: var(--cyan); }

.th-svc .thv-mo__rl { position: absolute; left: var(--rl-x); top: var(--rl-y); width: var(--rl-w); height: var(--rl-h); border-left: 1px solid var(--line); }
.th-svc .thv-mo__rlhd { position: absolute; left: 0; top: 0; right: 0; height: var(--rl-hd); display: flex; align-items: center; gap: var(--rl-gap, 9px); padding: 0 var(--rl-pad, 12px); border-bottom: 1px solid var(--line); white-space: nowrap; }
.th-svc .thv-mo__rlt { font: 500 13.5px/1 var(--f-display); color: var(--text); }
.th-svc .thv-mo__tag { display: inline-grid; place-items: center; height: 20px; padding: 0 7px; border-radius: 5px; border: 1px solid var(--line-2); font: 500 11px/1 var(--f-mono); color: var(--text-2); opacity: 0; transition: opacity .3s; }
.th-svc .thv-mo__tag[data-s="on"] { opacity: 1; }
.th-svc .thv-mo__rlhd .thv-mo__live { margin-left: auto; transition: opacity .3s, color .3s, border-color .3s, background-color .3s; }
.th-svc .thv-mo__rlhd .thv-mo__live[data-s="off"] { opacity: 0; }
.th-svc .thv-mo__sts { position: absolute; left: 10px; right: 10px; top: calc(var(--rl-hd) + 8px); display: flex; flex-direction: column; gap: var(--st-gap); }
.th-svc .thv-mo__st { position: relative; flex: none; height: var(--st-h); display: flex; align-items: center; gap: 10px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .025); transition: border-color .35s, background-color .35s, opacity .35s; }
.th-svc .thv-mo__st + .thv-mo__st::before { content: ''; position: absolute; left: 23px; top: calc(-1px - var(--st-gap)); width: 1px; height: var(--st-gap); background: rgba(255, 255, 255, .16); transition: background-color .35s; }
.th-svc .thv-mo__st + .thv-mo__st:not([data-s="wait"])::before { background: var(--cyan); }
.th-svc .thv-mo__stt { display: grid; gap: 2px; min-width: 0; }
.th-svc .thv-mo__stt b { font: 500 12.5px/15px var(--f-display); color: var(--text-2); white-space: nowrap; transition: color .35s; }
.th-svc .thv-mo__stt small { display: block; font: 400 9.5px/13px var(--f-mono); color: var(--text-3); white-space: var(--st-wrap, nowrap); transition: color .35s; }
.th-svc .thv-mo__st[data-s="wait"] { opacity: .5; }
.th-svc .thv-mo__st[data-s="run"] { border-color: rgba(var(--cyan-rgb), .6); background: rgba(var(--cyan-rgb), .07); }
.th-svc .thv-mo__st[data-s="run"] b, .th-svc .thv-mo__st[data-s="ok"] b { color: var(--text); }
.th-svc .thv-mo__st[data-s="run"] small { color: var(--cyan); }
.th-svc .thv-mo__st[data-s="ok"] { border-color: rgba(0, 214, 143, .38); }
.th-svc .thv-mo__st[data-s="ok"] small { color: var(--sv-ok); }

.th-svc .thv-mo__ic { flex: none; width: 28px; height: 28px; display: grid; place-items: center; }
.th-svc .thv-mo__ic img { display: block; max-width: none; width: 100%; height: 100%; }
.th-svc .thv-mo__ic--mono { border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .26); font: 600 8.5px/1 var(--f-mono); color: var(--text-2); letter-spacing: 0; }

/* 06 ai-ml: demos/ai-ml/ai-ml.css */
.th-svc .thv.thv-aiq {
  --aiq-type: 26ms; --aiq-col: 130ms; --aiq-word: 50ms;
  --aiq-done: #0b3550; --aiq-done-line: rgba(0, 212, 255, .7); --aiq-rule: rgba(255, 255, 255, .05);
  padding: 0; gap: 0; justify-content: center; container: thv-aiq / inline-size;
}
.th-svc .thv.thv-aiq > * { width: 100%; max-width: none; margin: 0; }
.th-svc.is-pin .th-svc__fit .thv.thv-aiq { width: 600px; }

.th-svc .thv-aiq__app {
  display: grid; grid-template-columns: minmax(0, 34fr) minmax(0, 26fr); grid-template-rows: auto auto auto 1fr auto;
  grid-template-areas: "hd hd" "ask ask" "src ans" "net ans" "foot foot";
  font: 400 14px/1.45 var(--f-body); color: var(--text); text-align: left;
}
.th-svc .thv-aiq__k { flex: none; font: 500 10px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); white-space: nowrap; }

.th-svc .thv-aiq__hd { grid-area: hd; display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 18px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.th-svc .thv-aiq__ttl { font: 500 15px/1 var(--f-display); color: var(--text); }
.th-svc .thv-aiq__ctx { font: 400 11.5px/1 var(--f-mono); color: var(--text-3); }
.th-svc .thv-aiq__gate {
  margin-left: auto; display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 6px;
  border: 1px solid var(--line-2); font: 500 11.5px/1 var(--f-mono); color: var(--text-3);
  transition: color .3s, border-color .3s, background-color .3s;
}
.th-svc .thv-aiq__gate .thx { text-align: center; }
.th-svc .thv-aiq__gate[data-s="wait"] { color: var(--text-3); }
.th-svc .thv-aiq__gate[data-s="run"] { color: var(--cyan); border-color: rgba(var(--cyan-rgb), .45); background: rgba(var(--cyan-rgb), .07); }
.th-svc .thv-aiq__gate[data-s="bad"] { color: var(--sv-bad); border-color: rgba(255, 107, 129, .5); background: rgba(255, 107, 129, .09); }
.th-svc .thv-aiq__gate[data-s="ok"] { color: var(--sv-ok); border-color: rgba(0, 214, 143, .42); background: rgba(0, 214, 143, .08); }

.th-svc .thv-aiq__ask { grid-area: ask; display: flex; align-items: center; gap: 12px; height: 36px; padding: 0 18px; border-bottom: 1px solid var(--aiq-rule); }
.th-svc .thv-aiq__q { position: relative; flex: 1; min-width: 0; display: grid; height: 20px; font-size: 14px; line-height: 20px; color: var(--text); white-space: pre; overflow: hidden; }
.th-svc .thv-aiq__qt { grid-area: 1 / 1; visibility: hidden; }
.th-svc .thv-aiq__q[data-s^="a"] .thv-aiq__qt--a, .th-svc .thv-aiq__q[data-s^="b"] .thv-aiq__qt--b { visibility: visible; }
.th-svc .thv-aiq__ch { position: relative; }
.th-svc .thv-aiq__ch::after, .th-svc .thv-aiq__q::before { content: ''; position: absolute; top: 2px; width: 2px; height: 16px; background: var(--cyan); opacity: 0; }
.th-svc .thv-aiq__ch::after { left: 100%; margin-left: 1px; }
.th-svc .thv-aiq__q::before { left: 0; }
.th-svc .thv-aiq__q[data-s="empty"]::before { opacity: 1; }
.th-svc__demo.is-playing .thv-aiq__q[data-s="empty"]::before { animation: th-svc-aiq-blink 1.05s step-end infinite; }
.th-svc .thv-aiq__q[data-s="a-type"] .thv-aiq__qt--a .thv-aiq__ch,
.th-svc .thv-aiq__q[data-s="b-type"] .thv-aiq__qt--b .thv-aiq__ch { animation: th-svc-aiq-in 10ms linear both; animation-delay: calc(var(--i) * var(--aiq-type)); }
.th-svc .thv-aiq__q[data-s="a-type"] .thv-aiq__qt--a .thv-aiq__ch::after,
.th-svc .thv-aiq__q[data-s="b-type"] .thv-aiq__qt--b .thv-aiq__ch::after { animation: th-svc-aiq-on var(--aiq-type) linear; animation-delay: calc(var(--i) * var(--aiq-type)); }
.th-svc .thv-aiq__q[data-s="a-type"] .thv-aiq__qt--a .thv-aiq__ch:last-child::after,
.th-svc .thv-aiq__q[data-s="b-type"] .thv-aiq__qt--b .thv-aiq__ch:last-child::after { animation: th-svc-aiq-blink 1.05s step-end infinite; animation-delay: calc(var(--i) * var(--aiq-type)); }

.th-svc .thv-aiq__src { grid-area: src; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 14px 18px 0; border-right: 1px solid var(--aiq-rule); transition: opacity .25s; }
.th-svc .thv-aiq__src .thv-aiq__k { margin-right: 4px; }
.th-svc .thv-aiq__src[data-s="off"] { opacity: 0; }
.th-svc .thv-aiq__src[data-s="on"] { opacity: 1; }
.th-svc .thv-aiq__doc {
  display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 9px; border-radius: 6px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); font: 400 11px/1 var(--f-mono); color: var(--text-2); white-space: nowrap;
}
.th-svc .thv-aiq__doc b { font-weight: 500; color: var(--cyan); }

.th-svc .thv-aiq__model { grid-area: net; display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 12px 18px 14px; border-right: 1px solid var(--aiq-rule); }
.th-svc .thv-aiq__net { position: relative; width: 100%; padding-bottom: 19px; }
.th-svc .thv-aiq__svg { display: block; width: 100%; height: auto; aspect-ratio: 368 / 80; overflow: visible; }
.th-svc .thv-aiq__labs { position: absolute; left: 0; right: 0; bottom: 0; height: 12px; }
.th-svc .thv-aiq__lab { position: absolute; top: 0; left: calc(var(--x) / 368 * 100%); transform: translateX(-50%); font: 500 10.5px/12px var(--f-mono); color: var(--text-3); white-space: nowrap; }
.th-svc .thv-aiq__e { fill: none; stroke: rgba(255, 255, 255, .07); stroke-width: .8; }
.th-svc .thv-aiq__l circle { fill: #0b1226; stroke: rgba(255, 255, 255, .24); stroke-width: 1.2; }
.th-svc .thv-aiq__net[data-s="idle"] .thv-aiq__lab { color: var(--text-3); }
.th-svc .thv-aiq__net:is([data-s="stream"], [data-s="done"]) .thv-aiq__e { stroke: rgba(0, 212, 255, .17); }
.th-svc .thv-aiq__net:is([data-s="stream"], [data-s="done"]) circle { fill: var(--aiq-done); stroke: var(--aiq-done-line); }
.th-svc .thv-aiq__net[data-s="run"] circle { animation: th-svc-aiq-node var(--aiq-col) linear forwards; animation-delay: calc(var(--c) * var(--aiq-col)); }
.th-svc .thv-aiq__net[data-s="run"] .thv-aiq__e { animation: th-svc-aiq-edge var(--aiq-col) linear forwards; animation-delay: calc((var(--e) + 1) * var(--aiq-col)); }
.th-svc .thv-aiq__net[data-s="run"] .thv-aiq__lab { animation: th-svc-aiq-lab var(--aiq-col) linear; animation-delay: calc(var(--c) * var(--aiq-col)); }
.th-svc .thv-aiq__net[data-s="stream"] .thv-aiq__l:not(:first-of-type):not(:last-of-type) circle { animation: th-svc-aiq-pulse calc(4 * var(--aiq-word)) step-end infinite; animation-delay: calc((var(--c) - 1) * var(--aiq-word)); }

.th-svc .thv-aiq__ans { grid-area: ans; min-width: 0; display: flex; flex-direction: column; justify-content: center; padding: 14px 18px; }
.th-svc .thv-aiq__ah { display: flex; align-items: center; justify-content: space-between; height: 14px; }
.th-svc .thv-aiq__think { display: inline-flex; align-items: center; gap: 3px; font: 400 11px/1 var(--f-mono); color: var(--text-3); opacity: 0; transition: opacity .2s; }
.th-svc .thv-aiq__think i { display: block; width: 3px; height: 3px; margin-top: 4px; border-radius: 50%; background: currentColor; }
.th-svc .thv-aiq__ans[data-s="think"] .thv-aiq__think { opacity: 1; }
.th-svc__demo.is-playing .thv-aiq__think i { animation: th-svc-aiq-dot 1s ease-in-out infinite; }
.th-svc__demo.is-playing .thv-aiq__think i:nth-child(2) { animation-delay: .15s; }
.th-svc__demo.is-playing .thv-aiq__think i:nth-child(3) { animation-delay: .3s; }
.th-svc .thv-aiq__txt { display: grid; margin-top: 9px; }
.th-svc .thv-aiq__a { grid-area: 1 / 1; margin: 0; font-size: 13.5px; line-height: 20px; color: var(--text); visibility: hidden; }
.th-svc .thv-aiq__ans[data-s^="a"] .thv-aiq__a--a, .th-svc .thv-aiq__ans[data-s^="b"] .thv-aiq__a--b { visibility: visible; }
.th-svc .thv-aiq__w { white-space: nowrap; }
.th-svc .thv-aiq__ans[data-s="a-stream"] .thv-aiq__a--a .thv-aiq__w,
.th-svc .thv-aiq__ans[data-s="b-stream"] .thv-aiq__a--b .thv-aiq__w { animation: th-svc-aiq-word .14s ease-out both; animation-delay: calc(var(--w) * var(--aiq-word)); }
.th-svc .thv-aiq__code { padding: 1px 4px; border-radius: 4px; background: rgba(255, 255, 255, .07); font: 500 12px var(--f-mono); color: #d6deef; }
.th-svc .thv-aiq__cite {
  display: inline-block; height: 15px; min-width: 15px; margin-left: 2px; padding: 0 4px; border-radius: 4px; vertical-align: 2px;
  border: 1px solid rgba(0, 212, 255, .45); font: 500 9.5px/13px var(--f-mono); color: var(--cyan); text-align: center;
  transition: color .3s, border-color .3s, background-color .3s;
}
.th-svc .thv-aiq__ans:is([data-s="a-flag"], [data-s="b-ok"]) .thv-aiq__cite { color: var(--sv-ok); border-color: rgba(0, 214, 143, .6); background: rgba(0, 214, 143, .1); }
.th-svc .thv-aiq__claim { text-decoration: underline 1.5px transparent; text-underline-offset: 4px; transition: color .3s, text-decoration-color .3s; }
.th-svc .thv-aiq__ans[data-s="a-flag"] .thv-aiq__claim { color: #ffc2cc; text-decoration-color: var(--sv-bad); }
.th-svc .thv-aiq__flag {
  display: inline-block; height: 15px; margin-left: 4px; padding: 0 5px; border-radius: 4px; vertical-align: 2px;
  border: 1px solid rgba(255, 107, 129, .55); background: rgba(255, 107, 129, .09); font: 500 9.5px/13px var(--f-mono); color: var(--sv-bad); white-space: nowrap; visibility: hidden;
}
.th-svc .thv-aiq__ans[data-s="a-flag"] .thv-aiq__flag { visibility: visible; }

.th-svc .thv-aiq__foot {
  grid-area: foot; display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 32px; padding: 0 18px;
  border-top: 1px solid var(--line); font: 400 11px/1 var(--f-mono); color: var(--text-3); white-space: nowrap;
}
.th-svc .thv-aiq__foot b { font-weight: 500; color: var(--text-2); font-variant-numeric: tabular-nums; transition: color .3s; }
.th-svc .thv-aiq__foot b[data-s="wait"] { color: var(--text-2); }
.th-svc .thv-aiq__foot b[data-s="bad"] { color: var(--sv-bad); }
.th-svc .thv-aiq__foot b[data-s="ok"] { color: var(--sv-ok); }

@container thv-aiq (max-width: 520px) {
  .th-svc .thv-aiq__app { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "hd" "ask" "net" "ans" "src" "foot"; }
  .th-svc :is(.thv-aiq__hd, .thv-aiq__ask, .thv-aiq__foot) { padding-left: 16px; padding-right: 16px; }
  .th-svc .thv-aiq__model { padding: 14px 16px 12px; border-right: 0; border-bottom: 1px solid var(--aiq-rule); }
  .th-svc .thv-aiq__ans { padding: 12px 16px 0; }
  .th-svc .thv-aiq__src { padding: 12px 16px 14px; border-right: 0; }
  .th-svc .thv-aiq__a { font-size: 14px; line-height: 21px; }
  .th-svc .thv-aiq__lat { display: none; }
}

@media (max-width: 1140px) {
  .th-svc.is-pin .th-svc__fit .thv.thv-aiq { width: 530px; }
  .th-svc.is-pin .thv-aiq__src .thv-aiq__k { flex-basis: 100%; margin: 0 0 -2px; }
}
@media (min-height: 820px) and (min-width: 1141px) {
  .th-svc.is-pin .thv-aiq__app { grid-template-columns: 196px minmax(0, 1fr); grid-template-areas: "hd hd" "ask ask" "net net" "src ans" "foot foot"; grid-template-rows: auto auto auto 1fr auto; }
  .th-svc.is-pin .thv-aiq__model { align-items: center; padding: 14px 18px 12px; border-right: 0; border-bottom: 1px solid var(--aiq-rule); }
  .th-svc.is-pin .thv-aiq__net { width: 405px; }
  .th-svc.is-pin .thv-aiq__src { flex-direction: column; flex-wrap: nowrap; align-items: flex-start; justify-content: center; gap: 6px; padding: 14px 18px; }
  .th-svc.is-pin .thv-aiq__src .thv-aiq__k { margin: 0 0 4px; }
}

@keyframes th-svc-aiq-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes th-svc-aiq-on { from, to { opacity: 1; } }
@keyframes th-svc-aiq-blink { 0% { opacity: 1; } 50% { opacity: 0; } }
@keyframes th-svc-aiq-node { 0%, 99% { fill: var(--cyan); stroke: var(--cyan); } 100% { fill: var(--aiq-done); stroke: var(--aiq-done-line); } }
@keyframes th-svc-aiq-edge { 0%, 99% { stroke: rgba(0, 212, 255, .5); } 100% { stroke: rgba(0, 212, 255, .17); } }
@keyframes th-svc-aiq-lab { from, to { color: var(--cyan); } }
@keyframes th-svc-aiq-pulse { 0% { fill: var(--cyan); stroke: var(--cyan); } 25% { fill: var(--aiq-done); stroke: var(--aiq-done-line); } }
@keyframes th-svc-aiq-word { from { opacity: 0; } }
@keyframes th-svc-aiq-dot { 0%, 100% { opacity: .25; } 40% { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .th-svc .thv-aiq__net[data-s="run"] .thv-aiq__e { stroke: rgba(0, 212, 255, .17); }
  .th-svc .thv-aiq__net[data-s="run"] circle { fill: var(--aiq-done); stroke: var(--aiq-done-line); }
}
/* ============================================================== /rebuilt demos */
