@font-face {
  font-family: "Lettera Mono LL Local";
  src:
    local("Lettera Mono LL Regular"),
    local("Lettera Mono LL");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Lettera Mono LL Local";
  src:
    local("Lettera Mono LL Light"),
    local("Lettera Mono LL");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0b0b0d;
  --panel: #0b0b0d;
  --rule: rgba(255, 255, 255, 0.17);
  --rule-soft: rgba(255, 255, 255, 0.08);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --dim: rgba(255, 255, 255, 0.43);
  --blue: #2c91f8;
  --orange: #ff9f16;
  --red: #ff4b46;
  --green: #9fffc3;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --type-xxs: 9px;
  --type-xs: 11px;
  --type-sm: 12px;
  --type-md: 14px;
  --type-lg: 17px;
  --type-xl: 22px;
  --body-lg-size: 16px;
  --body-lg-line: 20px;
  --body-sm-size: 12px;
  --body-sm-line: 16px;
  --body-xxs-size: 8px;
  --body-xxs-line: 12px;
  --icon-md: 20px;
  --allocation-panel-height: 712px;
  --allocation-header-height: 45px;
  --allocation-row-count: 8;
  --title-font: "Ndot77JPExtended", "OCR A Extended", "Cascadia Mono", "Consolas", "Courier New", monospace;
  --mono-font: "Lettera Mono LL Local", "Lettera Mono LL", "Cascadia Mono", "Consolas", "Lucida Console", monospace;
  --mono-weight-regular: 400;
  --mono-weight-light: 300;
  --motion-panel-dur: 620ms;
  --motion-item-dur: 500ms;
  --motion-settle-ease: cubic-bezier(0.18, 0.88, 0.22, 1);
  --motion-latch-ease: cubic-bezier(0.18, 0.82, 0.24, 1);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
}

body {
  overflow: hidden;
  background: #050506;
  color: var(--text);
  font-family: var(--mono-font);
  font-weight: 400;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

button {
  color: inherit;
  font: inherit;
}

#viewport {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background: #050506;
}

.dashboard {
  position: absolute;
  left: 0;
  top: 0;
  width: 1920px;
  height: 970px;
  overflow: hidden;
  transform-origin: 0 0;
  background:
    radial-gradient(circle at 79% 38%, rgba(255, 255, 255, 0.03), transparent 16%),
    linear-gradient(var(--bg), var(--bg));
  border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.dashboard::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.19;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, transparent 0, rgba(0, 0, 0, 0.8) 140px, rgba(0, 0, 0, 0.9) 100%);
}

.dashboard::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background:
    linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.05) 46%, rgba(255, 255, 255, 0.11) 50%, rgba(255, 255, 255, 0.05) 54%, transparent 100%);
  mix-blend-mode: screen;
}

.panel {
  position: absolute;
  background: rgba(10, 10, 12, 0.94);
  border: 1px solid var(--rule);
}

.top-bar {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 78px;
  display: block;
  border-bottom: 1px solid var(--rule);
  background: rgba(9, 9, 11, 0.96);
  z-index: 3;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  position: absolute;
  left: 20px;
  top: 0;
  height: 100%;
  color: #fff;
  text-decoration: none;
  font-size: 24px;
  line-height: 28px;
  font-weight: var(--mono-weight-regular);
  letter-spacing: 0.16em;
}

.brand-mark {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 999px;
  background: transparent;
}

.brand-mark img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.top-tabs {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(4, max-content);
  justify-content: center;
  align-items: center;
  gap: 76px;
  height: 100%;
}

.top-tab {
  position: relative;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
  line-height: 24px;
  font-weight: var(--mono-weight-regular);
  letter-spacing: 0.16em;
  cursor: pointer;
  transition: color 160ms ease, transform 180ms var(--motion-latch-ease), text-shadow 180ms ease;
}

.top-tab:hover,
.top-tab.is-active {
  color: #fff;
  transform: translate3d(0, -1px, 0);
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.1);
}

.top-tab.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0.16em;
  bottom: -2px;
  height: 1px;
  background: #fff;
}

.profile-button {
  position: absolute;
  right: 12px;
  top: 21px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition: transform 180ms var(--motion-latch-ease), color 180ms ease;
}

.profile-button:hover {
  transform: translate3d(0, -1px, 0);
  color: #fff;
}

.profile-button i {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-size: 32px;
  line-height: 1;
}

.title-panel {
  top: 78px;
  height: 69px;
  display: grid;
  place-items: center;
}

.left-title {
  left: 0;
  width: 386px;
}

.center-title {
  left: 385px;
  width: 1112px;
}

.right-title {
  left: 1496px;
  width: 424px;
}

h1 {
  margin: 0;
  font-family: var(--title-font);
  font-size: var(--type-xl);
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.2;
  text-align: center;
  color: #fff;
  text-shadow: 0 0 9px rgba(255, 255, 255, 0.19);
}

.stat-panel {
  top: 147px;
  height: 111px;
}

.stat-total {
  left: 0;
  width: 129px;
}

.stat-active {
  left: 128px;
  width: 130px;
}

.stat-idle {
  left: 257px;
  width: 129px;
}

.stat-number {
  position: absolute;
  top: 19px;
  left: 0;
  right: 0;
  font-family: var(--title-font);
  font-size: 24px;
  line-height: 29px;
  letter-spacing: 0;
  text-align: center;
}

.stat-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  font-size: 12px;
  line-height: 15px;
  text-align: center;
  color: #fff;
  white-space: nowrap;
}

.agent-allocation {
  left: 0;
  top: 258px;
  width: 386px;
  height: var(--allocation-panel-height);
  overflow: hidden;
}

.allocation-header {
  position: absolute;
  inset: 0 0 auto 0;
  height: var(--allocation-header-height);
  display: grid;
  grid-template-columns: 128px 1fr;
  border-bottom: 1px solid var(--rule);
}

.allocation-header span {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--body-lg-size);
  line-height: var(--body-lg-line);
  font-weight: var(--mono-weight-regular);
  letter-spacing: 0.04em;
}

.allocation-header span:first-child {
  border-right: 1px solid var(--rule);
}

.agent-scroll {
  position: absolute;
  left: 0;
  top: var(--allocation-header-height);
  right: 0;
  bottom: 0;
}

.agent-row {
  position: relative;
  width: 100%;
  height: calc((var(--allocation-panel-height) - var(--allocation-header-height)) / var(--allocation-row-count));
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr) 34px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--rule);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.agent-row::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 66%);
  opacity: 0;
  transition: opacity 180ms ease;
}

.agent-row:hover::before,
.agent-row.is-active::before {
  opacity: 1;
}

.agent-row.is-active {
  box-shadow: inset 2px 0 0 #fff;
}

.runtime-cell,
.agent-cell,
.status-cell {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
}

.runtime-cell {
  padding: var(--space-3);
  gap: var(--space-2);
  border-right: 1px solid var(--rule);
  justify-content: center;
}

.runtime-head {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  min-width: 0;
  font-size: var(--body-lg-size);
  line-height: var(--body-lg-line);
  font-weight: var(--mono-weight-regular);
  letter-spacing: 0;
}

.runtime-head span {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.runtime-icon {
  width: var(--icon-md);
  height: var(--icon-md);
  flex: 0 0 var(--icon-md);
  object-fit: contain;
}

.runtime-model {
  width: 100%;
  overflow: hidden;
  color: var(--muted);
  font-size: var(--body-sm-size);
  line-height: var(--body-sm-line);
  font-weight: var(--mono-weight-light);
  letter-spacing: 0;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.agent-cell {
  padding: 0 4px 0 var(--space-3);
  gap: 9px;
  justify-content: center;
}

.agent-name {
  overflow: hidden;
  font-size: var(--body-lg-size);
  line-height: var(--body-lg-line);
  font-weight: var(--mono-weight-regular);
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.agent-task {
  display: -webkit-box;
  max-height: calc(var(--body-sm-line) * 2);
  overflow: hidden;
  color: var(--muted);
  font-size: var(--body-sm-size);
  line-height: var(--body-sm-line);
  font-weight: var(--mono-weight-light);
  letter-spacing: 0.05em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.status-cell {
  display: grid;
  place-items: center;
  pointer-events: none;
}

.row-status {
  position: relative;
  display: grid;
  place-items: center;
  width: var(--icon-md);
  height: var(--icon-md);
  color: #fff;
  transform-origin: 50% 50%;
}

.row-status i {
  display: grid;
  place-items: center;
  width: var(--icon-md);
  height: var(--icon-md);
  font-size: 20px;
  line-height: 1;
  transform-origin: 50% 50%;
}

.row-status i::before {
  display: block;
  line-height: 1;
}

.row-status.pause::before,
.row-status.pause::after {
  content: "";
  position: absolute;
  top: 4px;
  width: 2px;
  height: 12px;
  background: #fff;
}

.row-status.pause::before {
  left: 6px;
}

.row-status.pause::after {
  right: 6px;
}

.status-ring {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--icon-md);
  height: var(--icon-md);
  overflow: visible;
  transform-box: fill-box;
  transform-origin: center center;
  animation: rotateActiveNode 1.35s linear infinite;
}

.status-ring circle {
  fill: #0b0b0d;
  stroke: rgba(255, 255, 255, 0.92);
  stroke-width: 1.8;
  stroke-linecap: butt;
  stroke-dasharray: 2.35 1.85;
  vector-effect: non-scaling-stroke;
}

.row-status.review i {
  color: var(--orange);
}

.row-status.input i {
  color: var(--blue);
}

.row-status.blocked i {
  color: var(--red);
}

.row-status.failed i {
  color: var(--red);
}

.row-status.done i {
  color: rgba(255, 255, 255, 0.86);
}

.scroll-thumb {
  position: absolute;
  top: 16px;
  right: -18px;
  width: 4px;
  height: 34px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.timeline-panel {
  left: 385px;
  top: 147px;
  width: 1112px;
  height: 410px;
  overflow: hidden;
}

.icon-button {
  position: absolute;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: transform 180ms var(--motion-latch-ease), opacity 180ms ease;
}

.icon-button:hover {
  transform: translate3d(0, -1px, 0);
}

.expand-button {
  right: 0;
  top: 0;
}

.expand-button i {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: rgba(255, 255, 255, 0.82);
  font-size: 20px;
}

.timeline-sidebar {
  position: absolute;
  left: 27px;
  top: 48px;
  width: 188px;
  height: 362px;
}

.timeline-sidebar::after {
  content: "";
  position: absolute;
  top: 40px;
  right: 0;
  width: 1px;
  height: 322px;
  background: var(--rule-soft);
}

.timeline-agent-label {
  position: absolute;
  left: 24px;
  top: 8px;
  font-size: var(--body-lg-size);
  font-weight: var(--mono-weight-regular);
  line-height: var(--body-lg-line);
}

.timeline-agent {
  position: absolute;
  left: 0;
  display: grid;
  grid-template-columns: var(--icon-md) minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: var(--space-2);
  row-gap: var(--space-1);
  width: 188px;
  min-height: 56px;
  opacity: 0.94;
  cursor: pointer;
}

.timeline-agent::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 1px;
  background: var(--rule-soft);
}

.timeline-agent:nth-of-type(2) {
  top: 67px;
}

.timeline-agent:nth-of-type(3) {
  top: 125px;
}

.timeline-agent:nth-of-type(4) {
  top: 183px;
}

.timeline-agent:nth-of-type(5) {
  top: 241px;
}

.timeline-agent:nth-of-type(6) {
  top: 303px;
}

.timeline-agent strong {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  overflow: hidden;
  font-size: var(--body-lg-size);
  font-weight: var(--mono-weight-regular);
  line-height: var(--body-lg-line);
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.timeline-agent em {
  grid-column: 2;
  grid-row: 2;
  color: var(--muted);
  font-size: var(--body-sm-size);
  font-style: normal;
  line-height: var(--body-sm-line);
  font-weight: var(--mono-weight-light);
  letter-spacing: 0.07em;
}

.mini-agent-icon {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: start;
  width: var(--icon-md);
  height: var(--icon-md);
  object-fit: contain;
}

.time-axis {
  position: absolute;
  left: 215px;
  top: 48px;
  width: 885px;
  height: 44px;
  --axis-center-x: 50%;
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  touch-action: none;
  border-radius: 3px;
  background: var(--bg);
  box-shadow:
    inset 66px 0 38px rgba(11, 11, 13, 0.92),
    inset -66px 0 38px rgba(11, 11, 13, 0.92),
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04);
}

.time-axis::before,
.time-axis::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
}

.time-axis::before {
  background:
    linear-gradient(to right, #0b0b0d 0, rgba(11, 11, 13, 0.98) 3%, rgba(11, 11, 13, 0.48) 10%, transparent 20%, transparent 80%, rgba(11, 11, 13, 0.48) 90%, rgba(11, 11, 13, 0.98) 97%, #0b0b0d 100%);
}

.time-axis::after {
  display: none;
}

.time-axis-ruler {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  z-index: 3;
  will-change: transform;
  transform-origin: var(--axis-center-x) 50%;
  transition: transform 380ms cubic-bezier(0.16, 1, 0.22, 1);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%);
}

.time-axis.is-dragging {
  cursor: ew-resize;
}

.time-axis.is-dragging .time-axis-ruler {
  transition: none;
}

.time-axis.is-dragging .tick:not(.minor),
.time-axis.is-dragging .time-label {
  opacity: 1;
}

.time-axis-reticle {
  position: absolute;
  left: var(--axis-center-x);
  top: 4px;
  bottom: 3px;
  z-index: 1;
  width: 1px;
  transform: translateX(-0.5px);
  pointer-events: none;
  background: rgba(255, 255, 255, 0.72);
  box-shadow:
    0 0 10px rgba(255, 255, 255, 0.22),
    -10px 0 20px rgba(255, 255, 255, 0.035),
    10px 0 20px rgba(255, 255, 255, 0.035);
  transition: opacity 160ms ease, box-shadow 160ms ease;
}

.time-axis-current {
  position: absolute;
  left: var(--axis-center-x);
  top: 0;
  z-index: 4;
  padding: 0 5px;
  transform: translateX(-50%) translateY(-1px);
  color: rgba(255, 255, 255, 0.88);
  background: var(--bg);
  box-shadow: 0 0 12px rgba(11, 11, 13, 0.9);
  font-size: var(--body-sm-size);
  line-height: var(--body-sm-line);
  font-weight: var(--mono-weight-light);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 120ms ease, transform 160ms ease;
}

.time-axis.has-unlabeled-reticle .time-axis-current {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.time-axis-reticle::before,
.time-axis-reticle::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 15px;
  height: 1px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.7);
}

.time-axis-reticle::before {
  top: 0;
}

.time-axis-reticle::after {
  bottom: 0;
}

.time-axis.is-dragging .time-axis-reticle {
  box-shadow:
    0 0 14px rgba(255, 255, 255, 0.32),
    -14px 0 24px rgba(255, 255, 255, 0.05),
    14px 0 24px rgba(255, 255, 255, 0.05);
}

.time-axis.is-snapped .time-axis-reticle {
  animation: reticleSnap 260ms cubic-bezier(0.18, 0.9, 0.2, 1);
}

.time-label {
  position: absolute;
  top: 0;
  --focus: 0;
  --inner-focus: 0;
  transform:
    translateX(-50%)
    translateY(calc((1 - var(--focus)) * 1.5px))
    scale(calc(0.92 + var(--focus) * 0.1));
  color: rgba(255, 255, 255, calc(0.28 + var(--focus) * 0.72));
  font-size: var(--body-sm-size);
  line-height: var(--body-sm-line);
  font-weight: var(--mono-weight-light);
  white-space: nowrap;
  opacity: calc(0.28 + var(--focus) * 0.72);
  filter: blur(calc((1 - var(--focus)) * 0.42px));
  transition: opacity 90ms linear, color 90ms linear, filter 90ms linear;
}

.time-label.dim {
  color: rgba(255, 255, 255, calc(0.16 + var(--focus) * 0.55));
}

.time-label.is-at-reticle {
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.26);
}

