/* 2a — the wire: chronological feed left, expanded item right. */

.wire { background: var(--shell); }

.wire__header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 26px 32px 18px;
}

.wire__head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.wire__head-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.wire__title {
  margin: 0;
  font: 900 46px/1 var(--font-display);
  letter-spacing: -0.05em;
}

.wire__head-controls {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
}

.wire__live-chip { gap: 6px; }

.wire__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.wire__list {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
}

.wire__rows {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.wire__new-pill {
  position: absolute;
  left: 50%;
  top: 12px;
  z-index: 5;
  transform: translateX(-50%);
  padding: 9px 14px;
  border-radius: 12px;
  background: rgba(79, 227, 156, 0.18);
  border: 1px solid rgba(123, 240, 184, 0.45);
  font: 600 9px/1 var(--font-mono);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--standby-light);
}

/* --- wire row ------------------------------------------------------------ */

.wire-row {
  display: flex;
  gap: 18px;
  padding: 20px 32px;
  border-bottom: 1px solid var(--rowline);
  cursor: pointer;
  animation: sp-prepend 220ms var(--ease-out);
  transition: background var(--dur-hover) var(--ease-out);
}

.wire-row:hover { background: rgba(237, 235, 230, 0.04); }

.wire-row[aria-selected="true"] {
  background: linear-gradient(90deg, color-mix(in srgb, var(--tint) 9%, transparent), transparent 58%);
  box-shadow: inset 3px 0 0 var(--tint);
}

/* The continuous vertical line is what makes this read as a wire. */
.wire-row__rail {
  width: 52px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.wire-row__time {
  font: 500 9px/1 var(--font-mono);
  letter-spacing: 0.6px;
  color: var(--bone60);
}

.wire-row__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--tint);
  box-shadow: 0 0 10px color-mix(in srgb, var(--tint) 70%, transparent);
  flex-shrink: 0;
}

.wire-row[data-severity="cam"] .wire-row__dot { border-radius: 1px; width: 8px; height: 8px; }

.wire-row__line {
  width: 1px;
  flex: 1;
  min-height: 12px;
  background: linear-gradient(color-mix(in srgb, var(--tint) 40%, transparent), var(--hairline));
}

.wire-row__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.wire-row__title-line {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
}

.wire-row__title {
  font: 800 20px/1.05 var(--font-display);
  letter-spacing: -0.03em;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wire-row__kind {
  flex-shrink: 0;
  padding: 4px 6px;
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--tint) 40%, transparent);
  color: var(--tint-light);
  font: 600 8px/1 var(--font-mono);
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.wire-row__meta {
  font: 500 9px/1 var(--font-mono);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--bone50);
}

/* One sentence of prose — the only place in the app where prose appears. */
.wire-row__note {
  margin: 0;
  max-width: 560px;
  font: 400 14px/1.5 var(--font-display);
  color: var(--bone76);
  text-wrap: pretty;
}

.wire-row__action {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

/* --- right pane ---------------------------------------------------------- */

.wire__pane { min-height: 0; }

.wire__pane-empty { margin: 20px; }

.wire__pane-content {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.wire__pane-strip { flex-shrink: 0; }

.wire__pane-slot {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.wire__pane-slot:empty { display: none; }

.wire__pane-body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
}

.wire__pane-title {
  font: 800 26px/1 var(--font-display);
  letter-spacing: -0.03em;
}

.wire__pane-meta {
  font: 500 9.5px/1.5 var(--font-mono);
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--bone55);
}

.wire__pane-note {
  margin: 0;
  font: 400 14px/1.55 var(--font-display);
  color: var(--bone76);
}

.wire__context { display: flex; flex-direction: column; gap: 11px; }

.wire__context-card {
  display: flex;
  gap: 12px;
  padding: 13px;
  border-radius: var(--r-card);
  background: rgba(237, 235, 230, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.11);
}

.wire__context-rail {
  width: 3px;
  border-radius: 2px;
  background: var(--tint);
  box-shadow: 0 0 12px color-mix(in srgb, var(--tint) 60%, transparent);
}

.wire__context-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.wire__context-title {
  font: 800 16px/1 var(--font-display);
  letter-spacing: -0.02em;
}

.wire__context-meta {
  font: 500 8.5px/1 var(--font-mono);
  letter-spacing: 1.1px;
  color: var(--bone55);
}

.wire__pane-footer {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 0 20px 20px;
}
