/**
 * ═══════════════════════════════════════════════════════════════════════════════
 *  GANTT TIMELINE  —  timeline-gantt.css  (MS Teams / MS Planner Style)
 *
 *  Fluent 2 / MS Teams visual language: Clean, modern, uncluttered, intuitive.
 * ═══════════════════════════════════════════════════════════════════════════════
 */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* ── Container ───────────────────────────────────────────────────────────── */
.tl-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  min-height: 0;
  font-family: 'DM Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--color-text-primary, #242424);
  background: var(--color-background-primary, #ffffff);
  box-sizing: border-box;
  overflow: hidden;
}

/* ── Clean Top Toolbar (Single-Row) ───────────────────────────────────────── */
.tl-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  height: 52px;
  border-bottom: 1px solid var(--color-border-primary, #e1dfdd);
  background: var(--color-background-primary, #ffffff);
  box-sizing: border-box;
  gap: 12px;
  flex-shrink: 0;
  z-index: 20;
}

.tl-tb-left,
.tl-tb-center,
.tl-tb-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Title & Dropdown */
.tl-title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-text-primary, #242424);
  margin-right: 4px;
  white-space: nowrap;
}

.tl-select {
  height: 32px;
  padding: 0 10px;
  font-size: 12.5px;
  font-family: inherit;
  font-weight: 500;
  border: 1px solid var(--color-border-primary, #e1dfdd);
  border-radius: 6px;
  background: var(--color-background-secondary, #f5f5f5);
  color: var(--color-text-primary, #242424);
  cursor: pointer;
  outline: none;
  transition: border-color 0.15s, background 0.15s;
}

.tl-select:hover {
  background: var(--color-background-primary, #ffffff);
  border-color: var(--color-primary, #5b5fc7);
}

.tl-select:focus {
  border-color: var(--color-primary, #5b5fc7);
  box-shadow: 0 0 0 2px var(--color-primary-light, rgba(91, 95, 199, 0.2));
}

.tl-select optgroup {
  font-weight: 700;
  color: var(--color-text-muted, #8a8886);
  background: var(--color-background-secondary, #f5f5f5);
}

.tl-select option {
  font-weight: 500;
  color: var(--color-text-primary, #242424);
  background: var(--color-background-primary, #ffffff);
}

/* Primary Action Button (+ New Task) */
.tl-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 14px;
  background: var(--color-primary, #5b5fc7);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.tl-btn-primary:hover {
  background: var(--color-primary-hover, #4f52b2);
  box-shadow: 0 2px 6px rgba(91, 95, 199, 0.3);
}

.tl-btn-primary:active {
  transform: translateY(1px);
}

/* Center Navigation: ‹ Today › and Label */
.tl-nav-btn {
  width: 28px;
  height: 28px;
  border: 1px solid var(--color-border-primary, #e1dfdd);
  border-radius: 6px;
  background: var(--color-background-secondary, #f5f5f5);
  color: var(--color-text-secondary, #616161);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.tl-nav-btn:hover {
  background: var(--color-background-primary, #ffffff);
  color: var(--color-text-primary, #242424);
  border-color: var(--color-primary, #5b5fc7);
}

.tl-today-pill {
  height: 28px;
  padding: 0 12px;
  border: 1px solid var(--color-border-primary, #e1dfdd);
  border-radius: 14px;
  background: var(--color-background-secondary, #f5f5f5);
  color: var(--color-text-primary, #242424);
  font-size: 12.5px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.15s ease;
}

.tl-today-pill:hover {
  background: var(--color-primary, #5b5fc7);
  color: #ffffff;
  border-color: var(--color-primary, #5b5fc7);
}

.tl-period-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-primary, #242424);
  margin-left: 6px;
  white-space: nowrap;
}

/* View Segmented Control (Days | Weeks | Months) */
.tl-view-segmented {
  display: inline-flex;
  background: var(--color-background-secondary, #f0f0f0);
  border: 1px solid var(--color-border-primary, #e1dfdd);
  border-radius: 8px;
  padding: 2px;
  gap: 2px;
}

.tl-seg-btn {
  border: none;
  background: transparent;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 600;
  font-family: inherit;
  color: var(--color-text-secondary, #616161);
  cursor: pointer;
  transition: all 0.15s ease;
}

.tl-seg-btn:hover {
  color: var(--color-text-primary, #242424);
}

.tl-seg-btn.active {
  background: var(--color-background-primary, #ffffff);
  color: var(--color-primary, #5b5fc7);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Search Box */
.tl-search-box {
  display: flex;
  align-items: center;
  position: relative;
  background: var(--color-background-secondary, #f5f5f5);
  border: 1px solid var(--color-border-primary, #e1dfdd);
  border-radius: 6px;
  padding: 0 8px;
  height: 32px;
  width: 170px;
  transition: width 0.2s, border-color 0.15s;
}

.tl-search-box:focus-within {
  width: 210px;
  border-color: var(--color-primary, #5b5fc7);
  background: var(--color-background-primary, #ffffff);
  box-shadow: 0 0 0 2px var(--color-primary-light, rgba(91, 95, 199, 0.2));
}

.tl-search-icon {
  color: var(--color-text-muted, #8a8886);
  margin-right: 6px;
  flex-shrink: 0;
}

.tl-search-box input {
  border: none;
  background: transparent;
  font-size: 13px;
  font-family: inherit;
  color: var(--color-text-primary, #242424);
  width: 100%;
  outline: none;
}

/* ── Split Layout ─────────────────────────────────────────────────────────── */
.tl-mount {
  flex: 1;
  min-height: 0;
  display: flex;
  position: relative;
  overflow: hidden;
}

.tl-gantt-wrap {
  display: flex;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* ── Left Sidebar (Task Grid / Table) ─────────────────────────────────────── */
.tl-sidebar {
  width: 440px;
  min-width: 360px;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--color-border-primary, #e1dfdd);
  background: var(--color-background-primary, #ffffff);
  flex-shrink: 0;
  z-index: 10;
  box-sizing: border-box;
}

.tl-sb-header {
  height: 52px;
  border-bottom: 1px solid var(--color-border-primary, #e1dfdd);
  display: grid;
  grid-template-columns: 1fr 90px 85px 75px 80px;
  align-items: center;
  padding: 0 10px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted, #8a8886);
  background: var(--color-background-secondary, #f8f9fa);
  box-sizing: border-box;
  flex-shrink: 0;
  gap: 6px;
}

.tl-sb-col {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tl-sb-col.name {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-right: 4px;
}

.tl-sb-col.type {
  display: flex;
  align-items: center;
  gap: 4px;
}

.tl-sb-col.assignee {
  display: flex;
  align-items: center;
}

.tl-sb-col.due {
  text-align: right;
  padding-right: 4px;
}

.tl-sb-col.status {
  text-align: center;
}

.tl-sb-rows {
  flex: 1;
  overflow-y: scroll;
  overflow-x: hidden;
  scrollbar-width: none;
}

.tl-sb-rows::-webkit-scrollbar {
  display: none;
}

.tl-sb-row {
  height: 40px;
  display: grid;
  grid-template-columns: 1fr 90px 85px 75px 80px;
  align-items: center;
  padding: 0 10px;
  border-bottom: 1px solid var(--color-border-secondary, #f0f0f0);
  font-size: 12.5px;
  color: var(--color-text-primary, #242424);
  transition: background 0.12s ease;
  cursor: pointer;
  user-select: none;
  box-sizing: border-box;
  gap: 6px;
}

.tl-sb-row:hover {
  background: var(--color-background-secondary, #f5f5f5);
}

.tl-sb-row.is-selected {
  background: var(--color-primary-light, rgba(91, 95, 199, 0.12));
  border-left: 3px solid var(--color-primary, #5b5fc7);
}

/* Project Group Row */
.tl-sb-row.is-group {
  background: var(--color-background-secondary, #f8f9fa);
  font-weight: 600;
  border-bottom: 1px solid var(--color-border-primary, #e1dfdd);
}

.tl-sb-chevron {
  font-size: 10px;
  color: var(--color-text-muted, #8a8886);
  width: 14px;
  display: inline-block;
  text-align: center;
}

.tl-sb-folder-icon {
  font-size: 14px;
  margin-right: 2px;
}

.tl-sb-group-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text-primary, #242424);
  overflow: hidden;
  text-overflow: ellipsis;
}

.tl-source-badge {
  font-size: 9.5px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 4px;
  margin-left: 4px;
}

.tl-source-badge.action {
  background: rgba(91, 95, 199, 0.12);
  color: var(--color-primary, #5b5fc7);
}

.tl-source-badge.plan {
  background: rgba(0, 120, 212, 0.12);
  color: #0078d4;
}

.tl-sb-count-badge {
  font-size: 10.5px;
  font-weight: 600;
  padding: 1px 5px;
  background: var(--color-border-primary, #e1dfdd);
  color: var(--color-text-secondary, #616161);
  border-radius: 10px;
  margin-left: 4px;
}

/* EPC Chips & Department Tags */
.tl-epc-chip {
  font-size: 9.5px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 4px;
  white-space: nowrap;
}

.tl-epc-chip.epc-inq {
  background: rgba(216, 59, 1, 0.12);
  color: #d83b01;
}

.tl-epc-chip.epc-drg {
  background: rgba(0, 120, 212, 0.12);
  color: #0078d4;
}

.tl-epc-chip.epc-gen {
  background: rgba(140, 140, 140, 0.12);
  color: var(--color-text-secondary, #616161);
}

.tl-dept-chip {
  font-size: 9px;
  font-weight: 600;
  padding: 1px 4px;
  border-radius: 3px;
  border: 1px solid var(--color-border-primary, #e1dfdd);
  color: var(--color-text-secondary, #616161);
  white-space: nowrap;
}

/* Task Row Details */
.tl-task-check {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1.5px solid var(--color-text-muted, #8a8886);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
  margin-right: 3px;
}

.tl-task-check:hover {
  border-color: var(--color-primary, #5b5fc7);
}

.tl-task-check.checked {
  background: var(--color-success, #107c41);
  border-color: var(--color-success, #107c41);
}

.tl-task-title {
  font-size: 12.5px;
  color: var(--color-text-primary, #242424);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tl-task-title.text-done {
  text-decoration: line-through;
  color: var(--color-text-muted, #8a8886);
}

.tl-ms-diamond {
  color: #ffaa44;
  font-size: 11px;
  margin-right: 3px;
}

/* Assignee Avatar */
.tl-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-primary, #5b5fc7);
  color: #ffffff;
  font-size: 9.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 4px;
  flex-shrink: 0;
}

.tl-avatar-name {
  font-size: 11.5px;
  color: var(--color-text-secondary, #616161);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tl-due-label {
  font-size: 11.5px;
  color: var(--color-text-secondary, #616161);
}

.tl-due-label.overdue {
  color: var(--color-critical, #d13438);
  font-weight: 600;
}

/* Status Pills */
.tl-pill {
  font-size: 10.5px;
  font-weight: 600;
  padding: 1px 7px;
  border-radius: 12px;
  white-space: nowrap;
  display: inline-block;
}

.tl-pill.green,
.tl-pill.completed {
  background: var(--color-success-bg, rgba(16, 124, 65, 0.12));
  color: var(--color-success-text, #107c41);
  border: 1px solid var(--color-success-border, transparent);
}

.tl-pill.red,
.tl-pill.overdue {
  background: var(--color-critical-bg, rgba(209, 52, 56, 0.12));
  color: var(--color-critical-text, #d13438);
  border: 1px solid var(--color-critical-border, transparent);
}

.tl-pill.active,
.tl-pill.inprogress {
  background: var(--color-info-bg, rgba(0, 120, 212, 0.12));
  color: var(--color-info-text, #0078d4);
  border: 1px solid var(--color-info-border, transparent);
}

.tl-pill.pending {
  background: var(--color-neutral-bg, rgba(140, 140, 140, 0.12));
  color: var(--color-neutral-text, #616161);
  border: 1px solid var(--color-neutral-border, transparent);
}

.tl-pill.blocked {
  background: var(--color-warning-bg, rgba(216, 59, 1, 0.12));
  color: var(--color-warning-text, #d83b01);
  border: 1px solid var(--color-warning-border, transparent);
}

/* ── Right Canvas: Gantt Chart Area ───────────────────────────────────────── */
.tl-chart-outer {
  flex: 1;
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--color-background-primary, #ffffff);
}

.tl-chart-scroll {
  flex: 1;
  overflow: auto;
  position: relative;
}

.tl-chart-inner {
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Date Header */
.tl-date-header {
  position: sticky;
  top: 0;
  z-index: 15;
  background: var(--color-background-secondary, #f8f9fa);
  border-bottom: 1px solid var(--color-border-primary, #e1dfdd);
}

.tl-hdr-tier.top {
  height: 24px;
  display: flex;
  border-bottom: 1px solid var(--color-border-secondary, #f0f0f0);
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text-secondary, #616161);
  align-items: center;
}

.tl-hdr-tier.bottom {
  height: 28px;
  display: flex;
}

.tl-hdr-cell {
  padding-left: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-sizing: border-box;
}

.tl-hdr-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--color-border-secondary, #f0f0f0);
  font-size: 10px;
  line-height: 1.1;
  box-sizing: border-box;
  color: var(--color-text-secondary, #616161);
}

.tl-hdr-day.weekend {
  background: var(--color-background-tertiary, rgba(0, 0, 0, 0.025));
  color: var(--color-text-muted, #8a8886);
}

.tl-hdr-day.today {
  background: var(--color-primary-light, rgba(91, 95, 199, 0.15));
  color: var(--color-primary, #5b5fc7);
  font-weight: 700;
}

.tl-day-name {
  font-size: 9px;
  text-transform: uppercase;
}

.tl-day-num {
  font-size: 11px;
  font-weight: 600;
}

/* ── Grid Layers ─────────────────────────────────────────────────────────── */
.tl-grid-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.tl-grid-line {
  position: absolute;
  top: 0;
  width: 1px;
  background: var(--color-border-secondary, #f0f0f0);
  pointer-events: none;
}

.tl-grid-weekend {
  position: absolute;
  top: 0;
  background: var(--color-background-tertiary, rgba(0, 0, 0, 0.02));
  pointer-events: none;
}

/* Alternating Row Bands */
.tl-band-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.tl-band {
  position: absolute;
  left: 0;
  right: 0;
  border-bottom: 1px solid var(--color-border-secondary, #f0f0f0);
  box-sizing: border-box;
}

.tl-band.group {
  background: var(--color-background-secondary, #f8f9fa);
}

/* Today Marker Line */
.tl-today-line {
  position: absolute;
  top: 0;
  width: 2px;
  background: var(--color-critical, #d13438);
  z-index: 12;
  pointer-events: none;
}

.tl-today-line .tl-today-pill {
  position: absolute;
  top: 2px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-critical, #d13438);
  color: #ffffff;
  font-size: 9px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 4px;
  height: auto;
  line-height: normal;
}

/* ── Gantt Bars ───────────────────────────────────────────────────────────── */
.tl-bars-layer {
  position: absolute;
  inset: 0;
  z-index: 5;
}

.tl-bar-wrap {
  position: absolute;
  height: 40px;
  display: flex;
  align-items: center;
  cursor: grab;
  user-select: none;
  box-sizing: border-box;
}

.tl-bar-wrap.is-dragging {
  cursor: grabbing;
  opacity: 0.85;
}

.tl-bar {
  height: 24px;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 0 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
  box-sizing: border-box;
}

.tl-bar:hover {
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
  transform: translateY(-1px);
}

.tl-bar-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.25);
  pointer-events: none;
}

.tl-bar-text {
  position: relative;
  z-index: 2;
  font-size: 11.5px;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tl-bar-outer-text {
  margin-left: 8px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--color-text-primary, #242424);
  white-space: nowrap;
  pointer-events: none;
}

/* Project Group Summary Bar */
.tl-group-bar {
  height: 8px;
  border-top: 3px solid;
  border-left: 2px solid;
  border-right: 2px solid;
  position: relative;
  box-sizing: border-box;
}

/* Resize Handles */
.tl-resize-handle {
  position: absolute;
  top: 8px;
  bottom: 8px;
  width: 6px;
  border-radius: 3px;
  background: transparent;
  cursor: ew-resize;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.15s ease, background 0.15s ease;
}

.tl-bar-wrap:hover .tl-resize-handle {
  opacity: 1;
  background: rgba(255, 255, 255, 0.4);
}

.tl-resize-handle.left {
  left: 0;
}

.tl-resize-handle.right {
  right: 0;
}

/* Milestones */
.tl-milestone-wrap {
  position: absolute;
  z-index: 8;
  display: flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.tl-milestone-diamond {
  width: 14px;
  height: 14px;
  transform: rotate(45deg);
  background: var(--color-warning-text, #ffaa44);
  border: 2px solid var(--color-background-primary, #ffffff);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  border-radius: 2px;
  margin-right: 6px;
  flex-shrink: 0;
}

.tl-milestone-diamond.done {
  background: var(--color-success-text, #107c41);
}

.tl-milestone-diamond.overdue {
  background: var(--color-critical-text, #d13438);
}

.tl-milestone-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text-primary, #242424);
  white-space: nowrap;
}

/* ── Dependency Lines (SVG) ──────────────────────────────────────────────── */
.tl-dep-svg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
}

.tl-dep-path {
  fill: none;
  stroke: var(--color-text-muted, #8a8886);
  stroke-width: 1.5;
  stroke-dasharray: 4 3;
  opacity: 0.75;
}

/* ── Teams Modern Tooltip ─────────────────────────────────────────────────── */
.tl-tooltip {
  position: fixed;
  z-index: 9999;
  background: var(--color-background-primary, #ffffff);
  border: 1px solid var(--color-border-primary, #e1dfdd);
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.16);
  padding: 12px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.12s ease, transform 0.12s ease;
  font-family: inherit;
  font-size: 12px;
  min-width: 220px;
  max-width: 320px;
  color: var(--color-text-primary, #242424);
}

.tl-tooltip.visible {
  opacity: 1;
  transform: translateY(0);
}

.tl-tt-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 1px solid var(--color-border-secondary, #f0f0f0);
  padding-bottom: 8px;
  margin-bottom: 8px;
}

.tl-tt-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text-primary, #242424);
}

.tl-tt-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tl-tt-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.tl-tt-lbl {
  color: var(--color-text-muted, #8a8886);
  font-weight: 500;
}

/* ── Empty State ─────────────────────────────────────────────────────────── */
.tl-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  text-align: center;
  padding: 40px;
  box-sizing: border-box;
  color: var(--color-text-muted, #8a8886);
}

.tl-empty-illustration {
  color: var(--color-primary, #5b5fc7);
  margin-bottom: 16px;
  opacity: 0.8;
}

.tl-empty-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-text-primary, #242424);
  margin-bottom: 6px;
}

.tl-empty-subtitle {
  font-size: 13.5px;
  color: var(--color-text-secondary, #616161);
  margin-bottom: 20px;
  max-width: 380px;
  line-height: 1.4;
}

/* ── Dark Mode Adaptations ────────────────────────────────────────────────── */
body.dark-mode .tl-container,
body.dark-mode .tl-toolbar,
body.dark-mode .tl-sidebar,
body.dark-mode .tl-chart-outer {
  background: var(--color-background-primary, #1e1e1e);
  color: var(--color-text-primary, #f0f0f0);
}

body.dark-mode .tl-sb-header,
body.dark-mode .tl-sb-row.is-group,
body.dark-mode .tl-date-header,
body.dark-mode .tl-band.group {
  background: var(--color-background-secondary, #252526);
}

body.dark-mode .tl-sb-row:hover {
  background: var(--color-background-secondary, #2d2d30);
}

body.dark-mode .tl-tooltip {
  background: #252526;
  border-color: #3e3e42;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