.tick {
  position: absolute;
  bottom: 0;
  --focus: 0;
  --inner-focus: 0;
  width: 1px;
  height: 9px;
  background: rgba(255, 255, 255, calc(0.22 + var(--focus) * 0.7));
  opacity: calc(0.28 + var(--focus) * 0.72);
  transform:
    translateX(-50%)
    scaleY(calc(0.72 + var(--focus) * 0.76));
  transform-origin: center bottom;
  filter:
    blur(calc((1 - var(--focus)) * 0.32px))
    drop-shadow(0 0 calc(var(--inner-focus) * 7px) rgba(255, 255, 255, 0.38));
  transition: opacity 80ms linear, filter 80ms linear, background-color 80ms linear;
}

.tick.minor {
  height: 4px;
  background: rgba(255, 255, 255, calc(0.16 + var(--focus) * 0.54));
}

.tick.is-at-reticle {
  background: rgba(255, 255, 255, 0.96);
}

.time-axis.is-snapped .tick.is-at-reticle {
  animation: tickCatch 260ms cubic-bezier(0.18, 0.9, 0.2, 1);
}

.time-axis.is-snapped .time-label.is-at-reticle {
  animation: labelCatch 260ms cubic-bezier(0.18, 0.9, 0.2, 1);
}

.timeline-svg {
  position: absolute;
  left: 215px;
  top: 88px;
  width: 885px;
  height: 322px;
}

.timeline-label-connector-layer {
  position: absolute;
  left: 215px;
  top: 88px;
  width: 885px;
  height: 322px;
  pointer-events: none;
  overflow: hidden;
}

.timeline-label-layer {
  position: absolute;
  left: 215px;
  top: 88px;
  width: 885px;
  height: 322px;
  pointer-events: none;
  overflow: visible;
}

.lane-lines line {
  stroke: rgba(255, 255, 255, 0.075);
  stroke-width: 1;
}

.timeline-lane {
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}

.timeline-connection {
  fill: none;
  stroke: rgba(255, 255, 255, 0.92);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  stroke-dasharray: 5 5;
  opacity: 0;
  transition: stroke 240ms ease, opacity 180ms ease;
}

.timeline-connection-vertical {
  opacity: 0;
  stroke-width: 1.65;
}

.timeline-connection.pending {
  opacity: 0;
}

.timeline-connection.visible {
  opacity: 0.72;
}

.timeline-connection.active {
  opacity: 0.94;
}

.timeline-wait-line {
  fill: none;
  stroke-width: 1.1;
  stroke-linecap: round;
  opacity: 0;
  transition: opacity 180ms ease;
}

.timeline-wait-line.visible {
  opacity: 0.8;
}

.timeline-wait-line.red {
  stroke: var(--red);
}

.timeline-wait-line.orange {
  stroke: var(--orange);
}

.timeline-wait-line.blue {
  stroke: var(--blue);
}

.timeline-event {
  cursor: pointer;
  pointer-events: none;
}

.timeline-event.visible {
  pointer-events: auto;
}

.timeline-event .timeline-dot {
  fill: #0b0b0d;
  stroke: rgba(255, 255, 255, 0.85);
  stroke-width: 2;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  transition: opacity 160ms ease, fill 220ms ease, stroke 220ms ease;
}

.timeline-event.visible .timeline-dot {
  opacity: 1;
}

.timeline-event.in-progress .timeline-dot {
  fill: #0b0b0d;
  stroke: rgba(255, 255, 255, 0.95);
  stroke-dasharray: 2.35 1.85;
  animation: rotateActiveNode 1.35s linear infinite;
}

.timeline-event.done .timeline-dot {
  fill: #fff;
  stroke: #fff;
  stroke-dasharray: none;
  filter: none;
}

.timeline-event.just-completed .timeline-dot {
  animation: timelineDoneGlow 1500ms ease-out;
}

.timeline-event.failed .timeline-dot {
  stroke: var(--red);
}

.timeline-event.failed .timeline-dot {
  fill: var(--red);
  stroke-dasharray: none;
  filter: url("#softGlow");
  animation: timelineErrorGlow 1500ms ease-out;
}

.timeline-event.review-needed .timeline-dot {
  stroke: var(--orange);
}

.timeline-event.review-needed .timeline-dot {
  fill: var(--orange);
  stroke-dasharray: none;
  filter: url("#softGlow");
}

.timeline-event.input-needed .timeline-dot {
  fill: var(--blue);
  stroke: var(--blue);
  stroke-dasharray: none;
  filter: url("#softGlow");
}

.timeline-label {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  box-sizing: border-box;
  width: 128px;
  height: 48px;
  min-width: 0;
  max-width: none;
  min-height: 0;
  opacity: 0;
  overflow: visible;
  pointer-events: none;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.38);
  text-shadow:
    0 0 2px rgba(5, 5, 6, 0.96),
    0 0 12px rgba(5, 5, 6, 0.92);
  transition: opacity 180ms ease, color 220ms ease;
  z-index: 2;
}

.timeline-label[data-align="start"] {
  align-items: flex-start;
  text-align: left;
}

.timeline-label[data-align="center"] {
  align-items: center;
  text-align: center;
}

.timeline-label[data-align="end"] {
  align-items: flex-end;
  text-align: right;
}

.timeline-label::after {
  content: none;
}

.timeline-label[data-edge="right"]::after {
  left: auto;
  right: 0;
}

.timeline-label-time,
.timeline-label-copy {
  display: block;
  font-family: var(--mono-font);
  font-size: var(--body-sm-size);
  line-height: var(--body-sm-line);
  letter-spacing: 0;
}

.timeline-label-time {
  font-weight: var(--mono-weight-light);
  color: rgba(255, 255, 255, 0.54);
  width: 100%;
  height: var(--body-sm-line);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
}

.timeline-label-copy {
  font-weight: var(--mono-weight-light);
  color: inherit;
  width: 100%;
  max-height: calc(var(--body-sm-line) * 2);
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  overflow-wrap: break-word;
  word-break: normal;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.timeline-label.visible {
  opacity: 0.62;
  pointer-events: auto;
}

.timeline-label:hover,
.timeline-label:focus-visible,
.timeline-label.is-hover-proxy {
  opacity: 1;
  color: #fff;
  outline: none;
}

.timeline-label:hover::after,
.timeline-label:focus-visible::after,
.timeline-label.is-hover-proxy::after {
  opacity: 1;
  transform: translateY(0);
}

.timeline-label.in-progress,
.timeline-label.just-completed {
  opacity: 1;
  color: #fff;
}

.timeline-label.in-progress .timeline-label-time,
.timeline-label.just-completed .timeline-label-time {
  color: rgba(255, 255, 255, 0.78);
}

.timeline-label.done {
  opacity: 0.56;
}

.timeline-label.failed {
  opacity: 1;
  color: var(--red);
}

.timeline-label.failed .timeline-label-time {
  color: rgba(255, 75, 70, 0.82);
}

.timeline-label.review-needed {
  opacity: 1;
  color: var(--orange);
}

.timeline-label.review-needed .timeline-label-time {
  color: rgba(255, 159, 22, 0.82);
}

.timeline-label.input-needed {
  opacity: 1;
  color: var(--blue);
}

.timeline-label.input-needed .timeline-label-time {
  color: rgba(44, 145, 248, 0.82);
}

.timeline-label.timeline-intervention-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  height: auto;
  min-height: 31px;
  padding: 6px 9px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  background:
    repeating-radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 3px),
    rgba(13, 13, 15, 0.72);
  backdrop-filter: blur(8px) saturate(115%);
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.035);
}

.timeline-label.timeline-intervention-card .timeline-label-copy {
  position: relative;
  z-index: 1;
  color: #fff;
  max-height: var(--body-sm-line);
  display: block;
  -webkit-line-clamp: unset;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.timeline-intervention-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  font-size: 16px;
  line-height: 1;
}

.timeline-label.timeline-intervention-card.failed {
  border-color: rgba(255, 75, 70, 0.48);
}

.timeline-label.timeline-intervention-card.failed .timeline-intervention-icon {
  color: var(--red);
}

.timeline-label.timeline-intervention-card.input-needed {
  border-color: rgba(44, 145, 248, 0.46);
}

.timeline-label.timeline-intervention-card.input-needed .timeline-intervention-icon {
  color: var(--blue);
}

.timeline-label.timeline-intervention-card.review-needed {
  border-color: rgba(255, 159, 22, 0.46);
}

.timeline-label.timeline-intervention-card.review-needed .timeline-intervention-icon {
  color: var(--orange);
}

.timeline-label.timeline-intervention-card::before {
  content: "";
  position: absolute;
  left: -14%;
  right: -14%;
  bottom: -43px;
  height: 76px;
  z-index: -1;
  opacity: 0;
  background:
    radial-gradient(ellipse at 32% 100%, rgba(255, 75, 70, 0.98), transparent 58%),
    radial-gradient(ellipse at 72% 100%, rgba(255, 127, 108, 0.7), transparent 62%),
    linear-gradient(to top, rgba(255, 75, 70, 0.7), rgba(255, 75, 70, 0.24) 42%, transparent 82%);
  filter: blur(10px);
  border-radius: 52% 48% 0 0 / 42% 48% 0 0;
  transform: translateY(4px) skewX(-8deg);
}

.timeline-label.timeline-intervention-card.failed::before {
  opacity: 1;
  animation: interventionErrorWave 3.2s ease-in-out infinite alternate;
}

.timeline-tooltip {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 12;
  max-width: 300px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: #09090b;
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.58),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: var(--body-sm-size);
  line-height: var(--body-sm-line);
  font-weight: var(--mono-weight-regular);
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 120ms ease, transform 120ms ease;
}

.timeline-tooltip.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-tooltip.failed,
.timeline-tooltip.blocked {
  border-color: rgba(255, 75, 70, 0.5);
}

.timeline-tooltip.review {
  border-color: rgba(255, 159, 22, 0.48);
}

.timeline-tooltip.input {
  border-color: rgba(44, 145, 248, 0.48);
}

.timeline-label.stale:not(:hover):not(:focus-visible) {
  opacity: 0.44 !important;
  transition: color 220ms ease;
}

