.operative-row { display: flex; align-items: center; gap: 8px; padding: 5px 8px; border-radius: 0.45rem; }
.operative-row:hover, .operative-row.is-active { background: rgba(92, 169, 255, 0.14); }
.operative-link { min-width: 0; flex: 1; display: flex; align-items: center; gap: 10px; color: var(--text); }
.operative-icon { width: 20px; height: 20px; flex: 0 0 20px; color: var(--accent, #22c55e); }
.operative-row .icon-button { flex: 0 0 28px; width: 28px; height: 28px; }
.operative-side-chats { padding: 0 8px 8px 44px; }
.operative-side-chats .operative-link { padding: 6px 0; font-size: 13px; }
.operative-empty { padding: 12px; display: grid; gap: 12px; color: var(--text-muted); }
.operative-dialog { color: var(--text); background: var(--surface, #181818); border: 1px solid var(--border, #404040); border-radius: 8px; padding: 24px; width: min(760px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); overflow: auto; }
.operative-dialog::backdrop { background: #0009; }
.operative-dialog header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.operative-dialog h2 { font-size: 20px; }
.operative-dialog form { display: grid; gap: 16px; min-width: 0; }
.operative-dialog label { display: grid; gap: 6px; font-size: 14px; }
.operative-dialog .operative-field { display: grid; gap: 6px; min-width: 0; }
.operative-dialog .operative-toggle { display: flex; align-items: center; gap: 10px; }
.operative-dialog .operative-field .button { justify-self: start; }
.operative-dialog select, .operative-dialog textarea { width: 100%; }
.operative-dialog textarea.input { min-height: 132px; resize: vertical; font: inherit; line-height: 1.5; }
.operative-dialog footer { display: flex; justify-content: flex-end; gap: 8px; }
.operative-dialog-error { color: #fb7185; min-height: 20px; font-size: 13px; }
.operative-icon-picker { border: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.operative-icon-picker legend { font-size: 14px; margin-bottom: 6px; }
.operative-icon-picker label { position: relative; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--border, #404040); border-radius: 6px; cursor: pointer; }
.operative-icon-picker label:has(:checked) { border-color: var(--accent, #22c55e); background: #22c55e18; }
.operative-icon-picker input { position: absolute; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.operative-icon-picker label:focus-within { outline: 2px solid var(--accent, #22c55e); outline-offset: 2px; }
.delegation-cards .chip-select-dropdown { max-height: 240px; overflow: auto; }
.delegation-cards [data-chip-option] { border: 1px solid var(--border, #404040); border-radius: 6px; margin: 4px; padding: 10px; text-align: left; white-space: normal; }
.delegation-cards [data-chip-dropdown]:not(.hidden) { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); }
.delegation-cards [data-chip-option] small { display: block; color: var(--text-muted); }
.delegation-cards .delegation-actions { display: flex; justify-content: flex-end; margin: 8px 0; gap: 8px; }

/* Tabbed operative settings, sharing the settings-pane tab language. */
.operative-tab-nav { padding: 0; gap: 6px; background: none; scrollbar-width: thin; scrollbar-color: var(--stroke) transparent; }
.operative-tab-nav::-webkit-scrollbar { height: 4px; }
.operative-tab-nav::-webkit-scrollbar-thumb { background: var(--stroke); border-radius: 999px; }
.operative-tab-nav .sp-tab { border: 1px solid transparent; border-radius: 8px; margin: 0; padding: 10px 16px; }
.operative-tab-nav .sp-tab:hover { background: var(--surface-highlight); color: var(--text); }
.operative-tab-nav .sp-tab.is-active { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 25%, transparent); background: color-mix(in srgb, var(--accent) 9%, transparent); }
.operative-tab-nav .sp-tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.operative-tab-body { min-width: 0; max-height: min(540px, 54dvh); overflow-y: auto; overscroll-behavior: contain; padding: 2px; }
.operative-panel { display: grid; gap: 14px; min-width: 0; align-content: start; }
.operative-panel[hidden] { display: none; }
.operative-inline { display: flex; align-items: center; gap: 8px; min-width: 0; }
.operative-inline input { flex: 1 1 auto; min-width: 0; }
.operative-inline select { flex: 0 0 auto; width: auto; }
.operative-channels { display: grid; gap: 8px; padding-top: 10px; border-top: 1px solid var(--stroke); }
.operative-channels:first-child { padding-top: 0; border-top: none; }
.operative-channels h3 { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-soft); }
.operative-channel-tools { display: flex; align-items: center; gap: 8px; }
.operative-channel-tools input { flex: 1 1 auto; min-width: 0; }
.operative-channel-tools .button { flex: 0 0 auto; }
.operative-channel-list { display: grid; gap: 4px; max-height: 188px; overflow-y: auto; padding: 6px; border: 1px solid var(--stroke); border-radius: 8px; background: color-mix(in srgb, var(--surface) 60%, transparent); }
.operative-dialog .operative-channel { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 2px 8px; padding: 6px 8px; border-radius: 6px; cursor: pointer; font-size: 14px; }
.operative-dialog .operative-channel:hover { background: var(--surface-highlight); }
.operative-channel small { grid-column: 2; color: var(--text-muted); font-size: 12px; overflow-wrap: anywhere; }
.operative-channel input { margin: 0; }
.operative-empty-note { grid-column: 1 / -1; color: var(--text-muted); font-size: 13px; padding: 4px 2px; }
.operative-fallback-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.operative-fallback-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 10px; border: 1px solid var(--stroke); border-radius: 8px; }
.operative-fallback-list li > span { flex: 1 0 100%; overflow-wrap: anywhere; }
.operative-fallback-list .button { padding: 5px 8px; font-size: 12px; }

/* Automation triggers (operative-triggers.js, trigger-filter.js). */
.trigger-list { display: grid; gap: 10px; }
.trigger-card { display: grid; gap: 6px; padding: 10px 12px; border: 1px solid var(--stroke); border-radius: 8px; background: color-mix(in srgb, var(--surface) 70%, transparent); }
.trigger-card.trigger-state-active { border-color: color-mix(in srgb, var(--accent) 35%, var(--stroke)); }
.trigger-card-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.trigger-kind { font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-soft); }
.trigger-badge { font-size: 11px; padding: 1px 7px; border-radius: 999px; border: 1px solid var(--stroke); color: var(--text-muted); }
.trigger-badge-model { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.trigger-meta { font-size: 12.5px; color: var(--text-muted); overflow-wrap: anywhere; }
.trigger-meta code, .orch-webhook-url, .orch-webhook-token code { font-size: 12px; word-break: break-all; }
.trigger-warning { color: #f59e0b; }
.trigger-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.trigger-actions .button { padding: 4px 10px; font-size: 12.5px; }
.trigger-prompt { white-space: pre-wrap; font-size: 12px; max-height: 220px; overflow: auto; }
.trigger-events { display: grid; gap: 6px; font-size: 12.5px; padding-left: 18px; }
.trigger-editor { display: grid; gap: 10px; padding: 12px; border: 1px solid var(--stroke); border-radius: 8px; }
.trigger-editor fieldset { border: 0; padding: 0; display: grid; gap: 6px; }
.trigger-editor fieldset[hidden], .trigger-editor [hidden] { display: none; }
.trigger-filter { display: grid; gap: 8px; }
.trigger-filter-head { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 13px; }
.trigger-filter-head label { display: flex !important; align-items: center; gap: 6px; }
.trigger-filter-rule { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) auto; gap: 6px; align-items: center; margin-bottom: 6px; }
.trigger-filter-rule [hidden] { visibility: hidden; display: block; }
.trigger-filter-hint { font-size: 12px; color: var(--text-muted); }
.orch-webhook-event { display: block; font-size: 12px; }
.operative-trigger-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 4px; font-size: 12px; }
.operative-trigger-bar[hidden] { display: none; }
.operative-trigger-bar-label { color: var(--accent); font-weight: 600; }
.operative-trigger-chip { display: inline-flex; align-items: center; gap: 6px; padding: 2px 4px 2px 9px; border-radius: 999px; border: 1px solid var(--stroke); background: var(--surface); }
.operative-trigger-chip.is-model { border-style: dashed; }
.operative-trigger-chip small { color: var(--text-muted); }
.operative-trigger-stop { border: 0; background: none; color: #fb7185; cursor: pointer; padding: 0 4px; font-size: 11px; }
.chat-trigger-panel { display: flex; gap: 10px; align-items: flex-start; margin: 6px 0 8px; padding: 8px 12px; border-radius: 8px; border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--stroke)); background: color-mix(in srgb, var(--accent) 8%, transparent); font-size: 13px; }
.chat-trigger-body { display: grid; gap: 2px; min-width: 0; }
.chat-trigger-body span { color: var(--text-muted); }
.chat-trigger-payload pre { white-space: pre-wrap; font-size: 12px; max-height: 260px; overflow: auto; }
.chat-run-trigger { color: var(--accent); }
.user-approval-message { font-size: 14px; line-height: 1.55; }
.user-approval-details { display: grid; gap: 4px; margin: 8px 0; font-size: 13px; }
.user-approval-detail { display: grid; grid-template-columns: minmax(90px, max-content) minmax(0, 1fr); gap: 8px; }
.user-approval-detail dt { color: var(--text-muted); }
.user-approval-detail dd { margin: 0; overflow-wrap: anywhere; }
.user-approval-actions { display: flex; justify-content: flex-end; margin-top: 8px; }

/* Operatives chat room link, folders, drag and drop */
.operative-room-link { display: flex; align-items: center; gap: 10px; padding: 7px 10px; margin-bottom: 4px; border-radius: 0.45rem; color: var(--text); font-weight: 600; }
.operative-room-link svg { width: 18px; height: 18px; flex: 0 0 18px; }
.operative-room-link:hover, .operative-room-link.is-active { background: rgba(92, 169, 255, 0.14); }
.operative-folder { margin: 2px 0; border-radius: 0.45rem; }
.operative-folder-head { display: flex; align-items: center; gap: 6px; width: 100%; padding: 5px 8px; border-radius: 0.45rem; color: var(--text-soft); font-size: 13px; font-weight: 600; text-align: left; background: none; border: 0; cursor: pointer; }
.operative-folder-head svg { width: 15px; height: 15px; flex: 0 0 15px; }
.operative-folder-head[aria-expanded="true"] .operative-folder-caret { transform: rotate(90deg); }
.operative-folder-head:hover { background: rgba(92, 169, 255, 0.10); }
.operative-folder-body { padding-left: 12px; }
.operative-folder-empty { margin: 2px 0 4px 8px; font-size: 12px; color: var(--text-soft); opacity: 0.8; }
.operative-folder-root { min-height: 14px; border-radius: 0.45rem; }
.operative-drop-target { outline: 2px dashed rgba(92, 169, 255, 0.7); outline-offset: -2px; background: rgba(92, 169, 255, 0.08); }
.operative-row.is-dragging { opacity: 0.5; }
.operative-row { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
.context-menu-heading { margin: 4px 10px 2px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-soft); }

/* Chat room pane */
.operative-room-shell { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.operative-room-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.operative-room-body { display: flex; flex: 1; min-height: 0; }
.operative-room-main { display: flex; flex-direction: column; flex: 1; min-width: 0; min-height: 0; padding: 0 16px 12px; }
.operative-room-messages { flex: 1; min-height: 0; overflow-y: auto; padding: 12px 0; display: flex; flex-direction: column; gap: 10px; }
.operative-room-hint { color: var(--text-soft); font-size: 13px; line-height: 1.6; max-width: 640px; }
.operative-room-message { max-width: 820px; padding: 8px 12px; border-radius: 0.6rem; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.06); }
.operative-room-message.is-operative { background: rgba(92, 169, 255, 0.08); }
.operative-room-message.is-pending .operative-room-text { font-style: italic; color: var(--text-soft); }
.operative-room-message.is-failed .operative-room-text { color: #f59e9e; }
.operative-room-message header { display: flex; align-items: baseline; gap: 8px; font-size: 13px; margin-bottom: 3px; }
.operative-room-message header a { font-weight: 600; color: var(--text); text-decoration: underline; text-decoration-color: rgba(92, 169, 255, 0.5); }
.operative-room-message time { margin-left: auto; font-size: 11px; color: var(--text-soft); }
.operative-room-badge { font-size: 10px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-soft); }
.operative-room-text { word-break: break-word; font-size: 14px; line-height: 1.55; }
/* Plain text (the pending note, or no Markdown parser) keeps its line breaks;
   rendered Markdown uses the chat's .message-copy rules from styles.css. */
.operative-room-text.is-plain { white-space: pre-wrap; }
.operative-room-text.message-copy p, .operative-room-text.message-copy li { line-height: 1.6; }
.operative-room-text.message-copy p { margin: 0.5rem 0; }
.operative-room-text.message-copy ul, .operative-room-text.message-copy ol { margin: 0.5rem 0; }
.operative-room-text.message-copy pre, .operative-room-text.message-copy table { max-width: 100%; overflow-x: auto; }
.operative-room-text.message-copy table { display: block; }
.operative-room-mention { color: #7cc0ff; font-weight: 600; }
.operative-room-composer { position: relative; display: flex; gap: 8px; align-items: flex-end; }
.operative-room-composer textarea { flex: 1; resize: vertical; min-height: 44px; max-height: 240px; }
.operative-room-suggest { position: absolute; bottom: calc(100% + 4px); left: 0; z-index: 30; min-width: 220px; max-width: 320px; padding: 4px; border-radius: 0.5rem; background: var(--surface, #111827); border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35); }
.operative-room-suggestion { display: flex; width: 100%; gap: 6px; align-items: baseline; padding: 6px 8px; border: 0; border-radius: 0.35rem; background: none; color: var(--text); text-align: left; cursor: pointer; }
.operative-room-suggestion small { color: var(--text-soft); }
.operative-room-suggestion:hover, .operative-room-suggestion.is-active { background: rgba(92, 169, 255, 0.16); }
.operative-room-attach { flex: 0 0 auto; align-self: flex-end; width: 40px; height: 44px; }
.operative-room-files { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.operative-room-chip { display: inline-flex; align-items: center; gap: 6px; max-width: 260px; padding: 4px 6px 4px 10px; border-radius: 999px; font-size: 12px; background: rgba(92, 169, 255, 0.12); border: 1px solid rgba(92, 169, 255, 0.25); }
.operative-room-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.operative-room-chip.is-uploading { opacity: 0.6; }
.operative-room-chip button { border: 0; background: none; color: var(--text-soft); cursor: pointer; font-size: 14px; line-height: 1; padding: 0 2px; }
/* Room attachments reuse the chat's .message-attachments / .message-output-media
   / .message-attachment-* rules from styles.css; only room spacing lives here. */
.operative-room-attachments { align-items: flex-start; margin: 8px 0 2px; }
.operative-room-attachments .message-output-media { min-width: 0; }
.operative-room-attachments .message-output-media.is-player { width: min(100%, 28rem); }
.operative-room-doc { max-width: 100%; }
.operative-room-doc span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.operative-room-doc small { flex: 0 0 auto; }
.operative-room-doc:hover { border-color: rgba(92, 169, 255, 0.5); }
.operative-room-error { color: #f59e9e; font-size: 13px; min-height: 1em; margin-top: 4px; }
.operative-room-members { width: 240px; flex: 0 0 240px; padding: 12px; border-left: 1px solid rgba(255, 255, 255, 0.08); overflow-y: auto; }
.operative-room-members h3 { font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.operative-room-members ul { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.operative-room-members li { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.operative-room-members li small { color: var(--text-soft); }
.operative-room-members li .icon-button { margin-left: auto; width: 24px; height: 24px; }
.operative-room-add { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--text-soft); }
@media (max-width: 760px) {
  .operative-room-members { position: absolute; right: 0; top: 56px; bottom: 0; z-index: 20; background: var(--surface, #0b1220); width: 80%; max-width: 300px; }
  .operative-room-body { position: relative; }
  .operative-room-main { padding: 0 10px 10px; }
}

.operative-project-tree { gap: 0; max-height: 260px; }
.operative-project-row { display: flex; align-items: center; gap: 4px; border-radius: 6px; }
.operative-project-row:hover { background: var(--surface-highlight); }
.operative-project-row label { display: flex; flex: 1 1 auto; min-width: 0; align-items: center; gap: 8px; padding: 6px 4px; cursor: pointer; font-size: 14px; }
.operative-project-row label span { overflow-wrap: anywhere; }
.operative-project-row label small { margin-left: auto; color: var(--text-muted); font-size: 12px; white-space: nowrap; }
.operative-project-row input { margin: 0; }
.operative-project-toggle, .operative-project-toggle-spacer { flex: 0 0 28px; width: 28px; height: 28px; }
.operative-project-toggle { border: 0; border-radius: 6px; background: transparent; color: var(--text-muted); cursor: pointer; font-size: 14px; }
.operative-project-toggle:hover { background: var(--surface); color: var(--text); }
.operative-project-picker .operative-channel-tools { margin-top: 8px; }

/* -- Parallel settings tab -------------------------------------------------- */
.operative-dialog .operative-checklist { display: grid; gap: 6px; border: 1px solid var(--stroke); border-radius: 10px; padding: 10px 12px; min-width: 0; }
.operative-dialog .operative-checklist legend { padding: 0 6px; font-size: 12px; color: var(--text-muted); }

/* -- Threads panel (right): the operative's main conversation and parallel
      threads, with one thread's own output in a sub panel. It reuses the file
      viewer's absolute right-hand column (.workspace-files). ---------------- */
.operative-threads[hidden] { display: none !important; }
.operative-threads { z-index: 31; width: min(400px, 100%); }
.operative-threads-count {
  position: absolute; top: -.25rem; right: -.3rem; min-width: 1rem; height: 1rem; padding: 0 .25rem;
  border-radius: .5rem; background: var(--accent); color: var(--accent-contrast, #fff);
  font-size: .62rem; font-weight: 700; line-height: 1rem; text-align: center;
}
.operative-threads-count[hidden] { display: none; }
.operative-threads-body { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.operative-threads-list { flex: 0 1 auto; min-height: 0; max-height: 100%; overflow-y: auto; margin: 0; padding: .4rem; list-style: none; display: grid; gap: .3rem; }
.operative-threads-body:has(.operative-thread-detail:not([hidden])) .operative-threads-list { max-height: 38%; border-bottom: 1px solid var(--stroke-strong); }
.operative-thread-row {
  display: grid; gap: .15rem; width: 100%; padding: .45rem .55rem; text-align: left;
  border: 1px solid var(--stroke); border-radius: .5rem; background: transparent; color: var(--text);
}
.operative-thread-row:hover, .operative-thread-row[aria-pressed="true"] { background: var(--surface-highlight); border-color: var(--stroke-strong); }
.operative-thread-top { display: flex; align-items: center; gap: .4rem; min-width: 0; }
.operative-thread-dot { flex: none; width: .5rem; height: .5rem; border-radius: 50%; background: var(--text-faint); }
.operative-thread-row[data-status="running"] .operative-thread-dot { background: var(--accent); animation: operative-thread-pulse 1.4s ease-in-out infinite; }
.operative-thread-row[data-status="queued"] .operative-thread-dot { background: var(--warning, #d9a441); }
.operative-thread-row[data-status="completed"] .operative-thread-dot { background: var(--success, #3fb27f); }
.operative-thread-row[data-status="failed"] .operative-thread-dot { background: var(--danger); }
.operative-thread-title { font-size: .8rem; font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.operative-thread-controller { margin-left: auto; flex: none; max-width: 45%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: .05rem .4rem; border: 1px solid var(--chip-border); border-radius: .4rem; background: var(--chip-bg); font-size: .66rem; color: var(--text-faint); }
.operative-thread-meta { font-size: .68rem; color: var(--text-faint); }
.operative-thread-prompt { font-size: .74rem; line-height: 1.4; color: var(--text-soft, var(--text-faint)); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.operative-threads-empty { padding: .6rem; font-size: .76rem; line-height: 1.5; color: var(--text-faint); }
.operative-thread-detail { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.operative-thread-detail[hidden] { display: none; }
.operative-thread-link { margin-left: auto; flex: none; font-size: .72rem; color: var(--accent); }
.operative-thread-activity { flex: 1; min-height: 0; overflow-y: auto; padding: .5rem; display: grid; gap: .45rem; align-content: start; }
.operative-thread-item { display: grid; gap: .2rem; padding: .4rem .5rem; border: 1px solid var(--stroke); border-radius: .5rem; min-width: 0; }
.operative-thread-item-label, .operative-thread-item-thinking > summary { font-size: .64rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-faint); }
.operative-thread-item-thinking > summary { cursor: pointer; }
.operative-thread-item-text { font-size: .78rem; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--text); }
.operative-thread-item-tool .operative-thread-item-text { font-size: .72rem; color: var(--text-faint); }
.operative-thread-item-tool[data-status="running"] { border-color: var(--accent); }
.operative-thread-item-answer { background: var(--surface-highlight); }
.operative-thread-item-thinking .operative-thread-item-text { color: var(--text-faint); }
.operative-thread-error { font-size: .76rem; color: var(--danger); }
@keyframes operative-thread-pulse { 50% { opacity: .35; } }
@media (min-width: 641px) {
  .workspace-panels-host.is-threads-open [data-workspace-chat-flow] { padding-right: min(400px, 100%); }
}
@media (max-width: 640px) { .operative-threads { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .operative-thread-row[data-status="running"] .operative-thread-dot { animation: none; } }

/* Staff: specialists nested under their lead, the staff room link, Organize dialog */
.operative-staff { margin: 0 0 4px 18px; padding-left: 8px; border-left: 1px solid var(--stroke, #333); }
.operative-staff .operative-row { padding-left: 4px; }
.operative-staff-room-link { font-weight: 500; font-size: 13px; padding: 5px 8px; margin-bottom: 2px; }
.operative-staff-room-link svg { width: 15px; height: 15px; flex: 0 0 15px; }
.operative-staff-toggle { display: inline-flex; align-items: center; gap: 3px; flex: 0 0 auto; height: 24px; padding: 0 6px; border: 1px solid var(--stroke, #333); border-radius: 999px; background: none; color: var(--text-soft); font-size: 12px; cursor: pointer; }
.operative-staff-toggle svg { width: 14px; height: 14px; }
.operative-staff-toggle:hover, .operative-staff-toggle.is-open { background: rgba(92, 169, 255, 0.14); color: var(--text); }
.operative-row.is-retired .operative-link { opacity: 0.55; }
.operative-retired-tag { margin-left: 6px; font-size: 11px; color: var(--text-muted); }
.operative-organize-dialog { width: min(640px, calc(100vw - 24px)); }
.operative-organize-list { display: grid; gap: 6px; max-height: min(56dvh, 520px); overflow: auto; padding: 2px; }
.operative-organize-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 260px); align-items: center; gap: 10px; padding: 4px 6px; border-radius: 6px; }
.operative-organize-row.is-staff { margin-left: 22px; border-left: 2px solid var(--stroke, #333); }
.operative-organize-row.is-lead .operative-organize-name { font-weight: 600; }
.operative-organize-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.operative-organize-name small { color: var(--text-muted); font-weight: 400; }
.operative-staff-models { max-height: 260px; overflow: auto; }
@media (max-width: 560px) { .operative-organize-row { grid-template-columns: minmax(0, 1fr); } }
