/* AI command center: isolated to this page so the public site keeps its existing theme. */
.ai-center-page {
  --cc-bg: #030712;
  --cc-panel: rgba(9, 20, 42, .82);
  --cc-panel-strong: #09172e;
  --cc-line: rgba(119, 173, 255, .2);
  --cc-line-bright: rgba(85, 217, 255, .58);
  --cc-text: #eef7ff;
  --cc-muted: #94abc2;
  --cc-cyan: #35d9ff;
  --cc-teal: #26e1bc;
  --cc-purple: #a982ff;
  --cc-orange: #ffac5c;
  --cc-red: #ff637d;
  color: var(--cc-text);
  background: var(--cc-bg);
}

.ai-center-page main {
  position: relative;
  overflow: clip;
  background:
    radial-gradient(circle at 14% 12%, rgba(32, 126, 238, .15), transparent 28rem),
    radial-gradient(circle at 88% 24%, rgba(126, 75, 238, .14), transparent 30rem),
    linear-gradient(180deg, #030712 0%, #06101f 48%, #071426 100%);
}

.ai-center-page .site-header {
  color: var(--cc-text);
  background: rgba(3, 9, 21, .88);
  border-bottom-color: rgba(115, 169, 228, .16);
}

.ai-center-page .site-nav a { color: #b9cbe0; }
.ai-center-page .site-nav a:hover,
.ai-center-page .site-nav a[aria-current="page"] { color: #fff; background: rgba(76, 126, 221, .18); }
.ai-center-page .nav-toggle { background: rgba(119, 173, 255, .12); }
.ai-center-page .nav-toggle span:not(.sr-only) { background: #d8eaff; }

.ai-center-page .ai-command-center {
  position: relative;
  isolation: isolate;
  min-width: 0;
}

.ai-center-page .ai-command-center::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: .2;
  background-image:
    linear-gradient(rgba(78, 152, 232, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(78, 152, 232, .08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000, transparent 75%);
}

.ai-center-page .command-hero {
  position: relative;
  padding: 38px 0 82px;
}

.ai-center-page .command-hero::after {
  content: "";
  position: absolute;
  right: -13vw;
  top: -16rem;
  width: 44rem;
  height: 44rem;
  border: 1px solid rgba(135, 101, 255, .15);
  border-radius: 50%;
  box-shadow:
    0 0 0 5rem rgba(93, 82, 224, .025),
    0 0 0 10rem rgba(53, 217, 255, .018);
  pointer-events: none;
}

.ai-center-page .command-container {
  width: min(calc(100% - 32px), 1500px);
  margin-inline: auto;
}

.ai-center-page .command-kicker,
.ai-center-page .command-live-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  color: #ccefff;
  border: 1px solid rgba(53, 217, 255, .28);
  border-radius: 999px;
  background: rgba(16, 57, 91, .48);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.ai-center-page .command-live-tag::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cc-teal);
  box-shadow: 0 0 14px var(--cc-teal);
}

.ai-center-page .command-title-row {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  margin: 26px 0 22px;
}

.ai-center-page .command-title-row h1 {
  max-width: 920px;
  margin: 0;
  color: #f5faff;
  font-size: clamp(2.2rem, 4.8vw, 4.9rem);
  line-height: 1.04;
  text-shadow: 0 0 36px rgba(77, 180, 255, .18);
}

.ai-center-page .command-title-row h1 em {
  color: transparent;
  background: linear-gradient(95deg, #5ae3ff, #a982ff 56%, #ffb35f);
  background-clip: text;
  -webkit-background-clip: text;
  font-style: normal;
}

.ai-center-page .command-title-row p,
.ai-center-page .command-lead {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--cc-muted);
  font-size: clamp(.98rem, 1.4vw, 1.12rem);
}

.ai-center-page .demo-trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 24px 0;
  padding: 13px 18px;
  color: #c9d8e8;
  border: 1px solid rgba(105, 157, 218, .2);
  border-radius: 13px;
  background: rgba(8, 19, 37, .65);
  backdrop-filter: blur(15px);
  font-size: .83rem;
  font-weight: 700;
}

.ai-center-page .demo-trust-bar span { display: inline-flex; align-items: center; }
.ai-center-page .demo-trust-bar span + span::before {
  content: "";
  width: 1px;
  height: 13px;
  margin: 0 13px;
  background: rgba(145, 183, 224, .32);
}
.ai-center-page .demo-trust-bar strong { color: #6de8ca; }

.ai-center-page .demo-switcher,
.ai-center-page .view-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ai-center-page [data-demo-tab],
.ai-center-page [data-view-tab] {
  position: relative;
  min-height: 42px;
  padding: 9px 16px;
  color: #9fb4ca;
  border: 1px solid rgba(113, 157, 210, .2);
  border-radius: 10px;
  background: rgba(13, 31, 57, .7);
  font-size: .86rem;
  font-weight: 800;
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}

.ai-center-page [data-demo-tab]:hover,
.ai-center-page [data-view-tab]:hover { color: #fff; border-color: rgba(53, 217, 255, .48); transform: translateY(-1px); }
.ai-center-page [data-demo-tab][aria-selected="true"],
.ai-center-page [data-view-tab][aria-selected="true"],
.ai-center-page [data-demo-tab].is-active,
.ai-center-page [data-view-tab].is-active {
  color: #fff;
  border-color: rgba(99, 219, 255, .62);
  background: linear-gradient(135deg, rgba(29, 112, 178, .65), rgba(91, 66, 170, .58));
  box-shadow: inset 0 0 18px rgba(65, 207, 255, .12), 0 6px 22px rgba(3, 8, 20, .32);
}

.ai-center-page .command-screen {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(112, 171, 235, .26);
  border-radius: 24px;
  background: rgba(3, 10, 23, .84);
  box-shadow: 0 35px 100px rgba(0, 0, 0, .42), inset 0 1px rgba(255, 255, 255, .035);
  backdrop-filter: blur(20px);
}

.ai-center-page .command-screen::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, rgba(52, 205, 255, .045), transparent 30%, transparent 70%, rgba(158, 94, 255, .05));
}

.ai-center-page .screen-topbar {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  min-height: 64px;
  padding: 11px 18px;
  border-bottom: 1px solid rgba(112, 171, 235, .16);
  background: rgba(10, 24, 45, .72);
}

.ai-center-page .screen-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.ai-center-page .screen-brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border: 1px solid rgba(77, 220, 255, .56);
  border-radius: 10px;
  color: #dff9ff;
  background: linear-gradient(145deg, rgba(47, 198, 239, .2), rgba(125, 82, 239, .22));
  box-shadow: 0 0 20px rgba(48, 209, 255, .18);
  font-size: .74rem;
  font-weight: 900;
}

.ai-center-page .screen-brand strong { display: block; color: #eaf6ff; font-size: .92rem; }
.ai-center-page .screen-brand small { display: block; overflow: hidden; color: #6f8eaa; font-size: .68rem; text-overflow: ellipsis; white-space: nowrap; }

.ai-center-page .screen-clock,
.ai-center-page [data-demo-status] {
  color: #7eead2;
  font-size: .76rem;
  font-weight: 700;
}

.ai-center-page .screen-body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(235px, .26fr) minmax(0, .74fr);
  min-height: min(720px, calc(100vh - 128px));
}

.ai-center-page .command-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
  padding: 22px;
  border-right: 1px solid rgba(112, 171, 235, .16);
  background: rgba(8, 20, 40, .68);
}

.ai-center-page .command-sidebar h2 { margin: 0; color: #f2f9ff; font-size: clamp(1.35rem, 2.3vw, 2.05rem); }
.ai-center-page .command-sidebar p { margin: 0; color: var(--cc-muted); font-size: .84rem; }
.ai-center-page .command-meta { display: grid; gap: 9px; }
.ai-center-page .command-meta-item {
  padding: 11px 12px;
  border: 1px solid rgba(110, 159, 211, .14);
  border-radius: 10px;
  background: rgba(18, 39, 70, .52);
}
.ai-center-page .command-meta-item span { display: block; margin-bottom: 3px; color: #6f8aa7; font-size: .68rem; font-weight: 800; letter-spacing: .05em; }
.ai-center-page .command-meta-item strong { display: block; color: #d9eaff; font-size: .8rem; line-height: 1.5; }

.ai-center-page .command-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: auto;
}

.ai-center-page .command-controls button {
  min-width: 0;
  min-height: 40px;
  padding: 8px 10px;
  color: #c8dcf0;
  border: 1px solid rgba(111, 164, 220, .25);
  border-radius: 9px;
  background: rgba(18, 44, 77, .72);
  font-size: .76rem;
  font-weight: 800;
  transition: .18s ease;
}
.ai-center-page .command-controls button:hover { color: #fff; border-color: rgba(53, 217, 255, .6); background: rgba(29, 77, 121, .82); }
.ai-center-page .command-controls [data-play],
.ai-center-page .command-controls [data-restart] { color: #fff; background: linear-gradient(135deg, #146b9b, #5e42a1); }
.ai-center-page .command-controls [data-fullscreen] { grid-column: 1 / -1; }
.ai-center-page .command-controls button:disabled { cursor: not-allowed; opacity: .48; }

.ai-center-page .command-content { min-width: 0; }
.ai-center-page [data-view-panel][hidden] { display: none !important; }
.ai-center-page [data-view-panel] { min-width: 0; min-height: 100%; }

.ai-center-page .star-view {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, .32fr);
  min-height: 100%;
}

.ai-center-page .star-map-panel { min-width: 0; padding: 16px; }
.ai-center-page .star-map-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 42px;
  margin-bottom: 8px;
}
.ai-center-page .star-map-heading h3 { margin: 0; color: #dff5ff; font-size: .9rem; letter-spacing: .05em; }
.ai-center-page .map-legend { display: flex; flex-wrap: wrap; gap: 8px 12px; color: #7791aa; font-size: .65rem; }
.ai-center-page .map-legend span { display: inline-flex; align-items: center; gap: 5px; }
.ai-center-page .map-legend i { width: 7px; height: 7px; border-radius: 50%; background: var(--cc-cyan); box-shadow: 0 0 8px currentColor; }
.ai-center-page .map-legend .ai i { background: var(--cc-purple); }
.ai-center-page .map-legend .review i { background: var(--cc-orange); }
.ai-center-page .map-legend .danger i { background: var(--cc-red); }

.ai-center-page .star-map-stage {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  border: 1px solid rgba(104, 166, 230, .16);
  border-radius: 17px;
  background:
    radial-gradient(circle at 50% 48%, rgba(69, 116, 225, .12), transparent 36%),
    linear-gradient(180deg, rgba(5, 14, 32, .8), rgba(5, 15, 31, .48));
}

.ai-center-page .star-map-stage::before,
.ai-center-page .star-map-stage::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 50%;
  width: 44%;
  aspect-ratio: 1;
  border: 1px solid rgba(81, 157, 228, .1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.ai-center-page .star-map-stage::after { width: 72%; border-style: dashed; }
.ai-center-page [data-star-canvas] { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.ai-center-page [data-star-nodes] { position: absolute; z-index: 2; inset: 0; }

.ai-center-page [data-star-node] {
  --node-color: var(--cc-cyan);
  position: absolute;
  left: calc(var(--node-x, 50) * 1%);
  top: calc(var(--node-y, 50) * 1%);
  width: clamp(76px, 8.3vw, 116px);
  min-height: 62px;
  padding: 9px 8px;
  color: #d9f6ff;
  border: 1px solid color-mix(in srgb, var(--node-color) 55%, transparent);
  border-radius: 13px;
  background: color-mix(in srgb, #0a1931 87%, var(--node-color) 13%);
  box-shadow: 0 0 0 1px rgba(255,255,255,.02), 0 8px 26px rgba(0,0,0,.28), inset 0 0 20px rgba(42, 144, 229, .04);
  transform: translate(-50%, -50%);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease, opacity .2s ease;
}
.ai-center-page [data-star-node]:hover,
.ai-center-page [data-star-node].is-active {
  z-index: 3;
  color: #fff;
  border-color: var(--node-color);
  box-shadow: 0 0 24px color-mix(in srgb, var(--node-color) 38%, transparent), inset 0 0 18px color-mix(in srgb, var(--node-color) 12%, transparent);
  transform: translate(-50%, -50%) scale(1.055);
}
.ai-center-page [data-star-node].is-complete::after,
.ai-center-page [data-star-node].is-active::after {
  content: "";
  position: absolute;
  right: 7px;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cc-teal);
  box-shadow: 0 0 9px var(--cc-teal);
}
.ai-center-page [data-star-node][data-node-type="ai"],
.ai-center-page [data-star-node][data-node-type="agent"],
.ai-center-page [data-star-node][data-node-type="knowledge"] { --node-color: var(--cc-purple); }
.ai-center-page [data-star-node][data-node-type="review"] { --node-color: var(--cc-orange); }
.ai-center-page [data-star-node][data-node-type="exception"],
.ai-center-page [data-star-node][data-node-type="danger"] { --node-color: var(--cc-red); }
.ai-center-page [data-star-node][data-node-type="writeback"],
.ai-center-page [data-star-node][data-node-type="output"] { --node-color: var(--cc-teal); }
.ai-center-page [data-star-node] [data-node-label] { display: block; font-size: .72rem; font-weight: 900; line-height: 1.3; }
.ai-center-page [data-star-node] [data-node-meta] { display: block; margin-top: 4px; overflow: hidden; color: #7690aa; font-size: .58rem; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }

.ai-center-page .evidence-drawer {
  min-width: 0;
  padding: 20px;
  border-left: 1px solid rgba(112, 171, 235, .16);
  background: rgba(8, 20, 39, .78);
}
.ai-center-page .evidence-drawer header { padding-bottom: 14px; border-bottom: 1px solid rgba(112, 171, 235, .14); }
.ai-center-page .evidence-drawer header span { color: #5c7893; font-size: .67rem; font-weight: 900; letter-spacing: .09em; }
.ai-center-page .evidence-drawer h3 { margin: 6px 0 0; color: #e9f7ff; font-size: 1.05rem; }
.ai-center-page .evidence-stack { display: grid; gap: 10px; margin-top: 15px; }
.ai-center-page .evidence-item {
  padding: 11px 12px;
  border: 1px solid rgba(107, 156, 208, .13);
  border-radius: 10px;
  background: rgba(15, 36, 64, .58);
}
.ai-center-page .evidence-item b { display: block; margin-bottom: 5px; color: #7f9fbd; font-size: .67rem; }
.ai-center-page .evidence-item p { margin: 0; color: #d0dfed; font-size: .74rem; line-height: 1.55; overflow-wrap: anywhere; }
.ai-center-page .evidence-item ul { display: grid; gap: 5px; padding: 0; margin: 0; list-style: none; }
.ai-center-page .evidence-item li { position: relative; padding-left: 11px; color: #c4d7e8; font-size: .72rem; line-height: 1.48; }
.ai-center-page .evidence-item li::before { content: ""; position: absolute; left: 0; top: .55em; width: 4px; height: 4px; border-radius: 50%; background: var(--cc-cyan); box-shadow: 0 0 6px var(--cc-cyan); }
.ai-center-page .evidence-item.is-warning { border-color: rgba(255, 172, 92, .22); background: rgba(94, 53, 26, .2); }
.ai-center-page .evidence-item.is-warning b { color: #ffc083; }

.ai-center-page .replay-view,
.ai-center-page .dashboard-view { padding: 24px; }
.ai-center-page .view-heading { display: flex; justify-content: space-between; gap: 18px; align-items: end; margin-bottom: 22px; }
.ai-center-page .view-heading h3 { margin: 0 0 5px; color: #e8f6ff; font-size: 1.32rem; }
.ai-center-page .view-heading p { margin: 0; color: #758fa7; font-size: .79rem; }

.ai-center-page .replay-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(240px, .7fr); gap: 20px; }
.ai-center-page .replay-timeline { position: relative; display: grid; gap: 9px; }
.ai-center-page .replay-timeline::before { content: ""; position: absolute; left: 21px; top: 24px; bottom: 24px; width: 1px; background: linear-gradient(var(--cc-cyan), rgba(121, 107, 220, .4), rgba(100, 135, 168, .15)); }
.ai-center-page [data-replay-step] {
  position: relative;
  display: grid;
  grid-template-columns: 43px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 64px;
  padding: 9px 12px 9px 0;
  color: #8fa7bd;
  text-align: left;
  border: 1px solid rgba(111, 161, 214, .13);
  border-radius: 11px;
  background: rgba(11, 27, 51, .58);
  transition: .2s ease;
}
.ai-center-page [data-replay-step] [data-step-index] { position: relative; z-index: 1; display: grid; place-items: center; width: 28px; height: 28px; margin-left: 8px; color: #7f9bb6; border: 1px solid #315275; border-radius: 50%; background: #0b1c35; font-size: .66rem; font-weight: 900; }
.ai-center-page [data-replay-step] [data-step-title] { display: block; color: #c8d9e8; font-size: .78rem; font-weight: 900; }
.ai-center-page [data-replay-step] [data-step-description] { display: block; margin-top: 3px; color: #6f88a0; font-size: .67rem; line-height: 1.35; }
.ai-center-page [data-replay-step] [data-step-state] { color: #64809a; font-size: .64rem; font-weight: 800; white-space: nowrap; }
.ai-center-page [data-replay-step].is-complete { border-color: rgba(38, 225, 188, .2); }
.ai-center-page [data-replay-step].is-complete [data-step-index] { color: #04271f; border-color: var(--cc-teal); background: var(--cc-teal); box-shadow: 0 0 13px rgba(38, 225, 188, .38); }
.ai-center-page [data-replay-step].is-active { color: #fff; border-color: rgba(88, 215, 255, .5); background: linear-gradient(100deg, rgba(23, 89, 137, .52), rgba(57, 45, 113, .36)); box-shadow: inset 3px 0 var(--cc-cyan), 0 8px 25px rgba(0, 0, 0, .18); }
.ai-center-page [data-replay-step].is-active [data-step-index] { color: #001921; border-color: var(--cc-cyan); background: var(--cc-cyan); box-shadow: 0 0 15px rgba(53, 217, 255, .5); }
.ai-center-page [data-replay-step].is-active [data-step-title] { color: #fff; }
.ai-center-page [data-replay-step].is-active [data-step-state] { color: #6ce7ff; }

.ai-center-page .replay-evidence {
  align-self: start;
  padding: 20px;
  border: 1px solid rgba(111, 166, 221, .18);
  border-radius: 14px;
  background: rgba(9, 24, 47, .72);
}
.ai-center-page .replay-evidence h4 { margin: 0 0 14px; color: #e3f4ff; }
.ai-center-page .replay-evidence dl { display: grid; gap: 11px; margin: 0; }
.ai-center-page .replay-evidence div { padding-bottom: 10px; border-bottom: 1px solid rgba(110, 159, 211, .12); }
.ai-center-page .replay-evidence dt { margin-bottom: 3px; color: #6e89a3; font-size: .66rem; font-weight: 800; }
.ai-center-page .replay-evidence dd { margin: 0; color: #c8d9e8; font-size: .75rem; overflow-wrap: anywhere; }

.ai-center-page .metric-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.ai-center-page [data-metric] {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(109, 162, 218, .16);
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(15, 38, 68, .7), rgba(10, 25, 48, .65));
}
.ai-center-page [data-metric-label] { display: block; overflow: hidden; color: #6f8aa4; font-size: .65rem; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.ai-center-page [data-metric-value] { display: block; margin-top: 7px; color: #e9f8ff; font-size: clamp(1rem, 1.8vw, 1.5rem); font-weight: 900; line-height: 1; }
.ai-center-page [data-metric-note] { display: block; margin-top: 6px; color: #4fbdd0; font-size: .61rem; }

.ai-center-page .chart-grid { display: grid; grid-template-columns: .82fr 1.18fr 1fr; gap: 13px; }
.ai-center-page .chart-card {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(111, 163, 216, .15);
  border-radius: 13px;
  background: rgba(9, 24, 46, .72);
}
.ai-center-page .chart-card header { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-bottom: 12px; }
.ai-center-page .chart-card h4 { margin: 0; color: #ddecf8; font-size: .78rem; }
.ai-center-page .chart-card small { color: #58728d; font-size: .6rem; }
.ai-center-page .chart-frame { position: relative; height: 210px; }
.ai-center-page .chart-frame canvas { max-width: 100%; max-height: 100%; }
.ai-center-page [data-chart-fallback] { margin: 0; color: #8ca3b9; font-size: .7rem; line-height: 1.7; }
.ai-center-page .audit-feed { display: grid; gap: 8px; margin-top: 14px; }
.ai-center-page .audit-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 9px; align-items: center; padding: 8px 10px; border: 1px solid rgba(109, 159, 211, .12); border-radius: 8px; color: #a9bdd0; background: rgba(12, 31, 56, .55); font-size: .65rem; }
.ai-center-page .audit-item i { width: 6px; height: 6px; border-radius: 50%; background: var(--cc-teal); box-shadow: 0 0 8px var(--cc-teal); }
.ai-center-page .audit-item.warning i { background: var(--cc-orange); box-shadow: 0 0 8px var(--cc-orange); }

.ai-center-page .command-screen:fullscreen {
  width: 100vw;
  height: 100vh;
  border: 0;
  border-radius: 0;
  background: #030a17;
}
.ai-center-page .command-screen:fullscreen .screen-body { min-height: calc(100vh - 64px); }
.ai-center-page .command-screen:fullscreen .star-map-stage { min-height: calc(100vh - 138px); }

/* Supporting content remains part of the command-center visual system. */
.ai-center-page .command-lower-section { padding: 84px 0; border-top: 1px solid rgba(104, 160, 218, .1); }
.ai-center-page .command-lower-section:nth-of-type(even) { background: rgba(8, 21, 40, .5); }
.ai-center-page .command-lower-section .section-heading h2 { color: #eef7ff; }
.ai-center-page .command-lower-section .section-heading p { color: var(--cc-muted); }
.ai-center-page .command-lower-section .eyebrow { color: #63dcf6; }
.ai-center-page .command-lower-section .boundary-card,
.ai-center-page .command-lower-section .hub-metric,
.ai-center-page .implementation-step {
  color: #dcecf8;
  border-color: rgba(111, 163, 216, .16);
  background: rgba(11, 29, 54, .76);
  box-shadow: none;
}
.ai-center-page .command-lower-section .boundary-card p,
.ai-center-page .command-lower-section .hub-metric p,
.ai-center-page .implementation-step p { color: #8da5bb; }
.ai-center-page .implementation-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ai-center-page .implementation-step { position: relative; min-height: 170px; padding: 21px; border: 1px solid rgba(111, 163, 216, .16); border-radius: 14px; }
.ai-center-page .implementation-step b { display: block; margin-bottom: 16px; color: var(--cc-cyan); font-size: 1.05rem; }
.ai-center-page .implementation-step h3 { color: #e8f5ff; font-size: .95rem; }
.ai-center-page .implementation-step p { margin: 0; font-size: .76rem; }
.ai-center-page .contact-section { background: linear-gradient(150deg, rgba(12, 42, 67, .94), rgba(49, 35, 87, .94)); }
.ai-center-page .contact-section h2 { color: #fff; }
.ai-center-page .contact-section p { color: #acc0d2; }
.ai-center-page .site-footer { background: #020812; }

@media (max-width: 1180px) {
  .ai-center-page .screen-body { grid-template-columns: 220px minmax(0, 1fr); }
  .ai-center-page .star-view { grid-template-columns: minmax(0, 1fr) 230px; }
  .ai-center-page .star-map-stage { min-height: 500px; }
  .ai-center-page .chart-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ai-center-page .chart-card:last-child { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .ai-center-page .command-hero { padding-top: 28px; }
  .ai-center-page .command-title-row { display: block; }
  .ai-center-page .command-title-row p { margin-top: 16px; }
  .ai-center-page .screen-topbar { align-items: flex-start; flex-direction: column; }
  .ai-center-page .view-switcher { width: 100%; }
  .ai-center-page [data-view-tab] { flex: 1 1 30%; }
  .ai-center-page .screen-body { grid-template-columns: 1fr; min-height: 0; }
  .ai-center-page .command-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .75fr); border-right: 0; border-bottom: 1px solid rgba(112, 171, 235, .16); }
  .ai-center-page .command-meta { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ai-center-page .command-controls { align-self: end; margin: 0; }
  .ai-center-page .star-view { grid-template-columns: minmax(0, 1fr) minmax(220px, .38fr); }
  .ai-center-page .star-map-stage { min-height: 490px; }
  .ai-center-page [data-star-node] { width: 82px; }
  .ai-center-page .metric-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ai-center-page .implementation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .ai-center-page .command-container { width: min(calc(100% - 20px), 1500px); }
  .ai-center-page .command-hero { padding: 20px 0 58px; }
  .ai-center-page .command-title-row { margin-top: 20px; }
  .ai-center-page .command-title-row h1 { font-size: clamp(2rem, 11vw, 3.15rem); }
  .ai-center-page .demo-trust-bar { display: grid; gap: 7px; padding: 12px; }
  .ai-center-page .demo-trust-bar span + span::before { display: none; }
  .ai-center-page .demo-switcher { display: grid; grid-template-columns: 1fr; }
  .ai-center-page [data-demo-tab] { width: 100%; text-align: left; }
  .ai-center-page .command-screen { border-radius: 16px; }
  .ai-center-page .screen-topbar { padding: 12px; }
  .ai-center-page [data-view-tab] { padding-inline: 8px; font-size: .75rem; }
  .ai-center-page .command-sidebar { display: block; padding: 16px; }
  .ai-center-page .command-sidebar > * + * { margin-top: 14px; }
  .ai-center-page .command-meta { display: grid; grid-template-columns: 1fr; }
  .ai-center-page .command-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ai-center-page .star-view { display: block; }
  .ai-center-page .star-map-panel { padding: 12px; }
  .ai-center-page .star-map-heading { align-items: flex-start; flex-direction: column; }
  .ai-center-page .star-map-stage { min-height: 0; padding: 12px; overflow: visible; }
  .ai-center-page .star-map-stage::before,
  .ai-center-page .star-map-stage::after { display: none; }
  .ai-center-page [data-star-canvas] { opacity: .4; }
  .ai-center-page [data-star-nodes] { position: relative; display: grid; gap: 8px; inset: auto; }
  .ai-center-page [data-star-node] {
    position: relative;
    left: auto;
    top: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    width: 100%;
    min-height: 54px;
    padding: 10px 12px;
    text-align: left;
    transform: none;
  }
  .ai-center-page [data-star-node]:hover,
  .ai-center-page [data-star-node].is-active { transform: translateX(3px); }
  .ai-center-page [data-star-node] [data-node-meta] { margin: 0; text-align: right; }
  .ai-center-page .evidence-drawer { padding: 16px; border-top: 1px solid rgba(112, 171, 235, .16); border-left: 0; }
  .ai-center-page .evidence-stack { grid-template-columns: 1fr; }
  .ai-center-page .replay-view,
  .ai-center-page .dashboard-view { padding: 15px 12px; }
  .ai-center-page .view-heading { display: block; }
  .ai-center-page .view-heading > * + * { margin-top: 8px; }
  .ai-center-page .replay-layout { grid-template-columns: 1fr; }
  .ai-center-page [data-replay-step] { grid-template-columns: 40px minmax(0, 1fr); }
  .ai-center-page [data-replay-step] [data-step-state] { grid-column: 2; }
  .ai-center-page .metric-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ai-center-page .chart-grid { grid-template-columns: 1fr; }
  .ai-center-page .chart-card:last-child { grid-column: auto; }
  .ai-center-page .chart-frame { height: 190px; }
  .ai-center-page .implementation-grid { grid-template-columns: 1fr; }
  .ai-center-page .command-lower-section { padding: 58px 0; }
}

@media (prefers-reduced-motion: reduce) {
  .ai-center-page *,
  .ai-center-page *::before,
  .ai-center-page *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media (forced-colors: active) {
  .ai-center-page [data-star-node],
  .ai-center-page [data-demo-tab],
  .ai-center-page [data-view-tab],
  .ai-center-page [data-replay-step] { border: 1px solid ButtonText; }
}

/* Production markup contract (.ai-*). These rules intentionally avoid inline
   coordinates: the deterministic topology still works under a strict CSP. */
.ai-center-page .ai-command-center {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - 76px);
  padding: 28px 0 76px;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 16%, rgba(31, 142, 236, .18), transparent 28rem),
    radial-gradient(circle at 88% 28%, rgba(137, 78, 239, .17), transparent 31rem),
    linear-gradient(160deg, #020712 0%, #061327 58%, #07101f 100%);
}

.ai-center-page .ai-command-center::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  pointer-events: none;
  opacity: .24;
  background-image:
    linear-gradient(rgba(78, 152, 232, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(78, 152, 232, .08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000 55%, transparent);
}

.ai-center-page .ai-command-center__stars {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.ai-center-page .ai-command-center__glow {
  position: absolute;
  z-index: -1;
  top: -17rem;
  right: -17rem;
  width: 46rem;
  height: 46rem;
  border: 1px solid rgba(149, 116, 255, .13);
  border-radius: 50%;
  box-shadow: 0 0 0 5rem rgba(109, 83, 236, .025), 0 0 0 10rem rgba(53, 217, 255, .018);
  pointer-events: none;
}

.ai-center-page .ai-command-center__inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 32px), 1500px);
  max-width: none;
}

.ai-center-page .ai-command-center__topline {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  min-height: 48px;
  padding: 9px 14px;
  border: 1px solid rgba(104, 164, 226, .17);
  border-radius: 13px;
  background: rgba(7, 18, 36, .62);
  backdrop-filter: blur(15px);
}

.ai-center-page .ai-command-center__topline > div { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.ai-center-page .ai-command-center__topline > strong { color: #a9bed2; font-size: .72rem; letter-spacing: .025em; text-align: right; }
.ai-center-page .ai-screen-kicker { color: #72dcf5; font-size: .68rem; font-weight: 900; letter-spacing: .12em; }
.ai-center-page .ai-screen-status { display: inline-flex; gap: 7px; align-items: center; color: #8da9c1; font-size: .68rem; }
.ai-center-page .ai-screen-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--cc-teal); box-shadow: 0 0 11px var(--cc-teal); }

.ai-center-page .ai-demo-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.ai-center-page .ai-demo-tabs [data-demo-tab] {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  min-height: 72px;
  padding: 12px 15px;
  text-align: left;
}
.ai-center-page .ai-demo-tabs [data-demo-tab] span { color: #6f8ba5; font-size: .65rem; }
.ai-center-page .ai-demo-tabs [data-demo-tab] strong { max-width: 100%; margin-top: 4px; overflow: hidden; color: inherit; font-size: .82rem; text-overflow: ellipsis; white-space: nowrap; }

.ai-center-page .ai-command-grid {
  display: grid;
  grid-template-columns: minmax(250px, .24fr) minmax(0, .76fr);
  min-height: min(725px, calc(100vh - 210px));
  overflow: hidden;
  border: 1px solid rgba(112, 171, 235, .26);
  border-radius: 22px;
  background: rgba(3, 10, 23, .8);
  box-shadow: 0 35px 100px rgba(0, 0, 0, .42), inset 0 1px rgba(255, 255, 255, .035);
  backdrop-filter: blur(20px);
}

.ai-center-page .ai-command-intro {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: clamp(20px, 2.2vw, 32px);
  border-right: 1px solid rgba(112, 171, 235, .16);
  background: linear-gradient(155deg, rgba(10, 30, 56, .86), rgba(10, 20, 43, .67));
}
.ai-center-page .ai-command-intro h1 { margin: 1px 0 0; color: #f3f9ff; font-size: clamp(1.65rem, 2.5vw, 2.65rem); line-height: 1.12; }
.ai-center-page .ai-command-intro > p { margin: 0; color: #8fa8bd; font-size: .82rem; }
.ai-center-page .ai-command-intro .ai-command-subject { color: #55dffa; font-size: .76rem; font-weight: 800; }

.ai-center-page .ai-trust-boundary {
  padding: 15px;
  border: 1px solid rgba(110, 162, 218, .17);
  border-radius: 12px;
  background: rgba(13, 36, 66, .58);
}
.ai-center-page .ai-trust-boundary strong { color: #dcefff; font-size: .77rem; }
.ai-center-page .ai-trust-boundary ul { display: grid; gap: 7px; padding: 0; margin: 10px 0 0; color: #8da6bb; font-size: .7rem; list-style: none; }
.ai-center-page .ai-trust-boundary li { position: relative; padding-left: 14px; }
.ai-center-page .ai-trust-boundary li::before { content: ""; position: absolute; left: 0; top: .68em; width: 5px; height: 5px; border-radius: 50%; background: var(--cc-teal); box-shadow: 0 0 7px var(--cc-teal); }

.ai-center-page .ai-playback-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: auto;
}
.ai-center-page .ai-playback-controls button {
  min-width: 0;
  min-height: 40px;
  padding: 8px 9px;
  color: #c7daeb;
  border: 1px solid rgba(111, 164, 220, .25);
  border-radius: 9px;
  background: rgba(18, 44, 77, .72);
  font-size: .72rem;
  font-weight: 800;
  transition: .18s ease;
}
.ai-center-page .ai-playback-controls button:hover { color: #fff; border-color: rgba(53, 217, 255, .6); background: rgba(29, 77, 121, .82); }
.ai-center-page .ai-playback-controls .ai-control-primary,
.ai-center-page .ai-playback-controls [data-restart] { color: #fff; background: linear-gradient(135deg, #126f9d, #6143a5); }
.ai-center-page .ai-playback-controls [data-fullscreen] { grid-column: 1 / -1; }
.ai-center-page .ai-playback-controls button:disabled { cursor: not-allowed; opacity: .43; }
.ai-center-page .ai-playback-hint { color: #607b94 !important; font-size: .66rem !important; line-height: 1.5; }

.ai-center-page .ai-console { min-width: 0; background: rgba(4, 13, 29, .52); }
.ai-center-page .ai-view-tabs {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 7px;
  min-height: 58px;
  padding: 9px 13px;
  align-items: center;
  border-bottom: 1px solid rgba(112, 171, 235, .15);
  background: rgba(9, 24, 45, .68);
}
.ai-center-page .ai-view-tabs [data-view-tab] { min-height: 38px; padding: 8px 15px; }
.ai-center-page .ai-view-panel[hidden] { display: none !important; }
.ai-center-page .ai-view-panel { min-width: 0; min-height: calc(100% - 58px); }

.ai-center-page #ai-view-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, .31fr);
}

.ai-center-page .ai-star-map {
  position: relative;
  min-width: 0;
  min-height: 640px;
  overflow: hidden;
  border-right: 1px solid rgba(112, 171, 235, .15);
  background:
    radial-gradient(circle at 54% 45%, rgba(73, 101, 225, .13), transparent 31%),
    linear-gradient(180deg, rgba(5, 14, 32, .54), rgba(5, 15, 31, .25));
}
.ai-center-page .ai-star-map::before,
.ai-center-page .ai-star-map::after { content: ""; position: absolute; left: 51%; top: 51%; width: 43%; aspect-ratio: 1; border: 1px solid rgba(81, 157, 228, .1); border-radius: 50%; transform: translate(-50%, -50%); pointer-events: none; }
.ai-center-page .ai-star-map::after { width: 72%; border-style: dashed; }

.ai-center-page .ai-star-map__legend { position: absolute; z-index: 3; left: 16px; top: 14px; display: flex; flex-wrap: wrap; gap: 7px 12px; color: #718aa3; font-size: .62rem; }
.ai-center-page .ai-star-map__legend span { display: inline-flex; align-items: center; gap: 6px; }
.ai-center-page .ai-star-map__legend span::before { display: none; }
.ai-center-page .ai-star-map__legend [data-kind="ai"]::before { background: var(--cc-purple); }
.ai-center-page .ai-star-map__legend [data-kind="review"]::before { background: var(--cc-orange); }
.ai-center-page .ai-star-map__legend [data-kind="risk"]::before { background: var(--cc-red); }
.ai-center-page .ai-star-map__nodes { position: absolute; z-index: 2; inset: 40px 0 0; }

.ai-center-page .ai-star-node {
  --node-color: var(--cc-cyan);
  position: absolute;
  width: clamp(76px, 7.3vw, 108px);
  min-height: 61px;
  padding: 9px 8px;
  color: #d8f4ff;
  border: 1px solid rgba(53, 217, 255, .38);
  border-radius: 13px;
  background: rgba(8, 28, 51, .9);
  box-shadow: 0 9px 28px rgba(0, 0, 0, .28), inset 0 0 18px rgba(53, 217, 255, .05);
  transform: translate(-50%, -50%);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.ai-center-page .ai-star-node > span { display: block; color: #6387a5; font-size: .55rem; font-weight: 900; }
.ai-center-page .ai-star-node > strong { display: block; margin-top: 4px; color: inherit; font-size: .69rem; line-height: 1.25; }
.ai-center-page .ai-star-node--ai,
.ai-center-page .ai-star-node--knowledge,
.ai-center-page .ai-star-node--agent,
.ai-center-page .ai-star-node--workflow,
.ai-center-page .ai-star-node[data-node-kind="ai"],
.ai-center-page .ai-star-node[data-node-kind="knowledge"],
.ai-center-page .ai-star-node[data-node-kind="agent"],
.ai-center-page .ai-star-node[data-node-kind="workflow"] { --node-color: var(--cc-purple); border-color: rgba(169, 130, 255, .5); background: rgba(34, 24, 68, .9); }
.ai-center-page .ai-star-node--review,
.ai-center-page .ai-star-node[data-node-kind="review"] { --node-color: var(--cc-orange); border-color: rgba(255, 172, 92, .5); background: rgba(61, 37, 28, .9); }
.ai-center-page .ai-star-node--writeback,
.ai-center-page .ai-star-node[data-node-kind="writeback"] { --node-color: var(--cc-teal); border-color: rgba(38, 225, 188, .5); background: rgba(11, 53, 49, .9); }
.ai-center-page .ai-star-node--risk,
.ai-center-page .ai-star-node--exception,
.ai-center-page .ai-star-node[data-node-kind="risk"],
.ai-center-page .ai-star-node[data-node-kind="exception"] { --node-color: var(--cc-red); border-color: rgba(255, 99, 125, .5); background: rgba(65, 24, 38, .9); }
.ai-center-page .ai-star-node:hover,
.ai-center-page .ai-star-node.is-active { z-index: 4; color: #fff; border-color: var(--node-color); box-shadow: 0 0 25px color-mix(in srgb, var(--node-color) 36%, transparent), inset 0 0 20px color-mix(in srgb, var(--node-color) 10%, transparent); transform: translate(-50%, -50%) scale(1.055); }
.ai-center-page .ai-star-node.is-complete::after,
.ai-center-page .ai-star-node.is-active::after { content: ""; position: absolute; right: 7px; top: 7px; width: 6px; height: 6px; border-radius: 50%; background: var(--cc-teal); box-shadow: 0 0 9px var(--cc-teal); }

/* Strict-CSP node placement; data-x/data-y remain semantic evidence only. */
.ai-center-page .ai-star-node:nth-child(1) { left: 9%; top: 16%; }
.ai-center-page .ai-star-node:nth-child(2) { left: 9%; top: 39%; }
.ai-center-page .ai-star-node:nth-child(3) { left: 11%; top: 63%; }
.ai-center-page .ai-star-node:nth-child(4) { left: 28%; top: 82%; }
.ai-center-page .ai-star-node:nth-child(5) { left: 10%; top: 86%; }
.ai-center-page .ai-star-node:nth-child(6) { left: 31%; top: 27%; }
.ai-center-page .ai-star-node:nth-child(7) { left: 49%; top: 48%; }
.ai-center-page .ai-star-node:nth-child(8) { left: 66%; top: 27%; }
.ai-center-page .ai-star-node:nth-child(9) { left: 72%; top: 61%; }
.ai-center-page .ai-star-node:nth-child(10) { left: 88%; top: 34%; }
.ai-center-page .ai-star-node:nth-child(11) { left: 88%; top: 78%; }
.ai-center-page .ai-star-node:nth-child(12) { left: 55%; top: 86%; }

.ai-center-page .ai-star-map__result { position: absolute; z-index: 4; left: 50%; bottom: 16px; width: max-content; max-width: calc(100% - 24px); margin: 0; padding: 8px 13px; color: #8ff3dc; border: 1px solid rgba(38, 225, 188, .28); border-radius: 999px; background: rgba(5, 49, 43, .76); font-size: .68rem; font-weight: 800; transform: translateX(-50%); }

.ai-center-page .ai-evidence-drawer { min-width: 0; max-height: 640px; padding: 18px; overflow-y: auto; background: rgba(8, 20, 39, .78); scrollbar-color: #294d6e transparent; }
.ai-center-page .ai-evidence-drawer__head { padding-bottom: 13px; border-bottom: 1px solid rgba(112, 171, 235, .14); }
.ai-center-page .ai-evidence-drawer__head h2 { margin: 6px 0 0; color: #e9f7ff; font-size: 1rem; }
.ai-center-page .ai-evidence-section { padding: 11px 0; border-bottom: 1px solid rgba(110, 159, 211, .12); }
.ai-center-page .ai-evidence-section > strong { color: #7898b5; font-size: .65rem; }
.ai-center-page .ai-evidence-section ul { display: grid; gap: 5px; padding: 0; margin: 7px 0 0; list-style: none; }
.ai-center-page .ai-evidence-section li { position: relative; padding-left: 11px; color: #c5d8e9; font-size: .69rem; line-height: 1.48; overflow-wrap: anywhere; }
.ai-center-page .ai-evidence-section li::before { content: ""; position: absolute; left: 0; top: .56em; width: 4px; height: 4px; border-radius: 50%; background: var(--cc-cyan); box-shadow: 0 0 6px var(--cc-cyan); }
.ai-center-page .ai-evidence-warning { padding: 9px 10px; margin: 13px 0 0; color: #ffc17f; border: 1px solid rgba(255, 172, 92, .22); border-radius: 8px; background: rgba(92, 49, 23, .22); font-size: .65rem; font-weight: 800; }

.ai-center-page #ai-view-replay,
.ai-center-page #ai-view-dashboard { padding: clamp(18px, 2vw, 28px); }
.ai-center-page .ai-replay-head,
.ai-center-page .ai-dashboard-head { display: flex; justify-content: space-between; gap: 18px; align-items: end; margin-bottom: 20px; }
.ai-center-page .ai-replay-head h2,
.ai-center-page .ai-dashboard-head h2 { margin: 3px 0 0; color: #e9f7ff; font-size: 1.3rem; }
.ai-center-page .ai-replay-head > span,
.ai-center-page .ai-dashboard-head > span { color: #61dff7; font-size: .72rem; font-weight: 900; }
.ai-center-page .ai-dashboard-head p { margin: 5px 0 0; color: #748fa8; font-size: .72rem; }

.ai-center-page .ai-step-timeline { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ai-center-page .ai-step-timeline [data-replay-step] { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 9px; align-items: center; min-width: 0; min-height: 72px; padding: 10px; color: #8da7be; text-align: left; border: 1px solid rgba(111, 161, 214, .14); border-radius: 10px; background: rgba(11, 27, 51, .58); }
.ai-center-page .ai-step-timeline [data-replay-step] > [data-step-index] { display: grid; place-items: center; width: 26px; height: 26px; color: #7895b0; border: 1px solid #315275; border-radius: 50%; background: #0b1c35; font-size: .59rem; font-weight: 900; }
.ai-center-page .ai-step-timeline [data-replay-step] > span:not([data-step-index]):not([data-step-state]) { min-width: 0; }
.ai-center-page .ai-step-timeline [data-step-title] { display: block; overflow: hidden; color: #bbcedf; font-size: .7rem; text-overflow: ellipsis; white-space: nowrap; }
.ai-center-page .ai-step-timeline [data-step-description] { display: -webkit-box; margin-top: 3px; overflow: hidden; color: #7089a1; font-size: .61rem; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.ai-center-page .ai-step-timeline [data-step-state] { color: #64809a; font-size: .6rem; font-weight: 800; white-space: nowrap; }
.ai-center-page .ai-step-timeline [data-replay-step].is-complete { border-color: rgba(38, 225, 188, .23); }
.ai-center-page .ai-step-timeline [data-replay-step].is-complete > [data-step-index] { color: #04271f; border-color: var(--cc-teal); background: var(--cc-teal); }
.ai-center-page .ai-step-timeline [data-replay-step].is-active { color: #fff; border-color: rgba(88, 215, 255, .52); background: linear-gradient(100deg, rgba(23, 89, 137, .52), rgba(57, 45, 113, .36)); box-shadow: inset 3px 0 var(--cc-cyan); }
.ai-center-page .ai-step-timeline [data-replay-step].is-active > [data-step-index] { color: #001921; border-color: var(--cc-cyan); background: var(--cc-cyan); box-shadow: 0 0 13px rgba(53, 217, 255, .42); }
.ai-center-page .ai-step-timeline [data-replay-step].is-active [data-step-title] { color: #fff; }
.ai-center-page .ai-replay-detail { margin-top: 16px; padding: 21px; border: 1px solid rgba(108, 163, 220, .17); border-radius: 14px; background: linear-gradient(145deg, rgba(13, 39, 70, .66), rgba(12, 25, 50, .7)); }
.ai-center-page .ai-replay-status { display: inline-flex; padding: 5px 9px; color: #72e3fb; border: 1px solid rgba(53, 217, 255, .22); border-radius: 999px; background: rgba(20, 84, 112, .25); font-size: .64rem; font-weight: 800; }
.ai-center-page .ai-replay-detail h3 { margin: 13px 0 8px; color: #f0f9ff; font-size: 1.22rem; }
.ai-center-page .ai-replay-detail > p { color: #91a9bd; font-size: .78rem; }
.ai-center-page .ai-replay-result { padding: 12px 14px; border: 1px solid rgba(108, 162, 216, .14); border-radius: 10px; background: rgba(8, 24, 47, .62); }
.ai-center-page .ai-replay-result strong { color: #7897b4; font-size: .65rem; }
.ai-center-page .ai-replay-result p { margin: 5px 0 0; color: #c9dcec; font-size: .76rem; }

.ai-center-page .ai-dashboard-metrics { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 9px; margin-bottom: 15px; }
.ai-center-page .ai-dashboard-metrics article { min-width: 0; padding: 13px; border: 1px solid rgba(109, 162, 218, .16); border-radius: 10px; background: linear-gradient(145deg, rgba(15, 38, 68, .7), rgba(10, 25, 48, .65)); }
.ai-center-page .ai-dashboard-metrics article > span { display: block; overflow: hidden; color: #708ba4; font-size: .62rem; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.ai-center-page .ai-dashboard-metrics article > strong { display: block; margin-top: 7px; color: #ebf9ff; font-size: clamp(1rem, 1.7vw, 1.4rem); line-height: 1; }
.ai-center-page .ai-dashboard-metrics article > small { display: block; margin-top: 6px; color: #4fbdd0; font-size: .57rem; }
.ai-center-page .ai-chart-grid { display: grid; grid-template-columns: .82fr 1.18fr 1fr; gap: 11px; }
.ai-center-page .ai-chart-grid figure { min-width: 0; height: 238px; padding: 13px; margin: 0; border: 1px solid rgba(111, 163, 216, .15); border-radius: 12px; background: rgba(9, 24, 46, .72); }
.ai-center-page .ai-chart-grid figcaption { margin-bottom: 8px; color: #dcecf8; font-size: .71rem; font-weight: 800; }
.ai-center-page .ai-chart-grid canvas { max-width: 100%; max-height: 195px; }
.ai-center-page .ai-chart-grid [data-chart-fallback] { margin: 0; color: #8ca3b9; font-size: .68rem; line-height: 1.7; }
.ai-center-page .ai-audit-stream { margin-top: 13px; padding: 13px; border: 1px solid rgba(108, 160, 214, .14); border-radius: 11px; background: rgba(9, 26, 49, .62); }
.ai-center-page .ai-audit-stream > strong { color: #dbeaf5; font-size: .72rem; }
.ai-center-page .ai-audit-stream ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; padding: 0; margin: 9px 0 0; list-style: none; }
.ai-center-page .ai-audit-stream li { position: relative; padding: 8px 9px 8px 20px; color: #9bb1c5; border: 1px solid rgba(105, 155, 205, .11); border-radius: 8px; background: rgba(11, 32, 58, .5); font-size: .62rem; }
.ai-center-page .ai-audit-stream li::before { content: ""; position: absolute; left: 9px; top: 13px; width: 5px; height: 5px; border-radius: 50%; background: var(--cc-teal); box-shadow: 0 0 7px var(--cc-teal); }

.ai-center-page .ai-command-center:fullscreen { width: 100vw; height: 100vh; padding: 15px 0; overflow-y: auto; background: #020713; }
.ai-center-page .ai-command-center:fullscreen .ai-command-center__inner { width: min(calc(100% - 24px), 1800px); }
.ai-center-page .ai-command-center:fullscreen .ai-command-grid { min-height: calc(100vh - 142px); }
.ai-center-page .ai-command-center:fullscreen .ai-star-map { min-height: calc(100vh - 200px); }

.ai-center-page .ai-framework-section { color: #e5f1fb; background: rgba(6, 18, 35, .72); border-top: 1px solid rgba(105, 158, 214, .13); }
.ai-center-page .ai-framework-section .section-heading h2 { color: #edf7ff; }
.ai-center-page .ai-framework-section .section-heading p { color: #8fa7bb; }
.ai-center-page .ai-framework-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
.ai-center-page .ai-framework-tabs button { min-height: 58px; padding: 10px 12px; color: #90a8bd; text-align: left; border: 1px solid rgba(108, 160, 213, .15); border-radius: 10px; background: rgba(12, 31, 57, .68); font-size: .72rem; font-weight: 800; }
.ai-center-page .ai-framework-tabs button span { margin-right: 7px; color: #50d8f4; }
.ai-center-page .ai-framework-tabs button.active,
.ai-center-page .ai-framework-tabs button[aria-selected="true"] { color: #fff; border-color: rgba(71, 211, 245, .48); background: linear-gradient(135deg, rgba(25, 96, 144, .68), rgba(73, 49, 138, .56)); }
.ai-center-page .ai-framework-panels { margin-top: 13px; }
.ai-center-page .ai-framework-panels article { padding: 22px; border: 1px solid rgba(108, 160, 214, .15); border-radius: 13px; background: rgba(10, 27, 51, .68); }
.ai-center-page .ai-framework-panels article[hidden] { display: none; }
.ai-center-page .ai-framework-panels h3 { margin: 12px 0 7px; color: #e8f5ff; }
.ai-center-page .ai-framework-panels p { margin: 0; color: #8fa6bb; }

@media (max-width: 1100px) {
  .ai-center-page .ai-command-grid { grid-template-columns: 225px minmax(0, 1fr); }
  .ai-center-page #ai-view-overview { grid-template-columns: minmax(0, 1fr) 220px; }
  .ai-center-page .ai-star-map { min-height: 600px; }
  .ai-center-page .ai-chart-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ai-center-page .ai-chart-grid figure:last-child { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .ai-center-page .ai-command-center { padding-top: 18px; }
  .ai-center-page .ai-command-center__topline { align-items: flex-start; flex-direction: column; }
  .ai-center-page .ai-command-center__topline > strong { text-align: left; }
  .ai-center-page .ai-command-grid { grid-template-columns: 1fr; }
  .ai-center-page .ai-command-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, .72fr); border-right: 0; border-bottom: 1px solid rgba(112, 171, 235, .16); }
  .ai-center-page .ai-command-intro .ai-screen-kicker,
  .ai-center-page .ai-command-intro h1,
  .ai-center-page .ai-command-intro .ai-command-subject,
  .ai-center-page .ai-command-intro > p:not(.ai-playback-hint) { grid-column: 1; }
  .ai-center-page .ai-trust-boundary { grid-column: 2; grid-row: 1 / span 4; }
  .ai-center-page .ai-playback-controls,
  .ai-center-page .ai-playback-hint { grid-column: 1 / -1; }
  .ai-center-page .ai-playback-controls { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ai-center-page .ai-playback-controls [data-fullscreen] { grid-column: auto; }
  .ai-center-page #ai-view-overview { grid-template-columns: minmax(0, 1fr) minmax(210px, .38fr); }
  .ai-center-page .ai-star-map { min-height: 560px; }
  .ai-center-page .ai-dashboard-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ai-center-page .ai-framework-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .ai-center-page .ai-command-center { min-height: 0; padding: 10px 0 50px; }
  .ai-center-page .ai-command-center__inner { width: min(calc(100% - 18px), 1500px); }
  .ai-center-page .ai-command-center__topline { padding: 11px; }
  .ai-center-page .ai-command-center__topline > strong { font-size: .65rem; line-height: 1.6; }
  .ai-center-page .ai-demo-tabs { grid-template-columns: 1fr; }
  .ai-center-page .ai-demo-tabs [data-demo-tab] { min-height: 58px; }
  .ai-center-page .ai-command-grid { border-radius: 15px; }
  .ai-center-page .ai-command-intro { display: block; padding: 17px; }
  .ai-center-page .ai-command-intro > * + * { margin-top: 12px; }
  .ai-center-page .ai-playback-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ai-center-page .ai-playback-controls [data-fullscreen] { grid-column: 1 / -1; }
  .ai-center-page .ai-view-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 8px; }
  .ai-center-page .ai-view-tabs [data-view-tab] { min-width: 0; padding-inline: 5px; font-size: .7rem; }
  .ai-center-page #ai-view-overview { display: block; }
  .ai-center-page .ai-star-map { min-height: 0; padding: 45px 10px 12px; border-right: 0; border-bottom: 1px solid rgba(112, 171, 235, .15); }
  .ai-center-page .ai-star-map::before,
  .ai-center-page .ai-star-map::after { display: none; }
  .ai-center-page .ai-star-map__legend { right: 10px; left: 10px; }
  .ai-center-page .ai-star-map__nodes { position: relative; display: grid; gap: 7px; inset: auto; }
  .ai-center-page .ai-star-node,
  .ai-center-page .ai-star-node:nth-child(n) { position: relative; left: auto; top: auto; display: flex; justify-content: space-between; gap: 10px; align-items: center; width: 100%; min-height: 49px; padding: 9px 11px; text-align: left; transform: none; }
  .ai-center-page .ai-star-node:hover,
  .ai-center-page .ai-star-node.is-active { transform: translateX(3px); }
  .ai-center-page .ai-star-node > span { flex: 0 0 auto; }
  .ai-center-page .ai-star-node > strong { flex: 1; margin: 0; }
  .ai-center-page .ai-star-map__result { position: relative; left: auto; bottom: auto; width: 100%; max-width: none; margin-top: 10px; text-align: center; transform: none; }
  .ai-center-page .ai-evidence-drawer { max-height: none; padding: 16px; }
  .ai-center-page .ai-step-timeline { grid-template-columns: 1fr; }
  .ai-center-page .ai-replay-head,
  .ai-center-page .ai-dashboard-head { align-items: flex-start; flex-direction: column; }
  .ai-center-page .ai-dashboard-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ai-center-page .ai-chart-grid { grid-template-columns: 1fr; }
  .ai-center-page .ai-chart-grid figure:last-child { grid-column: auto; }
  .ai-center-page .ai-audit-stream ol { grid-template-columns: 1fr; }
  .ai-center-page .ai-framework-tabs { grid-template-columns: 1fr; }
}

/* Light site-aligned theme -------------------------------------------------
   The AI center keeps its topology and dashboard interactions, while using
   the same paper, ink, teal, violet and warm-orange language as the website. */
.ai-center-page {
  --cc-bg: var(--paper);
  --cc-panel: #fff;
  --cc-panel-strong: #f7fafc;
  --cc-line: var(--line);
  --cc-line-bright: rgba(109, 69, 198, .42);
  --cc-text: var(--ink);
  --cc-muted: var(--muted);
  --cc-cyan: var(--software);
  --cc-teal: #0a927d;
  --cc-purple: var(--ai);
  --cc-orange: var(--ai-warm);
  --cc-red: #c54053;
  color: var(--ink);
  background: var(--paper);
}

.ai-center-page main {
  background: var(--paper);
}

.ai-center-page .site-header {
  color: var(--ink);
  background: rgba(255, 255, 255, .94);
  border-bottom-color: rgba(219, 229, 236, .8);
}

.ai-center-page .site-nav a { color: #375169; }
.ai-center-page .site-nav a:hover,
.ai-center-page .site-nav a[aria-current="page"] { color: var(--software-dark); background: var(--software-soft); }
.ai-center-page .site-nav a:nth-last-child(2) { color: #fff; background: var(--ai); }
.ai-center-page .site-nav a:nth-last-child(2):hover,
.ai-center-page .site-nav a:nth-last-child(2)[aria-current="page"] { color: #fff; background: var(--ai-dark); }
.ai-center-page .nav-toggle { background: #eef4f7; }
.ai-center-page .nav-toggle span:not(.sr-only) { background: var(--ink); }

.ai-center-page .ai-command-center {
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 12%, rgba(28, 183, 180, .14), transparent 29rem),
    radial-gradient(circle at 86% 16%, rgba(121, 72, 208, .14), transparent 31rem),
    radial-gradient(circle at 72% 86%, rgba(230, 107, 53, .09), transparent 27rem),
    linear-gradient(180deg, #fbfdfd 0%, #f5f8fb 100%);
}

.ai-center-page .ai-command-center::before {
  opacity: .6;
  background-image:
    linear-gradient(rgba(8, 127, 140, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(109, 69, 198, .04) 1px, transparent 1px);
}

.ai-center-page .command-hero::after { display: none; }
.ai-center-page .ai-command-center__glow {
  border-color: rgba(109, 69, 198, .12);
  box-shadow: 0 0 0 5rem rgba(109, 69, 198, .025), 0 0 0 10rem rgba(8, 127, 140, .02);
}

.ai-center-page .ai-command-center__topline,
.ai-center-page .demo-trust-bar {
  color: #52687a;
  border-color: rgba(8, 127, 140, .14);
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 10px 30px rgba(25, 55, 81, .06);
}

.ai-center-page .ai-command-center__topline > strong { color: #4b6073; }
.ai-center-page .ai-screen-kicker,
.ai-center-page .command-kicker { color: var(--ai); }
.ai-center-page .ai-screen-status,
.ai-center-page .screen-clock,
.ai-center-page [data-demo-status] { color: #4b685f; }
.ai-center-page .ai-screen-status i,
.ai-center-page .command-live-tag::before { background: #18a987; box-shadow: 0 0 0 4px rgba(24, 169, 135, .11); }
.ai-center-page .command-live-tag { color: var(--software-dark); border-color: rgba(8, 127, 140, .2); background: var(--software-soft); }

.ai-center-page [data-demo-tab],
.ai-center-page [data-view-tab] {
  color: #50677a;
  border-color: var(--line);
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 6px 18px rgba(25, 55, 81, .04);
}

.ai-center-page [data-demo-tab]:hover,
.ai-center-page [data-view-tab]:hover {
  color: var(--ink);
  border-color: rgba(109, 69, 198, .32);
  background: #fff;
}

.ai-center-page [data-demo-tab][aria-selected="true"],
.ai-center-page [data-view-tab][aria-selected="true"],
.ai-center-page [data-demo-tab].is-active,
.ai-center-page [data-view-tab].is-active {
  color: var(--ink);
  border-color: rgba(109, 69, 198, .42);
  background: linear-gradient(135deg, #eaf8f7, #f3edff 66%, #fff3ea);
  box-shadow: inset 0 4px var(--ai), 0 10px 24px rgba(61, 67, 116, .09);
}

.ai-center-page .ai-demo-tabs [data-demo-tab] span { color: #738596; }
.ai-center-page .ai-demo-tabs [data-demo-tab] strong { color: inherit; }

.ai-center-page .command-screen,
.ai-center-page .ai-command-grid {
  border-color: var(--line);
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--shadow);
}

.ai-center-page .command-screen::before { display: none; }
.ai-center-page .ai-command-intro,
.ai-center-page .command-sidebar {
  color: var(--ink);
  border-color: var(--line);
  background: linear-gradient(155deg, rgba(231, 247, 246, .92), rgba(250, 247, 255, .96) 58%, rgba(255, 248, 241, .9));
}

.ai-center-page .ai-command-intro h1,
.ai-center-page .command-sidebar h2 { color: var(--ink); }
.ai-center-page .ai-command-intro > p,
.ai-center-page .command-sidebar p { color: var(--muted); }
.ai-center-page .ai-command-intro .ai-command-subject { color: var(--software-dark); }

.ai-center-page .command-meta-item {
  border-color: rgba(8, 127, 140, .12);
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 8px 22px rgba(25, 55, 81, .045);
}
.ai-center-page .command-meta-item span { color: #728497; }
.ai-center-page .command-meta-item strong { color: #263d52; }

.ai-center-page .ai-trust-boundary {
  border-color: rgba(109, 69, 198, .14);
  background: rgba(255, 255, 255, .72);
}
.ai-center-page .ai-trust-boundary strong { color: var(--ink); }
.ai-center-page .ai-trust-boundary ul { color: #536b7d; }
.ai-center-page .ai-trust-boundary li::before { background: #18a987; box-shadow: none; }

.ai-center-page .command-controls button,
.ai-center-page .ai-playback-controls button {
  color: #365268;
  border-color: #cedce5;
  background: rgba(255, 255, 255, .9);
}
.ai-center-page .command-controls button:hover,
.ai-center-page .ai-playback-controls button:hover {
  color: var(--ai-dark);
  border-color: rgba(109, 69, 198, .36);
  background: #fff;
  box-shadow: 0 8px 18px rgba(61, 67, 116, .09);
}
.ai-center-page .command-controls [data-play],
.ai-center-page .command-controls [data-restart],
.ai-center-page .ai-playback-controls .ai-control-primary,
.ai-center-page .ai-playback-controls [data-restart] {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--software), var(--ai));
}
.ai-center-page .ai-playback-controls button:disabled,
.ai-center-page .command-controls button:disabled { color: #91a1ae; background: #eef3f6; }
.ai-center-page .ai-playback-hint { color: #718496 !important; }

.ai-center-page .ai-console,
.ai-center-page .command-content { background: #fff; }
.ai-center-page .ai-view-tabs,
.ai-center-page .screen-topbar {
  border-color: var(--line);
  background: #f8fafc;
}

.ai-center-page .star-map-panel,
.ai-center-page .ai-star-map {
  display: flex;
  flex-direction: column;
  border-color: var(--line);
  background:
    radial-gradient(circle at 54% 45%, rgba(109, 69, 198, .09), transparent 32%),
    radial-gradient(circle at 20% 78%, rgba(8, 127, 140, .08), transparent 28%),
    linear-gradient(180deg, #fbfefe, #f7f9fd);
}
.ai-center-page .star-map-stage {
  flex: 1 1 auto;
  border-color: rgba(8, 127, 140, .13);
  background:
    radial-gradient(circle at 50% 48%, rgba(109, 69, 198, .075), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, .7), rgba(246, 250, 252, .7));
}
.ai-center-page .star-map-stage::before,
.ai-center-page .star-map-stage::after,
.ai-center-page .ai-star-map::before,
.ai-center-page .ai-star-map::after { border-color: rgba(109, 69, 198, .11); }
.ai-center-page .star-map-heading h3 { color: var(--ink); }
.ai-center-page .map-legend,
.ai-center-page .ai-star-map__legend { color: #61778a; }

.ai-center-page [data-star-node],
.ai-center-page .ai-star-node {
  color: #234158;
  border-color: rgba(8, 127, 140, .34);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 10px 24px rgba(25, 55, 81, .1), inset 0 4px rgba(8, 127, 140, .08);
}
.ai-center-page [data-star-node] [data-node-label] { color: #233d52; }
.ai-center-page [data-star-node] [data-node-meta] { color: #73889a; }

.ai-center-page .ai-star-node--knowledge,
.ai-center-page .ai-star-node--agent,
.ai-center-page .ai-star-node--workflow,
.ai-center-page .ai-star-node[data-node-kind="knowledge"],
.ai-center-page .ai-star-node[data-node-kind="agent"],
.ai-center-page .ai-star-node[data-node-kind="workflow"] {
  color: var(--ai-dark);
  border-color: rgba(109, 69, 198, .36);
  background: #f8f4ff;
}
.ai-center-page .ai-star-node--review,
.ai-center-page .ai-star-node[data-node-kind="review"] {
  color: #85421f;
  border-color: rgba(230, 107, 53, .36);
  background: #fff7f0;
}
.ai-center-page .ai-star-node--writeback,
.ai-center-page .ai-star-node[data-node-kind="writeback"] {
  color: #08725f;
  border-color: rgba(10, 146, 125, .34);
  background: #eefaf6;
}
.ai-center-page .ai-star-node--exception,
.ai-center-page .ai-star-node[data-node-kind="exception"] {
  color: #9f3041;
  border-color: rgba(197, 64, 83, .34);
  background: #fff3f5;
}
.ai-center-page [data-star-node]:hover,
.ai-center-page [data-star-node].is-active,
.ai-center-page .ai-star-node:hover,
.ai-center-page .ai-star-node.is-active {
  color: var(--ink);
  border-color: var(--node-color);
  box-shadow: 0 12px 28px rgba(61, 67, 116, .16), 0 0 0 3px color-mix(in srgb, var(--node-color) 13%, transparent);
}
.ai-center-page [data-star-node].is-complete::after,
.ai-center-page [data-star-node].is-active::after,
.ai-center-page .ai-star-node.is-complete::after,
.ai-center-page .ai-star-node.is-active::after { background: #18a987; box-shadow: 0 0 0 4px rgba(24, 169, 135, .11); }
.ai-center-page .ai-star-map__result {
  color: #08725f;
  border-color: rgba(10, 146, 125, .24);
  background: rgba(238, 250, 246, .96);
}

.ai-center-page .evidence-drawer,
.ai-center-page .ai-evidence-drawer {
  color: var(--ink);
  border-color: var(--line);
  background: #fff;
  scrollbar-color: #b8c7d2 transparent;
}
.ai-center-page .evidence-drawer header,
.ai-center-page .ai-evidence-drawer__head { border-color: var(--line); }
.ai-center-page .evidence-drawer header span { color: var(--ai); }
.ai-center-page .evidence-drawer h3,
.ai-center-page .ai-evidence-drawer__head h2,
.ai-center-page .ai-evidence-drawer__head h3 { color: var(--ink); }
.ai-center-page .evidence-item,
.ai-center-page .ai-evidence-section {
  border-color: #e5edf2;
  background: #f8fafc;
}
.ai-center-page .evidence-item b,
.ai-center-page .ai-evidence-section > strong { color: #647b8e; }
.ai-center-page .evidence-item li,
.ai-center-page .ai-evidence-section li { color: #3f586b; }
.ai-center-page .evidence-item li::before,
.ai-center-page .ai-evidence-section li::before { background: var(--software); box-shadow: none; }
.ai-center-page .evidence-item.is-warning,
.ai-center-page .ai-evidence-warning {
  color: #8a481f;
  border-color: rgba(230, 107, 53, .2);
  background: #fff6ed;
}
.ai-center-page .evidence-item.is-warning b { color: #9a552b; }

.ai-center-page .ai-replay-head h2,
.ai-center-page .ai-dashboard-head h2,
.ai-center-page .view-heading h3 { color: var(--ink); }
.ai-center-page .ai-replay-head > span,
.ai-center-page .ai-dashboard-head > span { color: var(--ai); }
.ai-center-page .ai-dashboard-head p,
.ai-center-page .view-heading p { color: var(--muted); }
.ai-center-page .replay-timeline::before { background: linear-gradient(var(--software), rgba(109, 69, 198, .42), rgba(219, 229, 236, .4)); }
.ai-center-page [data-replay-step],
.ai-center-page .ai-step-timeline [data-replay-step] {
  color: #5e7487;
  border-color: var(--line);
  background: #fff;
  box-shadow: 0 6px 18px rgba(25, 55, 81, .04);
}
.ai-center-page [data-replay-step] [data-step-index],
.ai-center-page .ai-step-timeline [data-replay-step] > [data-step-index] {
  color: var(--ai-dark);
  border-color: rgba(109, 69, 198, .25);
  background: var(--ai-soft);
}
.ai-center-page [data-replay-step] [data-step-title],
.ai-center-page .ai-step-timeline [data-step-title] { color: #30495d; }
.ai-center-page [data-replay-step] [data-step-description],
.ai-center-page .ai-step-timeline [data-step-description] { color: #708496; }
.ai-center-page [data-replay-step] [data-step-state],
.ai-center-page .ai-step-timeline [data-step-state] { color: #7a8c9b; }
.ai-center-page [data-replay-step].is-active,
.ai-center-page .ai-step-timeline [data-replay-step].is-active {
  color: var(--ink);
  border-color: rgba(109, 69, 198, .38);
  background: linear-gradient(100deg, #ebf8f7, #f4efff);
  box-shadow: inset 4px 0 var(--ai), 0 8px 22px rgba(61, 67, 116, .08);
}
.ai-center-page [data-replay-step].is-active [data-step-index],
.ai-center-page .ai-step-timeline [data-replay-step].is-active > [data-step-index] { color: #fff; border-color: var(--ai); background: var(--ai); box-shadow: none; }
.ai-center-page [data-replay-step].is-active [data-step-title],
.ai-center-page .ai-step-timeline [data-replay-step].is-active [data-step-title] { color: var(--ink); }
.ai-center-page [data-replay-step].is-active [data-step-state],
.ai-center-page .ai-step-timeline [data-replay-step].is-active [data-step-state] { color: var(--ai-dark); }
.ai-center-page [data-replay-step].is-complete [data-step-index],
.ai-center-page .ai-step-timeline [data-replay-step].is-complete > [data-step-index] { color: #fff; border-color: #18a987; background: #18a987; box-shadow: none; }
.ai-center-page .ai-replay-detail,
.ai-center-page .replay-evidence {
  border-color: var(--line);
  background: linear-gradient(145deg, #f6fbfb, #faf7ff);
}
.ai-center-page .ai-replay-status { color: var(--ai-dark); border-color: rgba(109, 69, 198, .2); background: var(--ai-soft); }
.ai-center-page .ai-replay-detail h3,
.ai-center-page .replay-evidence h4 { color: var(--ink); }
.ai-center-page .ai-replay-detail > p,
.ai-center-page .replay-evidence dd { color: #536b7e; }
.ai-center-page .ai-replay-result {
  border-color: rgba(8, 127, 140, .13);
  background: rgba(255, 255, 255, .82);
}
.ai-center-page .ai-replay-result strong,
.ai-center-page .replay-evidence dt { color: #6b8092; }
.ai-center-page .ai-replay-result p { color: #344f64; }

.ai-center-page [data-metric],
.ai-center-page .ai-dashboard-metrics article {
  border-color: var(--line);
  background: #fff;
  box-shadow: 0 8px 22px rgba(25, 55, 81, .045);
}
.ai-center-page [data-metric-label],
.ai-center-page .ai-dashboard-metrics article > span { color: #6a8093; }
.ai-center-page [data-metric-value],
.ai-center-page .ai-dashboard-metrics article > strong { color: var(--ink); }
.ai-center-page [data-metric-note],
.ai-center-page .ai-dashboard-metrics article > small { color: var(--software); }
.ai-center-page .chart-card,
.ai-center-page .ai-chart-grid figure {
  border-color: var(--line);
  background: #fff;
  box-shadow: 0 8px 22px rgba(25, 55, 81, .045);
}
.ai-center-page .chart-card h4,
.ai-center-page .ai-chart-grid figcaption { color: #30495d; }
.ai-center-page .chart-card small { color: #718497; }
.ai-center-page .audit-feed,
.ai-center-page .ai-audit-stream {
  border-color: var(--line);
  background: #f8fafc;
}
.ai-center-page .audit-feed > strong,
.ai-center-page .ai-audit-stream > strong { color: var(--ink); }
.ai-center-page .audit-item,
.ai-center-page .ai-audit-stream li {
  color: #526b7e;
  border-color: #e4ebf0;
  background: #fff;
}
.ai-center-page .audit-item i,
.ai-center-page .ai-audit-stream li::before { background: #18a987; box-shadow: none; }

.ai-center-page .command-screen:fullscreen,
.ai-center-page .ai-command-center:fullscreen { color: var(--ink); background: #f5f8fb; }

.ai-center-page .command-lower-section {
  color: var(--ink);
  border-top-color: var(--line);
  background: var(--paper);
}
.ai-center-page .command-lower-section:nth-of-type(even) { background: #fff; }
.ai-center-page .command-lower-section .section-heading h2,
.ai-center-page .ai-framework-section .section-heading h2 { color: var(--ink); }
.ai-center-page .command-lower-section .section-heading p,
.ai-center-page .ai-framework-section .section-heading p { color: var(--muted); }
.ai-center-page .ai-framework-section {
  color: var(--ink);
  border-top-color: var(--line);
  background: linear-gradient(145deg, #eaf8f7, #f6f1ff 62%, #fff8f1);
}
.ai-center-page .ai-framework-tabs button {
  color: #4e6679;
  border-color: var(--line);
  background: rgba(255, 255, 255, .8);
}
.ai-center-page .ai-framework-tabs button span { color: var(--ai); }
.ai-center-page .ai-framework-tabs button.active,
.ai-center-page .ai-framework-tabs button[aria-selected="true"] {
  color: var(--ink);
  border-color: rgba(109, 69, 198, .35);
  background: linear-gradient(135deg, #e9f8f7, #f3edff);
  box-shadow: inset 0 3px var(--ai);
}
.ai-center-page .ai-framework-panels article,
.ai-center-page .implementation-step,
.ai-center-page .command-lower-section .boundary-card,
.ai-center-page .command-lower-section .hub-metric {
  color: var(--ink);
  border-color: var(--line);
  background: #fff;
  box-shadow: 0 8px 24px rgba(25, 55, 81, .05);
}
.ai-center-page .ai-framework-panels h3,
.ai-center-page .implementation-step h3,
.ai-center-page .command-lower-section .boundary-card h3,
.ai-center-page .command-lower-section .hub-metric b { color: var(--ink); }
.ai-center-page .ai-framework-panels p,
.ai-center-page .implementation-step p,
.ai-center-page .command-lower-section .boundary-card p,
.ai-center-page .command-lower-section .hub-metric p { color: var(--muted); }
.ai-center-page .implementation-step b { color: var(--ai); }
.ai-center-page .demo-controls button {
  color: #4c6477;
  border-color: var(--line);
  background: #fff;
}
.ai-center-page .demo-controls button:hover { color: var(--ai-dark); border-color: rgba(109, 69, 198, .3); }
.ai-center-page .demo-controls button.active,
.ai-center-page .demo-controls button[aria-selected="true"] { color: #fff; border-color: var(--ai); background: var(--ai); }
.ai-center-page .feature-pills span { color: #3d586d; background: #edf3f6; }

.ai-center-page .contact-section {
  color: var(--ink);
  background: linear-gradient(150deg, #e8f7f7, #f4efff);
}
.ai-center-page .contact-section h2 { color: var(--ink); }
.ai-center-page .contact-section p { color: var(--muted); }
.ai-center-page .site-footer { background: #0b2033; }

@media (max-width: 860px) {
  .ai-center-page .site-nav { background: #fff; border-bottom-color: var(--line); }
  .ai-center-page .ai-command-intro { border-color: var(--line); }
}

@media (max-width: 560px) {
  .ai-center-page .ai-star-map { display: block; border-color: var(--line); }
  .ai-center-page .ai-star-node,
  .ai-center-page .ai-star-node:nth-child(n) { box-shadow: 0 6px 18px rgba(25, 55, 81, .07); }
  .ai-center-page .ai-evidence-drawer { border-top: 1px solid var(--line); }
}
/* Full-width command view: the former vertical task summary has been removed. */
.ai-center-page .ai-command-grid--wide {
    grid-template-columns: minmax(0, 1fr);
}

.ai-center-page .ai-screen-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.ai-center-page .ai-playback-controls--compact {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
}

.ai-center-page .ai-playback-controls--compact button {
    width: auto;
    min-height: 38px;
    margin: 0;
    padding: 8px 13px;
}

@media (max-width: 820px) {
    .ai-center-page .ai-screen-toolbar,
    .ai-center-page .ai-playback-controls--compact {
        align-items: stretch;
    }

    .ai-center-page .ai-playback-controls--compact {
        width: 100%;
    }
}

@media (max-width: 560px) {
    .ai-center-page .ai-playback-controls--compact {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ai-center-page .ai-playback-controls--compact button {
        width: 100%;
        padding-inline: 8px;
    }
}
