/* ═══════════════════════════════════════════════════════════════
   TOOL WORKSPACE — Interactive Tool Interfaces
   ═══════════════════════════════════════════════════════════════ */

/* ── Workspace Panel (slide-in overlay) ── */
.tool-workspace-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.tool-workspace-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

.tool-workspace {
  position: fixed;
  top: 0;
  right: 0;
  width: min(820px, 92vw);
  height: 100vh;
  background: var(--bg-primary);
  border-left: 1px solid var(--border-default);
  z-index: 901;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.4);
}
.tool-workspace.visible {
  transform: translateX(0);
}

/* ── Workspace Header ── */
.tw-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-default);
  background: var(--bg-card);
  flex-shrink: 0;
}
.tw-header-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.tw-header-info {
  flex: 1;
  min-width: 0;
}
.tw-header-info h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  font-family: 'JetBrains Mono', monospace;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tw-header-info p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 2px 0 0;
}
.tw-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.tw-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border-default);
  background: transparent;
  color: var(--text-muted);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}
.tw-close-btn:hover {
  background: rgba(244, 63, 94, 0.15);
  color: #f43f5e;
  border-color: rgba(244, 63, 94, 0.3);
}

/* ── Workspace Body ── */
.tw-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ── Workspace Sections ── */
.tw-section {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: 14px;
  overflow: hidden;
}
.tw-section-header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-default);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.tw-section-header h4 {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.tw-section-body {
  padding: 18px;
}

/* ── Common Form Elements ── */
.tw-form-group {
  margin-bottom: 16px;
}
.tw-form-group:last-child {
  margin-bottom: 0;
}
.tw-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.tw-label-type {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  color: var(--accent-purple);
  padding: 1px 6px;
  background: rgba(168, 85, 247, 0.1);
  border-radius: 4px;
}
.tw-label-optional {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 400;
}
.tw-input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border-default);
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 0.85rem;
  font-family: inherit;
  transition: all 0.2s;
  outline: none;
  box-sizing: border-box;
}
.tw-input:focus {
  border-color: var(--accent-purple);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.12);
}
.tw-input::placeholder {
  color: var(--text-muted);
}
.tw-textarea {
  min-height: 80px;
  resize: vertical;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  line-height: 1.5;
}
.tw-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23888' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
  cursor: pointer;
}

/* ── Execute Button ── */
.tw-execute-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: none;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s;
  color: #fff;
  background: linear-gradient(135deg, var(--accent-purple), #6366f1);
  box-shadow: 0 2px 12px rgba(168, 85, 247, 0.25);
}
.tw-execute-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.4);
}
.tw-execute-btn:active {
  transform: scale(0.98);
}
.tw-execute-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.tw-execute-btn .tw-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: tw-spin 0.6s linear infinite;
}
@keyframes tw-spin {
  to { transform: rotate(360deg); }
}

/* ── Quick Action Button (for no-param tools) ── */
.tw-quick-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  border: none;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s;
  color: #fff;
  background: linear-gradient(135deg, var(--accent-purple), #6366f1);
  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.3);
}
.tw-quick-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(168, 85, 247, 0.5);
}
.tw-quick-btn .tw-quick-icon {
  font-size: 1.2rem;
}

