.htb-tb-wrap { font-size: 14px; color: var(--htb-row-text); }

.htb-tb-toolbar { display:flex; gap:12px; align-items:center; margin:10px 0 12px; }
.htb-tb-refresh {
  padding: 8px 12px; border:1px solid var(--htb-border);
  background:#fff; cursor:pointer; border-radius:8px;
}
.htb-tb-hint { opacity: .7; }

.htb-tb-table {
  width:100%; border-collapse:collapse;
  border:1px solid var(--htb-border);
  background: var(--htb-row-bg);
}

.htb-tb-table th,
.htb-tb-table td {
  border-bottom:1px solid var(--htb-border);
  padding:10px 10px;
  vertical-align:middle;
}

.htb-tb-table thead th {
  background: var(--htb-header-bg);
  color: var(--htb-header-text);
  text-align:left;
  font-weight:600;
}

.htb-tb-row { background: var(--htb-row-bg); color: var(--htb-row-text); }

.htb-open    { border-left:6px solid var(--htb-open); }
.htb-running { border-left:6px solid var(--htb-run); }
.htb-done    { border-left:6px solid var(--htb-done); }

/* ========= STATUS ZELLE ========= */

.htb-tb-status-cell {
  width: 90px;
  font-weight: 800;
  letter-spacing: .4px;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 10px 6px;
}

/* Hintergrundfarben hart erzwingen */
.htb-tb-status-cell.htb-status-open    { background: var(--htb-open) !important; }
.htb-tb-status-cell.htb-status-done    { background: var(--htb-done) !important; }

/* Running = pulsiert */
.htb-tb-status-cell.htb-status-running {
  background: var(--htb-run) !important;
  animation: htbStatusPulse 1.6s infinite !important;
}

/* Pulse Effekt */
@keyframes htbStatusPulse {
  0% {
    filter: brightness(1);
    box-shadow: 0 0 0 0 rgba(46, 125, 50, 0.45);
  }
  50% {
    filter: brightness(1.18);
    box-shadow: 0 0 14px 4px rgba(46, 125, 50, 0.75);
  }
  100% {
    filter: brightness(1);
    box-shadow: 0 0 0 0 rgba(46, 125, 50, 0.45);
  }
}

/* ========= DOT ABSCHALTEN (bombensicher) ========= */
.htb-tb-dot-front,
.htb-tb-cover .htb-tb-dot-front,
.htb-tb-cover-wrap .htb-tb-dot-front {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ========= COVER ========= */
.htb-tb-cover { width: calc(var(--htb-cover-w) + 18px); }
.htb-tb-cover-wrap { display:inline-flex; align-items:center; gap:8px; }

.htb-tb-cover img {
  width:var(--htb-cover-w);
  height:var(--htb-cover-w);
  object-fit:cover;
  border-radius:10px;
  border:1px solid var(--htb-border);
}

/* ========= TEXT ========= */
.htb-tb-title { font-weight:600; }
.htb-tb-countdown { white-space: nowrap; }
.htb-tb-muted { opacity:.6; }

/* ========= ERROR ========= */
.htb-tb-error {
  padding:12px;
  border:1px solid #f2b8b5;
  background:#fdecea;
  border-radius:10px;
}