.task-list {
  display: grid;
  gap: 10px;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding-right: 2px;
}

.task-swipe-zone {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  margin-top: 2px;
}

#task-list-track {
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 0;
  will-change: transform, opacity;
}

.task-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tab-btn {
  border: 0;
  border-radius: 999px;
  min-height: 36px;
  padding: 0 12px;
  color: #294168;
  background: #cfdae9;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.tab-btn.is-active {
  color: #ffffff;
  background: #35a35b;
}

.task-card {
  border: 1px solid rgba(131, 170, 231, 0.36);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(22, 50, 96, 0.94), rgba(18, 42, 83, 0.94));
  padding: 12px;
  display: grid;
  gap: 5px;
  text-align: left;
  width: 100%;
  cursor: pointer;
  font-family: inherit;
  color: #f3f8ff;
}

.task-meta {
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  border-bottom: 1px dashed rgba(120, 156, 214, 0.42);
  padding-bottom: 5px;
}

.task-meta span {
  color: #95b5e5;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.task-meta strong {
  color: #f2f8ff;
  font-weight: 800;
  font-size: 17px;
  line-height: 1;
  letter-spacing: 0.2px;
}

.task-op-label {
  margin: 0;
  color: #f4be65;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.45px;
}

.task-name {
  margin: 0;
  padding: 7px 10px;
  border-left: 3px solid #f3a73c;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(16, 39, 78, 0.92), rgba(12, 30, 61, 0.92));
  font-size: 23px;
  line-height: 1.22;
  color: #f6fbff;
  font-weight: 800;
  text-shadow: 0 2px 12px rgba(2, 10, 28, 0.45);
}

.task-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.task-arrow {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #0a2458;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
}

.task-foot {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin-top: 2px;
}

.task-state-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 700;
}

.task-state-available {
  background: rgba(84, 177, 114, 0.26);
  color: #d7ffe5;
}

.task-state-work {
  background: rgba(88, 136, 194, 0.24);
  color: #cce0ff;
}

.task-data-grid {
  margin-top: 1px;
  display: grid;
  gap: 3px;
}

.task-data-row {
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #b6cbef;
}

.task-data-row span {
  color: #a9c2e8;
}

.task-data-row strong {
  color: #f0f6ff;
  font-weight: 700;
  text-align: right;
}

.task-result-tag {
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 12px;
}

.chip-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 12px;
  font-weight: 700;
}

.chip-urgent {
  background: rgba(243, 167, 60, 0.24);
  color: #ffd594;
}

.chip-comment {
  background: rgba(65, 128, 204, 0.25);
  color: #bcdcff;
}

.chip-result-default {
  background: rgba(88, 136, 194, 0.24);
  color: #cce0ff;
}

.chip-result-done {
  background: rgba(84, 177, 114, 0.26);
  color: #d7ffe5;
}

.chip-result-partial {
  background: rgba(215, 180, 79, 0.28);
  color: #fff0be;
}

.chip-result-not-done {
  background: rgba(202, 98, 98, 0.28);
  color: #ffd8d8;
}

.task-qty {
  font-size: 16px;
  font-weight: 700;
  color: #f2f7ff;
}

.task-status {
  margin: 0;
  color: #9ec2ff;
  font-size: 13px;
}

.empty-card p {
  margin: 0;
}