/* ── Results Panel ── */
.tw-result {
  background: var(--bg-primary);
  border: 1px solid var(--border-default);
  border-radius: 10px;
  overflow: hidden;
  display: none;
}
.tw-result.visible {
  display: block;
  animation: tw-slideIn 0.3s ease;
}
@keyframes tw-slideIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.tw-result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-default);
  background: rgba(255, 255, 255, 0.02);
}
.tw-result-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
}
.tw-result-status.success { color: #22c55e; }
.tw-result-status.error { color: #f43f5e; }
.tw-result-status.running { color: #f97316; }
.tw-result-time {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
}
.tw-result-body {
  padding: 14px;
  max-height: 400px;
  overflow-y: auto;
}
.tw-result-body pre {
  margin: 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--text-primary);
  white-space: pre-wrap;
  word-break: break-word;
}

/* ═══════════════════════════════════════════════════════════════
   TOOL-SPECIFIC STYLES
   ═══════════════════════════════════════════════════════════════ */

/* ── Terminal (Shell Command) ── */
.tw-terminal {
  background: #0d1117;
  border: 1px solid #21262d;
  border-radius: 12px;
  overflow: hidden;
  font-family: 'JetBrains Mono', monospace;
}
.tw-terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #161b22;
  border-bottom: 1px solid #21262d;
}
.tw-terminal-dots {
  display: flex;
  gap: 6px;
}
.tw-terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.tw-terminal-dot:nth-child(1) { background: #f43f5e; }
.tw-terminal-dot:nth-child(2) { background: #f97316; }
.tw-terminal-dot:nth-child(3) { background: #22c55e; }
.tw-terminal-title {
  font-size: 0.72rem;
  color: #8b949e;
  flex: 1;
  text-align: center;
}
.tw-terminal-input-row {
  display: flex;
  align-items: center;
  padding: 12px 14px;
  gap: 8px;
  border-bottom: 1px solid #21262d;
}
.tw-terminal-prompt {
  color: #22c55e;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}
.tw-terminal-input {
  flex: 1;
  background: transparent;
  border: none;
  color: #e6edf3;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  outline: none;
}
.tw-terminal-input::placeholder {
  color: #484f58;
}
.tw-terminal-run-btn {
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid #22c55e;
  background: rgba(34, 197, 94, 0.12);
  color: #22c55e;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  cursor: pointer;
  transition: all 0.2s;
}
.tw-terminal-run-btn:hover {
  background: rgba(34, 197, 94, 0.25);
}
.tw-terminal-output {
  min-height: 120px;
  max-height: 400px;
  overflow-y: auto;
  padding: 14px;
  color: #e6edf3;
  font-size: 0.78rem;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
}
.tw-terminal-output .tw-cmd-line {
  color: #22c55e;
  margin-bottom: 4px;
}
.tw-terminal-output .tw-error {
  color: #f43f5e;
}
.tw-terminal-history {
  padding: 8px 14px;
  border-top: 1px solid #21262d;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.tw-terminal-history-item {
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(139, 148, 158, 0.08);
  border: 1px solid #21262d;
  color: #8b949e;
  font-size: 0.7rem;
  font-family: 'JetBrains Mono', monospace;
  cursor: pointer;
  transition: all 0.2s;
}
.tw-terminal-history-item:hover {
  background: rgba(139, 148, 158, 0.16);
  color: #e6edf3;
}

/* ── File Viewer ── */
.tw-file-viewer {
  background: #0d1117;
  border: 1px solid #21262d;
  border-radius: 12px;
  overflow: hidden;
}
.tw-file-viewer-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #161b22;
  border-bottom: 1px solid #21262d;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: #8b949e;
}
.tw-file-viewer-content {
  padding: 14px;
  max-height: 450px;
  overflow-y: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  line-height: 1.7;
  color: #e6edf3;
}
.tw-file-viewer-content .tw-line-num {
  display: inline-block;
  width: 36px;
  color: #484f58;
  text-align: right;
  margin-right: 14px;
  user-select: none;
}

/* ── Directory Tree ── */
.tw-dir-tree {
  list-style: none;
  padding: 0;
  margin: 0;
}
.tw-dir-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-bottom: 1px solid var(--border-default);
  cursor: pointer;
  transition: background 0.15s;
  font-size: 0.82rem;
}
.tw-dir-item:hover {
  background: rgba(168, 85, 247, 0.06);
}
.tw-dir-item:last-child {
  border-bottom: none;
}
.tw-dir-icon {
  font-size: 1rem;
  width: 20px;
  text-align: center;
}
.tw-dir-name {
  flex: 1;
  color: var(--text-primary);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
}
.tw-dir-size {
  color: var(--text-muted);
  font-size: 0.72rem;
  font-family: 'JetBrains Mono', monospace;
}

/* ── Search Results (Web Search) ── */
.tw-search-results {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tw-search-result-card {
  padding: 14px;
  border-radius: 10px;
  border: 1px solid var(--border-default);
  background: var(--bg-card);
  transition: all 0.2s;
}
.tw-search-result-card:hover {
  border-color: var(--accent-purple);
  transform: translateY(-1px);
}
.tw-search-result-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: #6ea8fe;
  margin-bottom: 4px;
}
.tw-search-result-url {
  font-size: 0.7rem;
  color: #22c55e;
  margin-bottom: 6px;
  font-family: 'JetBrains Mono', monospace;
}
.tw-search-result-snippet {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ── Memory Cards ── */
.tw-memory-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tw-memory-card {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border-default);
  background: var(--bg-card);
}
.tw-memory-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.tw-memory-cat-badge {
  padding: 2px 8px;
  border-radius: 5px;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.tw-memory-card-content {
  font-size: 0.82rem;
  color: var(--text-primary);
  line-height: 1.5;
}
.tw-memory-card-meta {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* ── Category Tabs (for filtering) ── */
.tw-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.tw-tab {
  padding: 5px 14px;
  border-radius: 8px;
  border: 1px solid var(--border-default);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.tw-tab:hover {
  background: rgba(168, 85, 247, 0.08);
  color: var(--text-primary);
}
.tw-tab.active {
  background: var(--accent-purple);
  color: #fff;
  border-color: var(--accent-purple);
}

/* ── Task / Execution Table ── */
.tw-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}
.tw-table th {
  text-align: left;
  padding: 10px 12px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--border-default);
}
.tw-table td {
  padding: 10px 12px;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-default);
  vertical-align: middle;
}
.tw-table tr:last-child td {
  border-bottom: none;
}
.tw-table tr:hover td {
  background: rgba(168, 85, 247, 0.04);
}
.tw-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 600;
}
.tw-status-pill.success {
  background: rgba(34, 197, 94, 0.12);
  color: #22c55e;
}
.tw-status-pill.error {
  background: rgba(244, 63, 94, 0.12);
  color: #f43f5e;
}
.tw-status-pill.running {
  background: rgba(249, 115, 22, 0.12);
  color: #f97316;
}
.tw-status-pill.active {
  background: rgba(34, 197, 94, 0.12);
  color: #22c55e;
}
.tw-status-pill.inactive {
  background: rgba(139, 148, 158, 0.12);
  color: #8b949e;
}

/* ── Cron Builder ── */
.tw-cron-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}
.tw-cron-field label {
  display: block;
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-bottom: 4px;
  text-transform: uppercase;
  font-weight: 600;
  text-align: center;
}
.tw-cron-field input {
  width: 100%;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid var(--border-default);
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  text-align: center;
  outline: none;
  box-sizing: border-box;
}
.tw-cron-field input:focus {
  border-color: var(--accent-purple);
}
.tw-cron-preview {
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.2);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  color: #22c55e;
  text-align: center;
}

