/* hive-live-tasks.css — ecosystem real-time task feed widget */
.hlt-root { font-family: 'Inter', -apple-system, sans-serif; color: #e2e8f0; }

.hlt-header {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 0 10px; border-bottom: 1px solid #30363d; margin-bottom: 10px;
}
.hlt-title { font-size: 15px; font-weight: 600; flex: 1; }
.hlt-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #6b7280;
  transition: background 0.3s;
}
.hlt-dot.live { background: #10b981; box-shadow: 0 0 6px #10b981; animation: hlt-pulse 2s infinite; }
.hlt-dot.error { background: #ef4444; }
@keyframes hlt-pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }

.hlt-counts {
  display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px;
}
.hlt-badge {
  font-size: 11px; font-weight: 600; padding: 2px 8px;
  border-radius: 10px; white-space: nowrap;
}
.hlt-badge-pending     { background: #78350f33; color: #fbbf24; border: 1px solid #78350f; }
.hlt-badge-in_progress { background: #1e3a5f; color: #60a5fa; border: 1px solid #1d4ed8; }
.hlt-badge-completed   { background: #052e16; color: #4ade80; border: 1px solid #166534; }
.hlt-badge-pending_verification { background: #2d1b6933; color: #a78bfa; border: 1px solid #5b21b6; }
.hlt-badge-failed      { background: #450a0a33; color: #f87171; border: 1px solid #7f1d1d; }
.hlt-badge-other       { background: #1f2937; color: #9ca3af; border: 1px solid #374151; }

.hlt-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.hlt-table th {
  text-align: left; color: #6b7280; font-weight: 500; font-size: 11px;
  padding: 4px 8px 8px; border-bottom: 1px solid #30363d; white-space: nowrap;
}
.hlt-table td { padding: 6px 8px; border-bottom: 1px solid #1a2230; vertical-align: top; max-width: 0; }
.hlt-table tr:last-child td { border-bottom: none; }
.hlt-table tr { transition: background 0.3s; }
.hlt-table tr.hlt-flash { background: #1e3a2f !important; }
.hlt-table tr:hover { background: #1a2230; }

.hlt-status {
  display: inline-block; font-size: 10px; font-weight: 700; padding: 2px 6px;
  border-radius: 8px; white-space: nowrap; text-transform: uppercase; letter-spacing: 0.03em;
}
.hlt-s-pending            { background:#78350f22;color:#fbbf24; }
.hlt-s-in_progress        { background:#1e3a5f;color:#60a5fa; }
.hlt-s-completed          { background:#052e16;color:#4ade80; }
.hlt-s-pending_verification { background:#2d1b69;color:#a78bfa; }
.hlt-s-failed             { background:#450a0a;color:#f87171; }
.hlt-s-waiting_for_input  { background:#1f2937;color:#9ca3af; }
.hlt-s-cancelled          { background:#1f2937;color:#6b7280; }

.hlt-title-cell { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 260px; }
.hlt-coord { font-size: 11px; color: #6b7280; white-space: nowrap; }
.hlt-time  { font-size: 11px; color: #4b5563; white-space: nowrap; }

.hlt-empty { text-align: center; color: #4b5563; padding: 32px 0; font-size: 13px; }
.hlt-connecting { text-align: center; color: #6b7280; padding: 24px 0; font-size: 13px; }

.hlt-filter-row {
  display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; align-items: center;
}
.hlt-filter-row label { font-size: 11px; color: #6b7280; }
.hlt-filter {
  font-size: 11px; background: #1a2230; color: #e2e8f0; border: 1px solid #30363d;
  border-radius: 6px; padding: 3px 8px; cursor: pointer;
}
.hlt-filter:checked-sibling, .hlt-chip.active {
  background: #1e3a5f; border-color: #3b82f6;
}