.timeline-label.stale:not(:hover):not(:focus-visible) .timeline-label-copy {
  opacity: 0.92;
}

.timeline-now {
  stroke: rgba(255, 255, 255, 0.28);
  stroke-width: 1;
  opacity: 0.9;
}

.controls-title {
  left: 385px;
  top: 557px;
  width: 732px;
  height: 72px;
  display: grid;
  place-items: center;
}

.controls-blank {
  left: 385px;
  top: 629px;
  width: 732px;
  height: 341px;
  overflow: hidden;
  padding: 0;
}

.agent-control-shell {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-rows: 200px 1fr;
}

.control-current {
  position: relative;
  padding: 15px 15px 10px;
  border-bottom: 1px solid var(--rule);
}

.control-open {
  position: absolute;
  top: 14px;
  right: 12px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.86);
  cursor: pointer;
  transition: transform 180ms var(--motion-latch-ease), color 180ms ease;
}

.control-open:hover {
  transform: translate3d(1px, 0, 0);
  color: #fff;
}

.control-open i {
  display: block;
  font-size: 18px;
  line-height: 1;
}

.selection-readout {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding-right: 34px;
}

.selection-readout strong {
  display: block;
  color: #fff;
  font-size: var(--body-lg-size);
  line-height: var(--body-lg-line);
  font-weight: var(--mono-weight-regular);
  letter-spacing: 0;
  white-space: nowrap;
}

.control-agent-mark {
  width: var(--icon-md);
  height: var(--icon-md);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.control-agent-icon {
  width: var(--icon-md);
  height: var(--icon-md);
  display: block;
  object-fit: contain;
}

#selectedStatus,
.control-status-summary {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.agent-control-meta {
  display: grid;
  gap: 2px;
  margin-top: 14px;
}

.control-meta-line {
  color: rgba(255, 255, 255, 0.34);
  font-size: var(--body-sm-size);
  line-height: var(--body-sm-line);
  font-weight: var(--mono-weight-light);
  letter-spacing: 0.08em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.control-meta-line strong {
  display: inline;
  color: rgba(255, 255, 255, 0.82);
  font-weight: var(--mono-weight-light);
}

.control-actions,
.control-secondary-actions {
  display: grid;
  gap: 8px;
}

.control-actions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 14px;
}

.control-secondary-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 12px;
}

.usage-limits {
  padding: 12px 15px 0;
}

.usage-head strong {
  display: block;
  margin-bottom: 8px;
  font-size: var(--body-lg-size);
  line-height: var(--body-lg-line);
  color: rgba(255, 255, 255, 0.84);
  font-weight: var(--mono-weight-regular);
  letter-spacing: 0.07em;
}

.usage-head span {
  display: none;
}

.usage-meter {
  position: relative;
  height: 16px;
  overflow: hidden;
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.14) 0 2px,
    transparent 2px 6px
  );
}

.usage-meter span {
  display: block;
  width: 42%;
  height: 100%;
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.94) 0 2px,
    transparent 2px 6px
  );
  transition: width 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.control-action {
  position: relative;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: transparent;
  color: rgba(255, 255, 255, 0.86);
  font-size: var(--body-sm-size);
  line-height: var(--body-sm-line);
  font-weight: var(--mono-weight-light);
  letter-spacing: 0;
  cursor: pointer;
  overflow: hidden;
  transition: transform 180ms var(--motion-latch-ease), border-color 180ms ease, background-color 180ms ease, color 180ms ease, box-shadow 220ms ease;
}

.control-action::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.9) 50%, transparent 100%);
  opacity: 0;
  transform: scaleY(0.2);
  transform-origin: center;
  transition: opacity 160ms ease, transform 240ms var(--motion-latch-ease);
  pointer-events: none;
}

.control-action:hover {
  border-color: rgba(255, 255, 255, 0.56);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  transform: translate3d(2px, 0, 0);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.control-action:hover::before {
  opacity: 0.92;
  transform: scaleY(1);
}

.control-action i {
  display: block;
  font-size: 16px;
  line-height: 1;
}

.queue-title {
  left: 1117px;
  top: 557px;
  width: 380px;
  height: 72px;
  display: grid;
  place-items: center;
}

.queue-title h1 {
  font-size: var(--type-xl);
}

.intervention-queue {
  left: 1117px;
  top: 629px;
  width: 380px;
  height: 341px;
  display: flex;
  flex-direction: column;
}

.queue-items {
  flex: 1 1 auto;
}

.queue-item,
.queue-view-all {
  position: relative;
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--rule);
  background: transparent;
  cursor: pointer;
  overflow: hidden;
  transition: transform 180ms var(--motion-latch-ease), background-color 180ms ease, color 180ms ease, box-shadow 220ms ease, border-color 180ms ease;
}

.queue-item::before,
.queue-view-all::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.9) 50%, transparent 100%);
  opacity: 0;
  transform: scaleY(0.2);
  transform-origin: center;
  transition: opacity 160ms ease, transform 240ms var(--motion-latch-ease);
  pointer-events: none;
}

.queue-item {
  height: 70px;
  display: grid;
  grid-template-columns: 42px 1fr 34px;
  align-items: center;
  text-align: left;
}

.queue-item:hover,
.queue-item.is-active {
  background: rgba(255, 255, 255, 0.04);
  transform: translate3d(2px, 0, 0);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.queue-item:hover::before,
.queue-item.is-active::before,
.queue-view-all:hover::before {
  opacity: 0.92;
  transform: scaleY(1);
}

.queue-icon {
  display: grid;
  place-items: center;
  width: var(--icon-md);
  height: var(--icon-md);
  margin-left: 12px;
  font-size: 20px;
  line-height: 1;
}

.queue-icon i,
.queue-arrow i,
.queue-view-all i {
  display: block;
  line-height: 1;
}

.queue-item.orange .queue-icon {
  color: var(--orange);
}

.queue-item.blue .queue-icon {
  color: var(--blue);
}

.queue-item.red .queue-icon {
  color: var(--red);
}

.queue-item strong {
  display: block;
  font-size: var(--body-lg-size);
  font-weight: var(--mono-weight-regular);
  line-height: var(--body-lg-line);
  letter-spacing: 0.05em;
}

.queue-item em {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: var(--body-sm-size);
  font-style: normal;
  line-height: var(--body-sm-line);
  font-weight: var(--mono-weight-light);
  letter-spacing: 0.06em;
}

.queue-arrow {
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 18px;
}

.queue-view-all {
  height: 44px;
  color: #fff;
  font-size: var(--body-lg-size);
  line-height: var(--body-lg-line);
  font-weight: var(--mono-weight-regular);
  letter-spacing: 0.07em;
}

.queue-view-all:hover {
  transform: translate3d(2px, 0, 0);
}

.queue-view-all i {
  display: inline-block;
  font-size: 16px;
  vertical-align: -2px;
}

.activity-map {
  left: 1496px;
  top: 147px;
  width: 424px;
  height: 410px;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  background:
    radial-gradient(circle at 68% 42%, rgba(255, 255, 255, 0.04), transparent 34%),
    linear-gradient(rgba(10, 10, 12, 0.98), rgba(10, 10, 12, 0.98));
}

#codeGraph {
  position: absolute;
  left: 0;
  top: -22px;
  width: 424px;
  height: 454px;
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

#codeGraph:active {
  cursor: grabbing;
}

.graph-hitbox {
  fill: transparent;
}

#graphViewport {
  transform-box: fill-box;
  transform-origin: 0 0;
  transition: transform 1400ms cubic-bezier(0.18, 0.9, 0.2, 1);
}

.code-link {
  fill: none;
  stroke: rgba(119, 134, 143, 0.36);
  stroke-linecap: round;
  stroke-width: 0.85;
  vector-effect: non-scaling-stroke;
  transition: opacity 500ms ease, stroke 500ms ease, stroke-width 500ms ease;
}

.code-link.dependency {
  stroke: rgba(180, 190, 196, 0.16);
}

.code-link.in-scope {
  stroke: rgba(255, 255, 255, 0.5);
  stroke-width: 1.15;
}

.code-link.edited-link {
  stroke: rgba(255, 255, 255, 0.76);
  stroke-width: 1.45;
}

.code-link.near-scope {
  stroke: rgba(255, 255, 255, 0.28);
  stroke-width: 0.95;
}

.code-link.dimmed {
  stroke: rgba(105, 119, 128, 0.11);
  opacity: 0.5;
}

.code-link.is-muted {
  opacity: 0.26;
}

.code-link.is-hidden {
  opacity: 0;
}

.code-node {
  cursor: pointer;
  transition: opacity 360ms ease;
}

.code-node circle {
  fill: url("#nodeIdleFill");
  stroke: rgba(198, 211, 218, 0.26);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  opacity: 1;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45));
  transform-box: fill-box;
  transform-origin: center;
  transition:
    fill 420ms ease,
    stroke 420ms ease,
    stroke-dasharray 420ms ease,
    opacity 420ms ease,
    r 420ms ease;
}

.code-node.module circle {
  fill: #46525a;
  stroke: rgba(255, 255, 255, 0.42);
  filter:
    drop-shadow(0 0 7px rgba(255, 255, 255, 0.05))
    drop-shadow(0 2px 3px rgba(0, 0, 0, 0.55));
}

.code-node.branch circle {
  fill: #15191d;
  stroke: rgba(255, 255, 255, 0.58);
}

.code-node.class circle {
  fill: #262e34;
  stroke: rgba(214, 224, 230, 0.34);
  stroke-width: 0.9;
  opacity: 0.92;
}

.code-node.subfile circle {
  fill: #3a444b;
  opacity: 1;
}

.code-node.in-scope circle {
  fill: #111316;
  stroke: rgba(255, 255, 255, 0.82);
  opacity: 1;
  filter:
    drop-shadow(0 0 4px rgba(255, 255, 255, 0.14))
    drop-shadow(0 2px 3px rgba(0, 0, 0, 0.5));
}

.code-node.in-progress circle {
  fill: rgba(13, 14, 16, 0.96);
  stroke: rgba(255, 255, 255, 0.92);
  stroke-dasharray: 1.35 1.5;
  stroke-width: 1.55;
  opacity: 1;
  filter: drop-shadow(0 0 7px rgba(255, 255, 255, 0.22));
  animation: rotateActiveNode 1.8s linear infinite;
}

.code-node.done circle {
  fill: #fff;
  stroke: #fff;
  stroke-dasharray: none;
  opacity: 1;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.28));
  animation: none;
}

.code-node.editing circle {
  fill: #fff;
  stroke: #fff;
  stroke-dasharray: none;
  opacity: 1;
  filter: url("#graphGlow");
  animation: none;
}

.code-node.just-completed circle {
  animation: graphDoneGlow 1500ms ease-out;
}

.code-node.failed circle {
  fill: var(--red);
  stroke: var(--red);
  stroke-dasharray: none;
  opacity: 1;
  filter: drop-shadow(0 0 7px rgba(255, 75, 70, 0.8));
  animation: timelineErrorGlow 1500ms ease-out;
}

.code-node.review-needed circle {
  fill: var(--orange);
  stroke: var(--orange);
  stroke-dasharray: none;
  opacity: 1;
  filter: drop-shadow(0 0 7px rgba(255, 159, 22, 0.72));
  animation: none;
}

.code-node.dimmed circle {
  fill: #20262b;
  stroke: rgba(156, 169, 176, 0.12);
  opacity: 0.52;
  filter: none;
}

.code-node.is-muted circle {
  opacity: 0.46;
  filter: none;
}

.activity-map[data-zoom="overview"] .code-node.class circle,
.activity-map[data-zoom="overview"] .code-node.subfile circle {
  fill: #313b42;
  opacity: 0.76;
  stroke: rgba(185, 201, 210, 0.2);
}

.activity-map[data-zoom="overview"] .code-link {
  stroke: rgba(119, 134, 143, 0.42);
}

.activity-map[data-zoom="overview"] .code-link.dependency {
  stroke: rgba(180, 190, 196, 0.1);
}

.code-node.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.code-node:hover circle,
.code-node.hovered circle {
  stroke: #fff;
  stroke-width: 1.7;
  opacity: 1;
}

.code-label {
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  fill: rgba(255, 255, 255, 0.66);
  font-family: var(--mono-font);
  font-size: 8px;
  letter-spacing: 0;
  paint-order: stroke;
  stroke: rgba(11, 11, 13, 0.95);
  stroke-width: 2.8px;
  transition: opacity 400ms ease, fill 400ms ease;
}

.code-label.module-label {
  font-size: 8px;
}

.code-label.branch-label {
  font-size: 7px;
}

.code-label.file-label {
  fill: rgba(255, 255, 255, 0.55);
  font-size: 6px;
  opacity: 0;
}

.code-label.class-label {
  fill: rgba(255, 255, 255, 0.62);
  font-size: 6px;
  opacity: 0.12;
}

.activity-map[data-zoom="detail"] .code-label.class-label {
  opacity: 0.24;
}

.activity-map[data-zoom="inspect"] .code-label.class-label,
.activity-map[data-zoom="inspect"] .code-label.file-label {
  opacity: 0.34;
}

