/**
 * hub-next · Work styles (BP-scoped) — workbench only
 * bp.hub.neit.work.v1 · pack-work.js
 * Geometry: shell.css. Color chrome: hub.shared.chrome.select.v1.css (L2).
 * ARCH: shell → shared → pack → active
 */

.hub-next-work-wb {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  width: 100%;
  box-sizing: border-box;
}

.wrk-fo-check {
  margin: 0;
  padding: 10px 0 8px;
}
.wrk-fo-check-head {
  font: 700 10px/1.2 Geist, system-ui, sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 10px;
}
.wrk-fo-check-group { margin: 0 0 12px; }
.wrk-fo-check-group:last-of-type { margin-bottom: 10px; }
.wrk-fo-check-group h3 {
  margin: 0 0 6px;
  font: 700 10px/1.2 Geist, system-ui, sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #7dd3fc;
}
.wrk-fo-check-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.wrk-fo-check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  text-align: left;
  padding: 7px 8px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: transparent;
  color: #e2e8f0;
  font: 600 12px/1.3 Geist, system-ui, sans-serif;
  cursor: pointer;
}
.wrk-fo-check-item:hover {
  border-color: rgba(56, 189, 248, 0.35);
  background: rgba(14, 165, 233, 0.08);
}
.wrk-fo-check-item.is-current {
  border-color: var(--story-select, #e4b45a);
  box-shadow: 0 0 0 1px rgba(228, 180, 90, 0.28);
}
.wrk-fo-check-item.is-done .wrk-fo-check-lab { color: #94a3b8; }
.wrk-fo-detail {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
}
.wrk-fo-detail h3 {
  margin: 0 0 8px;
  font: 700 14px/1.3 Geist, system-ui, sans-serif;
  color: #f8fafc;
}
.wrk-fo-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 4px 0 2px;
}
.wrk-fo-chip {
  appearance: none;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(15, 23, 42, 0.4);
  color: #cbd5e1;
  border-radius: 999px;
  padding: 6px 12px;
  font: 700 11px/1.2 Geist, system-ui, sans-serif;
  cursor: pointer;
}
.wrk-fo-chip.is-current {
  border-color: var(--hub-execute, #3b82f6);
  background: var(--hub-execute-soft, rgba(59, 130, 246, 0.2));
  color: #fff;
}
.work-queue-head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 8px 10px 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.work-queue-head-icon {
  color: var(--select-execute-strong, #60a5fa);
  flex-shrink: 0;
}
.work-queue-title {
  font: 700 12px/1.2 system-ui, "Geist", sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #e2e8f0;
}
.work-matter-mine {
  display: inline-flex;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(167, 139, 250, 0.2);
  color: #c4b5fd;
  border: 1px solid rgba(167, 139, 250, 0.4);
  margin-right: 4px;
}
.work-queue-sub {
  font: 500 11px/1.3 system-ui, "Geist", sans-serif;
  color: #64748b;
  margin-top: 2px;
}

/* Me | Work — select-view purple filters (L2 chrome also applies .select-view) */
.work-list-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  flex-shrink: 0;
  padding: 8px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-sizing: border-box;
}
.work-list-tabs--3 {
  grid-template-columns: 1fr 1fr 1fr;
}
.work-list-tabs--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Same Outcomes card as Signals */
.hub-next-work-wb .sig-card-list,
.hub-next-work-wb .outcome-card-list {
  list-style: none;
  margin: 0;
  padding: 8px 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
}
.hub-next-work-wb .outcome-card-item {
  list-style: none;
}
.hub-next-work-wb .outcome-card-row {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  text-align: left;
  padding: 12px 12px 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0e141c;
  color: #e2e8f0;
  font: inherit;
  cursor: pointer;
  box-sizing: border-box;
  overflow: hidden;
}
.hub-next-work-wb .outcome-card-row:hover {
  border-color: rgba(167, 139, 250, 0.35);
  background: #121a24;
}
.hub-next-work-wb .outcome-card-row.is-active {
  border-color: var(--story-select, #e4b45a);
  box-shadow: inset 4px 0 0 var(--story-select, #e4b45a),
    0 0 0 1px rgba(228, 180, 90, 0.5);
  background: var(--story-select-fill, #2c2412);
}
.hub-next-work-wb .outcome-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.hub-next-work-wb .outcome-card-badge--primary,
.hub-next-work-wb .outcome-card-badge--action {
  display: inline-flex;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 4px;
  line-height: 1.2;
  flex-shrink: 0;
}
.hub-next-work-wb .outcome-card-badge--primary {
  background: rgba(56, 189, 248, 0.16);
  color: #7dd3fc;
  border: 1px solid rgba(56, 189, 248, 0.3);
}
.hub-next-work-wb .outcome-card-badge--action {
  background: rgba(148, 163, 184, 0.14);
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.25);
}
.hub-next-work-wb .outcome-card-kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}
.hub-next-work-wb .outcome-card-title {
  font-size: 14px;
  font-weight: 700;
  color: #f8fafc;
  line-height: 1.3;
}
.hub-next-work-wb .outcome-card-meta {
  font-size: 11px;
  color: #94a3b8;
  line-height: 1.35;
}
.hub-next-work-wb .outcome-card-item--sub .outcome-card-row {
  padding: 8px 10px 8px 12px;
  border-radius: 10px;
  background: #0b1118;
}
.hub-next-work-wb .outcome-card-item--sub .outcome-card-title {
  font-size: 13px;
  font-weight: 600;
}
.wrk-ev-label {
  display: block;
  margin: 8px 0;
  font-size: 11px;
  color: #94a3b8;
}
.wrk-ev-note {
  display: block;
  width: 100%;
  margin-top: 4px;
  min-height: 64px;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(2, 6, 23, 0.45);
  color: #e2e8f0;
  font: 12px/1.4 system-ui, sans-serif;
  padding: 8px;
  box-sizing: border-box;
}
.wrk-ev-list {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  font-size: 11px;
}
.wrk-ev-list li {
  margin: 4px 0;
}
.work-projects-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.work-btn-primary {
  appearance: none;
  border: 1px solid rgba(56, 189, 248, 0.45);
  background: rgba(14, 165, 233, 0.15);
  color: #7dd3fc;
  font: 700 11px/1 system-ui, sans-serif;
  padding: 7px 12px;
  border-radius: 8px;
  cursor: pointer;
}
.work-btn-primary:hover {
  background: rgba(14, 165, 233, 0.28);
  color: #e0f2fe;
}
.work-projects-hint {
  font-size: 10px;
}
.work-matter-row.is-project .work-matter-type {
  color: #c4b5fd;
}
.wrk-cme {
  margin: 0 0 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(167, 139, 250, 0.35);
  background: rgba(76, 29, 149, 0.12);
}
.wrk-cme-head {
  font: 700 10px/1 system-ui, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c4b5fd;
  margin-bottom: 6px;
}
.wrk-cme--compact {
  margin: 0 14px 10px;
  padding: 8px 12px;
}
.wrk-cme-head--inline {
  margin-bottom: 8px;
}
.wrk-cme-title {
  margin: 0 0 4px;
  font: 650 15px/1.3 system-ui, sans-serif;
  color: #f8fafc;
}
.wrk-cme-lib {
  margin: 0 0 10px;
  font-size: 11px;
}
.wrk-cme-phases {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.wrk-cme-phase strong {
  color: #e2e8f0;
  font-size: 12px;
}
.wrk-cme-items {
  margin: 6px 0 0;
  padding: 0 0 0 4px;
  list-style: none;
  font-size: 12px;
  color: #cbd5e1;
}
.wrk-cme-items li {
  margin: 4px 0;
}
.wrk-cme-items li.is-done {
  color: #86efac;
}
.wrk-cme-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.wrk-cme-status {
  display: inline-flex;
  flex-shrink: 0;
  min-width: 4.6em;
  justify-content: center;
  font: 800 9px/1.2 ui-monospace, "Geist Mono", monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 6px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: #94a3b8;
}
.wrk-cme-status--queued {
  color: #cbd5e1;
  border-color: rgba(148, 163, 184, 0.4);
  background: rgba(148, 163, 184, 0.1);
}
.wrk-cme-status--assigned {
  color: #c4b5fd;
  border-color: rgba(167, 139, 250, 0.45);
  background: rgba(167, 139, 250, 0.14);
}
.wrk-cme-status--done {
  color: #86efac;
  border-color: rgba(34, 197, 94, 0.45);
  background: rgba(34, 197, 94, 0.14);
}
.wrk-cme-status--fail {
  color: #fca5a5;
  border-color: rgba(239, 68, 68, 0.45);
  background: rgba(239, 68, 68, 0.14);
}
.wrk-cme-status--human {
  color: #fde68a;
  border-color: rgba(234, 179, 8, 0.45);
  background: rgba(234, 179, 8, 0.14);
}
.sig-plan-row--status {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}
.sig-plan-row--status .sig-plan-label {
  margin: 0;
}
.wrk-cme-check {
  appearance: none;
  border: none;
  background: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 0 4px 0 0;
  font: inherit;
}
.wrk-cme-check:hover {
  color: #7dd3fc;
}
.wrk-cme-honesty {
  margin: 10px 0 0;
  font-size: 10px;
}
.work-list-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
  padding: 6px 10px;
  border-radius: 10px;
  font: 700 12px/1.2 system-ui, "Geist", sans-serif;
  cursor: pointer;
  box-sizing: border-box;
}
.work-list-tab-n {
  font-family: ui-monospace, "Geist Mono", monospace;
  font-size: 11px;
  font-weight: 800;
  min-width: 1.4em;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(2, 8, 16, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.work-list-empty {
  flex: 1;
  padding: 14px 12px;
  font: 500 12px/1.45 system-ui, "Geist", sans-serif;
  color: #94a3b8;
}
.work-list-empty p {
  margin: 0;
}

.work-matter-list {
  list-style: none;
  margin: 0;
  padding: 8px;
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.work-matter-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  width: 100%;
  text-align: left;
  padding: 10px 10px 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(14, 20, 28, 0.72);
  color: #e2e8f0;
  cursor: pointer;
  box-sizing: border-box;
  transition: border-color 0.12s ease, box-shadow 0.12s ease;
}
.work-matter-row:hover {
  border-color: color-mix(in srgb, var(--select-view) 40%, transparent);
}
.work-matter-row.is-active {
  border-color: var(--select-view);
  box-shadow: var(--select-view-ring, 0 0 0 1.5px var(--select-view));
}
.work-matter-hot {
  display: inline-block;
  font: 800 9px/1 ui-monospace, monospace;
  letter-spacing: 0.06em;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(239, 68, 68, 0.18);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.35);
  margin-bottom: 2px;
}
.work-matter-type {
  font: 700 10px/1.2 ui-monospace, "Geist Mono", monospace;
  letter-spacing: 0.04em;
  color: #94a3b8;
  text-transform: uppercase;
}
.work-matter-title {
  font: 650 13px/1.3 system-ui, "Geist", sans-serif;
  color: #f8fafc;
}
.work-matter-parent {
  font: 600 11px/1.3 system-ui, "Geist", sans-serif;
  color: #c4b5fd;
}
.work-matter-meta {
  font: 500 11px/1.3 system-ui, "Geist", sans-serif;
  color: #64748b;
}

.work-status {
  flex-shrink: 0;
  padding: 6px 10px 10px;
  font-size: 11px;
  margin: 0;
}

.hub-next-work-ops-placeholder,
.hub-next-work-insp-placeholder {
  height: 100%;
  min-height: 0;
  box-sizing: border-box;
}
.work-ops-empty {
  padding: 20px 18px;
  max-width: 420px;
}
.work-ops-empty h3 {
  margin: 0 0 8px;
  font: 650 14px/1.3 system-ui, "Geist", sans-serif;
  color: #e2e8f0;
}
.work-ops-empty p {
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 1.45;
  color: #94a3b8;
}
.work-ops-selected code {
  font-size: 11px;
  color: var(--select-view-strong, #c4b5fd);
}


/* ── Ops + inspector (aligned with Signals) ── */
.hub-next-ops,
.hub-next-work-ops {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  box-sizing: border-box;
}
.msp-ops-titlebar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  padding: 12px 16px 4px;
}
.msp-ops-titlebar h1 {
  margin: 0;
  font: 700 16px/1.25 system-ui, "Geist", sans-serif;
  color: #f1f5f9;
}
/* Flight Ops banner — same footprint as OODA, brighter edge */
.wrk-ops-banner {
  flex-shrink: 0;
  margin: 0 14px 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(125, 211, 252, 0.55);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.18);
  background: rgba(8, 16, 26, 0.82);
  text-align: center;
}
.wrk-ops-banner-head {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  font: 700 10px/1.2 system-ui, sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #e2e8f0;
  margin-bottom: 6px;
}
.wrk-ops-banner-head .sig-loop-tag {
  color: #7dd3fc;
  border-color: rgba(56, 189, 248, 0.55);
  background: rgba(14, 165, 233, 0.16);
}
.wrk-ops-banner-body {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #e2e8f0;
  line-height: 1.35;
}
.hub-next-pill {
  font: 700 10px/1 ui-monospace, monospace;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: #94a3b8;
  background: rgba(15, 23, 42, 0.6);
}
.ops-context {
  margin: 0;
  padding: 0 16px 10px;
  font-size: 13px;
  font-weight: 600;
  color: #cbd5e1;
  line-height: 1.35;
}
.hub-next-ops-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 0 14px 12px;
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  align-content: start;
}
.hub-next-ops-pane {
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 12px;
  background: rgba(14, 20, 28, 0.72);
  padding: 12px 12px 10px;
  min-width: 0;
}
.hub-next-ops-pane h2 {
  margin: 0 0 10px;
  font: 700 11px/1.2 system-ui, sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
}
.hub-next-ops-pane p {
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 1.4;
  color: #e2e8f0;
}
.hub-next-ops-pane code {
  font-size: 10px;
  word-break: break-all;
  color: var(--select-view-strong, #c4b5fd);
}
.hub-next-ops-actions {
  flex-shrink: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.hub-next-ops-empty {
  padding: 16px;
  font-size: 13px;
}
.work-matter-bridge {
  display: inline-block;
  font: 800 9px/1 ui-monospace, monospace;
  letter-spacing: 0.06em;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(56, 189, 248, 0.12);
  color: #7dd3fc;
  border: 1px solid rgba(56, 189, 248, 0.35);
  margin-bottom: 2px;
  margin-right: 4px;
}

/* Inspector */
.hub-next-insp {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}
.hub-next-insp-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 8px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}
.hub-next-insp-tab {
  font: 650 11px/1 system-ui, sans-serif;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
}
.hub-next-insp-tab.is-on {
  color: #e2e8f0;
  border-color: var(--select-view, #a78bfa);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--select-view, #a78bfa) 40%, transparent);
}
.hub-next-insp-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: 12px 12px 16px;
}
.hub-next-insp-dl {
  margin: 0;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 6px 10px;
  font-size: 12px;
}
.hub-next-insp-dl dt {
  color: #64748b;
  font-weight: 600;
}
.hub-next-insp-dl dd {
  margin: 0;
  color: #e2e8f0;
  word-break: break-word;
}
.hub-next-insp-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
}
.hub-next-insp-list li {
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(14, 20, 28, 0.55);
}
.stream-score {
  font: 800 10px/1 ui-monospace, monospace;
  color: var(--select-execute-strong, #60a5fa);
  margin-right: 6px;
}
.hub-next-json {
  margin: 0;
  font: 11px/1.4 ui-monospace, monospace;
  white-space: pre-wrap;
  word-break: break-word;
  color: #cbd5e1;
}
.insp-foot {
  margin-top: 14px;
  font-size: 11px;
}
@media (max-width: 1100px) {
  .hub-next-ops-grid {
    grid-template-columns: 1fr;
  }
}

/* ── W0–W3 Work Ops (Signals parity + motion strip + fact inspector) ── */
.hub-next-work-ops {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  position: relative;
  padding-right: 28px;
  box-sizing: border-box;
}
.hub-next-work-ops--action-open {
  padding-right: min(308px, 42vw);
}
.hub-next-work-ops .sig-ops-stage {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  min-width: 0;
  flex: 1 1 auto;
}
.hub-next-work-ops .hub-next-ops-grid,
.hub-next-work-ops .hub-next-ops-grid--iado4 {
  display: grid;
  gap: 10px;
  padding: 0 14px 12px;
  flex: 1 1 0;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: hidden;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  grid-auto-rows: minmax(0, 1fr);
  align-items: stretch;
}
.hub-next-work-ops--action-open .hub-next-ops-grid--iado4 {
  gap: 6px;
  padding-right: 6px;
}
.msp-ops-titlebar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px 4px;
  flex-wrap: wrap;
}
.msp-ops-titlebar h1 {
  margin: 0;
  font: 700 16px/1.25 system-ui, sans-serif;
  color: #f1f5f9;
}
.ops-context, .sig-ops-context {
  margin: 0;
  padding: 0 16px 10px;
  font-size: 12px;
}
.sig-ops-flash {
  margin: 0 16px 8px;
  padding: 8px 10px;
  border-radius: 8px;
  font: 600 12px/1.35 system-ui, sans-serif;
  color: #a7f3d0;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.28);
}
.hub-next-pill {
  font: 700 10px/1 ui-monospace, monospace;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: #94a3b8;
  background: rgba(15, 23, 42, 0.6);
}
.sig-lane-tag { font-weight: 800 !important; letter-spacing: 0.06em; }
.sig-lane-tag--station {
  color: #c4b5fd !important;
  border-color: rgba(167, 139, 250, 0.4) !important;
  background: rgba(167, 139, 250, 0.1) !important;
}
.sig-horizon--long {
  color: #c4b5fd !important;
  border-color: rgba(167, 139, 250, 0.35) !important;
}
.sig-pill-hot {
  color: #fca5a5 !important;
  border-color: rgba(248, 113, 113, 0.45) !important;
}
.hub-next-pill--actions-open {
  color: #7dd3fc !important;
  border-color: rgba(56, 189, 248, 0.4) !important;
}

/* OODA */
.sig-ooda {
  flex-shrink: 0;
  margin: 0 14px 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(167, 139, 250, 0.28);
  background: rgba(8, 14, 22, 0.75);
}
.sig-ooda-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font: 700 10px/1.2 system-ui, sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #e2e8f0;
  margin-bottom: 6px;
}
.sig-ooda-context {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  color: #e2e8f0;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: none;
}
.sig-loop-tag {
  display: inline-block;
  margin-right: 6px;
  padding: 2px 6px;
  border-radius: 4px;
  color: #c4b5fd;
  border: 1px solid rgba(167, 139, 250, 0.4);
  background: rgba(139, 92, 246, 0.12);
}
.sig-ooda-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.sig-ooda-cell h3 {
  margin: 0 0 6px;
  font: 700 10px/1.2 system-ui, sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #94a3b8;
}
.sig-ooda-problem {
  margin: 0 0 4px;
  font: 700 13px/1.35 system-ui, sans-serif;
  color: #f8fafc;
}
.sig-ooda-summary { margin: 0; font-size: 11px; line-height: 1.35; }
.sig-node-links { display: flex; flex-wrap: wrap; gap: 6px; }
.sig-node-link {
  appearance: none;
  cursor: pointer;
  font: inherit;
  text-align: left;
  border-radius: 8px;
  border: 1px solid rgba(56, 189, 248, 0.4);
  background: rgba(14, 165, 233, 0.1);
  color: #7dd3fc;
  padding: 4px 8px;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.sig-node-link.is-on,
.sig-node-link:hover {
  border-color: #38bdf8;
  background: rgba(56, 189, 248, 0.16);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.35);
  color: #e0f2fe;
}
.sig-node-kind {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #38bdf8;
  opacity: 0.9;
}

/* D1 Flight Ops strip — same box as OODA / Flight Ops banner. */
.wrk-motion {
  flex-shrink: 0;
  margin: 0 14px 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(125, 211, 252, 0.55);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.18);
  background: rgba(8, 16, 26, 0.82);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
}
.wrk-motion--banner {
  min-height: 0;
}
.wrk-motion-head,
.wrk-motion-side {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  writing-mode: horizontal-tb;
  transform: none;
  flex: 0 0 auto;
  width: auto;
  background: transparent;
  border: 0;
  font: 700 10px/1.2 system-ui, sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #e2e8f0;
  margin-bottom: 6px;
}
.wrk-motion-head .sig-loop-tag,
.wrk-motion-side .sig-loop-tag {
  color: #7dd3fc;
  border-color: rgba(56, 189, 248, 0.55);
  background: rgba(14, 165, 233, 0.16);
}
.wrk-motion-id,
.wrk-motion-hint {
  display: none;
}
.wrk-motion-body {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.wrk-motion-flow {
  list-style: none;
  margin: 0;
  padding: 2px 4px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 3px 2px;
  max-width: 100%;
  border-radius: 8px;
  background: transparent;
  border: 0;
}
.wrk-motion-step {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(186, 206, 230, 0.4);
  background: rgba(30, 36, 44, 0.95);
  font: 700 12px/1.2 system-ui, sans-serif;
  color: #e2e8f0;
  cursor: pointer;
  --vm-state: ahead;
}
.wrk-motion-step-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #64748b;
  flex-shrink: 0;
}
.wrk-motion-step.is-done {
  --vm-state: done;
  color: #a7f3d0;
  border-color: rgba(52, 211, 153, 0.4);
  background: rgba(16, 185, 129, 0.12);
}
.wrk-motion-step.is-done .wrk-motion-step-dot {
  background: #34d399;
}
.wrk-motion-step.is-current {
  --vm-state: current;
  color: #f1f5f9;
  border-color: rgba(226, 232, 240, 0.55);
  background: rgba(71, 85, 105, 0.55);
  box-shadow: 0 0 0 1px rgba(226, 232, 240, 0.2);
  font-weight: 800;
}
.wrk-motion-step.is-current .wrk-motion-step-dot {
  background: #e2e8f0;
}
.wrk-motion-step.is-ahead {
  --vm-state: ahead;
  opacity: 1;
  color: #cbd5e1;
}
.wrk-motion-sep {
  list-style: none;
  color: #64748b;
  font-size: 11px;
  padding: 0 2px;
  line-height: 1;
}
.wrk-motion-phases {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.wrk-motion-phase {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.wrk-motion-phase-lab {
  flex: 0 0 5.4rem;
  font: 800 11px/1.1 system-ui, sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7dd3fc;
  text-align: right;
}
.wrk-motion-phase .wrk-motion-flow {
  flex: 1 1 auto;
}
.wrk-motion-step.is-focus:not(.is-current) {
  outline: 1px dashed rgba(125, 211, 252, 0.7);
  outline-offset: 1px;
}

/* IADO panes */
.hub-next-ops-pane {
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 12px;
  background: rgba(14, 20, 28, 0.72);
  padding: 12px;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.hub-next-ops-pane h2 {
  margin: 0 0 10px;
  font: 700 11px/1.2 system-ui, sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
  flex-shrink: 0;
}
.sig-iado-letter {
  display: inline-flex;
  width: 1.25em;
  height: 1.25em;
  align-items: center;
  justify-content: center;
  margin-right: 4px;
  border-radius: 4px;
  font-size: 10px;
  background: rgba(167, 139, 250, 0.15);
  color: #c4b5fd;
}
.sig-email-subject { margin: 0 0 10px; font-size: 12px; flex-shrink: 0; }
.sig-email-body, .sig-out-body {
  margin: 0;
  flex: 1 1 auto;
  min-height: 80px;
  overflow: auto;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(2, 6, 23, 0.45);
  font: 12px/1.45 ui-monospace, "Geist Mono", monospace;
  color: #cbd5e1;
  white-space: pre-wrap;
  word-break: break-word;
}
.sig-ops-hint { display: none; }
.hub-next-work-ops .hub-next-ops-grid--iado4 {
  box-shadow: none !important;
  outline: none !important;
  border: 0 !important;
  background: transparent !important;
  isolation: isolate;
  overflow: hidden !important;
  contain: paint;
  clip-path: inset(0);
  transform: translateZ(0);
}
.hub-next-work-ops .hub-next-ops-grid--iado4 > [data-iado="input"] {
  z-index: 0;
  isolation: isolate;
  overflow: hidden !important;
  clip-path: inset(0);
  transform: translateZ(0);
}
.hub-next-work-ops .hub-next-ops-grid--iado4 > [data-iado]:not([data-iado="input"]) {
  z-index: 1;
  background: #0e141c;
}
.hub-next-work-ops .sig-ops-stage::before,
.hub-next-work-ops .sig-ops-stage::after,
.hub-next-work-ops .hub-next-ops-grid::before,
.hub-next-work-ops .hub-next-ops-grid::after,
.hub-next-work-ops .hub-next-ops-grid--iado4::before,
.hub-next-work-ops .hub-next-ops-grid--iado4::after {
  content: none !important;
  display: none !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  height: 0 !important;
  width: 0 !important;
}
.hub-next-work-ops .hub-next-ops-pane {
  box-shadow: none !important;
  overflow: hidden !important;
  isolation: isolate;
}
/* Letter iframe must not paint a hairline across Decision / Plan / Output. */
.hub-next-work-ops .hub-next-ops-pane .sig-email-letter,
.hub-next-work-ops .hub-next-ops-pane .sig-email-body-wrap,
.hub-next-work-ops .hub-next-ops-pane .sig-email-iframe-host {
  max-width: 100%;
  overflow-x: hidden !important;
  isolation: isolate;
  contain: paint;
  clip-path: inset(0);
  transform: translateZ(0);
}
.hub-next-work-ops .hub-next-ops-pane .sig-email-iframe-host {
  position: relative !important;
  clip-path: inset(0 round 8px);
  border-radius: 8px;
  min-height: 0;
  overflow-x: hidden !important;
  overflow-y: hidden !important;
}
.hub-next-work-ops .hub-next-ops-pane .sig-email-iframe {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  box-sizing: border-box !important;
  border: 0 !important;
  overflow: hidden !important;
  box-shadow: none !important;
  outline: none !important;
  background: #fff !important;
}
/* Same Comms letter fill as Signals Input — formatted iframe, not a title dump. */
.hub-next-work-ops .hub-next-ops-pane[data-iado="input"],
.hub-next-work-ops .hub-next-ops-pane[data-block="work.ops_input"] {
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.hub-next-work-ops .hub-next-ops-pane[data-block="work.ops_input"] > h2 {
  flex-shrink: 0;
}
.hub-next-work-ops .hub-next-ops-pane[data-block="work.ops_input"] .sig-email-body-label {
  display: none;
}
.hub-next-work-ops .hub-next-ops-pane[data-block="work.ops_input"] .sig-email-letter,
.hub-next-work-ops .hub-next-ops-pane[data-block="work.ops_input"] .sig-email-body-wrap {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
}
.hub-next-work-ops .hub-next-ops-pane[data-block="work.ops_input"] .sig-email-iframe-host {
  position: relative !important;
  display: block !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
  isolation: isolate;
  contain: paint;
  clip-path: inset(0 round 8px);
  border-radius: 8px;
}
.sig-decision-list, .sig-plan-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
}
.sig-decision {
  display: flex;
  gap: 10px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid rgba(251, 191, 36, 0.22);
  background: rgba(251, 191, 36, 0.06);
}
.sig-decision-rank {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font: 800 11px/1 system-ui, sans-serif;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.4);
}
.sig-decision-body { flex: 1 1 auto; min-width: 0; }
.sig-decision-label {
  margin: 0 0 4px;
  font: 700 12px/1.25 system-ui, sans-serif;
  color: #fde68a;
}
.sig-decision-why {
  margin: 0;
  font: 500 11px/1.4 system-ui, sans-serif;
  color: #94a3b8;
}
.sig-tro-dl {
  margin: 6px 0 0;
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 2px 8px;
  font-size: 11px;
}
.sig-tro-dl dt { color: #fbbf24; font-weight: 800; }
.sig-tro-dl dd { margin: 0; color: #94a3b8; }
.sig-decision-maps { margin: 6px 0 0; font-size: 10px; line-height: 1.35; }
.sig-decision-maps code { font-size: 10px; color: #fcd34d; }
.sig-plan-row {
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(2, 6, 23, 0.35);
}
.sig-plan-label {
  margin: 0 0 4px;
  font: 700 12px/1.25 system-ui, sans-serif;
  color: #e2e8f0;
}
.sig-plan-outcome {
  margin: 0;
  font-size: 11px;
  color: #94a3b8;
  line-height: 1.35;
}
.hub-next-ops-pane[data-block="work.ops_decision"] .sig-iado-letter {
  background: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
}

/* Actions dock — charcoal / gold kicker / blue execute switches. No purple. */
.sig-action-slider {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  z-index: 12;
  display: flex;
  flex-direction: row-reverse;
  align-items: stretch;
  pointer-events: none;
  width: auto;
}
.sig-action-slider > * { pointer-events: auto; }
.sig-action-slider-tab {
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 28px;
  padding: 12px 4px;
  margin: 0;
  border: 1px solid rgba(251, 191, 36, 0.45);
  border-right: none;
  border-radius: 8px 0 0 8px;
  background: var(--space-900, #1c1c1b);
  color: #fbbf24;
  box-shadow: none;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}
.sig-action-slider-tab:hover { color: #fef3c7; border-color: rgba(251, 191, 36, 0.7); }
.sig-action-slider-tab-chev { font-size: 14px; line-height: 1; }
.sig-action-slider-tab-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.sig-action-slider-body {
  width: 280px;
  max-width: min(280px, 40vw);
  height: 100%;
  overflow-y: auto;
  padding: 12px 12px 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-right: none;
  border-radius: 12px 0 0 12px;
  background: var(--space-900, #1c1c1b);
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.45);
  box-sizing: border-box;
}
.sig-action-slider-head {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.sig-action-slider-head-icon { color: #fbbf24; margin-top: 2px; flex-shrink: 0; }
.sig-action-slider-title {
  font: 800 11px/1.2 Geist, system-ui, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fbbf24;
}
.sig-action-slider-sub { font-size: 10px; margin-top: 2px; line-height: 1.35; }
.sig-action-panes {
  display: flex;
  gap: 6px;
  margin: 0 0 12px;
}
.sig-action-pane {
  appearance: none;
  flex: 1 1 0;
  min-width: 0;
  padding: 7px 8px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--select-execute, #3b82f6) 50%, transparent);
  background: var(--select-execute-soft, rgba(59, 130, 246, 0.16));
  color: #fff;
  font: 700 10px/1 Geist, system-ui, sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}
.sig-action-pane.is-on {
  background: var(--select-execute, #3b82f6);
  border-color: var(--select-execute-strong, #60a5fa);
}
.sig-action-section { margin-bottom: 14px; }
.sig-action-section-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  margin-bottom: 8px;
}
.sig-action-selection { font-size: 12px; margin: 0; line-height: 1.4; color: #e2e8f0; }
.sig-action-id { font-size: 10px; font-family: ui-monospace, monospace; }
.sig-action-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sig-action-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: var(--surface-800, #262624);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-sizing: border-box;
}
.sig-action-row:hover:not(:disabled) {
  border-color: rgba(251, 191, 36, 0.35);
  background: #2a2a28;
}
.sig-action-row:disabled { opacity: 0.4; cursor: not-allowed; }
.sig-action-row-icon { flex-shrink: 0; margin-top: 1px; color: #fbbf24; line-height: 0; }
.sig-action-row-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sig-action-row-label { font-size: 13px; font-weight: 600; color: #f1f5f9; }
.sig-action-row-hint { font-size: 11px; line-height: 1.35; }
.sig-action-footer {
  margin: 8px 0 0;
  font-size: 10px;
  line-height: 1.4;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 10px;
}

/* ── Work inspector (own chrome — never reuse Actor msp-insp-tab icon 34×34) ── */
.hub-next-work-insp {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}
.wrk-insp {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
  box-sizing: border-box;
}
.wrk-insp-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}
.wrk-insp-subjects {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.wrk-insp-subj {
  appearance: none;
  cursor: pointer;
  font: 700 10px/1 ui-monospace, monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.55);
  color: #94a3b8;
  writing-mode: horizontal-tb !important;
  transform: none !important;
  width: auto !important;
  height: auto !important;
  min-width: 0;
  white-space: nowrap;
}
.wrk-insp-subj.is-on {
  color: #c4b5fd;
  border-color: rgba(167, 139, 250, 0.55);
  background: rgba(139, 92, 246, 0.18);
}
.wrk-insp-subj:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.wrk-insp-tabs {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}
.wrk-insp-tab {
  appearance: none;
  cursor: pointer;
  font: 600 11px/1.2 system-ui, "Geist", sans-serif;
  padding: 7px 12px;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.4);
  color: #94a3b8;
  writing-mode: horizontal-tb !important;
  transform: none !important;
  width: auto !important;
  height: auto !important;
  min-width: 0;
  white-space: nowrap;
  text-align: center;
  box-sizing: border-box;
}
.wrk-insp-tab:hover {
  color: #e2e8f0;
  border-color: rgba(167, 139, 250, 0.3);
}
.wrk-insp-tab.is-on {
  color: #f1f5f9;
  border-color: rgba(167, 139, 250, 0.5);
  background: rgba(139, 92, 246, 0.16);
  box-shadow: 0 0 0 1px rgba(167, 139, 250, 0.2);
}
.wrk-insp-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px 8px;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.wrk-insp-head-main {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.wrk-insp-title {
  margin: 0;
  font: 700 13px/1.3 system-ui, sans-serif;
  color: #f1f5f9;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wrk-insp-kind {
  flex-shrink: 0;
  font: 700 9px/1 ui-monospace, monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 999px;
  border: 1px solid rgba(167, 139, 250, 0.4);
  color: #c4b5fd;
  background: rgba(139, 92, 246, 0.12);
}
.wrk-insp-seid {
  font: 500 10px/1.35 ui-monospace, monospace;
  color: #64748b;
  word-break: break-all;
  display: block;
}
.wrk-insp-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: 12px 12px 8px;
  box-sizing: border-box;
}
.wrk-insp-body .wrk-cme--insp {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
}
.wrk-insp-body .wrk-cme--insp .wrk-cme-title {
  font-size: 14px;
}
.wrk-fact-gate {
  margin: 2px 0 0 0;
  font-size: 11px;
}
.wrk-insp-body .hub-next-insp-dl {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(72px, 100px) 1fr;
  gap: 8px 12px;
  font-size: 12px;
  align-content: start;
}
.wrk-insp-body .hub-next-insp-dl dt {
  color: #64748b;
  font-weight: 600;
}
.wrk-insp-body .hub-next-insp-dl dd {
  margin: 0;
  color: #e2e8f0;
  word-break: break-word;
}
.wrk-insp-foot {
  flex-shrink: 0;
  margin: 0;
  padding: 8px 12px 12px;
  font-size: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}
.wrk-convo-kicker {
  margin: 0 0 10px;
  font: 700 10px/1.3 ui-monospace, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5eead4;
}
.wrk-convo-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 12px;
}
.wrk-convo-chip {
  appearance: none;
  cursor: pointer;
  font: 600 11px/1.2 system-ui, sans-serif;
  padding: 7px 12px;
  border-radius: 8px;
  border: 1px solid rgba(94, 234, 212, 0.22);
  background: rgba(15, 23, 42, 0.45);
  color: #94a3b8;
}
.wrk-convo-chip.is-on {
  color: #042f2e;
  background: #5eead4;
  border-color: #5eead4;
  font-weight: 700;
}
.wrk-convo-assist-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 10px 0 0;
}
.wrk-convo-assist {
  appearance: none;
  cursor: pointer;
  font: 650 11px/1.2 system-ui, sans-serif;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(167, 139, 250, 0.45);
  background: rgba(76, 29, 149, 0.28);
  color: #e9d5ff;
}
.wrk-convo-record {
  border-color: rgba(244, 63, 94, 0.45);
  background: rgba(136, 19, 55, 0.28);
  color: #fecdd3;
}
.wrk-convo-card {
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.55);
  padding: 12px;
}
.wrk-convo-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.wrk-convo-copy {
  appearance: none;
  cursor: pointer;
  font: 700 11px/1 system-ui, sans-serif;
  padding: 7px 12px;
  border-radius: 8px;
  border: 1px solid rgba(198, 167, 94, 0.45);
  background: rgba(198, 167, 94, 0.14);
  color: #e7d5a3;
}
.wrk-convo-pre {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  font: 13px/1.45 ui-monospace, Consolas, monospace;
  color: #e2e8f0;
}
.wrk-convo-draft .sig-email-letter {
  margin: 0;
  flex: none;
  min-height: 0;
}
.wrk-convo-draft .sig-email-body-wrap {
  flex: none;
  min-height: 200px;
}
.wrk-convo-draft .sig-email-body-wrap .sig-email-iframe-host {
  display: none;
}
.wrk-convo-letter-paper {
  background: #fff;
  color: #1a1a1a;
  padding: 16px 18px;
  border-radius: 8px;
  min-height: 140px;
  font: 15px/1.5 Georgia, "Times New Roman", serif;
}
.wrk-convo-letter-paper p {
  margin: 0 0 12px;
  color: #1a1a1a;
}
.wrk-convo-draft .sig-email-iframe-host {
  position: relative;
  flex: none;
  min-height: 200px;
  height: 220px;
}
.wrk-convo-draft .sig-email-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 200px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: #fff;
}
/* Kill any leaked Actor/dashboard inspector chrome inside Work */
.hub-next-work-insp .msp-insp-tab,
.hub-next-work-insp .msp-insp-tabs {
  width: auto !important;
  height: auto !important;
  writing-mode: horizontal-tb !important;
  transform: none !important;
}
.sig-dc-events {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sig-dc-events li {
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.1);
  background: rgba(15, 23, 42, 0.45);
  font-size: 12px;
}
.sig-dc-ev-at {
  color: #94a3b8;
  font-family: ui-monospace, monospace;
  font-size: 10px;
}
.sig-dc-ev-kind {
  display: inline-block;
  margin-left: 6px;
  font: 700 10px/1 system-ui, sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #a78bfa;
}
.sig-actor-fact-status {
  margin-left: 6px;
  font: 700 10px/1 system-ui, sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #a78bfa;
}
.sig-dc-ev-note { margin-top: 4px; font-size: 11px; }
.sig-dc-ev-cmd { margin-top: 2px; font-size: 10px; }

@media (max-width: 1200px) {
  .hub-next-work-ops .hub-next-ops-grid--iado4 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    overflow-x: hidden;
    overflow-y: auto;
  }
  .sig-ooda-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .hub-next-work-ops .hub-next-ops-grid--iado4 {
    grid-template-columns: 1fr !important;
    overflow-x: hidden;
    overflow-y: auto;
  }
  .sig-ooda-grid { grid-template-columns: 1fr; }
  .hub-next-work-ops--action-open { padding-right: 28px; }
  .sig-action-slider-body { max-width: min(280px, 85vw); }
}
