/* Assist — same Hub chrome as Signals. Never Mesh. */
html[data-assist-tab="1"] .shell-workbench,
html[data-assist-tab="1"] .shell-ops {
  background: #14141c;
  background-image: none;
}
.hub-next-assist-wb,
.hub-next-assist-ops,
.hub-next-assist-insp {
  font-family: Geist, system-ui, sans-serif;
  color: #e2e8f0;
  height: 100%;
  min-height: 0;
}
.hub-next-assist-wb {
  display: flex;
  flex-direction: column;
  padding: 0;
}
.hub-next-assist-wb .hub-queue-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px 8px;
}
.hub-next-assist-wb .hub-queue-title {
  font: 700 13px/1.2 Geist, system-ui, sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #f1f5f9;
}
.assist-session-list {
  list-style: none;
  margin: 0;
  padding: 0 10px 12px;
}
.assist-session-card {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}
.assist-session-card.is-active {
  border-color: rgba(251, 191, 36, 0.55);
  box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.2);
}
.assist-session-code {
  font: 700 16px/1.2 ui-monospace, monospace;
  letter-spacing: 0.12em;
  color: #e2e8f0;
  margin-bottom: 4px;
}
.hub-next-assist-ops {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.hub-next-assist-ops .sig-ops-stage {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}
.hub-next-assist-ops .msp-ops-titlebar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px 4px;
}
.hub-next-assist-ops .msp-ops-titlebar h1 {
  margin: 0;
  font: 700 16px/1.25 Geist, system-ui, sans-serif;
  color: #f1f5f9;
}
.hub-next-assist-ops .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);
}
.hub-next-assist-ops .ops-context {
  margin: 0;
  padding: 0 16px 10px;
  font-size: 12px;
  color: #64748b;
}
.assist-theater {
  flex: 1;
  min-width: 0;
  min-height: 0;
  position: relative;
  background: #12141c;
}
.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.is-collapsed .sig-action-slider-body {
  display: none;
}
.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;
  font-size: 14px;
}
.sig-action-slider-title {
  font-size: 13px;
  font-weight: 700;
  color: #f1f5f9;
}
.sig-action-slider-sub {
  font-size: 11px;
  color: #94a3b8;
}
.sig-action-section-label {
  font: 700 10px/1.2 Geist, system-ui, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
  margin: 0 0 8px;
}
.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: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-sizing: border-box;
}
.sig-action-row:hover:not(:disabled) {
  border-color: rgba(56, 189, 248, 0.4);
  background: rgba(56, 189, 248, 0.08);
}
.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;
  color: #94a3b8;
}
.hub-next-assist-insp {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}
.hub-next-assist-insp .wrk-insp,
.hub-next-assist-insp .assist-insp {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}
html[data-assist-tab="1"] .shell-inspector .wrk-insp-tabs,
.hub-next-assist-insp .wrk-insp-tabs {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 8px 12px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}
html[data-assist-tab="1"] .shell-inspector .wrk-insp-tab,
.hub-next-assist-insp .wrk-insp-tab {
  appearance: none !important;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 7px 12px !important;
  border-radius: 8px !important;
  writing-mode: horizontal-tb !important;
  transform: none !important;
  white-space: nowrap !important;
  font: 600 11px/1.2 Geist, system-ui, sans-serif !important;
  cursor: pointer;
}
.hub-next-assist-insp .wrk-insp-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 14px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}
.hub-next-assist-insp .wrk-insp-title {
  margin: 0;
  font: 700 16px/1.2 Geist, system-ui, sans-serif;
  color: #f1f5f9;
}
.hub-next-assist-insp .wrk-insp-kind {
  font: 700 10px/1 ui-monospace, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
}
.hub-next-assist-insp .wrk-insp-body,
.hub-next-assist-insp .hub-next-insp-body {
  flex: 1;
  overflow: auto;
  padding: 12px 14px;
}
.hub-next-assist-insp .hub-next-insp-dl {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 8px 12px;
  margin: 0;
}
.hub-next-assist-insp .hub-next-insp-dl dt {
  margin: 0;
  color: #64748b;
  font: 600 11px/1.4 Geist, system-ui, sans-serif;
}
.hub-next-assist-insp .hub-next-insp-dl dd {
  margin: 0;
  color: #e2e8f0;
  font: 500 13px/1.4 Geist, system-ui, sans-serif;
  word-break: break-word;
}
.hub-next-insp-dl,
.assist-insp-dl {
  margin: 0;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 6px 10px;
  font-size: 12px;
}
.hub-next-insp-dl dt,
.assist-insp-dl dt {
  color: #64748b;
  font-weight: 600;
}
.hub-next-insp-dl dd,
.assist-insp-dl dd {
  margin: 0;
  color: #e2e8f0;
  word-break: break-word;
}
.assist-empty {
  margin: 8px 12px;
  font-size: 13px;
  color: #94a3b8;
}
.assist-tape-list { padding: 0; }
.assist-tape-row {
  margin: 10px 0;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.assist-tape-row audio { width: 100%; }
.assist-acl-id {
  margin-top: 6px;
  width: 60%;
  padding: 6px 8px;
  border: 1px solid #2a2a36;
  background: #14141c;
  color: #e2e8f0;
  border-radius: 6px;
  font: 12px ui-monospace, monospace;
}
.assist-acl-pin {
  margin-left: 8px;
  padding: 6px 10px;
  border: 1px solid rgba(56, 189, 248, 0.4);
  background: none;
  color: #7dd3fc;
  border-radius: 6px;
  cursor: pointer;
  font: 600 12px Geist, system-ui, sans-serif;
}