.code-label.in-progress,
.code-label.done,
.code-label.failed,
.code-label.review-needed,
.code-label.hovered {
  fill: #fff;
  opacity: 1;
}

.code-label.module-label.in-scope,
.code-label.branch-label.in-scope {
  fill: #fff;
  opacity: 0.92;
}

.code-label.failed {
  fill: var(--red);
}

.code-label.review-needed {
  fill: var(--orange);
}

.code-label.is-muted {
  opacity: 0.16;
}

.code-label.is-hidden,
.code-label.is-collided {
  opacity: 0 !important;
}

.activity-map.is-focused .code-label.file-label {
  opacity: 0.1;
}

.activity-map.is-focused .code-label.class-label {
  opacity: 0.14;
}

.activity-map.is-focused .code-label.file-label.in-scope {
  opacity: 0.52;
}

.activity-map.is-focused .code-label.class-label.in-scope {
  opacity: 0.4;
}

.activity-map.is-focused .code-label.file-label.in-progress,
.activity-map.is-focused .code-label.file-label.done,
.activity-map.is-focused .code-label.file-label.failed,
.activity-map.is-focused .code-label.file-label.review-needed,
.activity-map.is-focused .code-label.class-label.in-progress,
.activity-map.is-focused .code-label.class-label.done,
.activity-map.is-focused .code-label.class-label.failed,
.activity-map.is-focused .code-label.class-label.review-needed {
  opacity: 1;
}

.scope-lens {
  fill: rgba(255, 255, 255, 0.035);
  stroke: none;
  opacity: 0;
  filter: blur(0.1px);
  transition: opacity 520ms ease;
  pointer-events: none;
}

.scope-lens.is-visible {
  opacity: 1;
}

.scope-halo {
  fill: none;
  stroke: rgba(255, 255, 255, 0.92);
  stroke-width: 1.15;
  stroke-linecap: round;
  opacity: 0;
  vector-effect: non-scaling-stroke;
  filter:
    drop-shadow(0 0 10px rgba(255, 255, 255, 0.25))
    drop-shadow(0 0 24px rgba(255, 255, 255, 0.09));
  transition: opacity 520ms ease;
}

.scope-halo.validator {
  stroke: rgba(255, 255, 255, 0.92);
}

.scope-halo.tester {
  stroke: rgba(255, 255, 255, 0.92);
  fill: rgba(255, 255, 255, 0.018);
}

.scope-halo.is-visible {
  opacity: 1;
}

.scope-callout-line {
  stroke: rgba(255, 255, 255, 0.68);
  stroke-width: 0.85;
  vector-effect: non-scaling-stroke;
  opacity: 0;
  transition: opacity 260ms ease;
}

.scope-callout-line.is-visible {
  opacity: 1;
}

.scope-callouts {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.scope-callout {
  position: absolute;
  width: 154px;
  height: 78px;
  display: grid;
  grid-template-columns: var(--icon-md) minmax(0, 1fr);
  grid-template-rows: 1fr 12px;
  column-gap: 6px;
  row-gap: 5px;
  justify-content: stretch;
  align-content: center;
  justify-items: stretch;
  padding: 10px 12px 9px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background:
    radial-gradient(circle at 76% 64%, rgba(255, 255, 255, 0.16), transparent 18px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 38%),
    repeating-radial-gradient(circle at 18% 28%, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 3px),
    rgba(13, 13, 15, 0.78);
  backdrop-filter: blur(10px) saturate(125%);
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.32),
    inset 0 0 0 1px rgba(255, 255, 255, 0.035);
  opacity: 0;
  transform: translateX(-8px) scaleX(0.12);
  transform-origin: right center;
  transition:
    opacity 220ms ease,
    transform 520ms cubic-bezier(0.18, 0.9, 0.2, 1),
    border-color 220ms ease,
    box-shadow 220ms ease,
    filter 220ms ease;
  cursor: pointer;
  pointer-events: auto;
  user-select: none;
  -webkit-user-select: none;
}

.scope-callout:not(.is-visible) {
  pointer-events: none;
}

.scope-callout.validator {
  width: 180px;
  --callout-text-width: 112px;
}

.scope-callout.tester {
  width: 160px;
  --callout-text-width: 92px;
}

.scope-callout.builder {
  --callout-text-width: 96px;
}

.scope-callout.is-visible {
  opacity: 1;
  transform: translateX(0) scaleX(1);
}

.scope-callout:hover,
.scope-callout.is-active {
  border-color: rgba(255, 255, 255, 0.62);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.36),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  filter: saturate(112%);
}

.scope-callout.is-visible:hover,
.scope-callout.is-visible.is-active {
  transform: translateX(0) scaleX(1) translateY(-1px);
}

.scope-callout-icon {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  justify-self: start;
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.scope-callout-copy {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  grid-template-rows: 20px 12px 12px;
  row-gap: 1px;
  justify-items: start;
  align-items: center;
  width: 100%;
  max-width: none;
  min-width: 0;
}

.scope-progress-ticks {
  grid-column: 1 / -1;
  grid-row: 2;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 4px;
  align-items: center;
}

.scope-progress-ticks i {
  display: block;
  height: 6px;
  opacity: 0.28;
  transform: scaleX(0.92);
  transform-origin: left center;
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.18) 0 2px,
    transparent 2px 6px
  );
  transition: opacity 220ms ease, transform 220ms ease, background 220ms ease;
}

.scope-progress-ticks i.is-filled {
  opacity: 1;
  transform: scaleX(1);
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.92) 0 2px,
    transparent 2px 6px
  );
}

.scope-callout-copy strong {
  display: block;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  font-size: var(--body-sm-size);
  font-weight: var(--mono-weight-regular);
  line-height: 20px;
  letter-spacing: 0.02em;
  text-align: left;
  white-space: nowrap;
  text-overflow: ellipsis;
  transition: color 180ms ease, opacity 180ms ease;
}

.scope-callout-copy em,
.scope-callout-copy span {
  display: block;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.76);
  font-size: var(--body-xxs-size);
  font-style: normal;
  line-height: var(--body-xxs-line);
  font-weight: var(--mono-weight-light);
  letter-spacing: 0.02em;
  text-align: left;
  white-space: nowrap;
  text-overflow: ellipsis;
  transition: color 180ms ease, opacity 180ms ease;
}

.node-tooltip {
  position: absolute;
  z-index: 5;
  min-width: 132px;
  padding: 7px 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(8, 8, 10, 0.9);
  color: #fff;
  font-size: 10px;
  line-height: 14px;
  letter-spacing: 0.03em;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -115%);
  transition: opacity 120ms ease;
}

.node-tooltip.is-visible {
  opacity: 1;
}

.node-tooltip strong {
  display: block;
  font-weight: 400;
}

.node-tooltip span {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 8px;
}

.log-title {
  left: 1496px;
  top: 557px;
  width: 424px;
  height: 72px;
  display: grid;
  place-items: center;
}

.activity-log {
  left: 1496px;
  top: 629px;
  width: 424px;
  height: 341px;
  overflow: hidden;
}

#activityLog {
  position: absolute;
  left: 15px;
  top: 11px;
  width: 400px;
  height: 319px;
  margin: 0;
  font-family: var(--mono-font);
  color: #fff;
  font-size: var(--body-sm-size);
  line-height: var(--body-sm-line);
  font-weight: var(--mono-weight-light);
  white-space: pre-wrap;
  letter-spacing: 0.05em;
}

#activityLog::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 14px;
  margin-left: 3px;
  background: #fff;
  vertical-align: -2px;
  animation: caret 1s steps(1) infinite;
}

.dashboard[data-selected="planner-01"] [data-agent="planner-01"],
.dashboard[data-selected="builder-01"] [data-agent="builder-01"],
.dashboard[data-selected="validator-03"] [data-agent="validator-03"],
.dashboard[data-selected="tester-02"] [data-agent="tester-02"],
.dashboard[data-selected="reviewer-01"] [data-agent="reviewer-01"],
.dashboard[data-selected="reviewer-03"] [data-agent="reviewer-03"],
.dashboard[data-selected="planner-02"] [data-agent="planner-02"],
.dashboard[data-selected="builder-03"] [data-agent="builder-03"],
.dashboard[data-selected="auditor-02"] [data-agent="auditor-02"],
.dashboard[data-selected="security-02"] [data-agent="security-02"] {
  --selected-alpha: 1;
}

.timeline-work {
  opacity: 0.85;
  transition: opacity 180ms ease;
}

.timeline-work.is-active {
  opacity: 1;
}

@keyframes spin {
  to {
    transform: rotate(1turn);
  }
}

@keyframes spinSvg {
  to {
    transform: rotate(1turn);
  }
}

@keyframes cursorSweep {
  0% {
    transform: translateX(70px);
    opacity: 0;
  }
  8%,
  88% {
    opacity: 0.4;
  }
  100% {
    transform: translateX(865px);
    opacity: 0;
  }
}

@keyframes scopePulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.94;
  }
  50% {
    transform: scale(1.045);
    opacity: 1;
  }
}

@keyframes nodePulse {
  0%,
  100% {
    opacity: 0.65;
  }
  50% {
    opacity: 1;
  }
}

@keyframes rotateActiveNode {
  to {
    transform: rotate(1turn);
  }
}

@keyframes editFillPulse {
  0%,
  100% {
    filter: url("#graphGlow");
  }
  50% {
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.9));
  }
}

@keyframes timelineDoneGlow {
  0% {
    filter: drop-shadow(0 0 0 rgba(255, 255, 255, 0));
  }
  18% {
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.9));
  }
  100% {
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.18));
  }
}

@keyframes graphDoneGlow {
  0% {
    filter: drop-shadow(0 0 0 rgba(255, 255, 255, 0));
  }
  18% {
    filter: drop-shadow(0 0 9px rgba(255, 255, 255, 0.88));
  }
  100% {
    filter: url("#graphGlow");
  }
}

@keyframes timelineErrorGlow {
  0% {
    filter: drop-shadow(0 0 0 rgba(255, 75, 70, 0));
  }
  22% {
    filter: drop-shadow(0 0 8px rgba(255, 75, 70, 0.88));
  }
  100% {
    filter: drop-shadow(0 0 3px rgba(255, 75, 70, 0.36));
  }
}

@keyframes reticleSnap {
  0% {
    transform: translateX(-0.5px) scaleY(0.9);
    opacity: 0.7;
  }
  42% {
    transform: translateX(-0.5px) scaleY(1.18);
    opacity: 1;
    box-shadow:
      0 0 18px rgba(255, 255, 255, 0.38),
      -18px 0 26px rgba(255, 255, 255, 0.07),
      18px 0 26px rgba(255, 255, 255, 0.07);
  }
  100% {
    transform: translateX(-0.5px) scaleY(1);
    opacity: 1;
  }
}

@keyframes tickCatch {
  0% {
    filter: blur(0) drop-shadow(0 0 0 rgba(255, 255, 255, 0));
  }
  45% {
    filter: blur(0) drop-shadow(0 0 10px rgba(255, 255, 255, 0.48));
  }
  100% {
    filter: blur(0) drop-shadow(0 0 3px rgba(255, 255, 255, 0.24));
  }
}

@keyframes labelCatch {
  0% {
    text-shadow: none;
  }
  45% {
    text-shadow: 0 0 16px rgba(255, 255, 255, 0.32);
  }
  100% {
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.18);
  }
}

@keyframes interventionErrorWave {
  0% {
    transform: translate(-12px, 6px) skewX(-10deg) scaleY(0.94);
    border-radius: 58% 42% 0 0 / 52% 34% 0 0;
    opacity: 0.72;
  }
  48% {
    transform: translate(10px, -4px) skewX(7deg) scaleY(1.2);
    border-radius: 42% 58% 0 0 / 34% 56% 0 0;
    opacity: 1;
  }
  100% {
    transform: translate(20px, 3px) skewX(-4deg) scaleY(1.02);
    border-radius: 50% 50% 0 0 / 46% 42% 0 0;
    opacity: 0.82;
  }
}

@keyframes caret {
  50% {
    opacity: 0;
  }
}

@keyframes dashboardBootPanel {
  0% {
    opacity: 0;
    transform: translate3d(0, 16px, 0) scale(0.992);
    filter: blur(7px);
  }
  52% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
}

