:root {
  color-scheme: dark;
  --bg: #030913;
  --surface: #0b1d33;
  --text: #e8f4ff;
  --muted: #b2c9e0;
  --cyan: #66e5ff;
  --blue: #568cff;
  --violet: #b6a0ff;
  --accent: var(--cyan);
  --line: #284c6d;
  --green: #61efc4;
  --red: #ff8ca5;
  --amber: #ffc484;
  --space: clamp(16px, 1.7vw, 65px);
  font-size: clamp(14px, 1.1vw, 42px);
}
* {
  box-sizing: border-box;
}
html {
  scrollbar-color: #3b7796 var(--bg);
  caret-color: var(--cyan);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
select,
input {
  font: inherit;
  color: inherit;
}
button,
select {
  background: #103249;
  border: 1px solid #3e7898;
  border-radius: 4px;
  min-height: 2.25rem;
  padding: 0.3rem 0.75rem;
}
button {
  cursor: pointer;
}
button:hover,
select:hover {
  background: #194663;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
::selection {
  color: #061322;
  background: #8eeaff;
}
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}
h1,
h2,
h3,
p,
dl {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 600;
}
h1 {
  font-size: clamp(24px, 2.05vw, 80px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h2 {
  font-size: 1rem;
  line-height: 1.4;
}
h3 {
  font-size: 0.9rem;
}
small {
  color: var(--muted);
}
.module-shell {
  min-height: 100dvh;
  padding: 0 var(--space);
}
.module-header {
  display: flex;
  gap: 1rem;
  align-items: center;
  min-height: 4rem;
  border-bottom: 1px solid var(--line);
}
.module-brand {
  font-size: 0.72rem;
  color: var(--muted);
  margin-right: auto;
}
.module-header nav {
  display: flex;
  gap: 0.7rem;
  font-size: 0.62rem;
  flex-wrap: wrap;
}
.module-header nav a {
  color: var(--muted);
}
.module-header nav a[aria-current],
.module-header nav a:hover {
  color: var(--cyan);
}
.module-header button {
  font-size: 0.65rem;
  min-height: 1.8rem;
}
.module-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.6rem 0 1rem;
}
.module-title p {
  color: var(--muted);
  font-size: 0.75rem;
  margin-top: 0.7rem;
  max-width: 70ch;
}
.connection-status {
  font-size: 0.62rem;
  color: var(--muted);
  padding: 0.45rem 0.7rem;
  background: #102738;
  white-space: nowrap;
}
.connection-status[data-state="live"] {
  color: var(--green);
}
.connection-status[data-state="stale"],
.connection-status[data-state="forbidden"] {
  color: var(--amber);
}
.data-context {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  padding-bottom: 1rem;
  font-size: 0.62rem;
  color: var(--muted);
}
.data-context > span:first-child {
  color: #80d5ff;
}
.module-content {
  padding-bottom: 2rem;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 1.4rem;
  border-top: 1px solid #2c82a8;
  border-bottom: 1px solid var(--line);
  background: #0b2133;
}
.metric {
  padding: 0.9rem 1rem;
  min-width: 0;
}
.metric + .metric {
  border-left: 1px solid var(--line);
}
.metric dt {
  color: var(--muted);
  font-size: 0.68rem;
}
.metric dd {
  font-size: clamp(25px, 2.7vw, 104px);
  line-height: 1.2;
  font-weight: 550;
  color: #d9f6ff;
  margin: 0.35rem 0;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}
.metric small {
  font-size: 0.58rem;
  display: block;
}
.section {
  min-width: 0;
  margin-bottom: 1.3rem;
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0;
  margin-bottom: 0.8rem;
  border-bottom: 1px solid var(--line);
}
.section-title h2 {
  position: relative;
  padding-left: 0.8rem;
}
.section-title h2:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2rem;
  width: 0.3rem;
  height: 0.7rem;
  background: var(--cyan);
}
.section-title > span {
  color: var(--muted);
  font-size: 0.56rem;
  text-align: right;
}
.two-column {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: 1.8rem;
}
.overview-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.8rem;
}
.city-stage {
  height: clamp(220px, 25vw, 960px);
  position: relative;
  background: radial-gradient(ellipse at 50% 70%, #0d486355, transparent 70%);
  border: 1px solid var(--line);
  overflow: hidden;
  margin-bottom: 1rem;
}
.scene-canvas {
  position: absolute;
  inset: 0;
}
.scene-canvas canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.scene-overlay {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 1;
  pointer-events: none;
  display: grid;
  gap: 0.2rem;
}
.scene-overlay strong {
  font-size: 0.8rem;
}
.scene-overlay span {
  color: var(--muted);
  font-size: 0.55rem;
}
.ecosystem-routes {
  display: grid;
  gap: 1rem;
}
.ecosystem-route {
  padding: 0.2rem 0 0.8rem;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 0.3rem;
}
.ecosystem-route strong {
  font-size: 0.9rem;
  color: #bdefff;
}
.ecosystem-route span {
  font-size: 0.7rem;
}
.ecosystem-route small {
  font-size: 0.55rem;
}
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #89e2ff;
  font-size: 0.67rem;
  padding-top: 0.4rem;
  overflow-wrap: anywhere;
}
.text-link:hover {
  color: #d5f9ff;
}
.business-path {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  padding: 0;
  list-style: none;
}
.business-path li {
  border-top: 1px solid #34758f;
  padding-top: 1rem;
  display: grid;
  gap: 0.3rem;
}
.business-path strong {
  font-size: 0.83rem;
}
.business-path span {
  font-size: 0.65rem;
  color: var(--muted);
}
.compact-records > div {
  display: flex;
  gap: 1rem;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 0.8rem 0;
  font-size: 0.72rem;
}
.compact-records > div > span:first-of-type {
  color: var(--muted);
}
.compact-records .state {
  margin-left: auto;
}
.state {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-size: 0.64rem;
  color: #b3cadd;
}
.state:before {
  content: "";
  width: 0.25rem;
  height: 0.25rem;
  border-radius: 50%;
  margin-right: 0.4rem;
  background: currentColor;
}
.state.success {
  color: var(--green);
}
.state.running {
  color: var(--cyan);
}
.state.error {
  color: var(--red);
}
.state.waiting {
  color: var(--amber);
}
.state.used {
  color: var(--red);
}
.table-wrap {
  overflow: auto;
  max-height: 22rem;
  scrollbar-width: thin;
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 100%;
  text-align: left;
  font-size: 0.69rem;
  line-height: 1.6;
}
thead {
  position: sticky;
  top: 0;
  background: #0b2031;
  z-index: 2;
}
th,
td {
  padding: 0.65rem 0.6rem;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}
