﻿.ts2__card {
  background: #fff;
  border: 1px solid #c3c6d7;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}
.ts2__card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
.ts2__card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #eef0fa;
  border-bottom: 1px solid rgba(195, 198, 215, 0.3);
  transition: background 0.15s;
}
.ts2__card-head:hover {
  background: rgb(230.1181818182, 233.0454545455, 247.6818181818);
}
.ts2__card-title {
  font-size: 14px;
  font-weight: 700;
  color: #126;
}
.ts2__count {
  font-size: 10px;
  font-weight: 700;
  color: #26377c;
  background: rgba(38, 55, 124, 0.08);
  padding: 1px 7px;
  border-radius: 10px;
  min-width: 20px;
  text-align: center;
}
.ts2__time-badge {
  font-size: 14px;
  font-weight: 700;
  color: #26377c;
  background: rgba(38, 55, 124, 0.08);
  padding: 2px 10px;
  border-radius: 10px;
  letter-spacing: 0.5px;
}
.ts2__progress {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(18, 33, 100, 0.06);
  padding: 3px 10px 3px 8px;
  border-radius: 12px;
}
.ts2__progress-bar {
  width: 60px;
  height: 7px;
  background: #d1d5db;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}
.ts2__progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #16a34a, #22c55e);
  border-radius: 4px;
  transition: width 0.3s ease;
}
.ts2__progress-text {
  font-size: 11px;
  font-weight: 700;
  color: #122164;
  white-space: nowrap;
  font-family: "Cascadia Code", "Consolas", monospace;
}
.ts2__head-actions {
  display: flex;
  gap: 2px;
  margin-left: auto;
}
.ts2__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  background: none;
  border-radius: 6px;
  cursor: pointer;
  color: #6b6f8a;
  font-size: 30px;
  transition: color 0.15s, background 0.15s;
}
.ts2__action i {
  font-size: 30px !important;
}
.ts2__action:hover {
  color: #26377c;
  background: rgba(38, 55, 124, 0.06);
}
.ts2__body {
  padding: 12px 20px;
}
.ts2__root {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  margin-bottom: 6px;
  background: rgba(249, 250, 255, 0.5);
  border-radius: 6px;
  font-size: 12px;
}
.ts2__root-id {
  font-family: "Cascadia Code", "Consolas", monospace;
  font-weight: 700;
  color: #26377c;
  font-size: 11px;
}
.ts2__root-subject {
  color: #3a3f54;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ts2__tree {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.ts2__node {
  position: relative;
  padding-left: 12px;
  border-left: 2px solid rgba(195, 198, 215, 0.25);
}
.ts2__node:nth-child(odd) > .ts2__item {
  background: #f9faff;
  border: 1px solid rgba(195, 198, 215, 0.5);
}
.ts2__node:nth-child(even) > .ts2__item {
  background: #fff;
  border: 1px solid rgba(195, 198, 215, 0.4);
}
.ts2__node:last-child {
  border-left-color: transparent;
}
.ts2__node:last-child::before {
  content: "";
  position: absolute;
  top: 0;
  left: -2px;
  width: 2px;
  height: 18px;
  background: rgba(195, 198, 215, 0.25);
}
.ts2__node::after {
  content: "";
  position: absolute;
  top: 18px;
  left: -2px;
  width: 12px;
  height: 0;
  border-top: 2px solid rgba(195, 198, 215, 0.25);
}
.ts2__item {
  display: block;
  padding: 8px 10px;
  border-radius: 6px;
  text-decoration: none;
  border-bottom: 1px solid rgba(195, 198, 215, 0.3);
  position: relative;
  transition: background 0.12s, box-shadow 0.12s;
}
.ts2__item:hover {
  background: #eef1ff;
  box-shadow: inset 3px 0 0 #26377c;
}
.ts2__item--nested {
  margin-left: 0;
}
.ts2__item-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.ts2__item-id {
  font-family: "Cascadia Code", "Consolas", monospace;
  font-size: 11px;
  font-weight: 700;
  color: #26377c;
  flex-shrink: 0;
}
.ts2__item-subject {
  font-size: 13px;
  font-weight: 500;
  color: #3a3f54;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}
.ts2__item-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}
.ts2__status {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  padding: 1px 8px;
  border-radius: 10px;
  color: #fff;
  flex-shrink: 0;
}
.ts2__status--1 {
  background: #6b6f8a;
}
.ts2__status--2 {
  background: #3b82f6;
}
.ts2__status--3 {
  background: #f59e0b;
}
.ts2__status--4 {
  background: #22c55e;
}
.ts2__status--5 {
  background: #0a143c;
}
.ts2__status--6 {
  background: #8b5cf6;
}
.ts2__status--7 {
  background: #ef4444;
}
.ts2__meta-date, .ts2__meta-time {
  font-size: 10px;
  color: #6b6f8a;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}
.ts2__meta-date i, .ts2__meta-time i {
  font-size: 11px !important;
}
.ts2__meta-estimate {
  font-size: 9px;
  font-weight: 700;
  color: #26377c;
  background: rgba(38, 55, 124, 0.08);
  padding: 1px 6px;
  border-radius: 8px;
}
.ts2__avatars {
  display: flex;
  gap: 0;
}
.ts2__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #26377c;
  color: #fff;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.3px;
  border: 2px solid #fff;
  margin-left: -4px;
}
.ts2__avatar:first-child {
  margin-left: 0;
}
.ts2__avatar--more {
  background: #6b6f8a;
  font-size: 8px;
}
.ts2__collapse-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: none;
  background: none;
  padding: 2px 8px;
  margin: 2px 0 2px 10px;
  font-size: 10px;
  font-weight: 600;
  color: #6b6f8a;
  cursor: pointer;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
}
.ts2__collapse-btn i {
  font-size: 12px !important;
}
.ts2__collapse-btn:hover {
  color: #26377c;
  background: rgba(38, 55, 124, 0.06);
}
.ts2__nested {
  margin-left: 12px;
  padding-left: 12px;
  border-left: 2px solid rgba(195, 198, 215, 0.2);
}