@keyframes dashboardBootItem {
  0% {
    opacity: 0;
    transform: translate3d(-10px, 0, 0);
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
}

@keyframes dashboardBootSweep {
  0% {
    opacity: 0;
    transform: translate3d(-14px, 0, 0) scaleX(0.985);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scaleX(1);
  }
}

@keyframes dashboardStrokeDraw {
  0% {
    stroke-dashoffset: 1;
    opacity: 0;
  }
  18% {
    opacity: 1;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
}

@keyframes dashboardBootChrome {
  0% {
    opacity: 0;
    transform: translate3d(0, -10px, 0);
    filter: blur(5px);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
}

@keyframes dashboardBootChromeCentered {
  0% {
    opacity: 0;
    transform: translateX(-50%) translate3d(0, -10px, 0);
    filter: blur(5px);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) translate3d(0, 0, 0);
    filter: blur(0);
  }
}

@keyframes dashboardBootScan {
  0% {
    opacity: 0;
    transform: translate3d(-24%, 0, 0);
  }
  24% {
    opacity: 0.28;
  }
  100% {
    opacity: 0;
    transform: translate3d(38%, 0, 0);
  }
}

.dashboard[data-view="monitoring"] .analytics-view {
  display: none;
}

.dashboard[data-view="analytics"] .monitoring-only {
  display: none !important;
}

.left-title { --intro-delay: 0ms; }
.center-title { --intro-delay: 40ms; }
.right-title { --intro-delay: 80ms; }
.stat-total { --intro-delay: 110ms; }
.stat-active { --intro-delay: 150ms; }
.stat-idle { --intro-delay: 190ms; }
.agent-allocation { --intro-delay: 230ms; }
.timeline-panel { --intro-delay: 270ms; }
.controls-title { --intro-delay: 310ms; }
.controls-blank { --intro-delay: 350ms; }
.queue-title { --intro-delay: 390ms; }
.intervention-queue { --intro-delay: 430ms; }
.activity-map { --intro-delay: 470ms; }
.log-title { --intro-delay: 510ms; }
.activity-log { --intro-delay: 550ms; }

.analytics-controls-panel { --intro-delay: 0ms; }
.analytics-summary-panel { --intro-delay: 60ms; }
.analytics-pressure-header-panel { --intro-delay: 110ms; }
.analytics-pressure-panel { --intro-delay: 170ms; }
.analytics-ledger-panel { --intro-delay: 220ms; }
.analytics-interventions-panel { --intro-delay: 280ms; }
.analytics-efficiency-panel { --intro-delay: 340ms; }
.analytics-risk-panel { --intro-delay: 400ms; }

.dashboard.is-view-intro[data-view="monitoring"] .monitoring-only,
.dashboard.is-view-intro[data-view="analytics"] .analytics-view > * {
  animation: dashboardBootPanel var(--motion-panel-dur) var(--motion-settle-ease) both;
  animation-delay: var(--intro-delay, 0ms);
  will-change: transform, opacity, filter;
}

.dashboard.is-view-intro[data-view="monitoring"] .timeline-svg,
.dashboard.is-view-intro[data-view="monitoring"] #codeGraph,
.dashboard.is-view-intro[data-view="analytics"] #analyticsPressureField {
  animation: dashboardBootSweep 620ms var(--motion-settle-ease) both;
  animation-delay: calc(var(--intro-delay, 0ms) + 110ms);
  transform-origin: left center;
}

.dashboard.is-view-intro[data-view="monitoring"] .queue-item,
.dashboard.is-view-intro[data-view="analytics"] .analytics-summary-card,
.dashboard.is-view-intro[data-view="analytics"] .analytics-ledger-row,
.dashboard.is-view-intro[data-view="analytics"] .analytics-risk-row {
  animation: dashboardBootItem var(--motion-item-dur) var(--motion-latch-ease) both;
  animation-delay: calc(var(--intro-delay, 0ms) + var(--item-intro-delay, 120ms));
}

.queue-item:nth-child(1),
.analytics-summary-card:nth-child(1),
.analytics-ledger-row:nth-child(1),
.analytics-risk-row:nth-child(1) {
  --item-intro-delay: 110ms;
}

.queue-item:nth-child(2),
.analytics-summary-card:nth-child(2),
.analytics-ledger-row:nth-child(2),
.analytics-risk-row:nth-child(2) {
  --item-intro-delay: 150ms;
}

.queue-item:nth-child(3),
.analytics-summary-card:nth-child(3),
.analytics-ledger-row:nth-child(3),
.analytics-risk-row:nth-child(3) {
  --item-intro-delay: 190ms;
}

.queue-item:nth-child(4),
.analytics-summary-card:nth-child(4),
.analytics-ledger-row:nth-child(4),
.analytics-risk-row:nth-child(4) {
  --item-intro-delay: 230ms;
}

.queue-item:nth-child(5),
.analytics-summary-card:nth-child(5),
.analytics-ledger-row:nth-child(5),
.analytics-risk-row:nth-child(5) {
  --item-intro-delay: 270ms;
}

.dashboard.is-first-boot .top-bar {
  animation: dashboardBootPanel 760ms var(--motion-settle-ease) both;
}

.dashboard.is-first-boot .brand-lockup {
  animation: dashboardBootChrome 580ms var(--motion-settle-ease) both;
  animation-delay: 140ms;
}

.dashboard.is-first-boot .top-tabs {
  animation: dashboardBootChromeCentered 640ms var(--motion-settle-ease) both;
  animation-delay: 220ms;
}

.dashboard.is-first-boot .profile-button {
  animation: dashboardBootChrome 520ms var(--motion-settle-ease) both;
  animation-delay: 260ms;
}

.dashboard.is-first-boot::after {
  animation: dashboardBootScan 1180ms ease-out both;
  animation-delay: 180ms;
}

.dashboard.is-view-intro[data-view="monitoring"] .timeline-lane,
.dashboard.is-view-intro[data-view="monitoring"] .timeline-connection.visible,
.dashboard.is-view-intro[data-view="monitoring"] .timeline-connection.active,
.dashboard.is-view-intro[data-view="monitoring"] .timeline-wait-line.visible {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: dashboardStrokeDraw 700ms var(--motion-settle-ease) both;
  animation-delay: calc(var(--intro-delay, 0ms) + 170ms);
}

.dashboard.is-view-intro[data-view="analytics"] .analytics-chart-grid,
.dashboard.is-view-intro[data-view="analytics"] .analytics-chart-axis,
.dashboard.is-view-intro[data-view="analytics"] .analytics-chart-line,
.dashboard.is-view-intro[data-view="analytics"] .analytics-pressure-code-link,
.dashboard.is-view-intro[data-view="analytics"] .analytics-pressure-flow {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: dashboardStrokeDraw 760ms var(--motion-settle-ease) both;
}

.dashboard.is-view-intro[data-view="analytics"] .analytics-chart-grid,
.dashboard.is-view-intro[data-view="analytics"] .analytics-chart-axis {
  animation-delay: calc(var(--intro-delay, 0ms) + 120ms);
}

.dashboard.is-view-intro[data-view="analytics"] .analytics-chart-line {
  animation-duration: 980ms;
  animation-delay: calc(var(--intro-delay, 0ms) + 240ms);
}

.dashboard.is-view-intro[data-view="analytics"] .analytics-pressure-code-link,
.dashboard.is-view-intro[data-view="analytics"] .analytics-pressure-flow {
  animation-delay: calc(var(--intro-delay, 0ms) + 190ms);
}

.dashboard.is-view-intro[data-view="analytics"] .analytics-chart-point,
.dashboard.is-view-intro[data-view="analytics"] .analytics-line-end-label {
  animation: dashboardBootItem 440ms var(--motion-latch-ease) both;
  animation-delay: calc(var(--intro-delay, 0ms) + 360ms);
}

.analytics-view {
  position: absolute;
  left: 0;
  top: 78px;
  width: 1920px;
  height: 892px;
  display: grid;
  grid-template-columns: minmax(420px, 0.95fr) minmax(620px, 1.4fr) minmax(480px, 1.05fr);
  grid-template-rows: 74px 388px 100px 330px;
}

.analytics-panel {
  position: relative;
  inset: auto;
  width: auto;
  height: auto;
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: 68px minmax(0, 1fr);
  background: rgba(10, 10, 12, 0.96);
}

.analytics-controls-panel,
.analytics-interventions-panel,
.analytics-efficiency-panel,
.analytics-risk-panel {
  grid-template-rows: 56px minmax(0, 1fr);
}

.analytics-controls-panel {
  grid-column: 1 / -1;
  grid-row: 1;
  grid-template-columns: 160px minmax(0, 1fr);
  grid-template-rows: 1fr;
}

.analytics-controls-panel .analytics-panel-head {
  border-right: 1px solid var(--rule);
  border-bottom: 0;
}

.analytics-summary-panel {
  grid-column: 1;
  grid-row: 2;
}

.analytics-pressure-header-panel {
  grid-column: 2 / 4;
  grid-row: 2;
  position: relative;
  align-self: start;
  height: 68px;
  border: 1px solid var(--rule);
  background: rgba(10, 10, 12, 0.96);
  box-sizing: border-box;
  z-index: 4;
  pointer-events: none;
}

.analytics-aging-panel {
  display: none;
}

.analytics-utilization-panel {
  display: none;
}

.analytics-throughput-panel {
  display: none;
}

.analytics-pressure-panel {
  grid-column: 2;
  grid-row: 2 / span 2;
  grid-template-rows: 68px minmax(0, 1fr);
}

.analytics-ledger-panel {
  grid-column: 3;
  grid-row: 2;
  grid-template-rows: 68px minmax(0, 1fr);
}

.analytics-pressure-panel::before,
.analytics-ledger-panel::before {
  content: "";
}

.analytics-matrix-panel {
  display: none;
}

.analytics-interventions-panel {
  grid-column: 1;
  grid-row: 3 / span 2;
}

.analytics-efficiency-panel {
  grid-column: 3;
  grid-row: 3 / span 2;
}

.analytics-risk-panel {
  grid-column: 2;
  grid-row: 4;
}

.analytics-outcomes-panel {
  display: none;
}

.analytics-panel-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 18px;
  border-bottom: 1px solid var(--rule);
}

.analytics-panel-head h1 {
  font-size: 18px;
  line-height: 22px;
  text-align: center;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.14);
}

.analytics-pressure-header-panel .analytics-panel-head {
  position: relative;
  height: 100%;
  pointer-events: auto;
  background: transparent;
}

.analytics-pressure-header-meta {
  position: absolute;
  right: 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.analytics-pressure-header-panel .analytics-panel-meta {
  color: rgba(255, 255, 255, 0.56);
}

.analytics-panel-body {
  min-height: 0;
  padding: 14px 16px;
}

.analytics-panel-meta {
  color: rgba(255, 255, 255, 0.56);
  font-size: 12px;
  line-height: 16px;
  font-weight: var(--mono-weight-light);
  text-align: right;
}

.analytics-inline-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  align-items: center;
}

.analytics-inline-legend.compact {
  gap: 8px 14px;
}

.analytics-pressure-panel .analytics-inline-legend {
  min-height: 42px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  overflow: hidden;
}

.analytics-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  line-height: 18px;
  font-weight: var(--mono-weight-light);
}

.analytics-legend-swatch {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.4);
}

.analytics-controls-body {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 260px));
  gap: 16px;
  align-content: center;
  align-items: center;
  justify-content: start;
  padding: 10px 20px;
}

.analytics-filter-group {
  display: grid;
  gap: 4px;
  padding: 0;
  border-bottom: 0;
}

.analytics-controls-body .analytics-filter-group {
  grid-template-columns: 1fr;
  gap: 6px;
  align-items: stretch;
}

.analytics-filter-label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  line-height: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.analytics-filter-active {
  display: none;
}

.analytics-filter-select {
  width: 100%;
  height: 32px;
  padding: 0 32px 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0;
  background:
    linear-gradient(45deg, transparent 50%, rgba(255,255,255,0.8) 50%) calc(100% - 17px) 14px / 5px 5px no-repeat,
    linear-gradient(135deg, rgba(255,255,255,0.8) 50%, transparent 50%) calc(100% - 12px) 14px / 5px 5px no-repeat,
    rgba(255, 255, 255, 0.025);
  color: rgba(255, 255, 255, 0.9);
  font: inherit;
  font-size: 11px;
  line-height: 14px;
  letter-spacing: 0.04em;
  outline: 0;
  appearance: none;
  cursor: pointer;
}

.analytics-filter-select:hover,
.analytics-filter-select:focus {
  border-color: rgba(255, 255, 255, 0.48);
  background-color: rgba(255, 255, 255, 0.07);
}

.analytics-filter-select option {
  background: #0b0b0d;
  color: #fff;
}

.analytics-controls-body .analytics-filter-label {
  padding-top: 0;
}

.analytics-segmented {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  align-items: center;
}

.analytics-filter-button {
  min-width: 0;
  height: 24px;
  padding: 0 8px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.018);
  color: rgba(255, 255, 255, 0.64);
  font-size: 10px;
  line-height: 12px;
  font-weight: var(--mono-weight-light);
  cursor: pointer;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.analytics-filter-button:hover,
.analytics-filter-button.is-active {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.075);
  color: #fff;
}

.analytics-filter-button.is-active {
  box-shadow: inset 0 -2px 0 rgba(255, 255, 255, 0.82);
}

.analytics-segment {
  min-width: 0;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.68);
  font-size: 10px;
  line-height: 12px;
  font-weight: var(--mono-weight-light);
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.analytics-segment:hover,
.analytics-segment.is-active {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.analytics-summary-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 0;
}

.analytics-summary-card {
  display: grid;
  gap: 6px;
  align-content: start;
  padding: 18px 18px;
  border: 0;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: transparent;
}

.analytics-summary-card:nth-child(2n) {
  border-right: 0;
}

