:host {
  mat-dialog-content {
    max-width: 700px;
    min-width: 300px;
  }

  h2[mat-dialog-title] {
    display: flex;
    align-items: center;
    overflow-wrap: anywhere;

    mat-icon {
      flex-shrink: 0;
      color: var(--text-color-muted);
    }
  }

  .section {
    margin-bottom: var(--s3);

    h3 {
      display: flex;
      align-items: center;
      gap: 6px;
      margin: 0 0 var(--s);
      font-size: 15px;
      color: var(--text-color-muted);

      mat-icon {
        font-size: 18px;
        width: 18px;
        height: 18px;
      }
    }
  }

  .subtask-list {
    list-style: none;
    padding: 0;
    margin: 0;

    li {
      display: flex;
      align-items: center;
      gap: 6px;
      padding: var(--s-half) 0;

      mat-icon {
        font-size: 20px;
        width: 20px;
        height: 20px;
        flex-shrink: 0;
      }

      &.is-done {
        text-decoration: line-through;
        opacity: 0.6;
      }
    }

    .time-spent {
      margin-left: auto;
      color: var(--text-color-muted);
      font-size: 12px;
      white-space: nowrap;
    }
  }

  .time-info {
    display: flex;
    align-items: center;
    gap: var(--s-half);

    .separator {
      color: var(--text-color-muted);
    }
  }

  .notes-section {
    .notes-content {
      padding: var(--s) 12px;
      border-radius: var(--card-border-radius);
      background: var(--bg-lighter);
    }
  }

  .markdown-parsed {
    display: block;

    ::ng-deep {
      ul,
      ol {
        padding-left: var(--s3);
        margin: var(--s-half) 0;
      }

      p {
        margin: var(--s-half) 0;
      }
    }
  }

  .repeat-value {
    cursor: pointer;

    &:hover {
      text-decoration: underline;
    }
  }

  .issue-link-body {
    display: inline-flex;
    align-items: center;
    gap: var(--s-half);
    color: var(--c-accent);
    text-decoration: none;
    word-break: break-all;

    mat-icon {
      font-size: 16px;
      width: 16px;
      height: 16px;
      flex-shrink: 0;
    }

    &:hover {
      text-decoration: underline;
    }
  }

  .date-info {
    font-size: 12px;
    color: var(--text-color-muted);
  }
}
