.ts-wrap {
  --ts-line: #e8eaed;
  --ts-head: #f5f6f8;
  --ts-green: #3fa564;
  --ts-border: #d9dce1;
}

.ts-table {
  border: 0;
  margin: 0;
  min-width: 980px;
}

.ts-table thead th {
  background: var(--ts-head) !important;
  color: #333 !important;
  border: 0 !important;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  padding: 8px 4px;
  white-space: nowrap;
}

.ts-table thead th small {
  display: block;
  font-size: 9px;
  color: #8a9099;
  font-weight: 400;
}

.ts-table thead th.ts-name-h {
  text-align: left;
  padding-left: 12px;
  width: 20%;
}

.ts-note-btn {
  color: #8a9099 !important;
  margin-left: 4px;
}

.ts-table thead .collapse textarea {
  font-size: 11px;
  min-width: 110px;
  margin-top: 6px;
}

.ts-table td {
  border: 0;
  border-bottom: 1px solid var(--ts-line);
  vertical-align: middle;
  text-align: center;
  padding: 10px 4px;
  white-space: normal;
}

.ts-proj td {
  text-align: left;
  font-weight: 600;
  background: #fafbfc;
  cursor: pointer;
  padding: 8px 12px;
  user-select: none;
}

.ts-proj .caret::before {
  content: "\25BE";
  margin-right: 6px;
  color: #8a9099;
  display: inline-block;
  transition: transform 0.15s;
}

.ts-proj.closed .caret::before {
  transform: rotate(-90deg);
}

.ts-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 8px;
  flex: none;
}

.ts-name {
  display: flex;
  gap: 2px;
  align-items: flex-start;
  text-align: left !important;
  padding-left: 12px !important;
  border-bottom: 0 !important;
}

.ts-task {
  border-bottom: 1px solid var(--ts-line);
}

.ts-name .ts-dot {
  margin-top: 6px;
}

.ts-name b {
  display: block;
  font-weight: 500;
  font-size: 13px;
  color: #1f2328;
}

.ts-name span {
  display: block;
  font-size: 10.5px;
  color: #8a9099;
}

/* the pill inputs */
.ts-table input.ts-time {
  width: 62px;
  height: 30px;
  margin: 0 auto;
  text-align: center;
  font-size: 12px;
  padding: 0;
  border: 1px solid var(--ts-border);
  border-radius: 6px;
  background: #fff;
}

.ts-table input.ts-time:focus {
  border-color: var(--ts-green);
  box-shadow: 0 0 0 2px rgba(63, 165, 100, 0.2);
}

.ts-table input.ts-time[readonly] {
  background: #f7f8fa;
  color: #9aa0a8;
}

.ts-table textarea.ts-text {
  width: 100% !important;
  height: 24px;
  /* min-height: 24px; */
  margin-top: 4px;
  padding: 2px 4px;
  font-size: 10.5px;
  resize: none;
  overflow: hidden;
  border: 1px dashed var(--ts-border);
  border-radius: 6px;
  transition: all 0.15s;
}

.ts-table textarea.ts-text:focus {
  /* width: 150px; */
  /* height: 70px; */
  position: relative;
  z-index: 5;
  overflow: auto;
  background: #fff;
  /* border-style: solid;
        border-color: var(--ts-green) */
}

.ts-table textarea.ts-text[readonly] {
  background: #f7f8fa;
}

.ts-total {
  font-weight: 600;
  font-size: 12px;
  width: 80px;
}

.ts-sum td {
  border: 0;
  font-weight: 600;
  font-size: 12px;
  padding-top: 16px;
}

.ts-daynotes td {
  font-size: 10.5px;
  color: #8a9099;
  border: 0;
}

#pageloader {
  background: rgba(255, 255, 255, 0.8);
  display: none;
  height: 100%;
  position: fixed;
  width: 100%;
  z-index: 9999;
}

#pageloader img {
  left: 50%;
  margin-left: -32px;
  margin-top: -32px;
  position: absolute;
  top: 50%;
}