.analytics-summary-card.is-wide {
  grid-column: 1 / -1;
  border-right: 0;
  border-bottom: 0;
}

.analytics-summary-card > strong {
  font-family: var(--title-font);
  font-size: 32px;
  line-height: 36px;
  font-weight: 400;
}

.analytics-summary-card em,
.analytics-summary-card span {
  font-style: normal;
  font-size: 11px;
  line-height: 16px;
  color: rgba(255, 255, 255, 0.68);
}

.analytics-summary-card .analytics-summary-trend {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 10px;
}

.analytics-summary-card .analytics-trend-arrow,
.analytics-summary-card .analytics-summary-trend strong {
  color: rgba(159, 255, 195, 0.88);
  font-family: var(--mono-font);
  font-size: 10px;
  line-height: 16px;
  font-weight: 400;
}

.analytics-aging-body,
.analytics-utilization-body,
.analytics-interventions-body,
.analytics-efficiency-body,
.analytics-outcomes-body,
.analytics-ledger-body {
  overflow: hidden;
}

.analytics-aging-grid {
  display: grid;
  gap: 10px;
}

.analytics-aging-row,
.analytics-utilization-row,
.analytics-outcome-row,
.analytics-intervention-row,
.analytics-efficiency-row {
  display: grid;
  align-items: center;
  gap: 10px;
}

.analytics-aging-row {
  grid-template-columns: 62px 1fr;
}

.analytics-aging-label,
.analytics-utilization-name,
.analytics-outcome-name {
  font-size: 12px;
  line-height: 16px;
}

.analytics-aging-bars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.analytics-aging-bar {
  position: relative;
  height: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.analytics-aging-bar-fill {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.5);
}

.analytics-aging-bar.pending .analytics-aging-bar-fill {
  background: rgba(255, 255, 255, 0.42);
}

.analytics-aging-bar.review .analytics-aging-bar-fill {
  background: rgba(255, 159, 22, 0.72);
}

.analytics-aging-bar.blocked .analytics-aging-bar-fill {
  background: rgba(255, 75, 70, 0.78);
}

.analytics-aging-buckets {
  display: grid;
  grid-template-columns: 62px repeat(4, 1fr);
  gap: 6px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 9px;
  line-height: 12px;
}

.analytics-utilization-row {
  grid-template-columns: 74px 1fr 34px;
  gap: 12px;
}

.analytics-utilization-meter {
  position: relative;
  height: 16px;
  overflow: hidden;
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.14) 0 2px,
    transparent 2px 6px
  );
}

.analytics-utilization-meter span {
  display: block;
  height: 100%;
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.94) 0 2px,
    transparent 2px 6px
  );
}

.analytics-utilization-percent,
.analytics-intervention-metric,
.analytics-efficiency-metric,
.analytics-outcome-metric {
  justify-self: end;
  color: rgba(255, 255, 255, 0.76);
  font-size: 11px;
  line-height: 16px;
}

.analytics-throughput-body {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 14px;
}

.analytics-throughput-body svg,
.analytics-pressure-body svg,
.analytics-sparkline {
  width: 100%;
  height: 100%;
  display: block;
}

.analytics-pressure-body {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 14px 18px 16px;
  grid-row: 2;
}

.analytics-pressure-visual {
  position: relative;
  min-height: 0;
}

.analytics-pressure-hover-card {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 8;
  min-width: 220px;
  max-width: 248px;
  padding: 10px 12px 11px;
  display: grid;
  gap: 8px;
  overflow: hidden;
  border: 1px solid var(--hover-card-border, rgba(255, 255, 255, 0.22));
  background:
    radial-gradient(circle at 76% 64%, rgba(255, 255, 255, 0.16), transparent 18px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 38%),
    repeating-radial-gradient(circle at 18% 28%, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 3px),
    rgba(13, 13, 15, 0.78);
  backdrop-filter: blur(10px) saturate(125%);
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.32),
    inset 0 0 0 1px rgba(255, 255, 255, 0.035);
  transform: translate(var(--hover-card-x, 16px), var(--hover-card-y, 16px));
  pointer-events: none;
}

.analytics-pressure-hover-card[hidden] {
  display: none !important;
}

.analytics-pressure-hover-eyebrow {
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
  line-height: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.analytics-pressure-hover-title {
  color: #fff;
  font-size: 14px;
  line-height: 18px;
  font-weight: var(--mono-weight-regular);
}

.analytics-pressure-hover-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.analytics-pressure-hover-chip {
  display: grid;
  gap: 2px;
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
}

.analytics-pressure-hover-chip em {
  color: rgba(255, 255, 255, 0.5);
  font-size: 9px;
  line-height: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-style: normal;
}

.analytics-pressure-hover-chip b {
  color: #fff;
  font-size: 12px;
  line-height: 14px;
  font-weight: var(--mono-weight-regular);
}

.analytics-drilldown {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.84);
  font-size: 11px;
  line-height: 14px;
  font-weight: var(--mono-weight-light);
  cursor: pointer;
  overflow: hidden;
  transition: transform 180ms var(--motion-latch-ease), border-color 180ms ease, background-color 180ms ease, color 180ms ease, box-shadow 220ms ease;
}

.analytics-drilldown::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.9) 50%, transparent 100%);
  opacity: 0;
  transform: scaleY(0.2);
  transform-origin: center;
  transition: opacity 160ms ease, transform 240ms var(--motion-latch-ease);
  pointer-events: none;
}

.analytics-drilldown[hidden] {
  display: none !important;
}

.analytics-drilldown:hover {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  transform: translate3d(2px, 0, 0);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.analytics-drilldown:hover::before {
  opacity: 0.92;
  transform: scaleY(1);
}

.analytics-ledger-body {
  grid-row: 2;
  display: grid;
  grid-template-rows: auto 1fr;
  padding: 0;
}

.analytics-ledger-head,
.analytics-ledger-row {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) 112px 74px;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
}

.analytics-ledger-head {
  height: 34px;
  border-bottom: 1px solid var(--rule);
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  line-height: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.analytics-ledger-rows {
  overflow: auto;
}

.analytics-ledger-row {
  position: relative;
  min-height: 54px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 17px;
  cursor: pointer;
  overflow: hidden;
  transition: transform 180ms var(--motion-latch-ease), background-color 150ms ease, color 150ms ease, box-shadow 220ms ease;
}

.analytics-ledger-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  bottom: 7px;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.9) 50%, transparent 100%);
  opacity: 0;
  transform: scaleY(0.2);
  transform-origin: center;
  transition: opacity 160ms ease, transform 240ms var(--motion-latch-ease);
  pointer-events: none;
}

.analytics-ledger-row:hover,
.analytics-ledger-row.is-selected {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  transform: translate3d(2px, 0, 0);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.analytics-ledger-row:hover::before,
.analytics-ledger-row.is-selected::before {
  opacity: 0.92;
  transform: scaleY(1);
}

.analytics-ledger-row strong,
.analytics-ledger-row em {
  font-style: normal;
}

.analytics-ledger-cell {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.analytics-ledger-cell.scope {
  min-width: 0;
}

.analytics-ledger-cell.scope span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.analytics-ledger-cell.scope strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.analytics-ledger-cell.run {
  display: grid;
  gap: 2px;
}

.analytics-ledger-cell.run strong,
.analytics-ledger-cell.run span,
.analytics-ledger-cell.status {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.analytics-ledger-cell.run span {
  color: rgba(255, 255, 255, 0.48);
  font-size: 9px;
  line-height: 11px;
}

.analytics-ledger-action {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
}

.analytics-ledger-action:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
}

.analytics-matrix-body {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 12px;
}

.analytics-matrix-grid {
  display: grid;
  grid-template-columns: 52px repeat(6, 1fr);
  gap: 5px;
}

.analytics-matrix-label {
  display: grid;
  place-items: center start;
  min-height: 34px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 9px;
  line-height: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.analytics-matrix-label.top {
  place-items: end center;
  min-height: 20px;
  text-align: center;
}

.analytics-matrix-cell {
  position: relative;
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.75);
  font-size: 11px;
  line-height: 16px;
  cursor: pointer;
  transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease;
}

.analytics-matrix-cell:hover,
.analytics-matrix-cell.is-selected {
  border-color: rgba(255, 255, 255, 0.34);
  color: #fff;
}

.analytics-matrix-detail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 28px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 11px;
  line-height: 16px;
}

.analytics-intervention-list,
.analytics-efficiency-table,
.analytics-outcome-list,
.analytics-utilization-list {
  display: grid;
  gap: 10px;
}

.analytics-intervention-row {
  grid-template-columns: minmax(0, 1fr) 40px 58px 64px;
}

.analytics-intervention-name,
.analytics-efficiency-name {
  min-width: 0;
}

.analytics-intervention-name strong,
.analytics-efficiency-name strong,
.analytics-outcome-name strong {
  display: block;
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
}

.analytics-intervention-name span,
.analytics-efficiency-name span,
.analytics-outcome-name span {
  display: block;
  color: rgba(255, 255, 255, 0.48);
  font-size: 9px;
  line-height: 12px;
  font-weight: var(--mono-weight-light);
}

.analytics-sparkline {
  height: 24px;
}

.analytics-efficiency-head,
.analytics-efficiency-row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) 54px 48px 48px 50px 46px 58px;
  gap: 8px;
  align-items: center;
}

.analytics-efficiency-head {
  color: rgba(255, 255, 255, 0.46);
  font-size: 9px;
  line-height: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.analytics-efficiency-row {
  min-height: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 8px;
}

.analytics-outcome-row {
  grid-template-columns: 96px 1fr 42px;
}

.analytics-outcome-bar {
  display: flex;
  height: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.analytics-outcome-segment.done {
  background: rgba(255, 255, 255, 0.76);
}

.analytics-outcome-segment.retry {
  background: rgba(255, 159, 22, 0.74);
}

.analytics-outcome-segment.blocked {
  background: rgba(255, 75, 70, 0.78);
}

.analytics-outcome-segment.abandoned {
  background: rgba(44, 145, 248, 0.78);
}

.analytics-pressure-hex {
  stroke: rgba(255, 255, 255, 0.18);
  stroke-width: 1;
  cursor: pointer;
  transition: opacity 140ms ease, stroke 140ms ease, filter 140ms ease;
}

.analytics-pressure-hex.is-muted {
  opacity: 0.32;
}

.analytics-pressure-hex.is-hovered,
.analytics-pressure-hex:hover {
  stroke: rgba(255, 255, 255, 0.88);
  filter: drop-shadow(0 0 7px rgba(255, 255, 255, 0.22));
}

.analytics-pressure-hex.is-selected {
  stroke: #fff;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.25));
}

.analytics-pressure-hex.is-live {
  stroke: rgba(255, 255, 255, 0.38);
  animation: analyticsPressureCellPulse 2.4s ease-in-out infinite;
}

.analytics-pressure-link {
  fill: none;
  opacity: 0.5;
  stroke-width: var(--route-width, 1.35);
  stroke-linecap: round;
  pointer-events: none;
  transition: opacity 140ms ease, stroke-width 140ms ease, filter 140ms ease;
}

.analytics-pressure-link.is-context {
  opacity: 0.88;
}

.analytics-pressure-link.is-muted,
.analytics-pressure-boundary.is-muted {
  opacity: 0.08;
}

.analytics-pressure-link.is-hovered {
  opacity: 1;
  stroke-width: 2.4;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.28));
}

.analytics-pressure-code-link,
.analytics-pressure-flow {
  fill: none;
  stroke-width: var(--route-width, 1);
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  pointer-events: none;
  transition: opacity 140ms ease, stroke-width 140ms ease;
}

.analytics-pressure-code-link {
  opacity: 0.46;
}

.analytics-pressure-code-link.dependency {
  opacity: 0.28;
  stroke-dasharray: 2 4;
}

.analytics-pressure-code-link.cross-module {
  opacity: 0.5;
}

.analytics-pressure-code-link.is-context,
.analytics-pressure-flow.is-context {
  opacity: 0.96;
}

.analytics-pressure-flow {
  opacity: 0.48;
}

.analytics-pressure-boundary {
  fill: none;
  stroke: rgba(255, 255, 255, 0.1);
  stroke-dasharray: 2 5;
  stroke-width: 1;
  pointer-events: none;
  transition: opacity 140ms ease, stroke 140ms ease;
}

.analytics-pressure-boundary.is-live {
  stroke: rgba(159, 255, 195, 0.26);
}

.analytics-pressure-boundary.is-selected {
  stroke-width: 1.5;
  stroke-dasharray: 4 4;
}

.analytics-pressure-readout {
  grid-column: 1 / -1;
  min-width: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(108px, 1fr) repeat(6, max-content);
  gap: 8px 14px;
  align-items: center;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  line-height: 15px;
}

.analytics-pressure-readout.is-empty {
  display: block;
  text-align: right;
}

