:root {
  --bg: #0c1017;
  --sidebar: #0f141d;
  --panel: #141b25;
  --raised: #19222e;
  --line: #26313e;
  --text: #edf1f6;
  --muted: #8e9bad;
  --faint: #637185;
  --accent: #8bf0cd;
  --green: #73dcb2;
  --amber: #edbd72;
  --red: #f4979e;
  --blue: #9eb8ff;
  --purple: #baa9f7;
  --radius: 14px;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--text);
  background: var(--bg);
  font-synthesis: none;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
svg {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  flex-shrink: 0;
}
button svg,
a svg {
  pointer-events: none;
}
[hidden] {
  display: none !important;
}
.skip {
  position: fixed;
  top: -50px;
  left: 240px;
  background: var(--accent);
  color: #14241e;
  padding: 10px;
  z-index: 100;
}
.skip:focus {
  top: 10px;
}
.sidebar {
  width: 218px;
  position: fixed;
  inset: 0 auto 0 0;
  background: var(--sidebar);
  border-right: 1px solid var(--line);
  padding: 26px 14px 14px;
  display: flex;
  flex-direction: column;
  z-index: 20;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 10px 28px;
  font-size: 24px;
  font-weight: 650;
  letter-spacing: -1px;
}
.brand-icon {
  width: 31px;
  height: 31px;
  background: var(--accent);
  color: #11251e;
  border-radius: 9px;
  font-size: 24px;
  line-height: 30px;
  position: relative;
  padding-left: 5px;
  font-weight: 800;
  letter-spacing: -4px;
}
.brand-icon span {
  font-size: 17px;
  position: absolute;
  right: 4px;
  top: -5px;
  letter-spacing: 0;
}
.version {
  margin-left: auto;
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--faint);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1px 4px;
}
.workspace-label {
  padding: 0 12px;
  font-size: 10px;
  letter-spacing: 1.6px;
  color: var(--faint);
  font-weight: 650;
}
.workspace-name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 550;
  margin: 12px 7px 28px;
  padding: 10px 8px;
  background: #171e29;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.workspace-name > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.workspace-icon {
  color: var(--purple);
  font-size: 20px;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  color: #a6b1c0;
  margin: 3px 0;
  border-radius: 7px;
  font-size: 12px;
}
.nav-link svg {
  width: 17px;
  height: 17px;
  opacity: 0.85;
}
.nav-link:hover {
  background: #1b2430;
  color: var(--text);
}
.nav-link.selected {
  background: #1b2d2d;
  color: var(--accent);
}
.nav-count {
  margin-left: auto;
  font-size: 10px;
  background: #26343b;
  padding: 1px 5px;
  border-radius: 4px;
}
.pillar-label {
  margin: 31px 0 10px;
  display: flex;
  justify-content: space-between;
}
.pillar-label span {
  letter-spacing: 0;
}
.pillar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  color: var(--muted);
  border-radius: 7px;
}
.pillar-item:hover,
.pillar-item.selected {
  background: var(--raised);
  color: var(--text);
}
.pillar-item .dot {
  width: 6px;
  height: 6px;
}
.pillar-item .number {
  margin-left: auto;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 20px;
}
.demo-button {
  background: linear-gradient(125deg, #202e33, #182029);
  border: 1px solid #35464e;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  border-radius: 9px;
  padding: 12px 10px;
  width: 100%;
  font-size: 11px;
  margin-bottom: 14px;
}
.demo-button svg {
  color: var(--accent);
  width: 15px;
}
.demo-button small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 3px;
}
.runtime-label {
  border-top: 1px solid var(--line);
  padding: 17px 10px 0;
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 10px;
  color: var(--muted);
}
.runtime-label > span:last-child {
  margin-left: auto;
}
.shell {
  margin-left: 218px;
}
.topbar {
  height: 72px;
  padding: 0 32px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #0e131b;
}
.breadcrumb {
  display: flex;
  gap: 15px;
  color: var(--faint);
  font-size: 12px;
}
.breadcrumb strong {
  color: #c7d0db;
  font-weight: 500;
}
.slash {
  color: #384455;
}
.topbar-right {
  display: flex;
  gap: 17px;
  align-items: center;
}
.connection {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: var(--muted);
}
.connection.live {
  color: var(--green);
}
.connection.stale {
  color: var(--amber);
}
.operator-avatar {
  display: grid;
  place-items: center;
  border-radius: 50%;
  width: 29px;
  height: 29px;
  background: #283140;
  border: 1px solid #3f4a59;
  font-size: 9px;
}
.icon-button {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: transparent;
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  color: var(--muted);
}
.icon-button:hover {
  color: var(--text);
  background: var(--raised);
}
.icon-button svg {
  width: 15px;
  height: 15px;
}
.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}
.green {
  color: var(--green);
}
.amber {
  color: var(--amber);
}
.red {
  color: var(--red);
}
.blue {
  color: var(--blue);
}
.muted {
  color: var(--muted);
}
.faint {
  color: var(--faint);
}
main {
  padding: 32px;
  min-height: calc(100vh - 117px);
}
.page-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 28px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
}
h1 {
  font-size: 29px;
  line-height: 1.25;
  font-weight: 550;
  letter-spacing: -1px;
  margin: 0 0 9px;
}
h2 {
  font-size: 16px;
  font-weight: 550;
  letter-spacing: -0.3px;
  margin: 0;
}
h3 {
  font-weight: 550;
  margin: 0;
}
p {
  margin: 0;
}
.subtitle {
  color: var(--muted);
  font-size: 12px;
  max-width: 680px;
}
.heading-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.button {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 8px 12px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 550;
  white-space: nowrap;
}
.button:hover {
  border-color: #465769;
  background: var(--raised);
}
.button.primary {
  background: var(--accent);
  color: #153629;
  border-color: var(--accent);
}
.button.primary:hover {
  background: #b5f7df;
}
.button.danger {
  color: var(--red);
}
.button svg {
  width: 14px;
  height: 14px;
}
.text-button {
  background: none;
  border: 0;
  color: var(--accent);
  font-size: 11px;
  padding: 3px 0;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.text-button svg {
  width: 13px;
  height: 13px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 30px;
}
.stat {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius);
  padding: 18px 20px;
  position: relative;
}
.stat-label {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.stat-label svg {
  width: 14px;
  height: 14px;
}
.stat-value {
  font-size: 32px;
  letter-spacing: -1px;
  font-weight: 550;
  margin: 9px 0 1px;
  font-variant-numeric: tabular-nums;
}
.stat-value small {
  font-size: 14px;
  color: var(--faint);
  font-weight: 400;
  letter-spacing: 0;
  margin-left: 7px;
}
.stat-foot {
  font-size: 10px;
  color: var(--faint);
  display: flex;
  align-items: center;
  gap: 6px;
}
.stat-mark {
  position: absolute;
  right: 18px;
  top: 18px;
  color: var(--faint);
}
.stat-activity {
  display: flex;
  gap: 3px;
  align-items: end;
  height: 22px;
  position: absolute;
  right: 20px;
  bottom: 21px;
}
.stat-activity i {
  width: 3px;
  background: #466a63;
  border-radius: 1px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.section-heading .count {
  color: var(--faint);
  font-size: 11px;
  margin-left: 8px;
  font-weight: 400;
}
.section-heading p {
  font-size: 11px;
  color: var(--faint);
  margin-top: 5px;
}
.tools {
  display: flex;
  gap: 8px;
}
.search {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 6px 10px;
  background: #101720;
}
.search svg {
  width: 14px;
  color: var(--faint);
}
.search input {
  border: 0;
  outline: none;
  background: none;
  color: var(--text);
  width: 165px;
  font-size: 11px;
}
.search input::placeholder {
  color: var(--faint);
}
select {
  border: 1px solid var(--line);
  background: #141c27;
  color: var(--muted);
  padding: 7px 9px;
  border-radius: 7px;
  font-size: 11px;
  max-width: 200px;
}
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(295px, 1fr));
  gap: 16px;
}
.pillar-card {
  display: block;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    transform 0.15s,
    border-color 0.15s;
}
.pillar-card:hover {
  border-color: #4a7168;
  transform: translateY(-2px);
}
.pillar-card-body {
  padding: 20px;
}
.card-top {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 15px;
}
.pillar-symbol {
  border-radius: 10px;
  width: 35px;
  height: 35px;
  background: color-mix(in srgb, var(--pillar-color) 13%, transparent);
  color: var(--pillar-color);
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--pillar-color) 20%, transparent);
  font-size: 16px;
}
.card-top h3 {
  font-size: 15px;
  letter-spacing: -0.2px;
}
.card-top .badge {
  margin-left: auto;
}
.badge {
  font-size: 9px;
  font-weight: 550;
  border-radius: 5px;
  padding: 3px 7px;
  display: inline-flex;
  gap: 5px;
  align-items: center;
  white-space: nowrap;
  text-transform: capitalize;
  background: #202936;
  color: #9ba9bb;
  line-height: 1.4;
}
.badge .dot {
  width: 5px;
  height: 5px;
}
.badge.active,
.badge.working,
.badge.completed {
  color: var(--green);
  background: #1b322d;
}
.badge.attention,
.badge.blocked,
.badge.interrupted {
  color: var(--amber);
  background: #362d21;
}
.badge.ready,
.badge.validating,
.badge.publishing {
  color: var(--blue);
  background: #222e46;
}
.badge.waiting {
  color: var(--purple);
  background: #2a263c;
}
.badge.unknown {
  color: var(--red);
  background: #3b252d;
}
.card-summary {
  font-size: 11px;
  line-height: 1.65;
  color: var(--muted);
  min-height: 37px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 21px;
}
.card-metrics {
  display: flex;
  gap: 26px;
  margin-bottom: 14px;
}
.card-metrics strong {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.5px;
  display: block;
  line-height: 1.25;
}
.card-metrics span {
  font-size: 10px;
  color: var(--faint);
}
.distribution {
  display: flex;
  gap: 3px;
  height: 4px;
  background: #26303d;
  border-radius: 3px;
  overflow: hidden;
}
.distribution span {
  min-width: 3px;
}
.distribution .completed {
  background: var(--green);
}
.distribution .running {
  background: var(--blue);
}
.distribution .blocked {
  background: var(--amber);
}
.distribution .queued {
  background: #4d5970;
}
.card-bottom {
  border-top: 1px solid var(--line);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 9px;
  background: #111924;
  font-size: 10px;
  color: var(--muted);
}
.avatars {
  display: flex;
  padding-left: 0;
}
.avatar {
  width: 24px;
  height: 24px;
  border: 2px solid var(--panel);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #283646;
  color: #c3d4e5;
  font-size: 8px;
  letter-spacing: 0.2px;
  font-weight: 600;
  flex-shrink: 0;
}
.avatars .avatar + .avatar {
  margin-left: -6px;
}
.avatar.manager {
  background: #34304b;
  color: #d2c2ff;
}
.avatar.online {
  box-shadow: 0 0 0 1px #598a77;
}
.card-bottom .arrow {
  margin-left: auto;
  color: var(--faint);
}
.card-activity {
  margin-top: 15px;
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  gap: 7px;
  align-items: center;
}
.card-activity .dot {
  width: 5px;
  height: 5px;
}
.bottom-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 18px;
  margin-top: 28px;
}
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.panel-head {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.panel-head h2 {
  font-size: 13px;
}
.panel-head p {
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
}
.panel-body {
  padding: 18px 20px;
}
.event-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 20px;
  border-bottom: 1px solid #202936;
  font-size: 11px;
}
.event-row:last-child {
  border: 0;
}
.event-row .event-dot {
  padding-top: 6px;
}
.event-copy {
  min-width: 0;
  flex: 1;
}
.event-copy strong {
  font-weight: 500;
  color: #d2dae6;
}
.event-copy p {
  margin-top: 3px;
  color: var(--faint);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 10px;
}
.event-row time {
  font-size: 9px;
  color: var(--faint);
  white-space: nowrap;
}
.capacity-row {
  display: grid;
  grid-template-columns: 90px 1fr 36px;
  gap: 12px;
  align-items: center;
  font-size: 10px;
  margin: 15px 0;
  color: var(--muted);
}
.capacity-bar {
  height: 5px;
  border-radius: 4px;
  background: #28313f;
  overflow: hidden;
}
.capacity-bar span {
  display: block;
  height: 100%;
  background: var(--accent);
  border-radius: 4px;
}
.capacity-row > span:last-child {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.empty {
  padding: 35px 22px;
  text-align: center;
  color: var(--faint);
  font-size: 11px;
}
.empty svg {
  width: 25px;
  height: 25px;
  display: block;
  margin: 0 auto 12px;
  opacity: 0.7;
}
.empty strong {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 6px;
}
.empty .button {
  margin-top: 15px;
}
.footer {
  padding: 14px 32px;
  display: flex;
  justify-content: space-between;
  color: var(--faint);
  font-size: 9px;
  border-top: 1px solid #1b2531;
}
.tabs {
  display: flex;
  gap: 25px;
  border-bottom: 1px solid var(--line);
  margin: 0 0 22px;
}
.tab {
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 12px 0;
  color: var(--muted);
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.tab svg {
  width: 14px;
  height: 14px;
}
.tab.selected {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.pillar-title {
  display: flex;
  gap: 14px;
  align-items: center;
}
.pillar-title .pillar-symbol {
  width: 45px;
  height: 45px;
  font-size: 23px;
}
.pillar-title h1 {
  margin-bottom: 3px;
  text-transform: capitalize;
}
.pillar-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 14px;
  font-size: 11px;
  color: var(--muted);
}
.pillar-meta span + span:before {
  content: "·";
  margin-right: 12px;
  color: var(--faint);
}
.graph-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 18px;
}
.graph-panel {
  min-width: 0;
}
.graph-viewport {
  height: 450px;
  overflow: auto;
  background-image: radial-gradient(#293341 0.8px, transparent 0.8px);
  background-size: 18px 18px;
  position: relative;
  scrollbar-width: thin;
}
.graph-canvas {
  position: relative;
  transform-origin: top left;
}
.graph-edges {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.graph-edges .membership {
  fill: none;
  stroke: #3b4657;
  stroke-width: 1;
  stroke-dasharray: 4 5;
}
.graph-edges .handoff {
  fill: none;
  stroke: #6cbaa2;
  stroke-width: 1.6;
}
.graph-edges .pending {
  stroke: #69628e;
  stroke-dasharray: 5 6;
}
.graph-edges .flowing {
  stroke: var(--accent);
  stroke-dasharray: 6 5;
  animation: flow 1.5s linear infinite;
}
@keyframes flow {
  to {
    stroke-dashoffset: -33;
  }
}
.agent-node {
  position: absolute;
  width: 202px;
  min-height: 111px;
  border: 1px solid #344252;
  border-radius: 10px;
  background: #17212d;
  text-align: left;
  padding: 12px;
  box-shadow: 0 6px 15px #0003;
  cursor: pointer;
}
.agent-node:hover {
  border-color: var(--accent);
  background: #1c2c37;
  z-index: 2;
}
.agent-node.working {
  border-color: #6bae98;
  box-shadow:
    0 0 0 3px #77dcb20a,
    0 6px 15px #0003;
}
.agent-node.interrupted,
.agent-node.blocked {
  border-color: #8f724b;
}
.agent-node.manager {
  background: #201f31;
  border-color: #565071;
}
.node-top {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 9px;
}
.node-top strong {
  font-size: 11px;
  font-weight: 550;
  max-width: 128px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.node-top .dot {
  margin-left: auto;
  width: 6px;
  height: 6px;
}
.node-task {
  font-size: 10px;
  color: #9aaabc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 10px;
  min-height: 15px;
}
.node-bottom {
  display: flex;
  justify-content: space-between;
  color: var(--faint);
  font-size: 9px;
}
.node-bottom .stage {
  color: var(--accent);
}
.graph-toolbar {
  display: flex;
  gap: 6px;
  align-items: center;
}
.graph-toolbar span {
  font-size: 10px;
  color: var(--faint);
  margin-right: 3px;
}
.graph-legend {
  display: flex;
  gap: 18px;
  padding: 12px 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 9px;
  flex-wrap: wrap;
}
.legend-line {
  width: 19px;
  height: 0;
  border-top: 1px dashed #718090;
  display: inline-block;
  margin: 0 5px 3px 0;
}
.legend-line.handoff {
  border-top: 2px solid #6cbaa2;
}
.pod-pulse .big-value {
  font-size: 32px;
  letter-spacing: -1px;
}
.pod-pulse .mini-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 13px 0;
  color: var(--muted);
  font-size: 11px;
}
.pod-pulse .mini-stat strong {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}
.divider {
  height: 1px;
  background: var(--line);
  margin: 18px 0;
}
.small-label {
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 10px;
}
.pulse-agent {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 0;
  font-size: 10px;
  background: none;
  border: 0;
  width: 100%;
  text-align: left;
}
.pulse-agent > span:nth-child(2) {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pulse-agent .badge {
  font-size: 8px;
}
.board-wrap {
  overflow-x: auto;
  padding-bottom: 12px;
}
.board {
  display: grid;
  grid-template-columns: repeat(5, minmax(220px, 1fr));
  gap: 13px;
  align-items: start;
  min-width: 1130px;
}
.column {
  background: #101720;
  border: 1px solid #202b38;
  border-radius: 10px;
  padding: 12px;
  min-height: 260px;
}
.column-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 1px 2px 15px;
  font-size: 11px;
  font-weight: 500;
}
.column-head .number {
  margin-left: auto;
  font-size: 10px;
  color: var(--muted);
  background: #232d3b;
  border-radius: 4px;
  min-width: 22px;
  text-align: center;
}
.task-card {
  display: block;
  width: 100%;
  text-align: left;
  border: 1px solid #2d3948;
  border-radius: 9px;
  padding: 13px;
  background: #19222e;
  margin-bottom: 9px;
  transition: border-color 0.15s;
}
.task-card:hover {
  border-color: #607b84;
}
.task-card-top {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: var(--faint);
  margin-bottom: 8px;
}
.task-card h3 {
  font-size: 12px;
  line-height: 1.55;
  margin-bottom: 10px;
  min-height: 36px;
}
.task-card .task-progress {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 11px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.task-card-bottom {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 9px;
  color: var(--muted);
  padding-top: 10px;
  border-top: 1px solid #293442;
}
.task-card-bottom .time {
  margin-left: auto;
  color: var(--faint);
}
.task-card .avatar {
  width: 20px;
  height: 20px;
  font-size: 7px;
}
.dependency-label {
  font-size: 9px;
  color: var(--purple);
  margin-bottom: 9px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.dependency-label svg {
  width: 11px;
  height: 11px;
}
.column-empty {
  font-size: 10px;
  color: var(--faint);
  text-align: center;
  padding: 30px 10px;
  border: 1px dashed #2b3644;
  border-radius: 7px;
}
.compact-board {
  margin-top: 26px;
}
.agent-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}
.agent-table th {
  font-size: 9px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  text-align: left;
  padding: 13px 17px;
  color: var(--faint);
  font-weight: 500;
  background: #101720;
}
.agent-table td {
  padding: 14px 17px;
  border-top: 1px solid var(--line);
}
.agent-table tbody tr {
  cursor: pointer;
}
.agent-table tbody tr:hover {
  background: #1a2632;
}
.agent-identity {
  display: flex;
  gap: 9px;
  align-items: center;
  white-space: nowrap;
}
.agent-identity strong {
  font-weight: 550;
}
.agent-identity small {
  display: block;
  color: var(--faint);
  font-size: 9px;
}
.current-work {
  max-width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted);
}
.agent-table .numeric {
  font-variant-numeric: tabular-nums;
}
.table-wrap {
  overflow: auto;
}
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: #03070c88;
  backdrop-filter: blur(3px);
  z-index: 49;
}
.drawer {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(560px, 95vw);
  background: #121a25;
  border-left: 1px solid #354252;
  z-index: 50;
  overflow: auto;
  box-shadow: -20px 0 80px #0006;
  padding: 25px 27px;
}
.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 23px;
}
.drawer-head > span {
  font-size: 10px;
  letter-spacing: 1.3px;
  color: var(--faint);
  text-transform: uppercase;
}
.drawer-title {
  display: flex;
  gap: 13px;
  align-items: center;
}
.drawer-title > .avatar {
  width: 41px;
  height: 41px;
  font-size: 12px;
}
.drawer-title h2 {
  font-size: 21px;
}
.drawer-title p {
  font-size: 10px;
  color: var(--muted);
  margin-top: 3px;
}
.drawer-actions {
  display: flex;
  gap: 7px;
  margin: 19px 0 25px;
}
.drawer-task {
  margin-top: 20px;
}
.drawer-task h3 {
  font-size: 17px;
  line-height: 1.5;
  margin: 10px 0;
}
.drawer-task .task-instructions {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
  white-space: pre-wrap;
}
.detail-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin: 20px 0;
}
.detail-stats > div {
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 9px;
  color: var(--muted);
}
.detail-stats strong {
  display: block;
  font-size: 21px;
  font-weight: 500;
  color: var(--text);
}
.execution-flow {
  display: flex;
  align-items: center;
  margin: 20px 0 29px;
}
.flow-step {
  position: relative;
  flex: 1;
  text-align: center;
  font-size: 8px;
  color: var(--faint);
}
.flow-step:before {
  content: "";
  height: 1px;
  background: #344253;
  position: absolute;
  left: 0;
  right: 0;
  top: 12px;
}
.flow-step:first-child:before {
  left: 50%;
}
.flow-step:last-child:before {
  right: 50%;
}
.flow-step i {
  position: relative;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  margin: 0 auto 7px;
  background: #1b2533;
  border: 1px solid #405067;
  border-radius: 50%;
  font-style: normal;
  font-size: 9px;
}
.flow-step.reached i {
  background: #233c35;
  border-color: #4e8a75;
  color: var(--green);
}
.flow-step.current {
  color: var(--accent);
}
.flow-step.current i {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px #8bf0cd12;
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 9px 0 20px;
}
.check-list li {
  font-size: 11px;
  color: var(--muted);
  padding: 7px 0;
  display: flex;
  gap: 9px;
}
.check-list li:before {
  content: "◇";
  color: var(--faint);
}
.task-link {
  width: 100%;
  background: none;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 10px 12px;
  margin: 4px 0;
  display: flex;
  gap: 10px;
  align-items: center;
  text-align: left;
  font-size: 11px;
}
.task-link:hover {
  border-color: #536b7a;
}
.task-link span:nth-child(2) {
  flex: 1;
}
.task-link small {
  display: block;
  color: var(--faint);
  font-size: 9px;
}
.detail-events .event-row {
  padding: 11px 0;
}
.output {
  background: #0b1119;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 13px;
  color: #aac6be;
  font:
    10px/1.7 ui-monospace,
    SFMono-Regular,
    monospace;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 280px;
  overflow: auto;
  min-height: 70px;
}
.file-path {
  display: block;
  font:
    10px/1.6 ui-monospace,
    monospace;
  color: #a7bcdc;
  background: #0f1722;
  border-radius: 5px;
  padding: 8px 10px;
  margin: 6px 0;
  overflow-wrap: anywhere;
}
.contract-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.contract-grid h3 {
  font-size: 13px;
  margin-bottom: 11px;
}
.contract-grid p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
}
.config-panel {
  max-width: 950px;
}
.config-panel label {
  color: var(--muted);
  font-size: 11px;
}
.config-panel select {
  margin: 0 10px 18px;
  max-width: 320px;
}
.config-panel textarea {
  display: block;
  width: 100%;
  min-height: 430px;
  resize: vertical;
  background: #0d131d;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 20px;
  color: #c2d3dd;
  font:
    12px/1.7 ui-monospace,
    monospace;
  tab-size: 2;
}
.config-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
}
.config-actions span {
  font-size: 11px;
  color: var(--muted);
}
.demo-banner {
  background: #242535;
  border-bottom: 1px solid #494058;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 32px;
  color: #bdb6d5;
  font-size: 10px;
  gap: 15px;
}
.demo-banner strong {
  font-size: 9px;
  letter-spacing: 0.7px;
  color: #e0d1ff;
  margin-right: 13px;
}
.demo-banner button {
  background: none;
  border: 0;
  color: #dbcaff;
  font-size: 10px;
  white-space: nowrap;
}
.error-banner {
  background: #342921;
  border-bottom: 1px solid #67503a;
  padding: 11px 32px;
  font-size: 11px;
  color: var(--amber);
}
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  padding: 13px 20px;
  border: 1px solid #4f6d62;
  border-radius: 9px;
  background: #20372f;
  box-shadow: 0 8px 30px #0005;
  z-index: 70;
  font-size: 12px;
  max-width: 80vw;
}
.loading {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  min-height: 55vh;
  color: var(--muted);
}
.loader {
  width: 18px;
  height: 18px;
  border: 2px solid #2c4444;
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 10px;
  margin-bottom: 20px;
}
.back-link svg {
  width: 13px;
  transform: rotate(180deg);
}
.load-more {
  width: 100%;
  margin-top: 5px;
  background: none;
  border: 1px dashed #394658;
  border-radius: 7px;
  padding: 8px;
  color: var(--muted);
  font-size: 10px;
}
.section-space {
  margin-top: 27px;
}
.code-inline {
  font:
    10px ui-monospace,
    monospace;
  color: var(--blue);
}
.alert-note {
  font-size: 11px;
  line-height: 1.7;
  border: 1px solid #6b5339;
  border-radius: 7px;
  padding: 10px 12px;
  color: var(--amber);
  background: #2a241c;
  margin: 15px 0;
}
.filters-note {
  font-size: 10px;
  color: var(--faint);
  margin-bottom: 12px;
}
#pillar-nav {
  overflow-y: auto;
  max-height: 45vh;
  scrollbar-width: thin;
}
@media (min-width: 1600px) {
  main {
    padding: 36px 42px;
  }
  .topbar,
  .footer {
    padding-left: 42px;
    padding-right: 42px;
  }
  .pillar-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .graph-viewport {
    height: 500px;
  }
}
@media (max-width: 1150px) {
  .sidebar {
    width: 185px;
    padding-left: 10px;
    padding-right: 10px;
  }
  .shell {
    margin-left: 185px;
  }
  main {
    padding: 24px;
  }
  .topbar {
    padding: 0 24px;
  }
  .graph-layout {
    grid-template-columns: 1fr;
  }
  .pod-pulse {
    display: none;
  }
  .stat {
    padding: 15px;
  }
  .stat-value {
    font-size: 28px;
  }
  .stat-activity {
    display: none;
  }
  .bottom-grid {
    grid-template-columns: 1fr;
  }
  .search input {
    width: 130px;
  }
  .stats {
    gap: 10px;
  }
  .pillar-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  }
}
@media (max-width: 760px) {
  .sidebar {
    width: 61px;
    padding: 18px 7px;
  }
  .brand {
    font-size: 0;
    padding: 0 5px 25px;
    gap: 0;
  }
  .brand-icon {
    font-size: 24px;
    min-width: 31px;
  }
  .brand .version,
  .workspace-label,
  .workspace-name,
  .nav-link .nav-count,
  #pillar-nav,
  .sidebar-bottom .demo-button,
  .runtime-label {
    display: none;
  }
  .nav-link {
    font-size: 0;
    gap: 0;
    justify-content: center;
    padding: 12px;
  }
  .nav-link svg {
    width: 18px;
    height: 18px;
  }
  .shell {
    margin-left: 61px;
  }
  .topbar {
    height: 59px;
    padding: 0 17px;
  }
  .operator-avatar {
    display: none;
  }
  main {
    padding: 21px 16px;
  }
  .page-heading {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
  }
  h1 {
    font-size: 25px;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 23px;
  }
  .section-heading {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .tools {
    flex-wrap: wrap;
  }
  .pillar-grid {
    grid-template-columns: 1fr;
  }
  .footer {
    padding: 12px 17px;
  }
  .footer > span:last-child {
    display: none;
  }
  .demo-banner {
    padding: 10px 17px;
    align-items: flex-start;
  }
  .demo-banner > span {
    max-width: 70%;
  }
  .demo-banner strong {
    display: block;
  }
  .demo-banner button {
    white-space: normal;
  }
  .contract-grid {
    grid-template-columns: 1fr;
  }
  .tabs {
    gap: 17px;
  }
  .tab {
    font-size: 10px;
  }
  .drawer {
    padding: 20px;
  }
  .connection {
    font-size: 10px;
  }
  .error-banner {
    padding: 10px 17px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* The navigation follows Pillar ownership; workspace views stay secondary. */
#pillar-nav {
  flex: 1;
  min-height: 60px;
  max-height: none;
}
.pillar-label {
  margin-top: 20px;
}
.workspace-tools {
  padding-top: 16px;
  border-top: 1px solid var(--line);
  margin-top: 16px;
}
.workspace-tools .workspace-label {
  margin-bottom: 8px;
}
.pillar-item > .dot:last-child {
  margin-left: auto;
}
.branch-chevron {
  width: 10px;
  color: var(--faint);
}
.agent-children {
  margin: 4px 0 10px 20px;
  padding-left: 8px;
  border-left: 1px solid var(--line);
}
.agent-child {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  color: var(--muted);
  border-radius: 6px;
  font-size: 11px;
}
.agent-child > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.agent-child .dot {
  width: 5px;
  height: 5px;
  flex-shrink: 0;
}
.agent-child:hover,
.agent-child.selected {
  background: var(--raised);
  color: var(--accent);
}
.breadcrumb a:hover,
.drawer-head a:hover {
  color: var(--accent);
}
.breadcrumb {
  min-width: 0;
  flex-wrap: wrap;
}
.drawer-head .icon-button {
  margin-left: auto;
}
.page-heading h1 .count {
  vertical-align: middle;
  font-size: 15px;
  letter-spacing: 0;
  margin-left: 8px;
}

.sidebar .brand {
  padding-bottom: 18px;
}
.sidebar .workspace-name {
  margin-bottom: 16px;
}
.sidebar-bottom {
  padding-top: 12px;
}
.sidebar-bottom .demo-button {
  padding: 9px 10px;
  margin-bottom: 6px;
}
.sidebar-bottom .demo-button small {
  display: none;
}
.workspace-tools {
  padding-top: 10px;
  margin-top: 10px;
}
.workspace-tools summary {
  padding: 5px 12px;
  color: var(--muted);
  font-size: 11px;
  cursor: pointer;
}
.workspace-tools summary:hover {
  color: var(--text);
}
@media (max-width: 760px) {
  .workspace-tools {
    display: none;
  }
}

.demo-banner {
  flex-wrap: wrap;
  gap: 10px;
}
.demo-banner > div:first-child {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.demo-disclosure {
  font-size: 10px;
  color: #c5bfd9;
}
.demo-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.demo-controls #demo-state {
  font-size: 10px;
  color: #c5bfd9;
  min-width: 94px;
}
.demo-controls button,
.demo-controls select {
  padding: 5px 8px;
  border: 1px solid #514661;
  border-radius: 5px;
  background: #30283e;
  color: #eee5ff;
  font-size: 10px;
}
.demo-controls button:hover {
  background: #49395f;
}
@media (prefers-reduced-motion: reduce) {
  .handoff.flowing {
    animation: none;
  }
}

.graph-viewport > div {
  margin-inline: auto;
}