th {
  font-weight: 500;
}
thead th {
  color: var(--muted);
  font-size: 0.62rem;
  white-space: nowrap;
}
tbody th {
  color: #d5efff;
}
td {
  color: #b7d0e3;
}
table .text-link {
  font-size: 0.62rem;
  padding: 0;
}
.method-note {
  font-size: 0.63rem;
  color: var(--muted);
  line-height: 1.75;
  margin-top: 0.8rem;
  max-width: 100ch;
}
.empty {
  min-height: 8rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  text-align: center;
  padding: 1.5rem;
  background: #0a2030;
}
.empty strong {
  font-size: 0.76rem;
  color: #b3d7ea;
}
.empty p {
  font-size: 0.6rem;
  color: var(--muted);
}
.empty-mark {
  height: 0.6rem;
  width: 1.8rem;
  border-top: 1px solid #4f8da9;
  border-bottom: 1px solid #4f8da9;
}
.chart {
  height: clamp(220px, 19vw, 740px);
  min-width: 0;
}
.agent-topology {
  min-height: 16rem;
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 1.6rem;
  align-items: center;
}
.agent-engine {
  position: relative;
  display: grid;
  place-content: center;
  justify-items: center;
  width: 100%;
  aspect-ratio: 1/1;
  border: 1px solid #34bfe5;
  border-radius: 50%;
  background: radial-gradient(circle, #11759b88, #071423 72%);
}
.agent-engine strong {
  font-size: 3.2rem;
  color: #b7f7ff;
  font-variant-numeric: tabular-nums;
}
.agent-engine > span:last-child {
  font-size: 0.62rem;
  color: #abd5e9;
}
.engine-orbit {
  position: absolute;
  inset: -8%;
  border: 1px dashed #246481;
  border-radius: 50%;
  pointer-events: none;
}
.agent-nodes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}
.agent-node {
  position: relative;
  padding: 0.65rem 0.6rem;
  border: 1px solid #285774;
  background: #0b2439;
  clip-path: polygon(
    8px 0,
    100% 0,
    100% calc(100% - 8px),
    calc(100% - 8px) 100%,
    0 100%,
    0 8px
  );
  display: grid;
  gap: 0.25rem;
  min-width: 0;
}
.agent-node > strong {
  font-size: 0.63rem;
  overflow-wrap: anywhere;
}
.agent-node > small {
  font-size: 0.54rem;
}
.agent-node > i {
  position: absolute;
  right: 0.45rem;
  top: 0.5rem;
  width: 0.25rem;
  height: 0.25rem;
  border-radius: 50%;
  background: var(--green);
}
.agent-node[data-state="running"] > i {
  animation: node-breathe 2.6s ease-in-out infinite;
}
.agent-node .state {
  font-size: 0.55rem;
}
.value-lenses {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-bottom: 1.6rem;
  background: #0b2236;
}
.value-lenses article {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--line);
}
.value-lenses article:nth-child(3n + 2),
.value-lenses article:nth-child(3n + 3) {
  border-left: 1px solid var(--line);
}
.value-lenses h2 {
  color: #7cddff;
  font-size: 0.85rem;
}
.value-lenses article > span {
  display: block;
  font-size: 0.62rem;
  color: var(--muted);
  margin-top: 0.6rem;
}
.value-lenses strong {
  display: block;
  font-size: 2rem;
  font-variant-numeric: tabular-nums;
  line-height: 1.5;
}
.value-lenses p {
  font-size: 0.56rem;
  color: var(--muted);
}
.evaluation-status {
  padding: 1rem;
  background: #112a3a;
  border: 1px solid #615542;
}
.evaluation-status > span {
  font-size: 0.65rem;
  color: var(--amber);
}
.evaluation-status > strong {
  display: block;
  font-size: 2rem;
}
.evaluation-status > p {
  font-size: 0.6rem;
  color: var(--muted);
}
.service-network {
  padding: 1rem;
  background: #0a2134;
}
.service-hub {
  display: grid;
  gap: 0.2rem;
  border-bottom: 1px solid #438eb0;
  padding-bottom: 1rem;
}
.service-hub strong {
  font-size: 1.2rem;
  color: #77e6ff;
}
.service-hub span {
  font-size: 0.65rem;
  color: var(--muted);
}
.service-spokes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}
.service-spokes > div {
  display: grid;
  gap: 0.4rem;
}
.service-spokes strong {
  font-size: 0.78rem;
}
.service-spokes span {
  font-size: 0.62rem;
  color: var(--muted);
}
.service-spokes .text-link {
  font-size: 0.58rem;
}
.alert {
  padding: 1rem 1.2rem;
  border: 1px solid #6c5746;
  background: #382b222b;
}
.alert > strong {
  color: var(--amber);
  font-size: 0.82rem;
}
.alert p {
  font-size: 0.65rem;
  color: #d7be9f;
  margin: 0.5rem 0;
}
.network-stage {
  position: relative;
  height: clamp(200px, 20vw, 770px);
}
.network-stage > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: #276783;
  stroke-width: 1;
}
.network-stage .network-flow {
  stroke: #86e7ff;
  stroke-dasharray: 15 590;
  animation: network-flow 9s linear infinite;
}
.network-center {
  position: absolute;
  top: 23%;
  left: 40%;
  width: 20%;
  display: grid;
  text-align: center;
  gap: 0.2rem;
}
.network-center strong {
  font-size: 0.65rem;
}
.network-center > span {
  font-size: 2.4rem;
  line-height: 1.2;
  color: #92eaff;
}
.network-center small {
  font-size: 0.53rem;
  white-space: nowrap;
}
.network-location {
  position: absolute;
  display: grid;
  grid-template-columns: 0.3rem 1fr;
  align-items: center;
  gap: 0.25rem 0.5rem;
  padding: 0.6rem 1rem;
  background: #0f2b41;
  border: 1px solid #286580;
  border-radius: 4px;
  transform: translate(-50%, -50%);
}
.network-location i {
  width: 0.3rem;
  height: 0.3rem;
  background: #7c9dae;
  border-radius: 50%;
}
.network-location[data-state="reachable"] i {
  background: var(--green);
}
.network-location strong {
  font-size: 0.78rem;
}
.network-location small {
  grid-column: 2;
  font-size: 0.55rem;
}
.location-0 {
  left: 18%;
  top: 56%;
}
.location-1 {
  left: 50%;
  top: 87%;
}
.location-2 {
  left: 82%;
  top: 56%;
}
.toolbar {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
  font-size: 0.68rem;
}
.toolbar label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.toolbar > span {
  font-size: 0.6rem;
  color: var(--muted);
}
.toolbar .text-link {
  margin-left: auto;
}
.execution-path {
  padding: 0;
  list-style: none;
}
.execution-path li {
  display: grid;
  grid-template-columns: 2rem 1fr auto;
  gap: 0.7rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.step-sequence {
  width: 1.6rem;
  height: 1.6rem;
  display: grid;
  place-items: center;
  border: 1px solid #3b7e9e;
  color: #83dcff;
  font-size: 0.65rem;
  border-radius: 50%;
}
.execution-path p {
  font-size: 0.58rem;
  color: var(--muted);
  margin-top: 0.25rem;
}
.step-progress {
  grid-column: 2/-1;
  height: 3px;
  background: #22495e;
}
.step-progress i {
  display: block;
  height: 100%;
  background: var(--green);
}
.outcome-stage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.outcome-stage > div {
  display: grid;
  gap: 0.4rem;
  padding-top: 0.8rem;
  border-top: 1px solid #387a96;
}
.outcome-stage strong {
  font-size: 0.8rem;
}
.outcome-stage span {
  font-size: 0.62rem;
  color: var(--muted);
}
.credential-pass {
  background: linear-gradient(115deg, #0d4849, #102c3f);
  border: 1px solid #399f97;
  border-radius: 12px;
  padding: 1.5rem 1.8rem;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.credential-pass:before {
  content: "";
  position: absolute;
  width: 6rem;
  height: 6rem;
  border: 1px solid #5de3bf33;
  border-radius: 50%;
  right: -2rem;
  top: -3rem;
}
.credential-pass > div {
  display: grid;
  gap: 0.4rem;
}
.credential-pass span {
  font-size: 0.75rem;
  color: #b2eddf;
}
.credential-pass strong {
  font-size: 3.7rem;
  line-height: 1.1;
  color: #aaf4d8;
  font-variant-numeric: tabular-nums;
}
.credential-pass small {
  font-size: 0.58rem;
  color: #b2d7d3;
}
.credential-pass-side span {
  color: var(--amber);
}
.credential-lifecycle {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
  margin-top: 1rem;
}
.credential-lifecycle > div {
  display: grid;
  gap: 0.4rem;
  padding: 1rem;
  background: #0d2436;
  position: relative;
}
.credential-lifecycle strong {
  font-size: 0.78rem;
}
.credential-lifecycle > div > span {
  font-size: 1.8rem;
  line-height: 1.3;
}
.credential-lifecycle i {
  position: absolute;
  right: 0.8rem;
  top: 0.8rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
}
.credential-lifecycle .available {
  color: #87efcf;
}
.credential-lifecycle .available i {
  background: var(--green);
}
.credential-lifecycle .consumed {
  color: #ff96a7;
}
.credential-lifecycle .consumed i {
  background: var(--red);
}
.credential-lifecycle small {
  font-size: 0.6rem;
  color: var(--muted);
}
.history-details {
  margin-top: 1.5rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}
.history-details > summary,
details > summary {
  cursor: pointer;
  color: #8cdcff;
  font-size: 0.65rem;
}
.history-details[open] > .section {
  margin-top: 1.2rem;
}
.event-stream {
  max-height: 36rem;
  overflow: auto;
  scrollbar-width: thin;
}
.event-record {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.event-record > div {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.58rem;
}
.event-kind {
  color: #90d6f8;
  background: #123b52;
  padding: 0.1rem 0.45rem;
  border: 1px solid #2a617a;
}
.event-record time {
  color: var(--muted);
  margin-left: auto;
  font-size: 0.53rem;
}
.event-record h3 {
  margin: 0.65rem 0 0.3rem;
  font-size: 0.8rem;
}
.event-record > p {
  font-size: 0.54rem;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.event-record details {
  margin-top: 0.6rem;
}
.module-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding: 1rem 0;
  color: var(--muted);
  font-size: 0.56rem;
}
.access-state,
.loading-state {
  padding: 4rem 1rem;
  max-width: 42rem;
}
.access-state strong {
  font-size: 1.25rem;
}
.access-state p {
  font-size: 0.8rem;
  margin: 1rem 0;
  color: var(--muted);
}
/* The wall hosts the very same modules. Its geometry remains landscape, including on a laptop. */
.wall-body {
  font-size: 14px;
  padding: 24px;
}
.wall-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.wall-header h1 {
  font-size: 26px;
}
.wall-header p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}
.wall-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12px;
}
.wall-controls label {
  display: flex;
  align-items: center;
  gap: 8px;
}
.wall-controls button,
.wall-controls select {
  font-size: 12px;
  min-height: 36px;
}
.wall-controls a {
  color: #8de4ff;
}
.wall-status {
  padding: 15px 0;
  color: var(--muted);
  font-size: 12px;
}
.wall-status[data-state="live"] {
  color: var(--green);
}
.wall-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.wall-screen {
  position: relative;
  aspect-ratio: 16/9;
  background: #081b2a;
  border: 1px solid #30617c;
  overflow: hidden;
}
.wall-screen-caption {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  padding: 8px 12px;
  background: #0b2539;
  z-index: 2;
  border-bottom: 1px solid #295b75;
}
.wall-screen-caption a {
  font-size: 12px;
  display: flex;
  justify-content: space-between;
}
.wall-screen iframe {
  border: 0;
  width: 100%;
  height: 100%;
  padding-top: 34px;
}
.wall-bottom {
  font-size: 11px;
  color: var(--muted);
  padding-top: 16px;
}
.wall-body[data-layout="wall"] .wall-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
:root[data-embedded="true"] {
  font-size: clamp(10px, 1.03vw, 40px);
}
:root[data-embedded="true"] .module-shell {
  padding: 0.75rem 1.1rem;
}
:root[data-embedded="true"] .module-header {
  display: none;
}
:root[data-embedded="true"] .module-title {
  padding: 0.5rem 0 0.7rem;
}
:root[data-embedded="true"] .module-title h1 {
  font-size: 1.25rem;
}
:root[data-embedded="true"] .module-title p {
  display: none;
}
:root[data-embedded="true"] .connection-status {
  font-size: 0.58rem;
}
:root[data-embedded="true"] .data-context {
  font-size: 0.5rem;
  gap: 0.75rem;
  padding-bottom: 0.7rem;
}
:root[data-embedded="true"] .metrics {
  margin-bottom: 0.8rem;
}
:root[data-embedded="true"] .metric {
  padding: 0.65rem 0.7rem;
}
:root[data-embedded="true"] .metric dd {
  font-size: 2.1rem;
}
:root[data-embedded="true"] .chart {
  height: 14rem;
}
:root[data-embedded="true"] .city-stage {
  height: 15rem;
}
:root[data-embedded="true"] .network-stage {
  height: 15rem;
}
:root[data-embedded="true"] .section {
  margin-bottom: 0.9rem;
}
:root[data-embedded="true"] .two-column,
:root[data-embedded="true"] .overview-layout {
  gap: 1.2rem;
}
:root[data-embedded="true"] .table-wrap {
  max-height: 17rem;
}
:root[data-embedded="true"] .module-footer {
  display: none;
}
@keyframes network-flow {
  to {
    stroke-dashoffset: -605;
  }
}
@keyframes node-breathe {
  50% {
    opacity: 0.3;
    box-shadow: 0 0 12px #5deaff;
  }
}
@media (min-width: 2400px) {
  .wall-body:not([data-layout="desktop"]) .wall-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .wall-header h1 {
    font-size: clamp(26px, 1.2vw, 64px);
  }
  .wall-body {
    padding: clamp(24px, 0.6vw, 64px);
  }
  .wall-controls,
  .wall-controls button,
  .wall-controls select,
  .wall-status {
    font-size: clamp(12px, 0.45vw, 34px);
  }
  .wall-screen-caption a {
    font-size: clamp(12px, 0.45vw, 34px);
  }
  .wall-screen-caption {
    padding: 0.3vw 0.45vw;
  }
  .wall-screen iframe {
    padding-top: 1.8vw;
  }
}
@media (max-width: 900px) {
  .module-header {
    flex-wrap: wrap;
    padding: 1rem 0;
    gap: 0.75rem;
  }
  .module-header nav {
    order: 3;
    width: 100%;
    gap: 0.9rem;
  }
  .module-title {
    flex-direction: column;
    gap: 0.7rem;
  }
  .module-title h1 {
    font-size: 28px;
  }
  .module-title p {
    font-size: 13px;
  }
  .connection-status {
    font-size: 10px;
  }
  .metric dd {
    font-size: 28px;
  }
  .two-column,
  .overview-layout {
    grid-template-columns: 1fr;
  }
  .business-path {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-spokes {
    grid-template-columns: 1fr;
  }
  .chart {
    height: 270px;
  }
  .city-stage {
    height: 320px;
  }
  .wall-header {
    align-items: flex-start;
    flex-direction: column;
  }
  .wall-header h1 {
    font-size: 22px;
  }
  .wall-grid {
    grid-template-columns: 1fr;
  }
  .wall-body {
    padding: 16px;
  }
  :root[data-embedded="true"] .module-title {
    flex-direction: row;
  }
  :root[data-embedded="true"] .two-column,
  :root[data-embedded="true"] .overview-layout {
    grid-template-columns: 1.1fr 1fr;
  }
  :root[data-embedded="true"] .service-spokes {
    grid-template-columns: repeat(3, 1fr);
  }
  :root[data-embedded="true"] .business-path {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 480px) {
  .metrics {
    grid-template-columns: 1fr;
  }
  .metric + .metric {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .metric {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0 10px;
  }
  .metric dd {
    grid-area: 1/2/3/3;
    font-size: 28px;
    margin: 0;
    align-self: center;
  }
  .metric small {
    font-size: 10px;
  }
  .metric dt {
    font-size: 11px;
  }
  .value-lenses {
    grid-template-columns: 1fr 1fr;
  }
  .value-lenses article {
    padding: 16px;
  }
  .value-lenses article:nth-child(n) {
    border-left: 0;
  }
  .value-lenses article:nth-child(2n) {
    border-left: 1px solid var(--line);
  }
  .credential-pass {
    padding: 22px;
    flex-direction: column;
    align-items: flex-start;
  }
  .credential-lifecycle {
    grid-template-columns: 1fr;
  }
  .credential-lifecycle > span {
    display: none;
  }
  .outcome-stage {
    grid-template-columns: 1fr;
  }
  .agent-topology {
    grid-template-columns: 1fr;
  }
  .agent-engine {
    width: 160px;
    margin: 0 auto;
  }
  .module-footer {
    flex-direction: column;
  }
  .toolbar label {
    flex-direction: column;
    align-items: flex-start;
  }
  :root[data-embedded="true"] .metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  :root[data-embedded="true"] .metric {
    display: block;
  }
  :root[data-embedded="true"] .metric + .metric {
    border-left: 1px solid var(--line);
    border-top: 0;
  }
  :root[data-embedded="true"] .metric dd {
    font-size: 2rem;
    margin: 0.3rem 0;
  }
  :root[data-embedded="true"] .metric dt {
    font-size: 0.63rem;
  }
  :root[data-embedded="true"] .metric small {
    font-size: 0.5rem;
  }
  :root[data-embedded="true"] .value-lenses {
    grid-template-columns: repeat(3, 1fr);
  }
  :root[data-embedded="true"] .value-lenses article {
    padding: 1rem;
  }
  :root[data-embedded="true"] .value-lenses article:nth-child(n) {
    border-left: 1px solid var(--line);
  }
  :root[data-embedded="true"] .agent-topology {
    grid-template-columns: 0.7fr 1.3fr;
  }
  :root[data-embedded="true"] .agent-engine {
    width: 100%;
  }
  :root[data-embedded="true"] .credential-lifecycle {
    grid-template-columns: 1fr auto 1fr auto 1fr;
  }
  :root[data-embedded="true"] .credential-lifecycle > span {
    display: block;
  }
  :root[data-embedded="true"] .credential-pass {
    flex-direction: row;
  }
  :root[data-embedded="true"] .outcome-stage {
    grid-template-columns: repeat(3, 1fr);
  }
  :root[data-embedded="true"] .toolbar label {
    flex-direction: row;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
.chart {
  overflow: hidden;
  max-width: 100%;
  contain: layout;
}
.chart canvas {
  max-width: 100%;
}
.table-wrap {
  width: 100%;
}
.wall-screen::after {
  content: "";
  position: absolute;
  inset: 4px;
  pointer-events: none;
  background:
    linear-gradient(#39c6f6, #39c6f6) left bottom/28px 2px no-repeat,
    linear-gradient(#39c6f6, #39c6f6) right bottom/28px 2px no-repeat,
    linear-gradient(#39c6f6, #39c6f6) left bottom/2px 24px no-repeat,
    linear-gradient(#39c6f6, #39c6f6) right bottom/2px 24px no-repeat;
}
.wall-screen {
  box-shadow: 0 12px 28px #0003;
}
.city-stage {
  background: radial-gradient(ellipse at 50% 70%, #0d48636b, transparent 70%);
}
.wall-grid{margin-inline:auto}

#wall-controller{display:none}
.wall-body[data-kiosk="true"]{padding:0;overflow:hidden}
.wall-body[data-kiosk="true"] .wall-grid{width:100vw;height:100dvh;margin:0;gap:0;max-width:none;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr))}
.wall-body[data-kiosk="true"] .wall-screen{aspect-ratio:auto;min-height:0}
.wall-body[data-kiosk="true"] .wall-header{position:fixed;bottom:38px;left:16px;right:16px;background:#091e32f5;border:1px solid #337b9b;padding:16px;z-index:20;opacity:0;pointer-events:none}
.wall-body[data-kiosk="true"] .wall-status{position:fixed;left:16px;bottom:8px;z-index:21;opacity:0;pointer-events:none}
.wall-body[data-kiosk="true"] .wall-bottom{display:none}
.wall-body[data-kiosk="true"] #wall-controller{display:block;position:fixed;bottom:6px;right:6px;z-index:22;opacity:.35;font-size:11px;min-height:24px;padding:3px 8px}
.wall-body[data-kiosk="true"][data-controls="true"] .wall-header,.wall-body[data-kiosk="true"][data-controls="true"] .wall-status{opacity:1;pointer-events:auto}
.wall-body[data-kiosk="true"] #wall-controller:focus-visible,.wall-body[data-kiosk="true"] #wall-controller:hover{opacity:1}
.reading-controls{display:none}
:root[data-embedded="true"] .reading-controls{display:flex;position:fixed;bottom:0;right:0;gap:.6rem;align-items:center;padding:.35rem .6rem;background:#081c2fed;z-index:5;font-size:.6rem;border:1px solid #286885}
:root[data-embedded="true"] .reading-controls button{font-size:.6rem;min-height:1.5rem;padding:.15rem .4rem}
:root[data-embedded="true"] .module-footer{display:flex;font-size:.65rem;padding-bottom:3rem}

@font-face{font-family:"DF Display SC";src:url("/app/assets/fonts/df-display-sc.woff2") format("woff2");font-weight:100 900;font-display:swap}
h1,h2,h3,.metric dd{font-family:"DF Display SC","PingFang SC","Microsoft YaHei",sans-serif}

/* Optical layers belong to the control-room scene; data colors retain their meanings. */
:root[data-module="agent"] { --accent: var(--violet); }
:root[data-module="knowledge"], :root[data-module="task"] { --accent: #95b6ff; }
:root[data-module="asset"] { --accent: var(--green); }
body {
  background:
    radial-gradient(ellipse at 95% 0, #19305b45, transparent 48rem),
    radial-gradient(ellipse at 0 35rem, #12415128, transparent 40rem),
    var(--bg);
}
.module-title { border-bottom: 1px solid var(--line); margin-bottom: 1rem; }
.module-title h1 { color: #f0f8ff; }
.module-brand { color: #c1d3e9; }
.module-header nav a[aria-current] { color: var(--accent); }
.module-header nav a[aria-current]::after {
  content: ""; display: block; height: 1px; background: var(--accent);
}
.connection-status { background: #102c42; border: 1px solid #315573; border-radius: 4px; }
.metrics {
  position: relative;
  background: linear-gradient(115deg, #132e4c, #0a172c 72%);
  border-top-color: var(--accent);
  box-shadow: 0 12px 32px #0003;
}
.metric dd { color: #ecfaff; text-shadow: 0 2px 18px #4eafff30; font-weight: 600; }
.metric:first-child dd { color: var(--accent); }
.section-title { border-bottom-color: #315b7d; }
.section-title h2:before { width: .18rem; background: var(--accent); }
.section-title h2 { color: #e7f3ff; }
.city-stage {
  background:
    radial-gradient(ellipse at 50% 48%, #164b765c, transparent 65%),
    linear-gradient(160deg, #0d1a34, #040b17 70%);
  border-color: #285b7c;
  box-shadow: inset 0 0 70px #02081366, 0 16px 36px #0004;
}
.scene-overlay { padding: .45rem .7rem; background: #071528d9; border: 1px solid #315a7c; }
.scene-overlay strong { color: #b7efff; }
.scene-canvas { background: radial-gradient(ellipse at 50% 75%, #17396555, transparent 65%); }
.ecosystem-route strong { color: #a9d9ff; }
.ecosystem-route.mall strong { color: #7beaff; }
.ecosystem-route:nth-child(2) strong { color: #c4b6ff; }
.business-path li { border-top-color: #4a749d; }
.business-path li:nth-child(2) { border-top-color: #8b73cb; }
.business-path li:nth-child(3) { border-top-color: #3fa58c; }
.agent-engine {
  width: 78%;
  justify-self: center;
  background:
    radial-gradient(circle at 36% 28%, #7374e043, transparent 58%),
    radial-gradient(circle at 58% 68%, #075f834f, #081024 74%);
  border: 1px solid #7d98ec;
  box-shadow: inset 0 0 26px #5068c53b, 0 14px 40px #03050f99;
}
.agent-engine::before {
  content: ""; position: absolute; inset: 15%; border-radius: 50%;
  border: 1px solid #779cff42; pointer-events: none;
}
.agent-engine strong { color: #e4dbff; text-shadow: 0 0 20px #9875ff55; }
.engine-orbit { inset: -10%; border-color: #6c65ac; }
.engine-reticle {
  position: absolute; inset: -14%; width: 128%; height: 128%;
  fill: none; stroke: #7793e76b; stroke-width: .8; pointer-events: none;
}
.engine-reticle .engine-arc { stroke: #a791ff; stroke-width: 2.2; }
.engine-reticle .engine-axis { stroke: #77e6ff; stroke-width: 1.5; }
.agent-topology[data-running="true"] .engine-reticle {
  animation: engine-rotation 36s linear infinite;
}
.agent-node { background: linear-gradient(125deg, #182c48, #0b1428); border-color: #455783; }
.agent-node > i { background: #a4b9ce; }
.agent-node[data-state="success"] > i { background: var(--green); }
.agent-node[data-state="running"] > i { background: var(--cyan); }
.agent-node[data-state="waiting"] > i { background: var(--amber); }
.agent-node[data-state="error"] > i { background: var(--red); }
.agent-node[data-state="running"] { border-color: #71d9f0; background: linear-gradient(125deg, #153d56, #121a35); }
.chart { background: radial-gradient(ellipse at 50% 50%, #142f4b4d, transparent 68%); }
.value-lenses { background: linear-gradient(135deg, #132f49, #0b1428); }
.value-lenses article strong { color: #e7f4ff; }
.value-lenses article h2 { color: #99d7ff; }
.value-lenses article:nth-child(5) h2 { color: #95e5d4; }
thead { background: #142c47; }
td { color: #bfd3e7; }
tbody tr:nth-child(even) { background: #0d203033; }
tbody tr:hover { background: #1b365a55; }
.network-stage { background: radial-gradient(ellipse at center, #15335c77, transparent 65%); }
.network-stage .network-aura { fill: url(#network-aura); stroke: none; }
.network-stage .network-globe { stroke: #4f81c86b; stroke-width: .7; }
.network-stage .network-orbit { stroke: #6a7fbd; stroke-width: 1; }
.network-stage .network-link { stroke: url(#network-spectrum); stroke-width: 1.4; }
.network-stage[data-fresh="false"] .network-flow { animation: none; opacity: .25; }
.network-center {
  top: 26%; left: 36%; width: 28%; gap: .1rem;
  padding: .5rem .1rem; background: #081426e8; border-radius: 8px;
}
.network-center > span { font-size: 2.7rem; color: #b9d7ff; text-shadow: 0 3px 22px #3779ff55; }
.network-location { background: linear-gradient(120deg, #163450, #101b34); border-color: #4c74a2; }
.network-location strong { color: #d5eaff; }
.credential-pass {
  background:
    radial-gradient(ellipse at 20% 0, #2e927849, transparent 75%),
    linear-gradient(115deg, #103b3c, #111c37);
  border-color: #4ba792;
  box-shadow: 0 18px 38px #0004;
}
.credential-pass:before { border-color: #74e5c84a; width: 10rem; height: 10rem; top: -5rem; right: -2rem; }
.credential-pass:after { content: ""; position: absolute; inset: .35rem; border: 1px solid #8ee9d412; border-radius: 8px; pointer-events: none; }
.credential-pass strong { color: #bbffe2; }
.credential-lifecycle .available { background: linear-gradient(120deg, #123c35, #101f30); }
.credential-lifecycle .consumed { background: linear-gradient(120deg, #3b2137, #151d32); }
.event-record { position: relative; padding-left: .7rem; }
.event-kind { background: #173d58; color: #b3e8ff; border-color: #3c6f96; }
.event-record h3 { color: #e0f1ff; }
.wall-body { background: #02060e; }
.wall-screen { background: #040d1a; border-color: #356180; box-shadow: 0 16px 36px #0006; }
.wall-screen-caption { background: linear-gradient(100deg, #14384e, #0a182c 80%); border-bottom-color: #3e6886; }
.wall-screen:nth-child(2) .wall-screen-caption { background: linear-gradient(100deg, #302858, #10172d 80%); }
.wall-screen:nth-child(5) .wall-screen-caption { background: linear-gradient(100deg, #213d6c, #0b1930 80%); }
.wall-screen:nth-child(7) .wall-screen-caption { background: linear-gradient(100deg, #15453e, #0b1a2a 80%); }
:root[data-embedded="true"] { font-size: clamp(11px, 1.1vw, 44px); }
:root[data-embedded="true"] .module-title h1 { font-size: 1.4rem; }
:root[data-embedded="true"] .metric dd { font-size: 2.4rem; }
:root[data-embedded="true"] .chart { height: 16rem; }
:root[data-embedded="true"] .city-stage { height: 18rem; }
:root[data-embedded="true"] .network-stage { height: 17rem; }
@keyframes engine-rotation { to { transform: rotate(360deg); } }
:root[data-motion="paused"] * { animation-play-state: paused !important; }
@media (max-width: 480px) {
  :root:not([data-embedded="true"]) .agent-engine { width: 160px; }
}
@media (prefers-reduced-motion: reduce) {
  .agent-topology[data-running="true"] .engine-reticle { animation: none; }
}

/* Restore the earlier immersive HUD world while keeping the independent modules. */
.module-shell {
  background: radial-gradient(ellipse at 50% 0, #0c44734a, transparent 50rem), linear-gradient(155deg,#081c2ed9,#030b17f2 80%);
}
.module-shell::before {
  content:"";position:fixed;inset:5px;z-index:4;pointer-events:none;
  background:linear-gradient(#43dcff,#43dcff) left top/48px 2px no-repeat,linear-gradient(#43dcff,#43dcff) left top/2px 24px no-repeat,linear-gradient(#0878ff,#0878ff) right bottom/48px 2px no-repeat,linear-gradient(#0878ff,#0878ff) right bottom/2px 24px no-repeat;
}
.module-title { background:linear-gradient(90deg,#07528c30,transparent 78%);position:relative; }
.module-title::after {content:"";position:absolute;left:0;bottom:-1px;width:28%;height:2px;background:linear-gradient(90deg,#48deff,transparent);box-shadow:0 0 14px #00bfff70;}
.metrics {background:linear-gradient(100deg,#07508125,transparent);box-shadow:none;border-top:0;}
.metric dd {text-shadow:0 0 20px #00bfff55;color:#d7f8ff;}
.metric:first-child dd {color:#adf4ff;}
.section-title {background:linear-gradient(90deg,#08427430,transparent 70%);}
.city-panorama {height:27rem;isolation:isolate;background:#04101f;border:0;}
.city-panorama::before {content:"";position:absolute;inset:0;background:linear-gradient(0deg,#03122566,transparent 55%),url("/app/assets/media/smart-city.jpg") center/cover;opacity:.82;z-index:-1;}
.city-panorama .scene-canvas {background:none;}
.city-panorama .scene-overlay {left:50%;transform:translateX(-50%);top:.8rem;white-space:nowrap;}
.city-label,.globe-label {position:absolute;z-index:1;pointer-events:none;padding:.4rem .7rem;font-size:.65rem;color:#cbf5ff;background:#04243cdd;border:1px solid #32b8e677;box-shadow:0 0 18px #00aaff22;}
.city-label-left {left:4%;top:54%;}.city-label-right {right:4%;top:54%;}.city-label-bottom {left:50%;bottom:5%;transform:translateX(-50%);}
:root[data-module="enterprise"] .ecosystem-routes {grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;}
:root[data-module="enterprise"] .ecosystem-route {background:linear-gradient(180deg,#123c6040,transparent);border-top:1px solid #2b7193;padding:.6rem;min-width:0;}
:root[data-module="enterprise"] .ecosystem-route strong {font-size:.8rem;}
:root[data-module="enterprise"] .ecosystem-route span {font-size:.6rem;}
:root[data-module="enterprise"] .ecosystem-route small {font-size:.56rem;}
.agent-topology {position:relative;display:block;min-height:0;height:25rem;margin:.8rem 0 1.2rem;background:radial-gradient(ellipse at center,#0054ab24,transparent 66%);}
.agent-topology .agent-engine {position:absolute;left:50%;top:50%;width:25%;max-width:16rem;min-width:8rem;transform:translate(-50%,-50%);background:radial-gradient(circle at 40% 33%,#00bfffb3,#004d8d88 48%,#04162c 78%);border-color:#41e3ff;box-shadow:inset 0 0 35px #007ed244,0 0 24px #00cfff65,0 0 60px #0066ff33;}
.agent-topology .agent-engine strong {color:#d5faff;text-shadow:0 0 22px #38baff88;}
.agent-topology .agent-engine > span:last-child {max-width:90%;text-align:center;white-space:nowrap;}
.agent-topology .engine-name {color:#c3f2ff;font-size:.62rem;white-space:nowrap;}
.agent-topology .engine-reticle .engine-arc {stroke:#54dfff;}
.agent-wires {position:absolute;inset:0;width:100%;height:100%;fill:none;stroke:#2787ad;stroke-width:1;stroke-dasharray:4 5;}
.agent-wires [data-state="running"] {stroke:#6ff5ff;stroke-width:1.5;animation:task-path-flow 3s linear infinite;}
.agent-topology .agent-nodes {display:contents;}
.agent-topology .agent-node {position:absolute;width:27%;transform:translate(-50%,-50%);background:linear-gradient(120deg,#0a3b5a,#06172a);border-color:#2d739b;padding:.75rem .9rem;}
.agent-position-0,.agent-position-2,.agent-position-4 {left:17%;}
.agent-position-1,.agent-position-3,.agent-position-5 {left:83%;}
.agent-position-0,.agent-position-1 {top:20%;}.agent-position-2,.agent-position-3 {top:50%;}.agent-position-4,.agent-position-5 {top:80%;}
.agent-topology .agent-node > strong {font-size:.78rem;}
.agent-topology .agent-node > small,.agent-topology .agent-node .state {font-size:.62rem;}
.topology-empty {position:absolute;bottom:0;width:100%;text-align:center;color:var(--muted);font-size:.7rem;}
.globe-stage {position:relative;height:27rem;margin-bottom:1.5rem;background:radial-gradient(ellipse at 50% 55%,#004bc950,transparent 65%);overflow:hidden;}
.globe-stage .scene-canvas {background:none;}
.globe-stage .scene-overlay {background:#061a2ccc;}
.globe-label-left {top:47%;left:4%;}.globe-label-right {top:32%;right:5%;}.globe-label-bottom {right:8%;bottom:12%;}
.value-lenses {background:transparent;gap:.5rem;}
.value-lenses article {border:1px solid #27637e;background:linear-gradient(145deg,#0c30434d,#071426);padding:1rem;}
.value-lenses article:nth-child(n) {border-left:1px solid #27637e;}
.value-lenses strong {text-shadow:0 0 16px #00bfff33;}
:root[data-module="task"] .chart {position:relative;background:radial-gradient(circle at center,#0067b42e,transparent 65%);}
:root[data-module="task"] .chart::before {content:"";position:absolute;width:84%;height:84%;left:8%;top:8%;border:1px dashed #2494be44;border-radius:50%;pointer-events:none;}
.execution-path li {background:linear-gradient(90deg,#0b33552e,transparent);}
.step-progress i {box-shadow:0 0 10px #38dfcb66;}
.credential-stage {position:relative;height:21rem;perspective:1100px;isolation:isolate;}
.credential-stage .credential-pass {position:absolute;left:12%;right:12%;top:10%;height:68%;transform:rotateX(8deg) rotateY(-9deg) rotateZ(-3deg);background:linear-gradient(120deg,#0b514cdd,#05253ee8);border:1px solid #3bd5c0;border-radius:10px;box-shadow:0 18px 40px #00111d88,inset 0 0 30px #1fe5c518;}
.credential-stage .credential-pass strong {color:#a6ffe0;text-shadow:0 0 18px #32efbe44;}
.credential-floor {position:absolute;left:8%;right:8%;bottom:6%;height:20%;border:1px solid #28d4da55;border-radius:50%;transform:rotateX(65deg);box-shadow:0 0 30px #009aff22,inset 0 0 30px #0088ff22;}
.credential-stack {position:absolute;left:14%;right:12%;top:73%;height:2.6rem;transform:rotateY(-9deg) rotateZ(-3deg);}
.credential-stack i {position:absolute;inset:0;border:1px solid #0bace966;background:#0066aa13;border-radius:5px;}
.credential-stack i:nth-child(2){transform:translateY(.55rem)}.credential-stack i:nth-child(3){transform:translateY(1.1rem)}
.event-record {margin-bottom:.55rem;padding:.8rem 1rem;background:linear-gradient(90deg,#073c5b55,#04132377);border:1px solid #225a78;}
.event-record::before {content:"";position:absolute;left:-1px;top:20%;height:60%;width:1px;background:#3edfff;box-shadow:0 0 10px #00bfff99;}
.network-stage {background:radial-gradient(ellipse at center,#0054b44d,transparent 70%);}
.network-stage .network-globe {stroke:#45adff9c;}
.network-stage .network-orbit {stroke:#3eacdd;}
.network-center {box-shadow:0 0 24px #0066ff33;}
.network-location[data-state="reachable"] i {box-shadow:0 0 10px #55eac0;}
.wall-screen-caption {background:linear-gradient(90deg,#07427388,#061525);color:#d9f4ff;}
:root[data-embedded="true"] .city-panorama,:root[data-embedded="true"] .globe-stage {height:23rem;}
:root[data-embedded="true"] .agent-topology {height:23rem;}
:root[data-embedded="true"] .credential-stage {height:19rem;}
@keyframes task-path-flow {to{stroke-dashoffset:-90}}
@media(max-width:480px){
  .city-panorama,.globe-stage {height:340px;}
  .city-label,.globe-label {font-size:10px;padding:6px 8px;}
  .city-label-left {left:2%;}.city-label-right {right:2%;}
  :root[data-module="enterprise"] .ecosystem-routes {grid-template-columns:1fr;gap:.5rem;}
  :root[data-module="enterprise"] .ecosystem-route {padding:12px;}
  .agent-topology {height:390px;}
  :root:not([data-embedded="true"]) .agent-topology .agent-engine {width:110px;min-width:0;}
  .agent-topology .agent-engine > span:last-child {font-size:10px;}
  .agent-topology .agent-node {width:29%;padding:8px 7px;}
  .agent-topology .agent-node > strong {font-size:10px;}
  .agent-topology .agent-node > small,.agent-topology .agent-node .state {font-size:10px;}
  .agent-position-0,.agent-position-2,.agent-position-4 {left:16%;}
  .agent-position-1,.agent-position-3,.agent-position-5 {left:84%;}
  .credential-stage {height:310px;}
  .credential-stage .credential-pass {left:6%;right:6%;padding:18px;height:70%;}
  .credential-stage .credential-pass span,.credential-stage .credential-pass small {font-size:11px;}
  .credential-stack {left:8%;right:8%;}
}
@media(prefers-reduced-motion:reduce){.agent-wires [data-state="running"]{animation:none}}

/* Recorded relationship graph and six-value instrument surfaces. */
.relation-stage {position:relative;isolation:isolate;background:radial-gradient(ellipse at center,#0b548d4d,#061428 72%);padding:1rem .5rem .5rem;}
.relation-stage::before,.relation-stage::after {content:"";position:absolute;z-index:-1;inset:8% 18% 16%;border:1px solid #267caa66;border-radius:50%;pointer-events:none;}
.relation-stage::after {inset:18% 24% 26%;border-style:dashed;border-color:#369ec94d;}
.relation-stage .chart {height:20rem;}
.relation-count {font-size:.65rem;color:#badef2;text-align:center;padding:.5rem;}
.value-lenses {gap:.75rem;}
.value-lenses article {--instrument-light:#64eaff;position:relative;isolation:isolate;overflow:hidden;min-height:12rem;padding:1.1rem 1.2rem 1.6rem;border-color:#2c789b;background:radial-gradient(ellipse at 100% 0%,#0765a34d,transparent 70%),linear-gradient(145deg,#0b304c,#07182c);clip-path:polygon(0 0,calc(100% - .65rem) 0,100% .65rem,100% 100%,.65rem 100%,0 calc(100% - .65rem));}
.value-lenses article:nth-child(2) {--instrument-light:#7db2ff;}
.value-lenses article:nth-child(3) {--instrument-light:#bca4ff;}
.value-lenses article:nth-child(5) {--instrument-light:#80eed5;}
.value-lenses article:nth-child(6) {--instrument-light:#ffd091;}
.value-lenses article:nth-child(n) {border-left:1px solid #2c789b;}
.value-lenses article::before {content:"";position:absolute;left:0;top:0;width:.7rem;height:.7rem;border-top:1px solid var(--instrument-light);border-left:1px solid var(--instrument-light);}
.value-lenses article h2 {position:relative;font-size:.95rem;color:var(--instrument-light);}
.value-lenses article > span {position:relative;color:#c0dced;font-size:.65rem;max-width:70%;}
.value-lenses article strong {position:relative;font-size:2.25rem;line-height:1.6;color:#effaff;text-shadow:0 0 18px #46beff44;}
.value-lenses article p {position:relative;color:#b8d3e8;font-size:.62rem;max-width:92%;}
.value-instrument {position:absolute;right:.8rem;top:.8rem;width:4.5rem;height:4.5rem;fill:none;stroke:var(--instrument-light);stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round;opacity:.65;filter:drop-shadow(0 0 8px #42bfff55);}
.value-instrument .instrument-frame {stroke-width:.7;opacity:.6;}
.value-scale {position:absolute;bottom:.5rem;left:1.2rem;width:calc(100% - 2.4rem);height:.45rem;fill:none;stroke:var(--instrument-light);stroke-width:1;opacity:.4;}
.wall-screen[data-detail-active="true"] .wall-screen-caption {background:linear-gradient(90deg,#087ca977,#071a2e);}
@media(max-width:480px){
  .value-lenses article {padding:14px 12px 24px;min-height:185px;}
  .value-lenses article > span {font-size:10px;max-width:78%;}
  .value-lenses article strong {font-size:28px;}
  .value-lenses article p {font-size:10px;}
  .value-instrument {width:42px;height:42px;right:8px;top:10px;opacity:.35;}
  .value-scale {left:12px;width:calc(100% - 24px);height:6px;}
}

.wall-body[data-single="true"] .wall-grid {grid-template-columns:1fr;grid-template-rows:1fr;height:100dvh;max-width:none;}
.wall-body[data-single="true"] .wall-screen {min-height:100dvh;aspect-ratio:auto;}
.receipt-id {font-variant-numeric:tabular-nums;color:#89d9f6;}
/* Direct television pages: one document per AOC H55K6, no wall iframe. */
:root[data-tv="true"] {--tv-banner-height:8vh;--tv-column:0;scroll-padding-top:calc(var(--tv-banner-height) + 1rem);}
:root[data-tv="true"] body {overflow-x:hidden;}
:root[data-tv="true"] .module-shell {padding:calc(var(--tv-banner-height) + .7rem) 1.15rem 2rem;}
.tv-banner {position:fixed;inset:0 0 auto;height:var(--tv-banner-height);overflow:hidden;z-index:12;background:linear-gradient(180deg,#06172cfb,#051021f5);border-bottom:1px solid #339ec9;pointer-events:none;}
.tv-brand-plane {position:absolute;top:0;left:calc(var(--tv-column) * -100vw);width:400vw;height:100%;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse at 50% 100%,#1277b740,transparent 40%);}
.tv-brand-plane h1 {font-family:"DF Display SC","Microsoft YaHei",sans-serif;font-size:clamp(30px,3.1vw,120px);font-weight:650;line-height:1.2;letter-spacing:.08em;white-space:nowrap;text-wrap:nowrap;text-shadow:0 0 26px #21b9ff55;color:#e2f8ff;}
.tv-header-rule {position:absolute;bottom:0;inset-inline:0;height:3px;background:linear-gradient(90deg,transparent,#2b7de566,#6bedff,#2b7de566,transparent);}
.tv-screen-number {position:absolute;left:1.15rem;top:50%;transform:translateY(-50%);font-family:"DF Display SC",sans-serif;font-size:1.55rem;font-weight:650;color:#60e3ff;line-height:1;}
.tv-screen-number small {font-size:.65rem;color:#85aabd;font-weight:400;}
.tv-screen-number b {display:block;font-size:.55rem;font-weight:400;margin-top:.25rem;color:#b4d3e5;letter-spacing:.12em;}
:root[data-tv-column="2"] .tv-screen-number,:root[data-tv-column="3"] .tv-screen-number {left:auto;right:1.15rem;text-align:right;}
.tv-row-guide {display:flex;height:100%;gap:1rem;align-items:center;justify-content:center;font-size:.68rem;color:#80b3cf;letter-spacing:.1em;}
.tv-row-guide i {height:1px;width:12%;background:linear-gradient(90deg,transparent,#36b2dd,transparent);}
:root[data-tv-brand="each"] .tv-brand-plane {left:0;width:100vw;}
:root[data-tv-brand="each"] .tv-brand-plane h1 {font-size:clamp(18px,1.65vw,64px);letter-spacing:.04em;}
:root[data-tv="true"] .module-title {align-items:center;margin-bottom:.55rem;padding:.45rem .2rem .6rem;}
:root[data-tv="true"] .module-title h1 {font-size:1.55rem;}
:root[data-tv="true"] .data-context {font-size:.6rem;padding-bottom:.6rem;}
:root[data-tv="true"] .module-content {display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:1rem;align-items:start;}
:root[data-tv="true"] .module-content > * {grid-column:1/-1;min-width:0;margin-bottom:0;}
:root[data-tv="true"] .metrics {margin-bottom:0;}
:root[data-tv="true"] .section-title {margin-bottom:.65rem;}
:root[data-tv="true"] .section-title h2 {font-size:.9rem;}
:root[data-tv="true"] .city-panorama {height:18rem;}
:root[data-tv="true"] .chart {height:14rem;}
:root[data-tv="true"] .table-wrap {max-height:19rem;}
:root[data-tv="true"][data-module="agent"] .module-content > .section:nth-of-type(1) {grid-column:1/9;}
:root[data-tv="true"][data-module="agent"] .module-content > .section:nth-of-type(2) {grid-column:9/-1;}
:root[data-tv="true"][data-module="agent"] .agent-topology,:root[data-tv="true"][data-module="agent"] [data-chart="states"] {height:21rem;}
:root[data-tv="true"][data-module="agent"] .module-content > .section:nth-of-type(3) {grid-column:1/8;}
:root[data-tv="true"][data-module="agent"] .module-content > .section:nth-of-type(4) {grid-column:8/-1;}
:root[data-tv="true"][data-module="supply"] .module-content > .globe-stage {grid-column:1/8;grid-row:2;height:25rem;}
:root[data-tv="true"][data-module="supply"] .module-content > .two-column {grid-column:8/-1;grid-row:2;grid-template-columns:1fr;gap:1rem;}
:root[data-tv="true"][data-module="supply"] .service-spokes {grid-template-columns:repeat(3,minmax(0,1fr));}
:root[data-tv="true"][data-module="supply"] .service-spokes > div {padding:.6rem;}
:root[data-tv="true"][data-module="supply"] .module-content > .section {grid-column:span 6;}
:root[data-tv="true"][data-module="knowledge"] .network-stage {height:12rem;}
:root[data-tv="true"][data-module="knowledge"] [data-chart="relations"] {height:12rem;}
:root[data-tv="true"][data-module="knowledge"] .lower-detail .table-wrap {max-height:15rem;}
:root[data-tv="true"][data-module="task"] [data-chart="completion"] {height:14rem;}
:root[data-tv="true"][data-module="asset"] .module-content > .section:nth-of-type(1) {grid-column:1/8;grid-row:2;}
:root[data-tv="true"][data-module="asset"] .module-content > .section:nth-of-type(2) {grid-column:8/-1;grid-row:2/4;}
:root[data-tv="true"][data-module="asset"] .module-content > .method-note:first-of-type {grid-column:1/8;grid-row:3;}
:root[data-tv="true"][data-module="asset"] .credential-stage {height:19rem;}
:root[data-tv="true"][data-module="asset"] .section:nth-of-type(2) .table-wrap {max-height:27rem;}
:root[data-tv="true"][data-module="command"] .event-stream {max-height:calc(100vh - 22rem);min-height:15rem;}
:root[data-tv="true"] .reading-controls {display:none;}
.tv-controls {position:fixed;right:.6rem;bottom:.6rem;z-index:20;font-size:.65rem;}
.tv-controls > summary {cursor:pointer;opacity:.25;list-style:none;padding:.4rem .7rem;background:#07233a;border:1px solid #316782;}
.tv-controls > summary:hover,.tv-controls > summary:focus-visible,.tv-controls[open] > summary {opacity:1;}
.tv-controls > div {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;background:#071b2ff5;border:1px solid #337c9b;padding:.7rem;position:absolute;right:0;bottom:2.7rem;min-width:16rem;}
.tv-controls button {font-size:.65rem;}
@media(max-width:900px) {
 :root[data-tv="true"] {--tv-banner-height:64px;}
 :root[data-tv="true"] .tv-brand-plane {left:0;width:100vw;}
 :root[data-tv="true"] .tv-brand-plane h1 {font-size:clamp(12px,2.8vw,25px);letter-spacing:0;}
 :root[data-tv="true"] .tv-screen-number {display:none;}
 :root[data-tv="true"] .tv-row-guide {font-size:10px;gap:.5rem;}
 :root[data-tv="true"] .module-content {display:block;}
 :root[data-tv="true"] .module-content > * {margin-bottom:1rem;}
 :root[data-tv="true"] .module-title {align-items:flex-start;}
}
.tv-directory {max-width:1800px;margin:auto;padding:3rem 2rem;background:radial-gradient(ellipse at 50% 0,#0d3155,#030913 65%);}
.tv-directory > header {text-align:center;margin-bottom:2.2rem;}
.tv-directory > header h1 {font-size:clamp(25px,2.6vw,50px);margin:.5rem 0 1rem;}
.tv-directory > header p,.tv-directory aside {color:var(--muted);font-size:.8rem;}
.tv-directory-kicker {color:var(--cyan)!important;letter-spacing:.2em;}
.tv-directory-options {display:flex;align-items:center;justify-content:space-between;gap:1rem;font-size:.75rem;margin-bottom:1rem;}
.tv-directory-options select {margin-left:.7rem;}
.tv-directory-options p {color:var(--muted);}
.tv-screen-links {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;}
.tv-screen-links article {border:1px solid #2d6385;background:linear-gradient(145deg,#0b2a43,#061321);padding:1.2rem;box-shadow:inset 0 2px #3fa2c333;min-width:0;}
.tv-screen-links article > div {display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;}
.tv-screen-links article > div > span {font-size:2rem;line-height:1;color:var(--cyan);}
.tv-screen-links article > div > span small {font-size:.6rem;}
.tv-screen-links article p {font-size:.75rem;color:var(--muted);margin:.5rem 0;}
.tv-screen-links article > small {font-size:.6rem;}
.tv-screen-links article footer {display:flex;gap:.6rem;align-items:center;flex-wrap:wrap;margin-top:1.5rem;font-size:.65rem;}
.tv-screen-links article button {font-size:.65rem;}
.tv-screen-links article button[data-copy] {background:transparent;border-color:transparent;padding-inline:0;}
.tv-directory aside {margin-top:1.4rem;}
.tv-directory aside a {display:inline-block;margin:1rem 1.5rem 0 0;color:var(--cyan);}
@media(max-width:1100px){.tv-screen-links{grid-template-columns:repeat(2,minmax(0,1fr));}.tv-directory-options{flex-direction:column;align-items:flex-start;}}
@media(max-width:560px){.tv-directory{padding:2rem 1rem;}.tv-screen-links{grid-template-columns:1fr;}.tv-directory-options select{max-width:100%;margin:.5rem 0;}}
.tv-wall-preview {min-height:100dvh;display:flex;align-items:center;background:#01050a;overflow-x:hidden;}
#tv-wall-preview {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));width:100vw;aspect-ratio:32/9;}
#tv-wall-preview > section {overflow:hidden;position:relative;min-width:0;min-height:0;}
#tv-wall-preview iframe {border:0;position:absolute;left:0;top:0;width:1920px;height:1080px;transform:scale(var(--preview-scale, .5));transform-origin:0 0;}
.tv-preview-back {position:fixed;right:12px;bottom:12px;font-size:12px;padding:6px 10px;background:#0c2843cc;border:1px solid #2d648a;opacity:.45;}
.tv-preview-back:hover,.tv-preview-back:focus-visible {opacity:1;}

/* Keep the title's logical separator on the central physical bezel. */
.tv-brand-plane h1 {display:grid;grid-template-columns:repeat(2,1fr);column-gap:clamp(32px,2.5vw,96px);}
.tv-title-left {text-align:right;}
.tv-title-right {text-align:left;}
:root[data-tv-brand="each"] .tv-brand-plane h1 {display:flex;column-gap:.35em;}
@media(max-width:900px){:root[data-tv="true"] .tv-brand-plane h1{display:flex;column-gap:.3em;}}

/* 2.5: a complete, bounded dashboard per television. Only record lists scroll. */
:root[data-tv="true"] {font-size:clamp(9px,1vw,40px);}
:root[data-tv="true"] body,:root[data-tv="true"] #app {height:100dvh;overflow:hidden;}
:root[data-tv="true"] .module-shell {height:100dvh;min-height:0;padding:calc(var(--tv-banner-height) + .45rem) 1rem .4rem;display:grid;grid-template-rows:minmax(0,1fr) auto;gap:.35rem;}
:root[data-tv="true"] .module-shell > main {min-height:0;display:grid;grid-template-rows:auto auto minmax(0,1fr);}
:root[data-tv="true"] .module-title {margin:0;padding:.2rem 0 .4rem;}
:root[data-tv="true"] .module-title h1 {font-size:1.35rem;}
:root[data-tv="true"] .module-title p {margin-top:.25rem;font-size:.65rem;}
:root[data-tv="true"] .data-context {padding-bottom:.4rem;font-size:.58rem;}
:root[data-tv="true"] .module-content {display:flex;flex-direction:column;min-height:0;padding:0;gap:.35rem;}
:root[data-tv="true"] .module-content > * {margin:0;min-height:0;}
:root[data-tv="true"] .tv-dashboard {display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:.65rem;flex:1;min-height:0;}
:root[data-tv="true"] .tv-dashboard > * {grid-column:auto;grid-row:auto;min-height:0;min-width:0;margin:0;}
:root[data-tv="true"] .tv-dashboard > .section {display:flex;flex-direction:column;border:1px solid #20516d;background:linear-gradient(145deg,#09345244,#06142680);padding:.45rem .65rem;overflow:hidden;}
:root[data-tv="true"] .section-title {flex:none;margin:0 0 .35rem;padding:.15rem 0 .35rem;gap:.4rem;}
:root[data-tv="true"] .section-title h2 {font-size:.8rem;white-space:nowrap;}
:root[data-tv="true"] .section-title > span {font-size:.5rem;}
:root[data-tv="true"] .tv-panel-body {min-height:0;flex:1;display:flex;flex-direction:column;gap:.3rem;}
:root[data-tv="true"] .tv-panel-body > .table-wrap,:root[data-tv="true"] .tv-panel-body > .event-stream {flex:1;min-height:0;max-height:none;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;}
:root[data-tv="true"] table {font-size:.64rem;line-height:1.45;}
:root[data-tv="true"] th,:root[data-tv="true"] td {padding:.45rem .4rem;}
:root[data-tv="true"] .chart,:root[data-tv="true"] .agent-topology,:root[data-tv="true"] .network-stage,:root[data-tv="true"] .relation-stage {height:auto;min-height:0;flex:1;margin:0;}
:root[data-tv="true"] .relation-stage {display:flex;flex-direction:column;}
:root[data-tv="true"] .relation-count {font-size:.55rem;padding:.2rem 0;margin:0;flex:none;}
:root[data-tv="true"] .city-panorama,:root[data-tv="true"] .globe-stage {height:auto;min-height:0;margin:0;}
:root[data-tv="true"] .metrics {height:100%;min-height:0;}
:root[data-tv="true"] .metric {display:flex;flex-direction:column;justify-content:center;padding:.4rem .8rem;}
:root[data-tv="true"] .metric dd {font-size:2.15rem;line-height:1.15;margin:.2rem 0;}
:root[data-tv="true"] .metric small {font-size:.53rem;}
:root[data-tv="true"] .tv-methods {flex:none;display:flex;align-items:center;gap:.6rem;max-height:2.5rem;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;border-top:1px solid #235574;padding-top:.2rem;}
:root[data-tv="true"] .tv-methods > .method-note {font-size:.5rem;line-height:1.45;flex:1;min-width:0;margin:0;}
:root[data-tv="true"] .tv-methods > .text-link {flex:none;font-size:.5rem;max-width:12rem;}
:root[data-tv="true"] .tv-methods > details {flex:none;font-size:.5rem;}
:root[data-tv="true"] .tv-history-body {display:none;}
:root[data-tv="true"] .history-details[open] .tv-history-body {display:block;position:fixed;inset:25% 8% 12%;padding:1rem;background:#051526f5;border:1px solid #38bfd9;z-index:15;overflow:auto;box-shadow:0 0 0 100vmax #01071099;}
:root[data-tv="true"] .history-details[open] > summary {position:relative;z-index:16;color:#7fe8ff;}
:root[data-tv="true"] .module-footer {display:flex;gap:1rem;min-height:0;font-size:.48rem;padding:0 6rem 0 0;margin:0;}
:root[data-tv="true"] .tv-panel-body > .method-note {font-size:.5rem;line-height:1.4;flex:none;margin:0;}
:root[data-tv="true"] .toolbar {margin:0;min-height:0;gap:.5rem;flex-wrap:nowrap;font-size:.6rem;}
:root[data-tv="true"] .toolbar select,:root[data-tv="true"] .toolbar button {font-size:.6rem;padding:.3rem .5rem;min-height:0;}
:root[data-tv="true"] .empty {min-height:0;height:100%;padding:.5rem;font-size:.6rem;}

:root[data-tv="true"][data-module="enterprise"] .tv-dashboard {grid-template-rows:1.1fr 2.9fr 2fr 1.4fr;}
:root[data-tv="true"] [data-tv-slot="metrics"] {grid-column:1/-1;}
:root[data-tv="true"] [data-tv-slot="city"] {grid-area:2/1/4/8;}
:root[data-tv="true"] [data-tv-slot="ecosystems"] {grid-area:2/8/3/13;}
:root[data-tv="true"] [data-tv-slot="work"] {grid-area:3/8/4/13;}
:root[data-tv="true"] [data-tv-slot="path"] {grid-area:4/1/5/13;}
:root[data-tv="true"] .ecosystem-routes {height:100%;gap:.45rem;}
:root[data-tv="true"] .ecosystem-route {padding:.35rem;gap:.3rem;}
:root[data-tv="true"] .ecosystem-route strong {font-size:.73rem;}
:root[data-tv="true"] .ecosystem-route .text-link {font-size:.5rem;}
:root[data-tv="true"] .business-path {height:100%;padding:0;margin:0;gap:.6rem;}
:root[data-tv="true"] .business-path li {padding:.4rem .6rem;}
:root[data-tv="true"] .business-path strong {font-size:.7rem;}
:root[data-tv="true"] .business-path span {font-size:.56rem;}
:root[data-tv="true"] .compact-records {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.35rem;}
:root[data-tv="true"] .compact-records > div {padding:.4rem;display:flex;flex-wrap:wrap;gap:.3rem;font-size:.6rem;}

:root[data-tv="true"][data-module="agent"] .tv-dashboard {grid-template-rows:1.1fr 3.8fr 2.7fr;}
:root[data-tv="true"] [data-tv-slot="topology"] {grid-area:2/1/3/9;}
:root[data-tv="true"] [data-tv-slot="states"] {grid-area:2/9/3/13;}
:root[data-tv="true"] [data-tv-slot="tools"] {grid-area:3/1/4/8;}
:root[data-tv="true"] [data-tv-slot="approvals"] {grid-area:3/8/4/13;}
:root[data-tv="true"] .agent-topology .agent-engine {min-width:0;width:26%;max-width:none;}
:root[data-tv="true"] .agent-topology .agent-node {padding:.45rem .55rem;gap:.15rem;}
:root[data-tv="true"] .agent-topology .agent-node > strong {font-size:.7rem;}
:root[data-tv="true"] .agent-topology .agent-node > small {font-size:.55rem;}

:root[data-tv="true"][data-module="analytics"] .tv-dashboard {grid-template-rows:3fr 4.5fr;}
:root[data-tv="true"] [data-tv-slot="values"] {grid-area:1/1/2/13;grid-template-columns:repeat(6,minmax(0,1fr));gap:.5rem;}
:root[data-tv="true"] .value-lenses article {min-height:0;padding:.6rem .65rem .9rem;}
:root[data-tv="true"] .value-lenses article > span {font-size:.57rem;max-width:100%;}
:root[data-tv="true"] .value-lenses article strong {font-size:1.6rem;line-height:1.45;overflow-wrap:anywhere;}
:root[data-tv="true"] .value-lenses article p {font-size:.52rem;}
:root[data-tv="true"] .value-instrument {width:2.3rem;height:2.3rem;opacity:.5;}
:root[data-tv="true"] [data-tv-slot="latencies"] {grid-area:2/1/3/5;}
:root[data-tv="true"] [data-tv-slot="cost"] {grid-area:2/5/3/9;}
:root[data-tv="true"] [data-tv-slot="definitions"] {grid-area:2/9/3/13;}
:root[data-tv="true"] .evaluation-status {min-height:0;padding:.35rem;}
:root[data-tv="true"] .evaluation-status strong {font-size:1.8rem;}
:root[data-tv="true"] .evaluation-status p {font-size:.55rem;}

:root[data-tv="true"][data-module="supply"] .tv-dashboard {grid-template-rows:1.1fr 2.5fr 1.6fr 2.4fr;}
:root[data-tv="true"] [data-tv-slot="globe"] {grid-area:2/1/4/8;}
:root[data-tv="true"] [data-tv-slot="services"] {grid-area:2/8/3/13;}
:root[data-tv="true"] [data-tv-slot="inventory"] {grid-area:3/8/4/13;}
:root[data-tv="true"] [data-tv-slot="warning"] {grid-area:4/1/5/7;}
:root[data-tv="true"] [data-tv-slot="integration"] {grid-area:4/7/5/13;}
:root[data-tv="true"] .service-network {height:100%;gap:.4rem;}
:root[data-tv="true"] .service-hub {padding:.2rem .5rem;}
:root[data-tv="true"] .service-hub strong {font-size:.7rem;}
:root[data-tv="true"] .service-hub span {font-size:.5rem;}
:root[data-tv="true"] .service-spokes {gap:.35rem;}
:root[data-tv="true"] .service-spokes > div {padding:.3rem;gap:.2rem;}
:root[data-tv="true"] .service-spokes strong {font-size:.62rem;}
:root[data-tv="true"] .service-spokes span,:root[data-tv="true"] .service-spokes .text-link {font-size:.5rem;}
:root[data-tv="true"] .alert {padding:.5rem;}

:root[data-tv="true"][data-module="knowledge"] .tv-dashboard {grid-template-rows:1.1fr 3.1fr 3.4fr;}
:root[data-tv="true"] [data-tv-slot="network"] {grid-area:2/1/3/8;}
:root[data-tv="true"] [data-tv-slot="nodes"] {grid-area:2/8/3/13;}
:root[data-tv="true"] [data-tv-slot="relations"] {grid-area:3/1/4/8;}
:root[data-tv="true"] [data-tv-slot="proofs"] {grid-area:3/8/4/13;}

:root[data-tv="true"][data-module="task"] .tv-dashboard {grid-template-rows:.55fr 1.1fr 3.5fr 2.1fr;}
:root[data-tv="true"] [data-tv-slot="toolbar"] {grid-column:1/-1;}
:root[data-tv="true"] [data-tv-slot="execution"] {grid-area:3/1/4/8;}
:root[data-tv="true"] [data-tv-slot="completion"] {grid-area:3/8/4/13;}
:root[data-tv="true"] [data-tv-slot="outcomes"] {grid-area:4/1/5/7;}
:root[data-tv="true"] [data-tv-slot="directory"] {grid-area:4/7/5/13;}
:root[data-tv="true"] .execution-path {display:flex;flex-direction:column;flex:1;min-height:0;}
:root[data-tv="true"] .execution-path li {flex:1;min-height:0;padding:.5rem 0;gap:.4rem;}
:root[data-tv="true"] .outcome-stage {padding:0;gap:.5rem;height:100%;}
:root[data-tv="true"] .outcome-stage > div {padding:.5rem;}
:root[data-tv="true"] .outcome-stage strong {font-size:.65rem;}
:root[data-tv="true"] .outcome-stage span {font-size:.55rem;}

:root[data-tv="true"][data-module="asset"] .tv-dashboard {grid-template-rows:1.1fr 4.7fr 1.8fr;}
:root[data-tv="true"] [data-tv-slot="credential"] {grid-area:2/1/3/8;}
:root[data-tv="true"] [data-tv-slot="receipts"] {grid-area:2/8/3/13;}
:root[data-tv="true"] [data-tv-slot="rules"] {grid-area:3/1/4/13;}
:root[data-tv="true"] .credential-stage {height:auto;min-height:0;flex:1;}
:root[data-tv="true"] .credential-stage .credential-pass {padding:1rem;}
:root[data-tv="true"] .credential-pass strong {font-size:2.8rem;}
:root[data-tv="true"] .credential-lifecycle {flex:none;padding:.5rem;gap:.5rem;}
:root[data-tv="true"] .credential-lifecycle strong {font-size:.68rem;}
:root[data-tv="true"] .credential-lifecycle span {font-size:1rem;}

:root[data-tv="true"][data-module="command"] .tv-dashboard {grid-template-rows:1.1fr .6fr 5.9fr;}
:root[data-tv="true"] [data-tv-slot="events"] {grid-area:3/1/4/8;}
:root[data-tv="true"] [data-tv-slot="chain"] {grid-area:3/8/4/13;}
:root[data-tv="true"] .event-record {padding:.6rem .75rem;}
:root[data-tv="true"] .event-record h3 {font-size:.73rem;}
:root[data-tv="true"] .event-record p {font-size:.55rem;}
:root[data-tv="true"] .event-record details {font-size:.55rem;}
:root[data-tv="true"] .module-content {align-items:stretch;}
:root[data-tv="true"] .tv-dashboard {width:100%;}
:root[data-tv="true"] .agent-topology .agent-engine {height:70%;width:auto;max-width:26%;aspect-ratio:1;}
/* Fit short browser viewports too: width alone cannot determine TV content density. */
:root[data-tv="true"] {font-size:clamp(8px,min(1vw,1.777778vh),40px);}

/* Visual system 3.0 — television-only colour and restrained long-running motion. */
:root[data-tv="true"] {
  --cyan: #6ee9ff;
  --violet: #c4a6ff;
  --green: #5df2c0;
  --amber: #ffb454;
  --gold: #ffd166;
  --coral: #ff7d9c;
  --blue: #6a8dff;
  --offline: #6b7a90;
  --accent: var(--cyan);
  --accent-secondary: var(--blue);
  --instrument-light: var(--accent);
  --accent-rgb: 110 233 255;
  --line: rgb(var(--accent-rgb) / .26);
  --panel-edge: rgb(var(--accent-rgb) / .28);
  --panel-inner: rgb(var(--accent-rgb) / .045);
  --metric-glow: rgb(var(--accent-rgb) / .34);
}
:root[data-tv="true"][data-module="enterprise"] {
  --accent: var(--cyan); --accent-secondary: var(--gold); --accent-rgb: 110 233 255;
}
:root[data-tv="true"][data-module="agent"] {
  --accent: var(--violet); --accent-secondary: var(--cyan); --accent-rgb: 196 166 255;
}
:root[data-tv="true"][data-module="analytics"] {
  --accent: var(--green); --accent-secondary: var(--blue); --accent-rgb: 93 242 192;
}
:root[data-tv="true"][data-module="supply"] {
  --accent: var(--amber); --accent-secondary: #45e0d4; --accent-rgb: 255 180 84;
}
:root[data-tv="true"][data-module="knowledge"] {
  --accent: var(--blue); --accent-secondary: var(--violet); --accent-rgb: 106 141 255;
}
:root[data-tv="true"][data-module="task"] {
  --accent: var(--green); --accent-secondary: var(--amber); --accent-rgb: 93 242 192;
}
:root[data-tv="true"][data-module="asset"] {
  --accent: var(--coral); --accent-secondary: var(--gold); --accent-rgb: 255 125 156;
}
:root[data-tv="true"][data-module="command"] {
  --accent: var(--cyan); --accent-secondary: var(--amber); --accent-rgb: 110 233 255;
}

:root[data-tv="true"] body {
  background:
    radial-gradient(ellipse at 4% 2%, rgb(130 88 214 / .13), transparent 36%),
    radial-gradient(ellipse at 96% 4%, rgb(54 214 178 / .10), transparent 38%),
    radial-gradient(ellipse at 7% 96%, rgb(255 163 70 / .08), transparent 34%),
    #030913;
}
:root[data-tv="true"] body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 15%, rgb(196 166 255 / .10), transparent 25%),
    radial-gradient(circle at 87% 16%, rgb(69 224 212 / .08), transparent 27%),
    radial-gradient(circle at 18% 88%, rgb(255 180 84 / .07), transparent 24%);
  opacity: .72;
  animation: tv-ambient-breathe 27s ease-in-out infinite alternate;
}
:root[data-tv="true"] #app { position: relative; z-index: 1; }

:root[data-tv="true"] .tv-banner {
  background:
    linear-gradient(180deg, rgb(255 255 255 / .035), transparent 38%),
    linear-gradient(180deg, #07182df7, #040d1cf5);
  border-bottom-color: rgb(var(--accent-rgb) / .46);
  box-shadow: 0 8px 28px #0007, inset 0 -1px rgb(var(--accent-rgb) / .10);
}
:root[data-tv="true"] .tv-header-rule {
  background: linear-gradient(90deg, transparent, rgb(var(--accent-rgb) / .26), var(--accent), rgb(var(--accent-rgb) / .26), transparent);
  box-shadow: 0 0 14px rgb(var(--accent-rgb) / .24);
}
:root[data-tv="true"] .tv-screen-number,
:root[data-tv="true"] .module-title h1 {
  color: var(--accent);
  text-shadow: 0 0 16px rgb(var(--accent-rgb) / .28);
}
:root[data-tv="true"] .tv-brand-plane h1 {
  color: #eefaff;
  text-shadow: 0 0 22px rgb(var(--accent-rgb) / .24);
}
:root[data-tv="true"] .module-title {
  background: linear-gradient(90deg, rgb(var(--accent-rgb) / .09), transparent 72%);
  border-bottom-color: rgb(var(--accent-rgb) / .25);
}
:root[data-tv="true"] .module-title::after {
  background: linear-gradient(90deg, var(--accent), transparent);
  box-shadow: 0 0 14px rgb(var(--accent-rgb) / .34);
}

:root[data-tv="true"] .metrics,
:root[data-tv="true"] .tv-dashboard > .section,
:root[data-tv="true"] .value-lenses article,
:root[data-tv="true"] .event-record {
  border-color: var(--panel-edge);
  background:
    linear-gradient(180deg, rgb(255 255 255 / .05), transparent 16%),
    radial-gradient(ellipse at 12% 0, rgb(var(--accent-rgb) / .07), transparent 58%),
    linear-gradient(145deg, #0a1e33e8, #050e1ee8);
  box-shadow:
    inset 0 1px rgb(255 255 255 / .055),
    inset 0 0 30px var(--panel-inner),
    0 12px 28px #0004;
}
:root[data-tv="true"] .metrics { border-top: 1px solid rgb(var(--accent-rgb) / .44); }
:root[data-tv="true"] .metric + .metric { border-left-color: rgb(var(--accent-rgb) / .22); }
:root[data-tv="true"] .metric dd {
  color: var(--accent);
  text-shadow: 0 0 18px var(--metric-glow);
}
:root[data-tv="true"] .metric dt,
:root[data-tv="true"] .metric small,
:root[data-tv="true"] .data-context,
:root[data-tv="true"] .module-footer { color: #b9cee2; }
:root[data-tv="true"] .section-title {
  background: linear-gradient(90deg, rgb(var(--accent-rgb) / .10), transparent 76%);
  border-bottom-color: rgb(var(--accent-rgb) / .25);
}
:root[data-tv="true"] .section-title h2 {
  color: #f0f8ff;
  text-shadow: 0 0 12px rgb(var(--accent-rgb) / .20);
}
:root[data-tv="true"] .section-title h2::before { background: var(--accent); box-shadow: 0 0 9px rgb(var(--accent-rgb) / .34); }
:root[data-tv="true"] thead { background: rgb(var(--accent-rgb) / .095); }
:root[data-tv="true"] tbody tr:nth-child(even) { background: rgb(var(--accent-rgb) / .025); }
:root[data-tv="true"] tbody tr:hover { background: rgb(var(--accent-rgb) / .075); }

/* Shared operational states: status never changes meaning between screens. */
:root[data-tv="true"] .connection-status {
  color: var(--violet);
  background: rgb(196 166 255 / .08);
  border-color: rgb(196 166 255 / .32);
}
:root[data-tv="true"] .connection-status[data-state="live"] {
  color: var(--green); background: rgb(93 242 192 / .08); border-color: rgb(93 242 192 / .34);
}
:root[data-tv="true"] .connection-status[data-state="stale"] {
  color: var(--amber); background: rgb(255 180 84 / .08); border-color: rgb(255 180 84 / .34);
}
:root[data-tv="true"] .connection-status[data-state="offline"] {
  color: #9bacc0; background: rgb(107 122 144 / .10); border-color: rgb(107 122 144 / .38);
}
:root[data-tv="true"] .connection-status[data-state="login"],
:root[data-tv="true"] .connection-status[data-state="forbidden"],
:root[data-tv="true"] .connection-status[data-state="loading"] {
  color: var(--violet); background: rgb(196 166 255 / .08); border-color: rgb(196 166 255 / .32);
}
:root[data-tv="true"] .state.success { color: var(--green); }
:root[data-tv="true"] .state.running { color: var(--cyan); }
:root[data-tv="true"] .state.waiting { color: var(--amber); }
:root[data-tv="true"] .state.error,
:root[data-tv="true"] .state.used { color: var(--coral); }

/* Screen-specific optical emphasis; no structural or data changes. */
:root[data-tv="true"][data-module="agent"] .agent-engine {
  border-color: rgb(196 166 255 / .72);
  background: radial-gradient(circle at 42% 34%, rgb(196 166 255 / .30), rgb(34 55 101 / .50) 50%, #050d1e 78%);
  box-shadow: inset 0 0 30px rgb(196 166 255 / .13), 0 0 30px rgb(196 166 255 / .18);
}
:root[data-tv="true"][data-module="agent"] .agent-engine strong { color: #ecdeff; text-shadow: 0 0 18px rgb(196 166 255 / .38); }
:root[data-tv="true"][data-module="agent"] .agent-node { border-color: rgb(196 166 255 / .30); background: linear-gradient(125deg, rgb(196 166 255 / .10), #071526 72%); }
:root[data-tv="true"][data-module="agent"] .agent-node[data-state="running"] { border-color: var(--violet); box-shadow: inset 0 0 18px rgb(196 166 255 / .08), 0 0 15px rgb(196 166 255 / .12); }
:root[data-tv="true"][data-module="agent"] .agent-wires { stroke: rgb(110 233 255 / .48); }
:root[data-tv="true"][data-module="agent"] .agent-wires [data-state="running"] { stroke: var(--violet); }
:root[data-tv="true"][data-module="agent"] .agent-topology[data-running="true"] .engine-reticle { animation: agent-reticle-breathe 5.6s ease-in-out infinite alternate; }

:root[data-tv="true"][data-module="analytics"] .value-lenses article:nth-child(1) { --instrument-light: var(--green); }
:root[data-tv="true"][data-module="analytics"] .value-lenses article:nth-child(2) { --instrument-light: var(--blue); }
:root[data-tv="true"][data-module="analytics"] .value-lenses article:nth-child(3) { --instrument-light: var(--cyan); }
:root[data-tv="true"][data-module="analytics"] .value-lenses article:nth-child(4) { --instrument-light: var(--violet); }
:root[data-tv="true"][data-module="analytics"] .value-lenses article:nth-child(5) { --instrument-light: var(--gold); }
:root[data-tv="true"][data-module="analytics"] .value-lenses article:nth-child(6) { --instrument-light: var(--coral); }
:root[data-tv="true"][data-module="analytics"] .value-lenses article strong { color: var(--instrument-light); text-shadow: 0 0 16px currentColor; }

:root[data-tv="true"][data-module="supply"] .globe-stage { background: radial-gradient(ellipse at 50% 55%, rgb(69 224 212 / .16), transparent 66%); }
:root[data-tv="true"][data-module="supply"] [data-tv-slot="warning"] { border-color: rgb(255 125 156 / .54); box-shadow: inset 0 0 24px rgb(255 125 156 / .055), 0 0 18px rgb(255 125 156 / .08); }
:root[data-tv="true"][data-module="supply"] .alert strong { color: var(--coral); text-shadow: 0 0 12px rgb(255 125 156 / .24); }

:root[data-tv="true"][data-module="knowledge"] .network-stage { background: radial-gradient(ellipse at center, rgb(106 141 255 / .20), transparent 70%); }
:root[data-tv="true"][data-module="knowledge"] .network-location[data-state="reachable"] { border-color: rgb(93 242 192 / .42); box-shadow: inset 0 0 14px rgb(93 242 192 / .05); }
:root[data-tv="true"][data-module="knowledge"] .network-center > span { color: #c6d4ff; text-shadow: 0 0 19px rgb(106 141 255 / .42); }

:root[data-tv="true"][data-module="task"] .step-progress i { background: linear-gradient(90deg, var(--green), var(--amber)); box-shadow: 0 0 10px rgb(93 242 192 / .28); }
:root[data-tv="true"][data-module="task"] .execution-path li[data-state="running"] { box-shadow: inset 3px 0 var(--green), inset 0 0 22px rgb(93 242 192 / .045); }

:root[data-tv="true"][data-module="asset"] .credential-pass {
  border-color: rgb(255 209 102 / .50);
  background: radial-gradient(ellipse at 16% 0, rgb(255 125 156 / .22), transparent 70%), linear-gradient(120deg, #3a2338dd, #09223ae8);
  box-shadow: 0 18px 38px #0005, inset 0 0 28px rgb(255 209 102 / .06);
}
:root[data-tv="true"][data-module="asset"] .credential-pass strong { color: var(--gold); text-shadow: 0 0 17px rgb(255 209 102 / .30); }
:root[data-tv="true"][data-module="asset"] .credential-lifecycle .available { border-color: rgb(93 242 192 / .40); }
:root[data-tv="true"][data-module="asset"] .credential-lifecycle .consumed { border-color: rgb(255 125 156 / .45); }
:root[data-tv="true"][data-module="asset"] .credential-lifecycle .consumed strong,
:root[data-tv="true"][data-module="asset"] .credential-lifecycle .consumed span { color: var(--coral); }

:root[data-tv="true"][data-module="command"] .event-kind { color: var(--cyan); border-color: rgb(110 233 255 / .34); background: rgb(110 233 255 / .075); }
:root[data-tv="true"][data-module="command"] .event-record::before { background: var(--cyan); box-shadow: 0 0 9px rgb(110 233 255 / .36); }

:root[data-tv="true"] .tv-controls > summary { border-color: rgb(var(--accent-rgb) / .38); background: #07182be8; }
:root[data-tv="true"] .tv-controls > div { border-color: rgb(var(--accent-rgb) / .38); box-shadow: 0 16px 36px #0008; }

@keyframes tv-ambient-breathe {
  from { opacity: .62; }
  to { opacity: .76; }
}
@keyframes agent-reticle-breathe {
  from { opacity: .66; filter: drop-shadow(0 0 2px rgb(196 166 255 / .20)); }
  to { opacity: 1; filter: drop-shadow(0 0 7px rgb(196 166 255 / .38)); }
}
:root[data-motion="paused"] body::before,
:root[data-motion="paused"] .agent-topology[data-running="true"] .engine-reticle { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  :root[data-tv="true"] body::before,
  :root[data-tv="true"] .agent-topology[data-running="true"] .engine-reticle { animation: none !important; }
}

/* Screen 2 optical fit for the installed 1920x1080 / 100% wall. */
@media (min-width: 1800px) and (max-width: 2000px) and (min-height: 1000px) and (max-height: 1120px) {
  :root[data-tv="true"][data-module="agent"] .module-shell {
    padding-left: calc(1rem + 24px);
  }
  :root[data-tv="true"][data-module="agent"] .tv-screen-number {
    left: calc(1.15rem + 24px);
  }
  :root[data-tv="true"][data-module="agent"] .tv-dashboard { font-size: 17px; }
  :root[data-tv="true"][data-module="agent"] .agent-engine { height: 66%; max-width: 24%; }
}

/* Visual system 3.1 — deepen each business screen without changing its layout or data. */
:root[data-tv="true"][data-module="enterprise"] .metric:first-child dd {
  color: var(--gold);
  text-shadow: 0 0 18px rgb(255 209 102 / .30);
}
:root[data-tv="true"][data-module="enterprise"] .city-panorama {
  border-color: rgb(110 233 255 / .38);
  box-shadow: inset 0 0 46px rgb(0 72 128 / .16), 0 14px 34px #0005;
}
:root[data-tv="true"][data-module="enterprise"] .scene-overlay {
  padding: .7rem .8rem;
  border-left: 2px solid var(--gold);
  background: linear-gradient(90deg, rgb(4 17 33 / .88), rgb(4 17 33 / .28));
  box-shadow: 0 0 20px rgb(255 209 102 / .08);
}
:root[data-tv="true"][data-module="enterprise"] .city-label {
  color: #dff9ff;
  border-color: rgb(110 233 255 / .40);
  background: rgb(3 15 29 / .80);
  box-shadow: inset 0 0 14px rgb(110 233 255 / .045), 0 0 14px #00101d66;
}
:root[data-tv="true"][data-module="enterprise"] .ecosystem-route {
  border-top-color: rgb(110 233 255 / .45);
  box-shadow: inset 0 1px rgb(110 233 255 / .06);
}
:root[data-tv="true"][data-module="enterprise"] .ecosystem-route:nth-child(2) {
  border-top-color: rgb(196 166 255 / .55);
  box-shadow: inset 0 1px rgb(196 166 255 / .06);
}
:root[data-tv="true"][data-module="enterprise"] .ecosystem-route:nth-child(3) {
  border-top-color: rgb(93 242 192 / .55);
  box-shadow: inset 0 1px rgb(93 242 192 / .06);
}
:root[data-tv="true"][data-module="enterprise"] .business-path li:nth-child(1) { border-top-color: var(--cyan); }
:root[data-tv="true"][data-module="enterprise"] .business-path li:nth-child(2) { border-top-color: var(--violet); }
:root[data-tv="true"][data-module="enterprise"] .business-path li:nth-child(3) { border-top-color: var(--gold); }
:root[data-tv="true"][data-module="enterprise"] .business-path li:nth-child(4) { border-top-color: var(--green); }

:root[data-tv="true"][data-module="analytics"] .value-lenses article {
  border-top: 1px solid var(--instrument-light);
  box-shadow: inset 0 1px rgb(255 255 255 / .035), inset 0 0 24px rgb(255 255 255 / .018);
}
:root[data-tv="true"][data-module="analytics"] .value-lenses article::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at 92% 12%, currentColor, transparent 34%);
  opacity: .035;
}
:root[data-tv="true"][data-module="analytics"] .value-instrument,
:root[data-tv="true"][data-module="analytics"] .value-scale {
  filter: drop-shadow(0 0 6px currentColor);
}
:root[data-tv="true"][data-module="analytics"] .evaluation-status {
  border-color: rgb(255 180 84 / .42);
  background: linear-gradient(135deg, rgb(255 180 84 / .09), rgb(5 14 30 / .74));
  box-shadow: inset 0 0 22px rgb(255 180 84 / .035);
}

:root[data-tv="true"][data-module="supply"] .globe-stage {
  border: 1px solid rgb(69 224 212 / .18);
  box-shadow: inset 0 0 54px rgb(69 224 212 / .07);
}
:root[data-tv="true"][data-module="supply"] .globe-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 58%, rgb(69 224 212 / .06));
  box-shadow: inset 0 -1px rgb(69 224 212 / .25);
}
:root[data-tv="true"][data-module="supply"] .service-hub strong { color: var(--amber); text-shadow: 0 0 12px rgb(255 180 84 / .22); }
:root[data-tv="true"][data-module="supply"] .service-spokes > div {
  border-top: 1px solid rgb(69 224 212 / .28);
  background: linear-gradient(180deg, rgb(69 224 212 / .035), transparent 72%);
}
:root[data-tv="true"][data-module="supply"] [data-tv-slot="warning"] .section-title {
  background: linear-gradient(90deg, rgb(255 125 156 / .13), transparent 78%);
}

:root[data-tv="true"][data-module="knowledge"] .network-stage,
:root[data-tv="true"][data-module="knowledge"] .relation-stage {
  box-shadow: inset 0 0 44px rgb(106 141 255 / .055);
}
:root[data-tv="true"][data-module="knowledge"] .network-center {
  border: 1px solid rgb(106 141 255 / .30);
  box-shadow: inset 0 0 22px rgb(106 141 255 / .07), 0 0 24px rgb(106 141 255 / .13);
}
:root[data-tv="true"][data-module="knowledge"] .network-location[data-state="reachable"] i {
  box-shadow: 0 0 0 3px rgb(93 242 192 / .10), 0 0 12px rgb(93 242 192 / .64);
}
:root[data-tv="true"][data-module="knowledge"] .relation-stage::before { border-color: rgb(106 141 255 / .42); }
:root[data-tv="true"][data-module="knowledge"] .relation-stage::after { border-color: rgb(196 166 255 / .34); }
:root[data-tv="true"][data-module="knowledge"] .receipt-id { color: #aebfff; text-shadow: 0 0 10px rgb(106 141 255 / .20); }

:root[data-tv="true"][data-module="task"] .execution-path li {
  border-left: 2px solid rgb(107 122 144 / .26);
  padding-left: .7rem;
}
:root[data-tv="true"][data-module="task"] .execution-path li[data-state="success"] {
  border-left-color: var(--green);
  background: linear-gradient(90deg, rgb(93 242 192 / .065), transparent 62%);
}
:root[data-tv="true"][data-module="task"] .execution-path li[data-state="waiting"] {
  border-left-color: var(--amber);
  background: linear-gradient(90deg, rgb(255 180 84 / .065), transparent 62%);
}
:root[data-tv="true"][data-module="task"] .step-sequence {
  border-color: rgb(93 242 192 / .44);
  box-shadow: inset 0 0 12px rgb(93 242 192 / .06);
}
:root[data-tv="true"][data-module="task"] .outcome-stage > div:nth-child(1) { border-top-color: var(--green); }
:root[data-tv="true"][data-module="task"] .outcome-stage > div:nth-child(2) { border-top-color: var(--amber); }
:root[data-tv="true"][data-module="task"] .outcome-stage > div:nth-child(3) { border-top-color: var(--violet); }

:root[data-tv="true"][data-module="asset"] .credential-stage {
  background: radial-gradient(ellipse at 50% 72%, rgb(255 209 102 / .08), transparent 58%);
}
:root[data-tv="true"][data-module="asset"] .credential-floor {
  border-color: rgb(255 209 102 / .38);
  box-shadow: 0 0 30px rgb(255 125 156 / .12), inset 0 0 30px rgb(255 209 102 / .08);
}
:root[data-tv="true"][data-module="asset"] .credential-stack i {
  border-color: rgb(255 125 156 / .34);
  background: rgb(255 125 156 / .035);
}
:root[data-tv="true"][data-module="asset"] .credential-lifecycle .available {
  color: var(--green);
  background: linear-gradient(120deg, rgb(93 242 192 / .14), #081828 74%);
  box-shadow: inset 0 0 18px rgb(93 242 192 / .05);
}
:root[data-tv="true"][data-module="asset"] .credential-lifecycle .consumed {
  color: var(--coral);
  background: linear-gradient(120deg, rgb(255 125 156 / .15), #101427 74%);
  box-shadow: inset 0 0 18px rgb(255 125 156 / .06);
}
:root[data-tv="true"][data-module="asset"] .credential-lifecycle .available > span,
:root[data-tv="true"][data-module="asset"] .credential-lifecycle .consumed > span {
  font-size: 1.35rem;
  text-shadow: 0 0 14px currentColor;
}
:root[data-tv="true"][data-module="asset"] .business-path li:nth-child(1) { border-top-color: var(--green); }
:root[data-tv="true"][data-module="asset"] .business-path li:nth-child(2) { border-top-color: var(--gold); }
:root[data-tv="true"][data-module="asset"] .business-path li:nth-child(3) { border-top-color: var(--coral); }

:root[data-tv="true"][data-module="command"] .event-record {
  border-left: 2px solid rgb(110 233 255 / .56);
  background: linear-gradient(90deg, rgb(110 233 255 / .07), rgb(5 14 30 / .50) 64%);
}
:root[data-tv="true"][data-module="command"] .event-record:has(.state.success) {
  border-left-color: var(--green);
  background: linear-gradient(90deg, rgb(93 242 192 / .065), rgb(5 14 30 / .50) 64%);
}
:root[data-tv="true"][data-module="command"] .event-record:has(.state.waiting) {
  border-left-color: var(--amber);
  background: linear-gradient(90deg, rgb(255 180 84 / .065), rgb(5 14 30 / .50) 64%);
}
:root[data-tv="true"][data-module="command"] .event-record:has(.state.error) {
  border-left-color: var(--coral);
  background: linear-gradient(90deg, rgb(255 125 156 / .08), rgb(5 14 30 / .50) 64%);
}
:root[data-tv="true"][data-module="command"] [data-tv-slot="chain"] tbody tr {
  box-shadow: inset 2px 0 rgb(255 180 84 / .18);
}