.analytics-pressure-readout strong,
.analytics-pressure-readout b {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.92);
  font-style: normal;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.analytics-pressure-readout > span {
  min-width: 0;
  display: grid;
  grid-template-rows: 12px 16px;
  gap: 2px;
  padding-left: 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.analytics-pressure-readout em {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.52);
  font-style: normal;
  font-size: 10px;
  line-height: 12px;
  letter-spacing: 0.08em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.analytics-pressure-label {
  fill: rgba(255, 255, 255, 0.94);
  font-size: 13px;
  line-height: 16px;
  font-family: var(--mono-font);
  pointer-events: none;
}

.analytics-pressure-label.secondary {
  fill: rgba(255, 255, 255, 0.62);
  font-size: 11px;
}

.analytics-pressure-code-node {
  cursor: pointer;
  transition: opacity 180ms ease, filter 180ms ease;
}

.analytics-pressure-code-node circle {
  transform-box: fill-box;
  transform-origin: center;
  vector-effect: non-scaling-stroke;
  transition: fill 180ms ease, stroke 180ms ease, stroke-width 180ms ease, opacity 180ms ease, r 180ms ease;
}

.analytics-pressure-code-node .analytics-pressure-node-hit {
  fill: transparent;
  pointer-events: visiblePainted;
}

.analytics-pressure-code-node .analytics-pressure-node-core {
  transform: scale(var(--analytics-pressure-node-scale, 1));
  fill: var(--pressure-fill, rgba(255, 255, 255, 0.5));
  stroke: var(--pressure-stroke, rgba(255, 255, 255, 0.36));
  stroke-width: 1;
}

.analytics-pressure-code-node.module .analytics-pressure-node-core {
  stroke-width: 1.45;
}

.analytics-pressure-code-node.branch .analytics-pressure-node-core {
  fill: rgba(16, 18, 21, 0.92);
}

.analytics-pressure-code-node.class .analytics-pressure-node-core,
.analytics-pressure-code-node.subfile .analytics-pressure-node-core {
  stroke-width: 0.85;
}

.analytics-pressure-code-node.is-hot .analytics-pressure-node-core,
.analytics-pressure-code-node.is-selected .analytics-pressure-node-core,
.analytics-pressure-code-node.is-hovered .analytics-pressure-node-core {
  stroke-width: 1.65;
}

.analytics-pressure-code-node.is-impact .analytics-pressure-node-core {
  stroke-width: 2.1;
  stroke: rgba(122, 187, 255, 0.98);
}

.analytics-pressure-code-node.is-live .analytics-pressure-node-core {
  stroke-dasharray: 1.5 1.6;
}

.analytics-pressure-code-node .analytics-pressure-node-pulse,
.analytics-pressure-code-node .analytics-pressure-edit-ring {
  transform: scale(var(--analytics-pressure-node-scale, 1));
}

.analytics-pressure-edit-ring {
  fill: none;
  stroke: rgba(255, 255, 255, 0.82);
  stroke-width: 0.9;
  stroke-dasharray: 2 2.6;
  pointer-events: none;
}

.analytics-pressure-code-node.is-edited .analytics-pressure-node-core {
  stroke: rgba(255, 255, 255, 0.86);
}

.analytics-pressure-code-node.signal-untouched .analytics-pressure-node-core {
  fill: rgba(74, 84, 92, 0.92);
  stroke: rgba(190, 203, 211, 0.28);
}

.analytics-pressure-code-node.signal-touched .analytics-pressure-node-core {
  fill: rgba(223, 227, 230, 0.88);
  stroke: rgba(255, 255, 255, 0.34);
}

.analytics-pressure-code-node.signal-hotspot .analytics-pressure-node-core {
  fill: rgba(44, 145, 248, 0.9);
  stroke: rgba(118, 190, 255, 0.82);
}

.analytics-pressure-code-node.signal-impact .analytics-pressure-node-core {
  fill: rgba(44, 145, 248, 0.98);
  stroke: rgba(167, 218, 255, 0.9);
}

.analytics-pressure-code-label {
  transform-box: fill-box;
  transform-origin: left center;
  transform: scale(var(--analytics-pressure-label-scale, 1));
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  fill: rgba(255, 255, 255, 0.58);
  font-family: var(--mono-font);
  font-size: 7px;
  letter-spacing: 0;
  paint-order: stroke;
  stroke: rgba(8, 8, 10, 0.96);
  stroke-width: 2.6px;
  opacity: 0;
  transition: opacity 180ms ease, fill 180ms ease;
}

.analytics-pressure-code-label.module-label {
  fill: rgba(255, 255, 255, 0.86);
  font-size: 8.5px;
  opacity: 0.92;
}

.analytics-pressure-code-label.branch-label {
  fill: rgba(255, 255, 255, 0.62);
  font-size: 7px;
}

.analytics-pressure-code-label.file-label,
.analytics-pressure-code-label.class-label {
  opacity: 0.16;
  font-size: 6px;
}

.analytics-pressure-code-label.is-hot,
.analytics-pressure-code-label.is-selected,
.analytics-pressure-code-label.is-hovered {
  fill: #fff;
}

.analytics-pressure-code-label.is-critical,
.analytics-pressure-code-label.is-selected,
.analytics-pressure-code-label.is-hovered {
  opacity: 1;
}

.analytics-pressure-code-label.is-edited-label {
  fill: rgba(255, 255, 255, 0.82);
}

#analyticsPressureField[data-zoom="overview"] .analytics-pressure-code-label:not(.module-label):not(.is-critical) {
  opacity: 0 !important;
}

#analyticsPressureField[data-zoom="overview"] .analytics-pressure-code-link:not(.is-context) {
  opacity: 0.28;
}

#analyticsPressureField[data-zoom="overview"] .analytics-pressure-code-link.dependency:not(.is-context) {
  opacity: 0.12;
}

#analyticsPressureField[data-zoom="overview"] .analytics-pressure-flow:not(.is-context) {
  opacity: 0.24;
}

#analyticsPressureField[data-context="session"] .analytics-pressure-code-node.is-outside-session {
  opacity: 0.16;
}

#analyticsPressureField[data-context="session"] .analytics-pressure-code-node.is-outside-session.module {
  opacity: 0.28;
}

#analyticsPressureField[data-context="session"] .analytics-pressure-code-label.is-outside-session:not(.is-critical) {
  opacity: 0 !important;
}

#analyticsPressureField[data-context="session"] .analytics-pressure-code-link.is-outside-session {
  opacity: 0.05 !important;
}

#analyticsPressureField[data-context="session"] .analytics-pressure-boundary:not(.is-selected) {
  opacity: 0.08;
}

#analyticsPressureField[data-zoom="overview"] .analytics-pressure-code-node.class:not(.is-hot):not(.is-selected),
#analyticsPressureField[data-zoom="overview"] .analytics-pressure-code-node.subfile:not(.is-hot):not(.is-selected) {
  opacity: 0.56;
}

#analyticsPressureField[data-zoom="overview"] .analytics-pressure-code-label.file-label:not(.is-hot):not(.is-selected),
#analyticsPressureField[data-zoom="overview"] .analytics-pressure-code-label.class-label:not(.is-hot):not(.is-selected) {
  opacity: 0;
}

#analyticsPressureField[data-zoom="detail"] .analytics-pressure-code-label.branch-label,
#analyticsPressureField[data-zoom="detail"] .analytics-pressure-code-label.is-edited-label {
  opacity: 0.66;
}

#analyticsPressureField[data-zoom="detail"] .analytics-pressure-code-label.file-label:not(.is-critical):not(.is-edited-label),
#analyticsPressureField[data-zoom="detail"] .analytics-pressure-code-label.class-label:not(.is-critical):not(.is-edited-label) {
  opacity: 0 !important;
}

#analyticsPressureField[data-zoom="inspect"] .analytics-pressure-code-label.file-label,
#analyticsPressureField[data-zoom="inspect"] .analytics-pressure-code-label.class-label {
  opacity: 0.38;
}

#analyticsPressureField[data-zoom="inspect"] .analytics-pressure-code-link.dependency {
  opacity: 0.62;
}

.analytics-pressure-node {
  pointer-events: none;
  transition: opacity 140ms ease, filter 140ms ease;
}

.analytics-pressure-node-hit {
  fill: transparent;
  pointer-events: visiblePainted;
  cursor: pointer;
}

.analytics-pressure-node.is-muted {
  opacity: 0.32;
}

.analytics-pressure-code-node.is-muted,
.analytics-pressure-code-label.is-muted,
.analytics-pressure-code-link.is-muted,
.analytics-pressure-flow.is-muted,
.analytics-pressure-boundary.is-muted {
  opacity: 0.1;
}

.analytics-pressure-code-node.is-hovered,
.analytics-pressure-code-node:hover {
  opacity: 1;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.16));
}

.analytics-pressure-code-link.is-hovered,
.analytics-pressure-flow.is-hovered {
  opacity: 1;
  stroke-width: calc(var(--route-width, 1) + 0.75px);
}

.analytics-pressure-node.is-hovered,
.analytics-pressure-node:hover,
.analytics-pressure-node.is-selected {
  opacity: 1;
}

.analytics-pressure-node-pulse {
  fill: rgba(255, 255, 255, 0.035);
  stroke: rgba(255, 255, 255, 0.18);
  stroke-width: 1;
  pointer-events: none;
}

#analyticsPressureField {
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
#analyticsPressureField.is-dragging,
#analyticsPressureField:active {
  cursor: grabbing;
}
.analytics-pressure-hitbox {
  fill: transparent;
  pointer-events: visiblePainted;
}
.analytics-pressure-viewport {
  transform-origin: 0 0;
  will-change: transform;
}

.analytics-pressure-node.is-live .analytics-pressure-node-pulse,
.analytics-pressure-code-node.is-live .analytics-pressure-node-pulse {
  fill: rgba(159, 255, 195, 0.045);
  stroke: rgba(159, 255, 195, 0.56);
  animation: analyticsPressureNodePulse 1.9s ease-out infinite;
}

.analytics-pressure-code-node.is-live:not(.module) .analytics-pressure-node-pulse {
  animation: none;
  opacity: 0.34;
}

#analyticsPressureField.is-interacting .analytics-pressure-code-node *,
#analyticsPressureField.is-interacting .analytics-pressure-code-link,
#analyticsPressureField.is-interacting .analytics-pressure-flow,
#analyticsPressureField.is-interacting .analytics-pressure-boundary,
#analyticsPressureField.is-interacting .analytics-pressure-code-label {
  transition: none !important;
  animation: none !important;
}

#analyticsPressureField.is-interacting .analytics-pressure-node-pulse,
#analyticsPressureField.is-interacting .analytics-pressure-edit-ring {
  opacity: 0.18;
}

.analytics-pressure-code-node.signal-failure .analytics-pressure-node-pulse,
.analytics-pressure-code-node.signal-warning .analytics-pressure-node-pulse,
.analytics-pressure-code-node.signal-decision .analytics-pressure-node-pulse {
  fill: rgba(255, 255, 255, 0.025);
  stroke: var(--pressure-stroke, rgba(255, 255, 255, 0.24));
}

.analytics-pressure-node-core {
  stroke: rgba(8, 8, 10, 0.98);
  stroke-width: 2;
}

@keyframes analyticsPressureCellPulse {
  0%, 100% {
    stroke-opacity: 0.22;
  }
  50% {
    stroke-opacity: 0.82;
  }
}

@keyframes analyticsPressureNodePulse {
  0% {
    opacity: 0.82;
    stroke-width: 1;
  }
  100% {
    opacity: 0;
    stroke-width: 8;
  }
}

.analytics-pressure-chip {
  cursor: pointer;
}

.analytics-pressure-chip rect {
  fill: rgba(13, 13, 16, 0.88);
  stroke: rgba(255, 255, 255, 0.18);
}

.analytics-pressure-chip.is-selected rect,
.analytics-pressure-chip:hover rect {
  stroke: rgba(255, 255, 255, 0.42);
}

.analytics-throughput-axis,
.analytics-throughput-grid {
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 1;
}

.analytics-throughput-bar.started {
  fill: rgba(255, 255, 255, 0.22);
}

.analytics-throughput-bar.completed {
  fill: rgba(255, 255, 255, 0.86);
}

.analytics-throughput-bar.retry {
  fill: rgba(255, 159, 22, 0.78);
}

.analytics-throughput-bar.blocked {
  fill: rgba(255, 75, 70, 0.84);
}

.analytics-throughput-label,
.analytics-throughput-value {
  fill: rgba(255, 255, 255, 0.58);
  font-family: var(--mono-font);
  font-size: 10px;
}

.analytics-throughput-value {
  fill: rgba(255, 255, 255, 0.88);
}

.analytics-ledger-row.is-contextual {
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.analytics-live-button {
  position: absolute;
  right: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.88);
  font-size: 10px;
  line-height: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  transition: transform 180ms var(--motion-latch-ease), border-color 180ms ease, background-color 180ms ease, color 180ms ease, box-shadow 220ms ease;
}

.analytics-live-button::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.9) 50%, transparent 100%);
  opacity: 0;
  transform: scaleY(0.2);
  transform-origin: center;
  transition: opacity 160ms ease, transform 240ms var(--motion-latch-ease);
  pointer-events: none;
}

