.productivity-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.productivity-actions .sr-select,
.incidents-toolbar-actions .saved-preset-select {
  max-width: 145px;
  font-size: 0.72rem;
}

.session-watchlist-btn {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--shell-border);
  border-radius: var(--radius-sm);
  background: var(--shell-panel);
  color: var(--shell-muted);
  cursor: pointer;
}

.session-watchlist-btn:hover,
.session-watchlist-btn.is-active {
  color: var(--warn);
  border-color: var(--warn);
  background: var(--warn-soft);
}

.incident-select {
  align-self: center;
  padding-left: 4px;
}

.incident-select input {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
}

.bulk-triage-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
  padding: 9px 12px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
}

.bulk-triage-bar[hidden] { display: none; }
.bulk-triage-bar strong { margin-right: auto; font-size: 0.78rem; }

.workspace-panel {
  position: fixed;
  z-index: 1200;
  top: 72px;
  right: 18px;
  width: min(370px, calc(100vw - 28px));
  max-height: calc(100vh - 90px);
  overflow: auto;
  padding: 16px;
  border: 1px solid var(--shell-border);
  border-radius: var(--radius-lg);
  background: var(--shell-elevated);
  box-shadow: var(--shadow-lg);
}

.workspace-panel[hidden] { display: none; }

.workspace-panel-head,
.workspace-saved-head,
.workspace-preset-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.workspace-panel-head { margin-bottom: 14px; }
.workspace-panel-head div { display: grid; gap: 2px; }
.workspace-panel-head span, .workspace-saved-head small { color: var(--shell-muted); font-size: 0.7rem; }

.workspace-close {
  border: 0;
  background: transparent;
  color: var(--shell-muted);
  font-size: 1.4rem;
  cursor: pointer;
}

.workspace-field {
  display: grid;
  grid-template-columns: 100px 1fr;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
  font-size: 0.76rem;
  font-weight: 600;
}

.workspace-check { display: flex; gap: 8px; margin: 14px 0; font-size: 0.76rem; }
.workspace-saved-head { padding-top: 12px; border-top: 1px solid var(--shell-border); font-size: 0.76rem; font-weight: 700; }
.workspace-preset-list { display: grid; gap: 5px; margin: 8px 0 14px; }
.workspace-preset-row { padding: 5px 7px; border-radius: var(--radius-sm); background: var(--shell-panel); }
.workspace-preset-open, .workspace-preset-remove { border: 0; background: transparent; cursor: pointer; font-family: inherit; }
.workspace-preset-open { color: var(--shell-text); font-size: 0.74rem; text-align: left; }
.workspace-preset-remove { color: var(--danger); font-size: 0.68rem; }
.workspace-empty { padding: 10px 0; color: var(--shell-muted); font-size: 0.72rem; }

.workspace-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 10px;
  padding-top: 12px;
  border-top: 1px solid var(--shell-border);
  color: var(--shell-muted);
  font-size: 0.67rem;
}

.workspace-shortcuts strong { flex-basis: 100%; color: var(--shell-text); }
.workspace-shortcuts kbd { padding: 1px 5px; border: 1px solid var(--shell-border); border-radius: 4px; background: var(--shell-panel); color: var(--shell-text); }

.productivity-toast {
  position: fixed;
  z-index: 1400;
  right: 20px;
  bottom: 20px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--shell-text);
  color: var(--shell-elevated);
  box-shadow: var(--shadow-md);
  font-size: 0.76rem;
}

@media (max-width: 900px) {
  .productivity-actions { width: 100%; margin-left: 0; }
  .productivity-actions .saved-preset-select { flex: 1; }
  .workspace-panel { top: 62px; right: 14px; }
}