/* ── Email Compose ── */
.tw-email-field {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-default);
}
.tw-email-field-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  min-width: 60px;
}
.tw-email-field-input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 0.85rem;
  outline: none;
  font-family: inherit;
}
.tw-email-body {
  min-height: 180px;
  padding: 14px;
  color: var(--text-primary);
  font-size: 0.85rem;
  line-height: 1.6;
  border: none;
  background: transparent;
  width: 100%;
  resize: vertical;
  outline: none;
  font-family: inherit;
  box-sizing: border-box;
}

/* ── Calendar Event Cards ── */
.tw-cal-events {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tw-cal-event {
  display: flex;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border-default);
  background: var(--bg-card);
  transition: all 0.2s;
}
.tw-cal-event:hover {
  border-color: rgba(66, 133, 244, 0.4);
}
.tw-cal-event-time {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 60px;
  padding: 6px 0;
  border-radius: 8px;
  background: rgba(66, 133, 244, 0.1);
}
.tw-cal-event-time-hour {
  font-size: 0.9rem;
  font-weight: 700;
  color: #4285f4;
}
.tw-cal-event-time-period {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
}
.tw-cal-event-info h4 {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 4px;
}
.tw-cal-event-info p {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0;
}

/* ── Workflow Cards ── */
.tw-workflow-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tw-workflow-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border-default);
  background: var(--bg-card);
}
.tw-workflow-card-info {
  flex: 1;
}
.tw-workflow-card-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}
.tw-workflow-card-id {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
}
.tw-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  background: #484f58;
  transition: background 0.2s;
  flex-shrink: 0;
}
.tw-toggle.active {
  background: #22c55e;
}
.tw-toggle::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s;
}
.tw-toggle.active::after {
  transform: translateX(20px);
}

/* ── Agent Picker (Life OS) ── */
.tw-agent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}
.tw-agent-pick-card {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--border-default);
  background: var(--bg-card);
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}
.tw-agent-pick-card:hover {
  border-color: var(--accent-purple);
  background: rgba(168, 85, 247, 0.05);
}
.tw-agent-pick-card.selected {
  border-color: var(--accent-purple);
  background: rgba(168, 85, 247, 0.12);
  box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.2);
}
.tw-agent-pick-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 6px;
}
.tw-agent-pick-role {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* ── Health Status Grid ── */
.tw-health-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 8px;
}
.tw-health-card {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--border-default);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  gap: 10px;
}
.tw-health-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.5);
  flex-shrink: 0;
}
.tw-health-dot.offline {
  background: #f43f5e;
  box-shadow: 0 0 6px rgba(244, 63, 94, 0.5);
}
.tw-health-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* ── Datetime Picker ── */
.tw-datetime-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
input[type="datetime-local"].tw-input {
  color-scheme: dark;
}

/* ── How-it-works section ── */
.tw-how-it-works {
  padding: 14px 18px;
  background: rgba(168, 85, 247, 0.04);
  border-radius: 10px;
  border: 1px solid rgba(168, 85, 247, 0.1);
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.tw-how-it-works strong {
  color: var(--text-primary);
}
.tw-source-file {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.15);
  color: #06b6d4;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  margin-top: 8px;
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .tool-workspace {
    width: 100vw;
  }
  .tw-cron-row {
    grid-template-columns: repeat(3, 1fr);
  }
  .tw-datetime-row {
    grid-template-columns: 1fr;
  }
  .tw-agent-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