.analytics-live-button:hover {
  border-color: rgba(255, 255, 255, 0.44);
  background: rgba(255, 255, 255, 0.08);
  transform: translate3d(2px, 0, 0);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.analytics-live-button:hover::before {
  opacity: 0.92;
  transform: scaleY(1);
}

.analytics-live-dot {
  display: inline-block;
  flex: 0 0 9px;
  position: relative;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff5b54;
  box-shadow:
    0 0 0 1px rgba(255, 91, 84, 0.18),
    0 0 10px rgba(255, 75, 70, 0.2);
  will-change: opacity, transform, box-shadow;
  animation: analyticsLiveRecord 2.2s cubic-bezier(0.2, 0.72, 0.22, 1) infinite;
}

.analytics-live-dot::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(255, 75, 70, 0.2);
  filter: blur(3px);
  opacity: 0.26;
  animation: analyticsLiveRecordGlow 2.2s ease-out infinite;
}

.analytics-live-dot::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1px solid rgba(255, 88, 82, 0.24);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(255, 75, 70, 0.08);
  animation: analyticsLiveRecordRing 2.2s ease-out infinite;
}

.analytics-live-button[data-live-count="0"] .analytics-live-dot {
  background: rgba(255, 255, 255, 0.34);
  box-shadow: none;
  animation: none;
}

.analytics-live-button[data-live-count="0"] .analytics-live-dot::before,
.analytics-live-button[data-live-count="0"] .analytics-live-dot::after {
  animation: none;
  opacity: 0;
}

@keyframes analyticsLiveRecord {
  0%, 100% {
    opacity: 0.72;
    transform: scale(0.94);
    box-shadow:
      0 0 0 1px rgba(255, 91, 84, 0.12),
      0 0 7px rgba(255, 75, 70, 0.18),
      0 0 12px rgba(255, 75, 70, 0.08);
  }
  14% {
    opacity: 0.96;
    transform: scale(1);
    box-shadow:
      0 0 0 1px rgba(255, 91, 84, 0.18),
      0 0 10px rgba(255, 75, 70, 0.26),
      0 0 18px rgba(255, 75, 70, 0.16);
  }
  22% {
    opacity: 0.8;
    transform: scale(0.96);
  }
  46% {
    opacity: 0.92;
    transform: scale(1);
    box-shadow:
      0 0 0 1px rgba(255, 91, 84, 0.16),
      0 0 11px rgba(255, 75, 70, 0.22),
      0 0 20px rgba(255, 75, 70, 0.14);
  }
  58% {
    opacity: 0.78;
    transform: scale(0.95);
  }
  74% {
    opacity: 0.9;
    transform: scale(0.99);
  }
}

@keyframes analyticsLiveRecordGlow {
  0%, 100% {
    opacity: 0.18;
    transform: scale(0.9);
  }
  18% {
    opacity: 0.3;
    transform: scale(1.02);
  }
  54% {
    opacity: 0.22;
    transform: scale(0.96);
  }
}

@keyframes analyticsLiveRecordRing {
  0%, 100% {
    opacity: 0;
    transform: scale(0.82);
  }
  18% {
    opacity: 0.28;
  }
  48% {
    opacity: 0.08;
    transform: scale(1.34);
  }
}

.analytics-interventions-body,
.analytics-efficiency-body {
  padding: 0;
}

.analytics-line-chart-shell {
  height: 100%;
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 0;
}

.analytics-line-chart {
  width: 100%;
  height: 100%;
  display: block;
}

.analytics-chart-grid {
  stroke: rgba(255, 255, 255, 0.15);
  stroke-dasharray: 2 7;
  stroke-width: 1;
}

.analytics-chart-axis {
  stroke: rgba(255, 255, 255, 0.26);
  stroke-width: 1;
}

.analytics-chart-label,
.analytics-chart-value {
  fill: rgba(255, 255, 255, 0.68);
  font-family: var(--mono-font);
  font-size: 12px;
}

.analytics-chart-value {
  fill: rgba(255, 255, 255, 0.82);
}

.analytics-chart-line {
  fill: none;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
  vector-effect: non-scaling-stroke;
  transition: opacity 140ms ease, stroke-width 140ms ease;
}

.analytics-chart-line-hit {
  fill: none;
  stroke: transparent;
  stroke-width: 22;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: stroke;
  cursor: pointer;
  vector-effect: non-scaling-stroke;
}

.analytics-chart-line-hit:hover + .analytics-chart-line {
  stroke-width: 2.2;
  opacity: 1;
}

.analytics-chart-series {
  pointer-events: none;
}

.analytics-chart-point {
  fill: #fff;
  pointer-events: visiblePainted;
  stroke: rgba(11, 11, 13, 0.98);
  stroke-width: 1.6;
}

.analytics-chart-legend {
  min-height: 44px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  padding: 0 18px 14px;
}

.analytics-efficiency-body .analytics-chart-legend {
  min-height: 38px;
}

.analytics-runtime-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: 1fr;
}

.analytics-runtime-card {
  min-height: 108px;
  border-bottom: 1px solid var(--rule);
}

.analytics-runtime-chart-shell {
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-rows: 108px minmax(0, 1fr);
}

.analytics-runtime-lines {
  position: relative;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
}

.analytics-runtime-hover-card {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 8;
  width: 214px;
  min-height: 116px;
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 8px;
  row-gap: 8px;
  padding: 10px 12px 11px;
  overflow: hidden;
  border: 1px solid var(--runtime-hover-border, rgba(255, 255, 255, 0.28));
  background:
    radial-gradient(circle at 76% 64%, rgba(255, 255, 255, 0.16), transparent 18px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 38%),
    repeating-radial-gradient(circle at 18% 28%, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 3px),
    rgba(13, 13, 15, 0.78);
  backdrop-filter: blur(10px) saturate(125%);
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.32),
    inset 0 0 0 1px rgba(255, 255, 255, 0.035);
  transform: translate(var(--runtime-hover-x, 16px), var(--runtime-hover-y, 16px));
  pointer-events: none;
}

.analytics-runtime-hover-card[hidden] {
  display: none !important;
}

.analytics-runtime-hover-icon {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.analytics-runtime-hover-fallback {
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.analytics-runtime-hover-copy {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  gap: 2px;
  min-width: 0;
}

.analytics-runtime-hover-copy strong {
  color: #fff;
  font-size: 12px;
  line-height: 16px;
  font-weight: var(--mono-weight-regular);
}

.analytics-runtime-hover-copy em,
.analytics-runtime-hover-copy span {
  color: rgba(255, 255, 255, 0.72);
  font-style: normal;
  font-size: 10px;
  line-height: 12px;
  letter-spacing: 0.03em;
}

.analytics-runtime-hover-metrics {
  grid-column: 1 / -1;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.analytics-runtime-hover-metric {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 6px 7px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
}

.analytics-runtime-hover-metric em,
.analytics-runtime-hover-metric b {
  min-width: 0;
  overflow: hidden;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.analytics-runtime-hover-metric em {
  color: rgba(255, 255, 255, 0.56);
  font-size: 9px;
  line-height: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.analytics-runtime-hover-metric b {
  color: rgba(255, 255, 255, 0.92);
  font-size: 11px;
  line-height: 14px;
  font-weight: var(--mono-weight-regular);
}

.analytics-runtime-lines .analytics-chart-series.is-hovered .analytics-chart-line {
  stroke-width: 2.2;
  opacity: 1;
}

.analytics-runtime-lines .analytics-chart-series.is-muted .analytics-chart-line,
.analytics-runtime-lines .analytics-chart-series.is-muted .analytics-chart-point {
  opacity: 0.22;
}

.analytics-runtime-rank {
  position: relative;
  right: auto;
  top: auto;
  width: auto;
  display: grid;
  gap: 6px;
  align-self: start;
  margin: 14px 12px 0 0;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(8, 8, 10, 0.82);
}

.analytics-runtime-rank-row {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) 42px;
  gap: 6px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 10px;
  line-height: 12px;
}

.analytics-runtime-rank-row:first-child {
  color: #fff;
}

.analytics-runtime-rank-row span:nth-child(2) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.analytics-risk-body {
  padding: 0;
}

.analytics-risk-table {
  height: 100%;
  display: grid;
  grid-template-rows: 34px minmax(0, 1fr) 44px;
}

.analytics-risk-head,
.analytics-risk-row {
  display: grid;
  grid-template-columns: 178px minmax(0, 1fr) 104px 68px;
  align-items: center;
}

.analytics-risk-head {
  border-bottom: 1px solid var(--rule);
  color: rgba(255, 255, 255, 0.48);
  font-size: 11px;
  line-height: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.analytics-risk-head span,
.analytics-risk-row > span {
  min-width: 0;
  height: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0 8px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.analytics-risk-head span:last-child,
.analytics-risk-row > span:last-child {
  border-right: 0;
}

.analytics-risk-rows {
  min-height: 0;
  overflow: hidden;
}

.analytics-risk-row {
  position: relative;
  height: 38px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 20px;
  cursor: pointer;
  overflow: hidden;
  transition: transform 180ms var(--motion-latch-ease), background-color 180ms ease, color 180ms ease, box-shadow 220ms ease;
}

.analytics-risk-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.9) 50%, transparent 100%);
  opacity: 0;
  transform: scaleY(0.2);
  transform-origin: center;
  transition: opacity 160ms ease, transform 240ms var(--motion-latch-ease);
  pointer-events: none;
}

.analytics-risk-row:hover {
  background: rgba(255, 255, 255, 0.055);
  color: #fff;
  transform: translate3d(2px, 0, 0);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.analytics-risk-row:hover::before {
  opacity: 0.92;
  transform: scaleY(1);
}

.analytics-risk-type {
  gap: 10px;
}

.analytics-risk-icon {
  width: 16px;
  height: 16px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 16px;
  font-size: 16px;
  line-height: 1;
}

.analytics-risk-icon i {
  display: block;
  line-height: 1;
}

.analytics-risk-icon.tone-red {
  color: rgba(255, 75, 70, 0.95);
}

.analytics-risk-icon.tone-orange {
  color: rgba(255, 159, 22, 0.92);
}

.analytics-risk-icon.tone-blue {
  color: rgba(44, 145, 248, 0.94);
}

.analytics-risk-item {
  display: grid !important;
  gap: 3px;
  align-content: center;
}

.analytics-risk-item strong,
.analytics-risk-item em {
  display: block;
  min-width: 0;
  overflow: hidden;
  font-style: normal;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.analytics-risk-item em {
  color: rgba(255, 255, 255, 0.46);
  font-size: 12px;
  line-height: 14px;
}

.analytics-risk-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 0 12px;
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .dashboard.is-view-intro[data-view="monitoring"] .monitoring-only,
  .dashboard.is-view-intro[data-view="analytics"] .analytics-view > *,
  .dashboard.is-view-intro[data-view="monitoring"] .queue-item,
  .dashboard.is-view-intro[data-view="analytics"] .analytics-summary-card,
  .dashboard.is-view-intro[data-view="analytics"] .analytics-ledger-row,
  .dashboard.is-view-intro[data-view="analytics"] .analytics-risk-row,
  .dashboard.is-view-intro[data-view="monitoring"] #codeGraph,
  .dashboard.is-view-intro[data-view="analytics"] #analyticsPressureField,
  .dashboard.is-first-boot .top-bar,
  .dashboard.is-first-boot .brand-lockup,
  .dashboard.is-first-boot .top-tabs,
  .dashboard.is-first-boot .profile-button,
  .dashboard.is-first-boot::after,
  .dashboard.is-view-intro[data-view="monitoring"] .timeline-lane,
  .dashboard.is-view-intro[data-view="monitoring"] .timeline-connection.visible,
  .dashboard.is-view-intro[data-view="monitoring"] .timeline-connection.active,
  .dashboard.is-view-intro[data-view="monitoring"] .timeline-wait-line.visible,
  .dashboard.is-view-intro[data-view="analytics"] .analytics-chart-grid,
  .dashboard.is-view-intro[data-view="analytics"] .analytics-chart-axis,
  .dashboard.is-view-intro[data-view="analytics"] .analytics-chart-line,
  .dashboard.is-view-intro[data-view="analytics"] .analytics-pressure-code-link,
  .dashboard.is-view-intro[data-view="analytics"] .analytics-pressure-flow,
  .dashboard.is-view-intro[data-view="analytics"] .analytics-chart-point,
  .dashboard.is-view-intro[data-view="analytics"] .analytics-line-end-label {
    animation: none !important;
  }
}

.analytics-line-end-label {
  fill: rgba(255, 255, 255, 0.68);
  font-family: var(--mono-font);
  font-size: 10px;
}

.analytics-chart-series.is-best .analytics-chart-line {
  stroke-width: 1.65;
  filter: drop-shadow(0 0 6px rgba(159, 255, 195, 0.28));
}

.analytics-chart-series.is-best .analytics-chart-line-hit:hover + .analytics-chart-line {
  stroke-width: 2.6;
}

.analytics-chart-series.is-best .analytics-chart-point {
  fill: var(--green);
}

.analytics-chart-series.is-best .analytics-line-end-label {
  fill: #fff;
}
