.side-nav-item .task-count {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: #dc2626;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
}

.task-count[hidden] {
  display: none;
}

.my-tasks-panel {
  padding: 28px 32px 48px;
}

.my-tasks-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.my-tasks-heading h2 {
  margin: 0 0 6px;
  font-size: 28px;
  letter-spacing: 0;
}

.my-tasks-heading p {
  margin: 0;
  color: #656a72;
}

.my-tasks-list {
  display: grid;
  gap: 12px;
}

.my-task-employee {
  overflow: hidden;
  border: 1px solid #dfe2e6;
  border-radius: 8px;
  background: #fff;
}

.my-task-employee > summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 24px;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
}

.my-task-employee > summary::-webkit-details-marker {
  display: none;
}

.my-task-employee > summary:hover {
  background: #f7f8fa;
}

.my-task-employee-main {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.my-task-employee-main strong {
  overflow-wrap: anywhere;
  font-size: 17px;
}

.my-task-employee-main span {
  overflow-wrap: anywhere;
  color: #656a72;
  font-size: 14px;
}

.my-task-chevron {
  transition: transform 0.18s ease;
}

.my-task-employee[open] .my-task-chevron {
  transform: rotate(180deg);
}

.my-task-items {
  border-top: 1px solid #e5e7eb;
}

.my-task-item {
  display: grid;
  grid-template-columns: 40px minmax(220px, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  padding: 16px 20px;
}

.my-task-item + .my-task-item {
  border-top: 1px solid #eceef1;
}

.my-task-item.is-done {
  background: #fafafa;
}

.my-task-icon {
  color: #5f6368;
}

.my-task-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.my-task-copy > span {
  color: #656a72;
  font-size: 14px;
}

.my-task-copy small {
  color: #8a5b00;
  font-weight: 600;
}

.my-task-state {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.my-task-state.is-open {
  background: #fff4ce;
  color: #805500;
}

.my-task-state.is-waiting {
  background: #eef0f2;
  color: #5d6269;
}

.my-task-state.is-done {
  background: #e7f6ec;
  color: #18743a;
}

.my-task-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 132px;
}

.my-task-action .material-symbols-outlined {
  font-size: 19px;
}

.my-tasks-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  gap: 8px;
  color: #656a72;
  text-align: center;
}

.my-tasks-empty > .material-symbols-outlined {
  color: #2b2d31;
  font-size: 38px;
}

.my-tasks-empty strong {
  color: #202124;
  font-size: 18px;
}

@media (max-width: 720px) {
  .my-tasks-panel {
    padding: 20px 14px 36px;
  }

  .my-tasks-heading h2 {
    font-size: 24px;
  }

  .my-task-employee > summary {
    grid-template-columns: minmax(0, 1fr) auto 22px;
    gap: 8px;
    padding: 16px 14px;
  }

  .my-task-item {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 10px 12px;
    padding: 15px 14px;
  }

  .my-task-item > .my-task-state,
  .my-task-action {
    grid-column: 2;
    justify-self: stretch;
  }

  .my-task-action {
    width: 100%;
  }
}
